/* =========================================================================
   NOVA -- a custom (non-Bootstrap) theme for tech / electronics affiliate
   sites.
   ==========================================================================
   This is a from-scratch design system: no Bootstrap grid, no Bootstrap
   utility classes (no container, no row, no numbered column classes, no
   flex-display shorthand classes, no default button or card classes).
   Layout is built with a small custom "nv-" class vocabulary on top of
   CSS Grid and Flexbox.

   The only thing borrowed from the platform is the data-bs-toggle
   attributes on the search modal, mobile nav, and FAQ accordion, which
   fire against the site's globally loaded Bootstrap JS. Two important
   compatibility notes, both learned the hard way on earlier themes in
   this set:
     1. Bootstrap's real Modal component does an internal lookup for a
        plain ".modal-dialog" element inside the modal root. If that
        class is missing, Bootstrap throws a hard "Illegal invocation"
        JS error the moment you try to open it. The modal markup in this
        theme keeps "modal-dialog" / "modal-content" alongside the "nv-"
        classes for exactly this reason -- do not remove them.
     2. footer.html.twig ships a small vanilla-JS fallback that detects
        whether window.bootstrap.Modal exists; if Bootstrap's JS is
        missing entirely it takes over opening/closing the modal and
        collapse panels itself, so the theme still works even without
        the platform's JS bundle present.

   Palette: bold, saturated brand colors -- red #f44336, pink #e91e63,
   purple #9c27b0, deep purple #673ab7 -- used as a signature 4-stop
   gradient across buttons, tags, underlines, and accent borders, set
   against a clean white/near-white base with near-black ink text so the
   color reads as a deliberate brand choice rather than visual noise.
   Type: Sora (bold display) + Rubik (body).

   Layout signature: NO hero section. The homepage opens directly with a
   compact plain-text intro (no background band, no buttons) straight
   into an asymmetric "bento" grid of featured products -- one large
   tile, one wide tile, and the rest uniform squares, cycling every six
   items -- which does the visual work a hero banner would otherwise do.
   A data-driven "Shop" dropdown in the nav (built from real category
   data, not fabricated links) opens on hover on desktop and on tap on
   mobile via plain CSS/JS, no Bootstrap dropdown component involved.
   Ratings are shown as five vertical "signal bars" (styled after a
   phone signal / battery indicator) instead of stars, a linear gauge,
   or a circular ring -- the one rating motif unique to this theme.
   ========================================================================= */

:root {
  --nv-red: #f44336;
  --nv-pink: #e91e63;
  --nv-purple: #9c27b0;
  --nv-deep-purple: #673ab7;
  --nv-gradient: linear-gradient(135deg, var(--nv-red), var(--nv-pink), var(--nv-purple), var(--nv-deep-purple));
  --nv-ink: #1A1523;
  --nv-muted: #6E6779;
  --nv-surface: #FFFFFF;
  --nv-paper: #FBFAFD;
  --nv-tile: #F3EFF7;
  --nv-hairline: #E9E4F0;
  --nv-radius-sm: 10px;
  --nv-radius: 18px;
  --nv-radius-lg: 28px;
  --nv-shadow-sm: 0 1px 3px rgba(26, 21, 35, 0.08);
  --nv-shadow: 0 12px 30px rgba(26, 21, 35, 0.12);
  --nv-shadow-lg: 0 26px 60px rgba(26, 21, 35, 0.2);
  --nv-font-display: "Sora", "Rubik", sans-serif;
  --nv-font-body: "Rubik", system-ui, -apple-system, sans-serif;
  --nv-max: 1240px;
}

* { box-sizing: border-box; }

/* ---- Base --------------------------------------------------------------- */

.nv-body {
  margin: 0;
  font-family: var(--nv-font-body);
  color: var(--nv-ink);
  background: var(--nv-surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nv-font-display);
  color: var(--nv-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--nv-ink); }
