/* ── Design System (mirrors site) ── */
:root {
  --olive:       #8BA446;
  --olive-deep:  #6d8235;
  --olive-pale:  #d4e3a8;
  --olive-wash:  #f2f6ea;
  --cream:       #fdf9f3;
  --cream-dark:  #f5ede3;
  --sand:        #eddfd0;
  --terracotta:  #c97a5a;
  --terra-light: #ecb093;
  --espresso:    #3a2f28;
  --latte:       #8a7468;
  --latte-light: #b4a599;
  --white:       #ffffff;
  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-body:     'DM Sans', sans-serif;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 12px rgba(58,47,40,.06);
  --shadow-md:   0 6px 28px rgba(58,47,40,.09);
  --shadow-lg:   0 16px 48px rgba(58,47,40,.15);
  --ease:        cubic-bezier(.4,0,.2,1);
  --step-dur:    .42s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--espresso);
  min-height: 100vh;
}

/* ── TOP BAND ── */
.topbar {
  background: var(--espresso);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 20px rgba(58,47,40,.18);
}
.topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: var(--terra-light); }

/* ── STEP TRACKER ── */
.step-track {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.step-node + .step-node::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 14px;
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,.18);
  transition: background .4s;
}
.step-node.done + .step-node::before { background: var(--olive-pale); }
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  transition: all .35s var(--ease);
  cursor: pointer;
}
.step-node.active .step-dot {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(139,164,70,.25);
}
.step-node.done .step-dot {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--white);
}
.step-label {
  font-size: .64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  transition: color .3s;
}
.step-node.active .step-label { color: var(--olive-pale); }
.step-node.done  .step-label  { color: var(--latte-light); }

/* Spacing between nodes */
.step-spacer {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,.18);
  transition: background .4s;
  margin-bottom: 22px;
}
.step-spacer.done { background: var(--olive-pale); }

/* ── MAIN LAYOUT ── */
.builder {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* ── PANEL WRAPPER ── */
.panel-wrap {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(60px);
  pointer-events: none;
  transition: opacity var(--step-dur) var(--ease), transform var(--step-dur) var(--ease);
}
.panel.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.panel.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

/* ── STEP HEADING ── */
.step-heading {
  margin-bottom: 36px;
}
.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 12px;
}
.step-tag::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--olive);
}
.step-heading h2 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--espresso);
}
.step-heading p {
  color: var(--latte);
  margin-top: 8px;
  font-size: .92rem;
  line-height: 1.55;
}

/* ── STEP 1: EVENT DETAILS ── */
.field-group { margin-bottom: 28px; }
.field-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--latte);
  margin-bottom: 10px;
}

/* Guest counter */
.guest-counter {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  width: fit-content;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.guest-btn {
  width: 52px; height: 56px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--espresso);
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.guest-btn:hover { background: var(--olive-wash); }
.guest-val {
  min-width: 80px;
  text-align: center;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--espresso);
  border-left: 2px solid var(--sand);
  border-right: 2px solid var(--sand);
  padding: 0 16px;
  line-height: 56px;
}

.guest-note {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--latte);
  display: flex;
  align-items: center;
  gap: 6px;
}
.guest-note strong { color: var(--olive-deep); }

/* Event type pills */
.event-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.event-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--sand);
  background: var(--white);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease);
  color: var(--latte);
}
.event-pill:hover { border-color: var(--olive-pale); color: var(--espresso); }
.event-pill.selected {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139,164,70,.28);
}

/* Date input */
.date-input {
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--espresso);
  width: 100%;
  max-width: 300px;
  transition: border-color .25s;
  outline: none;
  box-shadow: var(--shadow-sm);
}
.date-input:focus { border-color: var(--olive); }

