@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --brown: #8b6f4e;
  --brown-dark: #5c4433;
  --brown-light: #c4a882;
  --olive: #7a8c6e;
  --olive-light: #e8eddf;
  --cream: #f2ede6;
  --warm-white: #faf8f5;
  --off-white: #f2ede6;
  --card-bg: #f5f0e8;
  --text-primary: #2c2318;
  --text-secondary: #7a6a58;
  --text-muted: #b0a090;
  --border: #e0d8cc;
  --border-strong: #c4b8a8;
  --white: #ffffff;
  --red: #c0392b;
  --seasonal: #b5651d;
  --seasonal-tint: #fbf0e2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--warm-white); color: var(--text-primary); }

.accent-line { height: 3px; background: linear-gradient(90deg, var(--brown-light), var(--olive), var(--brown-light)); }

/* NAV */
nav {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 2.5rem; display: flex; justify-content: space-between;
  align-items: center; height: 64px; position: sticky; top: 0; z-index: 200;
}
.nav-brand { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-style: italic; color: var(--text-primary); text-decoration: none; letter-spacing: 1px; cursor: pointer; }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 12px; letter-spacing: 1.5px; transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: var(--text-primary); }
.nav-order-btn { background: var(--brown); color: var(--white) !important; padding: 0.5rem 1.25rem; border-radius: 3px; font-size: 11px !important; letter-spacing: 2px !important; text-transform: uppercase; transition: background 0.2s !important; white-space: nowrap; cursor: pointer; text-decoration: none; }
.nav-order-btn:hover { background: var(--brown-dark) !important; }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--text-primary); transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.page { display: none; }
.page.active { display: block; }

