/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #F6F0E7;
  --ink: #3D2400;
  --soft: #6B4A2A;
  --line: #DCCBB3;
  --panel: #EDE0CE;
  --panel-2: #E4D2B8;
  --dark: #3D2400;
  --dark-2: #5A3810;
  --on-dark: #F6F0E7;
  --on-dark-soft: #D9C6A8;
  --accent: #B07A3A;
  --warn: #8A3B12;
  --radius: 10px;
  --header-h: 64px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); padding-bottom: env(safe-area-inset-bottom, 0px); }
body.has-bar { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0 0 12px; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; 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: -80px; z-index: 100; background: var(--dark); color: var(--on-dark); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 600px) { .wrap { padding: 0 28px; } }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  background: var(--dark); color: var(--on-dark); border: 2px solid var(--dark);
  font: 700 1rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--dark-2); border-color: var(--dark-2); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-light { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn-light:hover { background: #fff; border-color: #fff; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn[aria-disabled="true"]:active { transform: none; }
.btn.is-added { background: #2F6B3F; border-color: #2F6B3F; }
.wa-ic { width: 22px; height: 22px; flex: none; }
.link-btn { background: none; border: 0; padding: 0 4px; min-height: 44px; font: 500 .95rem var(--sans); color: var(--warn); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(246, 240, 231, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { max-width: 1080px; margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 600px) { .bar { padding: 0 28px; } }
.brand { display: flex; align-items: center; min-height: 44px; font: 600 1.55rem/1 var(--serif); text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--panel); }
.nav a[aria-current="true"] { background: var(--panel); }
.nav-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 899px) {
  .nav-toggle { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(61, 36, 0, .08); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 6px 0 12px; }
  .nav a { border-radius: 0; min-height: 52px; padding: 0 20px; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 28px 20px 64px; }
.hero h1 { max-width: 580px; margin: 0 auto; }
.hero h1 img { width: 100%; height: auto; }
.tagline { font: 500 clamp(1.4rem, 3.8vw, 1.8rem)/1.3 var(--serif); max-width: 28ch; margin: 20px auto 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta { margin: 20px auto 0; color: var(--soft); font-size: .95rem; max-width: 40ch; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
@media (min-width: 760px) { section { padding: 88px 0; } }
.hero { padding-top: 28px; }
h2 { font-size: clamp(2.3rem, 6vw, 3.4rem); margin-bottom: 12px; }
.lead { color: var(--soft); max-width: 56ch; margin: 0 0 36px; font-size: 1.05rem; }
.sub { font-size: clamp(1.75rem, 4.5vw, 2.15rem); margin: 56px 0 6px; }
.lead + .sub, noscript + .sub { margin-top: 0; }
.note { color: var(--soft); margin: 0 0 20px; max-width: 62ch; }
.warn { color: var(--warn); font-weight: 500; }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 600px) and (max-width: 879px) {
  .grid-3 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; align-content: start; }
  .grid-3 > .card:last-child:nth-child(odd) > * { grid-column: 2; }
  .grid-3 > .card:last-child:nth-child(odd) > .photo { grid-column: 1; grid-row: 1 / span 6; align-self: start; }
}
@media (min-width: 880px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--panel); border-radius: var(--radius); padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.photo { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--panel-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-head h4 { font-size: 1.75rem; }
.card-head .from { color: var(--soft); font-size: .95rem; white-space: nowrap; }
.card .desc { color: var(--soft); margin: -6px 0 0; font-size: .95rem; }
.card .add { margin-top: auto; }
.card-foot { display: flex; justify-content: center; margin-top: -4px; }
.small-link { font-size: .88rem; color: var(--soft); display: inline-flex; align-items: center; min-height: 44px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { font-weight: 500; padding: 0; }
.field > legend { margin-bottom: 6px; }
.hint { font-size: .88rem; color: var(--soft); font-weight: 400; }

select, input[type="date"], input[type="text"], textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px;
  font: 500 1rem/1.3 var(--sans); color: var(--ink);
  background-color: var(--bg); border: 1.5px solid var(--ink); border-radius: 8px;
}
select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; text-overflow: ellipsis; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D2400' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
textarea { resize: vertical; min-height: 96px; }
input[type="date"] { -webkit-appearance: none; appearance: none; }
input::placeholder, textarea::placeholder { color: #8f7558; }
[aria-invalid="true"] { border-color: var(--warn); box-shadow: 0 0 0 2px rgba(138, 59, 18, .2); }

/* Segmented options (radio pills) */
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: 6px 4px; border: 1.5px solid var(--ink); border-radius: 8px;
  background: var(--bg); line-height: 1.15; text-align: center; transition: background-color .15s, color .15s;
}
.choice .opt span { min-height: 48px; }
.opt span b { font-size: 1.05rem; }
.opt span small { font-size: .82rem; color: var(--soft); margin-top: 2px; white-space: nowrap; }
.opt:hover span { background: #fff; }
.opt input:checked + span { background: var(--ink); color: var(--bg); }
.opt input:checked + span small { color: var(--on-dark-soft); }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Checkbox */
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 500; line-height: 1.25; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 26px; height: 26px; margin: 0;
  border: 1.5px solid var(--ink); border-radius: 6px; background: var(--bg); display: grid; place-content: center; cursor: pointer;
}
.check input::after { content: ""; width: 12px; height: 7px; border: solid var(--bg); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); }
.check input:checked::after { opacity: 1; }
.check small { display: block; color: var(--soft); font-weight: 400; font-size: .85rem; }

/* ---------- Order ---------- */
.order { background: var(--panel); }
.order-grid { display: grid; gap: 28px; }
@media (min-width: 880px) { .order-grid { grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; } }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; padding-top: 0; }
.line-desc b { display: block; font-weight: 700; line-height: 1.35; }
.line-desc small { color: var(--soft); font-size: .92rem; }
.line-price { font-weight: 700; text-align: right; white-space: nowrap; }
.line-ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 1.35rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: background-color .15s, color .15s;
}
.qty button:hover { background: var(--ink); color: var(--bg); }
.qty output { min-width: 2.2ch; text-align: center; font-weight: 700; }
.empty { color: var(--soft); margin: 0 0 8px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--ink); margin-top: 14px; padding-top: 14px; font-size: 1.2rem; font-weight: 700; }
.fine { color: var(--soft); font-size: .9rem; margin: 6px 0 0; }
.details { background: var(--bg); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 600px) { .details { padding: 26px; } }
.form-msg { color: var(--warn); font-weight: 500; margin: 0; }
.form-msg:empty { display: none; }
.details input[type="tel"] { width: 100%; min-height: 48px; padding: 10px 12px; font: 500 1rem/1.3 var(--sans); color: var(--ink); background: var(--bg); border: 1.5px solid var(--ink); border-radius: 8px; }
.delivery-field[hidden], #other-area-note[hidden], #sent[hidden], [hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#delivery-hint { color: var(--warn); font-weight: 600; margin: 8px 0 0; }
#delivery-hint:empty { display: none; }
#sent { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--bg); }
#sent h3 { font-size: 1.8rem; margin-bottom: 8px; }
#sent a, .details .fine a { display: inline-flex; align-items: center; min-height: 44px; }
#sent button { display: block; min-height: 44px; margin-top: 12px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.sale-banner { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; background: var(--dark); color: var(--on-dark); text-align: center; font-size: .9rem; font-weight: 700; line-height: 1.3; }
.sale-pill { margin-left: 5px; padding: 2px 6px; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-size: .72rem; }
.sale-callout { padding: 12px 16px; border-left: 3px solid var(--dark); background: var(--panel); }

/* ---------- Basket bar ---------- */
.basket-bar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 640px; margin: 0 auto; padding: 10px 10px 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--dark); color: var(--on-dark); border-radius: 16px; box-shadow: 0 12px 32px rgba(61, 36, 0, .28);
  transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .28s ease, visibility .28s;
}
.basket-bar.show { transform: none; visibility: visible; }
.basket-bar p { margin: 0; line-height: 1.25; min-width: 0; }
.basket-bar small { display: block; color: var(--on-dark-soft); font-size: .88rem; }
.basket-bar .btn { min-height: 46px; padding: 10px 20px; white-space: nowrap; }