a { color: var(--nv-purple); text-decoration: none; }
a:hover { color: var(--nv-deep-purple); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
small, .nv-small { font-size: 0.82rem; }

::selection { background: rgba(156, 39, 176, 0.2); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.nv-main, .nv-section { background: var(--nv-surface); }

/* ---- Layout primitives (no Bootstrap grid) -------------------------------- */

.nv-wrap { max-width: var(--nv-max); margin: 0 auto; padding: 0 1.5rem; }
.nv-narrow { max-width: 860px; }
.nv-text-center { text-align: center; }

.nv-section { padding: 4.5rem 0; }
@media (max-width: 767.98px) {
  .nv-section { padding: 3rem 0; }
}
.nv-section-tint { background: var(--nv-paper); }

.nv-mb-sm { margin-bottom: 0.75rem; }
.nv-mb-md { margin-bottom: 1.75rem; }
.nv-mb-lg { margin-bottom: 3rem; }
.nv-mt-lg { margin-top: 3rem; }
.nv-ms-auto { margin-left: auto; }
.nv-text-left { text-align: left; }

/* ---- Functional state layer (modal / collapse -- no Bootstrap CSS) -------- */

.modal.nv-modal { display: none; position: fixed; inset: 0; z-index: 1050; }
.modal.nv-modal.show { display: block; }
.modal.nv-modal::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 35, 0.65);
  backdrop-filter: blur(2px);
}
.modal-backdrop { position: fixed; inset: 0; background: rgba(26, 21, 35, 0.65); z-index: 1040; }
.modal-backdrop.show { opacity: 1; }

.collapse:not(.show) { display: none; }
.collapse.show { display: block; }
.collapsing { height: 0; overflow: hidden; transition: height 0.25s ease; }

.fade { transition: opacity 0.15s linear; opacity: 0; }
.fade.show { opacity: 1; }

/* ---- Accent color cycle (used across cards/tags/tiles) --------------------- */

.nv-accent-1 { --nv-accent: var(--nv-red); }
.nv-accent-2 { --nv-accent: var(--nv-pink); }
.nv-accent-3 { --nv-accent: var(--nv-purple); }
.nv-accent-4 { --nv-accent: var(--nv-deep-purple); }

/* ---- Eyebrow / headings -------------------------------------------------- */