/* HERO */
.hero {
  background: var(--brown-dark); min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: url("images/hero-bg.webp") center center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(58,36,24,0.6) 0%, rgba(92,68,51,0.55) 50%, rgba(122,90,58,0.5) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow { font-size: 10px; letter-spacing: 6px; font-weight: 500; color: #e0c9a6; text-transform: uppercase; margin-bottom: 1.5rem; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(56px, 9vw, 96px); font-style: italic; font-weight: 300; color: var(--white); line-height: 1; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.hero-title span { color: var(--brown-light); }
.hero-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.5rem 0; }
.hero-divider-line { width: 60px; height: 2px; background: rgba(255,255,255,0.55); }
.hero-divider-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brown-light); }
.hero-sub { font-size: 11px; letter-spacing: 4px; font-weight: 500; color: rgba(255,255,255,0.85); text-transform: uppercase; margin-bottom: 1.25rem; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-slogan { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-style: italic; font-weight: 500; color: #e0c9a6; opacity: 1; margin-bottom: 2.5rem; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-btn { display: inline-block; background: #e0c9a6; color: var(--brown-dark); padding: 0.9rem 2.5rem; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; border-radius: 2px; cursor: pointer; transition: all 0.2s; border: none; }
.hero-btn:hover { background: var(--white); }

.pickup-banner { background: var(--olive-light); border-bottom: 1px solid #d4ddc8; padding: 0.85rem 2rem; text-align: center; font-size: 12px; color: var(--olive); }
.pickup-banner strong { color: var(--brown-dark); }

/* ABOUT SECTION */
.about-section { background: var(--white); padding: 6rem 2rem; }
.about-inner { max-width: 680px; margin: 0 auto; }
.about-eyebrow { font-size: 10px; letter-spacing: 5px; color: var(--olive); text-transform: uppercase; margin-bottom: 1rem; }
.about-title { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-style: italic; font-weight: 300; color: var(--text-primary); margin-bottom: 1.5rem; line-height: 1.15; }
.about-text { font-size: 14px; color: var(--text-secondary); line-height: 1.95; margin-bottom: 1.25rem; }
.about-btn { display: inline-block; border: 1px solid var(--brown); color: var(--brown); padding: 0.75rem 1.75rem; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; border-radius: 2px; background: transparent; margin-top: 0.5rem; }
.about-btn:hover { background: var(--brown); color: var(--white); }
/* COOKIE CARDS GRID — like Bakerie Marie */
.cookies-section { padding: 6rem 2rem; background: var(--warm-white); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow { font-size: 10px; letter-spacing: 5px; color: var(--olive); text-transform: uppercase; margin-bottom: 0.5rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-style: italic; font-weight: 300; color: var(--text-primary); }

.cookie-cards-grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Individual cookie card — Bakerie Marie style with more padding */
.cookie-card-bm {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.cookie-card-bm:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.cookie-card-bm img {
  width: 75%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  display: block;
  background: var(--cream);
}
.cookie-card-bm-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; font-weight: 400; color: var(--text-primary); margin-bottom: 0.85rem; line-height: 1.2; }
.badge-new {
  display: inline-block; background: var(--brown-dark); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-style: normal; font-weight: 600;
  font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; vertical-align: middle;
}

/* Seasonal / limited-time flavors */
.badge-seasonal {
  display: inline-block; background: var(--seasonal); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-style: normal; font-weight: 600;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; vertical-align: middle;
}
.cookie-card-bm.seasonal {
  position: relative;
  overflow: hidden;
  padding-top: 4.25rem;
  background: var(--seasonal-tint);
  box-shadow: inset 0 0 0 1.5px var(--seasonal);
}
.cookie-card-bm.seasonal:hover { box-shadow: inset 0 0 0 1.5px var(--seasonal), 0 16px 48px rgba(0,0,0,0.08); }
.seasonal-banner {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--seasonal); color: var(--white);
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0.7rem 1rem; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.season-ornament { width: 15px; height: 15px; flex-shrink: 0; }
.seasonal-banner .season-ornament:first-child { transform: rotate(-12deg); }
.seasonal-banner .season-ornament:last-child { transform: rotate(12deg); }
.badge-seasonal .season-ornament,
.flavor-opt-seasonal-tag .season-ornament {
  width: 11px; height: 11px; vertical-align: -2px; margin-right: 4px;
}
.cookie-feature.seasonal .cookie-feature-img-wrap {
  background: var(--seasonal-tint);
  box-shadow: inset 0 0 0 1.5px var(--seasonal);
}
.flavor-opt.seasonal { position: relative; background: var(--seasonal-tint); border-color: var(--seasonal); }
.flavor-opt.seasonal.selected { border: 1.5px solid var(--seasonal); }
.flavor-opt-seasonal-tag {
  background: var(--seasonal); color: var(--white);
  font-size: 8px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 6px; margin: -1rem -0.75rem 0.75rem; text-align: center;
}

/* Season themes — each one just re-points the seasonal color tokens */
.season-autumn {
  --seasonal: #b5651d;
  --seasonal-tint: #fbf0e2;
}
.season-christmas {
  --seasonal: #1f5c3a;
  --seasonal-tint: #eef4ef;
  --seasonal-alt: #c0272d;
}
/* Autumn: faint falling-leaf motif behind the card */
.cookie-card-bm.season-autumn::before {
  content: '';
  position: absolute; top: 3.5rem; right: -1.5rem;
  width: 150px; height: 150px; pointer-events: none;
  opacity: 0.1; z-index: 0;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c5 4.5 7 8.5 7 11.5a7 7 0 0 1-14 0C5 10.5 7 6.5 12 2Z' fill='%23b5651d'/%3E%3C/svg%3E");
  transform: rotate(24deg);
}
/* Christmas: candy-cane stripe above the banner */
.cookie-card-bm.season-christmas .seasonal-banner { padding-top: 0.95rem; }
.cookie-card-bm.season-christmas .seasonal-banner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 7px;
  background: repeating-linear-gradient(115deg,
    var(--seasonal-alt) 0 7px, var(--white) 7px 14px);
}
.cookie-feature.season-christmas .cookie-feature-img-wrap { position: relative; overflow: hidden; }
.cookie-feature.season-christmas .cookie-feature-img-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 9px;
  background: repeating-linear-gradient(115deg,
    var(--seasonal-alt) 0 9px, var(--white) 9px 18px);
}
.flavor-opt.season-christmas .flavor-opt-seasonal-tag { position: relative; }
.flavor-opt.season-christmas .flavor-opt-seasonal-tag::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: repeating-linear-gradient(115deg,
    var(--seasonal-alt) 0 4px, var(--white) 4px 8px);
}

.cookie-card-bm-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.75rem; flex: 1; }
.cookie-card-bm-btn {
  display: inline-block; background: var(--brown-dark); color: var(--white);
  padding: 0.8rem 2rem; font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-style: italic; letter-spacing: 2px;
  border-radius: 30px; cursor: pointer; border: none; transition: background 0.2s; width: 100%;
}
.cookie-card-bm-btn:hover { background: var(--brown); }

