:root {
  --bg: #fbf6ec;
  --paper: #fffdf8;
  --ink: #2a2118;
  --ink-soft: #4e4339;
  --line: #eadfce;
  --yolk: #f0b429;
  --yolk-deep: #a56b08;
  --yolk-soft: #fff4d4;
  --cocoa: #3c2415;
  --sage: #1b6b42;
  --sage-soft: #e7f5ec;
  --danger: #8a3028;
  --sans: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", Palatino, Georgia, "Liberation Serif", "Times New Roman", serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -80px, #f6ebd9 0%, transparent 55%),
    #efe2cc;
}

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

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

button { cursor: pointer; }

button,
a { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 3px;
}

.btn.primary:focus-visible {
  outline-color: #fff8ea;
}

.cart-btn:focus-visible,
.account-btn:focus-visible {
  outline-color: #3c2415;
}

::selection { background: #f6d56a; color: #2a2118; }

p { margin: 0 0 8px; }

h1,
h2,
.category-title {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: break-word;
}

h1 { font-size: 1.7rem; margin: 0 0 8px; }
h2 { font-size: 1.45rem; margin: 0 0 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.app {
  width: min(480px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(280px 200px at 100% 90px, rgba(201, 160, 90, 0.12), transparent 70%),
    var(--bg);
}

.app.has-cart { padding-bottom: 132px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 62px;
  padding: 0 14px;
  background: #fffdf8;
  color: #3c2415;
  border-bottom: 1px solid #e6d8c4;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex: 0 0 auto;
  display: block;
  background: transparent;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  gap: 2px;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #3c2415;
  white-space: nowrap;
}

.brand-sub {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: #f0b429;
  color: #3c2415;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: nowrap;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yolk);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 10px 0 14px;
  font-weight: 800;
  flex: 0 0 auto;
}

.badge {
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cocoa);
  color: #fff8ea;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.setup-banner {
  background: #fff4d6;
  color: #3c2415;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 700;
}

.wrap { padding: 20px 20px 28px; }

.hero { padding: 12px 16px 14px; }

.hero-brand { min-width: 0; }

.hero-logo {
  display: block;
  background: transparent;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a58;
}

.hero h1 {
  font-size: 1.95rem;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  max-width: 14em;
}

.lede {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Variant A (default): centred full logo. Switch with class hero-a / hero-b on .hero */
.hero.hero-a {
  text-align: center;
}

.hero.hero-a .hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero.hero-a .hero-logo {
  width: clamp(96px, 28vw, 118px);
  margin: 0 auto 8px;
}

.hero.hero-a .kicker { margin: 0 0 6px; }

.hero.hero-a h1 {
  margin: 0 auto 8px;
  max-width: 16em;
  font-size: 1.42rem;
  line-height: 1.22;
}

.hero.hero-a .lede {
  margin: 0 auto 6px;
  max-width: 100%;
  font-size: 0.86rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.hero.hero-a .lede-bit,
.hero.hero-a .lede-sep {
  white-space: nowrap;
}

.hero.hero-a .btn {
  margin-left: auto;
  margin-right: auto;
}

/* Variant B: logo beside the headline. Switch the hero class to hero-b. */
.hero.hero-b {
  text-align: left;
}

.hero.hero-b .hero-brand {
  display: grid;
  grid-template-columns: clamp(110px, 31vw, 120px) minmax(0, 1fr);
  gap: 12px 16px;
  align-items: center;
  margin: 0 0 20px;
}

.hero.hero-b .hero-logo {
  width: clamp(110px, 31vw, 120px);
  margin: 0;
}

.hero.hero-b .kicker { margin: 0 0 8px; }

.hero.hero-b h1 {
  font-size: 1.42rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  max-width: none;
}

.hero.hero-b .lede {
  margin: 0;
  font-size: 1rem;
}

.goods {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  margin: 0 0 10px;
}

.goods a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 64px;
}

.goods img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: block;
  background: #f6ebd9;
  border: 1px solid #e6d8c4;
}

.hero-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  max-width: 100%;
}

.hero-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 7px 4px 6px;
  background: #fffdf8;
  border: 1px solid #e6d8c4;
  border-radius: 16px;
  text-align: center;
  color: #4e4339;
}

.hero-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  border-radius: 50%;
  border: 1px solid #3c2415;
  background: #3c2415;
  color: #fff8ea;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.hero-step-label {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2a2118;
}

