/* ==========================================================================
   NGS EXPORT — Public Site Stylesheet
   Strict Design Rule: ZERO Shadows, ZERO Borders — Pure Tonal Layering
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  border: 0 solid transparent;
  box-shadow: none;
  text-shadow: none;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  outline: none;
}

.ngs-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.ngs-h1, .ngs-h2, h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.ngs-h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
}

.ngs-h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.18;
  font-weight: 700;
}

.ngs-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  margin-bottom: 8px;
}

.ngs-lead {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 660px;
}

.ngs-pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

/* ==========================================================================
   Buttons & Inputs (Zero Border, Zero Shadow, Tonal Hover)
   ========================================================================== */
.ngs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.15s var(--ease);
}
.ngs-btn svg { width: 16px; height: 16px; flex: none; }
.ngs-btn:active { transform: scale(0.98); }

.ngs-btn-lg { padding: 13px 24px; font-size: 14.5px; }
.ngs-btn-sm { padding: 8px 14px; font-size: 13px; }
.ngs-btn-block { width: 100%; }

.ngs-btn-primary { background: var(--accent); color: var(--accent-fg); }
.ngs-btn-primary:hover { background: var(--accent-hover); }

.ngs-btn-tonal { background: var(--surface-2); color: var(--text-primary); }
.ngs-btn-tonal:hover { background: var(--surface-3); }

.ngs-btn-surface-inv { background: var(--surface-inverse-2); color: var(--text-inverse); }
.ngs-btn-surface-inv:hover { background: var(--accent); }

.ngs-btn-wa { background: var(--wa-bg); color: #FFFFFF; }
.ngs-btn-wa:hover { background: var(--wa-bg-hover); }

.ngs-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--surface-1);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.16s var(--ease);
}
.ngs-icon-btn:hover { background: var(--surface-2); }
.ngs-icon-btn svg { width: 18px; height: 18px; flex: none; }

.ngs-kbd-hint {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: var(--r-xs);
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--surface-2);
  color: var(--text-primary);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 14px;
  transition: background-color 0.18s var(--ease);
}
@media (max-width: 1024px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]),
  select,
  textarea {
    font-size: 16px;
  }
}
input:hover, select:hover, textarea:hover { background: var(--surface-3); }
input:focus, select:focus, textarea:focus { background: var(--surface-3); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }

.ngs-select-wrap {
  position: relative;
  width: 100%;
}
.ngs-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}
.ngs-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

/* ==========================================================================
   Header & Mobile Drawer
   ========================================================================== */
.ngs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--header-bg);
}

.ngs-header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ngs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.ngs-brand-emblem {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.ngs-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ngs-brand-text strong {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}
.ngs-brand-inverse .ngs-brand-text strong { color: var(--text-inverse); }

.ngs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-1);
  padding: 4px;
  border-radius: var(--r-pill);
}
.ngs-nav-link {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.ngs-nav-link:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}
.ngs-nav-link.active {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.ngs-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ngs-theme-toggle .ngs-ico-sun { display: none; }
.ngs-theme-toggle .ngs-ico-moon { display: block; }
html[data-theme="dark"] .ngs-theme-toggle .ngs-ico-sun { display: block; }
html[data-theme="dark"] .ngs-theme-toggle .ngs-ico-moon { display: none; }

.ngs-mobile-menu-btn { display: none; }

.ngs-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-canvas);
  display: flex;
  flex-direction: column;
  padding: 18px 24px 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.ngs-mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.ngs-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ngs-mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}
.ngs-mobile-nav-link {
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--surface-1);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.ngs-mobile-nav-link.active {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.ngs-mobile-drawer-foot {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

@media (max-width: 1080px) {
  .ngs-nav { display: none; }
  .ngs-kbd-hint { display: none; }
  .ngs-header-cta { display: none; }
  .ngs-mobile-menu-btn { display: inline-flex; }
}

/* ==========================================================================
   Hero & Quick Search
   ========================================================================== */
.ngs-hero {
  padding: 36px 0 40px;
}
.ngs-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.ngs-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin: 14px 0 24px;
  max-width: 560px;
}
.ngs-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.ngs-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.ngs-metric-tile {
  background: var(--surface-1);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.ngs-metric-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.ngs-metric-tile span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.ngs-hero-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-1);
  aspect-ratio: 16 / 10;
}
.ngs-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s var(--ease);
}
.ngs-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.ngs-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ngs-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(9, 12, 18, 0.44);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.85;
  transition: background-color 0.18s var(--ease), opacity 0.18s var(--ease);
}
.ngs-hero-nav:hover { background: rgba(9, 12, 18, 0.72); opacity: 1; }
.ngs-hero-nav.prev { left: 14px; }
.ngs-hero-nav.next { right: 14px; }
.ngs-hero-nav svg { width: 18px; height: 18px; }

