/* RAJ Spices — design system (April 2025 archive aligned) */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap");

:root {
  --brand: #e32024;
  --brand-dark: #b9181c;
  --accent: #8bc34a;
  --accent-dark: #7baf42;
  --promo: #f57131;
  --text: #111111;
  --muted: #424242;
  --bg: #f8f6f3;
  --surface: #ffffff;
  --container: 1200px;
  --radius: 10px;
  --header-bar-h: calc(var(--logo-h-mobile) + 0.25rem);
  --logo-h-mobile: 78px;
  --logo-h-desktop: 98px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 3.5rem;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-z: 1000;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Stack transparent header above main (no top/left offsets on header) */
body.page-hero,
body.page-inner {
  display: grid;
  grid-template-areas:
    "stack"
    "footer";
}

body.page-hero > .site-header,
body.page-inner > .site-header,
body.page-hero > main,
body.page-inner > main {
  grid-area: stack;
}

body.page-hero > .site-footer,
body.page-inner > .site-footer {
  grid-area: footer;
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: var(--surface);
  padding: var(--space-1) var(--space-2);
  font-weight: 700;
}

.skip-link:focus { left: var(--space-2); top: var(--space-2); }

.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

/* Header — transparent overlay; relative + z-index stacks above main */
.site-header,
.site-header.site-header--overlay {
  position: relative;
  z-index: var(--header-z);
  width: 100%;
  align-self: start;
  justify-self: stretch;
  background: transparent;
  border: 0;
  box-shadow: none;
  isolation: isolate;
  pointer-events: none;
}

body.page-about .site-header,
body.page-products .site-header,
body.page-contact .site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}

body.page-about .site-header .logo img,
body.page-products .site-header .logo img,
body.page-contact .site-header .logo img {
  filter: none;
}

/* About / Products / Contact: header row, then main (hero not under header) */
body.page-hero.page-about,
body.page-hero.page-products,
body.page-hero.page-contact {
  grid-template-areas:
    "header"
    "main"
    "footer";
}

body.page-hero.page-about > .site-header,
body.page-hero.page-products > .site-header,
body.page-hero.page-contact > .site-header {
  grid-area: header;
}

body.page-hero.page-about > main,
body.page-hero.page-products > main,
body.page-hero.page-contact > main {
  grid-area: main;
}

body.page-hero.page-about > .site-footer,
body.page-hero.page-products > .site-footer,
body.page-hero.page-contact > .site-footer {
  grid-area: footer;
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

.site-header .logo,
.site-header .nav-toggle,
.site-header .site-nav {
  position: relative;
  z-index: calc(var(--header-z) + 1);
}

.site-header .container.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: unset;
  margin-block: 0;
  margin-inline: auto;
  padding: 0;
  gap: var(--space-2);
}

.logo {
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  width: auto;
  max-height: var(--logo-h-mobile);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.site-nav {
  display: none;
  z-index: calc(var(--header-z) + 50);
}

.site-nav a {
  display: block;
  padding: 0.75rem var(--space-1);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  text-shadow: none;
}

.site-nav a:hover {
  color: var(--brand);
  background: rgba(227, 32, 36, 0.08);
  text-decoration: none;
}

.site-nav a.active {
  color: var(--text);
  background: rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.site-nav a.nav-cart {
  color: var(--brand);
  font-weight: 700;
}

/* Mobile drawer nav — fixed only below this breakpoint */
@media (max-width: 767px) {
  body.page-hero:not(.nav-open) .site-header .site-nav {
    display: none;
  }

  body.nav-open .site-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-bar-h);
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    padding: var(--space-2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
  }

  .page-hero .site-header .site-nav a {
    color: var(--text);
  }
}

.page-hero .site-nav a.nav-cart {
  color: var(--text);
}

body.nav-open { overflow: hidden; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: rgba(139, 195, 74, 0.92);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--surface);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 768px) {
  :root {
    --header-bar-h: calc(var(--logo-h-desktop) + 0.25rem);
  }

  .logo img {
    max-height: var(--logo-h-desktop);
  }

  .nav-toggle { display: none; }
  body.nav-open { overflow: visible; }

  .site-header .site-nav {
    display: flex;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    box-shadow: none;
    gap: 0.15rem;
    background: transparent;
    backdrop-filter: none;
  }

  .site-nav a {
    padding: 0.45rem 0.85rem;
    font-size: 0.95rem;
  }

  .page-hero .site-header .site-nav a {
    color: var(--text);
    text-shadow: none;
  }

  .page-hero .site-header .site-nav a:hover {
    color: var(--brand);
    background: rgba(227, 32, 36, 0.08);
  }

  .page-hero .site-header .site-nav a.active {
    color: var(--text);
    background: rgba(0, 0, 0, 0.06);
  }

  .page-hero .site-header .site-nav a.nav-cart {
    color: var(--text);
    text-shadow: none;
  }

  .page-inner .site-header .site-nav a {
    color: var(--text);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
  }

  .page-inner .site-header .site-nav a:hover {
    color: var(--brand);
    background: rgba(227, 32, 36, 0.08);
  }

  .page-inner .site-header .site-nav a.active {
    color: var(--text);
    background: rgba(0, 0, 0, 0.06);
    text-shadow: none;
  }
}