.hero-step-sub {
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.2;
  color: #4e4339;
}

.hero .btn {
  margin-top: 0;
  min-width: 160px;
  padding: 0 22px;
}

.section-title { margin-bottom: 6px; }

.section-lead { color: var(--ink-soft); margin: 0 0 16px; }

#products,
#faq,
#who,
#contact,
.category { scroll-margin-top: 76px; }

.how-line {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.category {
  margin-top: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.category:first-child { margin-top: 0; }

.category-heading { margin: 0; font-size: inherit; font-weight: inherit; }

.category-toggle {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.category-toggle:focus-visible {
  outline: 3px solid #c48a12;
  outline-offset: -3px;
}

.category-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 10px;
  background: #fff8e8;
  border: 1px solid #eadfce;
  object-fit: contain;
}

.category-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
}

.category-count {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-selected {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--yolk);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.category-chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #8a5a12;
  transition: transform 0.18s ease;
}

.category-toggle[aria-expanded="true"] .category-chevron {
  transform: rotate(180deg);
}

.category-panel {
  padding: 0 12px 8px;
  border-top: 1px solid var(--line);
}

.category-panel[hidden] { display: none; }

.blurb { color: var(--ink-soft); margin: 10px 0 8px; }

.products { display: flex; flex-direction: column; gap: 14px; }

.category-panel .product:last-child { border-bottom: 0; }

.product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 14px;
  padding: 14px 4px 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.product.out .thumb { filter: grayscale(0.75); }

.thumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: #f6ebd9;
  border: 1px solid #e6d8c4;
}

.thumb-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #6b3e2e;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.product-name { margin: 0; font-weight: 800; font-size: 1.05rem; }

.price {
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.unit { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.92rem; }

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.stock { margin: 0; font-size: 0.92rem; font-weight: 800; }
.stock.in { color: var(--sage); }
.stock.out { color: var(--danger); }

.dealer {
  margin: 6px 0 0;
  font-weight: 800;
  color: #6b3e2e;
  font-size: 0.92rem;
}

.product-note {
  grid-column: 1 / -1;
  margin: 0;
  background: var(--yolk-soft);
  border-radius: 12px;
  padding: 8px 10px;
  color: #3c2415;
  font-size: 0.9rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  background: #fff8ea;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  flex: 0 0 auto;
}

.step {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 1.55rem;
  line-height: 1;
  border-radius: 999px;
}

.step:disabled { opacity: 0.35; cursor: not-allowed; }

.qty {
  min-width: 2rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yolk);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--sans);
}

.steps h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  margin: 0;
}

.steps p { margin: 4px 0 0; color: var(--ink-soft); }

.faq-list { display: flex; flex-direction: column; gap: 8px; }

details.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
}

details.faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  font-weight: 700;
  font-size: 1.3rem;
  color: #8a5a12;
}

details.faq[open] summary::after { content: "\2013"; }

details.faq p { margin: 0 0 14px; }

.footer { padding: 12px 20px 40px; }

.footer .place {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 16px 0 0;
  line-height: 1.45;
}

.footer .place { margin-top: 6px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 68px;
  margin-bottom: 8px;
  color: var(--ink);
}

.footer-contact.primary {
  border-color: #e6c36a;
  background: #fff8e8;
}

.footer-contact-name { font-weight: 800; }
.footer-contact-meta { color: var(--ink-soft); font-size: 0.9rem; font-weight: 700; }