.ngs-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(9, 12, 18, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ngs-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.22s var(--ease), background-color 0.22s var(--ease);
}
.ngs-hero-dot.active {
  width: 22px;
  background: #FFFFFF;
}

.ngs-quick-search {
  margin-top: 28px;
  background: var(--surface-1);
  border-radius: var(--r-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}
.ngs-qs-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.ngs-qs-submit {
  height: 44px;
  border-radius: var(--r-md);
  padding: 0 22px;
}

@media (max-width: 1024px) {
  .ngs-hero-grid { grid-template-columns: 1fr; }
  .ngs-quick-search { grid-template-columns: 1fr 1fr; }
  .ngs-qs-submit { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ngs-hero { padding: 20px 0 32px; }
  .ngs-hero-grid { gap: 20px; }
  .ngs-hero-visual { order: -1; }
  .ngs-hero-metrics { display: none; }
}
@media (max-width: 600px) {
  .ngs-quick-search { grid-template-columns: 1fr; }
  .ngs-hero-nav { width: 34px; height: 34px; }
  .ngs-hero-nav.prev { left: 10px; }
  .ngs-hero-nav.next { right: 10px; }
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.ngs-section {
  padding: 44px 0;
}
.ngs-section-compact { padding: 28px 0 44px; }
.ngs-section-tonal { background: var(--surface-1); }

.ngs-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ngs-section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .ngs-carousel-prev,
  .ngs-carousel-next {
    display: none;
  }
  .ngs-section-head-cat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
  }
  .ngs-section-head-cat .ngs-section-title {
    display: contents;
  }
  .ngs-section-head-cat .ngs-eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 2px;
  }
  .ngs-section-head-cat .ngs-h2 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    min-width: 0;
  }
  .ngs-section-head-cat .ngs-section-actions {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    flex: none;
  }
  .ngs-section-head-cat .ngs-section-actions .ngs-btn {
    padding: 8px 14px;
    min-height: 36px;
    font-size: 13px;
    white-space: nowrap;
  }
  .ngs-section-head-cat .ngs-lead {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 4px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   Sector Categories Grid (Clean Editorial Cards — Uncluttered & Balanced)
   ========================================================================== */
.ngs-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ngs-bento-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-1);
  transition: background-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.ngs-bento-card:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}
.ngs-bento-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.ngs-bento-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.ngs-bento-card:hover .ngs-bento-bg { transform: scale(1.04); }
.ngs-bento-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  min-width: 0;
  flex: 1;
}
.ngs-bento-text {
  min-width: 0;
}
.ngs-bento-text h3 {
  color: var(--text-primary);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 3px;
}
.ngs-bento-text p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}
.ngs-bento-arrow {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-canvas);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.ngs-bento-arrow svg { width: 15px; height: 15px; }
.ngs-bento-card:hover .ngs-bento-arrow {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateX(2px);
}

@media (max-width: 1024px) {
  .ngs-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 600px) {
  .ngs-bento-grid { grid-template-columns: 1fr; gap: 10px; }
  .ngs-bento-card { flex-direction: row; align-items: stretch; border-radius: var(--r-md); }
  .ngs-bento-card:hover { transform: none; }
  .ngs-bento-media { flex: 0 0 118px; aspect-ratio: auto; min-height: 82px; }
  .ngs-bento-content { padding: 12px 14px; }
  .ngs-bento-text h3 { font-size: 15px; }
  .ngs-bento-text p { font-size: 12.5px; }
  .ngs-bento-arrow { width: 32px; height: 32px; }
}

/* ==========================================================================
   Unified Vehicle Card & Carousel (Zero Border, Zero Shadow)
   ========================================================================== */
.ngs-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.ngs-carousel-track::-webkit-scrollbar { display: none; }

