:root {
  --blush: #f4d8d0;
  --blush-deep: #e9bfb3;
  --rose: #c77d70;
  --rose-dark: #a85d52;
  --cocoa: #6b3a2c;
  --cocoa-dark: #3f2018;
  --gold: #c9a24a;
  --cream: #fdf7f3;
  --paper: #ffffff;
  --ink: #2c1a14;
  --muted: #8a6f66;
  --line: #f0e2dc;
  --green: #2e7d32;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(107, 58, 44, 0.12);
  --script: "Great Vibes", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
.icon { width: 20px; height: 20px; flex: none; }
.hidden { display: none !important; }

/* ---------- Landing ---------- */
.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.55), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(199,125,112,.25), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 22px, transparent 22px 44px),
    var(--blush);
}
.landing__card {
  width: 100%;
  max-width: 420px;
  padding: 32px 20px 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(107, 58, 44, 0.08);
}
.landing__logo {
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 14px 40px rgba(107,58,44,.2);
}
.landing__name {
  margin: 18px 0 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: 52px;
  line-height: 1;
  color: var(--cocoa);
}
.landing__by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--rose-dark);
}
.landing__by::before, .landing__by::after {
  content: "";
  width: 48px;
  height: 1.5px;
  background: currentColor;
  opacity: .6;
}
.landing__tagline {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--cocoa);
  letter-spacing: .02em;
}
.landing__social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 0;
}
.circle-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(107, 58, 44, 0.25);
  color: var(--cocoa);
  text-decoration: none;
  transition: background .2s;
}
.circle-btn:hover { background: rgba(255,255,255,.5); }

.city-switch {
  display: inline-flex;
  margin: 26px auto 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}
.city-switch button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cocoa);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.city-switch button[aria-pressed="true"] {
  background: var(--cocoa);
  color: #fff;
}

.mode-list {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin: 26px auto 0;
}
.mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.mode-btn:active { transform: scale(.98); }
.mode-btn--outline {
  border: 1.5px solid rgba(107, 58, 44, 0.35);
  color: var(--cocoa);
}
.mode-btn--soft {
  background: var(--cream);
  color: var(--cocoa);
}
.mode-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #d99a8d, var(--rose-dark));
  box-shadow: 0 12px 28px rgba(168, 93, 82, 0.35);
}
.mode-btn .pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cocoa);
  color: #fbe9e3;
  font-size: 10.5px;
  letter-spacing: .04em;
}
.landing__note {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--cocoa);
  opacity: .75;
}

/* ---------- Menu header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--blush);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 18px, transparent 18px 36px);
  padding: 12px 16px 0;
  box-shadow: 0 2px 12px rgba(107,58,44,.06);
}
.topbar__inner, .container {
  max-width: 980px;
  margin: 0 auto;
}
.topbar__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,.7);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font-family: var(--script); font-size: 30px; color: var(--cocoa); white-space: nowrap; }
.brand__by { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--rose-dark); margin-top: 2px; }

.head-btn {
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  color: var(--cocoa);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  position: relative;
}
.head-btn--outline { background: transparent; border: 1.5px solid rgba(107,58,44,.25); }
.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--cocoa);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.search-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: var(--cocoa);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}
.search input::placeholder { color: var(--rose-dark); opacity: .8; }

.filter-wrap { position: relative; }
.filter-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  color: var(--cocoa);
}
.filter-btn[aria-expanded="true"] { background: var(--cocoa); color: #fff; }
.filter-menu {
  position: absolute;
  right: 0;
  top: 56px;
  width: 220px;
  padding: 8px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  z-index: 5;
}
.filter-menu p { margin: 6px 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.filter-menu button {
  display: flex;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
}
.filter-menu button[aria-checked="true"] { background: var(--blush); color: var(--cocoa); font-weight: 600; }

.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.75);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  background: rgba(168,93,82,.72);
}
.tab[aria-selected="true"] { background: #fff; color: var(--cocoa); border-color: #fff; }

/* ---------- Banner slider ---------- */
main { padding: 16px; }
.slider { position: relative; margin-top: 4px; }
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 200px;
  background:
    repeating-linear-gradient(90deg, #fbe7e1 0 26px, #fff6f3 26px 52px);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.slide__text {
  padding: 22px 18px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-dark); }
