/* Tuk-Tuk look (chosen Dec 2026): bold Thai street colour, chunky outlined type, ink borders and hard shadows.
   Loaded after public.css when the shop's theme is "tuktuk"; public.css on its own is the classic look. */
:root {
  --pink: #ff4f8b;
  --mango: #ffc130;
  --green: #12a35f;
  --sky: #4cc3ff;
  --ink: #1d1036;
  --cream: #fff4dd;
  --paper: #fff;
  --muted: #4b3f63;
  --cocoa: var(--ink);
  --caramel: var(--pink);
  --caramel-dark: #e83a75;
  --butter: var(--mango);
  --border: var(--ink);
  --display: "Bricolage Grotesque", "Mitr", system-ui, sans-serif;
  --sans: "Mitr", system-ui, sans-serif;
  --serif: var(--display);
  --b: 3px solid var(--ink);
  --sh: 4px 4px 0 var(--ink);
}
body { background: var(--cream); color: var(--ink); font: 400 16px/1.5 var(--sans); }
a { color: var(--ink); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.twine { display: none; }

/* Header: a mango name sticker and a white pill, on pink */
.site-head, .site-head.over { position: sticky; top: 0; background: var(--pink); border-bottom: var(--b); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 12px 16px; }
.site-head.over { position: relative; border-bottom: 0; }
.site-head .brand, .site-head.over .brand { visibility: visible; font: 800 1.25rem/1 var(--display); color: var(--ink); background: var(--mango); border: var(--b); border-radius: 10px; padding: 5px 10px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); text-shadow: none; }
/* The logo badge replaces the name sticker; it hangs a little below the pink bar. */
.site-head { padding-top: 8px; padding-bottom: 8px; }
.site-head .brand, .site-head.over .brand { position: relative; z-index: 2; height: 52px; padding: 0; background: none; border: 0; box-shadow: none; transform: none; }
.site-head .brand-logo { width: 74px; height: 74px; margin: -2px 0 -24px; transform: rotate(-6deg); filter: drop-shadow(3px 3px 0 var(--ink)); }
.site-head .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-head nav { gap: 8px; align-items: center; }
.site-head nav a { white-space: nowrap; }
@media (max-width: 480px) { .site-head nav { gap: 6px; } .site-head nav a, .site-head.on-image nav a { padding: 2px 9px; font-size: .82rem; box-shadow: 2px 2px 0 var(--ink); } }
.site-head nav a, .site-head.on-image nav a { color: var(--ink); text-shadow: none; font-weight: 500; background: #fff; border: var(--b); border-radius: 99px; padding: 3px 13px; box-shadow: 3px 3px 0 var(--ink); text-decoration: none; }
.site-head nav a.on { background: var(--mango); text-decoration: none; }

/* Hero: hot pink, huge outlined name, the photo as a tilted card with stickers */
.hero { display: block; padding: 6px 0 30px; background: var(--pink); border-bottom: var(--b); overflow: hidden; color: var(--ink); }
.hero-inner { max-width: 1120px; padding: 0 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 3px 14px 3px 8px; background: var(--ink); color: #fff; border: 0; border-radius: 99px; transform: none; box-shadow: none; font: 400 .85rem var(--sans); text-shadow: none; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #3dff9a; box-shadow: 0 0 0 3px rgba(61, 255, 154, .3); }
.eyebrow.closed::before { background: #ff9b9b; box-shadow: 0 0 0 3px rgba(255, 155, 155, .3); }
/* Compact hero (half height): name and line on the left, the photo card on the right, at every width. */
.hero { padding: 26px 0 26px; }
.hero-inner { display: grid; grid-template-columns: 1fr 42%; gap: 0 14px; align-items: center; }
.hero-text { grid-column: 1; grid-row: 1; min-width: 0; }
.hero h1 { margin: 10px 0 0; max-width: none; font: 800 clamp(2.3rem, 10vw, 5.4rem)/.86 var(--display); letter-spacing: -.045em; color: #fff; text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.hero h1 span { display: block; color: var(--mango); }
.lede { margin: 12px 0 0; font-size: 1rem; font-weight: 500; line-height: 1.35; max-width: 26ch; }
.hero-photo { position: relative; grid-column: 2; grid-row: 1; margin: 14px 4px 0 0; }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--b); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(2deg); }
.sticker { position: absolute; display: grid; place-items: center; text-align: center; border: var(--b); border-radius: 50%; font: 800 .75rem/1 var(--display); box-shadow: 3px 3px 0 var(--ink); }
.s1 { width: 64px; height: 64px; right: -10px; top: -16px; background: var(--mango); transform: rotate(12deg); }
.s1 b { display: block; font-size: 1.15rem; letter-spacing: -.03em; }
.s2 { width: 58px; height: 58px; left: -12px; bottom: -14px; background: var(--sky); transform: rotate(-10deg); font-size: .62rem; }
.hero-note { grid-column: 1 / -1; margin: 18px 0 0; font-size: .92rem; font-weight: 500; opacity: 1; }
@media (min-width: 860px) {
  .hero { padding: 10px 0 26px; }
  .hero-inner { grid-template-columns: 1fr 300px; gap: 0 40px; }
  .hero-photo { grid-row: 1 / span 2; margin: 14px 10px 0 0; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .lede { font-size: 1.15rem; }
  .hero-note { grid-column: 1; margin-top: 12px; font-size: 1rem; }
  .s1 { width: 84px; height: 84px; } .s1 b { font-size: 1.5rem; }
  .s2 { width: 72px; height: 72px; font-size: .75rem; }
}

/* Promise ribbon */
.ribbon { background: var(--mango); border-bottom: var(--b); overflow: hidden; white-space: nowrap; }
.ribbon > div { display: inline-block; padding: 10px 0; font: 800 1.05rem var(--display); animation: tuk-slide 22s linear infinite; }
.ribbon span { margin: 0 14px; }
.ribbon i { font-style: normal; color: var(--pink); }
@keyframes tuk-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon > div { animation: none; } }

main.wrap { max-width: 1120px; padding: 30px 16px 60px; }
#order-form { padding-bottom: 40px; }
.wrap { max-width: 1120px; padding: 0 16px; }

/* How to order, notices, messages */
.how li { background: #fff; border: var(--b); border-radius: 18px; box-shadow: var(--sh); color: var(--muted); }
.how li::before { background: var(--pink); color: #fff; border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; }
.how li:nth-child(2)::before { background: var(--mango); color: var(--ink); }
.how li:nth-child(3)::before { background: var(--green); }
.how strong { font-family: var(--display); font-weight: 800; color: var(--ink); }
.notice, .card, .empty { background: #fff; border: var(--b); border-left: var(--b); border-radius: 20px; box-shadow: var(--sh); }
.flash { border: var(--b); border-radius: 16px; background: #c9f5dc; color: var(--ink); box-shadow: var(--sh); }
.flash-error { background: #ffd3df; }
main h1, .empty h3, .list-head { font-family: var(--display); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.badge { border: 2px solid var(--ink); background: var(--mango); color: var(--ink); }
.badge.paid { background: #c9f5dc; color: var(--ink); }
.badge.unpaid { background: #ffd3df; color: var(--ink); }

/* Section headings with round number badges */
.section-head { align-items: center; justify-content: flex-start; gap: 6px 12px; margin: 36px 0 16px; }
#order-form > .section-head:first-of-type { margin-top: 6px; }
.section-head h2, .final-step h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 1.9rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.section-head h2 .n, .final-step h2 .n { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--pink); color: #fff; border: var(--b); box-shadow: 3px 3px 0 var(--ink); font-size: 1.2rem; text-shadow: none; }
.n-dot { display: none; }
.section-head p { margin: 0; font: 400 .9rem var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 1px 12px; white-space: normal; }
.section-head p a { color: var(--ink); }

/* Product cards: colour blocks, price stickers */
.grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.item, .item:hover { position: relative; background: #fff; border: var(--b); border-radius: 20px; box-shadow: var(--sh); overflow: hidden; transform: none; transition: transform .15s, box-shadow .15s; }
.item:has(.has-qty) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.item-media { overflow: visible; border-bottom: var(--b); background: var(--mango); }
.item:nth-child(4n+2) .item-media { background: var(--sky); }
.item:nth-child(4n+3) .item-media { background: var(--green); }
.item:nth-child(4n) .item-media { background: var(--pink); }
.item-media img, .item:hover .item-media img { transform: none; }
.item-placeholder { background: none; }
.item-placeholder span { font: 800 1.3rem/1.1 var(--display); background: #fff; border: var(--b); border-radius: 12px; box-shadow: var(--sh); color: var(--ink); }
.pricebadge { position: absolute; right: 8px; bottom: -18px; z-index: 1; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--mango); border: var(--b); font: 800 .95rem var(--display); transform: rotate(-10deg); }
.item:nth-child(4n+1) .pricebadge { background: var(--pink); color: #fff; }
.vegan-flag { position: absolute; left: 8px; top: 8px; background: var(--green); color: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 0 8px; font-size: .72rem; font-weight: 600; }
.item-body { padding: 14px 12px 12px; }
.item h3 { margin: 0 46px 2px 0; font: 800 1.12rem/1.1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.item-desc { margin: 4px 0 0; font-size: .82rem; line-height: 1.35; color: var(--muted); }
.item-feet { padding-top: 12px; gap: 8px; }
.item-foot, .item-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 4px; min-height: 0; }
.variant { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.05; }
.price-tag { display: block; padding: 0; background: none; clip-path: none; transform: none; font: 800 1rem var(--display); color: var(--ink); }
.price-tag::before { display: none; }
.variant-name { font-size: .75rem; font-weight: 500; color: var(--ink); }
.stepper { display: inline-flex; padding: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--cream); justify-content: flex-start; }
.stepper button { width: 32px; height: 32px; border-radius: 0; box-shadow: none; background: none; color: var(--ink); font: 800 1.15rem/1 var(--display); }
.stepper button[data-step="1"] { background: var(--mango); border-left: 2px solid var(--ink); }
.stepper button[data-step="-1"] { border-right: 2px solid var(--ink); }
.stepper input { width: 26px; font: 600 .95rem var(--sans); color: var(--ink); }
.stepper.has-qty { background: var(--pink); }
.stepper.has-qty input { color: #fff; }

/* Steps 2 to 4 on a green striped board */
.board:has(.step-block:not([hidden])) { margin: 40px -16px 0; padding: 4px 16px 28px; background: var(--green) repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 14px, transparent 14px 28px); border-top: var(--b); border-bottom: var(--b); }
.board-in { max-width: 720px; margin: 0 auto; }
.board .section-head h2 { color: #fff; text-shadow: 2px 2px 0 var(--ink); }
.board .section-head h2 .n { background: var(--mango); color: var(--ink); }
.pick-head { margin-top: 30px; }
.days.day-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 6px; padding: 0 4px 4px 0; }
.day-pick label { margin: 0; padding: 8px 2px 7px; background: #fff; border: var(--b); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); color: var(--ink); line-height: 1.1; transition: transform .1s; }
.day-pick .day-long { display: none; }
.day-pick .day-short { display: block; font-size: .78rem; font-weight: 500; text-transform: none; color: var(--ink); }
.day-pick label::before { content: ""; height: .75rem; font-size: .56rem; font-weight: 600; text-transform: uppercase; color: var(--pink); }
.day-pick label.is-tomorrow::before { content: "Tomorrow"; }
.day-pick label b { display: flex; flex-direction: column; align-items: center; font: 800 1.7rem/1 var(--display); margin: 1px 0 0; }
.day-pick label b .mo { font: 400 .7rem/1.2 var(--sans); }
.day-pick label:has(input:checked) { background: var(--mango); color: var(--ink); transform: translate(-2px, -2px) rotate(-3deg); box-shadow: 5px 5px 0 var(--ink); }
.day-pick label:has(input:focus-visible) { outline: 3px solid #fff; }
.day-pick label.is-full { background: #d9f2e5; box-shadow: none; opacity: .75; }
.day-pick label.is-full b { text-decoration: line-through; }
.day-pick label small { font-size: .58rem; color: var(--ink); }
.day-pick label.is-full b .mo { text-decoration: none; }

.delivery-options { margin: 0; }
.delivery-option, .delivery-option:has(input:checked) { margin: 0; padding: 14px; background: #fff; border: var(--b); border-radius: 16px; box-shadow: var(--sh); }
.delivery-option input { accent-color: var(--pink); width: 22px; height: 22px; }
.delivery-text { color: var(--ink); }
.delivery-text strong { font: 800 1.1rem var(--display); }
.delivery-text span { font-size: .92rem; opacity: 1; }
.section-head.pay-head { margin: 24px 0 12px; }
.pay-head h2 { font-size: 1.45rem; }
.pay-options { gap: 12px; }
.note-box { margin: 20px 0 0; max-width: none; }
.board .note-box label { color: #fff; font-weight: 600; text-shadow: 1px 1px 0 var(--ink); }
label { color: var(--ink); }
input, textarea { border: var(--b); border-radius: 14px; background: #fff; color: var(--ink); text-shadow: none; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: var(--sh); }
.stepper input, .stepper input:focus { border: 0; box-shadow: none; }

.final-step { margin-top: 26px; padding: 16px; background: var(--cream); border: var(--b); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); }
.final-step h2 { font-size: 1.7rem; margin-bottom: 6px; }
.final-step p { color: var(--ink); font-size: .95rem; }
.final-step a { color: var(--ink); }
.final-step .btn { max-width: none; }
.just-in { background: #c9f5dc; border: 2px solid var(--ink); color: var(--ink) !important; }

/* Buttons: chunky, ink border, press-down shadow */
.btn { min-height: 54px; border: var(--b); border-radius: 16px; box-shadow: var(--sh); background: var(--pink); color: #fff; font: 800 1.1rem var(--display); white-space: normal; text-align: center; }
.btn:hover { background: var(--caramel-dark); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .5; }
.btn-line { background: var(--line); }
.btn-line:hover { background: #05b04b; }
.btn-light, .btn-light:hover { background: #fff; color: var(--ink); }
.btn-small { min-height: 0; padding: 5px 14px; font-size: .9rem; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }

/* Running total */
.order-bar { bottom: 12px; padding: 9px 22px; background: var(--ink); color: #fff; border: 3px solid #fff; outline: 3px solid var(--ink); border-radius: 18px; box-shadow: none; }
.order-sum strong { font: 800 1.1rem var(--display); color: var(--mango); }
.order-sum span { color: #ffd9e6; opacity: 1; }

/* Footer */
.site-foot { background: var(--pink); color: var(--ink); border-top: var(--b); text-align: center; padding: 30px 0 120px; }
.site-foot strong { font: 800 1.5rem var(--display); color: #fff; text-shadow: 2px 2px 0 var(--ink); }
.site-foot .foot-logo { width: 120px; height: 120px; margin: 0 auto 10px; filter: drop-shadow(4px 4px 0 var(--ink)); }
.site-foot p { opacity: 1; font-weight: 500; }

/* Privacy policy and terms */
.legal h2 { font: 800 1.45rem/1.1 var(--display); letter-spacing: -.01em; }
.site-foot .foot-links a { color: var(--ink); font-weight: 600; }

/* Pay page */
.pay-amount { background: var(--ink); border: var(--b); border-radius: 18px; box-shadow: 5px 5px 0 var(--pink); }
.pay-amount strong { font-family: var(--display); font-weight: 800; color: var(--mango); }
.pay-explain { color: var(--muted); }
.my-list li { border-top: 2px dashed rgba(29, 16, 54, .2); }

/* Header bar lines up with the 1120px page container on wide screens. */
.site-head, .site-head.over { padding-left: max(16px, calc((100% - 1088px) / 2)); padding-right: max(16px, calc((100% - 1088px) / 2)); }
/* Less space above the hero: the "Now taking orders" pill sits beside the logo's hanging edge instead of below it. */
.hero { padding-top: 10px; }
.hero .eyebrow { margin-left: 84px; }
@media (max-width: 859px) {
  /* Phones: a smaller logo that stays inside the bar, so the pill can sit at the top of the hero. */
  .site-head .brand-logo { width: 60px; height: 60px; margin: -4px 0 -12px; }
  .hero .eyebrow { margin-left: 0; }
}
