/* =========================================================
   Desi Flavour Company — store styles (mobile-first)
   Brown + light cream · Nunito Sans
   ========================================================= */

:root {
  --bg: #fdf8f0;         /* light cream page */
  --page: #f6eee1;
  --soft: #f7efe3;       /* cream tint */
  --soft-2: #ecdcc6;
  --cream: #f9f0e1;
  --ink: #2b1d13;        /* dark brown text */
  --muted: #7d6a5a;
  --line: #ecdfcd;
  --brand: #6b4226;      /* rich brown */
  --brand-dark: #4f2f1a;
  --accent: #a8692e;     /* caramel */
  --accent-dark: #8c5422;
  --red: #c0392b;
  --gold: #e6bd72;
  --radius: 12px;
  --shadow: 0 10px 28px -14px rgba(60, 35, 15, .3);
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-bottom-nav { padding-bottom: 64px; }
body.has-bottom-bar { padding-bottom: 80px; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; }
p { margin: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 8px; border: 0; font-weight: 800; font-size: 15px; white-space: nowrap; transition: background .2s, transform .1s, border-color .2s; }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--light { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn--light:hover { border-color: var(--brand); }
.btn--white { background: #fff; color: var(--brand); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.btn.is-added { background: var(--brand); color: #fff; }

/* ---------- Offer ribbon (scrolling) ---------- */
.ribbon { background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; overflow: hidden; white-space: nowrap; }
.ribbon__track { display: inline-flex; gap: 48px; padding: 7px 0; animation: ribbon 28s linear infinite; }
.ribbon__track span::before { content: "✦"; margin-right: 10px; opacity: .8; }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: #fffaf3; box-shadow: 0 1px 0 var(--line); }
.header__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 0; }
.icon-btn { position: relative; width: 42px; height: 42px; border: 0; background: none; border-radius: 10px; display: grid; place-items: center; }
.icon-btn:hover { background: var(--page); }
.icon-btn svg { width: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

.logo { display: flex; align-items: center; gap: 8px; }
.logo__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 20px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-size: 19px; font-weight: 900; letter-spacing: -.02em; color: var(--brand); }
.logo__text small { font-size: 9.5px; font-weight: 800; letter-spacing: .2em; color: var(--accent); margin-top: 3px; }

.search { position: relative; grid-column: 1 / -1; order: 3; display: flex; align-items: center; gap: 8px; background: var(--page); border: 1.5px solid var(--line); border-radius: 10px; padding: 0 6px 0 12px; height: 44px; }
.search:focus-within { border-color: var(--brand); background: #fff; }
.search svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 15px; }
.search input::-webkit-search-cancel-button { display: none; }
.search__btn { display: none; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); z-index: 60; overflow: hidden; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 14px; }
.suggest a:hover, .suggest a.is-active { background: var(--soft); }
.suggest img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.suggest small { margin-left: auto; font-weight: 800; }
.suggest p { padding: 12px; color: var(--muted); font-size: 14px; }

.header__actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.deliver { display: none; }
.cart-link { display: flex; align-items: center; gap: 8px; }
.cart-link__text { display: none; }

/* Nav bar (desktop) */
.navbar { display: none; background: var(--brand); color: #fff; }
.navbar__inner { display: flex; align-items: center; gap: 4px; height: 46px; }
.navbar a, .navbar button { color: #fff; font-weight: 700; font-size: 14.5px; padding: 0 12px; height: 46px; display: flex; align-items: center; border: 0; background: none; white-space: nowrap; }
.navbar a:hover { background: rgba(255,255,255,.1); }
.navbar__bulk { margin-left: auto; color: var(--gold) !important; }
.mega-wrap { position: relative; }
.mega-btn { gap: 8px; background: var(--brand-dark) !important; padding: 0 16px !important; }
.mega-btn svg { width: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.mega { position: absolute; top: 100%; left: 0; width: 760px; background: #fff; color: var(--ink); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 50; }
.mega-wrap:hover .mega, .mega-wrap:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 10px; }
.mega a { color: var(--ink) !important; height: auto !important; padding: 6px 0 !important; font-weight: 600 !important; display: flex !important; gap: 10px; }
.mega a:hover { background: none !important; color: var(--accent) !important; }
.mega img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* Mobile menu drawer */
.menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(330px, 86%); background: #fff; z-index: 60; transform: translateX(-100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.menu.is-open { transform: none; }
.menu__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--brand); color: #fff; }
.menu__head strong { font-size: 17px; }
.menu__head .icon-btn svg { stroke: #fff; }
.menu__body { flex: 1; overflow-y: auto; padding: 8px 0 20px; }
.menu__title { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 14px 16px 6px; }
.menu__body a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-weight: 700; font-size: 15px; }
.menu__body a:hover { background: var(--soft); }
.menu__body img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* Mobile bottom nav */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 58px; border: 0; background: none; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.bottom-nav svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav .is-active { color: var(--brand); }
.bottom-nav .count { position: absolute; top: 6px; left: calc(50% + 4px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; display: grid; place-items: center; }

/* ---------- Hero carousel ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.slides { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); touch-action: pan-y; }
.slide { position: relative; flex: 0 0 100%; height: 230px; overflow: hidden; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.05) 100%); }
.slide__content { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: #fff; }
.slide__tag { display: inline-block; background: var(--accent); font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.slide h2 { font-size: 24px; font-weight: 900; max-width: 280px; margin-bottom: 6px; }
.slide p { font-size: 14px; opacity: .9; max-width: 260px; margin-bottom: 14px; }
.slide .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.55); transition: width .3s, background .3s; }
.dots button.is-active { width: 24px; background: #fff; }
.arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: none; place-items: center; box-shadow: var(--shadow); }
.arrow svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.arrow--prev { left: 14px; }
.arrow--next { right: 14px; }

/* ---------- Sections ---------- */
.section { padding: 28px 0; }
.section--tint { background: var(--soft); }
.section--cream { background: var(--cream); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: 20px; }
.sec-head h2 span { color: var(--accent); }
.sec-head p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.view-all { flex: none; font-weight: 800; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.view-all:hover { color: var(--accent); }
.row-nav { display: none; gap: 8px; }
.row-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; }
.row-nav button:hover { border-color: var(--brand); }
.row-nav svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 36px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; }
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
a.tab { display: inline-flex; align-items: center; }

/* Category circles */
.circles { display: grid; grid-auto-flow: column; grid-auto-columns: 78px; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; }
.circles::-webkit-scrollbar { display: none; }
.circle { text-align: center; }
.circle__img { width: 78px; height: 78px; border-radius: 50%; overflow: hidden; border: 2.5px solid #fff; box-shadow: 0 0 0 2px var(--soft-2); margin-bottom: 6px; background: var(--cream); transition: box-shadow .2s, transform .2s; }
.circle__img img, .circle__img svg { width: 100%; height: 100%; object-fit: cover; }
.circle:hover .circle__img { box-shadow: 0 0 0 2.5px var(--accent); transform: translateY(-2px); }
.circle span { font-size: 12.5px; font-weight: 800; line-height: 1.2; display: block; }

/* Horizontal product rows */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; scroll-behavior: smooth; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }

/* ---------- Product card ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card__img { position: relative; display: block; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.card__img img, .card__img > svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.off { position: absolute; top: 8px; left: 0; z-index: 1; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 900; padding: 3px 8px 3px 7px; border-radius: 0 4px 4px 0; }
.tag { position: absolute; top: 8px; right: 8px; z-index: 1; background: rgba(255,255,255,.95); color: var(--brand); font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .03em; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; width: 100%; height: 100%; gap: 2px; background: #fff; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage img:first-child { grid-row: span 2; }
.collage--2 img:first-child { grid-row: auto; }
.collage--2 { grid-template-rows: 1fr; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 10px; }
.card__name { font-size: 14px; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card__name:hover { color: var(--brand); }
.stars-line { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.stars-line b { display: inline-flex; align-items: center; gap: 2px; background: var(--brand); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.sizes-mini { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.sizes-mini::-webkit-scrollbar { display: none; }
.sizes-mini button { flex: none; height: 28px; padding: 0 9px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; font-size: 12px; font-weight: 700; }
.sizes-mini button.is-active { border-color: var(--brand); background: var(--soft); color: var(--brand); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin-top: auto; }
.price strong { font-size: 17px; font-weight: 900; }
.price s { font-size: 12.5px; color: var(--muted); }
.price em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--brand); }
.per { font-size: 11.5px; color: var(--muted); margin: 1px 0 8px; min-height: 1.2em; }
.card__cta .btn { width: 100%; min-height: 38px; font-size: 14px; padding: 0 8px; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 38px; border-radius: 8px; background: var(--brand); color: #fff; }
.stepper button { width: 40px; height: 100%; border: 0; background: none; color: #fff; font-size: 18px; font-weight: 800; }
.stepper span { font-weight: 900; }

/* ---------- Promo banners ---------- */
.promos { display: grid; gap: 12px; }
.promo { position: relative; display: flex; align-items: center; min-height: 150px; border-radius: 14px; overflow: hidden; color: #fff; padding: 20px; }
.promo img, .promo > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.1)); }
.promo--gift { background: linear-gradient(120deg, #7a2f1a, #b2541f); }
.promo--gift::after { display: none; }
.promo__art { position: absolute; right: 8px; bottom: 0; width: 46%; max-width: 220px; }
.promo__text { position: relative; z-index: 1; max-width: 60%; }
.promo__text small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.promo__text h3 { font-size: 21px; font-weight: 900; margin: 4px 0 10px; }
.promo .btn { min-height: 38px; font-size: 14px; padding: 0 16px; }

/* ---------- USP strip ---------- */
.usps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.usp { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.usp__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; }
.usp__icon svg { width: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usp strong { display: block; font-size: 13.5px; line-height: 1.25; }
.usp small { font-size: 12px; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats { background: var(--brand); color: #fff; border-radius: 16px; padding: 22px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 10px; text-align: center; background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,.08) 0 120px, transparent 121px); }
.stats strong { display: block; font-size: 26px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.stats span { font-size: 13px; opacity: .9; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 8px 0 14px; font-size: 14.5px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review figcaption strong { display: block; font-size: 14px; }
.review figcaption small { color: var(--muted); font-size: 12.5px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--accent-dark); display: grid; place-items: center; font-weight: 900; flex: none; }

/* ---------- Bulk banner ---------- */
.bulk { display: grid; gap: 14px; align-items: center; background: var(--cream); border: 1.5px dashed #dcc3a0; border-radius: 16px; padding: 22px 18px; }
.bulk h2 { font-size: 21px; }
.bulk p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.bulk ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bulk li { background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: #3a2416; color: #e6d6c3; padding: 30px 0 0; margin-top: 30px; }
.footer__top { display: grid; gap: 22px; padding-bottom: 24px; }
.footer .logo__text strong { color: #fff; }
.footer__about p { font-size: 14px; margin: 12px 0; max-width: 340px; }
.footer__contact { display: grid; gap: 6px; font-size: 14px; }
.footer__contact a:hover { color: var(--gold); }
.footer details { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer summary { list-style: none; cursor: pointer; padding: 12px 0; font-weight: 800; color: #fff; display: flex; justify-content: space-between; }
.footer summary::-webkit-details-marker { display: none; }
.footer summary::after { content: "+"; font-size: 18px; }
.footer details[open] summary::after { content: "−"; }
.footer details a { display: block; padding: 5px 0; font-size: 14px; }
.footer details a:hover { color: var(--gold); }
.footer details > div { padding-bottom: 12px; }
.news { display: flex; gap: 6px; margin-top: 8px; }
.news input { flex: 1; min-width: 0; height: 44px; border-radius: 8px; border: 0; padding: 0 12px; font-size: 15px; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 17px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; display: flex; flex-direction: column; gap: 10px; align-items: center; font-size: 12.5px; text-align: center; }
.footer__bottom a { text-decoration: underline; }
.pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pay span { background: #fff; color: var(--ink); font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 4px; }

/* ---------- Pincode modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: end center; }
.modal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal__box { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 16px 16px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
.modal__box h3 { font-size: 18px; margin-bottom: 4px; }
.modal__box > p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.modal__close { position: absolute; top: 10px; right: 10px; }
.pin-form { display: flex; gap: 8px; }
.pin-form input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 14px; font-size: 16px; letter-spacing: .1em; outline: none; }
.pin-form input:focus { border-color: var(--brand); }
.pin-msg { font-size: 14px; margin-top: 10px; min-height: 20px; }
.pin-msg.is-ok { color: var(--brand); font-weight: 700; }
.pin-msg.is-bad { color: var(--red); }

/* ---------- Shop (collection) page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); padding: 12px 0; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 700; }
.coll-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.coll-head h1 { font-size: 22px; }
.coll-head p { color: var(--muted); font-size: 13.5px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.sort select { height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 10px; background: #fff; font-weight: 700; color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }

/* ---------- Product page ---------- */
.pd { display: grid; gap: 18px; padding-bottom: 24px; }
.pd__media { position: relative; border-radius: 14px; overflow: hidden; background: var(--cream); aspect-ratio: 1; }
.pd__media img, .pd__media > svg, .pd__media .collage { width: 100%; height: 100%; object-fit: cover; }
.pd__media .off { top: 14px; font-size: 13px; padding: 4px 10px; }
.pd__media .tag { top: 14px; right: 14px; font-size: 12px; }
.pd__name { font-size: 22px; font-weight: 900; }
.pd__sub { color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
.pd__price { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 10px 0 14px; }
.pd__price .price strong { font-size: 26px; }
.pd__price .price s { font-size: 15px; }
.pd__price .price em { font-size: 14px; background: var(--soft); padding: 2px 8px; border-radius: 4px; }
.pd__price small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.label { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.variant { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; line-height: 1.3; }
.variant strong { font-size: 15px; }
.variant span { font-size: 13px; font-weight: 800; }
.variant s { font-size: 11.5px; color: var(--muted); }
.variant.is-active { border-color: var(--brand); background: var(--soft); box-shadow: inset 0 0 0 1px var(--brand); }
.variant em { position: absolute; top: -9px; background: var(--accent); color: #fff; font-style: normal; font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 4px; }
.pd__buy { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-bottom: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.qty button { width: 42px; height: 48px; border: 0; background: none; font-size: 20px; }
.qty span { min-width: 26px; text-align: center; font-weight: 900; }
.qty--sm button { width: 32px; height: 32px; font-size: 16px; }
.qty--sm span { min-width: 20px; font-size: 14px; }
.check-pin { margin: 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.check-pin .pin-form input { height: 44px; }
.check-pin .btn { min-height: 44px; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.assure div { text-align: center; font-size: 12px; font-weight: 700; background: var(--soft); border-radius: 10px; padding: 10px 4px; }
.assure svg { width: 24px; margin: 0 auto 4px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 800; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; color: var(--brand); line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion details > *:not(summary) { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 6px; }
.ticks li::before { content: "✓"; color: var(--brand); font-weight: 900; margin-right: 8px; }
.specs { display: grid; gap: 6px; }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.specs dt { font-weight: 800; color: var(--ink); }
.specs dd { margin: 0; }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -12px rgba(0,0,0,.2); }
.buy-bar .btn { min-height: 46px; }

/* ---------- Credits page ---------- */
.credits { display: grid; gap: 10px; padding-bottom: 30px; }
.credit { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 13.5px; }
.credit img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.credit a { color: var(--brand); text-decoration: underline; }

/* ---------- Fixed bottom bars (checkout pay bar) ---------- */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
.buy-bar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.buy-bar__info span { font-size: 13px; color: var(--muted); }
.buy-bar__info strong { font-size: 19px; }
@media (min-width: 992px) { .bottom-bar { display: none !important; } }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 50; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px; background: #fff; z-index: 60; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; }
.close-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.drawer__ship { padding: 12px 16px; background: var(--cream); font-size: 13.5px; }
.ship-bar { height: 6px; background: #fff; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.ship-bar span { display: block; height: 100%; background: var(--brand); border-radius: inherit; transition: width .4s; }
.drawer__items { flex: 1; overflow-y: auto; padding: 0 16px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 64px; height: 64px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.cart-item__img svg { width: 90%; }
.cart-item__name { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.cart-item__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.cart-item__price { font-weight: 700; text-align: right; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty__icon { font-size: 40px; margin-bottom: 8px; }
.cart-empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.drawer__foot { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__foot[hidden] { display: none; }
.drawer__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 17px; }
.drawer__total strong { font-size: 22px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: 80px; transform: translate(-50%, -10px); opacity: 0; z-index: 70; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; transition: opacity .25s, transform .25s; pointer-events: none; width: max-content; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }


/* =========================================================
   Checkout page
   ========================================================= */
.secure { font-size: 14px; font-weight: 500; color: var(--brand); }
.checkout-main { padding: 16px 0 40px; background: var(--soft); min-height: 70vh; }
.back-link { display: inline-block; font-size: 14px; color: var(--muted); padding: 6px 0; }
.back-link:hover { color: var(--brand); }
.checkout-title { font-size: 26px; font-weight: 700; margin: 4px 0 16px; }

.summary-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; margin-bottom: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; font-size: 15px; color: var(--brand); font-weight: 500; }
.summary-toggle strong { color: var(--ink); font-size: 17px; }
.summary-toggle__arrow { display: inline-block; transition: transform .2s; }
.summary-toggle.is-open .summary-toggle__arrow { transform: rotate(180deg); }

.checkout { display: flex; flex-direction: column; gap: 14px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.box + .box { margin-top: 14px; }
.box h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 16px; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; display: grid; place-items: center; flex: none; }

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b60' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(107,66,38,.15); }
.input-prefix { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.input-prefix:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(107,66,38,.15); }
.input-prefix span { display: grid; place-items: center; padding: 0 12px; background: var(--soft); color: var(--muted); font-weight: 500; border-right: 1.5px solid var(--line); }
.input-prefix input { border: 0; border-radius: 0; box-shadow: none !important; }
.error { display: none; color: var(--red); font-size: 13px; margin-top: 5px; }
.field--error .error { display: block; }
.field--error input, .field--error select, .field--error .input-prefix { border-color: var(--red); }
.field--error .input-prefix input { border: 0; }
.field-row { display: grid; gap: 0 12px; }
.field--note { margin-top: 16px; }

.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--soft); }
.pay-option input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; flex: none; }
.pay-option__body { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.pay-option__body strong { font-size: 15px; }
.pay-option__body small { font-size: 13px; color: var(--muted); }
.pay-option__icons { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }

.form-error { background: #fdeee8; color: #a3361a; border: 1px solid #f5c9b8; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 14px 0 0; }
.place-btn { margin-top: 16px; }
.fine-print { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }

.summary { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; order: -1; }
.summary.is-open { display: block; }
.summary h2 { font-size: 18px; margin-bottom: 12px; }
.summary__items { display: grid; gap: 12px; margin-bottom: 16px; }
.sum-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; }
.sum-item__img { position: relative; width: 58px; height: 58px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; border: 1px solid var(--line); }
.sum-item__img svg { width: 88%; }
.sum-item__img span { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--muted); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.sum-item__info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sum-item__info strong { font-size: 14.5px; font-weight: 600; }
.sum-item__info small { font-size: 13px; color: var(--muted); }
.sum-item__price { font-weight: 600; font-size: 15px; }

.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; text-transform: uppercase; outline: none; }
.coupon input:focus { border-color: var(--brand); }
.coupon .btn { min-height: 48px; }
.coupon__msg { font-size: 13px; min-height: 20px; margin: 6px 0 4px; }
.coupon__msg.is-ok { color: var(--brand); font-weight: 500; }
.coupon__msg.is-bad { color: var(--red); }

.totals { margin: 8px 0 0; display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 500; }
.totals__discount dd, .totals__discount dt { color: var(--brand); }
.totals__grand { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.totals__grand dt { color: var(--ink); font-weight: 600; font-size: 17px; }
.totals__grand dd { font-size: 22px; font-weight: 700; }
.summary__ship { font-size: 13px; color: var(--muted); margin-top: 10px; }

.pay-bar { display: flex; align-items: center; gap: 12px; }
.pay-bar .btn { min-width: 160px; }

.state-box { text-align: center; padding: 70px 16px; }
.state-box__icon { font-size: 48px; margin-bottom: 8px; }
.state-box h1 { font-size: 24px; margin-bottom: 6px; }
.state-box p { color: var(--muted); margin-bottom: 22px; }

/* Success */
.success { padding-top: 8px; }
.success__head { text-align: center; padding: 20px 0 24px; }
.success__tick { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 36px; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 0 0 10px var(--soft-2); animation: pop .5s ease; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success__head h1 { font-size: 26px; font-weight: 700; }
.success__head p { color: var(--muted); margin-top: 4px; }
.success__id { display: inline-block; background: #fff; border: 1px dashed var(--brand); border-radius: 10px; padding: 8px 16px; margin-top: 14px !important; color: var(--ink) !important; }
.success__grid { display: grid; gap: 14px; }
.success__grid .box + .box { margin-top: 0; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 18px 34px; display: flex; flex-direction: column; line-height: 1.35; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done::before { background: var(--brand); border-color: var(--brand); }
.timeline strong { font-size: 15px; }
.timeline small { font-size: 13px; color: var(--muted); }
.success__info { display: grid; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.success__info h3 { font-size: 14px; margin-bottom: 4px; }
.success__info p { color: var(--muted); }
.tag-status { display: inline-block; margin-top: 4px; background: var(--soft-2); color: var(--brand); font-weight: 600; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.success__actions { text-align: center; margin-top: 24px; display: grid; gap: 14px; justify-items: center; }
.success__actions p { font-size: 13.5px; color: var(--muted); }
.success__actions p a { color: var(--brand); font-weight: 500; }

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
  .success__info { grid-template-columns: 1fr 1fr; }
  .box { padding: 24px; }
}
@media (min-width: 900px) {
  .checkout-main { padding: 28px 0 72px; }
  .checkout-title { font-size: 32px; margin-bottom: 24px; }
  .summary-toggle { display: none; }
  .checkout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
  .summary { display: block; order: 0; position: sticky; top: 96px; padding: 24px; }
  .success__grid { grid-template-columns: 1fr 1.4fr; align-items: start; max-width: 960px; margin: 0 auto; }
  .success__head h1 { font-size: 34px; }
}


/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 640px) {
  .container { padding: 0 20px; }
  .slide { height: 320px; }
  .slide h2 { font-size: 34px; max-width: 420px; }
  .slide p { font-size: 16px; max-width: 380px; }
  .circles { grid-auto-columns: 96px; gap: 18px; }
  .circle__img { width: 96px; height: 96px; }
  .row { grid-auto-columns: 31%; gap: 14px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .promos { grid-template-columns: 1fr 1fr; }
  .usps { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-auto-columns: 48%; }
  .bulk { grid-template-columns: 1fr auto; padding: 26px 30px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .modal { place-items: center; }
  .modal__box { border-radius: 16px; }
  .credits { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 992px) {
  body.has-bottom-nav, body.has-bottom-bar { padding-bottom: 0; }
  .container { padding: 0 24px; }
  .menu-toggle, .bottom-nav, .buy-bar, .search-toggle { display: none !important; }
  .header__main { grid-template-columns: auto 1fr auto; gap: 28px; padding: 14px 0; }
  .logo__mark { width: 42px; height: 42px; font-size: 23px; }
  .logo__text strong { font-size: 23px; }
  .search { grid-column: auto; order: 0; height: 48px; max-width: 640px; width: 100%; justify-self: center; padding-right: 4px; }
  .search__btn { display: inline-flex; min-height: 40px; padding: 0 18px; border-radius: 7px; }
  .deliver { display: flex; align-items: center; gap: 8px; border: 0; background: none; text-align: left; padding: 4px 8px; border-radius: 8px; }
  .deliver:hover { background: var(--page); }
  .deliver svg { width: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
  .deliver span { display: flex; flex-direction: column; line-height: 1.2; }
  .deliver small { font-size: 12px; color: var(--muted); }
  .deliver strong { font-size: 14px; }
  .cart-link { padding: 4px 10px 4px 4px; border-radius: 10px; }
  .cart-link:hover { background: var(--page); }
  .cart-link__text { display: flex; flex-direction: column; line-height: 1.2; }
  .cart-link__text small { font-size: 12px; color: var(--muted); }
  .cart-link__text strong { font-size: 14px; }
  .navbar { display: block; }

  .slide { height: 420px; }
  .slide h2 { font-size: 46px; max-width: 560px; }
  .slide p { font-size: 18px; max-width: 480px; margin-bottom: 22px; }
  .slide__tag { font-size: 13px; }
  .slide .btn { min-height: 48px; padding: 0 26px; font-size: 15.5px; }
  .arrow { display: grid; }

  .section { padding: 40px 0; }
  .sec-head h2 { font-size: 26px; }
  .row-nav { display: flex; }
  .circles { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(12, 1fr); overflow: visible; }
  .circle__img { width: 100%; height: auto; aspect-ratio: 1; }
  .circle span { font-size: 13.5px; }
  .row { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .card__body { padding: 12px; }
  .card__name { font-size: 15px; }
  .price strong { font-size: 18px; }
  .promo { min-height: 200px; padding: 30px; }
  .promo__text h3 { font-size: 28px; }
  .usp { padding: 16px; }
  .usp strong { font-size: 15px; }
  .stats { padding: 30px; }
  .stats strong { font-size: 36px; }
  .reviews { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
  .bulk h2 { font-size: 26px; }

  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 30px; }
  .footer details { border: 0; }
  .footer summary { pointer-events: none; padding-top: 0; }
  .footer summary::after { display: none; }
  .footer details:not([open]) > div { display: block; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }

  .coll-head h1 { font-size: 28px; }
  .pd { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding-top: 6px; }
  .pd__media { position: sticky; top: 140px; }
  .pd__name { font-size: 30px; }
  .pd__buy { grid-template-columns: auto 1fr 1fr; }
  .credits { grid-template-columns: 1fr 1fr 1fr; }
}

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

/* Photos inside cart drawer & checkout summary thumbnails */
.cart-item__img, .sum-item__img { overflow: hidden; }
.cart-item__img img, .sum-item__img img, .cart-item__img .collage, .sum-item__img .collage { width: 100%; height: 100%; object-fit: cover; }
.sum-item__img { overflow: visible; }
.sum-item__img > img, .sum-item__img > .collage { border-radius: 11px; }
/* Simple header used on the checkout page */
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* Layout guards */
.header__main > * { min-width: 0; }
.pd__buy #buyBtn { grid-column: 1 / -1; }
@media (min-width: 992px) { .pd__buy #buyBtn { grid-column: auto; } }

/* ---------- Brand label, Powder/Whole chips, MRP note, out of stock ---------- */
.card__brand { display: inline-block; font-size: 11px; font-weight: 800; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.forms-mini { display: flex; gap: 4px; margin: 6px 0 2px; }
.forms-mini button { flex: 1; height: 26px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.forms-mini button.is-active { border-color: var(--accent); background: var(--cream); color: var(--accent-dark); }
.card__name + .sizes-mini { margin-top: 8px; }
.mrp-note { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 48px; background: var(--cream); }
.card.is-oos .card__img { opacity: .55; }
.oos-note { background: #fdeee8; color: #a3361a; border-radius: 10px; padding: 12px 14px; font-weight: 700; margin-bottom: 12px; }
.variants--forms { grid-template-columns: repeat(2, 1fr); }
.variants--forms .variant { padding: 12px 6px; }

/* =========================================================
   Brand logos — dark header & footer match the logo artwork (#201b21)
   ========================================================= */
:root { --logo-bg: #201b21; --gold-text: #e9c98f; }
.header { background: var(--logo-bg); box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.header__main { padding: 6px 0; }
.logo { gap: 6px; }
.logo__img { height: 54px; width: auto; display: block; }
.logo__img--rn, .logo__sep { display: none; }
.logo__sep { width: 1px; height: 38px; background: rgba(233, 201, 143, .35); margin: 0 4px; }
.header .icon-btn svg { stroke: #f3e3c3; }
.header .icon-btn:hover, .header .cart-link:hover, .header .deliver:hover { background: rgba(255,255,255,.08); }
.header .icon-btn .count { box-shadow: 0 0 0 2px var(--logo-bg); }
.header .search { background: #fbf4e8; border-color: transparent; }
.header .search:focus-within { background: #fff; border-color: var(--gold-text); }
.deliver small, .cart-link__text small { color: #bfa98a !important; }
.deliver strong, .cart-link__text strong { color: #fbeed5; }
.deliver svg { stroke: var(--gold-text) !important; }
.navbar { box-shadow: inset 0 1px 0 rgba(233, 201, 143, .25); }

.footer { background: var(--logo-bg); color: #d9c7ad; }
.footer__logos { display: flex; align-items: center; gap: 10px; }
.footer__logos img { height: 92px; width: auto; }
.footer__contact span { display: block; font-size: 13.5px; line-height: 1.5; }
.footer summary { color: var(--gold-text); }

/* Brand cards on the home page */
.promo--brand { background: var(--logo-bg); color: #fbeed5; gap: 16px; padding: 16px; min-height: 0; }
.promo--brand::after { display: none; }
.promo--brand .promo__logo { position: static; width: 42%; max-width: 210px; height: auto; flex: none; object-fit: contain; }
.promo--brand .promo__text { max-width: none; }
.promo--brand .promo__text small { color: var(--gold-text); }
.promo--brand .promo__text h3 { font-size: 20px; margin: 4px 0 2px; }
.promo--brand .promo__text p { font-size: 13px; color: #cdb99c; margin-bottom: 12px; }

/* Checkout page header */
.page-checkout .header .secure { color: var(--gold-text); }

@media (min-width: 640px) {
  .logo__img { height: 62px; }
  .logo__img--rn, .logo__sep { display: block; }
}
@media (min-width: 992px) {
  .header__main { padding: 8px 0; }
  .logo__img { height: 74px; }
  .promo--brand { padding: 22px 28px; }
  .promo--brand .promo__text h3 { font-size: 26px; }
}
.page-checkout .header__inner { height: auto; padding: 6px 0; }

/* ---------- Home collections: Royal Nuts · My Health · My Convenience · Desi Flavour Company ---------- */
.section--collections { padding: 18px 0 4px; }
.collections { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coll { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; border-radius: 14px; overflow: hidden; color: #fff; padding: 12px; background: var(--brand); transition: transform .2s, box-shadow .2s; }
.coll:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.coll__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coll:not(.coll--brand)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,29,19,.05) 20%, rgba(43,29,19,.85) 100%); }
.coll--brand { background: var(--logo-bg); justify-content: space-between; align-items: center; text-align: center; }
.coll__logo { width: 78%; max-width: 190px; height: auto; margin: 0 auto 6px; }
.coll__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1px; }
.coll__text strong { font-size: 17px; font-weight: 900; line-height: 1.2; }
.coll--brand .coll__text strong { color: var(--gold-text); font-size: 15px; }
.coll__text small { font-size: 12px; opacity: .88; line-height: 1.35; }
.coll__text em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--gold-text); margin-top: 4px; }
.slide__badge { display: inline-block; margin: 0 0 8px 8px; padding: 3px 10px; border-radius: 4px; background: rgba(255,255,255,.95); color: var(--brand-dark); font-size: 11.5px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 640px) {
  .collections { gap: 14px; }
  .coll { min-height: 190px; padding: 16px; }
  .coll__text strong { font-size: 20px; }
}
@media (min-width: 992px) {
  .section--collections { padding: 28px 0 0; }
  .collections { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .coll { min-height: 230px; }
  .slide__badge { font-size: 13px; padding: 4px 12px; }
}
.section--collections { padding: 4px 0 28px; }
@media (min-width: 992px) { .section--collections { padding: 0 0 40px; } }

/* =========================================================
   Designed hero slides — dark brand background, logo/emblem,
   product photos in gold rings, "No Artificial Flavour" seal
   ========================================================= */
.slide--d { height: 330px; background: var(--logo-bg); }
.slide--d::after { display: none; }
.slide--d::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 78% 55%, color-mix(in srgb, var(--glow) 70%, transparent) 0, transparent 42%),
    radial-gradient(circle at 78% 55%, transparent 0 46%, rgba(233,201,143,.16) 46.2% 46.6%, transparent 46.8%),
    radial-gradient(circle at 78% 55%, transparent 0 58%, rgba(233,201,143,.09) 58.2% 58.5%, transparent 58.7%),
    linear-gradient(90deg, var(--logo-bg) 40%, transparent 100%);
}
.slide__grid { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 6px; }
.slide__copy { color: #fbeed5; min-width: 0; }
.slide__logo { display: block; height: 62px; width: auto; margin-bottom: 8px; }
.slide__emblem { width: 76px; height: 64px; }
.slide__emblem svg { width: 100%; height: 100%; }
.slide--d h2 { font-family: Cinzel, Georgia, serif; font-weight: 700; color: #f6dfae; font-size: 19px; line-height: 1.2; max-width: none; margin-bottom: 6px; letter-spacing: .01em; }
.slide--d p { font-size: 12.5px; color: #d9c7ad; max-width: none; margin-bottom: 12px; opacity: 1; }
.slide--d .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
.slide__art { position: relative; height: 100%; min-width: 0; }
.ph { position: absolute; border-radius: 50%; overflow: hidden; border: 3px solid #dcac52; box-shadow: 0 0 0 5px rgba(220,172,82,.18), 0 18px 34px -10px rgba(0,0,0,.7); background: #2b2226; }
.ph img { position: static; width: 100%; height: 100%; object-fit: cover; }
.ph--1 { width: 64%; aspect-ratio: 1; top: 50%; left: 4%; transform: translateY(-50%); z-index: 2; }
.ph--2 { width: 40%; aspect-ratio: 1; top: 10%; right: 0; z-index: 1; }
.ph--3 { width: 44%; aspect-ratio: 1; bottom: 8%; right: 4%; z-index: 3; }
.seal { position: absolute; z-index: 4; width: 62px; height: 62px; left: 0; bottom: 8%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); animation: sealspin 24s linear infinite; }
@keyframes sealspin { to { transform: rotate(360deg); } }

/* Emblem tiles (My Health / My Convenience) */
.coll__emblem { display: block; width: 78%; max-width: 200px; aspect-ratio: 400 / 340; margin: 0 auto 6px; }
.coll__emblem svg { width: 100%; height: 100%; display: block; }

@media (min-width: 640px) {
  .slide--d { height: 380px; }
  .slide__logo { height: 84px; }
  .slide__emblem { width: 100px; height: 85px; }
  .slide--d h2 { font-size: 28px; }
  .slide--d p { font-size: 15px; }
  .seal { width: 84px; height: 84px; }
}
@media (min-width: 992px) {
  .slide--d { height: 470px; }
  .slide__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .slide__logo { height: 110px; margin-bottom: 14px; }
  .slide__emblem { width: 130px; height: 110px; }
  .slide--d h2 { font-size: 42px; max-width: 520px; }
  .slide--d p { font-size: 17px; max-width: 460px; margin-bottom: 22px; }
  .slide--d .btn { min-height: 48px; padding: 0 26px; font-size: 15.5px; }
  .ph--1 { width: 54%; left: 10%; }
  .ph--2 { width: 32%; right: 6%; top: 8%; }
  .ph--3 { width: 36%; right: 10%; bottom: 7%; }
  .seal { width: 108px; height: 108px; left: 2%; bottom: 10%; }
}
@media (prefers-reduced-motion: reduce) { .seal { animation: none; } }
/* fixes: logo inside designed slide is not a background photo; spin only the seal's text ring */
.slide--d .slide__logo { position: static; inset: auto; width: auto; object-fit: contain; }
.seal { animation: none; }
.seal__ring { transform-origin: 60px 60px; animation: sealspin 24s linear infinite; }
@media (prefers-reduced-motion: reduce) { .seal__ring { animation: none; } }
/* size fixes for designed slides */
.slide--d .slide__logo { height: 56px; max-width: 100%; }
.slide--d .slide__emblem { height: 56px; width: 66px; }
.slide--d { height: 340px; }
.slide--d p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 639px) {
  .slide--d h2 { font-size: 17px; }
  .slide--d .btn { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
  .slide__grid { padding-bottom: 18px; }
}
@media (min-width: 640px) {
  .slide--d { height: 380px; }
  .slide--d .slide__logo { height: 80px; }
  .slide--d .slide__emblem { height: 80px; width: 94px; }
}
@media (min-width: 992px) {
  .slide--d { height: 470px; }
  .slide--d .slide__logo { height: 120px; }
  .slide--d .slide__emblem { height: 120px; width: 141px; }
}

/* ---------- Price-on-request services ---------- */
.por { font-size: 15px !important; color: var(--brand); }
.card__desc { font-size: 12.5px; color: var(--muted); margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card--enquiry .card__cta .btn { width: 100%; min-height: 38px; font-size: 14px; }
.enquiry { display: grid; gap: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; scroll-margin-top: 140px; }
.enquiry h2 { font-size: 19px; }
.enquiry label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 700; }
.enquiry label small { font-weight: 400; color: var(--muted); }
.enquiry input, .enquiry textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 16px; outline: none; }
.enquiry textarea { min-height: 0; resize: vertical; }
.enquiry input:focus, .enquiry textarea:focus { border-color: var(--brand); }
.enquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.enquiry__msg { color: var(--red); font-size: 14px; font-weight: 600; }
.enquiry__msg:empty { display: none; }
.enquiry__alt { text-align: center; font-size: 13.5px; color: var(--muted); }
.enquiry__alt a { color: var(--brand); font-weight: 800; }
.enquiry__done { text-align: center; padding: 10px 0; }
.enquiry__done h2 { margin-bottom: 6px; }
.enquiry__done p { color: var(--muted); }

/* ---------- Promise strip under the hero (scrolling) ---------- */
.promise { background: linear-gradient(90deg, #b9822f, #e6bd72 50%, #b9822f); color: #2b1d13; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(0,0,0,.15); }
.promise__track { display: inline-flex; gap: 40px; padding: 11px 0; animation: ribbon 26s linear infinite; font-weight: 900; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.promise__track span { display: inline-flex; align-items: center; gap: 10px; }
.promise__track span::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #2b1d13; color: #e6bd72; font-size: 11px; }
@media (min-width: 992px) { .promise__track { font-size: 15px; padding: 14px 0; gap: 56px; } }
@media (prefers-reduced-motion: reduce) { .promise__track { animation: none; } }