.nv-eyebrow {
  display: inline-block;
  font-family: var(--nv-font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--nv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.nv-eyebrow-light { -webkit-text-fill-color: #fff; color: #fff; background: none; }

.nv-section-title {
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem);
  font-weight: 700;
}

.nv-section-subtitle {
  color: var(--nv-muted);
  font-size: 1.02rem;
  max-width: 640px;
}

.nv-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.nv-center-head { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.nv-center-head .nv-section-subtitle { margin: 0 auto; }

.nv-link-arrow {
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--nv-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--nv-purple);
  padding-bottom: 3px;
}
.nv-link-arrow:hover { color: var(--nv-purple); }
.nv-link-arrow-sm {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nv-deep-purple);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nv-disclaimer-row { text-align: center; padding: 0.5rem 0 1rem; }
.nv-disclaimer-text { color: var(--nv-muted) !important; font-size: 0.85rem; }

.nv-prose { line-height: 1.85; }
.nv-prose img { border-radius: var(--nv-radius-sm); }

.nv-img-credit { display: block; margin-top: 0.4rem; color: var(--nv-muted); }
.nv-divider { height: 1px; background: var(--nv-hairline); margin: 1.5rem 0; }

/* ---- Intro (hero replacement -- deliberately minimal) ---------------------- */

.nv-intro { 
  padding: 2rem 0 1rem;
}
.nv-intro:after {
  margin-top: 2rem;
  border-bottom: 1px solid var(--nv-hairline);
  width: 80%;
  content: '';
  display: block;
  margin-left: 10%;
}
.nv-intro-title {
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.nv-intro-lead {
  color: var(--nv-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ---- Utility bar (topbar) -------------------------------------------------- */

.nv-utility-bar {
  background: var(--nv-ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  padding: 0.55rem 0;
}
.nv-utility-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.nv-utility-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nv-utility-link { color: rgba(255, 255, 255, 0.72); }
.nv-utility-link:hover { color: #fff; }
.nv-utility-tag { font-family: var(--nv-font-display); font-weight: 600; font-size: 0.78rem; color: #fff; }

@media (max-width: 767.98px) {
  .nv-utility-bar { display: none; }
}

/* ---- Navbar ---------------------------------------------------------------- */

.nv-navbar {
  background: var(--nv-surface);
  border-bottom: 1px solid var(--nv-hairline);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.nv-navbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

/* Mobile: allow the row to wrap so the collapse panel drops to its own
   full-width line below the logo/toggle/search row, instead of
   squeezing everything onto one congested line. */
@media (max-width: 991.98px) {
  .nv-navbar-inner { flex-wrap: wrap; }
}

.nv-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--nv-font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--nv-ink);
}
.nv-logo:hover { color: var(--nv-ink); }
.nv-logo-mark { width: 40px; height: 40px; border-radius: var(--nv-radius-sm); object-fit: cover; }

.nv-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--nv-tile);
  border: 1px solid var(--nv-hairline);
  border-radius: var(--nv-radius-sm);
  margin-left: auto;
  cursor: pointer;
}
.nv-nav-toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--nv-ink); }

.nv-nav-collapse {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

/* Desktop: the nav-collapse panel carries Bootstrap's .collapse class
   for the mobile JS toggle, but must always stay visible at desktop
   widths regardless of the .show state -- mirrors Bootstrap's own
   navbar-expand-lg override behavior. */
@media (min-width: 992px) {
  .nv-nav-collapse.collapse {
    display: flex !important;
  }
}

.nv-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nv-nav-item > a {
  display: block;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nv-ink);
  padding: 0.6rem 1rem;
  border-radius: var(--nv-radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.nv-nav-item > a:hover { color: var(--nv-purple); background: var(--nv-tile); }

/* Nav dropdown (data-driven "Shop" menu) -- plain CSS/JS, no Bootstrap
   dropdown component involved. */
.nv-has-dropdown { position: relative; }
.nv-nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nv-ink);
  padding: 0.6rem 1rem;
  border-radius: var(--nv-radius-sm);
}
.nv-nav-dropdown-trigger:hover { color: var(--nv-purple); background: var(--nv-tile); }
.nv-nav-dropdown-trigger i { font-size: 0.68rem; transition: transform 0.15s ease; }
.nv-has-dropdown.nv-dropdown-open .nv-nav-dropdown-trigger i { transform: rotate(180deg); }

.nv-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  box-shadow: var(--nv-shadow-lg);
  padding: 0.6rem;
  z-index: 20;
}
.nv-has-dropdown.nv-dropdown-open .nv-dropdown-menu { display: block; }
.nv-dropdown-item {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--nv-radius-sm);
  color: var(--nv-ink);
  font-size: 0.9rem;
  font-weight: 500;
}
.nv-dropdown-item:hover { background: var(--nv-tile); color: var(--nv-purple); }
.nv-dropdown-item-all {
  margin-top: 0.4rem;
  border-top: 1px solid var(--nv-hairline);
  padding-top: 0.7rem;
  font-weight: 700;
  background: var(--nv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 992px) {
  .nv-has-dropdown:hover .nv-dropdown-menu,
  .nv-has-dropdown:focus-within .nv-dropdown-menu {
    display: block;
  }

  /* Extend the hoverable area down to meet the menu, closing the gap
     that breaks :hover the instant the cursor moves from the trigger
     toward the menu items below it. */
  .nv-dropdown-menu {
    margin-top: 8px;
    padding-top: 0.6rem;
  }
  .nv-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }
}

.nv-nav-mobile-search { display: none; }

.nv-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--nv-gradient);
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nv-icon-btn:hover { transform: translateY(-2px); box-shadow: var(--nv-shadow); color: #fff; }

@media (max-width: 991.98px) {
  .nv-nav-toggle { display: flex; }
  .nv-nav-collapse {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .nv-nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; }
  .nv-nav-item > a { padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--nv-hairline); border-radius: 0; }
  .nv-nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--nv-hairline); border-radius: 0; }
  .nv-dropdown-menu { position: static; box-shadow: none; padding: 0 0 0 1rem; }
  .nv-nav-mobile-search { display: block; padding: 1rem 0; }
}

/* ---- Buttons ------------------------------------------------------------------ */

.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.nv-btn:active { transform: translateY(1px); }
.nv-btn-block { width: 100%; }
.nv-btn-sm { padding: 0.5rem 1.25rem; font-size: 0.82rem; }
.nv-btn-lg { padding: 1rem 2.5rem; font-size: 0.98rem; }

.nv-btn-primary {
  background: var(--nv-gradient);
  border-color: transparent;
  color: #fff;
}
.nv-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--nv-shadow); color: #fff; }

.nv-btn-outline {
  background: transparent;
  border-color: var(--nv-hairline);
  color: var(--nv-ink);
}
.nv-btn-outline:hover { border-color: var(--nv-purple); color: var(--nv-purple); background: var(--nv-tile); }