.ngs-carousel-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 991px) {
  .ngs-carousel-slide { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 640px) {
  .ngs-carousel-slide { flex: 0 0 84%; }
}

.ngs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface-1);
  overflow: hidden;
  transition: background-color 0.2s var(--ease);
}
.ngs-card:hover { background: var(--surface-2); }

.ngs-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ngs-card-media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--surface-2);
}
.ngs-card-image-wrap {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: var(--surface-2);
}
.ngs-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.45s var(--ease);
}
.ngs-card-img.is-loaded { opacity: 1; }
.ngs-card:hover .ngs-card-img { transform: scale(1.035); }

.ngs-card-floating-badge,
.ngs-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
}
.ngs-card-floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}
.ngs-card-floating-badge .dot,
.ngs-pill-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.ngs-card-floating-badge.instock { background: #DCFCE7; color: #15803D; }
.ngs-card-floating-badge.sold { background: #FEE2E2; color: #B91C1C; }
.ngs-card-floating-badge.order { background: #FEF3C7; color: #B45309; }
html[data-theme="dark"] .ngs-card-floating-badge.instock { background: #143322; color: #4ADE80; }
html[data-theme="dark"] .ngs-card-floating-badge.sold { background: #3B1219; color: #FCA5A5; }
html[data-theme="dark"] .ngs-card-floating-badge.order { background: #3A250A; color: #FCD34D; }
.ngs-pill-status.green { background: var(--green-bg); color: var(--green-fg); }
.ngs-pill-status.red { background: var(--red-bg); color: var(--red-fg); }
.ngs-pill-status.amber { background: var(--amber-bg); color: var(--amber-fg); }
.ngs-pill-status.muted { background: var(--surface-2); color: var(--text-muted); }

.ngs-card-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ngs-card-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.ngs-card-brand {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.ngs-card-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ngs-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}
.ngs-card-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.ngs-spec-chip {
  padding: 4px 10px;
  border-radius: var(--r-xs);
  background: var(--bg-canvas);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
}

.ngs-compare-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(9, 12, 18, 0.72);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s var(--ease);
}
.ngs-compare-toggle svg { width: 13px; height: 13px; }
.ngs-compare-toggle:hover,
.ngs-compare-toggle.active {
  background: var(--accent);
}

/* List Mode on Catalog */
.ngs-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ngs-catalog-grid.list-view {
  grid-template-columns: 1fr;
}
.ngs-catalog-grid.list-view .ngs-card-inner {
  flex-direction: row;
  align-items: stretch;
}
.ngs-catalog-grid.list-view .ngs-card-media-wrap {
  flex: 0 0 320px;
  max-width: 320px;
}
.ngs-catalog-grid.list-view .ngs-card-image-wrap {
  height: 100%;
  aspect-ratio: 16 / 10;
}
.ngs-catalog-grid.list-view .ngs-card-content {
  min-width: 0;
  padding: 18px 20px;
}
.ngs-catalog-grid.list-view .ngs-compare-toggle {
  top: auto;
  bottom: 12px;
  left: 12px;
  right: auto;
}
@media (max-width: 991px) {
  .ngs-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ngs-catalog-grid.list-view { grid-template-columns: 1fr; }
  .ngs-catalog-grid.list-view .ngs-card-media-wrap { flex: 0 0 240px; max-width: 240px; }
}
@media (max-width: 640px) {
  .ngs-catalog-grid { grid-template-columns: 1fr; }
  .ngs-catalog-grid.list-view { gap: 12px; }
  .ngs-catalog-grid.list-view .ngs-card-inner { flex-direction: row; align-items: stretch; }
  .ngs-catalog-grid.list-view .ngs-card-media-wrap { flex: 0 0 124px; max-width: 124px; min-height: 112px; }
  .ngs-catalog-grid.list-view .ngs-card-image-wrap { height: 100%; min-height: 112px; aspect-ratio: 4 / 3; }
  .ngs-catalog-grid.list-view .ngs-card-floating-badge { top: 6px; left: 6px; padding: 3px 7px; font-size: 10px; gap: 4px; }
  .ngs-catalog-grid.list-view .ngs-compare-toggle { top: auto; bottom: 6px; left: 6px; right: auto; padding: 3px 7px; font-size: 10px; gap: 4px; }
  .ngs-catalog-grid.list-view .ngs-compare-toggle svg { width: 11px; height: 11px; }
  .ngs-catalog-grid.list-view .ngs-card-content { padding: 10px 12px; gap: 4px; }
  .ngs-catalog-grid.list-view .ngs-card-top-row { flex-wrap: wrap; gap: 2px 8px; }
  .ngs-catalog-grid.list-view .ngs-card-brand { font-size: 10px; }
  .ngs-catalog-grid.list-view .ngs-card-price { font-size: 14.5px; }
  .ngs-catalog-grid.list-view .ngs-card-title { font-size: 13.5px; line-height: 1.28; overflow-wrap: anywhere; }
  .ngs-catalog-grid.list-view .ngs-card-specs-list { gap: 4px; padding-top: 2px; }
  .ngs-catalog-grid.list-view .ngs-spec-chip { padding: 2px 7px; font-size: 10.5px; }
}
@media (max-width: 380px) {
  .ngs-catalog-grid.list-view .ngs-card-media-wrap { flex: 0 0 104px; max-width: 104px; }
}

/* ==========================================================================
   Feature, Process, Brand Pills, FAQ & CTA Banner
   ========================================================================== */
.ngs-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ngs-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ngs-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

@media (max-width: 1024px) {
  .ngs-grid-4, .ngs-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ngs-grid-4, .ngs-grid-3, .ngs-grid-2 { grid-template-columns: 1fr; }
}

.ngs-feature-card,
.ngs-process-card,
.ngs-tier-card {
  background: var(--bg-canvas);
  border-radius: var(--r-lg);
  padding: 24px;
}
.ngs-section:not(.ngs-section-tonal) .ngs-feature-card,
.ngs-section:not(.ngs-section-tonal) .ngs-process-card {
  background: var(--surface-1);
}
.ngs-feature-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.ngs-feature-card h3,
.ngs-process-card h3,
.ngs-tier-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.ngs-feature-card p,
.ngs-process-card p,
.ngs-tier-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.ngs-step-badge,
.ngs-process-num {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ngs-tier-featured { background: var(--surface-inverse); color: var(--text-inverse); }
.ngs-tier-featured h3 { color: var(--text-inverse); }
.ngs-tier-featured p { color: var(--text-inverse-muted); }
.ngs-check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.ngs-check-list li {
  padding-left: 18px;
  position: relative;
}
.ngs-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.ngs-brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ngs-brand-pill {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--surface-1);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.ngs-brand-pill:hover {
  background: var(--accent);
  color: #FFFFFF;
}

/* FAQ */
.ngs-faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .ngs-faq-layout { grid-template-columns: 1fr; } }

.ngs-faq-list { display: grid; gap: 10px; }
.ngs-faq-item {
  background: var(--surface-1);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.ngs-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.ngs-faq-item summary::-webkit-details-marker { display: none; }
.ngs-faq-item summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease);
}
.ngs-faq-item[open] summary svg { transform: rotate(180deg); color: var(--accent-text); }
.ngs-faq-item p { margin: 12px 0 0; font-size: 14px; color: var(--text-muted); }

/* CTA Banner */
.ngs-cta-banner {
  background: var(--surface-inverse);
  color: var(--text-inverse);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ngs-cta-banner .ngs-h2 { color: #FFFFFF; }
.ngs-cta-banner p { color: var(--text-inverse-muted); margin: 8px 0 0; }
.ngs-cta-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Page Header, Catalog Controls & Filter Panel
   ========================================================================== */
.ngs-page-header {
  padding: 28px 0 24px;
  background: var(--surface-1);
}
.ngs-catalog-header {
  padding: 18px 0 16px;
}
.ngs-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.ngs-catalog-header .ngs-breadcrumb {
  margin-bottom: 6px;
  font-size: 12.5px;
}
.ngs-breadcrumb a:hover { color: var(--accent-text); }

.ngs-page-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ngs-catalog-header .ngs-page-header-row {
  align-items: center;
  gap: 12px;
}
.ngs-catalog-header .ngs-h1 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
}
.ngs-count-pill {
  background: var(--bg-canvas);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.ngs-catalog-header .ngs-count-pill {
  background: var(--surface-2);
  padding: 5px 12px;
  font-size: 13px;
  white-space: nowrap;
}
.ngs-count-pill strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.ngs-catalog-header .ngs-count-pill strong {
  font-size: 14.5px;
}
.ngs-catalog-section {
  padding: 24px 0 44px;
}
@media (max-width: 640px) {
  .ngs-catalog-header { padding: 14px 0; }
  .ngs-catalog-section { padding: 18px 0 36px; }
}

.ngs-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ngs-toolbar-search {
  position: relative;
  flex: 1 1 320px;
}
.ngs-toolbar-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
}
.ngs-toolbar-search input {
  padding-left: 42px;
  background: var(--surface-1);
}
.ngs-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ngs-sort-wrap { min-width: 190px; width: auto; }
.ngs-sort-wrap select { background: var(--surface-1); padding: 10px 36px 10px 14px; }

.ngs-badge-dot {
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-pill);
}

.ngs-view-switch {
  display: inline-flex;
  flex: none;
  background: var(--surface-1);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}
@media (max-width: 640px) {
  .ngs-toolbar-controls { width: 100%; gap: 8px; }
  .ngs-sort-wrap { flex: 1 1 170px; min-width: 170px; }
  .ngs-sort-wrap select { padding: 10px 30px 10px 12px; font-size: 16px; }
}
.ngs-view-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  cursor: pointer;
}
.ngs-view-btn svg { width: 16px; height: 16px; }
.ngs-view-btn.active { background: var(--accent); color: #FFFFFF; }

/* Slide-over Filter Modal ("comme avant", sans bordure ni ombre) */
.ngs-filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--scrim);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  justify-content: flex-end;
}
.ngs-filter-backdrop.open { display: flex; }

@keyframes ngsSlideDrawer {
  from { transform: translateX(36px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}
.ngs-filter-drawer {
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--bg-canvas);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ngsSlideDrawer 0.22s var(--ease);
}
@media (max-width: 767px) {
  .ngs-filter-drawer { max-width: 100%; }
}

.ngs-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--surface-1);
  flex: none;
}
.ngs-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.ngs-drawer-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--accent);
}
.ngs-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ngs-drawer-head .ngs-icon-btn { background: var(--surface-2); }
.ngs-drawer-head .ngs-icon-btn:hover { background: var(--surface-3); }
.ngs-drawer-reset {
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.ngs-drawer-reset:hover {
  background: var(--surface-2);
  color: var(--accent-text);
}

.ngs-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ngs-drawer-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ngs-drawer-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ngs-drawer-foot {
  padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--surface-1);
  flex: none;
}
.ngs-drawer-submit {
  width: 100%;
  justify-content: center;
}

