/* Zamil Shop BD storefront — playful, soft and trustworthy.
   Pastel palette (soft yellow, mint, lavender, peach) on white, rounded "blob" shapes, friendly rounded type
   (Baloo Da 2 covers Bangla + Latin), large touch targets, mobile-first. */
:root {
  --yellow: #FFE9A8; --mint: #C4EEDC; --lavender: #DED3F5; --peach: #FFD8C7; --sky: #CFE7FA; --pink: #FBD3E0;
  --yellow-d: #F4C542; --mint-d: #6CC7A1; --lavender-d: #A993DE; --peach-d: #F59F7E; --sky-d: #7DB9E8; --pink-d: #EE8FB0;
  --primary: #2A7A68; --primary-d: #1E5E50; --accent: #E86A4E; --accent-d: #C9533A;
  --ink: #35304A; --ink-2: #5B5570; --muted: #6E6882; --line: #ECE6F3; --bg: #FFFDF7; --card: #FFFFFF;
  --ok: #217A4B; --warn: #A15C00; --danger: #B3261E;
  --radius: 22px; --radius-sm: 14px; --shadow: 0 6px 24px rgba(53, 48, 74, .08); --shadow-lg: 0 16px 40px rgba(53, 48, 74, .14);
  --font: "Baloo Da 2", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tap: 48px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); padding-bottom: 72px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-d); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lavender-d); outline-offset: 2px; border-radius: 8px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 28px; }