.nv-btn-light { background: #fff; border-color: #fff; color: var(--nv-purple); }
.nv-btn-light:hover { background: rgba(255,255,255,0.9); color: var(--nv-deep-purple); }

.nv-btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.nv-btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ---- Bento grid (featured products -- unusual mixed-size layout) --------------- */

.nv-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.1rem;
}
.nv-bento-card {
  position: relative;
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  overflow: hidden;
  box-shadow: var(--nv-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.nv-bento-card:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow); }
.nv-bento-lg { grid-column: span 2; grid-row: span 2; }
.nv-bento-wide { grid-column: span 2; }

.nv-bento-img-link { display: block; flex: 1; min-height: 0; }
.nv-bento-img { position: relative; width: 100%; height: 100%; min-height: 140px; background: var(--nv-tile); overflow: hidden; }
.nv-bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.nv-bento-card:hover .nv-bento-img img { transform: scale(1.06); }
.nv-bento-body { padding: 1rem; }
.nv-bento-body h3 { font-size: 0.95rem; color: var(--nv-ink); margin: 0; }
.nv-bento-lg .nv-bento-body h3 { font-size: 1.15rem; }
.nv-bento-body a { color: var(--nv-ink); }

.nv-corner-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--nv-accent, var(--nv-purple));
  color: #fff;
  font-family: var(--nv-font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

@media (max-width: 991.98px) {
  .nv-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .nv-bento-lg { grid-column: span 2; grid-row: span 1; }
  .nv-bento-wide { grid-column: span 2; }
}
@media (max-width: 575.98px) {
  .nv-bento-grid { grid-template-columns: 1fr; }
  .nv-bento-lg, .nv-bento-wide { grid-column: span 1; }
}

/* ---- Category tiles --------------------------------------------------------------- */

.nv-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.nv-cat-tile {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  border-radius: var(--nv-radius);
  overflow: hidden;
  border: 2px solid transparent;
  background: linear-gradient(var(--nv-surface), var(--nv-surface)) padding-box,
              var(--nv-gradient) border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nv-cat-tile:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow); }
.nv-cat-tile-img { position: absolute; inset: 2px; border-radius: calc(var(--nv-radius) - 2px); overflow: hidden; background: var(--nv-tile); }
.nv-cat-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.nv-cat-tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 2px;
  padding: 0.75rem;
  background: rgba(26, 21, 35, 0.6);
  color: #fff;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 0 0 calc(var(--nv-radius) - 2px) calc(var(--nv-radius) - 2px);
}

@media (max-width: 991.98px) {
  .nv-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .nv-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Guide cards -------------------------------------------------------------------- */

.nv-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nv-guide-card {
  display: block;
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  overflow: hidden;
  box-shadow: var(--nv-shadow-sm);
  border-top: 4px solid var(--nv-accent, var(--nv-purple));
  color: var(--nv-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nv-guide-card:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow); }
.nv-guide-img { position: relative; aspect-ratio: 4/3; background: var(--nv-tile); overflow: hidden; }
.nv-guide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.nv-guide-card:hover .nv-guide-img img { transform: scale(1.05); }
.nv-guide-body { padding: 1.25rem; }
.nv-guide-body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }

@media (max-width: 991.98px) {
  .nv-guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .nv-guide-grid { grid-template-columns: 1fr; }
}

/* ---- Blog grid -------------------------------------------------------------------------- */

.nv-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nv-blog-card {
  display: block;
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  overflow: hidden;
  box-shadow: var(--nv-shadow-sm);
  color: var(--nv-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nv-blog-card:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow); }
.nv-blog-img { position: relative; aspect-ratio: 16/10; background: var(--nv-tile); overflow: hidden; }
.nv-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.nv-blog-card:hover .nv-blog-img img { transform: scale(1.05); }
.nv-blog-body { padding: 1.25rem; }
.nv-blog-body h3 { font-size: 1.02rem; margin: 0.4rem 0 0.5rem; color: var(--nv-ink); }
.nv-blog-body p { font-size: 0.88rem; color: var(--nv-muted); margin: 0; }
.nv-post-meta { font-family: var(--nv-font-display); font-size: 0.72rem; font-weight: 600; color: var(--nv-muted); }

@media (max-width: 991.98px) {
  .nv-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .nv-blog-grid { grid-template-columns: 1fr; }
}

/* ---- Tag pills -------------------------------------------------------------------------- */

