:root {
  /* ---------- REFINED BRAND PALETTE ---------- */
  --primary: #f2b90c;        /* Main glossy gold from the DG letters */
  --primary-light: #ffd558;  /* Bright highlight from the sparkles */
  --primary-dark: #b8800a;   /* Deep amber for text/shadows */
  --primary-soft: #fff6d4;   /* Very pale cream tint for backgrounds */
  --glow: var(--primary-soft); /* Soft gold glow behind hero / banners */

  --secondary: #2f7a50;
  --accent: #e8753c;

  /* ---------- LIGHT THEME ---------- */
  --background: #fffdf8;
  --background-soft: #fbf6e9;
  --surface: #ffffff;
  --surface-alt: #f5f0e3;
  --surface-tint: #fff9e9;

  --text: #201b13;
  --text-muted: #756d60;
  --border: #e8dfcc;
  --border-strong: #d8cbb0;

  --success: #2f7a50;
  --warning: #b87808;
  --danger: #b3261e;

  --shadow-sm: 0 2px 10px rgba(91, 67, 19, 0.06);
  --shadow: 0 18px 55px rgba(91, 67, 19, 0.11);
  --shadow-lg: 0 26px 75px rgba(91, 67, 19, 0.16);

  /* ---------- FONTS ---------- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;   /* headings */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;  /* everything else */

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);

  /* Legacy aliases */
  --gold: var(--primary);
  --gold-dark: var(--primary-dark);
  --gold-soft: var(--primary-soft);
  --cream: var(--background);
  --ink: var(--text);
  --muted: var(--text-muted);
  --white: #ffffff;
  --green: var(--secondary);
  --line: var(--border);
}

/* ---------- DARK THEME ---------- */
[data-theme="dark"] {
  --primary: #f2b90c;
  --primary-light: #ffd558;
  --primary-dark: #b8800a;
  --primary-soft: #3a2e08;
  --glow: color-mix(in srgb, var(--primary) 12%, var(--background)); /* softer, warmer glow in dark mode */

  --background: #12110f;
  --background-soft: #191711;
  --surface: #1d1b17;
  --surface-alt: #26231d;
  --surface-tint: #211e18;

  --text: #f7f2e8;
  --text-muted: #bdb5a6;
  --border: #38332a;
  --border-strong: #4a4336;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 28px 78px rgba(0, 0, 0, 0.52);

  --gold-soft: var(--primary-soft);
  --cream: var(--background);
  --white: var(--surface);
}

/* ---------- 2. RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- PREVENT UNNECESSARY SCROLLING ---------- */
body {
  overflow-x: hidden;
  max-width: 100vw;
  overscroll-behavior-x: none;
}

