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

:root {
  --cream:       #FDF6EC;
  --cream-dark:  #F5E6D3;
  --logo-bg:     #EAE3D8;   /* exact logo background colour */
  --brown:       #8C1A1A;   /* brand crimson red */
  --brown-dark:  #04060F;   /* near-black navy for footer/dark sections */
  --brown-text:  #2D1212;
  --terracotta:  #B04040;
  --glove-blue:  #9EB8BE;
  --gold:        #C9A84C;
  --white:       #FFFFFF;
  --shadow:      0 4px 24px rgba(140,26,26,0.10);
  --shadow-lg:   0 8px 48px rgba(140,26,26,0.16);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--brown-text);
  /*
    Deep espresso-charcoal: almost black with a warm undertone.
    Minimal, elegant, lets every logo colour pop without competing.
    Subtle diagonal so it reads as intentional depth, not flat.
  */
  background: linear-gradient(
    160deg,
    #040302 0%,
    #221508 22%,
    #3D2410 48%,
    #221508 72%,
    #060402 100%
  );
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.25; color: #EDD8B0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.section-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.15rem;
  color: rgba(174,199,203,0.82);
  display: block;
  margin-bottom: 0.5rem;
}

em { font-style: italic; color: rgba(174,199,203,0.9); }
.center { text-align: center; }
.section-sub { color: rgba(237,216,176,0.6); max-width: 560px; margin: 0 auto 3rem; text-align: center; }

/* ===== LAYOUT ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary { background: var(--brown); color: var(--white); border: 2px solid var(--brown); }
.btn-primary:hover { background: #6a1010; border-color: #6a1010; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--brown); border: 2px solid var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.btn-full { width: 100%; text-align: center; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Dark glass — matches the body gradient so header feels continuous */
  background: rgba(4, 3, 2, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.nav-logo {
  flex: 1;
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  /* Iridescent sweep — same holographic palette as the mitt shimmer */
  background: linear-gradient(
    90deg,
    #9EB8BE,
    #D4B0F0,
    #8FE5C8,
    #EDD8B0,
    #F0B0D4,
    #9EB8BE
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nav-iridescent 4s linear infinite;
}
.nav-logo:hover { opacity: 0.85; }

@keyframes nav-iridescent {
  0%   { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(237,216,176,0.75);   /* ivory, slightly dimmed */
  transition: color var(--transition);
}
.nav-links a:hover { color: #EDD8B0; }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(237,216,176,0.8);
  transition: color var(--transition);
  padding: 0.3rem;
}
.cart-btn:hover { color: var(--brown); }

.cart-count {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--brown);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: all var(--transition);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

.nav-toggle { display: none; font-size: 1.4rem; color: rgba(237,216,176,0.85); }
.nav-links.nav-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(4, 3, 2, 0.95);
  backdrop-filter: blur(14px);
  padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  z-index: 99;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,8,8,0.45);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 380px; max-width: 100vw; height: 100vh;
  background: var(--white); z-index: 300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-inner { display: flex; flex-direction: column; height: 100%; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--cream-dark); }
.cart-header h2 { font-size: 1.3rem; }
.cart-close { font-size: 1.8rem; color: var(--brown-text); line-height: 1; transition: color var(--transition); }
.cart-close:hover { color: var(--brown); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-empty { color: #9c7a67; font-style: italic; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--cream-dark); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.cart-item-price { color: var(--brown); font-size: 0.9rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cream-dark); color: var(--brown-text);
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--brown); color: white; }
.qty-display { font-weight: 700; width: 24px; text-align: center; }
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--cream-dark); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; }
.cart-note { font-size: 0.8rem; color: #9c7a67; margin-bottom: 1rem; font-style: italic; }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  /* Hero is transparent — the fixed body gradient shows through as the hero bg */
  background: transparent;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ===== LOGO STACK (hero) ===== */
.hero-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

/* Container for logo + mitt overlays */
.logo-stack {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.hero-logo {
  width: 420px;
  max-width: 88vw;
  display: block;
}

/* ===== HOLOGRAPHIC GLOVE SHIMMER ===== */
#logo-mitts { transition: filter 0.5s ease; }

/* Swap cls-1 fill to the animated holographic gradient */
.logo-stack.shimmer #logo-mitts .cls-1 {
  fill: url(#holo-foil);
}

/*
  Glow via SVG filter #mitt-glow (defined in SVG defs), NOT CSS drop-shadow.
  CSS drop-shadow clips to the group's rectangular bounding box → ugly square halo.
  The SVG filter blurs SourceGraphic (actual path pixels) → glow follows mitt shapes exactly.
*/
.logo-stack.shimmer #logo-mitts {
  filter: url(#mitt-glow) brightness(1.06);
}

/* ===== JB MONOGRAM + JAYS BAKES TEXT — warm ivory with subtle outline ===== */
/*
  Change from crimson to a warm ivory/sand that reads elegantly on dark backgrounds.
  paint-order: stroke fill  → stroke renders behind the fill, acting as a clean outer outline.
  JB monogram gets a slightly heavier stroke than the smaller JAYS BAKES letterforms.
*/
#hero-logo-svg .cls-2 {
  fill: #EDD8B0;           /* warm ivory / sand */
  stroke: #A07840;         /* amber-brown outline */
  stroke-width: 1;
  paint-order: stroke fill;
}
#logo-jb .cls-2 {
  stroke-width: 2.5;       /* larger letterforms need a thicker line */
}
#logo-text .cls-2 {
  stroke-width: 0.8;       /* small caps — keep the outline hair-thin */
}
/* The decorative underline swash (cls-1 in text group) keeps its original colour */
#logo-text-underlines > path.cls-1 {
  fill: #8A9EA2;           /* muted steel-blue, slightly desaturated for dark bg */
}