.nv-tag-pill {
  display: inline-block;
  background: var(--nv-accent, var(--nv-purple));
  color: #fff;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.nv-tag-pill-static { display: inline-block; margin-bottom: 1rem; }

/* Positioned on blog card images */
.nv-blog-img .nv-tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0;
}

/* ---- Closing CTA -------------------------------------------------------------------------- */

.nv-cta {
  background: var(--nv-gradient);
  padding: 4.5rem 0;
  text-align: center;
}
.nv-cta-inner { max-width: 620px; margin: 0 auto; }
.nv-cta-title { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.nv-cta-lead { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.nv-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---- Guide page: signal-bar rating, quick list, review panels -------------------------------- */

.nv-guide-hero { padding: 3.5rem 0 1.5rem; }
.nv-guide-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.1; }
.nv-lead-intro { font-size: 1.08rem; color: var(--nv-muted); line-height: 1.8; max-width: 760px; }

.nv-post-meta-row {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-family: var(--nv-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nv-muted);
  margin-bottom: 1rem;
}
.nv-post-meta-row i { color: var(--nv-purple); margin-right: 0.35rem; }

.nv-article-hero { border-radius: var(--nv-radius-lg); overflow: hidden; }
.nv-article-hero img { width: 100%; max-height: 440px; object-fit: cover; }
.nv-article-title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }

/* Quick list panel */

.nv-quick-panel { background: var(--nv-tile); border-radius: var(--nv-radius-lg); padding: 2rem; }
.nv-quick-panel h2 { margin: 0; }
.nv-quick-panel-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; }
.nv-quick-panel-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--nv-gradient); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

.nv-quick-grid { display: grid; grid-template-columns: repeat(var(--nv-cols, 3), 1fr); gap: 1.25rem; }

.nv-quick-card {
  position: relative;
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--nv-accent, var(--nv-purple));
}
.nv-quick-card.nv-is-winner { box-shadow: 0 0 0 2px var(--nv-accent, var(--nv-purple)); }

.nv-winner-pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nv-gradient);
  color: #fff;
  font-family: var(--nv-font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--nv-shadow-sm);
}

.nv-quick-thumb { width: 110px; height: 110px; margin: 0.5rem auto 0.75rem; }
.nv-quick-thumb img { width: 100%; height: 100%; object-fit: contain; }

.nv-quick-name { font-size: 1rem; margin-bottom: 0.6rem; }
.nv-quick-name a { color: var(--nv-ink); }

.nv-quick-actions { margin-top: 1rem; }
.nv-quick-actions .nv-btn { margin-bottom: 0.6rem; }
.nv-read-more {
  display: block;
  font-family: var(--nv-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nv-purple);
}

/* Signal-bar rating (signature element) */

.nv-signal-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 26px;
  margin: 0 auto 0.75rem;
}
.nv-signal-bars-inline { justify-content: flex-start; margin: 0.5rem 0 0; }
.nv-signal-bar {
  display: inline-block;
  width: 7px;
  background: var(--nv-hairline);
  border-radius: 2px;
}
.nv-signal-bar-1 { height: 30%; }
.nv-signal-bar-2 { height: 48%; }
.nv-signal-bar-3 { height: 64%; }
.nv-signal-bar-4 { height: 82%; }
.nv-signal-bar-5 { height: 100%; }
.nv-signal-bar-filled { background: var(--nv-gradient); }
.nv-signal-value {
  font-family: var(--nv-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nv-ink);
  margin-left: 0.5rem;
  align-self: center;
}

.nv-price-tag {
  font-family: var(--nv-font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--nv-ink);
  margin-bottom: 0.6rem;
}

/* Full review panels */

.nv-review-panel {
  position: relative;
  background: var(--nv-surface);
  border-radius: var(--nv-radius-lg);
  overflow: hidden;
  box-shadow: var(--nv-shadow-sm);
  margin-bottom: 1.5rem;
}
.nv-review-panel.nv-is-winner { box-shadow: 0 0 0 2px var(--nv-purple); }
.nv-review-panel-flag {
  background: var(--nv-gradient);
  color: #fff;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
}
.nv-review-panel-body { padding: 2rem; }
.nv-review-grid { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.nv-review-img-col { text-align: center; }
.nv-review-img { width: 100%; max-height: 220px; object-fit: contain; }

.nv-review-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.nv-review-name { font-size: 1.35rem; margin-bottom: 0; }
.nv-review-index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--nv-gradient); color: #fff;
  font-size: 0.8rem; margin-right: 0.4rem;
}