/* Hero — full width; header overlays top edge */
.hero,
.hero--banner {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #1a1a1a;
  line-height: 0;
}

.hero-slides {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1366 / 620;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  position: relative;
}

@media (max-width: 767px) {
  .hero-slides { aspect-ratio: 16 / 10; }
}

.hero-banner {
  width: 100%;
  aspect-ratio: 1366 / 350;
  object-fit: cover;
}

.hero-banner--about {
  aspect-ratio: 1200 / 400;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--space-2);
  color: var(--text);
}

h1 { font-size: clamp(1.65rem, 4.5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.85rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h4, h5 { font-size: 1rem; }

.page-hero-text {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-2);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-3);
}

.section-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  margin: var(--space-1) auto 0;
  background: linear-gradient(90deg, var(--brand), var(--promo));
  border-radius: 2px;
}

.eyebrow {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: var(--space-1);
}

.quality-icon {
  width: 72px;
  margin-bottom: var(--space-1);
}

/* Home — Quality Assured block */
.section-quality .quality-layout {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}

.section-quality .quality-figure {
  margin: 0;
}

.section-quality .quality-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .section-quality {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }

  .section-quality .quality-layout {
    gap: var(--space-2);
  }

  .section-quality .quality-copy {
    text-align: center;
    padding: var(--space-2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-sm);
  }

  .section-quality .quality-copy h1 {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }

  .section-quality .quality-icon {
    margin-inline: auto;
  }

  .section-quality .quality-copy .btn {
    margin-top: var(--space-1);
  }

  .section-quality .quality-figure {
    display: flex;
    justify-content: center;
    margin-inline: auto;
    width: 100%;
  }

  .section-quality .quality-hero-img {
    width: 80%;
    height: auto;
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .section-quality .quality-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .section-quality .quality-copy {
    order: 2;
  }

  .section-quality .quality-figure {
    order: 1;
  }
}

.lead { font-size: 1.05rem; color: var(--muted); }

/* Sections */
main {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
}

main .hero,
main .hero--banner {
  position: relative;
  z-index: 0;
}

/* Plain pages: offset first block so titles clear the overlay header */
.page-inner main > :first-child {
  padding-top: calc(var(--header-bar-h) + var(--space-2));
}

.section {
  padding: var(--space-4) 0;
}

.section-tight {
  padding: var(--space-3) 0;
}

.section-bg {
  background: linear-gradient(155deg, #fff8f3 0%, #f2f6eb 48%, #faf8f5 100%);
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .section-reveal,
  .hero-slide,
  .product-card { transition: none !important; }
  .section-reveal { opacity: 1; transform: none; }
}

.grid-2 {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
}

.grid-2--copy p { margin: 0 0 var(--space-2); }

.grid-4 {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
}

/* Promo */
.promo-bar {
  background: linear-gradient(90deg, var(--promo), #f5c025);
  color: var(--text);
}

.promo-bar .grid-2 {
  align-items: center;
}

.promo-bar h2 {
  text-align: left;
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.promo-bar .btn-wrap {
  text-align: center;
}

@media (min-width: 768px) {
  .promo-bar .btn-wrap { text-align: right; }
}

/* Products */
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card img {
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.product-card h3 {
  font-size: 1rem;
  margin: var(--space-1) 0;
}

.product-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.product-card h3 a:hover { color: var(--brand); }

.product-card .cat {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card .btn {
  margin-top: auto;
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
}

.leaf-divider {
  margin: 0 auto var(--space-2);
  width: 75px;
  height: auto;
}

/* Features */
.features {
  display: grid;
  gap: var(--space-2);
}

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}

.feature-card {
  background: var(--surface);
  padding: var(--space-3);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.feature-card h3 { margin-bottom: var(--space-1); }

.about-stats {
  display: grid;
  gap: var(--space-2);
  text-align: center;
}

@media (min-width: 600px) {
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

.about-stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-2);
  box-shadow: var(--shadow-sm);
}

.about-stat__value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}

.about-stat__label {
  display: block;
  margin-top: var(--space-1);
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Brands */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-2);
}

.brand-row img {
  width: auto;
  max-height: 64px;
  opacity: 0.92;
  filter: grayscale(0.15);
  transition: opacity 0.2s, filter 0.2s;
}

.brand-row img:hover {
  opacity: 1;
  filter: none;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--surface) !important;
  padding: 0.7rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--brand-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--brand) !important;
  border: 2px solid var(--brand);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: var(--space-5);
  }
}