.slide__title { margin: 6px 0; font-family: var(--script); font-size: 40px; line-height: 1; color: var(--cocoa); font-weight: 400; }
.slide__desc { margin: 0; font-size: 13.5px; color: var(--cocoa); }
.slide__cta { margin-top: 12px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--cocoa); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.slide__img { position: relative; overflow: hidden; }
.slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--blush-deep); transition: width .2s; }
.dots span.on { width: 18px; background: var(--rose-dark); }

.mode-chip-row { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; flex-wrap: wrap; }
.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--blush-deep);
  background: #fff3ef;
  color: var(--rose-dark);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.link { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Menu sections ---------- */
.section { margin-top: 26px; }
.section__head {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  text-align: left;
}
.section__title { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink); }
.section__count { margin-left: auto; color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.section__count svg { transition: transform .2s; }
.section.collapsed .section__count svg { transform: rotate(-90deg); }
.section.collapsed .cards { display: none; }
.cards { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }

.card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  scroll-margin-top: 220px;
}
.card.flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 3px var(--rose); } 100% { box-shadow: 0 0 0 0 transparent; } }
.card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tag svg { width: 14px; height: 14px; }
.tag--bestseller { background: #fde8e6; color: #c0392b; }
.tag--new { background: #fff1e0; color: #d35400; }
.tag--gifting { background: #f3e5f5; color: #7b1fa2; }
.tag--signature { background: #f8efd9; color: #9a7520; }
.card__name { margin: 0; font-size: 17.5px; font-weight: 600; line-height: 1.3; }
.card__desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__price { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-size: 19px; font-weight: 700; }
.price-to { color: var(--muted); font-size: 15px; }
.opts-tag { padding: 3px 9px; border-radius: 6px; background: #fdecea; color: var(--rose); font-size: 13px; font-weight: 600; }
.card__media { position: relative; flex: none; width: 140px; padding-bottom: 18px; }
.card__media img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--blush);
  cursor: pointer;
}
.add-btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 108px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--rose);
  color: var(--rose);
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 0 4px 12px rgba(199,125,112,.18);
}
.add-btn:hover { background: #fff3ef; }
.add-btn .in-cart { font-size: 12px; }
.empty { margin: 40px 0; text-align: center; color: var(--muted); }

@media (max-width: 400px) {
  .card { padding: 14px; gap: 10px; }
  .card__media, .card__media img { width: 118px; }
  .card__media img { height: 118px; }
  .add-btn { width: 96px; }
  .brand__name { font-size: 26px; }
  .head-btn span.lbl { display: none; }
}

/* ---------- Floating cart bar ---------- */
.cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--cocoa);
  color: #fff;
  box-shadow: 0 14px 34px rgba(63,32,24,.35);
  font-weight: 600;
}
.cart-bar small { display: block; font-weight: 400; opacity: .8; font-size: 12.5px; }
.cart-bar__go { display: inline-flex; align-items: center; gap: 6px; }
body.has-cart-bar footer { padding-bottom: 110px; }