/* ── STEP 2: COURSE SELECTION ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.course-card {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.course-card:hover { border-color: var(--olive-pale); box-shadow: var(--shadow-md); }
.course-card.selected {
  border-color: var(--olive);
  background: var(--olive-wash);
  box-shadow: 0 6px 28px rgba(139,164,70,.14);
}
.course-card.selected::before { transform: scaleX(1); }
.course-emoji { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.course-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 6px;
}
.course-desc { font-size: .8rem; color: var(--latte); line-height: 1.4; }
.course-check {
  position: absolute;
  top: 14px; right: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  color: transparent;
  transition: all .3s var(--ease);
}
.course-card.selected .course-check {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
}

/* ── STEP 3: MENU ITEMS ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sand);
}
.section-header h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.section-emoji { font-size: 1.5rem; }

/* Subcategory tabs */
.subcat-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.subcat-tab {
  padding: 7px 16px;
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s;
  color: var(--latte);
}
.subcat-tab:hover { border-color: var(--olive-pale); color: var(--espresso); }
.subcat-tab.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
}

/* Dietary filter */
.diet-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.diet-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--latte);
  margin-right: 4px;
}
.diet-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--sand);
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  color: var(--latte);
}
.diet-chip:hover { border-color: var(--olive-pale); }
.diet-chip.active { background: var(--olive-pale); border-color: var(--olive); color: var(--olive-deep); }

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.item-card {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
  position: relative;
}
.item-card:hover { box-shadow: var(--shadow-md); border-color: var(--latte-light); transform: translateY(-2px); }
.item-card.in-cart { border-color: var(--olive); }

.item-img {
  height: 120px;
  position: relative;
  overflow: hidden;
}
.item-img-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  transition: transform .4s var(--ease);
}
.item-card:hover .item-img-bg { transform: scale(1.06); }

.item-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex; gap: 4px;
}
.badge {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge-v  { background: var(--olive-pale); color: var(--olive-deep); }
.badge-vg { background: #d6f0e8; color: #2a7a57; }
.badge-gf { background: #fde8d4; color: #8a4a1a; }

.item-body { padding: 14px; }
.item-name {
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 4px;
  line-height: 1.2;
}
.item-desc {
  font-size: .72rem;
  color: var(--latte);
  margin-bottom: 10px;
  line-height: 1.35;
}
.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item-price {
  font-size: .82rem;
  font-weight: 700;
  color: var(--olive-deep);
}
.item-price span { font-size: .65rem; font-weight: 400; color: var(--latte); }

/* Qty control */
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--sand);
  background: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  color: var(--espresso);
  line-height: 1;
}
.qty-btn:hover { background: var(--olive); border-color: var(--olive); color: var(--white); }
.qty-val {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--espresso);
}

.add-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--olive);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(139,164,70,.3);
}
.add-btn:hover { background: var(--olive-deep); transform: scale(1.1); }

/* Section divider */
.menu-section + .menu-section { margin-top: 40px; }

/* ── STEP 4: REVIEW ── */
.review-section {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--sand);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.review-section h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: .88rem;
}
.review-item:last-child { border-bottom: none; }
.review-item-name { color: var(--espresso); }
.review-item-trays { font-size: .75rem; color: var(--latte); }
.review-item-price { font-weight: 700; color: var(--olive-deep); }


.summary-note.small-text {
  font-size: 0.8rem;      /* smaller than main text */
  margin-top: 4px;
  color: var(--latte);    /* subtle secondary color */
}


.event-summary-card {
  background: linear-gradient(135deg, var(--espresso), #5a4438);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
  margin-bottom: 20px;
}
.event-summary-card h4 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--terra-light);
}
.event-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.event-meta-item label {
  display: block;
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 3px;
}
.event-meta-item span {
  font-weight: 600;
  font-size: .9rem;
}

/* ── SIDEBAR / ORDER SUMMARY ── */
.summary-sidebar {
  position: sticky;
  top: 90px;
}
.summary-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.summary-head {
  background: linear-gradient(135deg, var(--espresso), #4f3b30);
  padding: 20px 22px;
  color: var(--white);
}
.summary-head h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.summary-head p { font-size: .8rem; opacity: .6; }

.summary-body { padding: 20px 22px; }

.summary-event-info {
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}
.summary-guests { font-weight: 700; font-size: 1.1rem; color: var(--espresso); }
.summary-trays { font-size: .75rem; color: var(--latte); }

.summary-lines { margin-bottom: 18px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--cream-dark);
  align-items: center;
}
.summary-line:last-child { border-bottom: none; }
.summary-line-name { color: var(--espresso); max-width: 170px; }
.summary-line-qty { font-size: .7rem; color: var(--latte); margin-left: 4px; }
.summary-line-price { font-weight: 600; color: var(--olive-deep); }