.collage-section {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .collage-section {
    overflow-x: hidden;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* ---------- 3. LAYOUT ---------- */
.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* ---------- 4. HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

.logo strong {
  color: var(--primary-dark);
}

.logo-text {
  white-space: nowrap;
}

/* ---------- LOGO IMAGE ---------- */
.logo-image {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-logo .logo-image {
  height: 56px;
}

@media (max-width: 980px) {
  .logo-image {
    height: 42px;
  }
  .footer-logo .logo-image {
    height: 50px;
  }
}

@media (max-width: 700px) {
  .logo-image {
    height: 38px;
  }
  .footer-logo .logo-image {
    height: 48px;
  }
}

.desktop-nav {
  display: flex;
  gap: 30px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.theme-toggle i {
  transition: transform var(--transition);
}

.theme-toggle:hover i {
  transform: rotate(20deg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 13px;
  padding: 13px 19px;
  font-weight: 700;
  font-size: 13px;
  background: var(--text);
  color: var(--background);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--text) 18%, transparent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--text);
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 13px;
  padding: 13px 19px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #211b12;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary-dark) 28%, transparent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--primary-dark) 42%, transparent);
}

.btn-light {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-light:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ---------- 6. TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  color: var(--primary-dark);
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading.left {
  text-align: left;
  margin: 0 0 28px;
}

.section-heading h2 {
  font: 600 clamp(30px, 4vw, 44px) / 1.1 var(--font-display);
  margin: 9px 0 11px;
  letter-spacing: -0.035em;
  color: var(--text);
}

.section-heading p {
  color: var(--text-muted);
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  padding: 0 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, var(--glow) 0, transparent 40%),
    radial-gradient(circle at 12% 88%, var(--glow) 0, transparent 38%),
    var(--background-soft);
  transition: background var(--transition);
}

.hero > .container {
  position: relative;
  padding-right: 0px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "eyebrow  visual"
    "copy     visual";
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  row-gap: 8px;
  align-items: center;
  position: relative;
  min-height: 560px;
}

.hero-eyebrow {
  grid-area: eyebrow;
  align-self: end;
  padding-top: 40px;
}

.hero-copy {
  grid-area: copy;
  align-self: start;
  padding-bottom: 20px;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  align-self: stretch;
  min-height: 100%;
  display: grid;
  place-items: center;
}

/* the <picture> wrapper takes no space: the photo lays out exactly as before */
.hero-picture { display: contents; }

.hero-photo {
  position: absolute;
  top: 0;
  right: -50px;
  width: 180%;
  max-width: none;
  height: auto;
  max-height: 130%;
  object-fit: contain;
  object-position: top right;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 25px 40px rgba(60, 42, 8, 0.10));
  display: block;
}

[data-theme="dark"] .hero-photo {
  mix-blend-mode: screen;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font: 700 clamp(44px, 6vw, 76px) / 0.99 var(--font-display);
  letter-spacing: -0.055em;
  margin: 0 0 23px;
  color: var(--text);
  position: relative;
  z-index: 3;
}

.hero h1 em {
  color: var(--primary-dark);
  font-style: normal;
}

.hero-copy > p {
  max-width: 590px;
  color: var(--text-muted);
  font-size: 17px;
  position: relative;
  z-index: 3;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.hero-actions .btn {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 240px;
  padding: 13px 22px;
}

.trust-row {
  display: flex;
  gap: 38px;
  margin-top: 46px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.trust-row div {
  display: grid;
  gap: 1px;
}

.trust-row strong {
  font: 800 19px var(--font-body);
  color: var(--text);
}

.trust-row span {
  color: var(--text-muted);
  font-size: 11px;
}

.floating-badge {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 24px;
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(60, 42, 8, 0.10);
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 8px;
  border: 1px solid var(--border);
}

.floating-badge .badge-icon {
  grid-row: span 2;
  color: var(--primary);
  font-size: 20px;
  display: grid;
  place-items: center;
}

.floating-badge strong {
  font: 700 11px var(--font-body);
  color: var(--text);
}

.floating-badge small {
  color: var(--text-muted);
  font-size: 9px;
}

.badge-icon i {
  font-size: 14px;
}

.floating-badge.badge-switch-out {
  animation: badge-switch-out 0.26s ease forwards;
}

.floating-badge.badge-switch-in {
  animation: badge-switch-in 0.36s ease both;
}

@keyframes badge-switch-out {
  to { opacity: 0; transform: translateY(8px) scale(0.96); }
}

@keyframes badge-switch-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 8. BRAND COLLAGE ---------- */
.collage-section {
  position: relative;
  min-height: 145vh;
  background:
    radial-gradient(circle at 50% 50%, var(--glow) 0, transparent 34%),
    var(--background);
  transition: background var(--transition);
}

.collage-sticky {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  min-height: 560px;
  overflow: hidden;
  overflow: clip;
  display: grid;
  place-items: center;
}

.collage-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.collage-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(18px);
  width: min(570px, 82vw);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.collage-title.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.collage-title h2 {
  font: 600 clamp(30px, 4.2vw, 50px) / 1.06 var(--font-display);
  letter-spacing: -0.045em;
  color: var(--text);
  margin: 10px 0 20px;
}

.collage-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.collage-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(200px, 18vw, 305px);
  height: clamp(200px, 18vw, 200px);
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: color-mix(in srgb, var(--surface) 94%, var(--primary-soft));
  border: 1px solid var(--border);
  box-shadow: 0 5px 10px rgba(60, 42, 8, 0.10);
  overflow: hidden;
  opacity: 1;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition: box-shadow var(--transition), border-color var(--transition);
}

[data-theme="dark"] .collage-item {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  display: block;
}

.collage-item[data-pos="top"],
.collage-item[data-pos="bottom"] {
  width: clamp(200px, 14vw, 220px);
  height: clamp(150px, 14vw, 220px);
}

.collage-item[data-pos="topright"]    { z-index: 6; }
.collage-item[data-pos="bottomright"] { z-index: 5; }
.collage-item[data-pos="topleft"]     { z-index: 4; }
.collage-item[data-pos="bottomleft"]  { z-index: 3; }
.collage-item[data-pos="top"]         { z-index: 2; }
.collage-item[data-pos="bottom"]      { z-index: 1; }

.collage-decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  color: color-mix(in srgb, var(--primary-dark) 48%, transparent);
}

.collage-decoration .decor-star {
  position: absolute;
  font-size: 18px;
  opacity: 0.32;
  animation: decor-twinkle 4s ease-in-out infinite;
}

.collage-decoration .star-one   { top: 12%; left: 6%;  font-size: 22px; animation-delay: 0s; }
.collage-decoration .star-two   { top: 18%; right: 8%; font-size: 16px; animation-delay: -1s; }
.collage-decoration .star-three { top: 42%; left: 4%;  font-size: 14px; animation-delay: -2s; }
.collage-decoration .star-four  { top: 48%; right: 5%; font-size: 20px; animation-delay: -0.6s; }
.collage-decoration .star-five  { bottom: 20%; left: 10%; font-size: 16px; animation-delay: -1.6s; }
.collage-decoration .star-six   { bottom: 14%; right: 12%; font-size: 24px; animation-delay: -2.4s; }
.collage-decoration .star-seven { top: 30%; left: 46%; font-size: 12px; animation-delay: -3s; }
.collage-decoration .star-eight { bottom: 32%; right: 42%; font-size: 14px; animation-delay: -0.3s; }

.decor-line {
  position: absolute;
  height: 1px;
  background: color-mix(in srgb, var(--primary-dark) 28%, transparent);
  transform-origin: left center;
  opacity: 0.55;
}

.line-top    { width: 90px; top: 24%; left: 10%; transform: rotate(-8deg); }
.line-bottom { width: 90px; right: 10%; bottom: 24%; transform: rotate(8deg); }

@keyframes decor-twinkle {
  0%, 100% { opacity: 0.24; transform: scale(1) rotate(0deg); }
  50%      { opacity: 0.58; transform: scale(1.12) rotate(8deg); }
}

@media (max-width: 980px) {
  .collage-item {
    width: clamp(200px, 22vw, 245px);
    height: clamp(150px, 22vw, 245px);
  }

  .collage-item[data-pos="top"],
  .collage-item[data-pos="bottom"] {
    width: clamp(150px, 17vw, 175px);
    height: clamp(150px, 17vw, 175px);
  }
}

@media (max-width: 700px) {
  .collage-section {
    min-height: 75vh;
  }

.collage-sticky {
  top: 30px;
  height: calc(75vh - 72px);
  min-height: 400px;
}

  .collage-item {
    width: clamp(110px, 27vw, 145px);
    height: clamp(110px, 27vw, 145px);
    border-radius: 14px;
  }

  .collage-item[data-pos="top"],
  .collage-item[data-pos="bottom"] {
    width: clamp(90px, 22vw, 120px);
    height: clamp(90px, 22vw, 120px);
  }

  .collage-title {
    width: min(88vw, 360px);
  }

  .collage-title h2 {
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .collage-title .eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
    padding: 5px 8px;
  }

  .collage-decoration .star-four,
  .collage-decoration .star-seven,
  .collage-decoration .star-eight {
    display: none;
  }

  .collage-decoration .decor-star {
    font-size: 13px;
    opacity: 0.28;
  }

  .collage-decoration .star-one   { top: 10%; left: 5%;  font-size: 17px; }
  .collage-decoration .star-two   { top: 14%; right: 5%; font-size: 13px; }
  .collage-decoration .star-three { top: 44%; left: 3%;  font-size: 11px; }
  .collage-decoration .star-five  { bottom: 18%; left: 7%; font-size: 13px; }
  .collage-decoration .star-six   { bottom: 10%; right: 8%; font-size: 17px; }

  .decor-line { width: 45px; opacity: 0.35; }
  .line-top { top: 27%; left: 7%; }
  .line-bottom { bottom: 27%; right: 7%; }
}

/* ---------- 9. FEATURES ---------- */
.why-section {
  padding: 95px 0;
  background: var(--background-soft);
  transition: background var(--transition);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 27px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #211b12;
  transform: scale(1.08);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 18px;
  transition: all var(--transition);
}

.feature-icon i {
  font-size: 16px;
}

.feature-card h3 {
  font: 600 17px var(--font-display);
  margin-bottom: 8px;
  color: var(--text);
  transition: color var(--transition);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition);
}

/* ---------- 10. ABOUT ---------- */
.about-section {
  padding: 80px 0;
  background: var(--background);
  transition: background var(--transition);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--primary-soft);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-copy h2 {
  font: 600 clamp(31px, 4vw, 46px) / 1.08 var(--font-display);
  margin: 10px 0 20px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.audience-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.audience-tags span:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.audience-tags span i {
  color: var(--primary-dark);
  font-size: 10px;
}

/* ---------- 11. CUSTOMER REVIEWS ---------- */
.reviews-section {
  padding: 96px 0;
  background: var(--background-soft);
  transition: background var(--transition);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

.reviews-intro h2 {
  font: 600 clamp(32px, 4vw, 46px) / 1.08 var(--font-display);
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 12px 0 16px;
}

.reviews-intro p {
  color: var(--text-muted);
  max-width: 400px;
}

.reviews-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.reviews-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.reviews-nav:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--background);
}

.reviews-nav:active {
  transform: scale(0.94);
}

.reviews-count {
  margin-left: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.reviews-count strong {
  color: var(--text);
  font-weight: 800;
}

/* stage: all cards share one grid cell, so the height never jumps */
.reviews-carousel {
  position: relative;
  outline: none;
}

.reviews-stage {
  display: grid;
}

.review-card {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 48px 38px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.6s;
}

.review-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s ease 0.1s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, visibility 0s;
}

.review-mark {
  display: block;
  height: 46px;
  font: 600 96px / 1 var(--font-display);
  color: var(--primary);
  margin: -6px 0 8px -4px;
}

.review-text {
  flex: 1;
  margin: 0;
  font: 400 clamp(20px, 2vw, 25px) / 1.45 var(--font-display);
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.01em;
  color: var(--text);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font: 600 16px var(--font-display);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

[data-theme="dark"] .review-avatar {
  color: var(--primary);
}

.review-who {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.review-name {
  font: 700 15px var(--font-body);
  color: var(--text);
}

.review-tag {
  font-size: 12.5px;
  color: var(--text-muted);
}

.review-date {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* story-style progress: one thin bar per review, the active one fills */
.reviews-progress {
  display: flex;
  gap: 6px;
  margin-top: 22px;
  padding: 0 6px;
}

.reviews-progress button {
  flex: 1;
  height: 16px;            /* tall hit area, thin visible bar */
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.reviews-progress button::before,
.reviews-progress button span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
}

.reviews-progress button::before {
  background: var(--border-strong);
  opacity: 0.6;
}

.reviews-progress button span {
  background: var(--primary);
  transform-origin: left center;
  transform: scaleX(0);
}

.reviews-progress button.is-done span {
  transform: scaleX(1);
}

.reviews-progress button.is-active span {
  animation: reviewProgress var(--review-time, 6s) linear forwards;
}

.reviews-carousel.is-paused .reviews-progress button.is-active span {
  animation-play-state: paused;
}

@keyframes reviewProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reviews-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
  .review-card,
  .review-card.is-active {
    transition: opacity 0.2s ease, visibility 0s;
    transform: none;
  }

  .reviews-progress button.is-active span {
    animation: none;
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reviews-intro {
    text-align: center;
  }

  .reviews-intro p {
    margin: 0 auto;
  }

  .reviews-intro h2 br {
    display: none;
  }

  .reviews-controls {
    justify-content: center;
    margin-top: 24px;
  }
}

@media (max-width: 700px) {
  .reviews-section {
    padding: 64px 0;
  }

  .reviews-layout {
    gap: 26px;
  }

  /* on phones the controls sit under the card */
  .reviews-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-intro {
    display: contents;
  }

  .reviews-intro .eyebrow,
  .reviews-intro h2,
  .reviews-intro p {
    text-align: center;
  }

  .reviews-intro h2 br { display: inline; }   /* "Real reviews. / Real crunch." */

  .reviews-intro .eyebrow { order: 1; align-self: center; }
  .reviews-intro h2 { order: 2; margin: -14px 0 -14px; }
  .reviews-intro p { order: 3; }
  .reviews-carousel { order: 4; }
  .reviews-controls { order: 5; margin-top: -6px; }

  .review-card {
    padding: 30px 24px 24px;
    border-radius: var(--radius-lg);
  }

  .review-mark {
    height: 34px;
    font-size: 72px;
  }

  .review-text {
    font-size: 18px;
    line-height: 1.5;
  }

  .review-author {
    margin-top: 24px;
    padding-top: 18px;
    gap: 12px;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .review-date {
    align-self: flex-start;
    margin-top: 2px;
  }

  .reviews-nav {
    width: 44px;
    height: 44px;
  }
}

/* ---------- 12. CTA ---------- */
.cta-section {
  padding: 30px 0 90px;
  background: var(--background);
  transition: background var(--transition);
}

.cta-card {
  background: linear-gradient(120deg, var(--glow), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.cta-card h2 {
  font: 600 32px var(--font-display);
  margin: 7px 0;
  color: var(--text);
}

.cta-card p {
  color: var(--text-muted);
  max-width: 650px;
}

/* ---------- 13. PAGE HERO (Products) ---------- */
.page-hero {
  padding: 80px 0 65px;
  background:
    radial-gradient(circle at 80% 40%, var(--glow), transparent 45%),
    var(--background-soft);
  transition: background var(--transition);
}

.page-hero h1 {
  font: 700 clamp(42px, 6vw, 68px) / 1 var(--font-display);
  margin: 13px 0;
  color: var(--text);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 650px;
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- 14. PRODUCTS ---------- */
.products-section {
  padding: 70px 0;
  background: var(--background);
  transition: background var(--transition);
}

.category-block + .category-block {
  margin-top: 80px;
}

.category-heading {
  margin-bottom: 28px;
}

.category-heading h2 {
  font: 600 30px var(--font-display);
  margin-top: 7px;
  color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.product-image {
  height: 260px;
  background: var(--glow);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.image-viewer-trigger {
  position: absolute;   /* fill the fixed-height image area exactly */
  inset: 0;
  width: 100%;
  height: 100%;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);  /* keep the image inside the box */
  padding: 14px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-viewer-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.28s ease;
}

.product-card:hover .image-viewer-trigger img {
  transform: scale(1.04);
}

.product-body {
  padding: 20px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-body h3 {
  font: 600 17px var(--font-display);
  color: var(--text);
}

.product-body .price {
  font: 800 16px var(--font-body);
  color: var(--primary-dark);
  white-space: nowrap;
}

.product-body p {
  color: var(--text-muted);
  font-size: 12px;
  min-height: 57px;
  margin: 8px 0 17px;
}

.order-btn {
  width: 100%;
  padding: 11px 13px;
  font-size: 11px;
}

/* ---------- 15. ORDER BANNER ---------- */
.order-banner {
  padding: 65px 0;
  background: var(--background-soft);
  transition: background var(--transition);
}

.order-banner .container {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.order-banner h2 {
  font: 600 30px var(--font-display);
  margin: 6px 0;
  color: var(--text);
}

.order-banner p {
  color: var(--text-muted);
}

.order-banner .eyebrow {
  color: var(--primary-dark);
}

/* ---------- 16. ORDER PAGE ---------- */
.order-main {
  min-height: calc(100vh - 140px);
  padding: 70px 0;
  background: var(--background-soft);
  transition: background var(--transition);
}

.order-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  max-width: 1000px;
}

.order-summary,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 25px;
  padding: 34px;
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition);
}

.order-summary h1 {
  font: 600 38px var(--font-display);
  margin: 8px 0;
  color: var(--text);
}

.order-summary > p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

/* order summary: empty state, order lines, product picker, total */
.order-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 26px 18px 22px;
  margin-bottom: 4px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--background-soft);
  text-align: center;
}

.order-empty[hidden] { display: none; }

.order-empty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 20px;
}

[data-theme="dark"] .order-empty-icon { color: var(--primary); }

.order-empty strong {
  font-size: 15px;
  color: var(--text);
}

.order-empty > span:not(.order-empty-icon) {
  max-width: 250px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.order-empty .btn {
  margin-top: 12px;
  width: 100%;
  max-width: 280px;
}

/* a gentle shake when someone submits without a product */
.order-summary.needs-product .order-empty {
  border-color: var(--danger);
  animation: needsProduct 0.5s ease;
}

@keyframes needsProduct {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* order lines */
.order-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.order-item:last-child {
  border-bottom: 1px solid var(--border);
}

.order-item-img {
  width: 56px;
  height: 56px;
  padding: 4px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--primary-soft);
}

.order-item-info {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.order-item-info strong {
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
}

.order-item-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  vertical-align: 2px;
}

[data-theme="dark"] .order-item-tag { color: var(--primary); }

.order-item-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.order-item-remove {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.order-item-remove:hover {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
}

.order-item-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
}

.order-item-type {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.order-item-type:focus { border-color: var(--primary); }

.order-item-total {
  justify-self: end;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-alt);
}

.quantity-control strong {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.quantity-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
}

.quantity-control button:hover:not(:disabled) {
  background: var(--primary);
  color: #201b13;
}

.quantity-control button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

/* product picker */
.product-picker {
  margin: 4px 0 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--background-soft);
}

.product-picker[hidden] { display: none; }

.product-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.product-picker-head strong {
  font-size: 13.5px;
  color: var(--text);
}

.product-picker-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.product-picker-close:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.product-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.product-option:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.product-option img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 2px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--primary-soft);
}

.product-option span {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.product-option small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.product-option-check {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 13px;
  color: var(--success);
  opacity: 0;
}

.product-option.is-in-order {
  border-color: color-mix(in srgb, var(--success) 45%, var(--border));
}

.product-option.is-in-order .product-option-check { opacity: 1; }

.add-product-btn {
  width: 100%;
  margin-top: 18px;
  font-size: 13px;
}

.add-product-btn[hidden] { display: none; }

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.total-row[hidden] { display: none; }

.total-row small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.total-row strong {
  font: 800 24px var(--font-body);
  color: var(--primary-dark);
}

[data-theme="dark"] .total-row strong { color: var(--primary); }

@media (max-width: 340px) {
  .order-item-controls {
    grid-template-columns: auto 1fr;
  }

  .order-item-total {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .order-item-controls > span:empty { display: none; }
}

/* ---------- 17. FORM ---------- */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text);
}

.field label span {
  color: var(--warning);
}

.field label small {
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  outline: none;
  transition: all var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.field[hidden] { display: none; }

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* phone (and other) errors */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 5%, var(--surface));
}

.field.has-error .field-hint {
  color: var(--danger);
  font-weight: 600;
}

/* Type of Order: three tappable options */
.choice-field {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}

.choice-field legend {
  padding: 0;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.choice-field legend span { color: var(--warning); }

.choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.choice span i {
  font-size: 12px;
  color: var(--text-muted);
}

.choice:hover span { border-color: var(--border-strong); }

.choice input:checked + span {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}

.choice input:checked + span i { color: var(--primary-dark); }
[data-theme="dark"] .choice input:checked + span i { color: var(--primary); }

.choice input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.choice-field.has-error .choice span { border-color: var(--danger); }

@media (max-width: 360px) {
  .choice span { font-size: 12px; gap: 5px; }
  .choice span i { display: none; }
}

/* picker hint about ripe + unripe */
.product-picker-hint {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.submit-btn {
  width: 100%;
  margin-top: 4px;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-message {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  min-height: 19px;
  font-weight: 600;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

/* ---------- STOCK (sold out / limited / ripe-only labels) ---------- */
.product-image { position: relative; }

.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stock-badge.tone-out { background: #201b13; color: #ffffff; }
.stock-badge.tone-low { background: #fab219; color: #201b13; }
.stock-badge.tone-info { background: #ffffff; color: #201b13; border: 1px solid var(--border); }

.product-card.is-sold-out .product-image img { filter: grayscale(0.85); opacity: 0.55; }
.product-card.is-sold-out .product-body h3,
.product-card.is-sold-out .product-body .price { opacity: 0.6; }

.btn.is-disabled,
.pv-order.is-disabled {
  cursor: not-allowed;
  opacity: 0.75;
  box-shadow: none;
  transform: none;
}

.product-option.is-sold-out {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.product-option.is-sold-out img { filter: grayscale(1); }
.product-option:disabled:hover { border-color: var(--border); transform: none; }

.order-item-left {
  font-weight: 700;
  color: #b07700;
}

[data-theme="dark"] .order-item-left { color: #fab219; }

.order-item-only {
  justify-self: start;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- DELIVERY BATCH (order page) ---------- */
.batch-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 18px;
  padding: 11px 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border));
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.batch-strip[hidden] { display: none; }
.batch-strip > i:first-child { font-size: 16px; color: var(--primary-dark); }
[data-theme="dark"] .batch-strip > i:first-child { color: var(--primary); }
.batch-strip span { flex: 1; }
.batch-strip-more { color: var(--text-muted); font-size: 13px; }
.batch-strip:hover { border-color: var(--primary); }

.batch-pop { text-align: center; padding-top: 34px; }
.batch-pop h2 { margin: 10px 0 8px; }

.batch-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #201b13;
  font-size: 26px;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 18%, transparent);
}

.batch-text { font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; }

.batch-facts {
  list-style: none;
  margin: 0 0 20px;
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.batch-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.batch-facts li:last-child { border-bottom: 0; }
.batch-facts i { width: 18px; text-align: center; color: var(--primary-dark); }
[data-theme="dark"] .batch-facts i { color: var(--primary); }

.batch-ok { width: 100%; justify-content: center; }

.batch-done {
  margin: 6px 0 10px !important;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--text) !important;
  font-size: 13px !important;
}

.batch-done i { color: var(--primary-dark); margin-right: 4px; }
[data-theme="dark"] .batch-done i { color: var(--primary); }

/* ---------- PAYMENT WINDOW (order page) ---------- */
.pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 17, 12, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pay-overlay[hidden] { display: none; }
.pay-overlay.is-open { opacity: 1; }

.pay {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px 28px 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pay-overlay.is-open .pay { transform: none; }

.pay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.pay-close:hover { background: var(--text); color: var(--background); }

.pay-step[hidden] { display: none; }

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11.5px;
  font-weight: 700;
}

[data-theme="dark"] .pay-badge { color: var(--primary); }

.pay h2 {
  margin: 14px 40px 6px 0;
  font: 600 28px / 1.1 var(--font-display);
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pay-intro {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pay-intro strong { color: var(--text); }

.pay-amount {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 2px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #201b13;
}

.pay-amount > span:first-child {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.75;
}

.pay-amount strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pay-amount .pay-copy {
  background: rgba(255, 255, 255, 0.55);
  border-color: transparent;
  color: #201b13;
}

.pay-details {
  margin: 16px 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pay-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.pay-details > div:last-child { border-bottom: 0; }

.pay-details dt {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.pay-details dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.pay-accno,
.pay-ref {
  font-size: 16px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.pay-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.pay-copy:hover { border-color: var(--primary); }

.pay-copy.is-copied {
  background: var(--success);
  border-color: var(--success);
  color: #ffffff;
}

.pay-tip {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pay-tip i { color: var(--primary-dark); margin-right: 3px; }
[data-theme="dark"] .pay-tip i { color: var(--primary); }

.pay-confirm {
  width: 100%;
  justify-content: center;
}

.pay-confirm:disabled { opacity: 0.7; cursor: wait; }

.pay-back {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pay-back:hover { color: var(--text); }

.pay-done { text-align: center; padding-top: 8px; }

.pay-done-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--success) 15%, transparent);
}

.pay-done h2 { margin-right: 0; }

.pay-done p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 18px;
}

.pay-done-ref {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  font-size: 12.5px;
  color: var(--text-muted);
}

.pay-done-ref strong { color: var(--text); letter-spacing: 0.06em; }

.pay-done .btn { width: 100%; justify-content: center; }

.pay-done .btn + .btn,
.pay-done .pay-wa-note + .btn { margin-top: 10px; }

.btn-whatsapp {
  background: #1fa855;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 168, 85, 0.28);
}

.btn-whatsapp:hover { background: #1a9149; color: #ffffff; }
.btn-whatsapp i { font-size: 18px; }

.pay-wa-note {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
}



@media (max-width: 560px) {
  .pay-overlay { place-items: end center; padding: 0; }

  .pay {
    width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    padding: 26px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    transform: translateY(40px);
  }

  .pay h2 { font-size: 25px; }
  .pay-amount strong { font-size: 26px; }
  .pay-details > div { padding: 11px 14px; }
}

/* ---------- 18. PRODUCT DETAILS (opens from a product image) ---------- */
/* "View details" hint on product images (the trigger is already position:absolute) */
.quick-view {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translate(-50%, 6px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(32, 27, 19, 0.82);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .quick-view,
.image-viewer-trigger:focus-visible .quick-view {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: none) {
  .quick-view {            /* touch screens: always show a small hint */
    opacity: 1;
    transform: translate(-50%, 0);
    padding: 6px 11px;
    font-size: 11px;
  }
}

/* overlay */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  --pv-pad-y: clamp(16px, 4vw, 48px);   /* space above and below the window */
  padding: var(--pv-pad-y) clamp(16px, 4vw, 48px);
  background: rgba(20, 17, 12, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-viewer.is-open {
  opacity: 1;
  visibility: visible;
}

/* the window */
.pv {
  position: relative;
  width: min(980px, 100%);
  max-height: min(680px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-viewer.is-open .pv {
  transform: none;
}

.pv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 17px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.pv-close:hover {
  background: var(--text);
  color: var(--background);
  transform: rotate(90deg);
}

/* short laptop screens: less empty space around the window, more for the photo */
@media (min-width: 821px) and (max-height: 760px) {
  .image-viewer { --pv-pad-y: 16px; }
}

/* gallery */
.pv-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--background-soft);
  min-height: 0;
}

.pv-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 1 / 1;
  /* square, but never taller than the window allows (room left for the
     thumbnails and padding), so the photo is never cut off on short laptops */
  max-height: min(520px, calc(100vh - 2 * var(--pv-pad-y) - 108px));
  max-height: min(520px, calc(100dvh - 2 * var(--pv-pad-y) - 108px));
  border-radius: var(--radius-lg);
  background: #ffffff;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
}

.pv-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pv-slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);   /* keep tall photos inside the frame */
  place-items: center;
  background: #111;
}

.pv-slide.is-cutout {
  background: #ffffff;
  padding: 28px;
}

.pv-slide img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  user-select: none;
}

.pv-slide.is-cutout img {
  object-fit: contain;
}

.pv-arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #201b13;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition), background var(--transition);
}

.pv-arrow:hover { background: #ffffff; transform: scale(1.06); }
.pv-prev { left: 12px; }
.pv-next { right: 12px; }

.pv-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(32, 27, 19, 0.72);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pv-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pv-thumbs::-webkit-scrollbar { display: none; }

.pv-thumb {
  flex: 0 0 64px;
  height: 64px;
  padding: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #111;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition), border-color var(--transition);
}

.pv-thumb.is-cutout { background: #ffffff; padding: 5px; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv-thumb.is-cutout img { object-fit: contain; }
.pv-thumb:hover { opacity: 0.9; }
.pv-thumb.is-active { opacity: 1; border-color: var(--primary); }

.pv.is-single .pv-arrow,
.pv.is-single .pv-count,
.pv.is-single .pv-thumbs {
  display: none;
}

/* details */
.pv-info {
  display: flex;
  flex-direction: column;
  padding: 44px 36px 32px;
  overflow-y: auto;
}

.pv-title {
  font: 600 clamp(28px, 3vw, 36px) / 1.08 var(--font-display);
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 10px 40px 10px 0;
}

.pv-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
}

[data-theme="dark"] .pv-price { color: var(--primary); }

.pv-desc {
  margin: 16px 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.pv-specs {
  margin: 0 0 26px;
  border-top: 1px solid var(--border);
}

.pv-specs div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.pv-specs dt {
  color: var(--text-muted);
  font-weight: 600;
}

.pv-specs dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.pv-order {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pv-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.pv-note i { color: var(--primary-dark); margin-right: 4px; }
[data-theme="dark"] .pv-note i { color: var(--primary); }

.viewer-open {
  overflow: hidden;
}

/* phones and small tablets: a sheet that slides up from the bottom */
@media (max-width: 820px) {
  .image-viewer {
    place-items: end center;
    padding: 0;
  }

  .pv {
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    grid-template-columns: 1fr;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    overflow-y: auto;
    transform: translateY(40px);
  }

  .pv-gallery {
    padding: 12px 12px 4px;
  }

  .pv-stage {
    aspect-ratio: 4 / 3.4;
    max-height: none;
    flex: none;
  }

  .pv-thumb {
    flex-basis: 56px;
    height: 56px;
  }

  .pv-info {
    padding: 18px 20px calc(22px + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  .pv-title {
    font-size: 26px;
    margin-right: 0;
  }

  .pv-close {
    top: 22px;
    right: 22px;
    background: rgba(255, 255, 255, 0.92);
    color: #201b13;
    border-color: transparent;
  }

  .pv-order {
    margin-top: 0;
  }
}

/* ---------- 19. FOOTER ----------
   Laptop & tablet: brand | Explore | Contact in three columns.
   Phone: no logo (the header already shows it) and no Explore links
   (the bottom bar covers them): brand line, socials, then Contact. */
footer {
  background: var(--background-soft);
  color: var(--text);
  padding: 48px 0 22px;
  border-top: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}

[data-theme="dark"] footer {
  background: #14120f;
  color: #b8b0a2;
  border-top-color: #2a2724;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: 40px;
  padding-bottom: 32px;
}

.footer-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.footer-logo { color: var(--text); }
[data-theme="dark"] .footer-logo { color: #fff; }

.footer-tagline {
  font-size: 14px;
  line-height: 1.55;
  max-width: 340px;
  color: var(--text-muted);
}
[data-theme="dark"] .footer-tagline { color: #a8a094; }

.footer-batch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
.footer-batch[hidden] { display: none; }
.footer-batch i { color: var(--primary-dark); }
[data-theme="dark"] .footer-batch { color: #f1e9da; }
[data-theme="dark"] .footer-batch i { color: var(--primary); }

.footer-social { display: flex; gap: 10px; margin-top: 2px; }
.footer-social a {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover,
.footer-social a:focus-visible { background: var(--text); color: var(--background); border-color: var(--text); }
[data-theme="dark"] .footer-social a { background: #1d1a16; border-color: #2f2b26; color: #e9e1d2; }
[data-theme="dark"] .footer-social a:hover,
[data-theme="dark"] .footer-social a:focus-visible { background: var(--primary); color: #14120f; border-color: var(--primary); }
.footer-col { display: grid; align-content: start; justify-items: start; }

.footer-col h4 {
  color: var(--text);
  font: 700 13px var(--font-body);
  margin-bottom: 8px;
}
[data-theme="dark"] .footer-col h4 { color: #fff; }

.footer-col > a:not(.footer-wa) {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col > a:not(.footer-wa):hover { color: var(--primary-dark); }
[data-theme="dark"] .footer-col > a:not(.footer-wa) { color: #a8a094; }
[data-theme="dark"] .footer-col > a:not(.footer-wa):hover { color: var(--primary); }

.contact-link { gap: 10px; font-variant-numeric: tabular-nums; }
.contact-link i { width: 14px; color: var(--primary-dark); font-size: 13px; }
[data-theme="dark"] .contact-link i { color: var(--primary); }

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #1f9d55;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.footer-wa i { font-size: 16px; }
.footer-wa:hover { background: #178347; transform: translateY(-1px); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: var(--text-muted);
}
[data-theme="dark"] .footer-bottom { border-top-color: #2a2724; color: #7e766a; }

/* tablet: keep three columns, a little tighter */
@media (max-width: 980px) {
  .footer-grid { gap: 28px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1fr); }
}

/* phone: compact */
@media (max-width: 700px) {
  footer { padding-top: 32px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 22px; }
  .footer-logo, .footer-explore { display: none; }
  .footer-col > a:not(.footer-wa) { min-height: 44px; font-size: 15px; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .footer-wa { justify-self: stretch; justify-content: center; padding: 12px 16px; font-size: 15px; }
  .footer-social a { width: 44px; height: 44px; }
}

/* ---------- 20. ANIMATIONS ---------- */
.reveal {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .feature-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .desktop-nav {
    gap: 18px;
  }

  .product-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   TABLET HERO — portrait tablets (701px–900px); 901px+ uses the laptop layout
   ============================================================ */
@media (min-width: 701px) and (max-width: 900px), (min-width: 901px) and (max-width: 1024px) and (orientation: portrait) {

  .hero {
    position: relative;
    padding: 0px 0 60px 0px; 
    background:
      radial-gradient(circle at 50% 12%, var(--glow) 0, transparent 55%),
      var(--background-soft);
  }
  /* Add inside the tablet block, near the top */
.hero > .container {
  width: 100%;
  max-width: 100%;
  padding: 0 0 0 24px;                /* keep left breathing room, no right */
}
  .hero-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: auto;
    gap: 28px;
  }
.hero-visual {
  order: 2;
  width: 100%;
  min-height: auto;
  display: flex;
  justify-content: flex-end;          /* ⬅️ this anchors the image right */
  position: relative;
}

  .hero-copy {
    order: 3;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

.hero-eyebrow {
  font-size: 15px;
  letter-spacing: 0.30em;
  padding: 20px 10px;
  border-radius: 99px;
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);

  writing-mode: vertical-rl;

  position: absolute;
  left: 30px;
  top: 12%;                            /* ⬅️ anchored at top */
  /* no transform */

  align-self: auto;
  margin: 0;

  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hero-photo {
  position: relative;
  top: auto;
  right: auto;
  width: min(950px, 160vw);           /* slightly wider */
  max-width: none;
  margin: 0;                           /* no auto margin needed */
  filter: drop-shadow(0 20px 40px rgba(60, 42, 8, 0.12));
  mix-blend-mode: multiply;
}
  [data-theme="dark"] .hero-photo {
    mix-blend-mode: screen;
  }

  .hero h1 {
    font-size: clamp(36px, 5vw, 48px);
    margin: 0 0 18px;
    max-width: 620px;
  }

  .hero-copy > p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 8px;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    width: 100%;
    max-width: 520px;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 170px;
    max-width: 240px;
    padding: 13px 20px;
    font-size: 14px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    max-width: 620px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .trust-row div {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 0 8px;
    border-right: 1px solid var(--border);
  }

  .trust-row div:last-child {
    border-right: 0;
  }

  .trust-row strong {
    font-size: 24px;
    letter-spacing: -0.02em;
  }

  .trust-row span {
    font-size: 11px;
    color: var(--text-muted);
  }

  .floating-badge {
    right: 16px;
    bottom: 16px;
  }

  @media (min-width: 701px) and (max-width: 900px), (min-width: 901px) and (max-width: 1024px) and (orientation: portrait) {
  .collage-section {
    min-height: 110vh;
  }

  .collage-sticky {
    top: 60px;
    height: calc(100vh - 78px);
    min-height: 480px;
  }

  /* ... rest of your tablet block stays as-is ... */
}
}

@media (max-width: 700px) {
  /* phones use the bottom navigation bar instead */
  .desktop-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    position: relative;                   /* anchors the absolutely positioned eyebrow */
    padding: 0px 0 44px 0px; 
    background:
      radial-gradient(circle at 50% 10%, var(--glow) 0, transparent 58%),
      var(--background-soft);
  }

  /* Add inside the mobile block, near the top */
.hero > .container {
  width: 100%;
  max-width: 100%;
  padding: 0 0 0 20px;                /* keep left padding only */
}

  .hero-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  }

  .hero-eyebrow {
  order: 1;
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 14px 8px;                    /* taller pill since text is vertical */
  border-radius: 99px;
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);

  /* Rotate to vertical — reads top-to-bottom */
  writing-mode: vertical-rl;

  /* Position absolutely on the left side of the hero */
  position: absolute;
  left: 12px;
  top: 8%;

  /* Reset alignment */
  align-self: auto;
  margin: 0;

  /* Stack alignment for the icon + text */
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hero-eyebrow i {
  font-size: 12px;
  transform: rotate(90deg);             /* rotate the bolt icon too */
}

  .hero-visual {
  order: 2;
  width: 100%;
  min-height: auto;
  display: flex;
  justify-content: flex-end;          /* anchor image to the right */
  margin: 6px 0 10px;
  }

  .hero-copy {
    order: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin: 20px 0 20px;
    max-width: 92%;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 92%;
    margin-bottom: 6px;
  }

  .hero-actions {
    width: 100%;
    max-width: 340px;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 10px;
    align-self: center;
  }

  .trust-row {
    order: 6;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .trust-row div {
    display: grid;
    justify-items: center;
    gap: 4px;
  }

  .trust-row strong {
    font-size: 22px;
    letter-spacing: -0.02em;
  }

  .trust-row span {
    font-size: 10px;
    line-height: 1.3;
  }

  .hero-photo {
  position: relative;
  top: auto;
  right: auto;
  width: 140vw;                        /* wider than viewport */
  max-width: none;
  margin: 0;                           /* remove auto — it's already right-aligned */
  /* NO transform — remove the translateX line */
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 30px rgba(60, 42, 8, 0.12));
}
  .floating-badge {
    right: 8px;
    bottom: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    grid-template-columns: 24px 1fr;
    column-gap: 6px;
  }

  .floating-badge .badge-icon { font-size: 18px; }
  .floating-badge strong { font-size: 11px; }
  .floating-badge small { font-size: 9px; }

  .feature-grid,
  .product-grid,
  .product-grid.four {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    height: 330px;
  }

  .cta-card,
  .order-banner .container {
    padding: 28px;
    display: grid;
  }

  .cta-card h2 {
    font-size: 27px;
  }

  .order-summary,
  .form-card {
    padding: 25px;
  }

  .page-hero {
    padding-top: 55px;
  }

}

/* ---------- ABOUT DELIVERY ANIMATION ----------
   A delivery-tracker style scene: a map (inline SVG), the order travelling
   along the route, and a status card. script.js (setupDelivery) drives it.
   Map colours are variables so it follows light / dark mode. */
.delivery-animation {
  --map-land: #f5efe2;
  --map-block: #ebe2cf;
  --map-park: #dde9cf;
  --map-tree: #c9dcb4;
  --map-road: #ffffff;
  --map-road-edge: #e2d6bd;
  --map-label: #b0a28a;
  --map-route: #cbbd9f;
  --map-pin-shop: #2b2117;
  --map-pin-home: #f2b90c;

  position: relative;
  height: 480px;
  overflow: hidden;
  isolation: isolate;
  background: var(--map-land);
}

[data-theme="dark"] .delivery-animation {
  --map-land: #1a1814;
  --map-block: #221f1a;
  --map-park: #1d261a;
  --map-tree: #26331f;
  --map-road: #2d2923;
  --map-road-edge: #2d2923;
  --map-label: #6b6252;
  --map-route: #4f473a;
  --map-pin-shop: #0d0b08;
  --map-pin-home: #f2b90c;
}

.dl-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.dl-land   { fill: var(--map-land); }
.dl-blocks { fill: var(--map-block); }
.dl-park   { fill: var(--map-park); }
.dl-trees  { fill: var(--map-tree); }

.dl-roads path {
  fill: none;
  stroke: var(--map-road);
  stroke-width: 16;
  stroke-linecap: round;
}

.dl-roads-main path {
  fill: none;
  stroke: var(--map-road);
  stroke-width: 22;
}

.dl-street-names text {
  fill: var(--map-label);
  font: 700 8.5px var(--font-body);
  letter-spacing: 0.18em;
}

/* route */
.dl-route-planned,
.dl-route-done {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dl-route-planned {
  stroke: var(--map-route);
  stroke-width: 5;
  stroke-dasharray: 2 10;
}

.dl-route-done {
  stroke: var(--primary);
  stroke-width: 6;
  filter: drop-shadow(0 2px 4px rgba(184, 128, 10, 0.35));
}

/* pins */
.dl-pin-shadow { fill: rgba(0, 0, 0, 0.18); }
.dl-pin-shop .dl-pin-body { fill: var(--map-pin-shop); }
.dl-pin-home .dl-pin-body { fill: var(--map-pin-home); }
.dl-pin-body { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18)); }
.dl-home-icon { fill: #2b2117; }

.dl-label rect {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}

.dl-label text {
  fill: var(--text);
  font: 700 11.5px var(--font-body);
}

.dl-arrive-ring {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.dl-arrive-ring.is-on {
  animation: dlRing 1.4s ease-out infinite;
}

/* courier marker */
.dl-courier-ring {
  fill: var(--surface);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}

.dl-courier-bg { fill: var(--primary-soft); }

.dl-pulse {
  fill: var(--primary);
  opacity: 0.25;
  transform-box: fill-box;
  transform-origin: center;
  animation: dlPulse 1.8s ease-out infinite;
}

@keyframes dlPulse {
  0%   { transform: scale(0.85); opacity: 0.35; }
  100% { transform: scale(1.7);  opacity: 0; }
}

@keyframes dlRing {
  0%   { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* status card */
.dl-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px 12px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(40, 28, 6, 0.14);
}

[data-theme="dark"] .dl-card {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.dl-card-top {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
}

/* (.about-photo img sizes the old photo; keep the thumbnail small) */
.about-photo .dl-card-thumb {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 4px;
  border-radius: 12px;
  background: var(--primary-soft);
}

.dl-card-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.dl-card-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.dl-card-status {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.dl-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-card-eta,
.dl-card-done {
  grid-column: 3;
  grid-row: 1;
}

.dl-card-eta {
  display: grid;
  justify-items: center;
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--text);
  line-height: 1;
  transition: opacity 0.3s ease;
}

.dl-card-eta strong {
  font-size: 20px;
  font-weight: 800;
}

.dl-card-eta span {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

.dl-card-done {
  justify-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success);
  color: #ffffff;
  font-size: 17px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.delivery-animation.is-delivered .dl-card-done { opacity: 1; transform: scale(1); }
.delivery-animation.is-delivered .dl-card-eta  { opacity: 0; }

.dl-steps {
  margin-top: 12px;
}

.dl-steps-track {
  height: 5px;
  border-radius: 99px;
  background: var(--surface-alt);
  overflow: hidden;
}

.dl-steps-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

.dl-steps ol {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
}

.dl-steps li {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.dl-steps li.is-active {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .dl-pulse,
  .dl-arrive-ring.is-on {
    animation: none;
  }
}

@media (max-width: 768px) {
  .delivery-animation {
    height: 360px;
    border-radius: 22px;
  }

  .dl-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 11px 12px 10px;
    border-radius: 16px;
  }

  .dl-card-top {
    grid-template-columns: 38px 1fr auto;
    gap: 10px;
  }

  .about-photo .dl-card-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .dl-card-status { font-size: 14px; }
  .dl-card-sub    { font-size: 11px; }
  .dl-card-eta strong { font-size: 17px; }
  .dl-steps { margin-top: 9px; }
  .dl-steps li { font-size: 10px; }
}

/* ---------- MOBILE: CART BUTTON + BOTTOM NAV ---------- */
.mobile-cart,
.bottom-nav {
  display: none;
}

@media (max-width: 700px) {
  /* Header: logo + order cart only */
  .has-bottom-nav .site-header .theme-toggle,
  .has-bottom-nav .site-header .desktop-nav {
    display: none;
  }

  .has-bottom-nav .mobile-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    /* Same colours as the laptop "Order Now" button (.nav-cta) */
    background: var(--text);
    color: var(--background);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--text) 18%, transparent);
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .has-bottom-nav .mobile-cart i {
    font-size: 15px;
  }

  .has-bottom-nav .mobile-cart:active {
    transform: scale(0.96);
  }

  /* Bottom navigation bar */
  .has-bottom-nav .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    padding: 6px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    transform: translateY(calc(100% + 30px));
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition);
  }

  .has-bottom-nav .bottom-nav.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 6px 2px;
    border-radius: 14px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: 600 10.5px/1 var(--font-body);
    transition: color var(--transition), background var(--transition);
  }

  .bottom-nav-link i {
    font-size: 17px;
  }

  /* Reset the header theme-toggle styles for the bottom-bar version */
  .bottom-nav .theme-toggle,
  .bottom-nav .theme-toggle:hover {
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    transform: none;
    display: flex;
    cursor: pointer;
  }

  .bottom-nav-link.active {
    color: var(--text);
    background: var(--primary-soft);
  }

  .bottom-nav-link.active i {
    color: var(--primary-dark);
  }

  [data-theme="dark"] .bottom-nav-link.active i {
    color: var(--primary);
  }

  /* Keep the footer clear of the floating bar */
  .has-bottom-nav .site-footer,
  .has-bottom-nav footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .has-bottom-nav .bottom-nav {
    transition: opacity var(--transition);
  }
}

/* Order page: the cart button marks the current page, so the back link isn't needed on phones */
@media (max-width: 700px) {
  .has-bottom-nav .site-header .back-link {
    display: none;
  }

  .has-bottom-nav .mobile-cart.is-current {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 22%, transparent);
  }
}

/* Hide the vertical "CRISPY • FRESH • DELICIOUS" label below the laptop layout (900px and under) */
@media (max-width: 900px), (max-width: 1024px) and (orientation: portrait) {
  .hero-eyebrow {
    display: none;
  }
}

/* ---------- BRAND COLLAGE: scroll-driven spread ----------
   The section is one screen tall plus extra scroll distance (--collage-travel).
   The inner box sticks under the header while that distance is scrolled,
   and the script turns that scroll into the spread animation. */
.collage-section {
  --header-h: 78px;          /* updated by script.js to the real header height */
  --collage-travel: 110vh;   /* how much scrolling the spread takes */
  --bottom-inset: 0px;       /* space kept clear at the bottom (mobile nav bar) */
  min-height: 0;
  height: calc(100vh + var(--collage-travel));
  height: calc(100svh + var(--collage-travel));
}

.collage-section .collage-sticky {
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 0;
  align-items: start;
}

.collage-section .collage-stage {
  height: calc(100% - var(--bottom-inset));
}

.collage-section .collage-title {
  top: calc(50% - var(--bottom-inset) / 2);
}

.collage-section .collage-item {
  transform-origin: center;
  backface-visibility: hidden;
}

@media (max-width: 700px) {
  .collage-section {
    --collage-travel: 90vh;
    --bottom-inset: 92px;    /* keep the cards above the floating bottom nav */
  }
}

/* Reduced motion: no pinning, cards simply shown in their final layout */
.collage-section.collage-static {
  height: auto;
}

.collage-section.collage-static .collage-sticky {
  position: relative;
  top: 0;
  height: 100vh;
  height: 100svh;
}

/* Very narrow phones (e.g. iPhone SE): cart icon only, so the logo isn't covered */
@media (max-width: 359px) {
  .has-bottom-nav .mobile-cart {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .has-bottom-nav .mobile-cart span {
    display: none;
  }
}

/* Keep each collage photo fully inside its card (tall jars were being cut off) */
.collage-section .collage-item {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.collage-section .collage-item img {
  min-width: 0;
  min-height: 0;
  padding: 10px;
}

/* Line break in the headline is only used on tablets */
.hero h1 .br-tablet {
  display: none;
}

/* ============================================================
   HERO REFINEMENTS — tablets and phones
   (901px and wider uses the laptop side-by-side layout)
   ============================================================ */

/* Portrait tablets: big two-line headline, image about half the screen */
@media (min-width: 701px) and (max-width: 900px), (min-width: 901px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-grid {
    gap: 22px;
  }

  .hero-photo {
    width: min(95vw, 72vh);   /* image is 3:2, so its height stays under ~48% of the screen */
  }

  /* container pads the left only (image bleeds right); match it so the text is centred */
  .hero-copy {
    padding-right: 24px;
  }

  .hero h1 .br-tablet {
    display: inline;           /* "A little crunch of / joy in every bite." like on laptop */
  }

  .hero h1 {
    font-size: clamp(52px, 8vw, 68px);
    line-height: 0.99;
    letter-spacing: -0.05em;
    max-width: 640px;          /* wraps as "A little crunch of / joy in every bite." */
    margin: 0 0 18px;
  }

  .hero-copy > p {
    font-size: 17px;
    max-width: 580px;
  }

  .hero-actions .btn {
    padding: 15px 22px;
    font-size: 15px;
  }

  .trust-row {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* Phones: shorter image, buttons side by side, so everything fits on the first screen */
@media (max-width: 700px) {
  .hero-grid {
    gap: 12px;
  }

  /* the hero container only pads the left (so the image can bleed off the right);
     pad the text column on the right too so it sits centred */
  .hero-copy {
    padding-right: 20px;
  }

  .hero-visual {
    margin: 4px 0 4px;
  }

  .hero-photo {
    width: 118vw;              /* was 140vw — about 55px shorter on a typical phone */
  }

  .hero h1 {
    margin: 10px 0 14px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;         /* always side by side on phones */
    max-width: 380px;
    gap: 10px;
    margin-top: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin-bottom: 0;
    padding: 13px 10px;
    font-size: 13.5px;
    white-space: nowrap;
    gap: 7px;
  }

  .trust-row {
    margin-top: 20px;
    padding-top: 16px;
  }
}

@media (max-width: 380px) {
  .hero-actions .btn {
    font-size: 12.5px;
    padding: 12px 8px;
  }
}

/* ============================================================
   TYPOGRAPHY — Fraunces (headings) + Plus Jakarta Sans (text)
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
}

/* Fraunces: soft, slightly rounded letterforms; a serif needs a little more air than Montserrat did */
.hero h1,
.page-hero h1,
.section-heading h2,
.collage-title h2,
.about-copy h2,
.cta-card h2,
.category-heading h2,
.order-banner h2,
.order-summary h1,
.form-card h2 {
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.02em;
}

.hero h1 {
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* "joy" in gold italic */
.hero h1 em {
  font-style: italic;
  font-weight: 600;
}

.feature-card h3,
.product-body h3 {
  font-variation-settings: "SOFT" 50;
  letter-spacing: -0.01em;
}

.logo {
  font-variation-settings: "SOFT" 50;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- PRODUCT TILES ----------
   Every product photo sits on the same plain tile, everywhere and in both themes:
   light theme  pure white, faint warm border
   dark theme   soft warm ivory (pure white glares on a dark page)
   The see-through packaging and golden chips look best on a light tile, so the
   tile stays light in dark mode. A soft shadow under the product grounds it. */
:root {
  --tile-bg: #ffffff;
  --tile-border: rgba(90, 64, 16, 0.10);
  --tile-shadow: drop-shadow(0 10px 12px rgba(60, 42, 8, 0.14)) drop-shadow(0 2px 3px rgba(60, 42, 8, 0.08));
}
[data-theme="dark"] {
  --tile-bg: #f1ece3;
  --tile-border: rgba(255, 255, 255, 0.10);
  --tile-shadow: drop-shadow(0 10px 12px rgba(40, 28, 6, 0.20)) drop-shadow(0 2px 3px rgba(40, 28, 6, 0.10));
}

/* the tile */
.product-image,
.collage-item,
.collage-section .collage-item,
.pv-slide.is-cutout,
.pv-thumb.is-cutout,
.order-item-img,
.product-option img,
.about-photo .dl-card-thumb {
  background: var(--tile-bg);
}
.order-item-img,
.product-option img,
.about-photo .dl-card-thumb,
.pv-thumb.is-cutout { box-shadow: inset 0 0 0 1px var(--tile-border); }
.collage-item,
.collage-section .collage-item { border-color: var(--tile-border); }
.product-image { border-bottom: 1px solid var(--tile-border); }

/* the same breathing space around each product */
.image-viewer-trigger { padding: 22px; }
.collage-section .collage-item img { padding: 16px; }

/* soft grounding shadow under the product (big photos only) */
.image-viewer-trigger img,
.collage-section .collage-item img,
.pv-slide.is-cutout img {
  filter: var(--tile-shadow);
}
.product-card.is-sold-out .product-image img { filter: grayscale(0.85) var(--tile-shadow); }

/* ---------- PROMO FLYER POP-UP ---------- */
.promo-pop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 17, 12, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.promo-pop.is-open { opacity: 1; }
.promo-card {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  width: min(440px, 100%);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.promo-pop.is-open .promo-card { transform: none; }
.promo-card img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.promo-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform var(--transition);
}
.promo-close:hover { transform: rotate(90deg); }
.promo-actions { display: flex; gap: 10px; width: 100%; }
.promo-actions .btn { flex: 1; justify-content: center; }
.promo-later {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.promo-later:hover { background: rgba(255, 255, 255, 0.24); }
@media (max-width: 700px) {
  .promo-card { width: min(92vw, 420px); }
  .promo-close { top: -12px; right: -8px; }
  .promo-card img { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-pop, .promo-card { transition: none; }
}

/* ---------- ORDER: spam trap + proof of transfer ---------- */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pay-proof { display: grid; gap: 2px; margin: 18px 0 4px; padding-top: 16px; border-top: 1px dashed var(--border); text-align: left; }
.pay-proof .field { margin-bottom: 12px; }
.field-label-text { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.field-label-text small { color: var(--text-muted); font-weight: 400; }
.receipt-pick {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.receipt-pick:hover, #receiptFile:focus-visible + .receipt-pick { border-color: var(--primary); color: var(--text) !important; }
.receipt-pick i { font-size: 17px; color: var(--primary-dark); }
[data-theme="dark"] .receipt-pick i { color: var(--primary); }
.receipt-pick.has-file { border-style: solid; color: var(--text) !important; }
.receipt-pick.has-file i { color: var(--st-good, #0ca30c); }
.receipt-pick span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-clear { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--text-muted); font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.receipt-clear[hidden] { display: none; }
#payerField.has-error input { border-color: var(--warning); }
