/* ==========================================================================
   Navidaa theme — main stylesheet (RTL-first)
   Design tokens taken from the Elementor kit: primary #288A5D, secondary #F48525,
   text #1F2937, accent #4A5565, mint #DFF5ED. Fonts: Tajawal + IBM Plex Sans Arabic.
   ========================================================================== */

:root {
	--nv-primary: #288a5d;
	--nv-primary-600: #23794f;
	--nv-primary-700: #1d6643;
	--nv-green-deep: #0e8f66;
	--nv-buy: #347545;
	--nv-secondary: #f48525;
	--nv-text: #1f2937;
	--nv-accent: #4a5565;
	--nv-muted: #6b7280;
	--nv-mint: #dff5ed;
	--nv-mint-bg: #eefaf3;
	--nv-soft: #f6faf7;
	--nv-dark: #0b2e22;
	--nv-line: #e5e7eb;
	--nv-star: #f5a000;
	--nv-radius: 18px;
	--nv-radius-sm: 10px;
	--nv-shadow: 0 6px 24px rgba(16, 40, 30, .08);
	--nv-shadow-sm: 0 2px 10px rgba(16, 40, 30, .07);
	--nv-font: "Tajawal", "IBMPlexSansArabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--nv-font-ui: "IBMPlexSansArabic", "Tajawal", system-ui, sans-serif;
	--nv-container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--nv-font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--nv-text);
	background: #fff;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--nv-primary); text-decoration: none; transition: color .2s; }
a:hover { color: #5caf89; }
h1, h2, h3, h4, h5, h6 { font-family: var(--nv-font); line-height: 1.35; margin: 0 0 .6em; color: var(--nv-text); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.4em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(40, 138, 93, .45); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nv-skip:focus { position: fixed !important; top: 8px; right: 8px; width: auto; height: auto; clip: auto; z-index: 10000; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--nv-shadow); }

.nv-container { width: 100%; max-width: var(--nv-container); margin-inline: auto; padding-inline: 20px; }
.nv-main { display: block; outline: none; }

/* ---------- Buttons, tags, chips ---------- */
.nv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--nv-primary); color: #fff; border: 2px solid var(--nv-primary);
	border-radius: 999px; padding: 10px 24px; font-family: var(--nv-font-ui); font-weight: 600; font-size: 15px;
	line-height: 1.4; cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s; text-align: center;
}
.nv-btn:hover { background: var(--nv-primary-700); border-color: var(--nv-primary-700); color: #fff; transform: translateY(-1px); }
.nv-btn--outline { background: #fff; color: var(--nv-primary); border-color: #cfe8db; }
.nv-btn--outline:hover { background: var(--nv-primary); color: #fff; border-color: var(--nv-primary); }
.nv-btn--white { background: #fff; color: var(--nv-dark); border-color: #fff; }
.nv-btn--white:hover { background: var(--nv-mint); color: var(--nv-dark); border-color: var(--nv-mint); }
.nv-btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .25); font-weight: 500; }
.nv-btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .4); }
.nv-btn--sm { padding: 6px 16px; font-size: 13px; border-width: 1px; }
.nv-btn--lg { padding: 13px 36px; font-size: 18px; border-radius: 10px; }

