/* That Tamil Girl Bakes — design system
   Yellow is the single accent. Everything else is ink, cream and air. */

:root {
  --yellow: #EAB330;
  --yellow-deep: #CF9A1A;
  --yellow-soft: #FBEFC9;
  --ink: #141311;
  --ink-2: #3A3732;
  --muted: #76716A;
  --cream: #FAF6EE;
  --paper: #FFFFFF;
  --line: #ECE5D8;
  --danger: #C8402F;
  --success: #2E7D4F;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(20, 19, 17, .18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 19, 17, .28);
  --font-head: "Jost", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* touch-action: manipulation removes the 300ms double-tap-to-zoom on taps (pinch zoom still works) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body, button, a, label, input, select, textarea, summary { touch-action: manipulation; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1;
  background: var(--ink); color: #fff; transition: transform .25s var(--ease), background .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Announcement + header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: .8rem; text-align: center; padding: .5rem 1rem; letter-spacing: .02em; }
.topbar b { color: var(--yellow); font-weight: 600; }
.testbar {
  background: repeating-linear-gradient(135deg, var(--yellow) 0 14px, #F3C85A 14px 28px); color: var(--ink);
  text-align: center; font-size: .85rem; padding: .6rem 1rem; font-weight: 500; border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.testbar b { font-weight: 700; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, .85); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .3); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; }
.brand img { height: 44px; width: 44px; border-radius: 50%; }
.nav { display: flex; gap: .25rem; }
.nav a { padding: .55rem .9rem; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: background .2s; }
.nav a:hover, .nav a.active { background: rgba(20, 19, 17, .06); }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .2s; }
.icon-btn:hover { background: rgba(20, 19, 17, .06); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: .68rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header .wrap { height: 64px; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 70; background: var(--cream); padding: 24px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav a.link { font-family: var(--font-head); font-size: 2rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav .close { align-self: flex-end; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { margin: .4em 0 .5em; }
.hero h1 em { font-style: normal; color: var(--yellow-deep); }
.hero p.lead { font-size: 1.12rem; max-width: 46ch; color: var(--ink-2); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-visual { position: relative; aspect-ratio: 1; }
.hero-visual .blob { position: absolute; inset: 6%; background: var(--yellow); border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; animation: morph 14s ease-in-out infinite; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); animation: float 6s ease-in-out infinite; }
.hero-visual .tamil { position: absolute; right: -2%; bottom: -4%; font-size: 9rem; font-family: serif; color: var(--ink); opacity: .07; line-height: 1; pointer-events: none; }
@keyframes morph { 0%, 100% { border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; } 50% { border-radius: 55% 45% 42% 58% / 48% 58% 42% 52%; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.hero-note { display: flex; gap: 1.5rem; margin-top: 2rem; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.hero-note span { display: flex; align-items: center; gap: .4rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--yellow-deep); }
/* Google rating */
.stars-fill { position: relative; display: inline-block; font-size: 1em; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.stars-fill i { font-style: normal; color: rgba(20,19,17,.18); }
.stars-fill b { position: absolute; inset: 0; width: var(--p, 100%); overflow: hidden; color: var(--yellow-deep); font-weight: 400; }
.hero-rating { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; padding: .5rem .9rem .5rem .7rem; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(20,19,17,.06), 0 0 0 1px rgba(20,19,17,.06); font-size: .85rem; color: var(--ink-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.hero-rating:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.hero-rating svg { width: 18px; height: 18px; } .hero-rating .num { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); } .hero-rating .cnt { color: var(--muted); }
.google-badge { background: #fff; border-radius: 16px; padding: .9rem 1rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; box-shadow: 0 0 0 1px rgba(20,19,17,.06); }
.gb-top { display: flex; align-items: center; gap: .9rem; } .gb-top > svg { width: 46px; height: 46px; flex-shrink: 0; }
.gb-score { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; } .gb-score > b { font-family: var(--font-head); font-size: 1.6rem; line-height: 1; }
.gb-top small { display: block; color: var(--muted); font-size: .8rem; margin-top: .15rem; }
.gb-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn-sm { padding: .55rem .95rem; font-size: .85rem; }
.foot-rating { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; font-size: .85rem; flex-wrap: wrap; }
.foot-rating svg { width: 16px; height: 16px; } .foot-rating b { color: #fff; } .foot-rating .stars-fill i { color: rgba(255,255,255,.2); } .foot-rating .stars-fill b { color: var(--yellow); }
.foot-rating .muted-f { color: rgba(255,255,255,.5); }
.foot-trust { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.6rem; flex-wrap: wrap; margin-top: 2rem; }
.foot-trust .foot-rating { margin-top: 0; }
.foot-pay { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.foot-pay .marks { display: inline-flex; gap: .35rem; } .foot-pay svg { width: 38px; height: 24px; border-radius: 4px; display: block; } .foot-rating a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .section-head:has(.google-badge) { flex-direction: column; align-items: stretch; } .google-badge { justify-content: space-between; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-visual { width: min(320px, 100%); margin: 0 auto; order: -1; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section-head h2 { margin: .2em 0 0; }
.section-head .link { font-weight: 600; font-size: .9rem; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  padding: .55rem 1.05rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500;
  white-space: nowrap; transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* shop toolbar: scrollable category chips + search */
.shop-toolbar { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.shop-toolbar .chips { flex: 1 1 auto; min-width: 0; padding: 2px 32px 2px 2px; margin-right: -32px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.search-wrap { position: relative; flex: 0 0 240px; }
.search-wrap svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search-wrap input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem .6rem 2.4rem; background: #fff; outline: 0; }
.search-wrap input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(234, 179, 48, .25); }
@media (max-width: 760px) { .shop-toolbar { flex-wrap: wrap; gap: .75rem; } .search-wrap { flex: 1 1 100%; order: -1; } .shop-toolbar .chips { flex-basis: 100%; } }

/* ---------- Product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative;
  animation: cardin .6s var(--ease) both;
}
@keyframes cardin { from { opacity: 0; transform: translateY(18px); } }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 1; background: var(--yellow-soft); position: relative; overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 4rem; font-family: serif; color: rgba(20, 19, 17, .18); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 999px; }
.badge.soldout { background: var(--ink); color: #fff; }
.card-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.08rem; }
.card-body .desc { font-size: .84rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 600; font-size: 1rem; }
.price s { color: var(--muted); font-weight: 400; margin-left: .4rem; font-size: .85rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .4rem; }
.variant-select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 2rem .5rem .85rem; font-size: .82rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23141311' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; min-width: 0; max-width: 60%;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.add-btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0;
  transition: transform .25s var(--ease), background .2s;
}
.add-btn:hover { transform: scale(1.08); background: var(--yellow); color: var(--ink); }
.add-btn svg { width: 18px; height: 18px; }
.add-btn.added { background: var(--success); color: #fff; }
.stock-note { font-size: .74rem; color: var(--danger); font-weight: 600; }
.stock-note.mto { color: var(--muted); font-weight: 500; }
.card-head { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
@media (max-width: 560px) {
  .card-body { padding: .75rem .8rem .9rem; }
  .card-body h3 { font-size: .95rem; }
  .card-body .desc { display: none; }
  .card-head { flex-direction: column; gap: .15rem; }
  .card-foot { flex-wrap: wrap; }
  .variant-select { flex: 1 1 100%; max-width: none; order: -1; }
}

/* ---------- Story strip / feature blocks ---------- */
.story { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.story h2 { color: #fff; }
.story p { color: rgba(255, 255, 255, .75); }
.story .tamil-big { font-size: clamp(14rem, 30vw, 24rem); font-family: serif; line-height: .9; color: var(--yellow); text-align: center; user-select: none; }
.story .eyebrow { color: var(--yellow); }
.story .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.story .btn-ghost:hover { background: var(--yellow); color: var(--ink); box-shadow: none; }
@media (max-width: 860px) { .story .wrap { grid-template-columns: 1fr; } .story .tamil-big { font-size: 10rem; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.5rem; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-soft); display: grid; place-items: center; margin-bottom: 1rem; }
.feature .ic svg { width: 22px; height: 22px; color: var(--yellow-deep); }
.feature h3 { font-size: 1.05rem; margin-bottom: .3em; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.review .stars { color: var(--yellow-deep); letter-spacing: .1em; font-size: .9rem; }
.review p { margin: 0; font-size: .95rem; }
.review .who { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

.newsletter { background: var(--yellow); border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.newsletter h2 { margin: .2em 0 .3em; }
.newsletter p { margin: 0; color: var(--ink-2); }
.newsletter form { display: flex; gap: .5rem; background: #fff; border-radius: 999px; padding: .35rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 140px; border: 0; outline: 0; background: transparent; padding: .6rem 1rem; min-width: 0; }
.newsletter input[name=name] { flex: 0 1 150px; border-right: 1px solid var(--line); border-radius: 0; }
@media (max-width: 560px) { .newsletter form { border-radius: 20px; } .newsletter input[name=name] { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); } }
/* checkout offers */
.offers { background: var(--yellow-soft); border-radius: 12px; padding: .7rem .9rem; margin: .8rem 0; font-size: .86rem; }
.offers b { display: block; margin-bottom: .35rem; }
.offer { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border-radius: 999px; padding: .3rem .4rem .3rem .8rem; margin: .15rem .3rem .15rem 0; }
.offer code { font-weight: 700; letter-spacing: .05em; }
.offer .btn { padding: .35rem .7rem; font-size: .75rem; }
.band-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .band-actions { justify-content: center; } .band-actions .btn { width: 100%; max-width: 360px; justify-content: center; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 2rem; margin-top: 2rem; font-size: .9rem; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .22em; margin-bottom: 1rem; }
.footer a:hover { color: var(--yellow); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.fbrand { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1rem; color: #fff; }
.fbrand img { width: min(180px, 100%); height: auto; }
.fbrand span { display: flex; flex-direction: column; font-family: var(--font-head); text-transform: uppercase; }
.fbrand b { font-weight: 500; font-size: 1.05rem; line-height: 1.05; letter-spacing: .14em; }
.fbrand small { font-size: .56rem; letter-spacing: .3em; margin-top: .45rem; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.footer .credit a { color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 3px; }
.footer .credit a:hover { color: var(--yellow); }
.footer .social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer .social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: all .2s; }
.footer .social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer .social svg { width: 17px; height: 17px; }
.footer .legal { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: rgba(255, 255, 255, .45); }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer .cols { grid-template-columns: 1fr; } .footer .cols > div:first-child { text-align: center; } .footer .fbrand { display: flex; justify-content: center; } .footer .social { justify-content: center; } }
@media (max-width: 760px) {
  .foot-trust { flex-direction: column; align-items: center; text-align: center; gap: .9rem; }
  .foot-rating, .foot-pay { justify-content: center; }
  .footer .legal { flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
}

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 19, 17, .45); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; backdrop-filter: blur(2px); }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 90;
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.15rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.drawer-foot { padding: 1.1rem 1.4rem 1.4rem; border-top: 1px solid var(--line); background: var(--cream); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: .95rem; }
.drawer-foot .row.total { font-weight: 700; font-size: 1.05rem; margin: .5rem 0 1rem; }
.ship-progress { font-size: .8rem; color: var(--muted); margin-bottom: .8rem; }
.ship-progress .bar { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.ship-progress .bar i { display: block; height: 100%; background: var(--yellow); transition: width .5s var(--ease); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; animation: fadein .3s; }
.cart-line img, .cart-line .ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--yellow-soft); }
.cart-line .ph { display: grid; place-items: center; font-family: serif; font-size: 1.8rem; color: rgba(20, 19, 17, .2); }
.cart-line .name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.cart-line .var { font-size: .8rem; color: var(--muted); }
.cart-line .line-price { font-weight: 600; font-size: .92rem; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: .4rem; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; font-size: 1.1rem; line-height: 1; }
.qty span { min-width: 24px; text-align: center; font-size: .9rem; font-weight: 600; }
.qty.lg button { width: 42px; height: 42px; } .qty.lg span { min-width: 36px; }
.remove { font-size: .75rem; color: var(--muted); text-decoration: underline; margin-top: .3rem; display: block; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .tamil { font-size: 4rem; font-family: serif; color: var(--yellow); line-height: 1; margin-bottom: .5rem; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }

/* fly-to-cart */
.fly { position: fixed; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; z-index: 100; pointer-events: none; transition: all .7s cubic-bezier(.3, .7, .4, 1); box-shadow: var(--shadow); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-size: .9rem; z-index: 120; opacity: 0; transition: all .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.gallery { position: sticky; top: 90px; }
.gallery .main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--yellow-soft); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: .6rem; margin-top: .6rem; }
.gallery .thumbs img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; opacity: .6; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.gallery .thumbs img.active, .gallery .thumbs img:hover { opacity: 1; border-color: var(--yellow); }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .2em 0 .3em; }
.product-info .price { font-size: 1.5rem; margin-bottom: 1.25rem; display: block; }
.variants { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.variants label { cursor: pointer; }
.variants input { position: absolute; opacity: 0; }
.variants .opt { display: inline-flex; flex-direction: column; padding: .6rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; min-width: 110px; transition: all .2s; }
.variants .opt small { color: var(--muted); font-size: .78rem; }
.variants input:checked + .opt { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.variants input:disabled + .opt { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.choose-btn { flex: 1; justify-content: center; }
.cart-line .var.custom { color: var(--ink-2); font-size: .78rem; }

/* mixed-pack builder */
.pack { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin: .5rem 0 1.25rem; }
.pack-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.pack-count { font-size: .8rem; font-weight: 600; color: var(--muted); }
.pack-count.done { color: var(--success); }
.pack-same { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; font-size: .8rem; margin-bottom: .8rem; }
.pack-same .chip { padding: .35rem .75rem; font-size: .78rem; }
.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .9rem; }
.pack-row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; padding: .25rem 0; }
.pack-row .qty { margin: 0; }
.pack-bar { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: .8rem; }
.pack-bar i { display: block; height: 100%; background: var(--yellow); transition: width .4s var(--ease); }
@media (max-width: 480px) { .pack-grid { grid-template-columns: 1fr; } }

/* ---------- Custom cakes ---------- */
.how { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.how div { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-2); }
.how b { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: .75rem; }
.cake-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 560px) { .cake-grid { grid-template-columns: 1fr; } }
.design-card .card-media { aspect-ratio: 4/5; }
.design-switch { margin-top: .8rem; font-size: .85rem; }
.step { margin-top: 1.75rem; }
.step h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin-bottom: .75rem; }
.step h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: .78rem; font-weight: 700; font-family: var(--font-body); }
/* option tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.tiles.wide { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tile { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile:hover { border-color: #C9C1B2; transform: translateY(-1px); }
.tile > label { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: .9rem .7rem .8rem; cursor: pointer; width: 100%; height: 100%; }
.tile.row > label { flex-direction: row; text-align: left; align-items: center; gap: .7rem; padding: .7rem .8rem; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-soft); display: grid; place-items: center; flex-shrink: 0; font-size: 1.4rem; line-height: 1; }
.tile .ic svg { width: 26px; height: 26px; }
.tile .swatch { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); flex-shrink: 0; }
.tile .t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.tile .t b { font-size: .9rem; }
.tile .t small { color: var(--muted); font-size: .74rem; margin-top: .1rem; }
.tile .p { font-size: .78rem; font-weight: 700; color: var(--ink-2); background: var(--cream); border-radius: 999px; padding: .15rem .55rem; white-space: nowrap; }
.tile .p.free { color: var(--success); background: #E8F3EC; }
.tile.on, .tile:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.tile.on .ic, .tile:has(input:checked) .ic { background: var(--yellow); }
.tile .tick { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; border: 2px solid var(--cream); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: all .2s var(--ease); z-index: 1; }
.tile .tick svg { width: 12px; height: 12px; }
.tile.on .tick, .tile:has(input:checked) .tick { opacity: 1; transform: scale(1); }
.tile.disabled { opacity: .45; pointer-events: none; }
.addon-text { padding: 0 .8rem .75rem; }
.addon-text input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .8rem; outline: 0; font-size: .9rem; }
.addon-text input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(234, 179, 48, .25); }
.group-label { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 .5rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-weight: 600; }
.group-label svg { width: 16px; height: 16px; color: var(--yellow-deep); }
.step-summary { font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: auto; }
.step h3 { flex-wrap: wrap; }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles.wide { grid-template-columns: 1fr; } }
.photo-up { display: flex; gap: .5rem; flex-wrap: wrap; }
.photo-up .ph { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.photo-up .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-up .ph button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: .7rem; }
.photo-up .up { width: 64px; height: 64px; border: 1.5px dashed var(--line); border-radius: 10px; font-size: .75rem; color: var(--muted); background: #fff; }
.photo-up .up:hover { border-color: var(--ink); color: var(--ink); }
.price-panel { position: sticky; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); margin: 2rem calc(50% - 50vw) 0; padding: .8rem 0; }
.price-panel .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pp-lines { display: flex; gap: .4rem .9rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.pp-lines b { color: var(--ink); font-weight: 600; }
.pp-right { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.pp-right .qty { margin: 0; }
.pp-total { display: flex; flex-direction: column; line-height: 1.1; text-align: right; }
.pp-total small { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pp-total b { font-family: var(--font-head); font-size: 1.4rem; }
@media (max-width: 760px) { .pp-lines { display: none; } .price-panel .wrap { justify-content: flex-end; } }
.cake-cta { background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(1.6rem, 4vw, 3rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.cake-cta h2 { color: #fff; margin: .2em 0 .4em; }
.cake-cta p { color: rgba(255, 255, 255, .75); }
.cake-cta .eyebrow { color: var(--yellow); }
.cake-cta .btn { background: var(--yellow); color: var(--ink); }
.cake-cta-steps { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cake-cta-steps div { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: .9rem 1rem; font-size: .85rem; display: flex; align-items: center; gap: .6rem; }
.cake-cta-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: .75rem; }
@media (max-width: 760px) { .cake-cta { grid-template-columns: 1fr; } }

.buy-row { display: flex; gap: .75rem; align-items: center; margin: 1.25rem 0; }
.buy-row .btn { flex: 1; padding: 1rem; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .inner { padding: 0 0 1.2rem; color: var(--ink-2); font-size: .95rem; }
.lead-note { font-size: .85rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
/* ---------- Sizing & serving guide ---------- */
.calc { background: #fff; border-radius: calc(var(--radius) + 4px); padding: 1.6rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; box-shadow: var(--shadow); }
.calc-in label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .5rem; }
.calc-row { display: flex; align-items: center; gap: .4rem; }
.calc-row input { width: 110px; text-align: center; font-family: var(--font-head); font-size: 2.2rem; border: 0; border-bottom: 2px solid var(--line); outline: 0; background: transparent; padding: .2rem; -moz-appearance: textfield; }
.calc-row input::-webkit-outer-spin-button, .calc-row input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-row .icon-btn { background: var(--cream); font-size: 1.4rem; }
.calc-label { font-weight: 600; font-size: .9rem; margin: 1.25rem 0 .5rem; }
.slice-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.slice-pick button { display: flex; align-items: center; gap: .6rem; text-align: left; padding: .6rem .75rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: all .2s; }
.slice-pick button:hover { border-color: #C9C1B2; }
.slice-pick button.active { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.slice-pick svg { width: 42px; height: 36px; flex-shrink: 0; color: var(--ink); }
.slice-pick span { display: flex; flex-direction: column; line-height: 1.2; }
.slice-pick b { font-size: .86rem; } .slice-pick small { font-size: .72rem; color: var(--muted); }
@media (max-width: 420px) { .slice-pick { grid-template-columns: 1fr; } }
.calc-pick { display: flex; gap: 1.2rem; align-items: center; }
.calc-pick .cutmap { width: 120px; flex-shrink: 0; }
.calc-pick h3 { margin: 0 0 .2em; font-size: 1.4rem; } .calc-pick p { margin: 0 0 .8em; color: var(--ink-2); }
.link-u { text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; margin-left: .5rem; }
@media (max-width: 760px) {
  .calc { grid-template-columns: 1fr; }
  .calc-in { text-align: center; }
  .calc-row { justify-content: center; }
  .calc-pick { flex-direction: column; text-align: center; }
}
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.size-card { background: #fff; border-radius: var(--radius); padding: 1.1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .25rem; transition: transform .3s var(--ease), box-shadow .3s; scroll-margin-top: 110px; }
.size-card:hover, .size-card:target { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.size-card:target { outline: 2px solid var(--yellow); }
.size-card .cutmap { width: 100%; max-width: 170px; }
@media (max-width: 560px) { .size-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } .size-card { padding: .8rem; } .size-card h3 { font-size: 1rem; } }
.size-card h3 { margin: .5rem 0 0; font-size: 1.15rem; }
.size-card .serv { font-size: .9rem; } .size-card .serv b { font-family: var(--font-head); font-size: 1.5rem; margin-right: .2rem; }
.size-card .chip { margin-top: .5rem; font-size: .74rem; padding: .35rem .8rem; }
.chip.avail { background: var(--yellow); border-color: var(--yellow); }
.chip.ghostchip { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stepcard { background: #fff; border-radius: var(--radius); padding: 1.3rem; position: relative; }
.stepnum { position: absolute; top: 14px; left: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.stepart { width: 100%; height: 110px; margin: .6rem 0 .4rem; }
.stepcard h3 { font-size: 1.05rem; margin-bottom: .3em; } .stepcard p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.care-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.care { background: #fff; border-radius: 14px; padding: 1rem 1.1rem; display: flex; gap: .9rem; align-items: flex-start; }
.care-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-soft); display: grid; place-items: center; flex-shrink: 0; color: var(--ink); }
.care-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.care b { font-size: .95rem; } .care p { margin: .2rem 0 0; font-size: .86rem; color: var(--muted); }
.tile .t small a { color: var(--yellow-deep); text-decoration: underline; text-underline-offset: 2px; }
.size-help { font-size: .82rem; color: var(--muted); margin: .5rem 0 0; }
.size-help a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

.info-sections summary { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.info-sections .inner p { margin: 0 0 .8em; }
.info-sections .inner ul { margin: 0 0 .8em; padding-left: 1.2rem; }
.info-sections .inner a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 1.5rem; } .gallery { position: static; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(234, 179, 48, .25); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
.row-2 > .field, .checkout > *, .field input, .field select, .field textarea { min-width: 0; }
.time-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: .6rem; align-items: end; }
.time-row small { display: block; font-size: .72rem; margin-bottom: .25rem; }
.time-dash { padding-bottom: .8rem; color: var(--muted); }
.time-total { min-width: 72px; text-align: center; padding: .55rem .6rem; border-radius: 12px; background: var(--yellow-soft); border: 1.5px dashed rgba(20,19,17,.15); }
.time-total b { display: block; font-size: 1rem; line-height: 1.3; color: var(--muted); } .time-total.has { border-style: solid; border-color: transparent; background: var(--yellow); } .time-total.has b { color: var(--ink); }
.field input[type=date], .field input[type=time] { -webkit-appearance: none; appearance: none; }
@media (max-width: 560px) { .time-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } .time-total { grid-column: 1 / -1; } }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin: .75rem 0; cursor: pointer; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--ink); }
.field.req > label::after { content: " *"; color: var(--danger); font-weight: 700; }
.req-note { margin-left: auto; font-size: .75rem; font-weight: 400; color: var(--muted); } .req-note i { color: var(--danger); font-style: normal; font-weight: 700; }
.panel h3 { flex-wrap: wrap; }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(200, 64, 47, .12); }
.field-msg { font-size: .78rem; color: var(--danger); }
.panel.invalid { box-shadow: 0 0 0 2px var(--danger); }
.panel.invalid h3::after { content: "Please choose one"; font-size: .78rem; color: var(--danger); font-weight: 500; flex-basis: 100%; }
.pay-hint { font-size: .78rem; margin: .5rem 0 0; text-align: center; min-height: 1em; }
.pb-total .pay-hint { margin: .15rem 0 0; text-align: left; color: var(--muted); font-size: .68rem; white-space: nowrap; }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: auto; transform: none !important; box-shadow: none !important; }
.form-error { background: #FBE9E6; color: var(--danger); padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; margin-bottom: 1rem; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.25rem; }
.panel h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.panel h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.ship-opt { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: .6rem; cursor: pointer; transition: all .2s; background: #fff; }
.ship-opt:hover { border-color: var(--ink-2); }
.ship-opt.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ship-opt input { margin-top: .3rem; accent-color: var(--ink); }
.ship-opt .t { flex: 1; } .ship-opt .t b { display: block; font-size: .95rem; } .ship-opt .t small { color: var(--muted); font-size: .8rem; }
.ship-opt .p { font-weight: 700; font-size: .95rem; }
.ship-opt .p.free { color: var(--success); }
.summary { position: sticky; top: 90px; }
.summary .line { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; align-items: center; }
.summary .line img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--yellow-soft); }
.summary .line .n { flex: 1; } .summary .line .n small { color: var(--muted); display: block; }
.summary .tot { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .95rem; }
.summary .tot.grand { font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .9rem; }
.coupon-row { display: flex; gap: .5rem; margin: 1rem 0; }
.coupon-row input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: .65rem 1rem; outline: 0; text-transform: uppercase; }
.coupon-tag { display: inline-flex; gap: .5rem; align-items: center; background: var(--yellow-soft); padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.secure { font-size: .78rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; justify-content: center; margin-top: .8rem; }
.pay-bar { display: none; }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .summary #pay-btn, .summary .secure, .summary #pay-hint { display: none; }
  .pay-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .25); }
  #checkout-form { padding-bottom: 96px; }
  .pay-bar .btn { flex: 1; padding: .95rem 1rem; }
  .pb-total { display: flex; flex-direction: column; line-height: 1.1; }
  .pb-total small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
  .pb-total b { font-family: var(--font-head); font-size: 1.35rem; }
}

/* ---------- Order status ---------- */
.status-steps { display: flex; gap: .4rem; margin: 1.5rem 0; }
.status-steps div { flex: 1; text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: .6rem; border-top: 3px solid var(--line); }
.status-steps div.done { border-color: var(--yellow); color: var(--ink); font-weight: 600; }

/* ---------- Content pages ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 5rem) 0 1.5rem; }
.page-head h1 { margin: .2em 0 .3em; }
.prose { max-width: 72ch; font-size: 1.02rem; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.policy-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
/* ---------- FAQ ---------- */
.faq-head { padding-bottom: 1.8rem; }
.faq-search-wrap { position: sticky; top: var(--faq-top, 72px); z-index: 40; background: var(--cream); padding: .6rem 0 .9rem; margin: 0 0 1rem; }
.faq-search-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: linear-gradient(var(--cream), rgba(250,246,238,0)); pointer-events: none; display: none; }
.faq-search { display: flex; align-items: center; gap: .7rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .6rem .45rem 1.2rem; width: 100%; box-shadow: 0 1px 2px rgba(20,19,17,.04); transition: border-color .2s, box-shadow .2s; }
.faq-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(234,179,48,.22); }
.faq-search svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.faq-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: .6rem 0; min-width: 0; } .faq-search input::-webkit-search-cancel-button { display: none; }
.faq-search button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink-2); cursor: pointer; font-size: .85rem; } .faq-search button:hover { background: var(--yellow); }
.faq-count { font-size: .85rem; margin: .6rem 0 0; min-height: 1.2em; }
.faq-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 2.2rem; }
.faq-quick a { display: flex; flex-direction: column; gap: .15rem; background: #fff; border-radius: 16px; padding: 1rem 1.1rem; border: 1px solid rgba(20,19,17,.06); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.faq-quick a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.faq-quick .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--yellow-soft); display: grid; place-items: center; margin-bottom: .5rem; } .faq-quick .ic svg { width: 20px; height: 20px; color: var(--yellow-deep); }
.faq-quick b { font-size: .95rem; } .faq-quick small { color: var(--muted); font-size: .8rem; }
.faq-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
/* Desktop: the answers column scrolls on its own; search bar + topic nav stay put. */
@media (min-width: 961px) {
  .faq-layout { height: calc(100dvh - var(--faq-top, 72px) - var(--faq-search-h, 84px) - 1.5rem); min-height: 520px; align-items: stretch; }
  .faq-main { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding-right: .4rem; padding-bottom: 1rem; scroll-behavior: smooth; border-radius: var(--radius); }
  .faq-main::-webkit-scrollbar { width: 8px; } .faq-main::-webkit-scrollbar-thumb { background: rgba(20,19,17,.15); border-radius: 8px; } .faq-main::-webkit-scrollbar-thumb:hover { background: rgba(20,19,17,.3); }
  .faq-group { scroll-margin-top: 0; } .faq-q { scroll-margin-top: .4rem; }
  .faq-main .faq-group:last-of-type { margin-bottom: 45vh; }  /* lets the last topic scroll to the top of the pane */
  .faq-side { position: static; }
}
.faq-side { display: flex; flex-direction: column; gap: .15rem; }
.faq-side a { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 10px; font-weight: 500; color: var(--ink-2); font-size: .92rem; }
.faq-side a svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.faq-side a:hover { background: #fff; } .faq-side a.active { background: var(--ink); color: #fff; } .faq-side a.active svg { color: var(--yellow); }
.faq-side-help { margin-top: 1.2rem; background: var(--yellow-soft); border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; gap: .2rem; font-size: .88rem; } .faq-side-help span { color: var(--ink-2); margin-bottom: .6rem; } .faq-side-help .btn { align-self: flex-start; }
.faq-group { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.6rem .4rem; margin-bottom: 1.5rem; border: 1px solid rgba(20,19,17,.06); scroll-margin-top: calc(var(--faq-top, 72px) + 100px); }
.faq-group-head { display: flex; gap: .9rem; align-items: flex-start; padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .2rem; }
.faq-group-head .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--yellow-soft); display: grid; place-items: center; flex-shrink: 0; } .faq-group-head .ic svg { width: 22px; height: 22px; color: var(--yellow-deep); }
.faq-group-head h2 { font-size: 1.3rem; margin: .1em 0 .15em; } .faq-group-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.faq-q { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--faq-top, 72px) + 110px); } .faq-q:last-of-type { border-bottom: 0; }
.faq-q summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-weight: 600; position: relative; line-height: 1.4; color: var(--ink); }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq-q[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-q[open] summary { color: var(--yellow-deep); }
.faq-q .inner { padding: 0 0 1.2rem; color: var(--ink-2); font-size: .95rem; line-height: 1.6; max-width: 70ch; }
.faq-q .inner a { text-decoration: underline; text-underline-offset: 3px; } .faq-q .inner ul { padding-left: 1.2rem; margin: .4rem 0 .6rem; } .faq-q .inner li { margin-bottom: .35em; } .faq-q .inner strong { color: var(--ink); }
.faq-q mark { background: var(--yellow-soft); color: inherit; border-radius: 3px; padding: 0 .1em; }
.faq-empty { text-align: center; padding: 3rem 1rem; } .faq-empty .tamil { font-family: serif; font-size: 3rem; color: rgba(20,19,17,.18); } .faq-empty p { margin: .4rem 0 1.2rem; color: var(--ink-2); }
/* home teaser */
.faq-teaser { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.faq-teaser .faq-q { border-bottom: 1px solid var(--line); } .faq-teaser .faq-q:last-of-type { border-bottom: 0; }
.faq-teaser-list { background: #fff; border-radius: var(--radius); padding: .4rem 1.4rem; }
@media (max-width: 960px) { .faq-search-wrap::after { display: block; } .faq-layout { grid-template-columns: 1fr; gap: 1rem; } .faq-side { position: static; flex-direction: row; overflow-x: auto; gap: .4rem; padding-bottom: .4rem; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; } .faq-side::-webkit-scrollbar { display: none; } .faq-side a { white-space: nowrap; background: #fff; border: 1px solid var(--line); font-size: .85rem; padding: .5rem .8rem; } .faq-side a.active { border-color: var(--ink); } .faq-side-help { display: none; } .faq-quick { grid-template-columns: 1fr 1fr; } .faq-teaser { grid-template-columns: 1fr; gap: 1.2rem; } }
@media (max-width: 560px) { .faq-group { padding: 1.1rem 1.1rem .2rem; } .faq-quick a { padding: .85rem .9rem; } }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-grid .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--yellow); display: grid; place-items: center; }
.about-grid .img img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.value { background: #fff; border-radius: var(--radius); padding: 1.5rem; }
.value .num { font-family: var(--font-head); font-size: 2rem; color: var(--yellow-deep); line-height: 1; }
.value h3 { font-size: 1.05rem; margin: .6rem 0 .3rem; }
.value p { font-size: .9rem; color: var(--muted); margin: 0; }
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.stat b { font-family: var(--font-head); font-size: 2rem; display: block; line-height: 1; }
.stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
/* About page */
.vision-band { position: relative; overflow: hidden; background: var(--yellow); border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: center; }
.vision-band .eyebrow { color: var(--ink-2); }
.vision-band h2 { margin: .2em 0 .4em; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.vision-band p:not(.eyebrow) { margin: 0 0 1.4rem; color: var(--ink-2); max-width: 58ch; }
.vision-band .band-actions { margin: 0; }
.vision-mark { font-family: serif; font-size: clamp(9rem, 16vw, 15rem); line-height: .8; color: var(--ink); opacity: .14; justify-self: end; user-select: none; }
@media (max-width: 860px) { .vision-band { grid-template-columns: 1fr; } .vision-mark { position: absolute; right: -4%; bottom: -10%; font-size: 11rem; opacity: .1; } .vision-band .band-actions { justify-content: flex-start !important; } .vision-band .band-actions .btn { width: auto; } }

.about-hero { padding-bottom: clamp(2rem, 5vw, 4rem); }
.about-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; }
.about-hero h1 em { font-style: normal; color: var(--yellow-deep); }
.about-hero .lead { font-size: 1.1rem; color: var(--ink-2); max-width: 54ch; margin: 1rem 0 0; }
.about-facts { display: flex; gap: 2.2rem; flex-wrap: wrap; margin-top: 1.6rem; }
.about-facts b { font-family: var(--font-head); font-size: 1.7rem; display: block; line-height: 1; } .about-facts span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.about-collage { position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto; width: 100%; }
.about-collage img, .about-collage .c4 { position: absolute; border-radius: 18px; object-fit: cover; box-shadow: 0 18px 40px -18px rgba(20,19,17,.35); background: var(--yellow-soft); }
.about-collage .c1 { left: 0; top: 6%; width: 58%; aspect-ratio: 4/5; transform: rotate(-3deg); }
.about-collage .c2 { right: 0; top: 0; width: 44%; aspect-ratio: 1; transform: rotate(4deg); }
.about-collage .c3 { right: 6%; bottom: 4%; width: 48%; aspect-ratio: 5/4; transform: rotate(-2deg); }
.about-collage .c4 { left: 10%; bottom: 0; width: 24%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(20,19,17,.4); } .about-collage .c4 img { position: static; width: 100%; height: 100%; border-radius: 50%; box-shadow: none; transform: none; }
.about-collage .c5 { position: absolute; right: -2%; bottom: 28%; font-family: serif; font-size: 7rem; line-height: 1; color: var(--yellow); opacity: .5; z-index: -1; }
.about-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.about-split figure { margin: 0; } .about-split figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about-split figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.about-split .prose { max-width: none; } .about-split h2 { margin-top: .2em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pull { margin: 1.6rem 0 0; padding: 1.1rem 1.3rem; border-left: 4px solid var(--yellow); background: #fff; border-radius: 0 14px 14px 0; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); line-height: 1.4; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 1.6rem; }
.timeline .dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px var(--cream); }
.timeline b { font-family: var(--font-head); font-size: 1.1rem; display: block; margin-bottom: .35rem; }
.timeline p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.values-4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.value .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-soft); display: grid; place-items: center; } .value .ic svg { width: 22px; height: 22px; color: var(--yellow-deep); }
.about-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.way { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(20,19,17,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.way img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--yellow-soft); }
.way > div { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.way h3 { font-size: 1.15rem; margin: 0; } .way p:not(.eyebrow) { margin: 0; color: var(--ink-2); font-size: .92rem; } .way .link { margin-top: auto; padding-top: .6rem; font-weight: 600; font-size: .9rem; }
.way:hover .link { color: var(--yellow-deep); }
.about-trust { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid rgba(20,19,17,.06); align-items: center; }
.about-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.about-trust li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); } .about-trust li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: .1rem; } .about-trust a { text-decoration: underline; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline::before { display: none; } .values-4 { grid-template-columns: 1fr 1fr; } .about-ways { grid-template-columns: 1fr; } .about-trust { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } .about-collage { margin: 0 auto; max-width: 420px; } .about-split { grid-template-columns: 1fr; gap: 1.5rem; } .values { grid-template-columns: 1fr; } .values-4 { grid-template-columns: 1fr; } .timeline { grid-template-columns: 1fr; } .about-facts { gap: 1.4rem; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .3em; }
.contact-card p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.closed-banner { background: var(--ink); color: #fff; padding: 1rem; border-radius: var(--radius); text-align: center; margin: 1rem 0; }

/* ---------- Skeletons & reveals ---------- */
.skeleton { background: linear-gradient(90deg, #EEE7D9 25%, #F6F1E7 50%, #EEE7D9 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); aspect-ratio: .8; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Modal (quick view) ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: all .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal .box { background: #fff; border-radius: var(--radius); width: min(820px, 100%); max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); position: relative; }
.modal.open .box { transform: none; }
.modal .box img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.modal .box .content { padding: 1.8rem; }
.modal .x { position: absolute; top: 10px; right: 10px; background: #fff; }
.modal.notice { background: rgba(20, 19, 17, .55); backdrop-filter: blur(3px); }
.modal .box.notice-box { display: block; grid-template-columns: none; width: min(460px, 100%); animation: fadein .35s var(--ease); }
.notice-stripe { height: 10px; width: 100%; background: repeating-linear-gradient(135deg, var(--yellow) 0 14px, #F3C85A 14px 28px); }
.notice-box .content { padding: 1.6rem 1.6rem 1.4rem; }
.notice-box h2 { margin: .2em 0 .5em; font-size: 1.7rem; }
.notice-box p a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .modal .box { grid-template-columns: 1fr; } .modal .box img { aspect-ratio: 4/3; } }

/* ---------- Market stalls ---------- */
.next-stall { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 2rem; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.next-stall:hover { transform: translateY(-2px); }
.ns-date { width: 54px; height: 54px; border-radius: 14px; background: var(--yellow); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex-shrink: 0; }
.ns-date b { font-family: var(--font-head); font-size: 1.4rem; } .ns-date small { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; }
.ns-text { flex: 1; display: flex; flex-direction: column; min-width: 0; } .ns-text b { font-size: 1rem; } .ns-text small { color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .next-stall .btn { display: none; } }
.stall-list { display: grid; gap: 1.5rem; }
.stall-card { display: grid; grid-template-columns: 340px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(20,19,17,.06); box-shadow: 0 1px 2px rgba(20,19,17,.04); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease); }
.stall-card.in { transition: opacity .7s var(--ease), transform .4s var(--ease), box-shadow .3s var(--ease); }
.stall-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stall-media { position: relative; background: var(--yellow-soft); display: block; min-height: 100%; } .stall-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stall-media .badge { position: absolute; top: .9rem; right: .9rem; left: auto; }
.stall-date { position: absolute; top: .9rem; left: .9rem; width: 58px; height: 58px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 6px 16px rgba(20,19,17,.14); }
.stall-date b { font-family: var(--font-head); font-size: 1.5rem; } .stall-date small { font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: .15rem; }
.stall-body { padding: 1.6rem 1.8rem 1.4rem; display: flex; flex-direction: column; }
.stall-body h2 { margin: .1em 0 .7em; font-size: 1.75rem; } .stall-body h2 a { color: inherit; } .stall-body h2 a:hover { color: var(--yellow-deep); }
.stall-meta { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .45rem; }
.stall-meta li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--ink-2); }
.stall-meta svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--yellow-deep); margin-top: .1rem; } .stall-meta a { text-decoration: underline; }
.stall-desc { margin: 0 0 .9rem; }
.peek-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: .2rem 0 .55rem; }
.menu-peek { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.2rem; } .menu-peek .chip { font-size: .78rem; padding: .35rem .7rem; } .menu-peek .chip em { font-style: normal; color: var(--muted); margin-left: .25rem; }
.stall-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid rgba(20,19,17,.08); }
.stall-foot .btn { gap: .5rem; } .stall-foot .btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); } .stall-foot .btn:hover svg { transform: translateX(3px); }
.pb-status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .2rem .55rem; font-size: .85rem; color: var(--ink-2); }
.pb-main { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; white-space: nowrap; }
.pb-sub { white-space: nowrap; color: var(--muted); }
.pb-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.pb-status.open i, .pb-status.live i { background: var(--success); box-shadow: 0 0 0 3px rgba(31,138,86,.18); }
.pb-status.live .pb-main { color: var(--success); }
[data-cd] { display: inline-block; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; white-space: nowrap; text-align: left; }
.pb-status [data-cd] { color: var(--ink); font-weight: 600; }
.pb-status.soon [data-cd] { color: var(--danger); }
.pb-status.soon [data-cd] { color: var(--danger); }
.cd { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border-radius: 999px; padding: .35rem .8rem .35rem .6rem; font-size: .82rem; font-weight: 600; white-space: nowrap; box-shadow: 0 0 0 1px rgba(20,19,17,.08); }
.cd svg { width: 16px; height: 16px; color: var(--yellow-deep); }
.cd.soon { color: var(--danger); box-shadow: 0 0 0 1px rgba(200,64,47,.3); } .cd.soon svg { color: var(--danger); }
.cd.urgent { animation: cd-pulse 1.2s ease-in-out infinite; }
@keyframes cd-pulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(200,64,47,.3); } 50% { box-shadow: 0 0 0 4px rgba(200,64,47,.18); } }
.pn-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.pp-total small [data-cd] { text-transform: none; letter-spacing: 0; color: var(--ink); }
.pp-total small.soon [data-cd], .pp-total small .soon { color: var(--danger); }
@media (max-width: 760px) { .stall-card { grid-template-columns: 1fr; } .stall-media { aspect-ratio: 16/9; min-height: 0; } .stall-body { padding: 1.3rem 1.2rem 1.2rem; } .stall-foot { flex-direction: column; align-items: stretch; } .stall-foot .btn { justify-content: center; } .pb-status { flex-direction: column; align-items: center; gap: .15rem; text-align: center; } }
.stall-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; }
.stall-hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--yellow-soft); } .stall-hero-media > img { width: 100%; height: 100%; object-fit: cover; }
/* organiser branding: dark overlay with the host's logo centred on the banner (toggle per stall) */
.org-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(20,19,17,.42), rgba(20,19,17,.58)); pointer-events: none; }
.org-overlay img { width: auto; height: auto; max-width: 58%; max-height: 46%; object-fit: contain; position: static; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.stall-media .org-overlay img { max-width: 62%; max-height: 50%; }
.hosted-by { display: flex; align-items: center; gap: .55rem; margin: .2rem 0 .6rem; font-size: .9rem; color: var(--muted); }
.hosted-by img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid rgba(20,19,17,.08); padding: 2px; box-sizing: border-box; }
.hosted-by a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prebook-note { background: var(--yellow-soft); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; margin-top: 1rem; }
@media (max-width: 760px) { .stall-hero { grid-template-columns: 1fr; } }
.stall-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; }
.menu-item { display: grid; grid-template-columns: 92px 1fr; gap: .9rem; background: #fff; border-radius: 14px; padding: .8rem; border: 1.5px solid transparent; }
.menu-item.soldout { opacity: .6; }
.mi-media { width: 92px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--yellow-soft); display: grid; place-items: center; font-family: serif; font-size: 2rem; color: rgba(20,19,17,.2); } .mi-media img { width: 100%; height: 100%; object-fit: cover; }
.mi-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.mi-head { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; } .mi-head b { font-size: 1rem; }
.mi-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; flex-wrap: wrap; } .mi-foot .qty { margin: 0; }

/* pickup / Hamilton-only products */
.local-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 600; color: #8A6410; background: var(--yellow-soft); border-radius: 999px; padding: .2rem .55rem; width: fit-content; }
.local-only-note { display: flex; gap: .7rem; align-items: flex-start; background: var(--yellow-soft); border-radius: 12px; padding: .8rem .9rem; margin: .8rem 0 0; font-size: .9rem; }
.local-only-note svg { width: 22px; height: 22px; flex-shrink: 0; color: #8A6410; margin-top: .1rem; }
.local-only-note div { display: flex; flex-direction: column; gap: .15rem; } .local-only-note small { color: var(--ink-2); font-size: .82rem; }