.place { color: var(--ink-soft); font-size: 0.88rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn.primary {
  background: var(--yolk);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn.primary:hover { background: #e6a820; }

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #e0d2c0;
}

.btn.secondary:hover { background: #fff8ea; }

.btn.ghost {
  background: transparent;
  color: #6b3e2e;
  min-height: 48px;
}

.btn.block { width: 100%; }

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

.back {
  background: transparent;
  border: 0;
  color: #6b3e2e;
  font-weight: 800;
  min-height: 44px;
  padding: 0;
}


.welcome-back {
  background: var(--sage-soft);
  color: var(--cocoa);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.welcome-clear {
  display: inline;
  background: none;
  border: 0;
  padding: 0;
  margin-left: 6px;
  color: #6b3e2e;
  font-weight: 800;
  text-decoration: underline;
  min-height: 0;
}

.remember-box { margin: 0 0 14px; }

.remember {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
}

.remember input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #a56b08;
  flex: 0 0 auto;
}

.remember-note { margin: 6px 0 0 30px; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }

.field label,
legend { font-weight: 800; }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 1.5px solid #e0d2c0;
  background: #fff;
  padding: 12px 14px;
  font-size: 16px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #74706a;
  opacity: 1;
}

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

.address-fields { margin: 0 0 14px; }

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

.address-fields .field { margin: 0; }

.address-grid input {
  text-align: center;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  padding-left: 8px;
  padding-right: 8px;
}


fieldset { border: 0; margin: 0 0 14px; padding: 0; }

legend { margin-bottom: 8px; padding: 0; }

.hint { color: var(--ink-soft); margin: 0 0 8px; font-size: 0.95rem; }

.schedule-title { font-weight: 800; margin: 0 0 4px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.pay-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }

.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 10px;
  background: #fff;
  border: 1.5px solid #e0d2c0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.choice.selected {
  border-color: var(--yolk-deep);
  background: var(--yolk-soft);
  box-shadow: inset 0 0 0 1px var(--yolk-deep);
}

.choice input {
  width: 20px;
  height: 20px;
  accent-color: #a56b08;
  flex: 0 0 auto;
}

.error {
  color: var(--danger);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 6px 0 0;
}

.alert {
  background: #fdeceb;
  color: #6f2822;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  margin: 0 0 12px;
}

.lines {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 10px 10px 12px;
}

.line > div { min-width: 0; }

.line-name { margin: 0; font-weight: 800; }

.line-meta { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.9rem; }

.empty-cart {
  padding: 12px;
  background: var(--paper);
  border-radius: 12px;
}

.totals {
  background: var(--paper);
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
}

.total-row.grand { font-weight: 800; font-size: 1.15rem; margin-top: 8px; }

.fine { color: var(--ink-soft); font-size: 0.9rem; margin: 6px 0 0; }

.gcash-panel {
  background: #f3f7ff;
  border: 1px solid #d5e2f7;
  border-radius: 16px;
  padding: 14px;
  margin: 0 0 16px;
}

.placeholder-flag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #3c2415;
  font-size: 0.85rem;
  font-weight: 800;
}

.gcash-panel h2 {
  font-family: var(--sans);
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.gcash-name { font-weight: 800; margin: 8px 0 0; }

.gcash-number {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 2px 0 8px;
}

.gcash-panel img {
  width: min(200px, 100%);
  height: auto;
  margin-top: 12px;
  border-radius: 12px;
  background: #fff;
}

.check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--sage);
  margin: 4px 0 12px;
}

.confirm h1 { font-size: 1.45rem; }

.order-id {
  display: inline-block;
  margin: 4px 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yolk-soft);
  font-weight: 800;
}

.confirm h2 {
  font-family: var(--sans);
  font-size: 1rem;
  margin: 16px 0 8px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 10px;
}

.contact-btn {
  justify-content: space-between;
  min-height: 68px;
  padding: 12px 16px;
  text-align: left;
}

.contact-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.contact-btn-label { font-size: 1.05rem; line-height: 1.2; }

.contact-btn-meta {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}