/* Dark vignette behind the hero text so it stays legible across all gradient positions */
.hero-content::after {
  content: '';
  position: absolute;
  /* sits below the logo, covers the text block */
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 95vw;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(26,8,8,0.55) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
/* Text lives above the vignette */
.hero-eyebrow, .hero-title, .hero-sub, .hero .btn { position: relative; z-index: 1; }

/* ===== HERO TEXT ===== */
.hero-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 10px rgba(26,8,8,0.7);
}
.hero-title {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 14px rgba(4,2,1,0.8);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(253,246,236,0.9);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(26,8,8,0.65);
}


/* Hero text: no entrance animation — content appears immediately */

/* ===== ABOUT (parallelogram bg + carousel) ===== */
.about {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(237,216,176,0.07);
  padding: 5rem 0;
}

/* Parallelogram background slices */
.about-para-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.about-para-inner {
  position: absolute;
  left: -15vw; right: -15vw;
  top: 0; bottom: 0;
  transform: skewX(-12deg);
  display: flex;
  overflow: hidden;
}
.about-slice {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.about-slice-bg {
  position: absolute;
  inset: 0 -40%;
  transform: skewX(12deg);
  background-size: cover;
  background-position: center 30%;
  filter: brightness(1.4) contrast(1.05);
}
.about-slice--1 .about-slice-bg { background-image: url('../images/cookies/chocchip-hero.jpg'); }
.about-slice--2 .about-slice-bg { background-image: url('../images/cookies/oreo-hero.jpg'); }
.about-slice--3 .about-slice-bg { background-image: url('../images/cookies/mm-hero.jpg'); background-position: 72% 30%; }

/* Holographic slice dividers */
.about-slice--2::before,
.about-slice--3::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 100%;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    hsl(188,70%,68%), hsl(200,20%,88%), hsl(282,65%,70%),
    hsl(195,22%,86%), hsl(158,68%,65%), hsl(200,15%,90%),
    hsl( 38,80%,68%), hsl(200,18%,90%), hsl(322,68%,68%),
    hsl(195,20%,88%), hsl(188,70%,68%)
  );
  filter: brightness(1.35) saturate(1.1);
}

/* Light scrim — thin veil so cookies read through; text is dark for contrast */
.about-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(255,248,235,0.38) 0%,
    rgba(255,245,225,0.28) 50%,
    rgba(255,248,235,0.38) 100%
  );
}