/* ---------- Sheets / modals ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(44, 26, 20, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92svh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  background: var(--paper);
  animation: up .25s ease;
}
@media (min-width: 640px) {
  .overlay { align-items: center; padding: 20px; }
  .sheet { border-radius: 24px; }
}
.sheet__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.sheet__head h2 { margin: 0; font-family: var(--serif); font-size: 26px; flex: 1; }
.close-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); }
.sheet__body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.sheet__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

.product-hero { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.product-desc { color: var(--muted); line-height: 1.55; font-size: 14.5px; }
.opt-group { margin-top: 18px; }
.opt-group h3 { margin: 0 0 10px; font-size: 15px; display: flex; justify-content: space-between; }
.opt-group h3 small { color: var(--muted); font-weight: 500; font-size: 12px; }
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  cursor: pointer;
}
.opt:has(input:checked) { border-color: var(--rose); background: #fff7f4; }
.opt input { accent-color: var(--rose-dark); width: 18px; height: 18px; margin: 0; }
.opt span { flex: 1; }
.opt b { font-weight: 600; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--blush-deep); border-radius: 999px; }
.qty button { width: 38px; height: 38px; font-size: 20px; color: var(--rose-dark); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.qty--sm button { width: 32px; height: 32px; font-size: 18px; }
.foot-row { display: flex; align-items: center; gap: 12px; }
.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--cocoa);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.btn--wa { background: #1f9d55; }
.btn--ig { background: linear-gradient(90deg, #c13584, #e1306c, #f77737); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { margin: 0; font-weight: 600; font-size: 15px; }
.cart-item__opts { margin: 2px 0 8px; color: var(--muted); font-size: 13px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; }
.summary { display: flex; justify-content: space-between; margin: 14px 0 4px; font-size: 16px; font-weight: 700; }
.fine { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 4px 0 0; }

.form { display: grid; gap: 12px; margin-top: 18px; }
.form h3 { margin: 8px 0 0; font-family: var(--serif); font-size: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--cocoa); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  outline: 0;
  font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rose); background: #fff; }
.field textarea { min-height: 70px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--cocoa); }
.seg button[aria-pressed="true"] { border-color: var(--cocoa); background: var(--cocoa); color: #fff; }
.error { color: #c0392b; font-size: 13px; margin: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 60;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: up .2s ease;
  max-width: calc(100% - 32px);
  text-align: center;
}

/* ---------- Footer ---------- */
footer {
  margin-top: 40px;
  padding: 32px 20px 24px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.foot-brand img { width: 48px; height: 48px; border-radius: 50%; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4, .foot-contact h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.foot-contact { margin-top: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; }
.foot-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--rose-dark); text-decoration: none; }
.foot-links--muted a { color: var(--muted); font-size: 13.5px; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Gallery & policies ---------- */
.page-title { font-family: var(--script); font-weight: 400; font-size: 48px; color: var(--cocoa); margin: 10px 0 4px; }
.page-sub { margin: 0 0 20px; color: var(--muted); }
.gallery { columns: 2 220px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(20,10,8,.9); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 90vh; border-radius: 12px; }
.lightbox .close-btn { position: absolute; top: 16px; right: 16px; }
.policy { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; scroll-margin-top: 100px; }
.policy h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 26px; }
.policy p, .policy li { color: var(--muted); line-height: 1.65; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--cocoa); font-weight: 600; text-decoration: none; }
.cart-bar__go svg { order: 2; }
.sheet__foot > .btn { width: 100%; }
@media (max-width: 480px) {
  .slide { min-height: 180px; }
  .slide__text { padding: 18px 12px 18px 16px; }
  .slide__title { font-size: 32px; }
  .slide__desc { font-size: 12.5px; }
}

/* ---------- Delivery location picker ---------- */
.summary--sub { margin: 6px 0 0; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.summary--sub + .summary:not(.summary--sub) { margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); }
.loc-search { display: flex; gap: 8px; }
.loc-search input { flex: 1; min-width: 0; }
.loc-btn { width: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--cocoa); color: #fff; }
.loc-results { display: grid; gap: 4px; padding: 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.loc-results button { display: flex; gap: 8px; align-items: flex-start; padding: 8px; border-radius: 8px; text-align: left; font-size: 13.5px; line-height: 1.4; }
.loc-results button:hover { background: var(--cream); }
.loc-results svg { width: 16px; height: 16px; margin-top: 2px; color: var(--rose); }
.loc-results .fine { margin: 4px 6px; }
.loc-gps { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--blush-deep); color: var(--rose-dark); font-weight: 600; font-size: 13.5px; }
.loc-gps svg { width: 16px; height: 16px; }
.loc-info { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--cocoa); }
.loc-info span { color: var(--muted); }