.contact-aside .page-hero-text {
  text-align: left;
  margin-bottom: var(--space-2);
}

.contact-lead {
  color: var(--muted);
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
  max-width: 36rem;
}

.contact-cards {
  display: grid;
  gap: var(--space-2);
}

@media (min-width: 600px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-card h2 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.contact-card p {
  margin: 0;
  font-weight: 600;
}

.contact-card a:not(.btn) {
  color: var(--text);
  text-decoration: none;
}

.contact-card a:not(.btn):hover {
  color: var(--brand);
  text-decoration: underline;
}

.contact-wa-btn {
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-form-title {
  margin: 0 0 var(--space-2);
  font-size: 1.25rem;
}

.contact-form {
  max-width: none;
  margin: 0;
}

.contact-form .btn[type="submit"] {
  width: 100%;
  margin-top: var(--space-1);
}

.contact-form .btn[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Forms */
.form-field { margin-bottom: var(--space-2); }

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
  font-family: var(--font);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.25);
  outline: none;
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--brand);
}

.field-error {
  display: none;
  font-size: 0.85rem;
  color: var(--brand);
  margin-top: 0.35rem;
  font-weight: 600;
}

.field-error.is-visible { display: block; }

.form-success {
  display: none;
  padding: var(--space-2);
  background: rgba(139, 195, 74, 0.15);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.form-success.is-visible { display: block; }

.form-error {
  display: none;
  padding: var(--space-2);
  background: rgba(227, 32, 36, 0.08);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--brand-dark);
}

.form-error.is-visible { display: block; }

/* Product detail */
.product-detail {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .product-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}

.product-detail .product-shot {
  background: transparent;
  padding: 0;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.breadcrumb a { color: var(--muted); }

.product-media {
  display: grid;
  gap: var(--space-2);
}

.product-gallery-secondary {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.product-gallery-secondary img {
  width: 100%;
  height: auto;
}

.product-gallery-secondary figcaption {
  padding: var(--space-1) var(--space-2);
  font-size: 0.85rem;
  color: var(--muted);
}

.product-info .lead { margin-bottom: var(--space-2); }

.product-detail-heading {
  font-size: 1.15rem;
  margin: 0 0 var(--space-1);
}

.product-detail-body {
  margin: var(--space-2) 0;
}

.product-specs {
  margin: var(--space-2) 0 var(--space-3);
  padding: var(--space-2);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.product-specs > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-1);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-specs > div:last-child { border-bottom: 0; }

.product-specs dt {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-specs dd {
  margin: 0;
  font-weight: 600;
}

.product-cta { margin: var(--space-3) 0 0; }

.btn--whatsapp {
  background: #25d366;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.btn--whatsapp:hover { background: #1da851; }

/* Cart */
.cart-empty {
  text-align: center;
  padding: var(--space-5) 0;
}

.cart-empty p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

/* Footer */
.site-footer {
  background: linear-gradient(168deg, #2d2d2d 0%, #1a1a1a 55%, #252525 100%);
  color: #e8e8e8;
  padding: var(--space-5) 0 var(--space-3);
  margin-top: var(--space-4);
}

.site-footer h3 {
  color: var(--surface);
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.site-footer p {
  margin: 0 0 var(--space-1);
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer a {
  color: #f5c025;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--surface);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand img {
  max-height: 72px;
  margin-bottom: var(--space-2);
  width: auto;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: #aaa;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.center { text-align: center; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-2);
  color: var(--muted);
}

.section-intro:last-of-type {
  margin-bottom: var(--space-3);
}

.products-row {
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.page-products .products-row:last-of-type {
  border-bottom: 0;
}

.products-row__copy h2 {
  margin-top: var(--space-1);
}

.products-row__media img {
  max-height: 420px;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}

.products-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
}

@media (min-width: 768px) {
  .products-row--reverse .products-row__inner > .products-row__media {
    order: 2;
  }

  .products-row--reverse .products-row__inner > .products-row__copy {
    order: 1;
  }
}

/* Products: quality band flush with footer banner (no stray border gap) */
body.page-products .products-why {
  margin-bottom: 0;
  padding-bottom: var(--space-4);
  border-bottom: 0;
}

.products-footer-banner {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.products-footer-banner img {
  width: 100%;
  aspect-ratio: 1366 / 500;
  object-fit: cover;
  display: block;
}

/* Privacy / legal text */
.content-narrow {
  max-width: 42rem;
  margin-inline: auto;
}

.content-narrow h2 {
  margin-top: var(--space-4);
  font-size: 1.25rem;
}

.content-narrow p,
.content-narrow li {
  line-height: 1.65;
}