.ngs-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ngs-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.ngs-catalog-footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ngs-load-meta { margin: 0; font-size: 13.5px; color: var(--text-muted); }

.ngs-empty-state {
  grid-column: 1 / -1;
  background: var(--surface-1);
  border-radius: var(--r-lg);
  padding: 48px 24px;
  text-align: center;
}
.ngs-empty-state p { color: var(--text-muted); margin: 8px 0 20px; }

/* Compare Bar & Modal */
.ngs-compare-bar {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(920px, calc(100% - 32px));
  background: var(--surface-inverse);
  color: #FFFFFF;
  border-radius: var(--r-lg);
  padding: 10px 12px;
}
html[data-theme="dark"] .ngs-compare-bar {
  background: var(--surface-float);
}
.ngs-compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ngs-compare-items {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ngs-compare-items::-webkit-scrollbar { display: none; }
.ngs-compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 5px;
  border-radius: var(--r-sm);
  background: var(--surface-inverse-2);
  color: #F8FAFC;
  font-size: 12.5px;
  font-weight: 600;
  flex: 0 0 auto;
  max-width: 196px;
}
html[data-theme="dark"] .ngs-compare-chip {
  background: var(--surface-2);
  color: var(--text-primary);
}
.ngs-compare-chip-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
}
.ngs-compare-chip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.ngs-compare-chip-rm {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  display: inline-grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.ngs-compare-chip-rm svg { width: 11px; height: 11px; }
.ngs-compare-chip-rm:hover { background: rgba(255, 255, 255, 0.22); color: #FFFFFF; }
.ngs-compare-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
html[data-theme="dark"] .ngs-compare-bar .ngs-btn-surface-inv {
  background: var(--surface-2);
  color: var(--text-primary);
}
@media (max-width: 767px) {
  .ngs-compare-bar {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 20px);
    border-radius: var(--r-lg);
    padding: 10px;
  }
  .ngs-compare-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ngs-compare-items {
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .ngs-compare-chip {
    max-width: 176px;
    padding: 4px 6px 4px 4px;
    gap: 6px;
    font-size: 12px;
  }
  .ngs-compare-chip-img {
    width: 26px;
    height: 26px;
  }
  .ngs-compare-actions {
    width: 100%;
  }
  .ngs-compare-actions #ngsCompareClear {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 14px;
  }
  .ngs-compare-actions #ngsCompareOpen {
    flex: 1;
    justify-content: center;
    min-height: 38px;
  }
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.ngs-product-page { padding: 24px 0 60px; }
.ngs-preview-banner {
  background: var(--amber-bg);
  color: var(--amber-fg);
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin-bottom: 18px;
  font-size: 13.5px;
}

.ngs-product-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}
.ngs-product-hero-grid > * { min-width: 0; }
.ngs-gallery { min-width: 0; max-width: 100%; }
@media (max-width: 991px) {
  .ngs-product-hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.ngs-gallery-main {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-1);
  aspect-ratio: 16 / 10;
}
.ngs-gallery-img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.ngs-gallery-status { position: absolute; top: 16px; left: 16px; }
.ngs-gallery-counter {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(9, 12, 18, 0.72);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.ngs-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(9, 12, 18, 0.65);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ngs-gallery-arrow.prev { left: 14px; }
.ngs-gallery-arrow.next { right: 14px; }
.ngs-gallery-arrow svg { width: 18px; height: 18px; }
.ngs-gallery-expand {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(9, 12, 18, 0.65);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ngs-gallery-expand svg { width: 16px; height: 16px; }

.ngs-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.ngs-gallery-thumbs::-webkit-scrollbar { display: none; }
.ngs-thumb-btn {
  flex: 0 0 92px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  opacity: 0.62;
  cursor: pointer;
  background: var(--surface-1);
  padding: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.ngs-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.ngs-thumb-btn.active, .ngs-thumb-btn:hover { opacity: 1; transform: translateY(-2px); }

.ngs-product-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.ngs-summary-card {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: 26px;
}
.ngs-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ngs-ref-chip {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.ngs-product-title {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  margin: 6px 0 18px;
}
.ngs-price-block {
  background: var(--bg-canvas);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.ngs-price-label { display: block; font-size: 12px; color: var(--text-muted); }
.woocommerce-Price-amount { white-space: nowrap; }
.ngs-price-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ngs-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.ngs-highlight-tile {
  background: var(--bg-canvas);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
.ngs-highlight-tile span { display: block; font-size: 11px; color: var(--text-muted); }
.ngs-highlight-tile strong { font-size: 13.5px; color: var(--text-primary); }

.ngs-summary-actions { display: grid; gap: 10px; }
.ngs-direct-channels {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.ngs-channels-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.ngs-channels-grid {
  display: grid;
  gap: 8px;
}
.ngs-channel-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--bg-canvas);
  min-width: 0;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.ngs-channel-tile:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}
.ngs-channel-ico {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: grid;
  place-items: center;
}
.ngs-channel-tile.is-email .ngs-channel-ico {
  background: var(--surface-2);
  color: var(--text-primary);
}
.ngs-channel-ico svg { width: 16px; height: 16px; }
.ngs-channel-info { min-width: 0; flex: 1; }
.ngs-channel-info small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
}
.ngs-channel-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ngs-trust-mini {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}

/* Tabs */
.ngs-product-tabs-section { margin-top: 40px; }
.ngs-tabs-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--surface-1);
  padding: 6px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.ngs-tab-btn {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.ngs-tab-btn.active { background: var(--accent); color: #FFFFFF; }
@media (max-width: 767px) {
  .ngs-tabs-bar {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ngs-tabs-bar::-webkit-scrollbar { display: none; }
  .ngs-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 13px;
  }
}
.ngs-tab-panel { display: none; }
.ngs-tab-panel.active { display: block; }

.ngs-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 700px) { .ngs-specs-grid { grid-template-columns: 1fr; } }
.ngs-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.ngs-spec-row span { color: var(--text-muted); font-size: 13.5px; }
.ngs-spec-row strong { color: var(--text-primary); font-size: 14px; text-align: right; }

.ngs-prose {
  background: var(--surface-1);
  border-radius: var(--r-lg);
  padding: 26px;
  line-height: 1.7;
}

/* Quote & Contact Forms */
.ngs-quote-section {
  margin-top: 44px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.ngs-quote-card {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: 32px;
}
.ngs-quote-intro { margin-bottom: 22px; }
.ngs-quote-intro p { color: var(--text-muted); margin: 8px 0 0; }
.ngs-form { display: grid; gap: 16px; }
.ngs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 680px) { .ngs-form-row { grid-template-columns: 1fr; } }
.ngs-field span {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.ngs-field input, .ngs-field select, .ngs-field textarea {
  background: var(--bg-canvas);
}
.ngs-form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ngs-form-note { font-size: 13px; color: var(--text-muted); }
.ngs-form-feedback {
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
}
.ngs-form-feedback.ok { background: var(--green-bg); color: var(--green-fg); }
.ngs-form-feedback.err { background: var(--red-bg); color: var(--red-fg); }

/* Mobile Sticky Action Bar */
.ngs-mobile-sticky-bar { display: none; }
@media (max-width: 767px) {
  .ngs-product-page { padding-bottom: 104px; }
  .ngs-mobile-sticky-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 95;
    background: var(--surface-inverse);
    color: var(--text-inverse);
    border-radius: var(--r-lg);
    padding: 10px 12px 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  html[data-theme="dark"] .ngs-mobile-sticky-bar {
    background: var(--surface-float);
  }
  .ngs-msb-price { min-width: 0; }
  .ngs-msb-price > span {
    display: block;
    font-size: 10.5px;
    line-height: 1.2;
    color: var(--text-inverse-muted);
  }
  .ngs-msb-price strong {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    white-space: nowrap;
  }
  .ngs-msb-price strong span { display: inline; font-size: inherit; color: inherit; }
  .ngs-msb-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
  }
  .ngs-msb-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.16s var(--ease);
  }
  .ngs-msb-channel:hover { background: rgba(255, 255, 255, 0.24); }
  .ngs-msb-channel.is-icon { width: 38px; padding: 0; }
  .ngs-msb-channel.is-pill { padding: 0 13px; }
  .ngs-msb-channel svg { width: 16px; height: 16px; flex: none; }
  .ngs-msb-cta {
    height: 38px;
    padding: 0 14px;
    gap: 6px;
  }
  .ngs-msb-cta svg { width: 15px; height: 15px; flex: none; }
  .ngs-msb-cta.is-compact-wa { width: 38px; padding: 0; }
  .ngs-msb-cta.is-compact-wa .ngs-msb-cta-lbl { display: none; }
  .ngs-summary-card, .ngs-quote-card { padding: 20px; }
}

/* ==========================================================================
   Institutional Pages (Split Hero, Gallery, Contact, 404)
   ========================================================================== */
.ngs-split-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 900px) { .ngs-split-hero { grid-template-columns: 1fr; } }

.ngs-media-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
}
.ngs-media-frame img { width: 100%; height: 100%; object-fit: cover; }

.ngs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) { .ngs-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ngs-gallery-grid { grid-template-columns: 1fr; } }