/* ---------- Order placed sheet ---------- */
.sent { text-align: center; padding: 8px 0 4px; }
.sent__icon { width: 64px; height: 64px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: var(--cocoa); }
.sent__icon svg { width: 30px; height: 30px; }
.sent h3 { margin: 14px 0 4px; font-family: var(--serif); font-size: 28px; }
.sent__id { margin: 0 0 8px; font-size: 15px; }
.sent__id b { letter-spacing: .04em; color: var(--cocoa); }
.sent__track { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--blush-deep); color: var(--rose-dark); font-weight: 600; text-decoration: none; }
.btn--light { background: var(--cream); color: var(--cocoa); border: 1.5px solid var(--line); }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--cocoa); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.chip-btn svg { width: 16px; height: 16px; }
.chip-btn--wa { border-color: #1f9d55; color: #1f9d55; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Order status page ---------- */
.track { padding-top: 20px; max-width: 640px; }
.track-status { text-align: center; padding: 28px 20px; border-radius: 24px; background: repeating-linear-gradient(90deg, #fbe7e1 0 26px, #fff6f3 26px 52px); }
.track-status__icon { width: 72px; height: 72px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--cocoa); color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.8); }
.track-status__icon svg { width: 34px; height: 34px; }
.track-status--placed .track-status__icon { background: var(--gold); }
.track-status--completed .track-status__icon { background: var(--rose-dark); }
.track-status--cancelled { background: #f6efed; }
.track-status--cancelled .track-status__icon { background: #9e8a84; }
.track-status__id { margin: 14px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-dark); }
.track-status h1 { margin: 4px 0 6px; font-family: var(--script); font-weight: 400; font-size: 46px; line-height: 1.1; color: var(--cocoa); }
.track-status p { margin: 0; color: var(--cocoa); }
.owner-note { margin: 16px auto 0; max-width: 440px; padding: 12px 16px; border-radius: 14px; background: #fff; text-align: left; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.owner-note b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-dark); margin-bottom: 4px; }

.steps { list-style: none; margin: 22px 0 0; padding: 0 4px; }
.steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 18px; color: var(--muted); }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.steps li.done:not(:last-child)::before { background: var(--rose); }
.steps__dot { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.steps__dot svg { width: 16px; height: 16px; }
.steps li.done .steps__dot { background: var(--rose); border-color: var(--rose); color: #fff; }
.steps li.current .steps__dot { background: var(--cocoa); border-color: var(--cocoa); color: #fff; box-shadow: 0 0 0 5px var(--blush); }
.steps li.current, .steps li.done { color: var(--ink); }
.steps__label { padding-top: 5px; font-weight: 600; font-size: 15px; }
.steps__label small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.track-card { padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.track-card h2 { margin: 0; font-family: var(--serif); font-size: 26px; }
.track-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.track-item small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.track-meta { margin: 16px 0 0; display: grid; gap: 10px; }
.track-meta div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14px; }
.track-meta dt { color: var(--muted); }
.track-meta dd { margin: 0; overflow-wrap: anywhere; }
.track-foot { display: grid; gap: 10px; margin-top: 18px; }
.my-orders { display: grid; gap: 10px; }
.my-order { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--cocoa); }
.my-order__main { flex: 1; display: grid; }
.my-order__main small { color: var(--muted); font-size: 13px; }

/* ---------- Owner dashboard ---------- */
body[data-page="admin"] main { padding-top: 6px; max-width: 760px; }
.login { max-width: 420px; margin: 30px auto; }
.ad-tabs .tab { background: #fff; color: var(--cocoa); border-color: var(--line); }
.ad-tabs .tab span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--blush); font-size: 12px; }
.ad-tabs .tab[aria-selected="true"] { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.ad-tabs .tab[aria-selected="true"] span { background: rgba(255,255,255,.2); }
.ad-list { display: grid; gap: 14px; }
.ad-card { padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--line); }
.ad-card--placed { border-left-color: var(--gold); }
.ad-card--confirmed, .ad-card--baking { border-left-color: var(--rose); }
.ad-card--ready { border-left-color: var(--cocoa); }
.ad-card--completed, .ad-card--cancelled { opacity: .8; }
.ad-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ad-card__head b { letter-spacing: .04em; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--blush); color: var(--cocoa); }
.status-pill svg { width: 14px; height: 14px; }
.status-pill--placed { background: #fbf0d6; color: #8a6514; }
.status-pill--completed { background: #e7f4ea; color: var(--green); }
.status-pill--cancelled { background: #eee; color: #777; }
.ad-who, .ad-when, .ad-total { margin: 6px 0 0; font-size: 14.5px; }
.ad-who a { color: var(--rose-dark); }
.ad-total small { color: var(--muted); margin-left: 6px; }
.ad-details, .ad-edit { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ad-details summary, .ad-edit summary { cursor: pointer; font-weight: 600; color: var(--rose-dark); font-size: 14px; }
.ad-details .link { display: inline-block; margin-top: 12px; }
.ad-edit .field { margin-top: 10px; }
.ad-edit .btn { margin-top: 10px; width: 100%; }
.ad-actions { display: flex; gap: 10px; margin-top: 14px; }
.ad-actions .btn { min-height: 46px; }
.ad-select select { height: 46px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 600; color: var(--cocoa); }
.ad-actions .btn { white-space: nowrap; }
.ad-actions .btn + .ad-select { flex: 0 1 160px; min-width: 0; }
.ad-actions .btn + .ad-select select { width: 100%; }
.ad-actions .ad-select:only-child, .ad-actions .ad-select:only-child select { width: 100%; }
.ad-notify { margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--cream); }
.ad-notify p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.ad-notify__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- UPI payment ---------- */
.pay { margin-top: 16px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--blush-deep); display: grid; gap: 14px; }
.pay__head { display: flex; gap: 12px; align-items: flex-start; }
.pay__head > svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blush); color: var(--cocoa); }
.pay__head h2 { margin: 0; font-family: var(--serif); font-size: 24px; }
.pay__head h2 small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.pay__head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pay--paid { border-color: #b9dfc2; background: #f3faf5; }
.pay--paid .pay__head > svg { background: var(--green); color: #fff; }
.pay--submitted .pay__head > svg { background: #fbf0d6; color: #8a6514; }
.pay--wait { border-style: dashed; }
.btn--upi { background: linear-gradient(90deg, #5f259f, #097939); }
.pay__qr-wrap { text-align: center; }
.pay__qr, .pay__qr-img { width: 216px; margin: 0 auto; padding: 8px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.pay__qr img, .pay__qr canvas { margin: 0 auto; }
.pay__more summary { cursor: pointer; font-weight: 600; color: var(--rose-dark); font-size: 14px; }
.pay__more[open] summary { margin-bottom: 12px; }
.pay__more .fine { text-align: center; }
.pay__id { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); font-size: 14px; overflow-wrap: anywhere; }
.pay__form { display: grid; gap: 8px; }
.pay__form label { font-size: 13px; font-weight: 600; color: var(--cocoa); }
.pay__form input { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); outline: 0; font-size: 15px; }
.pay__form input:focus { border-color: var(--rose); background: #fff; }
.ad-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); font-size: 14px; }
.ad-pay__info { flex: 1; min-width: 120px; }
.ad-pay--submitted { background: #fdf6e3; }
.ad-pay--paid { background: #f3faf5; }
.ad-pay__hint { margin: 6px 2px 0; }
.status-pill--pay-unpaid { background: #f6efed; color: #8a6f66; }
.status-pill--pay-submitted { background: #fbf0d6; color: #8a6514; }
.status-pill--pay-paid { background: #e7f4ea; color: var(--green); }
.chip-btn { white-space: nowrap; flex: none; }

/* ---------- Prep info, slots, add-ons, store address ---------- */
.prep-info { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); font-size: 14px; }
.prep-info > div:first-child { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--cocoa); }
.prep-info > div:first-child span { display: inline-flex; align-items: center; gap: 6px; }
.prep-info svg { width: 16px; height: 16px; color: var(--rose-dark); }
.prep-info p { margin: 10px 0 0; color: var(--muted); line-height: 1.5; font-size: 13.5px; }
.prep-info__links { display: flex; gap: 16px; margin-top: 8px; }
.prep-info__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--rose-dark); font-weight: 600; text-decoration: none; font-size: 13.5px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 480px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot { padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); font-size: 13.5px; font-weight: 600; color: var(--cocoa); }
.slot[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.store-addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--cream); font-size: 13.5px; }
.store-addr svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--rose-dark); }
.store-addr b { display: block; color: var(--cocoa); }
.store-addr span { color: var(--muted); line-height: 1.5; }
.loc-gps--big { justify-self: stretch; justify-content: center; padding: 12px 16px; font-size: 14.5px; background: #fff7f4; }
.loc-skip { justify-self: start; font-size: 13px; padding: 0; }
.addons { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #fff3ef, #fdf7f3); border: 1.5px solid var(--blush-deep); }
.addons h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 22px; color: var(--cocoa); }
.addons h3 small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.addon { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); }
.addon--on { border-color: var(--rose); }
.addon__row { display: flex; align-items: center; gap: 10px; }
.addon__info { flex: 1; min-width: 0; font-size: 14.5px; }
.addon__price { color: var(--rose-dark); font-weight: 700; margin-left: 4px; }
.addon__info small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.addon-toggle { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--rose); color: var(--rose-dark); font-weight: 700; font-size: 13px; }
.addon-toggle svg { width: 14px; height: 14px; }
.addon-toggle[aria-pressed="true"] { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.addon .qty { flex: none; }
.addon__text { width: 100%; margin-top: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); outline: 0; font-size: 14.5px; }
.addon__text:focus { border-color: var(--rose); background: #fff; }
.addon__count { display: block; text-align: right; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.chip-btn--done { border-color: #b9dfc2; color: var(--green); background: #f3faf5; }
@media (max-width: 400px) {
  .mode-btn { font-size: 13px; letter-spacing: .03em; padding: 12px 16px; gap: 8px; }
  .mode-btn .pill { font-size: 10px; padding: 4px 8px; }
}

/* ---------- Option notes, product photo gallery ---------- */
.opt__note { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.opt b { text-align: right; }
.swipe { position: relative; }
.swipe__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.swipe__track::-webkit-scrollbar { display: none; }
.swipe__track > img { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
.swipe__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.swipe__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.65); box-shadow: 0 0 2px rgba(0,0,0,.3); transition: width .2s; }
.swipe__dots span.on { width: 14px; background: #fff; }
.swipe__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: none; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--cocoa); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.swipe__arrow svg { width: 16px; height: 16px; }
.swipe__arrow--prev { left: 8px; }
.swipe__arrow--next { right: 8px; }
@media (hover: hover) and (pointer: fine) { .swipe__arrow { display: grid; } }
.card__media .swipe { width: 140px; }
.card__media .swipe__track { border-radius: 14px; }
.card__media .card__img, .card__media > .card__img { width: 140px; height: 140px; object-fit: cover; border-radius: 14px; background: var(--blush); cursor: pointer; }
.card__media .swipe__track > img { border-radius: 0; }
.card__media .swipe__dots { bottom: 28px; }
.card__media .swipe__arrow { width: 26px; height: 26px; top: 45%; }
@media (max-width: 400px) {
  .card__media .swipe, .card__media .card__img { width: 118px; }
  .card__media .card__img { height: 118px; }
}
.card__media { align-self: flex-start; }