.nv-tag {
	display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px;
	background: var(--nv-accent); color: #fff; font-family: var(--nv-font-ui); font-size: 12px; font-weight: 500; line-height: 1.8; white-space: nowrap;
}
.nv-tag--soft { background: var(--nv-mint); color: var(--nv-primary); }
a.nv-tag--soft:hover { background: var(--nv-primary); color: #fff; }

.nv-pill {
	display: inline-flex; align-items: center; gap: 6px; background: var(--nv-mint); color: var(--nv-primary);
	border-radius: 8px 16px 8px 15px; padding: 3px 14px; font-family: var(--nv-font-ui); font-weight: 500; font-size: 15px;
}

.nv-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nv-chip {
	display: inline-flex; align-items: center; border: 0; cursor: pointer; padding: 8px 18px; border-radius: 10px;
	background: rgba(237, 231, 231, .59); color: var(--nv-text); font-family: var(--nv-font-ui); font-size: 15px; font-weight: 500; line-height: 1.5;
	transition: background .2s, color .2s;
}
.nv-chip:hover { background: var(--nv-mint); color: var(--nv-primary); }
.nv-chip.is-active { background: var(--nv-primary); color: #fff; }

/* ---------- Promo bar + header ---------- */
.nv-promo { background: var(--nv-primary); color: var(--nv-mint); text-align: center; padding: 7px 16px; }
.nv-promo p { margin: 0; font-family: var(--nv-font-ui); font-weight: 600; font-size: 15px; line-height: 1.5; }

.nv-header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid rgba(74, 85, 101, .1); }
.admin-bar .nv-header { top: 32px; }
.nv-header__inner { display: flex; align-items: center; gap: 24px; min-height: 96px; max-width: 1504px; }
.nv-logo img { width: auto; max-height: 72px; }
.nv-nav { flex: 1; display: flex; justify-content: center; }
.nv-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nv-menu > li { position: relative; display: flex; align-items: center; }
.nv-menu a { display: block; padding: 10px 12px; color: var(--nv-text); font-family: var(--nv-font-ui); font-weight: 500; font-size: 16px; border-radius: 8px; }
.nv-menu a:hover, .nv-menu .current-menu-item > a, .nv-menu .current-menu-ancestor > a { color: var(--nv-primary); }
.nv-sub-toggle { background: none; border: 0; padding: 4px; margin-inline-start: -8px; cursor: pointer; color: var(--nv-accent); font-size: 12px; line-height: 1; }
.nv-menu .sub-menu {
	list-style: none; margin: 0; padding: 12px; position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px;
	background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 40, 30, .14); border: 1px solid #edf2ef;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50;
}
.nv-menu > li:hover > .sub-menu, .nv-menu > li:focus-within > .sub-menu, .nv-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nv-menu .sub-menu a { padding: 8px 10px; font-size: 15px; }
.nv-menu .sub-menu a:hover { background: var(--nv-soft); }
/* Mega panel under "المنتجات" */
.nv-header__inner { position: relative; }
.nv-menu > li.nv-has-mega { position: static; }
.nv-menu > li.nv-has-mega > .sub-menu {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; inset-inline: 20px; width: auto; max-width: 980px;
	margin-inline: auto; background: #f9fffb; padding: 20px;
}
.nv-menu > li.nv-has-mega > .sub-menu > li > a { font-weight: 700; color: var(--nv-text); border-bottom: 2px solid var(--nv-mint); border-radius: 0; padding: 4px 0 8px; margin-bottom: 6px; }
.nv-mega-sub { list-style: none; margin: 0; padding: 0; }
.nv-mega-sub a { font-size: 14px !important; font-weight: 400 !important; color: #272727 !important; padding: 4px 0 !important; }
.nv-mega-sub a:hover { color: var(--nv-primary) !important; background: none !important; }

.nv-header__cta {
	background: var(--nv-mint); color: var(--nv-primary); border-radius: 10px; padding: 12px 18px;
	font-family: var(--nv-font-ui); font-weight: 500; font-size: 17px; white-space: nowrap; line-height: 1.3;
}
.nv-header__cta:hover { background: var(--nv-primary); color: #fff; }

.nv-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-inline-start: auto; }
.nv-burger span { display: block; width: 24px; height: 2px; background: var(--nv-text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nv-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Breadcrumbs ---------- */
.nv-breadcrumbs { font-family: var(--nv-font-ui); font-size: 14px; margin-bottom: 14px; }
.nv-breadcrumbs nav, .nv-breadcrumbs p { margin: 0; }
.nv-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nv-breadcrumbs li + li::before { content: "›"; margin-inline: 4px 6px; opacity: .7; }
.nv-breadcrumbs .separator { margin-inline: 6px; opacity: .7; }
.nv-breadcrumbs--dark { color: var(--nv-accent); }
.nv-breadcrumbs--dark a { color: var(--nv-primary); }
.nv-breadcrumbs--light { color: #fff; }
.nv-breadcrumbs--light a { color: #fff; opacity: .9; }
.nv-breadcrumbs--light a:hover { opacity: 1; color: #fff; text-decoration: underline; }

/* ---------- Heroes ---------- */
.nv-hero-light {
	background: radial-gradient(1200px 400px at 85% 0%, #e3f6ec 0%, rgba(227, 246, 236, 0) 60%), linear-gradient(180deg, #f3fbf6 0%, #fff 100%);
	padding: 44px 0 40px; text-align: center; border-bottom: 1px solid #eef3f0;
}
.nv-hero-light .nv-breadcrumbs { display: flex; justify-content: center; }
.nv-hero-light__title { font-size: clamp(32px, 4vw, 46px); font-weight: 700; margin: 14px 0 8px; }
.nv-hero-light__sub { color: var(--nv-primary); font-weight: 700; font-size: clamp(17px, 2vw, 22px); max-width: 820px; margin: 0 auto 18px; }
.nv-paged { display: inline-block; margin-inline-start: 10px; font-size: .45em; font-weight: 500; color: var(--nv-muted); vertical-align: middle; }

.nv-stats { list-style: none; margin: 18px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 820px; }
.nv-stats li { display: flex; flex-direction: column; align-items: center; padding: 6px 10px; border-inline-start: 1px solid #e3ece7; }
.nv-stats li:first-child { border-inline-start: 0; }
.nv-stats__num { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--nv-primary); line-height: 1.3; direction: ltr; }
.nv-stats__label { color: var(--nv-muted); font-size: 16px; }

.nv-banner {
	position: relative; min-height: 340px; display: flex; align-items: center; background-color: #2b3a33;
	background-size: cover; background-position: center; color: #fff; isolation: isolate;
}
.nv-banner::before { content: ""; position: absolute; inset: 0; background: rgba(2, 1, 1, .5); z-index: -1; }
.nv-banner__inner { text-align: center; padding-block: 60px; }
.nv-banner__title { color: #fff; font-size: clamp(30px, 4vw, 43px); font-weight: 700; margin: 0 0 12px; }
.nv-banner .nv-breadcrumbs { display: flex; justify-content: center; font-size: 17px; font-weight: 600; }

/* ---------- Sections ---------- */
.nv-section { padding-block: 56px; }
.nv-section--soft { background: var(--nv-soft); }
.nv-section--mint { background: var(--nv-mint-bg); }
.nv-section--tight { padding-block: 32px; }
.nv-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.nv-section__head > div { max-width: 760px; }
.nv-eyebrow { color: var(--nv-primary); font-family: var(--nv-font-ui); font-weight: 600; font-size: 14px; margin: 0 0 6px; letter-spacing: .2px; }
.nv-section__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0 0 8px; }
.nv-section__title--sm { font-size: clamp(20px, 2.2vw, 26px); color: var(--nv-primary); font-weight: 700; margin-bottom: 18px; }
.nv-section__sub { color: var(--nv-muted); font-size: 17px; margin: 0; }
.nv-more { text-align: center; margin: 26px 0 0; }
.nv-empty { text-align: center; color: var(--nv-muted); padding: 40px 0; }
.nv-term-desc { color: var(--nv-accent); font-size: 17px; max-width: 900px; margin: 0 0 24px; }

/* ---------- Grids & cards ---------- */
.nv-grid { display: grid; gap: 22px; }
.nv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nv-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.nv-card { background: #fff; border-radius: var(--nv-radius-sm); box-shadow: var(--nv-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.nv-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16, 40, 30, .12); }
.nv-thumb-ph { display: block; width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, #eef6f1, #f8fbf9); }

/* Review card */
.nv-rcard__img { display: block; aspect-ratio: 1; background: #fff; padding: 14px; }
.nv-rcard__img img { width: 100%; height: 100%; object-fit: contain; }
.nv-rcard__body { display: flex; flex-direction: column; gap: 8px; padding: 4px 16px 16px; flex: 1; }
.nv-rcard__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.nv-rcard__title { font-size: 16px; font-weight: 700; line-height: 1.55; margin: 0; overflow-wrap: anywhere; }
.nv-rcard__title a { color: #131313; }
.nv-rcard__title a:hover { color: var(--nv-primary); }
.nv-rcard--landing .nv-rcard__title { font-size: 19px; }
.nv-rcard--landing .nv-rcard__title a { color: var(--nv-primary); }
.nv-rcard__sum { color: var(--nv-accent); font-size: 14px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-rcard__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding-top: 8px; border-top: 1px solid #f0f3f1; }
.nv-rcard__price { font-weight: 700; color: var(--nv-text); font-size: 15px; white-space: nowrap; min-width: 0; }
.nv-rcard__foot .nv-btn { margin-inline-start: auto; flex: none; }
.nv-rcard { min-width: 0; }
.nv-rcard__title, .nv-rcard__sum { unicode-bidi: plaintext; text-align: start; }

.nv-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; line-height: 1; white-space: nowrap; }
.nv-stars { position: relative; display: inline-block; color: #e2e5e9; letter-spacing: 1px; font-size: 13px; }
.nv-stars__fill { position: absolute; inset-inline-start: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--nv-star); }
.nv-rating__num { color: #333; font-weight: 700; }
.nv-rating__label { color: var(--nv-muted); font-size: 13px; }

/* Article card */
.nv-acard { border-radius: var(--nv-radius-sm); }
.nv-acard__img { display: block; aspect-ratio: 16 / 9; background: #eef6f1; overflow: hidden; }
.nv-acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nv-acard:hover .nv-acard__img img { transform: scale(1.04); }
.nv-acard__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nv-acard__meta { display: flex; align-items: center; gap: 10px; color: var(--nv-muted); font-size: 13px; flex-wrap: wrap; }
.nv-acard__title { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.5; }
.nv-acard__title a { color: var(--nv-text); }
.nv-acard__title a:hover { color: var(--nv-primary); }
.nv-acard__excerpt { color: var(--nv-accent); font-size: 15px; margin: 0; }

/* Term card */
.nv-tcard { align-items: center; text-align: center; padding: 14px 14px 18px; border-radius: var(--nv-radius); color: var(--nv-text); }
.nv-tcard__img { display: block; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--nv-soft); margin-bottom: 12px; }
.nv-tcard__img img { width: 100%; height: 100%; object-fit: cover; }
.nv-tcard__name { font-weight: 700; font-size: 17px; color: var(--nv-text); }
.nv-tcard__count { color: var(--nv-muted); font-size: 14px; }
.nv-tcard:hover .nv-tcard__name { color: var(--nv-primary); }

/* Slider */
.nv-slider { position: relative; }
.nv-slider__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: none;
}
.nv-slider__track::-webkit-scrollbar { display: none; }
.nv-slider__track > * { scroll-snap-align: start; }
.nv-slider__btn {
	position: absolute; top: 40%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #dbe9e1;
	background: #fff; color: var(--nv-primary); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--nv-shadow-sm);
}
.nv-slider__btn--prev { inset-inline-start: -18px; }
.nv-slider__btn--next { inset-inline-end: -18px; }
.nv-slider__btn:hover { background: var(--nv-primary); color: #fff; }

/* Pagination */
.nv-pagination { margin: 40px 0 0; display: flex; justify-content: center; }
.nv-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; justify-content: center; }
.nv-pagination a, .nv-pagination span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border-radius: 10px; border: 1px solid #dfe9e3; background: #fff; color: var(--nv-text); font-family: var(--nv-font-ui); font-weight: 600;
}
.nv-pagination a:hover { border-color: var(--nv-primary); color: var(--nv-primary); }
.nv-pagination .current { background: var(--nv-primary) !important; border-color: var(--nv-primary) !important; color: #fff !important; }
.nv-pagination .dots { border: 0 !important; background: none !important; }

/* Tabs */
.nv-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.nv-tabs--boxed { gap: 0; margin: 0; background: #f2f2f2; padding: 26px 26px 0; border-radius: 14px 14px 0 0; }
.nv-tab {
	border: 0; cursor: pointer; background: #3a7349; color: #fff; padding: 12px 26px; font-family: var(--nv-font-ui); font-weight: 600; font-size: 16px;
	border-radius: 10px 10px 0 0; margin-inline-end: 4px;
}
.nv-tab.is-active { background: #53a2b0; }
.nv-tabpanel[hidden] { display: none !important; }

/* ---------- Single review ---------- */
.nv-review__top { background: #effaf4; padding: 26px 0 40px; }
.nv-review__head { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; }
.nv-review__media { background: #fff; border-radius: 14px; padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 420px; box-shadow: var(--nv-shadow-sm); }
.nv-review__media img { max-height: 400px; width: auto; object-fit: contain; }
.nv-review__title { color: var(--nv-primary); font-size: clamp(22px, 2.4vw, 27px); font-weight: 700; margin: 6px 0 8px; }
.nv-review__rating { margin-bottom: 10px; }
.nv-review__rating .nv-stars, .nv-review__rating .nv-rating { font-size: 15px; }
.nv-review__divider { display: block; width: 80px; height: 2px; background: var(--nv-buy); margin: 8px 0 18px; }
.nv-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nv-pills li {
	display: flex; align-items: center; gap: 12px; background: var(--nv-buy); color: #fff; min-height: 52px;
	padding: 8px 8px 8px 22px; border-radius: 0 30px 30px 0; font-family: var(--nv-font-ui); font-weight: 700; font-size: 14px; line-height: 1.6;
}
[dir="rtl"] .nv-pills li { border-radius: 30px 0 0 30px; padding: 8px 8px 8px 22px; }
.nv-pills img { width: 36px; height: 36px; padding: 4px; background: #fff; border-radius: 8px; flex: none; }
.nv-pills a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nv-pills__buy { background: var(--nv-primary) !important; }
.nv-pills__buy:hover { background: var(--nv-primary-700) !important; }

.nv-review__tabs { margin-top: 32px; }
.nv-quick { background: #f2f2f2; padding: 24px 26px 28px; border-radius: 0 0 14px 14px; }
.nv-review__tabs .nv-tabpanel:not(.nv-quick) { background: #f2f2f2; padding: 24px 26px; border-radius: 0 0 14px 14px; }
.nv-quick__text { font-size: 17px; margin-bottom: 16px; }
.nv-quick__facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.nv-quick__facts div { background: #fff; border-radius: 10px; padding: 10px 16px; }
.nv-quick__facts dt { font-size: 13px; color: var(--nv-muted); }
.nv-quick__facts dd { margin: 0; font-weight: 700; }
.nv-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nv-proscons__col { background: #fff; border-radius: 12px; padding: 16px 18px; border-top: 4px solid var(--nv-primary); }
.nv-proscons__col--con { border-top-color: var(--nv-secondary); }
.nv-proscons__title { font-weight: 800; margin-bottom: 8px; }
.nv-proscons ul { margin: 0; padding-inline-start: 1.2em; }
.nv-proscons li { margin-bottom: 6px; }
.nv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.nv-gallery a { background: #fff; border-radius: 10px; padding: 8px; }
.nv-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; }

.nv-boxed { background: #fff; border-radius: 15px; box-shadow: var(--nv-shadow); padding: clamp(18px, 3vw, 34px); margin-block: 28px; }
.nv-related { padding-block: 30px 56px; }
.nv-review .nv-related { background: rgba(223, 245, 237, .25); }

/* ---------- Single article ---------- */
.nv-single { padding-block: 26px 10px; }
.nv-article { border: 1px solid #e3e3e3; box-shadow: none; border-radius: 12px; max-width: 980px; margin-inline: auto; }
.nv-article__head { text-align: center; margin-bottom: 18px; }
.nv-article__title { color: var(--nv-primary); font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 10px; }
.nv-article__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; color: var(--nv-muted); font-size: 14px; margin: 0; }
.nv-article__img { margin: 0 auto 24px; max-width: 760px; }
.nv-article__img img { width: 100%; border-radius: 12px; }
.nv-single .nv-related { max-width: 1200px; margin-inline: auto; }

/* ---------- Prose (post content) ---------- */
.nv-prose { font-size: 17px; line-height: 1.95; color: var(--nv-text); }
.nv-prose > *:last-child { margin-bottom: 0; }
.nv-prose h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; margin: 1.6em 0 .6em; }
.nv-prose h3 { font-size: clamp(20px, 2.2vw, 25px); font-weight: 700; margin: 1.4em 0 .5em; }
.nv-prose h4 { font-size: 20px; margin: 1.2em 0 .5em; }
.nv-prose img { border-radius: 10px; margin-inline: auto; }
.nv-prose figure { margin: 1.4em 0; }
.nv-prose figcaption { text-align: center; color: var(--nv-muted); font-size: 14px; margin-top: 6px; }
.nv-prose blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--nv-soft); border-inline-start: 4px solid var(--nv-primary); border-radius: 10px; }
.nv-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.nv-prose th, .nv-prose td { border: 1px solid rgba(128, 128, 128, .5); padding: 10px 12px; text-align: start; vertical-align: top; }
.nv-prose tr:nth-child(odd) th, .nv-prose tr:nth-child(odd) td { background: rgba(128, 128, 128, .07); }
.nv-prose th { font-weight: 700; }
.nv-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(40, 138, 93, .4); }
.nv-prose .aligncenter { margin-inline: auto; }
.nv-prose .alignleft { float: left; margin: 0 0 1em 1.5em; }
.nv-prose .alignright { float: right; margin: 0 1.5em 1em 0; }
/* Review content headings: green side bar on a soft blue pill (same as before). */
.nv-prose--review h2, .nv-prose--review h3 {
	background: linear-gradient(to left, #1db954 0, #1db954 5px, #eaf3fb 5px, #eaf3fb 100%);
	padding: 8px 25px; border-radius: 20px; color: #1f2d3d;
}
.nv-prose--review h2 { font-size: clamp(22px, 2.4vw, 28px); }
.nv-prose--review h3 { font-size: clamp(19px, 2vw, 23px); }
/* Buy buttons injected by the WPCode "buy url" snippet keep their look. */
.nv-prose .review-buy-url-btn { text-decoration: none; }

/* ---------- Forms ---------- */
.nv-search { display: flex; gap: 10px; background: #fff; border: 1px solid #dcebe3; border-radius: 14px; padding: 8px; box-shadow: var(--nv-shadow-sm); max-width: 640px; }
.nv-search input { flex: 1; border: 0; background: transparent; padding: 10px 12px; min-width: 0; outline: none; }
.nv-search .nv-btn { border-radius: 10px; padding-inline: 26px; }
.nv-section .nv-search { margin: 0 auto 30px; }

.nv-newsletter { position: relative; overflow: hidden; background: #fff; border-radius: 24px; box-shadow: var(--nv-shadow); padding: 58px 40px; text-align: center; max-width: 960px; margin-inline: auto; }
.nv-newsletter::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 6px; background: linear-gradient(90deg, var(--nv-secondary), var(--nv-primary)); }
.nv-newsletter__title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.nv-newsletter__text { color: var(--nv-muted); max-width: 520px; margin: 0 auto 24px; }
.nv-newsletter__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 560px; margin-inline: auto; }
.nv-newsletter__form input[type="email"] { flex: 1 1 260px; border: 1px solid #d6e3dc; border-radius: 999px; padding: 12px 20px; background: #fff; }
.nv-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nv-form-msg { width: 100%; margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.nv-form-msg.is-ok { background: var(--nv-mint); color: var(--nv-primary-700); }
.nv-form-msg.is-err { background: #fdecec; color: #a61b1b; }

.nv-contact { background: #fff; border-radius: 15px; box-shadow: var(--nv-shadow); padding: 34px; max-width: 824px; margin: 0 auto; text-align: start; }
.nv-contact p { margin: 0 0 16px; }
.nv-contact label { display: block; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.nv-contact input, .nv-contact textarea { width: 100%; border: 1px solid #69727d; border-radius: 5px; padding: 10px 14px; background: #fff; }
.nv-contact .nv-btn { border-radius: 6px; }

/* ---------- Social ---------- */
.nv-social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.nv-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(74, 85, 101, .12); color: var(--nv-text); }
.nv-social a:hover { background: var(--nv-primary); color: #fff; border-color: var(--nv-primary); }
.nv-section .nv-social { justify-content: center; }

/* ---------- Footer ---------- */
.nv-footer { margin-top: 30px; border-top: 1px solid rgba(74, 85, 101, .2); }
.nv-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-block: 40px 30px; }
.nv-footer__logo img { width: 96px; height: auto; margin-bottom: 12px; }
.nv-footer__brand p { color: var(--nv-accent); font-family: var(--nv-font-ui); font-weight: 500; font-size: 15px; line-height: 1.8; max-width: 380px; margin: 0; }
.nv-footer__title { font-family: var(--nv-font-ui); font-weight: 700; font-size: 20px; color: var(--nv-text); margin: 10px 0 14px; }
.nv-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nv-footer__col a { color: var(--nv-accent); font-family: var(--nv-font-ui); font-weight: 500; }
.nv-footer__col a:hover { color: var(--nv-primary); }
.nv-footer__bar { background: var(--nv-primary); text-align: center; padding: 8px 16px; }
.nv-footer__bar p { margin: 0; font-weight: 600; font-size: 15px; }
.nv-footer__bar a { color: var(--nv-mint); }

/* ==========================================================================
   Converted page blocks (homepage, about, contact, categories)
   ========================================================================== */
.nv-banner__sub { color: #fff; font-size: clamp(18px, 2vw, 24px); font-weight: 500; margin: 0; }
.nv-page--designed .nv-hero-light { padding-block: 44px 48px; }

/* Home hero */
.nv-home-hero { background: var(--nv-mint-bg); padding: 56px 0; }
.nv-home-hero__grid > *, .nv-guides > *, .nv-split > *, .nv-review__head > * { min-width: 0; }
.nv-home-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.nv-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 16px; font-family: var(--nv-font-ui); font-size: 14px; font-weight: 600; color: var(--nv-text); box-shadow: var(--nv-shadow-sm); margin: 0 0 18px; }
.nv-badge::before { content: "★"; color: var(--nv-secondary); }
.nv-home-hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.3; margin: 0 0 16px; }
.nv-hl { color: var(--nv-green-deep); }
.nv-home-hero__lead { font-size: 18px; color: var(--nv-accent); max-width: 620px; margin-bottom: 24px; }
.nv-home-hero .nv-search { margin-bottom: 16px; }
.nv-quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.nv-quicklinks__label { color: var(--nv-muted); font-size: 14px; margin-inline-end: 4px; }
.nv-quicklinks a { display: inline-block; background: #fff; border: 1px solid #dcebe3; border-radius: 999px; padding: 4px 14px; font-size: 14px; color: var(--nv-text); }
.nv-quicklinks a:hover { border-color: var(--nv-primary); color: var(--nv-primary); }
.nv-statbox { background: #fff; border-radius: 18px; box-shadow: var(--nv-shadow-sm); padding: 18px 10px; }
.nv-statbox .nv-stats { margin: 0; max-width: none; }
.nv-home-hero__media { position: relative; }
.nv-home-hero__media > img { width: 100%; border-radius: 26px; box-shadow: var(--nv-shadow); }
.nv-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 34px rgba(16, 40, 30, .16); }
.nv-float img { width: 38px; height: 38px; }
.nv-float strong { display: block; font-size: 16px; line-height: 1.3; }
.nv-float span { font-size: 13px; color: var(--nv-muted); }
.nv-float--top { top: 22px; inset-inline-end: -18px; }
.nv-float--bottom { bottom: 26px; inset-inline-start: -18px; }

/* Trust cards */
.nv-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nv-ibox { display: flex; align-items: flex-start; gap: 14px; background: #fff; border-radius: var(--nv-radius); padding: 22px; box-shadow: var(--nv-shadow-sm); }
.nv-ibox img { width: 44px; height: 44px; flex: none; }
.nv-ibox h3 { font-size: 17px; margin: 0 0 4px; }
.nv-ibox p { margin: 0; color: var(--nv-muted); font-size: 14px; line-height: 1.6; }
.nv-ibox--col { flex-direction: column; }

/* Home guides block */
.nv-guides { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.nv-feature { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--nv-shadow); }
.nv-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nv-feature__body { padding: 20px 24px 26px; }
.nv-feature__meta { color: var(--nv-muted); font-size: 14px; margin-bottom: 6px; }
.nv-feature__meta strong { color: #0a6b4c; margin-inline-end: 8px; }
.nv-feature h3 { font-size: 23px; margin-bottom: 8px; }
.nv-feature h3 a { color: var(--nv-text); }
.nv-feature h3 a:hover { color: var(--nv-primary); }
.nv-feature p { color: var(--nv-accent); margin: 0; }
.nv-minis { display: grid; gap: 14px; }
.nv-mini { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--nv-shadow-sm); }
.nv-mini img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.nv-mini h3 { font-size: 16px; margin: 0 0 4px; line-height: 1.5; }
.nv-mini h3 a { color: var(--nv-text); }
.nv-mini h3 a:hover { color: var(--nv-primary); }
.nv-mini p { margin: 0; font-size: 13px; color: var(--nv-muted); }
.nv-popular { background: #e9f7f0; border-radius: 16px; padding: 18px 22px; }
.nv-popular h3 { font-size: 17px; margin-bottom: 8px; }
.nv-popular ol { margin: 0; }
.nv-popular li { margin-bottom: 4px; }
.nv-popular a { color: var(--nv-text); }
.nv-popular a:hover { color: var(--nv-primary); }

/* Dark compare CTA */
.nv-cta-dark { position: relative; overflow: hidden; background: var(--nv-dark) center / cover no-repeat; border-radius: 26px; padding: 52px 54px; color: #fff; isolation: isolate; }
.nv-cta-dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 46, 34, .55), rgba(11, 46, 34, .92)); z-index: -1; }
.nv-cta-dark .nv-eyebrow { color: #9ee3c3; }
.nv-cta-dark h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.nv-cta-dark p { color: rgba(255, 255, 255, .82); max-width: 640px; }
.nv-cta-dark__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; padding: 0; list-style: none; }

/* Split block (about) */
.nv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.nv-split img { width: 100%; border-radius: 18px; }
.nv-split h2 { color: var(--nv-primary); font-size: clamp(32px, 4vw, 48px); }
.nv-lead { font-size: 18px; color: var(--nv-accent); font-weight: 500; line-height: 1.9; }
.nv-fcard { background: #fff; border-radius: 15px; border: 1px solid rgba(224, 230, 235, .5); box-shadow: var(--nv-shadow); padding: 26px; }
.nv-fcard h3 { font-size: 24px; margin-bottom: 8px; }
.nv-fcard p { color: var(--nv-accent); font-weight: 500; margin: 0; }
.nv-fcard--blue { background: #eff6ff; }
.nv-fcard--green { background: #ecfdf5; }
.nv-fcard--amber { background: #fffbeb; }
.nv-fcard--rose { background: #fff1f2; }
.nv-center { text-align: center; }
.nv-center .nv-section__sub, .nv-center .nv-lead { margin-inline: auto; max-width: 820px; }

/* Categories page tiles */
.nv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nv-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 270px; border-radius: 15px; overflow: hidden; color: #fff; padding: 22px; background: #1abc9c center / cover no-repeat; isolation: isolate; }
.nv-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 41, 55, .25), rgba(31, 41, 55, .78)); z-index: -1; transition: background .3s; }
.nv-tile:hover::before { background: rgba(0, 0, 0, .73); }
.nv-tile h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.nv-tile p { color: rgba(255, 255, 255, .9); margin: 0 0 12px; font-size: 16px; }
.nv-tile span { align-self: flex-start; border: 2px solid #fff; border-radius: 4px; padding: 4px 14px; font-weight: 600; font-size: 15px; }
.nv-tile:hover { color: #fff; }

/* 404 */
.nv-404 { text-align: center; }
.nv-404__code { font-size: 96px; font-weight: 800; color: var(--nv-mint); line-height: 1; margin: 0; -webkit-text-stroke: 2px var(--nv-primary); }
.nv-404 .nv-search { margin: 24px auto; }
.nv-404__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* Landing */
.nv-landing__content { margin-top: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.nv-slider__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
	.nv-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.nv-header__inner { min-height: 76px; gap: 12px; }
	.nv-logo img { max-height: 58px; }
	.nv-burger { display: block; }
	.nv-header__cta { display: none; }
	.nv-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 1000;
		flex-direction: column; justify-content: flex-start; padding: 80px 18px 30px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
	}
	.nv-nav.is-open { transform: translateX(0); visibility: visible; }
	.nv-menu > li.nv-has-mega { position: relative; }
	.nv-menu > li.nv-has-mega > .sub-menu { inset-inline: auto; max-width: none; margin: 0; }
	.nv-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 950; }
	.nv-burger { position: relative; z-index: 1001; }
	.nv-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nv-menu > li { flex-wrap: wrap; border-bottom: 1px solid #f0f2f1; }
	.nv-menu > li > a { flex: 1; padding: 14px 6px; }
	.nv-sub-toggle { padding: 12px; font-size: 16px; }
	.nv-menu .sub-menu, .nv-menu > li.nv-has-mega > .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none !important; display: none; width: 100%;
		box-shadow: none; border: 0; padding: 0 10px 12px; background: transparent; grid-template-columns: 1fr;
	}
	.nv-menu > li.is-open > .sub-menu { display: block; }
	.nv-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nv-review__head { grid-template-columns: 1fr; }
	.nv-review__media { min-height: 300px; }
	.nv-home-hero__grid, .nv-guides, .nv-split { grid-template-columns: minmax(0, 1fr); }
	.nv-home-hero__media { max-width: 560px; margin-inline: auto; }
	.nv-trust { grid-template-columns: repeat(2, 1fr); }
	.nv-footer__grid { grid-template-columns: 1fr 1fr; }
	.nv-tiles { grid-template-columns: repeat(2, 1fr); }
	.nv-slider__track { grid-auto-columns: calc((100% - 20px) / 2); }
	.admin-bar .nv-header { top: 46px; }
}
@media (max-width: 767px) {
	body { font-size: 15px; }
	.nv-section { padding-block: 40px; }
	.nv-section__head { flex-direction: column; align-items: flex-start; }
	.nv-grid--3, .nv-grid--4, .nv-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.nv-grid--2, .nv-proscons, .nv-tiles { grid-template-columns: 1fr; }
	.nv-stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
	.nv-stats li:nth-child(3) { border-inline-start: 0; }
	.nv-slider__track { grid-auto-columns: 72%; }
	.nv-slider__btn { display: none; }
	.nv-rcard__body { padding: 4px 10px 12px; }
	.nv-rcard__title { font-size: 15px; }
	.nv-rcard__foot { flex-direction: column; align-items: stretch; }
	.nv-rcard__foot .nv-btn { width: 100%; }
	.nv-acard__title { font-size: 16px; }
	.nv-banner { min-height: 240px; }
	.nv-promo p { font-size: 13px; }
	.nv-cta-dark { padding: 34px 22px; }
	.nv-newsletter { padding: 40px 20px; }
	.nv-contact { padding: 22px; }
	.nv-trust { grid-template-columns: 1fr; }
	.nv-float--top { inset-inline-end: 6px; }
	.nv-float--bottom { inset-inline-start: 6px; }
	.nv-footer__grid { grid-template-columns: 1fr; text-align: center; }
	.nv-footer__brand p { margin-inline: auto; }
	.nv-footer .nv-social { justify-content: center; }
	.nv-tabs--boxed { padding: 14px 14px 0; }
	.nv-tab { padding: 10px 14px; font-size: 14px; }
	.nv-quick, .nv-review__tabs .nv-tabpanel:not(.nv-quick) { padding: 18px 14px; }
	.nv-pills li { font-size: 13px; }
	.nv-prose { font-size: 16px; }
}
@media (max-width: 420px) {
	.nv-grid--3, .nv-grid--4, .nv-grid--5 { grid-template-columns: 1fr 1fr; }
	.nv-tgrid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