.ngs-gallery-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-1);
  padding: 0;
  cursor: zoom-in;
  text-align: left;
}
.ngs-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.ngs-gallery-card:hover img { transform: scale(1.04); }
.ngs-gallery-card-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 12, 18, 0.85) 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
}

.ngs-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .ngs-contact-grid { grid-template-columns: 1fr; } }
.ngs-contact-cards { display: grid; gap: 12px; }
.ngs-contact-tile {
  background: var(--surface-1);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.ngs-contact-tile span {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.ngs-contact-tile a, .ngs-contact-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.ngs-contact-tile a:hover { color: var(--accent-text); }
.ngs-contact-tile small { display: block; margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.ngs-contact-wa { background: var(--wa-soft); }
.ngs-contact-wa a { color: var(--wa-fg); }

.ngs-404 { padding: 80px 0; }
.ngs-404-card {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: 56px 32px;
  text-align: center;
}
.ngs-404-card .ngs-lead { margin: 12px auto 24px; }
.ngs-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ==========================================================================
   Modals (Command Search, Compare, Lightbox) — Zero Border, Zero Shadow
   ========================================================================== */
.ngs-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--scrim);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease);
}
.ngs-modal-scrim.open { opacity: 1; pointer-events: auto; }

.ngs-cmd-dialog,
.ngs-compare-dialog {
  width: 100%;
  max-width: 680px;
  background: var(--surface-float);
  border-radius: var(--r-xl);
  overflow: hidden;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
}
.ngs-compare-dialog { max-width: 940px; }