.summary-empty {
  text-align: center;
  padding: 20px 0;
  color: var(--latte);
  font-size: .82rem;
}
.summary-empty span { display: block; font-size: 1.8rem; margin-bottom: 8px; }

.summary-total {
  background: var(--olive-wash);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.summary-total-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--latte); }
.summary-total-amt { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; color: var(--espresso); }
.summary-pp { font-size: .7rem; color: var(--latte); margin-top: 2px; text-align: right; }

.summary-courses {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.course-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  font-size: .7rem;
  font-weight: 600;
  color: var(--latte);
}
.course-badge.active {
  background: var(--olive-wash);
  color: var(--olive-deep);
  border: 1px solid var(--olive-pale);
}

/* ── NAV BUTTONS ── */
.nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--sand);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--olive);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(139,164,70,.3);
}
.btn--primary:hover { background: var(--olive-deep); box-shadow: 0 8px 28px rgba(139,164,70,.38); }
.btn--ghost {
  background: var(--cream-dark);
  color: var(--latte);
  border: 1.5px solid var(--sand);
}
.btn--ghost:hover { background: var(--sand); color: var(--espresso); }
.btn--checkout {
  background: var(--espresso);
  color: var(--white);
  width: 100%;
  padding: 15px;
  border-radius: var(--radius);
  font-size: .9rem;
  box-shadow: 0 6px 20px rgba(58,47,40,.18);
}
.btn--checkout:hover { background: #2a1f1a; }
.btn--checkout:disabled { opacity: .45; pointer-events: none; cursor: default; transform: none; }

.arrow { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--espresso);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateY(80px);
  opacity: 0;
  transition: all .4s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; }

/* ── SUCCESS SCREEN ── */
.success-screen {
  display: none;
  text-align: center;
  padding: 60px 24px;
  grid-column: 1/-1;
}
.success-screen.show { display: block; }
.success-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--olive-wash);
  border: 3px solid var(--olive-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 28px;
  animation: popIn .6s var(--ease) both;
}
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes momen-spin {
  to { transform: rotate(360deg); }
}
.success-screen h2 {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.success-screen p { color: var(--latte); max-width: 400px; margin: 0 auto 32px; }

/* ── PROGRESS MINI BAR ── */
.progress-bar {
  height: 3px;
  background: var(--sand);
  margin: 0 -24px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--olive), var(--terra-light));
  transition: width .5s var(--ease);
}

/* ── MOBILE STICKY PRICE BAR ── */
.mobile-price-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  background: var(--espresso);
  padding: 12px 20px;
  box-shadow: 0 -4px 24px rgba(58,47,40,.22);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid rgba(255,255,255,.08);
}
.mobile-price-bar__left { display: flex; flex-direction: column; }
.mobile-price-bar__guests {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.mobile-price-bar__total {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.mobile-price-bar__pp {
  font-size: .7rem;
  color: var(--terra-light);
}
.mobile-price-bar__toggle {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.mobile-price-bar__toggle:hover { background: rgba(255,255,255,.18); }

/* Mobile summary drawer */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(58,47,40,.45);
  z-index: 90;
  backdrop-filter: blur(3px);
}
.mobile-drawer-overlay.open { display: block; }
.mobile-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .38s var(--ease);
  padding-bottom: 24px;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer__handle {
  width: 40px; height: 4px;
  background: var(--sand);
  border-radius: 2px;
  margin: 14px auto 20px;
}
.mobile-drawer__close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--latte);
  cursor: pointer;
  line-height: 1;
}

/* ── SUBCATEGORY NAV FILTER ── */
.subcat-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  align-items: center;
}
.subcat-nav::-webkit-scrollbar { display: none; }
.subcat-nav-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--latte);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 4px;
}
.subcat-nav-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--sand);
  background: var(--white);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .22s;
  color: var(--latte);
}
.subcat-nav-chip:hover { border-color: var(--olive-pale); color: var(--espresso); }
.subcat-nav-chip.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
}
.subcat-nav-chip.cat-divider {
  background: transparent;
  border-color: transparent;
  color: var(--sand);
  padding: 0 4px;
  cursor: default;
  font-size: .9rem;
}