.copy-status {
  margin: 0 0 12px;
  color: #3d6b45;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn.primary .contact-btn-meta { color: #4a3510; }

.btn.secondary .contact-btn-meta { color: #4e4339; }

.contact-btn::after { content: "\2192"; font-size: 1.2rem; }

#copy-again { margin-bottom: 8px; }

.message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px dashed #e0d2c0;
  border-radius: 16px;
  padding: 14px;
  font-family: "Cascadia Mono", "Liberation Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 12px;
}


.reorder-panel { padding-top: 8px; }

.reorder-card,
.bundle {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 4px 0 20px;
  margin: 0 0 16px;
}

.reorder-card {
  border: 0;
  background: #fff8e8;
  border-radius: 16px;
  padding: 16px 16px 18px;
}

.reorder-card h2,
.bundle h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.reorder-summary,
.bundle-items,
.bundle-price {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-weight: 600;
}

.bundle-price {
  color: var(--ink);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.bundle .btn { margin-top: 8px; }

.bundles-section { padding-top: 8px; padding-bottom: 8px; }

.min-hint {
  margin: 8px 0 0;
  font-weight: 800;
  color: #6b3e2e;
}

.min-hint.ok { color: var(--sage); }

.confirm-next {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 0 0 16px;
}

.confirm-next h2 { font-size: 1.2rem; }

.confirm-next ol {
  margin: 0;
  padding-left: 1.2rem;
}

.confirm-next li { margin: 0 0 6px; }

.offline-banner { background: #fff4d6; color: #3c2415; }

.cart-dock .dock-min {
  margin: 0 0 8px;
  text-align: center;
  background: #fff8e8;
  color: #3c2415;
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(42, 33, 24, 0.12);
}

.dock-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

#dock-count { font-size: 0.9rem; color: #f3e6d0; font-weight: 700; }
#dock-total { font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.cart-dock {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(448px, calc(100% - 16px));
}

.cart-dock button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 18px;
  background: #2a2118;
  color: #fff8ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  box-shadow: 0 12px 30px rgba(42, 33, 24, 0.28);
  font-weight: 800;
}

.dock-label { font-variant-numeric: tabular-nums; text-align: left; }

.dock-cta {
  background: var(--yolk);
  color: var(--ink);
  border-radius: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  flex: 0 0 auto;
}

.noscript {
  margin: 16px;
  padding: 12px;
  background: #fff4d6;
  border-radius: 12px;
}

.loading { color: var(--ink-soft); }

@media (min-width: 540px) {
  body { padding: 24px 16px 40px; }
  .app {
    min-height: calc(100vh - 64px);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(60, 36, 21, 0.12);
  }
}

@media (max-width: 340px) {
  .choice-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* Account (preview) */
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.account-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid #e6d8c4;
  background: #fff;
  color: #3c2415;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.account-btn[aria-current="page"],
.account-btn.is-on {
  border-color: #e6c36a;
  background: #fff8e8;
}

.account-icon { display: block; }

.account-initial {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.account-btn-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1b6b42;
  border: 2px solid #fffdf8;
}

.account-panel > .back {
  margin: 8px 20px 0;
}

.account-hero {
  padding: 4px 20px 0;
}

.account-hero .hero-logo {
  width: clamp(72px, 20vw, 88px);
  margin: 0 auto 8px;
}

.account-hero h1 {
  font-size: 1.42rem;
  margin: 0 auto 6px;
  max-width: 16em;
}

.account-hero .lede {
  margin: 0 auto 0;
  max-width: 22em;
  font-size: 0.98rem;
}

.account-hero-compact {
  padding-bottom: 0;
}

.account-hero-compact .hero-logo {
  width: clamp(72px, 20vw, 88px);
  margin-bottom: 8px;
}

.account-form.wrap {
  padding-top: 10px;
  padding-bottom: 14px;
}

.account-form .field { margin-bottom: 10px; }

.account-form .field input { min-height: 46px; }

.phone-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #e0d2c0;
  background: #fff;
  overflow: hidden;
}

.phone-field:focus-within {
  border-color: #c9a45a;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.28);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 10px 0 12px;
  font-weight: 800;
  color: #3c2415;
  background: #fff8e8;
  border-right: 1.5px solid #e0d2c0;
  flex: 0 0 auto;
}

.phone-field input {
  border: 0;
  border-radius: 0;
  min-height: 46px;
  box-shadow: none;
  background: transparent;
}

.phone-field input:focus,
.phone-field input:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

.phone-field.is-intl .phone-prefix {
  display: none;
}

.phone-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.address-legend {
  font-weight: 800;
  margin: 0 0 8px;
}

.account-switch {
  margin: 14px 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.text-link {
  display: inline;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  min-height: 0;
  color: #6b3e2e;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.account-orders.wrap { padding-top: 4px; }

.account-orders h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.account-empty {
  background: #fff;
  border: 1.5px dashed #e0d2c0;
  border-radius: 16px;
  padding: 16px;
  color: var(--ink-soft);
}

.account-order {
  background: #fff;
  border: 1.5px solid #eadfce;
  border-radius: 16px;
  padding: 14px;
  margin: 0 0 10px;
}

.account-order-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin: 0 0 6px;
}

.account-order-id { font-weight: 800; }

.account-order-date {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.account-order-items { margin: 0 0 4px; }

.account-order-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 10px;
}

.account-logout-wrap { padding-top: 4px; }

.account-foot {
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-align: center;
  margin: 10px 0 12px;
  line-height: 1.45;
}


.footer-links {
  margin: 14px 0 0;
  font-weight: 800;
}

.footer-links a,
.remember-note a,
.account-foot a,
a.text-link {
  color: #6b3e2e;
  font-weight: 800;
  text-decoration: underline;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}

a.text-link {
  display: inline;
  min-height: 0;
}


.privacy-body {
  padding-top: 8px;
}

.privacy-body section { margin: 0 0 22px; }

.privacy-body h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.privacy-body p { margin: 0 0 10px; }

.privacy-body ul {
  margin: 0 0 10px;
  padding: 0 0 0 1.2em;
}

.privacy-body li { margin: 0 0 4px; }

.privacy-body .btn { margin: 12px 0 8px; }

.topbar .back {
  font-size: 0.92rem;
  text-decoration: none;
  color: #6b3e2e;
  font-weight: 800;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}


.account-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  text-align: center;
}

.account-benefits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cocoa);
}