.ngs-cmd-head, .ngs-compare-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface-float-alt);
}
.ngs-compare-head { justify-content: space-between; }
.ngs-cmd-head svg { width: 18px; height: 18px; color: var(--text-muted); flex: none; }
.ngs-cmd-head input {
  background: transparent;
  padding: 6px 0;
  font-size: 16px;
}
.ngs-cmd-results {
  padding: 14px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}
.ngs-cmd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.ngs-cmd-item:hover { background: var(--surface-2); }
.ngs-cmd-item img { width: 64px; height: 48px; border-radius: var(--r-xs); object-fit: cover; flex: none; }
.ngs-cmd-item-info { flex: 1; min-width: 0; }
.ngs-cmd-item-info strong { display: block; font-size: 14px; color: var(--text-primary); }
.ngs-cmd-item-info span { font-size: 12.5px; color: var(--text-muted); }
.ngs-cmd-item-price { font-family: var(--font-display); font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.ngs-cmd-empty { padding: 28px 16px; text-align: center; color: var(--text-muted); font-size: 14px; }

.ngs-compare-body { padding: 20px; overflow: auto; }
.ngs-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}
.ngs-compare-table th, .ngs-compare-table td {
  padding: 12px 14px;
  text-align: left;
  background: var(--surface-1);
  font-size: 13.5px;
}
.ngs-compare-table th {
  font-family: var(--font-display);
  color: var(--text-muted);
  width: 160px;
}
.ngs-compare-table tr td:first-child, .ngs-compare-table tr th:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.ngs-compare-table tr td:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.ngs-compare-th-car {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 700;
}
.ngs-compare-th-car img {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-xs);
}
@media (max-width: 767px) {
  .ngs-compare-dialog { max-height: 88dvh; }
  .ngs-compare-body { padding: 12px; -webkit-overflow-scrolling: touch; }
  .ngs-compare-table th, .ngs-compare-table td {
    padding: 10px 12px;
    font-size: 12.5px;
    min-width: 135px;
  }
  .ngs-compare-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: auto;
    min-width: 105px;
    background: var(--surface-2);
    color: var(--text-primary);
  }
}