/* ── CATEGORY TABS (Step 3) ── */
.cat-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
/* ── CATEGORY TABS (above subcat row) ── */
.cat-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cat-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--sand);
  background: var(--white);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--ease);
  color: var(--latte);
  position: relative;
}
.cat-tab:hover { border-color: var(--olive-pale); color: var(--espresso); box-shadow: var(--shadow-sm); }
.cat-tab.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58,47,40,.18);
}
.cat-tab-count {
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: .68rem;
  font-weight: 700;
}
.cat-tab:not(.active) .cat-tab-count {
  background: var(--cream-dark);
  color: var(--latte);
}


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .builder { grid-template-columns: 1fr; padding-bottom: 100px; }
  .summary-sidebar { display: none; }
  .mobile-price-bar { display: flex; }
  .step-label { display: none; }
  .step-spacer { width: 24px; }
  .items-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
}

/* ── VALIDATION SHAKE ── */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.shake { animation: shake .3s ease; }

/* Color coded category backgrounds */
.bg-appetizer { background: linear-gradient(135deg, #f5e6c8, #e8d0a0); }
.bg-main       { background: linear-gradient(135deg, #dde8c8, #c8d9a0); }
.bg-dessert    { background: linear-gradient(135deg, #f5d4c8, #e8b8a0); }
.bg-cold       { background: linear-gradient(135deg, #c8d9e8, #a0c4d9); }
.bg-soup       { background: linear-gradient(135deg, #e8d4c8, #d4b89a); }
.bg-salad      { background: linear-gradient(135deg, #d4e8c8, #b0d49a); }
.bg-dip        { background: linear-gradient(135deg, #ead4e8, #d4aed4); }
.bg-rice       { background: linear-gradient(135deg, #e8e8c8, #d4d4a0); }
.bg-sweet      { background: linear-gradient(135deg, #f0d4e8, #e0b4d4); }
.bg-pastry     { background: linear-gradient(135deg, #f8e0c0, #f0c89a); }

/* ═══════════════════════════════════════════════════════
   MOMEN SITE HEADER
   ═══════════════════════════════════════════════════════ */
.momen-site-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--sand, #e8e0d5);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.momen-logo-link { display: flex; align-items: center; text-decoration: none; }
.momen-logo-img  { height: 40px; width: auto; display: block; }
.momen-header-tagline {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--latte, #9c8775);
  border-left: 1px solid var(--sand, #e8e0d5);
  padding-left: 16px;
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════
   MOMEN SITE FOOTER
   ═══════════════════════════════════════════════════════ */
.momen-site-footer {
  background: #1c1814;
  color: #b0a090;
  margin-top: 80px;
}
.momen-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 32px;
}
.momen-footer-logo img {
  height: 36px;
  width: auto;
  opacity: .85;
  margin-bottom: 36px;
  /* invert to white on dark bg */
  filter: brightness(0) invert(1);
}
.momen-footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media(max-width:640px){
  .momen-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .momen-site-header { padding: 0 16px; }
  .momen-header-tagline { display: none; }
}
.momen-footer-col h4 {
  font-family: var(--ff-display, serif);
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: .04em;
}
.momen-footer-col p { font-size: .85rem; line-height: 1.7; margin: 0; }
.momen-footer-col a { color: #b0a090; text-decoration: none; transition: color .2s; }
.momen-footer-col a:hover { color: #fff; }
.momen-footer-col ul { list-style: none; margin: 0; padding: 0; }
.momen-footer-col ul li { margin-bottom: 8px; font-size: .85rem; }
.momen-footer-bottom {
  border-top: 1px solid #2e2820;
  padding-top: 24px;
  font-size: .78rem;
  color: #6a5a4a;
  text-align: center;
}

/* ── Hide diet filters (removed from UI) ── */
#dietFilters, .diet-filters { display: none !important; }

/* ── Subcat nav: centered, tighter gap below cat tabs ── */
.subcat-nav {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
  border-bottom: none;
  overflow: visible;
}