.nv-review-verdict { line-height: 1.8; color: var(--nv-ink); opacity: 0.85; }

.nv-pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1rem; }
.nv-pros-cons-grid ul { display: flex; flex-direction: column; gap: 0.4rem; }
.nv-pros-cons-grid li { font-size: 0.9rem; padding-left: 1.1rem; position: relative; }
.nv-pros-cons-grid li::before { content: "-"; position: absolute; left: 0; color: var(--nv-muted); }
.nv-pros-heading, .nv-cons-heading {
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}
.nv-pros-heading { color: var(--nv-deep-purple); }
.nv-cons-heading { color: var(--nv-red); }
@media (max-width: 575.98px) {
  .nv-pros-cons-grid { grid-template-columns: 1fr; }
}

.nv-specs-block { border-top: 1px solid var(--nv-hairline); margin-top: 1.25rem; padding-top: 1.25rem; }
.nv-specs-toggle {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--nv-ink);
  display: flex; align-items: center; gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.nv-specs-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.nv-specs-table tr + tr { border-top: 1px solid var(--nv-hairline); }
.nv-specs-table th { text-align: left; font-weight: 600; padding: 0.55rem 1rem 0.55rem 0; width: 40%; white-space: nowrap; }
.nv-specs-table td { padding: 0.55rem 0; }

.nv-review-links-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; border-top: 1px solid var(--nv-hairline); margin-top: 1.25rem; padding-top: 1.25rem; }

@media (max-width: 767.98px) {
  .nv-review-grid { grid-template-columns: 1fr; }
  .nv-quick-grid { grid-template-columns: 1fr !important; }
}

/* ---- FAQ accordion (custom) ------------------------------------------------------------------- */

.nv-accordion-item {
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  overflow: hidden;
  box-shadow: var(--nv-shadow-sm);
  margin-bottom: 0.75rem;
}
.nv-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--nv-ink);
}
.nv-accordion-btn i { transition: transform 0.2s ease; color: var(--nv-purple); }
.nv-accordion-btn:not(.collapsed) i { transform: rotate(180deg); }
.nv-accordion-btn:not(.collapsed) { background: var(--nv-tile); }
.nv-accordion-body { padding: 0 1.4rem 1.25rem; color: var(--nv-ink); opacity: 0.85; line-height: 1.75; }

.nv-conclusion-panel {
  background: var(--nv-gradient);
  border-radius: var(--nv-radius-lg);
  padding: 2.5rem;
  color: #fff;
}
.nv-conclusion-panel h2 { color: #fff; }
.nv-conclusion-panel p { color: rgba(255,255,255,0.9); line-height: 1.8; margin: 0; }

/* ---- Pagination ------------------------------------------------------------------------------- */

.nv-pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem; flex-wrap: wrap; }
.nv-page-link {
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--nv-radius-sm);
  color: var(--nv-ink);
}
.nv-page-link.nv-active { background: var(--nv-gradient); color: #fff; }
.nv-page-link.nv-disabled { color: var(--nv-muted); pointer-events: none; }

/* ---- Shop pages ------------------------------------------------------------------------------- */

.nv-shop-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nv-shop-cat-card {
  display: block;
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  overflow: hidden;
  box-shadow: var(--nv-shadow-sm);
  text-align: center;
  color: var(--nv-ink);
  border-top: 4px solid var(--nv-accent, var(--nv-purple));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nv-shop-cat-card:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow); }
.nv-shop-cat-img { aspect-ratio: 4/3; background: var(--nv-tile); overflow: hidden; }
.nv-shop-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.nv-shop-cat-body { padding: 1.5rem; }
.nv-shop-cat-body h3 { font-size: 1.05rem; margin-bottom: 1rem; }

@media (max-width: 767.98px) {
  .nv-shop-cat-grid { grid-template-columns: 1fr; }
}

.nv-empty-state { grid-column: 1 / -1; text-align: center; color: var(--nv-muted); padding: 2rem; }

.nv-product-tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.nv-product-tile {
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  overflow: hidden;
  box-shadow: var(--nv-shadow-sm);
  border-top: 4px solid var(--nv-accent, var(--nv-purple));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nv-product-tile:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow); }