/* Carousel wrapper */
.about-carousel-wrap {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.about-carousel {
  position: relative;
  min-height: 260px;
  margin-bottom: 2rem;
}

.about-c-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.about-c-panel--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.about-c-panel h2 { margin-bottom: 1rem; color: #1a0a02; }
.about-c-panel p { color: rgba(30,14,4,0.82); margin-bottom: 0; }
.about-c-panel .section-eyebrow { color: rgba(100,55,15,0.85); }

.about-carousel-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-c-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.about-c-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(30,14,4,0.25);
  cursor: pointer;
  transition: all 0.22s ease;
}
.about-c-dot--active {
  background: rgba(100,55,15,0.75);
  width: 22px;
  border-radius: 4px;
}

.about-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .about-para-inner { left: -10vw; right: -10vw; transform: skewX(-8deg); }
  .about-slice-bg { inset: 0 -25%; transform: skewX(8deg); }
  .about-carousel { min-height: 300px; }
  .about-cta-row { flex-direction: column; }
}

/* ===== SIZE SELECT ===== */
.size-select {
  background: transparent;
  border-top: 1px solid rgba(237,216,176,0.07);
  padding: 2rem 0 1.5rem;   /* compact — ~top third of viewport */
}

/* Inline "Step 1 — Choose Your Size" heading */
.size-step-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.size-step-label {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold);
  line-height: 1.2;
}
.size-step-sep {
  color: rgba(237,216,176,0.25);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.2;
}
.size-step-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #EDD8B0;
  font-weight: 700;
  line-height: 1.2;
}

.size-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0;
}
.size-cards--three {
  grid-template-columns: repeat(3, 1fr);
}

.size-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(237,216,176,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.size-card--mix {
  border-color: rgba(174,199,203,0.2);
  background: rgba(174,199,203,0.03);
}
.size-card:hover {
  transform: translateY(-5px);
  border-color: rgba(237,216,176,0.38);
  background: rgba(255,255,255,0.07);
}
.size-card--selected {
  border-color: rgba(237,216,176,0.82);
  background: rgba(237,216,176,0.07);
  box-shadow:
    0 0 18px rgba(201,168,76,0.38),
    0 0 38px rgba(201,168,76,0.14),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-5px);
}
.size-card--selected::after {
  content: '✓ Selected';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}

.size-card-img {
  background: rgba(255,255,255,0.04);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
}
.size-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.size-card-ph { font-size: 3rem; }
.size-card-ph-label { font-size: 0.78rem; color: rgba(237,216,176,0.32); font-style: italic; }

.size-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.size-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #EDD8B0;
}
.size-card-desc {
  font-size: 0.88rem;
  color: rgba(237,216,176,0.55);
  margin-bottom: 0.4rem;
}
.size-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(174,199,203,0.85);
  transition: gap 0.22s ease;
}
.size-card:hover .size-card-cta,
.size-card--selected .size-card-cta { gap: 0.75rem; }

@media (max-width: 640px) {
  .size-cards { grid-template-columns: 1fr; }
}

/* ===== SHOP ===== */
.shop { background: transparent; border-top: 1px solid rgba(237,216,176,0.07); }
.shop h2 { margin-bottom: 0.75rem; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 1rem; }
.product-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(237,216,176,0.1); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card--featured { border: 2px solid var(--gold); }
.product-image-placeholder {
  background: rgba(255,255,255,0.04); height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; letter-spacing: 0.2em;
}
.product-image-wrap { position: relative; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--brown); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 50px;
}
.product-badge--gold { background: var(--gold); }
.product-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-family: 'Playfair Display', serif; margin-bottom: 0.5rem; }
.product-desc { color: rgba(237,216,176,0.6); font-size: 0.9rem; flex: 1; margin-bottom: 1.25rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: rgba(174,199,203,0.9); }

/* ── Box groups (two rows of visual tiles) ── */
.box-groups {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2.5rem;
}

.box-group-hd {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(237,216,176,0.1);
}
.bg-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #EDD8B0;
}
.bg-sub {
  font-size: 0.82rem;
  color: rgba(237,216,176,0.5);
}

.box-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.box-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(237,216,176,0.12);
  border-radius: var(--radius-lg);
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: pointer;
}
.box-tile--selected {
  border-color: rgba(237,216,176,0.82);
  background: rgba(237,216,176,0.07);
  box-shadow:
    0 0 18px rgba(201,168,76,0.38),
    0 0 38px rgba(201,168,76,0.14),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.box-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(237,216,176,0.35);
  background: rgba(255,255,255,0.07);
}