/* Lightbox */
.ngs-lightbox { padding: 24px; }
.ngs-lb-stage {
  max-width: min(1100px, 90vw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ngs-lb-stage img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--r-lg);
  object-fit: contain;
}
.ngs-lb-counter { color: #FFFFFF; font-family: var(--font-display); font-size: 13px; }
.ngs-lb-close, .ngs-lb-nav {
  position: fixed;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ngs-lb-close { top: 20px; right: 20px; }
.ngs-lb-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.ngs-lb-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }
.ngs-lb-close svg, .ngs-lb-nav svg { width: 20px; height: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ngs-footer {
  background: var(--surface-inverse);
  color: var(--text-inverse-muted);
  padding: 56px 0 28px;
}
.ngs-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 32px;
}
@media (max-width: 960px) { .ngs-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ngs-footer-grid { grid-template-columns: 1fr; } }

.ngs-footer-pitch { margin: 14px 0 18px; font-size: 14px; line-height: 1.6; }
.ngs-footer-contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ngs-footer-chip {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-inverse-2);
  color: var(--text-inverse);
  font-size: 13px;
  font-weight: 500;
}
.ngs-footer-col h3 {
  color: var(--text-inverse);
  font-size: 15px;
  margin-bottom: 14px;
}
.ngs-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.ngs-footer-col a:hover { color: #FFFFFF; }
.ngs-footer-addr, .ngs-footer-hours { margin: 0 0 8px; font-size: 14px; }
.ngs-footer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.ngs-footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.ngs-footer-bottom-links { display: flex; gap: 18px; }
.ngs-footer-bottom-links a:hover { color: #FFFFFF; }