/* REVIEWS */
.reviews-section { background: var(--off-white); padding: 5rem 2rem; border-top: 1px solid var(--border); }
.reviews-inner { max-width: 900px; margin: 0 auto; }
.review-card { background: var(--white); border-radius: 12px; padding: 2rem 2.5rem; border: 1px solid var(--border); }
/* Slideshow: cards stack in one grid cell (so the box is as tall as the longest review and never jumps) and cross-fade */
.review-track { display: grid; }
.review-track .review-card { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.review-track .review-card.active { opacity: 1; visibility: visible; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.review-arrow { background: none; border: 1px solid var(--border); border-radius: 50%; width: 34px; height: 34px; font-size: 20px; line-height: 1; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; }
.review-arrow:hover { border-color: var(--brown-light); color: var(--brown); }
.review-dots { display: flex; gap: 8px; }
.review-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--border); cursor: pointer; transition: background 0.2s; }
.review-dot.active { background: var(--brown); }
@media (prefers-reduced-motion: reduce) { .review-track .review-card { transition: none; } }
.review-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; font-weight: 300; color: var(--text-primary); line-height: 1.7; margin-bottom: 0.75rem; }
.review-author { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; }
.review-stars { color: var(--brown-light); font-size: 14px; margin-bottom: 0.5rem; }

/* INFO STRIP */
.info-strip { background: var(--brown-dark); padding: 4rem 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.info-eyebrow { font-size: 10px; letter-spacing: 3px; color: var(--brown-light); text-transform: uppercase; margin-bottom: 0.4rem; opacity: 0.8; }
.info-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; font-weight: 300; color: var(--white); margin-bottom: 0.3rem; }
.info-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* OUR COOKIES PAGE */
.cookies-hero { background: var(--brown-dark); padding: 4rem 2rem; text-align: center; }
.cookies-hero-title { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-style: italic; font-weight: 300; color: var(--white); }
.cookies-hero-sub { font-size: 11px; letter-spacing: 4px; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-top: 0.75rem; }

.cookies-list { max-width: 960px; margin: 0 auto; padding: 4rem 2rem; }
.cookie-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.cookie-feature:last-child { border-bottom: none; }
.cookie-feature.reverse { direction: rtl; }
.cookie-feature.reverse > * { direction: ltr; }
.cookie-feature-img-wrap { background: var(--card-bg); border-radius: 16px; padding: 2rem; display: flex; align-items: center; justify-content: center; }
.cookie-feature-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; display: block; background: var(--cream); }
.cookie-feature-eyebrow { font-size: 10px; letter-spacing: 4px; color: var(--olive); text-transform: uppercase; margin-bottom: 0.75rem; }
.cookie-feature-name { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-style: italic; font-weight: 300; color: var(--text-primary); line-height: 1.1; margin-bottom: 1rem; }
.cookie-feature-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.5rem; }
.cookie-feature-btn { display: inline-block; background: var(--brown); color: var(--white); padding: 0.8rem 1.75rem; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border: none; border-radius: 3px; transition: background 0.2s; }
.cookie-feature-btn:hover { background: var(--brown-dark); }