.account-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #eadfce;
  display: grid;
  place-items: center;
  color: #3c2415;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.consent-line input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #a56b08;
  flex: 0 0 auto;
}

.consent-line span { min-width: 0; }

.consent-line label { font-weight: 700; }

.consent-line a {
  color: #6b3e2e;
  font-weight: 800;
  text-decoration: underline;
  margin-left: 0.25em;
}


.follow-band {
  padding: 8px 20px 20px;
}

.follow-btn {
  width: 100%;
  background: #fff;
  color: #3c2415;
  border: 1.5px solid #e6c36a;
  font-weight: 800;
  text-decoration: none;
}

.follow-btn:hover { background: #fff8e8; }

.follow-btn svg {
  flex: 0 0 auto;
  display: block;
}

.confirm-follow {
  margin: 0 0 10px;
}

.confirm-follow .follow-btn { min-height: 52px; }


.hours-line {
  margin: 0 auto 10px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

#delivery-hours-checkout,
#delivery-hours-confirm {
  margin: 0 0 14px;
}

.confirm .hours-line {
  margin: 8px 0 14px;
}

.available-now {
  margin: 0 0 14px;
  padding: 12px 12px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.available-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-family: var(--serif);
}

.available-now .product:last-child { border-bottom: 0; }

.goods a {
  position: relative;
}

.goods a.goods-out {
  opacity: 0.48;
}

.goods-dot {
  position: absolute;
  top: 2px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2c8a4e;
  box-shadow: 0 0 0 2px #fff8ea;
  flex: 0 0 auto;
}

.toast {
  position: fixed;
  left: 50%;
  top: calc(64px + env(safe-area-inset-top, 0px));
  bottom: auto;
  transform: translateX(-50%);
  z-index: 80;
  min-width: 180px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: #2a2118;
  color: #fff8ea;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(42, 33, 24, 0.28);
}

.catalog.wrap { padding-top: 12px; }

.hero .btn {
  min-height: 42px;
  min-width: 140px;
}


.account-gate .account-benefits,
.account-gate .signup-optional {
  display: none;
}

#signup-gate-note {
  margin: 6px auto 0;
  max-width: 20em;
}

.wish-card {
  margin-top: 8px;
  padding-top: 20px;
}

.wish-card form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px 16px;
}

.wish-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.wish-chip {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e0d2c0;
  background: #fff8ea;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.wish-chip:focus-visible {
  outline: 3px solid #c48a12;
  outline-offset: 2px;
}

.wish-status {
  margin: 10px 0 0;
  font-weight: 700;
  color: #2c6b3f;
}

#wish-submit { margin-top: 6px; }


.who-card {
  margin-top: 8px;
  padding-top: 20px;
}

.who-card-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 14px 18px;
  text-align: center;
}

.who-card .section-title {
  margin: 0 0 14px;
}

.who-people {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
}

.who-person {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 150px;
}

.who-person picture {
  display: block;
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
  background: transparent;
}

.who-person img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.who-person figcaption {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}

.who-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.who-number {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
}

.who-person-actions {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0;
  width: 100%;
}

.who-person .who-action {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 8px;
  font-size: 0.86rem;
  border-radius: 12px;
}

.who-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 12px 0 0;
}

.who-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid #e0d2c0;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.who-action:hover { background: #fff8ea; }