/* ---------- Pricing tables ---------- */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; margin: 8px 0; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .92rem; font-weight: 700; border-top: 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
tbody th { font-weight: 500; }
.ptable tbody th { white-space: nowrap; }
.ptable td { white-space: nowrap; }
.ptable + .note, .table-note { font-size: .92rem; margin-top: 8px; }
@media (max-width: 480px) { th, td { padding: 10px 6px; font-size: .95rem; } thead th { font-size: .85rem; } }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.gal figure { margin: 0; }
.gi { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: zoom-in; }
.gi img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gi:hover img { transform: scale(1.04); }
.gal figcaption { font-size: .88rem; line-height: 1.4; color: var(--soft); margin-top: 8px; }
.after-gal { margin: 36px 0 0; }

/* ---------- Lightbox ---------- */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; background: rgba(24, 12, 0, .96); color: var(--on-dark); overflow: hidden; }
.lb::backdrop { background: rgba(24, 12, 0, .95); }
.lb-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; padding: calc(64px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lb-fig img { max-width: min(100%, 900px); max-height: calc(100dvh - 180px); width: auto; height: auto; border-radius: 8px; object-fit: contain; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.lb-fig figcaption { margin-top: 14px; text-align: center; font-size: 1rem; max-width: 50ch; }
.lb-count { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); left: 20px; margin: 0; font-size: .95rem; color: var(--on-dark-soft); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(246, 240, 231, .14); color: var(--on-dark); display: grid; place-items: center; cursor: pointer; transition: background-color .15s; }
.lb-btn:hover { background: rgba(246, 240, 231, .28); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: calc(10px + env(safe-area-inset-top, 0px)); right: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 759px) {
  .lb-prev, .lb-next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-inner { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .lb-fig img { max-height: calc(100dvh - 230px); }
}

/* ---------- How to order ---------- */
.how { background: var(--panel); }
.ways { display: grid; gap: 16px; margin: 0 0 48px; }
@media (min-width: 700px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { background: var(--bg); border-radius: var(--radius); padding: 22px; }
.way h3 { font-size: 1.75rem; margin-bottom: 8px; }
.way p { margin: 0; }
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font: 600 2.1rem/1.1 var(--serif); }
.steps b { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.how-foot { color: var(--soft); margin: 40px 0 0; max-width: 60ch; }
.how-foot a { color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none; font: 600 clamp(1.35rem, 3.6vw, 1.55rem)/1.2 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor 0 0) center / 14px 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 14px no-repeat; transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
summary:hover { color: var(--dark-2); }
details > div { padding: 0 0 18px; max-width: 70ch; }

/* ---------- About ---------- */
.about { background: var(--dark); color: var(--on-dark); }
.about .lead { color: var(--on-dark-soft); }
.about p { max-width: 60ch; font-size: 1.08rem; }
.about a { color: var(--on-dark); }

/* ---------- Footer ---------- */
footer { padding: 48px 20px 40px; text-align: center; color: var(--soft); }
footer img { width: 180px; height: auto; margin: 0 auto 16px; }
footer p { margin: 0 auto 8px; max-width: 46ch; }
footer a { color: var(--ink); font-weight: 500; }
.callnum a { white-space: nowrap; }
.copy { font-size: .9rem; margin-top: 16px; }

/* ---------- Join us (WhatsApp group + Instagram) ---------- */
.join { background: var(--dark); color: var(--on-dark); }
.join .lead { color: var(--on-dark-soft); }
.join-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .join-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.join-card { background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 600px) { .join-card { padding: 28px; } }
.join-head { display: flex; align-items: center; gap: 14px; }
.join-head h3 { font-size: 1.85rem; }
.join-head .handle { margin: 2px 0 0; color: var(--soft); font-weight: 500; overflow-wrap: anywhere; }
.join-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.join-ic svg { width: 30px; height: 30px; }
.join-ic-wa { background: #1FA855; }
.join-ic-ig { background: radial-gradient(circle at 30% 107%, #FDCB52 0%, #FD8D32 25%, #E4405F 55%, #C13584 75%, #833AB4 100%); }
.join-text { margin: 0; }
.join-card .btn { margin-top: auto; }
.btn-ic { width: 22px; height: 22px; flex: none; }
/* QR codes only where someone could scan them with a separate phone: wide screens with a mouse */
.join-qr { display: none; margin: 0; }
@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
  .join-qr { display: flex; align-items: center; gap: 20px; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
  .join-qr img { width: 148px; height: 148px; flex: none; image-rendering: pixelated; }
  .join-qr figcaption { color: var(--soft); font-size: 1rem; line-height: 1.4; }
  .join-qr figcaption b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
}

/* Footer social links */
.social { list-style: none; margin: 20px auto 6px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 500; transition: background-color .15s, color .15s; }
.social a:hover { background: var(--ink); color: var(--bg); }
.social svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 400px) {
  .join-card { padding: 18px; }
  .join-head { gap: 12px; }
  .join-ic { width: 44px; height: 44px; border-radius: 12px; }
  .join-ic svg { width: 26px; height: 26px; }
  .join-head .handle { font-size: .95rem; }
  .join-card .btn { padding-left: 14px; padding-right: 14px; }
  .social a { padding: 8px 12px; font-size: .95rem; }
}

/* ---------- Floating WhatsApp chat button ---------- */
.wa-fab {
  position: fixed; z-index: 45;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--fab-lift, 0px));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 58px; height: 58px; border-radius: 999px;
  background: #1FA855; color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 8px 24px rgba(31, 168, 85, .35), 0 2px 6px rgba(0, 0, 0, .15);
  transition: bottom .28s ease, transform .2s ease, opacity .2s, visibility .2s, background-color .15s;
}
.wa-fab svg { width: 32px; height: 32px; flex: none; }
.wa-fab:hover { background: #198F48; transform: translateY(-2px); }
.wa-fab-label { display: none; }
.wa-fab.is-hidden { opacity: 0; visibility: hidden; transform: scale(.85); }
@media (min-width: 900px) {
  .wa-fab { width: auto; height: 54px; padding: 0 22px 0 16px; right: 24px; bottom: calc(24px + var(--fab-lift, 0px)); }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab-label { display: inline; }
}
/* keep the last lines of the footer clear of the button */
footer { padding-bottom: 104px; }

/* ---------- Calmer menu cards: nothing preselected, price kept apart from the button ---------- */
select:has(option[value=""]:checked) { color: #8f7558; }
select:disabled { opacity: .6; cursor: not-allowed; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; min-height: 64px; padding: 10px 14px; background: var(--bg); border-radius: 8px; color: var(--soft); font-size: .95rem; line-height: 1.35; }
.price-row strong { color: var(--ink); font-size: 1.2rem; white-space: nowrap; }
.price-row.is-empty { background: transparent; border: 1px dashed var(--line); font-size: .9rem; }
.need { margin: -6px 0 0; color: var(--warn); font-weight: 500; font-size: .92rem; }
.need:empty { display: none; }
.card .btn[aria-disabled="true"] { opacity: .55; }
.pay-note { text-align: center; margin: -4px 0 0; }
/* very narrow phones: four size chips only fit as plain numbers (the legend says they are cupcakes) */
@media (max-width: 399px) {
  .sizes .opt span small { display: none; }
  .sizes .opt span b { font-size: 1.15rem; }
}

/* ---------- Themed designs: handled by a personal chat, not the order builder ---------- */
.themed-link { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 6px; min-height: 44px; padding: 6px 8px; margin-top: -4px; text-align: center; font-size: .95rem; color: var(--soft); text-decoration: none; border-radius: 8px; }
.themed-link u { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.themed-link:hover u { text-decoration-thickness: 2px; }
.themed-box { margin-top: 56px; padding: 22px; background: var(--panel); border-radius: var(--radius); display: grid; gap: 12px; justify-items: start; }
@media (min-width: 600px) { .themed-box { padding: 28px; } }
.themed-box h3 { font-size: 1.85rem; }
.themed-box p { margin: 0; max-width: 60ch; color: var(--soft); }
@media (max-width: 480px) { .themed-box .btn { width: 100%; } }

/* ---------- Delivery-only note (pickup switched off) ---------- */
.delivery-only { margin: 0; padding: 12px 14px; background: var(--panel); border-radius: 8px; font-size: .95rem; line-height: 1.4; color: var(--soft); }
.delivery-only b { color: var(--ink); }