/* ABOUT PAGE */
.about-hero { background: var(--brown-dark); padding: 5rem 2rem; text-align: center; }
.about-hero-title { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-style: italic; font-weight: 300; color: var(--white); }
.about-hero-sub { font-size: 11px; letter-spacing: 4px; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-top: 0.75rem; }
.about-body { max-width: 800px; margin: 0 auto; padding: 5rem 2rem; }
.about-body p { font-size: 15px; color: var(--text-secondary); line-height: 2; margin-bottom: 1.5rem; }
.about-body p:first-child { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; color: var(--text-primary); line-height: 1.7; }


/* LARGE ORDERS PAGE */
.large-hero { background: var(--brown-dark); padding: 5rem 2rem; text-align: center; }
.large-hero-title { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-style: italic; font-weight: 300; color: var(--white); }
.large-hero-sub { font-size: 11px; letter-spacing: 4px; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-top: 0.75rem; }
.large-body { max-width: 800px; margin: 0 auto; padding: 5rem 2rem; }
.large-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-style: italic; color: var(--text-primary); margin-bottom: 1rem; }
.large-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.5rem; }
.large-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.large-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; }
/* A lone card on the last row sits centered under the two above it */
.large-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.75rem); }
.large-card-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; color: var(--text-primary); margin-bottom: 0.5rem; }
.large-card-text { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.large-contact-btn { display: inline-block; background: var(--brown); color: var(--white); padding: 0.9rem 2rem; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border: none; border-radius: 3px; transition: background 0.2s; text-decoration: none; }
.large-contact-btn:hover { background: var(--brown-dark); }

/* ORDER PAGE */
.steps { display: flex; align-items: center; justify-content: center; margin-bottom: 3.5rem; }
.step { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; color: var(--text-muted); transition: all 0.3s; }
.step.active .step-num { background: var(--brown); border-color: var(--brown); color: var(--white); }
.step.done .step-num { background: var(--olive); border-color: var(--olive); color: var(--white); }
.step-label { font-size: 10px; letter-spacing: 1px; color: var(--text-muted); }
.step.active .step-label { color: var(--brown); }
.step.done .step-label { color: var(--olive); }
.step.done { cursor: pointer; }
.step.done:hover .step-num, .step.done:focus-visible .step-num { background: var(--brown); border-color: var(--brown); }
.step.done:hover .step-label, .step.done:focus-visible .step-label { color: var(--brown); }
.step.done:focus-visible { outline: none; }
.step-line { width: 64px; height: 0.5px; background: var(--border); margin-bottom: 18px; }
.form-section { display: none; animation: fadeIn 0.3s ease; }
.form-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.order-main { max-width: 800px; margin: 0 auto; padding: 3.5rem 2rem; }
.order-section-header { text-align: center; margin-bottom: 2.5rem; }
.order-eyebrow { font-size: 10px; letter-spacing: 4px; color: var(--olive); text-transform: uppercase; margin-bottom: 0.5rem; }
.order-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-style: italic; font-weight: 400; color: var(--text-primary); }
.order-desc { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 2rem; }
.box-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.75rem 0.75rem; text-align: center; cursor: pointer; transition: all 0.2s; position: relative; }
.box-card:hover { border-color: var(--brown-light); background: var(--warm-white); }
.box-card.selected { border: 1.5px solid var(--brown); background: var(--off-white); }
.popular-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--olive); color: var(--white); font-size: 9px; letter-spacing: 1.5px; padding: 2px 10px; white-space: nowrap; border-radius: 20px; }
.box-count { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--text-primary); line-height: 1; }
.box-label { font-size: 9px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin: 6px 0 12px; }
.box-price { font-size: 20px; font-weight: 500; color: var(--brown); }
.cookie-slot { background: var(--white); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s; }
.cookie-slot.filled { border-color: var(--brown-light); }
.slot-header { display: flex; align-items: center; gap: 12px; padding: 0.85rem 1rem; background: var(--warm-white); border-bottom: 1px solid var(--border); }
.slot-num { width: 26px; height: 26px; border-radius: 50%; background: var(--cream); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; flex-shrink: 0; transition: all 0.2s; }
.cookie-slot.filled .slot-num { background: var(--brown); color: var(--white); }
.slot-label { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.slot-selection { font-size: 11px; color: var(--brown); margin-top: 1px; }
.slot-empty { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.slot-flavors { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 1rem; }
.flavor-opt { border: 1px solid var(--border); background: var(--card-bg); border-radius: 12px; padding: 1rem 0.75rem; text-align: center; cursor: pointer; transition: all 0.2s; overflow: hidden; }
.flavor-opt:hover { border-color: var(--brown-light); background: var(--white); }
.flavor-opt.selected { border: 1.5px solid var(--brown); background: var(--off-white); }
.flavor-opt img { width: 80%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 8px; display: block; background: var(--cream); }
.flavor-opt-name { font-size: 11px; font-weight: 500; color: var(--text-primary); line-height: 1.3; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); font-weight: 500; }
input, select, textarea { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 0.75rem 1rem; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text-primary); transition: border-color 0.2s; outline: none; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brown-light); }
textarea { resize: vertical; min-height: 80px; }
.pickup-single { background: var(--white); border: 1.5px solid var(--brown); border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 12px; }
.pickup-checkmark { width: 22px; height: 22px; border-radius: 50%; background: var(--olive); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.pickup-single-date { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.pickup-single-time { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.wrap-card { display: flex; align-items: center; gap: 1rem; width: 100%; margin-bottom: 1rem; padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: 6px; text-align: left; font: inherit; color: var(--text-primary); cursor: pointer; transition: all 0.2s; }
.wrap-card:hover { border-color: var(--brown-light); background: var(--warm-white); }
.wrap-card.selected { border: 1.5px solid var(--brown); background: var(--off-white); }
.wrap-card:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.wrap-card-icon { font-size: 24px; flex: 0 0 auto; }
.wrap-card-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.wrap-card-title { font-size: 14px; font-weight: 500; }
.wrap-card-sub { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.wrap-card-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.wrap-card-price { font-size: 16px; font-weight: 500; color: var(--brown); }
.wrap-card-action { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border: 1px solid var(--brown); border-radius: 20px; color: var(--brown); white-space: nowrap; }
.wrap-card.selected .wrap-card-action { background: var(--brown); color: var(--white); }
.summary-card { background: var(--brown-dark); border-radius: 4px; padding: 2rem; color: var(--white); margin-bottom: 2rem; }
.summary-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; font-weight: 300; color: var(--cream); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.summary-row:last-child { border-bottom: none; }
.summary-label { color: rgba(255,255,255,0.5); }
.summary-value { color: var(--white); font-weight: 500; text-align: right; max-width: 60%; }
.summary-value.accent { color: var(--brown-light); font-size: 18px; }
.cookie-list-item { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 12px; }
.cookie-list-item:last-child { border-bottom: none; }
.cookie-list-item span:first-child { color: rgba(255,255,255,0.4); }
.cookie-list-item span:last-child { color: var(--white); }
.cookie-list-item .accent-text { color: var(--brown-light); }
.deposit-note { background: rgba(0,0,0,0.2); border-radius: 4px; padding: 1rem; margin-top: 1rem; font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.deposit-note strong { color: var(--brown-light); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.9rem 2rem; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; border: none; border-radius: 4px; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-primary { background: var(--brown); color: var(--white); width: 100%; }
.btn-primary:hover { background: var(--brown-dark); }
.btn-primary:disabled { background: var(--cream); color: var(--text-muted); cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--brown); color: var(--brown); }
.btn-row { display: flex; gap: 10px; margin-top: 1.5rem; }
.btn-row .btn-outline { flex: 0 0 auto; padding: 0.9rem 1.25rem; }
.btn-row .btn-primary { flex: 1; }
.success-screen { text-align: center; padding: 4rem 2rem; display: none; }
.success-screen.active { display: block; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--olive); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 24px; color: var(--white); }
.success-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-style: italic; font-weight: 300; color: var(--text-primary); margin-bottom: 0.5rem; }
.success-sub { font-size: 13px; color: var(--text-muted); max-width: 400px; margin: 0 auto 2rem; line-height: 1.7; }
.receipt-box { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; max-width: 420px; margin: 0 auto; text-align: left; }
.receipt-title { font-size: 10px; letter-spacing: 3px; color: var(--olive); text-transform: uppercase; margin-bottom: 1rem; }
.receipt-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--border); }
.receipt-row:last-child { border-bottom: none; }
.receipt-row span:first-child { color: var(--text-muted); }
.receipt-row span:last-child { font-weight: 500; }
.receipt-row .accent { color: var(--brown); font-size: 16px; }
.checkout-notice { background: var(--olive-light); color: var(--text-primary); border-radius: 4px; padding: 0.9rem 1rem; font-size: 13px; line-height: 1.6; margin-bottom: 1.5rem; }
.allergen-notice { background: var(--warm-white); border: 1px solid var(--border); border-left: 3px solid var(--brown); border-radius: 4px; padding: 0.9rem 1rem; font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin-top: 2rem; }
.allergen-notice strong { color: var(--text-primary); }
.checkout-error { display: none; color: var(--red); font-size: 13px; text-align: center; margin-top: 1rem; }
.checkout-secure { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 1rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-msg { font-size: 12px; color: var(--red); margin-top: 4px; display: none; }
.field.has-error input { border-color: var(--red); }
.field.has-error .error-msg { display: block; }
.validation-note { font-size: 12px; color: var(--red); text-align: center; margin-bottom: 1rem; display: none; }
.banner-closed { display: none; background: var(--brown-dark); color: var(--cream); text-align: center; padding: 1rem 2rem; font-size: 13px; }
.banner-closed strong { color: var(--brown-light); }
.banner-closed.visible { display: block; }
.banner-open { display: none; background: var(--olive); color: var(--white); text-align: center; padding: 0.75rem 2rem; font-size: 12px; letter-spacing: 1px; }
.banner-open strong { color: var(--white); font-weight: 600; }
.banner-open.visible { display: block; }

/* Hide every "Order Now" button/link while pre-orders are closed */
/* Closed: step 2 shows the flavors as a preview only, with a mailing-list button in place of Continue */
.orders-closed-step { display: none; text-align: center; background: var(--off-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.75rem 1.5rem; margin-bottom: 1.5rem; }
.orders-closed-step-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; color: var(--text-primary); margin-bottom: 0.5rem; }
.orders-closed-step-sub { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.step2-closed-btn { display: none; }
.orders-closed .orders-closed-step { display: block; }
.orders-closed .flavor-opt { cursor: default; }
.orders-closed .flavor-opt:hover { border-color: var(--border); background: var(--card-bg); }
/* Small self-dismissing note shown when a flavor is tapped while closed */
.closed-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); max-width: calc(100% - 32px); width: max-content; background: var(--brown-dark); color: var(--white); font-size: 13px; line-height: 1.5; text-align: center; padding: 0.75rem 1.25rem; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s, visibility 0.25s; z-index: 900; pointer-events: none; }
.closed-toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.orders-closed .slot-empty, .orders-closed .step2-continue { display: none; }
.orders-closed .step2-closed-btn { display: inline-flex; }

/* MAILING LIST POPUP */
.mailing-list-overlay { display: none; position: fixed; inset: 0; background: rgba(44,35,24,0.55); z-index: 1000; align-items: center; justify-content: center; padding: 1.5rem; }
.mailing-list-overlay.visible { display: flex; }
.mailing-list-modal { position: relative; background: var(--warm-white); border-radius: 10px; max-width: 420px; width: 100%; padding: 2.5rem 2rem 2rem; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: fadeIn 0.25s ease; }
.mailing-list-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 22px; line-height: 1; color: var(--text-muted); cursor: pointer; padding: 4px; }
.mailing-list-close:hover { color: var(--text-primary); }
.mailing-list-eyebrow { font-size: 10px; letter-spacing: 3px; color: var(--olive); text-transform: uppercase; margin-bottom: 0.75rem; }
.mailing-list-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-style: italic; font-weight: 400; line-height: 1.2; color: var(--text-primary); margin-bottom: 0.75rem; }
.mailing-list-sub { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
#mailing-list-form .field { margin-bottom: 1rem; text-align: left; }
#mailing-list-form .btn-primary { margin-top: 0.5rem; }
#mailing-list-error { display: none; margin-bottom: 1rem; }
#mailing-list-error.visible { display: block; }
.mailing-list-success { display: none; padding: 1rem 0; }
.mailing-list-success.visible { display: block; }
.mailing-list-success p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-top: 0.5rem; }