/* Static box photo + scrim on hover */
.box-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: url('../images/box-photo.jpg') center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.box-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(to top, rgba(8,3,1,0.88) 0%, rgba(8,3,1,0.35) 55%, rgba(8,3,1,0.1) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.box-tile:hover::before,
.box-tile:hover::after { opacity: 1; }

.box-tile > * { position: relative; z-index: 1; }

/* ── Shared gallery styles (used by order.html builder boxes) ── */
.tile-gallery {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.tile-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.tile-gallery-img.active { opacity: 1; }

.bt-count, .bt-name, .bt-price { transition: color 0.3s ease; }
.box-tile:hover .bt-count { color: rgba(255,255,255,0.65); }
.box-tile:hover .bt-name  { color: var(--white); }
.box-tile:hover .bt-price { color: #f0c060; }

.box-tile--popular {
  border-color: rgba(201,168,76,0.45);
  border-width: 2px;
}

.bt-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brown);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.bt-badge--value { background: var(--terracotta); }

/* Cookie dot grid */
.bt-dots {
  display: grid;
  gap: 4px;
  margin-bottom: 1rem;
  transition: opacity 0.28s ease;
}
.box-tile:hover .bt-dots { opacity: 0; }
.btd {
  border-radius: 50%;
  display: block;
}
.btd--mini {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 38% 32%, #E8C070 0%, #C49040 38%, #8B5E20 72%, #6B4015 100%);
  box-shadow: inset -1px -1px 3px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.3);
}
.btd--mega {
  width: 26px;
  height: 26px;
  background: radial-gradient(circle at 38% 32%, #E8C070 0%, #C49040 38%, #8B5E20 72%, #6B4015 100%);
  box-shadow: inset -2px -2px 5px rgba(0,0,0,0.3), 0 2px 7px rgba(0,0,0,0.35);
}

.bt-count {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237,216,176,0.5);
  margin-bottom: 0.2rem;
}
.bt-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #EDD8B0;
  margin-bottom: 0.3rem;
}
.bt-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(174,199,203,0.9);
}

/* Per-tile order CTA — centered naturally by tile's align-items:center */
.box-tile-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--brown);
  color: var(--white);
  border: 2px solid var(--brown);
  text-align: center;
  transition: background var(--transition), border-color var(--transition),
              transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
  position: relative;
  z-index: 2;
}
.box-tile-cta:hover {
  background: #6a1010;
  border-color: #6a1010;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.box-tile:hover .box-tile-cta {
  color: #fff;
  border-color: var(--brown);
  background: var(--brown);
}

@media (max-width: 640px) {
  .box-tiles { grid-template-columns: 1fr; }
  .box-group-hd { flex-direction: column; gap: 0.2rem; }
}

/* ===== STORY BRIDGE (CTA pair between My Story + How It Works) ===== */
.story-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(237,216,176,0.07);
  flex-wrap: wrap;
}

/* ===== HOW IT WORKS (infographic) ===== */
.how-it-works { background: var(--brown-dark); color: var(--cream); }
.how-it-works .section-eyebrow { color: var(--gold); }
.how-it-works h2 { color: var(--white); margin-bottom: 3rem; }

.hiw-infographic {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 3rem;
}

.hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(253,246,236,0.1);
  border-radius: 16px;
  padding: 1.75rem 1.25rem 1.5rem;
  position: relative;
}

/* Highlighted last step */
.hiw-step--last {
  border-color: rgba(201,168,76,0.28);
  background: rgba(201,168,76,0.05);
}

.hiw-step-num {
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(201,168,76,0.55);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  line-height: 1;
}
.hiw-step-num::before { content: 'Step '; }