.nv-product-tile-img-link { display: block; }
.nv-product-tile-img { position: relative; aspect-ratio: 1/1; background: var(--nv-tile); overflow: hidden; }
.nv-product-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.nv-product-tile:hover .nv-product-tile-img img { transform: scale(1.05); }
.nv-product-tile-body { padding: 1rem; }
.nv-product-tile-body h3 { font-size: 0.95rem; color: var(--nv-ink); margin: 0; }
.nv-product-tile-body a { color: var(--nv-ink); }

@media (max-width: 767.98px) {
  .nv-product-tile-grid { grid-template-columns: repeat(2, 1fr); }
}

.nv-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.nv-product-hero-img { background: var(--nv-tile); border-radius: var(--nv-radius); overflow: hidden; }
.nv-product-hero-img img { width: 100%; object-fit: contain; }
@media (max-width: 767.98px) {
  .nv-product-grid { grid-template-columns: 1fr; }
}

/* ---- Contact page ------------------------------------------------------------------------------ */

.nv-contact-row { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.nv-contact-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--nv-tile);
  color: var(--nv-purple);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nv-contact-row h5 { font-size: 0.8rem; letter-spacing: 0.03em; margin-bottom: 0.25rem; }
.nv-contact-row p { margin: 0; }

.nv-policy-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; color: var(--nv-muted); font-size: 0.9rem; margin-top: 1rem; }

/* ---- Links page --------------------------------------------------------------------------------- */

.nv-link-item { margin-bottom: 0.85rem; }
.nv-link-anchor { display: block; }
.nv-link-card {
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--nv-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nv-link-anchor:hover .nv-link-card { transform: translateY(-2px); box-shadow: var(--nv-shadow); }
.nv-link-icon { width: 30px; height: 30px; object-fit: contain; }
.nv-link-label { color: var(--nv-ink); font-weight: 600; }
.nv-link-label-center { width: 100%; text-align: center; }

/* ---- Search modal (custom) ------------------------------------------------------------------------ */

.nv-modal-dialog { position: relative; max-width: 620px; margin: 8vh auto 0; padding: 0 1rem; z-index: 1055; }
.nv-modal-content {
  background: var(--nv-surface);
  border-radius: var(--nv-radius-lg);
  box-shadow: var(--nv-shadow-lg);
  padding: 2rem;
  position: relative;
}
.nv-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--nv-muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.nv-modal-close:hover { color: var(--nv-ink); }
.nv-modal-eyebrow {
  font-family: var(--nv-font-display);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--nv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.nv-modal-form { margin-top: 1rem; }

.nv-input-group { display: flex; align-items: center; gap: 0.5rem; background: var(--nv-tile); border: 1px solid var(--nv-hairline); border-radius: var(--nv-radius-sm); padding: 0.3rem 0.3rem 0.3rem 1rem; }
.nv-input-group input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--nv-ink);
  font-family: var(--nv-font-body);
  font-size: 0.95rem;
  padding: 0.6rem 0;
}
.nv-input-group input::placeholder { color: var(--nv-muted); }
.nv-input-group button {
  background: var(--nv-gradient);
  border: none;
  color: #fff;
  border-radius: var(--nv-radius-sm);
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}
.nv-input-icon { color: var(--nv-muted); }
.nv-input-group-lg input { font-size: 1.05rem; }

/* ---- Footer -------------------------------------------------------------------------------------- */

.nv-footer { background: var(--nv-ink); color: rgba(255,255,255,0.85); }
.nv-footer-top { padding: 3.5rem 0; }
.nv-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.nv-footer-logo {
  display: inline-block;
  font-family: var(--nv-font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.6rem;
}
.nv-footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.25rem; }
.nv-footer-heading {
  font-family: var(--nv-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--nv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.nv-footer-list li { margin-bottom: 0.6rem; color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.nv-footer-list a { color: rgba(255,255,255,0.65); }
.nv-footer-list a:hover { color: #fff; }
.nv-footer-text { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.nv-footer-bottom { background: rgba(0,0,0,0.25); padding: 1.1rem 0; }
.nv-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.nv-copyright { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.nv-legal { margin: 0; display: flex; gap: 1.25rem; }
.nv-legal a { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.nv-legal a:hover { color: #fff; }

@media (max-width: 991.98px) {
  .nv-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .nv-footer-grid { grid-template-columns: 1fr; }
  .nv-footer-bottom-inner { flex-direction: column; text-align: center; }
}