@media (min-width: 900px) { .section { padding-block: 44px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.green { color: var(--ok); }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hide-mobile { display: none !important; }
@media (min-width: 900px) { .hide-mobile { display: inline-flex !important; } .only-mobile { display: none !important; } }

/* ---------- announce + header ---------- */
.announce { background: var(--primary); color: #fff; text-align: center; font-size: .9rem; padding: 7px 12px; }
.site-header { position: relative; top: 0; z-index: 30; background: rgba(255, 253, 247, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.logo img { border-radius: 14px; width: auto; max-width: 150px; height: 44px; object-fit: contain; }
.logo-text { display: grid; line-height: 1.1; min-width: 0; }
.logo-text b { font-size: 1.15rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .logo-text b { font-size: 1rem; } .logo img { height: 38px; max-width: 64px; } .lang-toggle button { padding: 6px 9px; } }
@media (max-width: 379px) { .logo img { max-width: 38px; } }
.logo-text small { color: var(--muted); font-size: .76rem; display: none; }
@media (min-width: 600px) { .logo-text small { display: block; } }
.search-bar { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 46px; grid-column: 1 / -1; order: 3; margin-bottom: 10px; }
.search-bar input { border: 0; outline: 0; flex: 1; font: inherit; background: transparent; min-width: 0; }
.search-bar:focus-within { border-color: var(--lavender-d); }
@media (min-width: 900px) { .search-bar { grid-column: auto; order: 0; margin: 0; max-width: 460px; justify-self: center; width: 100%; } }
.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--yellow); color: var(--ink); }
.badge-dot { position: absolute; top: 4px; right: 2px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.lang-toggle { display: inline-flex; background: var(--lavender); border-radius: 999px; padding: 3px; }
.lang-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; color: var(--ink); min-height: 38px; }
.lang-toggle button[aria-pressed="true"] { background: #fff; box-shadow: var(--shadow); }
.main-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { white-space: nowrap; text-decoration: none; color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--mint); }
.main-nav .nav-gift { background: var(--pink); }
main { min-height: 60vh; }
main.page-enter { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { main.page-enter, .float { animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- buttons, chips, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 10px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .1s, background .15s; }
.btn:hover { background: var(--yellow); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-d); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-d); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--lavender); }
.btn.sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.btn.lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn.xl { min-height: 60px; padding: 14px 32px; font-size: 1.2rem; }
.btn.block { width: 100%; }
.btn .icon { width: 20px; height: 20px; }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 36px; }
.icon-text { background: none; border: 0; font: inherit; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; padding: 8px 4px; min-height: 44px; }
.icon-text.on .icon { fill: var(--pink-d); stroke: var(--pink-d); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--yellow); font-size: .8rem; font-weight: 600; color: var(--ink); text-decoration: none; border: 0; }
.chip.lg { padding: 9px 16px; font-size: .95rem; min-height: 42px; cursor: pointer; }
.chip.active { outline: 2px solid var(--ink); }
.chip.removable { cursor: pointer; }
.chip.removable .icon { width: 14px; height: 14px; }
.yellow { --tint: var(--yellow); --deep: var(--yellow-d); }
.mint { --tint: var(--mint); --deep: var(--mint-d); }
.lavender { --tint: var(--lavender); --deep: var(--lavender-d); }
.peach { --tint: var(--peach); --deep: var(--peach-d); }
.sky { --tint: var(--sky); --deep: var(--sky-d); }
.pink { --tint: var(--pink); --deep: var(--pink-d); }
.chip.yellow, .chip.mint, .chip.lavender, .chip.peach, .chip.sky, .chip.pink { background: var(--tint); }
.chip input { accent-color: var(--primary); }
.age-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: .78rem; }
.tag.sale { background: var(--accent); color: #fff; }
.tag.soldout { background: var(--ink); color: #fff; top: auto; bottom: 12px; }
.tag.ok { background: var(--mint-d); color: #fff; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--lavender); }
.pill.big { font-size: 1rem; padding: 8px 16px; }
.pill.delivered, .pill.paid, .pill.active, .pill.confirmed { background: var(--mint); color: var(--ok); }
.pill.cancelled, .pill.refused, .pill.returned, .pill.failed { background: #FDE2E0; color: var(--danger); }
.pill.pending, .pill.confirmation_attempted { background: var(--yellow); color: var(--warn); }
.input { width: 100%; min-height: var(--tap); padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
.input:focus { border-color: var(--lavender-d); outline: none; box-shadow: 0 0 0 4px var(--lavender); }
.input.sm { min-height: 40px; padding: 6px 10px; }
.input:disabled { background: #F6F3FA; }
textarea.input { resize: vertical; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field > span { color: var(--ink-2); }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; }
.invalid { border-color: var(--danger) !important; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid.three { grid-template-columns: 1fr 1fr 1fr; } .span2 { grid-column: 1 / -1; } }
.error-box { background: #FDE2E0; color: var(--danger); padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.note-card { background: var(--sky); padding: 14px 16px; border-radius: var(--radius-sm); display: flex; gap: 10px; align-items: flex-start; }
.note-card.ok { background: var(--mint); color: var(--ok); }

/* ---------- cards & grids ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.pad { padding: 18px; }
@media (min-width: 900px) { .pad { padding: 24px; } }
.grid.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .grid.products { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .grid.products { grid-template-columns: repeat(4, 1fr); } }
.grid.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .thumb { position: relative; background: var(--bg); aspect-ratio: 1; display: block; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 12px 14px 16px; display: grid; gap: 4px; }
.product-card h3 { font-size: 1rem; margin: 0; font-weight: 600; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card.done { opacity: .7; }
.product-card .btn { margin-top: 8px; }
.wish { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.wish.on .icon { fill: var(--pink-d); stroke: var(--pink-d); }
.price-row { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price { font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.price-row.big .price { font-size: 1.7rem; }
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars .icon { width: 16px; height: 16px; stroke: var(--yellow-d); }
.stars .icon.on { fill: var(--yellow-d); }
.rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.state { text-align: center; padding: 40px 16px; display: grid; justify-items: center; gap: 8px; }
.blob-icon { width: 84px; height: 84px; border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; background: var(--yellow); display: grid; place-items: center; }
.blob-icon .icon { width: 38px; height: 38px; }
.blob-icon.big { width: 110px; height: 110px; background: var(--mint); }
.blob-icon.big .icon { width: 56px; height: 56px; stroke: var(--primary); stroke-width: 2.5; }
.skel { background: linear-gradient(90deg, #F3EFF8 25%, #FBF9FD 50%, #F3EFF8 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; }
.skel.sq { aspect-ratio: 1; }
.skel.big { min-height: 320px; }
.skel.line { height: 16px; margin: 12px; }
.skel.line.short { width: 50%; }
.skel-card { overflow: hidden; }
.hero-skel { height: 320px; border-radius: 32px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- home ---------- */
.hero-wrap { padding-top: 18px; }
.hero-slider { position: relative; }
.hero { display: grid; gap: 12px; align-items: center; border-radius: 32px; padding: 28px 22px; background: var(--tint, var(--yellow)); overflow: hidden; position: relative; min-height: 300px; }
.hero::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; background: #fff; opacity: .35; border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%; }
@media (min-width: 800px) { .hero { grid-template-columns: 1.2fr 1fr; padding: 48px 56px; min-height: 380px; } }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; }
.hero p { font-size: 1.1rem; color: var(--ink-2); max-width: 36ch; }
.hero-text { position: relative; z-index: 1; }
.hero-art { display: grid; place-items: center; position: relative; z-index: 1; }
.hero-art img { max-height: 280px; width: auto; }
@media (max-width: 799px) { .hero-art img { max-height: 170px; } .hero { min-height: 0; } }
.float { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.dots button { width: 12px; height: 12px; border-radius: 6px; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { width: 28px; background: var(--primary); }
.trust-strip { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-strip li { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .92rem; }
.trust-strip .icon { color: var(--primary); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.section-head a { font-weight: 700; display: inline-flex; align-items: center; gap: 2px; text-decoration: none; }
.section-head a .icon { width: 18px; height: 18px; }
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 700px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .cat-tiles { grid-template-columns: repeat(7, 1fr); } }
.cat-tile { display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; padding: 10px 4px; border-radius: 22px; }
.cat-tile:hover { background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.cat-tile .blob { width: 86px; height: 86px; display: grid; place-items: center; background: var(--tint); border-radius: 44% 56% 62% 38% / 44% 46% 54% 56%; transition: border-radius .4s; overflow: hidden; }
.cat-tile:hover .blob { border-radius: 56% 44% 40% 60% / 52% 58% 42% 48%; }
.cat-tile .blob .icon { width: 36px; height: 36px; color: var(--ink); }
.cat-tile .blob img { width: 100%; height: 100%; object-fit: cover; }
.age-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .age-tiles { grid-template-columns: repeat(4, 1fr); } }
.age-tile { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 26px; background: var(--tint); color: var(--ink); text-decoration: none; font-size: 1.1rem; min-height: 84px; transition: transform .15s; }
.age-tile:hover { transform: rotate(-1deg) scale(1.02); color: var(--ink); }
.age-emoji { font-size: 2rem; }
.gift-guide { display: grid; gap: 24px; background: linear-gradient(135deg, var(--pink), var(--lavender)); border-radius: 32px; padding: 26px 20px; }
@media (min-width: 900px) { .gift-guide { grid-template-columns: 1fr 1.5fr; padding: 40px; align-items: start; } }
.gift-guide-items .grid.products { grid-template-columns: repeat(2, 1fr); }
.eyebrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--primary); text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; }
.gift-ages { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.reviews-row { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); overflow-x: auto; padding-bottom: 8px; }
.review-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.review-card blockquote { margin: 8px 0; font-size: 1.02rem; }
.verified { color: var(--ok); font-size: .82rem; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.verified .icon { width: 14px; height: 14px; }
.newsletter { display: grid; gap: 14px; background: var(--mint); border-radius: 32px; padding: 26px 22px; }
@media (min-width: 800px) { .newsletter { grid-template-columns: 1fr 1fr; align-items: center; padding: 34px 40px; } }
.newsletter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-row .input { flex: 1; min-width: 200px; }

/* ---------- listing ---------- */
.crumbs { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs .icon { width: 14px; height: 14px; }
.listing-head { display: grid; gap: 10px; margin-bottom: 16px; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; }
.listing { display: grid; gap: 20px; }
@media (min-width: 900px) { .listing { grid-template-columns: 250px 1fr; } }
.filters { display: none; }
@media (min-width: 900px) { .filters { display: block; position: sticky; top: 130px; align-self: start; } }
.filter-form fieldset { border: 0; padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.filter-form legend { font-weight: 800; margin-bottom: 6px; }
.filter-form .check.age span { background: var(--tint); padding: 2px 10px; border-radius: 999px; }
.filter-form .check small { margin-left: auto; }
.filter-link { display: block; padding: 8px 0; text-decoration: none; }
.price-range { display: flex; gap: 6px; align-items: center; }
.filter-actions { display: grid; gap: 8px; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; }
.sort { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .92rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
#more { margin-top: 20px; }

/* ---------- product ---------- */
.pdp { display: grid; gap: 24px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 44px; } }
.main-img { background: #fff; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.main-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; border-radius: 14px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; width: 76px; flex: none; }
.thumbs button[aria-current="true"] { border-color: var(--primary); }
.buy-box { display: grid; gap: 12px; align-content: start; }
.buy-box h1 { margin: 0; }
.certs { background: var(--mint); border-radius: 18px; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.certs p { margin: 0; width: 100%; }
.cert-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--mint-d); color: var(--ok); font-weight: 700; padding: 5px 12px; border-radius: 999px; font-size: .9rem; }
.cert-badge .icon { width: 18px; height: 18px; }
.opt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { min-height: 46px; min-width: 60px; padding: 8px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.swatch[aria-pressed="true"] { border-color: var(--primary); background: var(--mint); }
.swatch.unavailable { color: var(--muted); text-decoration: line-through; }
.stock-line { margin: 0; font-weight: 700; min-height: 1.5em; }
.stock-line .ok { color: var(--ok); display: inline-flex; gap: 4px; align-items: center; }
.stock-line .low { color: var(--warn); }
.stock-line .out { color: var(--danger); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.buy-actions .btn { flex: 1 1 160px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 46px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); border-radius: 50%; }
.qty output { min-width: 32px; text-align: center; font-weight: 800; }
.qty.sm button { width: 38px; height: 38px; }
.notify { background: var(--peach); border-radius: 18px; padding: 14px; }
.inline-form .row .input { flex: 1; min-width: 180px; }
.secondary-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.perks { list-style: none; padding: 14px 0 0; margin: 0; display: grid; gap: 8px; border-top: 1px dashed var(--line); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks .icon { color: var(--primary); }
.pdp-details { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 900px) { .pdp-details { grid-template-columns: repeat(3, 1fr); } }
.pdp-details section { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.reviews-list { display: grid; gap: 12px; }
.reply { background: var(--bg); border-left: 4px solid var(--mint-d); padding: 8px 12px; border-radius: 8px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { background: var(--yellow); }
.table tr:first-child th:first-child { border-top-left-radius: 12px; }
.table tr:first-child th:last-child { border-top-right-radius: 12px; }

/* ---------- cart & checkout ---------- */
.checkout-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } .summary.sticky { position: sticky; top: 140px; } }
.step { display: flex; gap: 10px; align-items: center; }
.step span { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 1rem; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { border-radius: 14px; }
.cart-line .right { display: grid; justify-items: end; gap: 4px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; }
.line img { border-radius: 12px; background: var(--bg); }
.line .meta { color: var(--muted); font-size: .85rem; }
.totals { display: grid; gap: 6px; padding: 12px 0; border-top: 1px dashed var(--line); margin-top: 8px; }
.totals > div { display: flex; justify-content: space-between; gap: 10px; }
.totals .grand { font-size: 1.25rem; padding-top: 6px; border-top: 1px solid var(--line); }
.summary { display: grid; gap: 12px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; min-width: 0; }
.area-search { position: relative; margin-bottom: 12px; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 20; max-height: 300px; overflow: auto; }
.suggest button { display: grid; width: 100%; text-align: left; border: 0; background: none; padding: 10px 14px; font: inherit; cursor: pointer; }
.suggest button:hover, .suggest button[aria-selected="true"] { background: var(--mint); }
.suggest small { color: var(--muted); }
.otp-box { background: var(--lavender); border-radius: 18px; padding: 14px; margin-top: 14px; display: grid; gap: 10px; }
.otp-box p { margin: 0; }
.code-input { max-width: 170px; letter-spacing: .3em; font-weight: 800; text-align: center; }
.ok { color: var(--ok); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; min-height: 64px; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--mint); }
.pay-option input { width: 20px; height: 20px; accent-color: var(--primary); }
.pay-option span:last-child { display: grid; }
.pay-logo { width: 54px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--yellow); }
.pay-logo.bkash { background: #E2136E; color: #fff; }
.pay-logo.nagad { background: #EC1C24; color: #fff; }
.pay-logo.rocket { background: #8C3494; color: #fff; }
.pay-logo.card { background: #1A1F71; color: #fff; }
#mfs-box { display: grid; gap: 10px; margin-top: 12px; }
#mfs-box[hidden] { display: none; }
#mfs-box p { margin: 0; font-weight: 600; }

/* ---------- order ---------- */
.success-hero { text-align: center; display: grid; justify-items: center; gap: 6px; margin-bottom: 18px; }
.order-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-items: center; margin-bottom: 16px; }
.order-head > div { display: grid; }
.order-no { font-size: 1.2rem; letter-spacing: .03em; }
.narrow > .card { margin-bottom: 16px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
@media (min-width: 700px) { .timeline { grid-template-columns: repeat(5, 1fr); } }
.timeline li { display: grid; justify-items: start; gap: 2px; padding: 10px 0 10px 50px; position: relative; color: var(--muted); }
@media (min-width: 700px) { .timeline li { justify-items: center; text-align: center; padding: 50px 4px 0; } }
.timeline .dot { position: absolute; left: 0; top: 8px; width: 36px; height: 36px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 800; color: var(--ink); }
@media (min-width: 700px) { .timeline .dot { left: 50%; transform: translateX(-50%); top: 0; } }
.timeline .dot .icon { width: 18px; height: 18px; stroke-width: 3; }
.timeline li.done, .timeline li.current { color: var(--ink); }
.timeline li.done .dot { background: var(--mint-d); color: #fff; }
.timeline li.current .dot { background: var(--primary); color: #fff; box-shadow: 0 0 0 6px var(--mint); }
.rate { border: 0; padding: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate legend { width: 100%; font-weight: 600; margin-bottom: 4px; }
.rate input { position: absolute; opacity: 0; }
.rate label { cursor: pointer; }
.rate label .icon { width: 36px; height: 36px; stroke: var(--yellow-d); }
.rate input:checked ~ label .icon, .rate label:hover .icon, .rate label:hover ~ label .icon { fill: var(--yellow-d); }
.rate input:focus-visible + label { outline: 3px solid var(--lavender-d); border-radius: 8px; }

/* ---------- account ---------- */
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: none; }
.tabs a { white-space: nowrap; padding: 9px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; box-shadow: var(--shadow); }
.tabs a[aria-current="page"] { background: var(--primary); color: #fff; }
.order-list { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.order-row img { border-radius: 12px; }
.order-row .right { display: grid; justify-items: end; gap: 4px; }
.add-card { border: 2px dashed var(--lavender-d); background: transparent; font: inherit; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 120px; box-shadow: none; }
.auth { max-width: 460px; margin-inline: auto; }
.code-box { display: inline-flex; gap: 12px; align-items: center; background: var(--yellow); border-radius: 18px; padding: 10px 16px; flex-wrap: wrap; }
.code-box b { font-size: 1.4rem; letter-spacing: .08em; }
.plain { list-style: none; padding: 0; }
.plain li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.narrow-form { max-width: 520px; }
details summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.registry-hero { background: linear-gradient(135deg, var(--peach), var(--pink)); border-radius: 32px; padding: 28px 22px; margin-bottom: 20px; }

/* ---------- landing page (nav-free) ---------- */
body.lp-mode .site-header, body.lp-mode .site-footer, body.lp-mode .bottom-nav, body.lp-mode .announce { display: none; }
body.lp-mode { padding-bottom: 0; }
.lp { background: var(--tint, var(--yellow)); min-height: 100vh; display: grid; align-items: center; }
.lp-inner { padding-block: 22px; }
.lp-grid { display: grid; gap: 20px; align-items: center; margin-top: 14px; }
@media (min-width: 850px) { .lp-grid { grid-template-columns: 1.1fr 1fr; } }
.lp h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
.lp .lead { font-size: 1.2rem; }
.lp .offer { display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.lp-art img { border-radius: 40% 60% 55% 45% / 45% 50% 50% 55%; background: #fff; box-shadow: var(--shadow-lg); }

/* ---------- content pages ---------- */
.prose .lead { font-size: 1.2rem; color: var(--ink-2); }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--primary); margin-top: 3px; }
.contact-card { margin-top: 20px; }
.info-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }

/* ---------- footer, bottom nav, floating, overlays ---------- */
.site-footer { background: var(--lavender); margin-top: 40px; padding-bottom: 20px; position: relative; }
.footer-wave { height: 30px; background: var(--bg); border-bottom-left-radius: 50% 100%; border-bottom-right-radius: 50% 100%; }
.footer-grid { display: grid; gap: 22px; padding-top: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--ink); }
.footer-grid h4 { font-size: 1rem; }
.social { display: flex; gap: 6px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges span { background: #fff; border-radius: 8px; padding: 3px 8px; font-size: .78rem; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(53, 48, 74, .15); margin-top: 20px; padding-top: 14px; font-size: .88rem; color: var(--ink-2); }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 900px) { .bottom-nav { display: none; } }
.bottom-nav a { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; font-size: .72rem; color: var(--ink-2); text-decoration: none; min-height: 58px; }
.bottom-nav a[aria-current] { color: var(--primary); font-weight: 700; }
.wa-float { position: fixed; right: 16px; bottom: 84px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.wa-float .icon { width: 30px; height: 30px; }
@media (min-width: 900px) { .wa-float { bottom: 24px; } }
body.lp-mode .wa-float { bottom: 20px; }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; z-index: 90; display: grid; gap: 8px; width: min(420px, 92vw); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 600; animation: fade .2s; }
.toast.error { background: var(--danger); }
.toast.info { background: var(--primary); }
.scrim { position: fixed; inset: 0; background: rgba(53, 48, 74, .4); z-index: 60; opacity: 0; transition: opacity .2s; }
.scrim.show { opacity: 1; }
.drawer, .modal { position: fixed; z-index: 70; background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transition: transform .25s, opacity .25s; }
.drawer { top: 0; right: 0; bottom: 0; width: min(420px, 100%); transform: translateX(100%); border-radius: 28px 0 0 28px; }
.drawer.show { transform: none; }
.modal { left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; width: min(560px, 94vw); max-height: 88vh; border-radius: 28px; }
.modal.show { transform: translate(-50%, -50%); opacity: 1; }
.drawer header, .modal header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer header h3, .modal header h3 { margin: 0; }
.drawer .content, .modal .content { overflow: auto; padding: 16px 18px; flex: 1; }
.drawer footer, .modal footer { padding: 14px 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.hero-art img { border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; box-shadow: var(--shadow-lg); background: #fff; }
.price-row .tag { position: static; }
@media (min-width: 900px) { .site-header { position: sticky; } }
.bn-cart { position: relative; }
.bn-cart .badge-dot { top: 2px; right: calc(50% - 22px); }
/* Free delivery labels */
.tag.free-ship { background: #1F9D6B; color: #fff; top: auto; bottom: 12px; left: auto; right: 12px; display: inline-flex; gap: 4px; align-items: center; }
.tag.free-ship .icon { width: 14px; height: 14px; }
.tag.soldout ~ .tag.free-ship { display: none; }
.delivery-line { display: flex; gap: 8px; align-items: center; margin: 6px 0 0; color: var(--ink-soft, #5b5566); font-size: .92rem; }
.delivery-line.free { color: #11704B; }
.delivery-line .icon { width: 18px; height: 18px; flex: none; }
/* Offer banner (wide strip under the hero) */
.offers { display: grid; gap: 14px; }
.offer-banner { display: flex; align-items: center; gap: 18px; padding: 14px 22px; border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--peach); box-shadow: var(--shadow); overflow: hidden; }
.offer-banner img { width: 120px; height: 120px; object-fit: contain; border-radius: 18px; background: rgba(255,255,255,.7); flex: none; }
.offer-banner .offer-text { flex: 1; display: grid; gap: 4px; min-width: 0; }
.offer-banner .offer-text b { font-size: 1.25rem; line-height: 1.25; }
.offer-banner .btn { flex: none; }
@media (max-width: 640px) { .offer-banner { flex-wrap: wrap; padding: 14px; } .offer-banner img { width: 88px; height: 88px; } .offer-banner .offer-text b { font-size: 1.05rem; } .offer-banner .btn { width: 100%; justify-content: center; } }
/* Marketing cards */
.promo-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.promo-card { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--sky); box-shadow: var(--shadow); min-height: 150px; transition: transform .15s; }
.promo-card:hover { transform: translateY(-2px); }
.promo-card .promo-text { flex: 1; display: grid; gap: 6px; }
.promo-card .promo-text b { font-size: 1.15rem; line-height: 1.25; }
.promo-card .link { font-weight: 700; color: var(--primary-d); }
.promo-card img { width: 130px; height: 130px; object-fit: contain; flex: none; border-radius: 16px; background: rgba(255,255,255,.65); }
.offer-banner.yellow, .promo-card.yellow, .popup-banner.yellow { background: var(--yellow); } .offer-banner.mint, .promo-card.mint, .popup-banner.mint { background: var(--mint); }
.offer-banner.lavender, .promo-card.lavender, .popup-banner.lavender { background: var(--lavender); } .offer-banner.peach, .promo-card.peach, .popup-banner.peach { background: var(--peach); }
.offer-banner.sky, .promo-card.sky, .popup-banner.sky { background: var(--sky); } .offer-banner.pink, .promo-card.pink, .popup-banner.pink { background: var(--pink); }
/* Popup banner */
.popup-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(35, 30, 50, .45); display: grid; place-items: center; padding: 16px; animation: popin .2s ease-out; }
.popup-banner { position: relative; width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 28px; padding: 26px 22px 22px; text-align: center; background: var(--pink); box-shadow: var(--shadow-lg); }
.popup-banner img { width: 200px; height: 200px; object-fit: contain; margin: 0 auto 8px; display: block; border-radius: 20px; background: rgba(255,255,255,.65); }
.popup-banner h2 { margin: 6px 0; font-size: 1.4rem; line-height: 1.25; }
.popup-banner p { margin: 0 0 16px; }
.popup-banner .btn { width: 100%; justify-content: center; }
.popup-close { position: absolute; top: 10px; right: 10px; background: #fff; }
@keyframes popin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .popup-scrim { animation: none; } .promo-card { transition: none; } }