.hiw-step-icon {
  font-size: 2.4rem;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.hiw-step-label {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.hiw-step-sub {
  font-family: 'Dancing Script', cursive;
  font-size: 0.95rem;
  color: var(--gold);
  margin-top: 0.35rem;
  line-height: 1.3;
}

.hiw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  font-size: 1.2rem;
  color: rgba(201,168,76,0.45);
  font-family: 'Lato', sans-serif;
}

/* ── Delivery area callout ── */
.delivery-area {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  background: rgba(201,168,76,0.06);
  text-align: center;
}
.delivery-area-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.delivery-zones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.delivery-zones span {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(253,246,236,0.8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(253,246,236,0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.delivery-area-note {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(253,246,236,0.45);
}

/* City highlight cycle animation */
.delivery-zones span {
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.delivery-zones span.city-active {
  background: rgba(201,168,76,0.22);
  border-color: rgba(201,168,76,0.55);
  color: #EDD8B0;
  transform: translateY(-2px);
}

/* How It Works responsive */
@media (max-width: 760px) {
  .hiw-infographic { flex-direction: column; gap: 0.5rem; }
  .hiw-arrow { width: auto; height: 1.5rem; transform: rotate(90deg); font-size: 1.1rem; color: rgba(201,168,76,0.35); }
}
@media (max-width: 640px) {
  .size-cards--three { grid-template-columns: 1fr; }
  .size-step-heading { flex-direction: column; align-items: center; gap: 0.25rem; }
}

/* ===== COOKIE MILESTONE TRACKER ===== */
.cookie-tracker-band {
  background: linear-gradient(135deg, rgba(201,168,76,0.07) 0%, rgba(140,26,26,0.05) 100%);
  border-top: 1px solid rgba(201,168,76,0.22);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding: 1.5rem 0;
}

.ct-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ct-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ct-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.ct-stats {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.ct-count {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #EDD8B0;
  min-width: 3.5ch;
  text-align: right;
  transition: color 0.3s ease;
}

.ct-sep { color: rgba(237,216,176,0.35); }

.ct-goal { color: rgba(237,216,176,0.6); }

.ct-unit {
  color: rgba(237,216,176,0.45);
  font-size: 0.8rem;
}

.ct-bar-wrap {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 50px;
  overflow: hidden;
}

.ct-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--brown) 0%, var(--gold) 100%);
  width: 0%;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

.ct-bar-fill.ct-goal-reached {
  background: linear-gradient(90deg, #C9A84C 0%, #EDD8B0 100%);
}

.ct-goal-badge {
  font-size: 0.78rem;
  color: rgba(237,216,176,0.4);
  font-style: italic;
  text-align: right;
}

.ct-goal-badge.ct-goal-reached {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  animation: ct-celebrate 0.6s ease;
}

@keyframes ct-celebrate {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.12); }
  70%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

/* ===== MILESTONE BAND ===== */
.milestone-band {
  background: linear-gradient(135deg, rgba(201,168,76,0.10) 0%, rgba(140,26,26,0.08) 100%);
  border-top: 1px solid rgba(201,168,76,0.28);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  padding: 1.25rem 0;
}
.milestone-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.milestone-stamp {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: rgba(201,168,76,0.08);
}
.milestone-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.milestone-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.milestone-copy {
  font-size: 0.92rem;
  color: rgba(237,216,176,0.82);
  line-height: 1.55;
}
.milestone-copy strong { color: #EDD8B0; }
.milestone-date {
  font-size: 0.75rem;
  color: rgba(237,216,176,0.38);
  font-style: italic;
}

/* ===== REVIEWS PLACEHOLDER ===== */
.reviews-section { background: rgba(0,0,0,0.18); border-top: 1px solid rgba(237,216,176,0.07); }
.reviews-section h2 { margin-bottom: 2.5rem; }
.reviews-platforms {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.reviews-platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(237,216,176,0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}
.rpc-icon { font-size: 2.2rem; }
.rpc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #EDD8B0;
}
.rpc-placeholder {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(237,216,176,0.32);
}
.reviews-notice {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(237,216,176,0.3);
  font-style: italic;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(237,216,176,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .reviews-platforms { grid-template-columns: 1fr; }
  .milestone-inner { flex-direction: column; text-align: center; }
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: rgba(0,0,0,0.18); border-top: 1px solid rgba(237,216,176,0.07); }
.testimonials h2 { margin-bottom: 3rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.testimonial-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(237,216,176,0.1); border-radius: var(--radius-lg); padding: 2rem; box-shadow: none; position: relative; }
.testimonial-card::before {
  content: '"'; font-family: 'Playfair Display', serif; font-size: 5rem;
  color: rgba(237,216,176,0.1); position: absolute; top: 0.5rem; left: 1.25rem; line-height: 1;
}
.testimonial-quote { font-style: italic; color: rgba(237,216,176,0.7); font-size: 0.95rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.testimonial-author { font-size: 0.85rem; font-weight: 700; color: var(--gold); }

/* ===== CONTACT ===== */
.contact { background: rgba(0,0,0,0.12); border-top: 1px solid rgba(237,216,176,0.07); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-text h2 { margin-bottom: 1rem; }
.contact-text p { color: rgba(237,216,176,0.7); margin-bottom: 1.5rem; }
.contact-list { display: flex; flex-direction: column; gap: 0.75rem; color: rgba(237,216,176,0.7); }
.contact-list a { color: rgba(174,199,203,0.85); }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(237,216,176,0.1); padding: 2.5rem; border-radius: var(--radius-lg); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(237,216,176,0.55); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid rgba(237,216,176,0.15); border-radius: var(--radius);
  font-family: 'Lato', sans-serif; font-size: 0.95rem;
  color: rgba(237,216,176,0.85); background: rgba(255,255,255,0.04);
  transition: border-color var(--transition); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: rgba(237,216,176,0.5); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(237,216,176,0.28); }
.form-success { color: var(--gold); font-weight: 700; text-align: center; margin-top: 1rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--brown-dark); color: var(--cream); padding: 3rem 0; }
.footer-inner { text-align: center; }
.footer-logo-img {
  height: 90px; width: auto;
  margin: 0 auto 0.75rem;
  /* Transparent PNG on dark bg — boost brightness so all elements are readable */
  filter: brightness(3.5) saturate(0.55);
  opacity: 0.82;
}
.footer-tagline { color: rgba(253,246,236,0.62); margin-bottom: 1.5rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.footer-links a {
  color: rgba(253,246,236,0.62); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: rgba(253,246,236,0.32); font-size: 0.8rem; }

/* ===== INTRO OVERLAY ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #040302;
  animation: intro-overlay-fade 0.9s ease 3.0s forwards;
}

@keyframes intro-overlay-fade {
  to { opacity: 0; }
}

/*
  Oversized by 15vw on each side so the skewed edges bleed past the viewport.
  The overlay's overflow:hidden clips it clean — only the diagonal slice
  dividers are visible; outer edges are straight viewport boundaries.
*/
.intro-para {
  position: absolute;
  left: -15vw;
  right: -15vw;
  top: 0;
  bottom: 0;
  transform: skewX(-12deg);
  overflow: hidden;
  display: flex;
}

.intro-slice {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  transform: translateY(-110%);
}

/*
  Holographic divider lines — same vivid-spectral → silver-flash palette as
  the logo mitt gradient. Pseudo-elements ride with the slice animations.
  Staggered delay keeps them cycling at different phase offsets.
*/
.intro-slice--2::before,
.intro-slice--3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    hsl(188,70%,68%),   /* cyan    */
    hsl(200,20%,88%),   /* silver  */
    hsl(282,65%,70%),   /* purple  */
    hsl(195,22%,86%),   /* silver  */
    hsl(158,68%,65%),   /* mint    */
    hsl(200,15%,90%),   /* silver  */
    hsl( 38,80%,68%),   /* amber   */
    hsl(200,18%,90%),   /* silver  */
    hsl(322,68%,68%),   /* rose    */
    hsl(195,20%,88%),   /* silver  */
    hsl(188,70%,68%)    /* cyan    */
  );
  background-size: 100% 280%;
  animation: holo-divider-sweep 4s linear infinite;
  filter: brightness(1.35) saturate(1.1);
}
.intro-slice--3::before { animation-delay: -1.8s; }   /* offset phase so lines differ */

@keyframes holo-divider-sweep {
  0%   { background-position: 0% 0%; }
  100% { background-position: 0% 280%; }
}

/*
  Entry:  staggered drop  1→2→3 (decelerate in — feels heavy, satisfying)
  Exit:   staggered snap  3→2→1 (accelerate out — mirror of entry, decisive)
  Both use forwards fill; slice-exit's explicit `from` ensures it always
  starts from the settled position regardless of cascade order.
*/
.intro-slice--1 {
  animation:
    slice-drop 0.65s cubic-bezier(.22,.61,.36,1) 0.10s forwards,
    slice-exit 0.42s cubic-bezier(.6, 0, 1, .8)  3.40s forwards;
}
.intro-slice--2 {
  animation:
    slice-drop 0.65s cubic-bezier(.22,.61,.36,1) 0.28s forwards,
    slice-exit 0.42s cubic-bezier(.6, 0, 1, .8)  3.24s forwards;
}
.intro-slice--3 {
  animation:
    slice-drop 0.65s cubic-bezier(.22,.61,.36,1) 0.46s forwards,
    slice-exit 0.42s cubic-bezier(.6, 0, 1, .8)  3.08s forwards;
}

@keyframes slice-drop {
  from { transform: translateY(-110%); }
  to   { transform: translateY(0); }
}

@keyframes slice-exit {
  from { transform: translateY(0); }      /* explicit from = always starts settled */
  to   { transform: translateY(-110%); }
}

/* counter-skew so background images appear straight inside the panels */
.intro-slice-bg {
  position: absolute;
  inset: 0 -40%;
  transform: skewX(12deg);
  background-size: cover;
  background-position: center 30%;
}

/*
 * ── REPLACE THESE WITH YOUR COOKIE MACRO PHOTOS ──
 * Best results: tight close-up shots with high contrast & warm tones.
 * Swap out the filenames below; the layout handles the rest.
 */
.intro-slice--1 .intro-slice-bg { background-image: url('../images/cookies/chocchip-hero.jpg'); }
.intro-slice--2 .intro-slice-bg { background-image: url('../images/cookies/oreo-hero.jpg'); }
.intro-slice--3 .intro-slice-bg { background-image: url('../images/cookies/mm-hero.jpg'); background-position: 72% 30%; }

/* ── DEV: replay button — remove before launch ── */
.replay-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  padding: 0.55rem 1.2rem;
  background: var(--brown);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: background var(--transition);
}
.replay-btn:hover { background: #6a1010; }

@media (max-width: 600px) {
  .intro-para {
    left: -10vw;
    right: -10vw;
    transform: skewX(-8deg);
  }
  .intro-slice-bg {
    inset: 0 -25%;
    transform: skewX(8deg);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .product-grid, .steps-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .product-grid, .steps-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero-logo { width: 230px; }
  .cart-drawer { width: 100vw; }
}

/* ===== ORDER DETAILS MODAL ===== */
.od-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.od-modal.od-open { display: flex; }
.od-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,3,2,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.od-panel {
  position: relative;
  z-index: 1;
  background: #130d07;
  border: 1px solid rgba(237,216,176,0.13);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.75);
}
.od-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.1rem;
  border-bottom: 1px solid rgba(237,216,176,0.1);
  flex-shrink: 0;
}
.od-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #EDD8B0;
  margin: 0;
}
.od-close {
  background: none;
  border: none;
  color: rgba(237,216,176,0.45);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.18s ease;
}
.od-close:hover { color: #EDD8B0; }
.od-body {
  padding: 1.5rem 1.75rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}
.od-field { margin-bottom: 1.25rem; }
.od-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,216,176,0.55);
  margin-bottom: 0.5rem;
}
.od-field input[type="text"],
.od-field input[type="tel"],
.od-field input[type="date"],
.od-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(237,216,176,0.18);
  border-radius: 10px;
  color: #EDD8B0;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color-scheme: dark;
  box-sizing: border-box;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.od-field input:focus,
.od-field select:focus {
  outline: none;
  border-color: rgba(237,216,176,0.5);
  background: rgba(255,255,255,0.07);
}
.od-field select option { background: #130d07; }
.od-hint {
  font-size: 0.77rem;
  color: rgba(237,216,176,0.35);
  margin: 0.45rem 0 0.7rem;
  font-style: italic;
}
.od-rush-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(237,216,176,0.65);
  line-height: 1.45;
}
.od-rush-check input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #ACC7CB;
  cursor: pointer;
}
.od-rush-check strong { color: #ACC7CB; }
.od-lv-notice {
  font-size: 0.8rem;
  color: rgba(237,216,176,0.55);
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.od-lv-notice strong { color: #EDD8B0; }
.od-req { color: rgba(174,199,203,0.75); font-size: 0.85em; }
.od-opt { color: rgba(237,216,176,0.3); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.78em; }
.od-hidden { display: none !important; }
.od-error {
  color: #e87070;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.85rem;
  background: rgba(232,112,112,0.08);
  border-radius: 8px;
  border: 1px solid rgba(232,112,112,0.2);
}
@media (max-width: 520px) {
  .od-panel { border-radius: 16px 16px 0 0; align-self: flex-end; max-height: 95vh; }
  .od-modal { align-items: flex-end; padding: 0; }
}