.optin-row { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.25rem 0 0.5rem; font-size: 13px; line-height: 1.5; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--text-secondary); cursor: pointer; }
.optin-row input { width: 16px; height: 16px; padding: 0; margin: 2px 0 0; flex: 0 0 16px; accent-color: var(--olive); }
.optin-row.pickup-confirm { margin: -0.5rem 0 0; color: var(--text-primary); }
.field.has-error .pickup-confirm span { color: var(--red); }

/* FOOTER */
footer { background: var(--brown-dark); padding: 3rem 2rem; }
.footer-signup { max-width: 1000px; margin: 0 auto 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-signup.hidden { display: none; }
.footer-signup-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-style: italic; font-weight: 300; color: var(--cream); margin-bottom: 0.35rem; }
.footer-signup-sub { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 420px; }
.footer-signup-form { display: flex; gap: 0.5rem; flex: 1 1 320px; max-width: 440px; }
.footer-signup-form input { flex: 1 1 auto; min-width: 0; width: auto; }
.footer-signup-form .btn { flex: 0 0 auto; width: auto; padding: 0.75rem 1.75rem; white-space: nowrap; }
.footer-signup-msg { flex-basis: 100%; font-size: 12px; color: var(--cream); min-height: 0; }
.footer-signup-msg:empty { display: none; }
.footer-signup-msg.error { color: #e8a79c; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-style: italic; font-weight: 300; color: var(--cream); margin-bottom: 0.5rem; }
.footer-brand-sub { font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,0.3); text-transform: uppercase; margin-bottom: 1rem; }
.footer-brand-text { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-col-title { font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 0.5rem; cursor: pointer; transition: color 0.2s; }
.footer-col a:hover { color: var(--brown-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 10px; color: rgba(255,255,255,0.2); max-width: 1000px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.adinkra-divider { text-align: center; padding: 1.5rem 0; background: var(--warm-white); }

@media (max-width: 768px) {
  .cookie-cards-grid { grid-template-columns: 1fr; max-width: 360px; }
  .cookie-feature { grid-template-columns: 1fr; gap: 2rem; }
  .cookie-feature.reverse { direction: ltr; }
  .large-grid { grid-template-columns: 1fr; }
  .large-card:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-signup-form { flex-basis: 100%; max-width: none; }
  .info-strip { grid-template-columns: 1fr; }
  .box-grid { grid-template-columns: repeat(2, 1fr); }
  .slot-flavors { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  nav { padding: 0 1.25rem; }
  .nav-right { gap: 0.75rem; }
  .nav-hamburger { display: flex; }
  .nav-order-btn { padding: 0.5rem 0.85rem; font-size: 10px !important; letter-spacing: 1px !important; }
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .nav-links.open { max-height: 300px; opacity: 1; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem 1.25rem; border-top: 1px solid var(--border); }
}
