/* Shahi Bazaar — Shwapno clone */
:root {
  --green-900: #9b0a12;
  --green-800: #c1121f;
  --green-700: #ED1C24;
  --green-600: #ff2d36;
  --green-100: #fde8e9;
  --green-50: #fef2f2;
  --red-700: #9b0a12;
  --red-600: #ED1C24;
  --red-50: #fef2f2;
  --gold: #FBE05C;
  --gold-50: #fefce8;
  --ink: #1D1D1B;
  --text: #231F1E;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --cream: #F8F8F8;
  --cream-2: #F1F4F9;
  --tile: #ffffff;
  --paper: #ffffff;
  --offwhite: #F8F8F8;
  --main: #ED1C24;
  --yellow: #FBE05C;
  --yellow-dark: #facc15;
  --ok: #16a34a;
  --warn: #ea580c;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 8px 24px -12px rgba(0,0,0,.18);
  --shadow-lg: 0 20px 40px -16px rgba(0,0,0,.18);
  --serif: "Rubik", "Hind Siliguri", sans-serif;
  --sans: "Rubik", "Hind Siliguri", sans-serif;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (max-width: 768px) { body { background: var(--offwhite); padding-bottom: 64px; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.25; margin: 0 0 .4em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; }
::selection { background: var(--green-100); }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section-sm { padding: 32px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--red-600); margin-bottom: 8px; }
.eyebrow .icon { width: 16px; height: 16px; }
.title-lg { font-size: clamp(28px, 3.4vw, 42px); }
.title-md { font-size: clamp(22px, 2.4vw, 30px); }
.lead { font-size: 17px; color: #46524b; }
.script { font-style: italic; }
.accent-word { font-style: normal; color: var(--red-600); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sec-title { font-size: clamp(22px, 2.3vw, 30px); margin: 0; display: flex; align-items: center; gap: 10px; }
.sec-title.sm { font-size: 22px; }
.sec-crown { width: 26px; height: 26px; color: var(--gold); }
.sec-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--green-700); white-space: nowrap; transition: gap .2s var(--ease), color .2s; }
.link-arrow .icon { width: 16px; height: 16px; }
.link-arrow:hover { gap: 10px; color: var(--green-800); }
.link-btn { border: 0; background: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.link-btn .icon { width: 16px; height: 16px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--green-700); background: var(--green-700); color: #fff; font-size: 14px; font-weight: 700; border-radius: var(--radius-sm); transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; position: relative; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover { background: var(--green-800); border-color: var(--green-800); box-shadow: 0 8px 18px -10px rgba(14, 107, 56, .7); }
.btn:hover .icon-end { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-outline { background: #fff; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--green-700); }
.btn-ghost:hover { background: var(--green-50); border-color: var(--green-50); color: var(--green-800); box-shadow: none; }
.btn-buy { background: var(--red-600); border-color: var(--red-600); }
.btn-buy:hover { background: var(--red-700); border-color: var(--red-700); box-shadow: 0 8px 18px -10px rgba(184, 20, 30, .7); }
.btn-grow { flex: 1; }
.btn-glow { min-height: 48px; }
.btn.is-loading, .btn-add.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after, .btn-add.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-outline.is-loading::after, .btn-add.is-loading::after { border-color: rgba(14,107,56,.25); border-top-color: var(--green-700); }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--green-50); color: var(--green-700); }
.icon-btn .icon { width: 22px; height: 22px; }
.spinner { display: inline-block; width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--green-700); border-radius: 50%; animation: spin .7s linear infinite; }
.spinner.sm { width: 16px; height: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Chips and tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); background: #fff; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.chip .icon { width: 14px; height: 14px; color: var(--muted); }
.chip sup { font-size: 10px; color: var(--muted); font-weight: 600; top: 0; }
.chip:hover { border-color: var(--green-700); color: var(--green-700); }
.chip.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip.active sup { color: rgba(255,255,255,.75); }
.chip-row, .sub-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 18px; }
.chip-row::-webkit-scrollbar, .sub-chips::-webkit-scrollbar { display: none; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #fff; background: var(--ink); }
.tag .icon { width: 12px; height: 12px; }
.tag-off { background: var(--red-600); }
.tag-hot { background: #f7e6c8; color: #7a4a00; }
.tag-new { background: var(--green-700); }

/* ---------- Announcement + top bar ---------- */
.announce { background: var(--red-600); color: #fff; font-size: 13px; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; position: relative; text-align: center; padding-right: 48px; }
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 2px; }
.announce a .icon { width: 14px; height: 14px; }
.announce-x { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #fff; opacity: .8; display: inline-flex; }
.announce-x .icon { width: 16px; height: 16px; }
.topbar { background: var(--green-900); color: rgba(255,255,255,.82); font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.tb-left { display: flex; gap: 22px; align-items: center; }
.tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.tb-left .icon { width: 15px; height: 15px; color: #d7b878; }
.tb-links { display: flex; gap: 20px; }
.tb-links a { transition: color .2s; }
.tb-links a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(23, 35, 28, .4); }
.header-main { display: flex; align-items: center; gap: 28px; min-height: 84px; transition: min-height .25s var(--ease); }
.site-header.is-scrolled .header-main { min-height: 70px; }
.nav-toggle { display: none; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; transition: height .25s var(--ease); }
.site-header.is-scrolled .brand img { height: 50px; }
.brand-word { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--red-600); }

.hsearch { position: relative; flex: 1; max-width: 660px; }
.hsearch-form { display: flex; align-items: stretch; height: 48px; border: 2px solid var(--green-700); border-radius: 10px; background: #fff; overflow: hidden; transition: box-shadow .2s; }
.hsearch-form:focus-within { box-shadow: 0 0 0 4px rgba(19, 128, 70, .12); }
.hs-cat { position: relative; display: flex; align-items: center; border-right: 1px solid var(--line); background: var(--cream); }
.hs-cat select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; height: 100%; padding: 0 30px 0 14px; font-size: 13px; font-weight: 600; color: var(--text); max-width: 170px; cursor: pointer; }
.hs-cat select:focus { outline: none; }
.hs-cat .icon { position: absolute; right: 9px; width: 14px; height: 14px; pointer-events: none; color: var(--muted); }
.hsearch-form input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 14.5px; background: transparent; }
.hsearch-form input:focus { outline: none; }
.hsearch-form input::placeholder { color: #9a9f99; }
.hs-spin { display: flex; align-items: center; padding-right: 8px; }
.hs-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--green-700); color: #fff; padding: 0 20px; font-weight: 700; font-size: 14px; transition: background .2s; }
.hs-btn:hover { background: var(--green-800); }
.hs-btn .icon { width: 19px; height: 19px; }

.search-drop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 18px; z-index: 70; max-height: min(70vh, 560px); overflow-y: auto; }
.si-block + .si-block { margin-top: 18px; }
.si-head { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.si-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-recent { padding: 0; overflow: hidden; }
.chip-recent > button { border: 0; background: none; height: 100%; padding: 0 6px 0 14px; font-weight: 600; font-size: 13px; }
.chip-x { border: 0; background: none; height: 100%; padding: 0 10px 0 4px; color: var(--muted); font-size: 16px; }
.sr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; transition: background .15s; }
.sr-item:hover, .sr-item.is-active { background: var(--cream); }
.sr-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--tile); flex-shrink: 0; }
.sr-item .n { font-weight: 600; font-size: 13.5px; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item .p { font-size: 13px; font-weight: 700; color: var(--green-700); display: flex; gap: 8px; align-items: baseline; }
.sr-item .p .sale { color: var(--red-600); }
.sr-item .p del { color: var(--muted); font-weight: 500; font-size: 12px; }
.sr-cat { font-size: 11.5px; color: var(--muted); }
.sr-out { font-size: 11px; color: var(--red-600); font-weight: 700; }
.sr-layout { display: grid; gap: 16px; }
.sr-col { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.sr-col:hover, .sr-col.is-active { background: var(--cream); }
.sr-col .c { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.sr-all { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--green-50); color: var(--green-700); font-weight: 700; font-size: 14px; }
.sr-all:hover, .sr-all.is-active { background: var(--green-100); }
.sr-empty { text-align: center; padding: 20px 0; }
.sr-empty .si-chips { justify-content: center; margin-top: 10px; }
mark { background: #fbe7a6; color: inherit; border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hotline { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 4px; margin-right: 6px; border-right: 1px solid var(--line); }
.hl-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; }
.hl-ico .icon { width: 21px; height: 21px; }
.hl-text { display: flex; flex-direction: column; line-height: 1.2; }
.hl-text small { font-size: 11.5px; color: var(--muted); }
.hl-text strong { font-size: 15px; color: var(--ink); font-weight: 800; }
.count-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red-600); color: #fff; font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.count-badge.is-empty { display: none; }
.avatar-mini { width: 30px; height: 30px; border-radius: 50%; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; height: 48px; padding: 0 16px 0 10px; border-radius: 10px; background: var(--green-700); color: #fff; transition: background .2s; }
.cart-btn:hover { background: var(--green-800); }
.cb-ico { position: relative; display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; }
.cb-ico .icon { width: 24px; height: 24px; }
.cb-ico .count-badge { top: -6px; right: -8px; border-color: var(--green-700); background: #f2c14e; color: var(--ink); }
.cb-text { display: flex; flex-direction: column; line-height: 1.15; }
.cb-text small { font-size: 11px; opacity: .8; }
.cb-text strong { font-size: 14.5px; font-weight: 800; white-space: nowrap; }

/* Category bar + mega menu */
.catbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.catbar-inner { display: flex; align-items: center; gap: 22px; height: 50px; }
.allcats { position: relative; height: 100%; display: flex; align-items: center; }
.allcats-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--green-900); color: #fff; font-weight: 700; font-size: 14px; }
.allcats-btn .icon { width: 18px; height: 18px; }
.allcats-btn .chev { width: 15px; height: 15px; opacity: .7; transition: transform .2s; }
.allcats-btn[aria-expanded=true] .chev { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 0; width: min(980px, calc(100vw - 48px)); display: grid; grid-template-columns: 290px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); z-index: 80; overflow: hidden; }
.mega-list { list-style: none; margin: 0; padding: 8px; max-height: 70vh; overflow-y: auto; border-right: 1px solid var(--line); background: var(--cream); }
.mega-list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.mega-list li.is-active a, .mega-list a:hover { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }
.mega-list a:hover .mi-chev { color: var(--green-700); }
.mi-ico { width: 30px; height: 30px; border-radius: 8px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--green-700); flex-shrink: 0; border: 1px solid var(--line); }
.mi-ico .icon { width: 17px; height: 17px; }
.mi-name { flex: 1; }
.mi-chev { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }
.mi-chev { width: 14px; height: 14px; color: var(--muted); }
.mega-panels { padding: 22px 26px; }
.mega-panel { display: none; height: 100%; }
.mega-panel.is-active { display: flex; flex-direction: column; }
.mp-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.mp-title .icon { width: 18px; height: 18px; color: var(--green-700); }
.mp-body { display: grid; grid-template-columns: 1fr 230px; gap: 24px; }
.mp-subs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 18px; align-content: start; }
.mp-subs a { display: block; padding: 8px 0; font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--line); transition: color .15s, padding .15s; }
.mp-subs a:hover { color: var(--green-700); padding-left: 4px; }
.mp-subs .mp-all { color: var(--green-700); font-weight: 700; border-bottom: 0; }
.mp-img { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--tile); }
.mp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mp-img:hover img { transform: scale(1.04); }
.quicklinks { display: flex; gap: 10px; flex: 1; overflow-x: auto; scrollbar-width: none; align-items: center; }
.quicklinks::-webkit-scrollbar { display: none; }
.quicklinks a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; white-space: nowrap; height: 34px; padding: 0 14px; border-radius: 999px; transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease); }
.quicklinks a:hover { transform: translateY(-1px); filter: saturate(1.15) brightness(.98); }
.quicklinks a.active { box-shadow: inset 0 0 0 2px currentColor; }
.quicklinks .icon { width: 16px; height: 16px; }
/* Colorful chips: each link cycles through a bright, on-brand palette. */
.quicklinks a:nth-child(7n+1) { background: #fdeaea; color: #c22f38; }
.quicklinks a:nth-child(7n+2) { background: #fff1e0; color: #c0711f; }
.quicklinks a:nth-child(7n+3) { background: #e8f5ec; color: #2f7d4f; }
.quicklinks a:nth-child(7n+4) { background: #e2f3f2; color: #1d6f6c; }
.quicklinks a:nth-child(7n+5) { background: #eeeaf8; color: #5b3f9a; }
.quicklinks a:nth-child(7n+6) { background: #e7effb; color: #2a5fb3; }
.quicklinks a:nth-child(7n+7) { background: #fdeaf1; color: #b23a6a; }
.ql-hot { background: #fdeaea !important; color: #c22f38 !important; }
.catbar-track { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.catbar-track .icon { width: 17px; height: 17px; }
.catbar-track:hover { color: var(--green-700); }

/* ---------- Drawers, overlay, modal, toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(12, 22, 16, .5); z-index: 90; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(500px, 86vw); background: #fff; z-index: 100; transform: translateX(105%); transition: transform .35s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.left { right: auto; left: 0; transform: translateX(-105%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.drawer-head h3 .icon { color: var(--green-700); }
.drawer-logo { height: 44px; width: auto; }
.drawer-content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.drawer-foot { padding: 16px 18px 18px; border-top: 1px solid var(--line); background: var(--cream); }
.drawer-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 12px; }
.qv-loading { display: flex; align-items: center; justify-content: center; min-height: 220px; }
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(12, 22, 16, .55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-box { position: relative; background: #fff; border-radius: 16px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 28px; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
.modal-lg { max-width: 960px; padding: 0; }
.modal-x { position: absolute; top: 10px; right: 10px; z-index: 3; background: #fff; box-shadow: var(--shadow-sm); }
@keyframes pop { from { transform: translateY(14px) scale(.98); } to { transform: none; } }
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 160%); z-index: 130; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }
.toast.err { background: var(--red-600); }

/* Mobile nav */
.mobile-nav { padding: 12px 14px 30px; }
.mn-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.mn-quick a { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; background: var(--cream); font-size: 13.5px; font-weight: 700; }
.mn-quick .icon { width: 18px; height: 18px; color: var(--green-700); }
.mn-quick a:first-child .icon { color: var(--red-600); }
.mn-title { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 4px 8px; }
.mn-cat summary, .mn-cat-link { display: flex; align-items: center; gap: 12px; padding: 9px 4px; font-weight: 600; font-size: 14.5px; list-style: none; cursor: pointer; border-bottom: 1px solid #f0ece3; }
.mn-cat summary::-webkit-details-marker { display: none; }
.mn-cat-link > .icon { width: 18px; height: 18px; color: var(--green-700); margin: 0 6px; }
.mn-chev { width: 16px; height: 16px; margin-left: auto; color: var(--muted); transition: transform .2s; }
.mn-cat[open] .mn-chev { transform: rotate(180deg); }
.mn-subs { display: grid; padding: 4px 0 10px 46px; }
.mn-subs a { padding: 7px 0; font-size: 14px; color: #4a554e; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.04fr) minmax(0, 1fr); gap: 20px; }
.hero-grid.no-side { grid-template-columns: minmax(0, 1fr); }
.hero-slider { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 2; background: var(--cream-2); }
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hs-controls { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 10px; }
.hs-arrow { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); opacity: 0; transition: opacity .2s; }
.hero-slider:hover .hs-arrow { opacity: 1; }
.hs-controls .hs-arrow:first-child { position: fixed; }
.hs-arrow .icon { width: 18px; height: 18px; }
.hs-dots { display: flex; gap: 6px; padding: 5px 8px; border-radius: 10px; background: rgba(0,0,0,.25); }
.hs-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.55); transition: width .3s ease, background .3s; }
.hs-dots button.is-active { width: 20px; background: #fff; }
.hero-tile { display: block; border-radius: 14px; overflow: hidden; background: var(--cream-2); min-height: 0; }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-tile:hover img { transform: scale(1.03); }

.mid-banners { display: grid; gap: 16px; }
.promo-banner { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 20 / 7; background: var(--cream-2); }
.promo-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.promo-banner:hover img { transform: scale(1.02); }
.mid-banners.count-2 { grid-template-columns: 1fr 1fr; }
.mid-banners.count-3 { grid-template-columns: repeat(3, 1fr); }

/* Promise strip */
.promise { padding: 16px 0 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.promise-item { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.promise-item + .promise-item { border-left: 1px solid var(--line); }
.pi-ico { width: 30px; height: 30px; color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pi-ico .icon { width: 23px; height: 23px; }
.promise-item strong { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.promise-item span { font-size: 12.5px; color: var(--muted); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cat-tile:hover { border-color: var(--green-700); }
.ct-img { width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--tile); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--green-700); }
.ct-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tile:hover .ct-img img { transform: scale(1.06); }
.ct-img .icon { width: 36px; height: 36px; }
.ct-name { font-weight: 700; font-size: 13.5px; line-height: 1.25; color: var(--ink); }
.ct-count { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Hot deals */
.deals-box { background: #fff7ec; border: 1px solid #f1dfc3; border-radius: 14px; padding: 22px 22px 8px; }
.deals-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.deals-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--red-600); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.deals-ico .icon { width: 22px; height: 22px; }
.countdown { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.countdown span { margin-right: 6px; white-space: nowrap; }
.countdown b { min-width: 34px; height: 32px; padding: 0 6px; border-radius: 7px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.countdown i { font-style: normal; font-weight: 800; color: var(--ink); }

/* Category rows */
.cat-row + .cat-row { padding-top: 8px; }
.cr-head { display: flex; align-items: center; gap: 14px; }
.cr-ico { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cr-ico .icon { width: 23px; height: 23px; }

/* ---------- Product grid, card, slider ---------- */
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); min-width: 0; }
.pcard:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.pcard-media { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--tile); }
.pm-link { display: block; width: 100%; height: 100%; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.pcard-media .alt { opacity: 0; }
.pcard:hover .pcard-media .main { transform: scale(1.05); }
.pcard:hover .pcard-media .alt { opacity: 1; }
.pm-tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; pointer-events: none; }
.pm-acts { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pm-act { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), color .2s, opacity .2s; }
.pm-act .icon { width: 17px; height: 17px; }
.pm-act:hover { color: var(--red-600); transform: scale(1.08); }
.pm-act[data-quick] { opacity: 0; transform: translateX(6px); }
.pcard:hover .pm-act[data-quick] { opacity: 1; transform: none; }
[data-wish] .i-on, [data-wish].is-on .i-off { display: none; }
[data-wish].is-on .i-on { display: block; color: var(--red-600); }
.pm-out { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(23,35,28,.78); color: #fff; text-align: center; font-size: 12px; font-weight: 700; padding: 6px; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 10px 2px 2px; }
.pc-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 18px; }
.pc-unit { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-rating { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--ink); }
.pc-rating .icon { width: 13px; height: 13px; color: #e0a526; fill: #e0a526; }
.pc-name { font-family: var(--sans); font-size: 14.5px; font-weight: 700; line-height: 1.35; margin: 4px 0 8px; color: var(--ink); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc-name a:hover { color: var(--green-700); }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; margin-top: auto; }
.pc-price strong { font-size: 17px; font-weight: 800; color: var(--ink); }
.pc-price strong.is-sale { color: var(--red-600); }
.pc-price del { font-size: 13px; color: #9a9f99; }
.btn-add { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; border: 1px solid var(--green-700); background: var(--green-50); color: var(--green-700); border-radius: 9px; font-weight: 800; font-size: 13.5px; transition: background .2s, color .2s; }
.btn-add .icon { width: 18px; height: 18px; }
.btn-add:hover { background: var(--green-700); color: #fff; }
.btn-add .i-done { display: none; }
.btn-add.is-added { background: var(--green-700); color: #fff; }
.btn-add.is-added .i-done { display: block; }
.btn-add.is-added .i-cart { display: none; }
.btn-add.is-off { border-color: var(--line); background: var(--cream); color: var(--muted); cursor: not-allowed; }
form[data-add-to-cart] { margin: 0; }
.pcard form[data-add-to-cart] { display: block; }

.pslider { position: relative; }
.ps-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; margin: -4px -2px 0; }
.ps-track::-webkit-scrollbar { display: none; }
.ps-track > * { scroll-snap-align: start; }
.ps-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.ps-track .reveal { transform: none !important; }
.ps-arrow { position: absolute; top: 38%; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: background .2s, color .2s, opacity .2s; }
.ps-arrow:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.ps-arrow.prev { left: -18px; }
.ps-arrow.next { right: -18px; }

/* Duo mini lists */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-prod { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.mini-prod:hover { background: var(--cream); border-color: var(--line); }
.mini-prod img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--tile); flex-shrink: 0; }
.mp-text { display: flex; flex-direction: column; min-width: 0; }
.mp-name { font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-unit { font-size: 12px; color: var(--muted); }
.mp-price { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.mp-price strong { color: var(--green-700); font-weight: 800; }
.mp-price del { color: #9a9f99; font-size: 12px; }

/* Story band */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.story-media { border-radius: 12px; overflow: hidden; aspect-ratio: 1.1; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { padding-right: 24px; }
.story-copy h2 { margin-bottom: 16px; }
.story-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.story-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.story-points .icon { color: var(--green-700); }

/* Reviews band */
.reviews-band .ps-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.quote-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-card figcaption strong { display: block; font-size: 14px; }
.quote-card figcaption small { color: var(--muted); font-size: 12.5px; }
.qc-av { width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); color: var(--green-700); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.stars-row { display: inline-flex; gap: 2px; }
.stars-row i { display: inline-flex; color: #d9d3c6; }
.stars-row i .icon { width: 16px; height: 16px; }
.stars-row i.full, .stars-row i.half { color: #e0a526; }
.stars-row i.full .icon { fill: currentColor; }

/* Newsletter */
.news-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--green-900); color: #fff; border-radius: 12px; padding: 34px 40px; position: relative; overflow: hidden; }

.news-box h2 { color: #fff; margin-bottom: 6px; }
.news-box p { margin: 0; color: rgba(255,255,255,.75); }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.news-form .input { flex: 1; min-width: 200px; background: #fff; border-color: #fff; }
.news-form .btn { background: #f2c14e; border-color: #f2c14e; color: var(--ink); }
.news-form .btn:hover { background: #e8b236; border-color: #e8b236; }
.news-form.is-done .input { border-color: #9fd3b2; }
.form-err { width: 100%; margin: 0; font-size: 13px; color: #ffb4b4; }

/* ---------- Page header, shop ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--green-700); }
.crumbs span:last-child { color: var(--ink); font-weight: 600; }
.page-hero, .shop-hero { position: relative; background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 30px 0; overflow: hidden; }

.page-hero h1, .shop-hero h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 6px; }
.page-hero p, .shop-hero p { margin: 0; color: #4b564f; max-width: 640px; }
.page-hero .wrap { position: relative; z-index: 1; }
.ph-img { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; height: 100%; object-fit: cover; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.shop-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 1; }
.shop-hero-img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); flex-shrink: 0; }
.shop-banner { margin-bottom: 20px; }
.shop-layout { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters { position: sticky; top: 150px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px 18px; max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; }
.filter-close-row { display: none; }
.filter-block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-block:last-of-type { border-bottom: 0; }
.filter-block h4 { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.cat-filter { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.cat-filter a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.cat-filter a:hover { background: var(--cream); }
.cat-filter a.active { background: var(--green-50); color: var(--green-700); }
.cf-ico { display: inline-flex; color: var(--green-700); }
.cf-ico .icon { width: 16px; height: 16px; }
.cat-filter .cnt, .brand-filter .cnt { margin-left: auto; font-size: 11.5px; color: #9a9f99; font-weight: 600; }
.cat-filter li.extra { display: none; }
.cat-filter.is-open li.extra { display: block; }
.cat-filter .link-btn { margin: 6px 8px 0; }
.brand-filter { display: grid; gap: 2px; }
.brand-filter a { display: flex; align-items: center; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; font-weight: 600; }
.brand-filter a:hover { background: var(--cream); }
.brand-filter a.active { background: var(--green-50); color: var(--green-700); }
.price-filter { display: flex; align-items: center; gap: 8px; }
.price-filter .input { height: 40px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green-700); }
.shop-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 16px; }
.shop-toolbar .count { font-weight: 700; font-size: 14px; color: var(--ink); }
.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sort-label { font-size: 13px; color: var(--muted); }
.shop-toolbar .select { height: 40px; width: auto; min-width: 180px; }
.filter-open { display: none; }
.shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); transition: opacity .2s; }
.shop-grid.is-loading { opacity: .45; pointer-events: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.af-tag { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--green-700); background: var(--green-50); color: var(--green-700); border-radius: 8px; font-size: 13px; font-weight: 700; }
.af-clear { border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--red-600); text-decoration: underline; text-underline-offset: 3px; }
.center-row { display: flex; justify-content: center; margin-top: 28px; }
.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty-state .icon { width: 46px; height: 46px; color: var(--line-2); margin: 0 auto 12px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state.big { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 70px 20px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 700; font-size: 14px; }
.pager .current { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pager .disabled { opacity: .45; }
.pager .icon { width: 16px; height: 16px; }

/* ---------- Forms ---------- */
.input, .select, .textarea { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; font-size: 14.5px; transition: border-color .2s, box-shadow .2s; }
.textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c746e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; cursor: pointer; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(19, 128, 70, .12); }
.input.sm { height: 40px; }
.is-invalid { border-color: var(--red-600) !important; }
.field { margin-bottom: 14px; }
.field label, .label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.wholesale-form { max-width: 760px; margin: 44px auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.wholesale-form > p { color: var(--muted); margin: 4px 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.error { color: var(--red-600); font-size: 12.5px; margin-top: 5px; }
.error:empty { display: none; }
.form-ok { color: var(--ok); font-size: 14px; font-weight: 600; margin: 10px 0 0; }
.inline-form { display: flex; gap: 10px; }
.alert { padding: 14px 16px; border-radius: 10px; margin: 16px 0; font-size: 14px; font-weight: 600; }
.alert-ok { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.alert-err { background: var(--red-50); color: var(--red-700); border: 1px solid #f3d0d0; }
.warn { color: var(--warn); font-size: 12.5px; font-weight: 600; margin-top: 4px; }

/* ---------- Product page ---------- */
.pdp-section .crumbs { margin-bottom: 18px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.gallery { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--tile); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.gallery-main.zoom { cursor: zoom-out; }
.gallery-main.zoom img { transform: scale(2); }
.gallery-main .pm-tags { top: 14px; left: 14px; }
.zoom-hint { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.9); color: var(--muted); pointer-events: none; }
.zoom-hint .icon { width: 14px; height: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--tile); }
.gallery-thumbs button.active { border-color: var(--green-700); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(26px, 2.6vw, 34px); margin: 6px 0 10px; }
.pdp-top { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-top span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--cream); color: #4b564f; }
.pdp-top .pdp-brand { background: var(--gold-50); color: #8a6420; }
.qv-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 8px 0 14px; padding: 14px 16px; background: var(--cream); border-radius: 12px; }
.pdp-price strong { font-family: var(--sans); font-size: 30px; font-weight: 800; color: var(--ink); }
.pdp-price strong.is-sale { color: var(--red-600); }
.pdp-price del { font-size: 17px; color: #9a9f99; }
.pdp-price .save { font-size: 12.5px; font-weight: 800; color: var(--red-700); background: var(--red-50); padding: 4px 10px; border-radius: 6px; }
.pdp-short { color: #4b564f; font-size: 15px; }
.opt-group { margin-bottom: 16px; }
.opt-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.opt-head span { font-weight: 600; color: var(--muted); }
.variant-opts, .color-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opts input, .color-opts input { position: absolute; opacity: 0; pointer-events: none; }
.variant-opts label { display: flex; flex-direction: column; gap: 2px; min-width: 104px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.vo-label { font-weight: 800; font-size: 14px; color: var(--ink); }
.vo-price { font-size: 13px; font-weight: 700; color: var(--green-700); }
.vo-price del { color: #9a9f99; font-weight: 500; font-size: 12px; margin-left: 4px; }
.variant-opts input:checked + label { border-color: var(--green-700); background: var(--green-50); box-shadow: 0 0 0 3px rgba(19,128,70,.1); }
.variant-opts input:focus-visible + label, .color-opts input:focus-visible + label { outline: 2px solid var(--green-600); outline-offset: 2px; }
.color-opts label { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 8px; border: 1.5px solid var(--line-2); border-radius: 10px; cursor: pointer; font-size: 13.5px; font-weight: 600; background: #fff; }
.color-opts label i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.color-opts input:checked + label { border-color: var(--green-700); background: var(--green-50); }
.buy-row { display: flex; gap: 10px; margin: 18px 0 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; height: 46px; overflow: hidden; }
.qty button { width: 40px; height: 100%; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.qty button:hover { background: var(--cream); }
.qty button .icon { width: 16px; height: 16px; }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-lg { height: 52px; }
.qty-lg button { width: 46px; }
.buy-row .btn { min-height: 52px; }
.btn-buy.btn-block { min-height: 52px; font-size: 15px; }
.stock-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ok); margin: 12px 0; }
.stock-note i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(19,128,70,.15); }
.stock-note.low { color: var(--warn); }
.stock-note.low i { box-shadow: 0 0 0 4px rgba(178,106,0,.15); }
.stock-note.out { color: var(--red-600); }
.order-help { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.order-help a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; color: var(--muted); transition: border-color .2s, background .2s; }
.order-help a:hover { border-color: var(--green-700); background: var(--green-50); }
.order-help a .icon { width: 22px; height: 22px; color: var(--green-700); }
.order-help a.oh-wa .icon { color: #1f9d55; }
.order-help strong { display: block; font-size: 14px; color: var(--ink); }
.order-help span { display: flex; flex-direction: column; line-height: 1.3; }
.wish-line { margin: 6px 0 14px; color: var(--text); }
.wish-line.is-on { color: var(--red-600); }
.perks { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.perks > div { display: flex; gap: 12px; padding: 12px 14px; font-size: 13.5px; color: #4b564f; }
.perks > div + div { border-top: 1px solid var(--line); }
.perks .icon { width: 22px; height: 22px; color: var(--green-700); margin-top: 1px; }
.perks strong { display: block; color: var(--ink); font-size: 14px; }
.perks a { color: var(--green-700); font-weight: 700; }
.tier-box { border: 1px dashed var(--gold); background: var(--gold-50); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.tier-box strong { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tier-box strong .icon { width: 16px; height: 16px; color: var(--gold); }
.tier-list { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #6b5121; margin-top: 4px; }
.notify-form { margin-top: 12px; padding: 16px; border-radius: 12px; background: var(--cream); }
.notify-title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
.notify-title .icon { width: 18px; height: 18px; color: var(--green-700); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4); transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-inner { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.sticky-inner img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; background: var(--tile); }
.sb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sb-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.sb-text span { font-weight: 800; color: var(--green-700); }

/* Product tabs, specs, reviews */
.pdp-tabs { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 26px 26px; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: none; padding: 16px 0 14px; font-weight: 700; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs button.active { color: var(--green-700); border-bottom-color: var(--green-700); }
.tab-body { display: none; }
.tab-body.is-active { display: block; animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { transform: translateY(6px); } to { transform: none; } }
.pdp-desc { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; }
.pdp-desc .prose { margin: 0; max-width: none; font-size: 15.5px; }
.highlights { background: var(--cream); border-radius: 14px; padding: 20px; align-self: start; }
.highlights h3 { font-size: 18px; }
.highlights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.highlights li { display: flex; gap: 10px; font-size: 14px; font-weight: 600; }
.highlights .icon { width: 18px; height: 18px; color: var(--green-700); }
.spec-table { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { width: 220px; font-weight: 700; color: var(--muted); background: var(--cream); }
.reviews-layout { display: grid; grid-template-columns: 360px 1fr; gap: 40px; }
.rating-big { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.rating-big b { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--ink); }
.rating-big > div { display: flex; flex-direction: column; gap: 4px; }
.rating-bars { display: grid; gap: 6px; margin-bottom: 20px; }
.rating-bars div { display: grid; grid-template-columns: 14px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.rating-bars i { height: 8px; border-radius: 4px; background: var(--cream-2); overflow: hidden; }
.rating-bars em { display: block; height: 100%; background: #e0a526; border-radius: 4px; }
.review-form { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.review-form h4 { font-size: 18px; margin-bottom: 8px; }
.review-form.is-done { border-color: var(--green-100); background: var(--green-50); }
.star-pick { display: flex; gap: 4px; margin-bottom: 12px; }
.star-pick button { border: 0; background: none; padding: 2px; color: #d9d3c6; }
.star-pick button .icon { width: 26px; height: 26px; }
.star-pick button.on { color: #e0a526; }
.star-pick button.on .icon { fill: currentColor; }
.review-list { display: grid; gap: 12px; align-content: start; }
.rv { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rv-head > div { flex: 1; }
.rv-head .muted { font-size: 12px; }
.rv p { margin: 0; color: #3f4a43; }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--green-50); color: var(--green-700); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* Quick view */
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { display: flex; flex-direction: column; background: var(--tile); }
.qv-main { position: relative; flex: 1; min-height: 360px; }
.qv-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-main .tag { position: absolute; top: 14px; left: 14px; }
.qv-thumbs { display: flex; gap: 8px; padding: 10px; }
.qv-thumbs button { width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; }
.qv-thumbs button.active { border-color: var(--green-700); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { padding: 30px 28px 24px; }
.qv-info .eyebrow { margin-bottom: 6px; color: var(--muted); letter-spacing: .08em; }
.qv-name { font-size: 24px; margin-bottom: 8px; }
.qv-info .pdp-price strong { font-size: 24px; }
.qv-info .order-help { display: none; }
.qv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Cart, drawer, checkout ---------- */
.mini-line { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 28px 14px 0; border-bottom: 1px solid #f0ece3; transition: opacity .2s; }
.mini-line.is-busy { opacity: .5; pointer-events: none; }
.ml-img img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--tile); }
.ml-info .name { font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ml-info .opts { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ml-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ml-row .price { font-weight: 800; color: var(--ink); }
.qty-sm { height: 34px; }
.qty-sm button { width: 32px; }
.qty-sm input { width: 34px; font-size: 13px; }
.ml-remove { position: absolute; top: 12px; right: 0; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--cream); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.ml-remove:hover { background: var(--red-50); color: var(--red-600); }
.ml-remove .icon { width: 14px; height: 14px; }
.mini-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.mini-empty .icon { width: 48px; height: 48px; color: var(--line-2); margin: 0 auto 12px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 14.5px; }
.sum-row.disc span:last-child { color: var(--ok); font-weight: 700; }
.sum-row.total { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 12px; font-size: 17px; font-weight: 800; color: var(--ink); }
.free-bar { font-size: 13px; padding: 10px 12px; background: var(--green-50); border-radius: 10px; margin-bottom: 12px; color: var(--green-800); }
.free-bar .icon { width: 15px; height: 15px; vertical-align: -3px; }
.free-bar .track { height: 6px; background: #fff; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.free-bar .fill { height: 100%; background: var(--green-700); border-radius: 3px; transition: width .5s var(--ease); }
.tier-note { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 10px 12px; background: var(--gold-50); color: #6b5121; border-radius: 10px; margin-bottom: 12px; }
.tier-note .icon { width: 16px; height: 16px; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; margin-top: 16px; }
.cart-lines { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 20px 20px; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto 110px 40px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid #f0ece3; }
.cl-img img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; background: var(--tile); }
.cl-name { font-weight: 700; color: var(--ink); line-height: 1.35; }
.cl-name:hover { color: var(--green-700); }
.cl-opts, .cl-unit { font-size: 13px; color: var(--muted); }
.cl-total { text-align: right; font-weight: 800; font-size: 16px; color: var(--ink); }
.cl-qty.is-busy { opacity: .5; }
.back-link { margin-top: 18px; }
.summary { position: sticky; top: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.summary h3 { font-size: 20px; margin-bottom: 14px; }
.summary h3 .muted { font-family: var(--sans); font-size: 14px; font-weight: 600; }
.coupon-form { display: flex; gap: 8px; margin: 16px 0 10px; }
.coupon-on { flex: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ok); }
.coupon-on .icon { width: 16px; height: 16px; }
.summary .btn-block { margin-top: 8px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.secure .icon { width: 15px; height: 15px; }
.signed-note { display: flex; align-items: center; gap: 10px; background: var(--green-50); color: var(--green-800); padding: 12px 16px; margin-bottom: 16px; font-size: 14px; border-radius: 12px; }
.signed-note a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.signed-note .icon { width: 18px; height: 18px; flex-shrink: 0; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px 8px; margin-bottom: 16px; }
.step-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.step-title b { width: 28px; height: 28px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--sans); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.choice input { width: 18px; height: 18px; accent-color: var(--green-700); flex-shrink: 0; }
.choice > div { flex: 1; }
.choice .t { font-weight: 800; font-size: 14.5px; color: var(--ink); }
.choice .d { font-size: 12.5px; color: var(--muted); }
.choice .r { font-weight: 800; color: var(--green-700); }
.choice .icon { width: 22px; height: 22px; color: var(--green-700); }
.choice:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.pay-logo { height: 26px; width: auto; }
.pay-panel { background: var(--cream); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.pay-bkash { border-left: 4px solid #e2136e; }
.pay-nagad { border-left: 4px solid #f37021; }
.pay-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.pay-num { font-size: 16px; letter-spacing: .03em; }
.checkout-items { display: grid; gap: 12px; max-height: 300px; overflow-y: auto; margin-bottom: 14px; padding-right: 4px; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.co-item .ph { position: relative; }
.co-item .ph img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--tile); }
.co-item .q { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.co-item .n { font-weight: 700; color: var(--ink); line-height: 1.3; }
.co-item .o { color: var(--muted); font-size: 12px; }
.co-item .p { font-weight: 800; }

/* Order complete, track, accounts */
.done-card { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px 32px; }
.done-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 0 10px var(--green-50); }
.done-icon .icon { width: 34px; height: 34px; }
.order-box { text-align: left; border: 1px solid var(--line); border-radius: 14px; margin-top: 28px; overflow: hidden; background: #fff; }
.order-box .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.order-box .row:last-child { border-bottom: 0; }
.order-box .k { color: var(--muted); }
.track-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 28px 0; position: relative; }
.track-steps::before { content: ""; position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.track-steps .s { position: relative; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.track-steps .s i { position: relative; z-index: 1; display: flex; width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 50%; background: #fff; border: 2px solid var(--line); align-items: center; justify-content: center; }
.track-steps .s.done i { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.track-steps .s.done { color: var(--ink); }
.track-steps .s i .icon { width: 14px; height: 14px; }
.history { list-style: none; padding: 0; margin: 0; }
.history li { padding: 0 0 18px 22px; border-left: 2px solid var(--line); position: relative; }
.history li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-700); }
.history .t { font-size: 13px; color: var(--muted); }
.status-pill { font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 6px; background: var(--cream); white-space: nowrap; }
.status-pill.s-pending { background: #fdf3dc; color: #8a5a00; }
.status-pill.s-confirmed, .status-pill.s-processing { background: #e6eefb; color: #1f4f9a; }
.status-pill.s-shipped { background: #efe8fb; color: #5b2f99; }
.status-pill.s-delivered { background: var(--green-50); color: var(--ok); }
.status-pill.s-cancelled, .status-pill.s-returned { background: var(--red-50); color: var(--red-700); }
.account-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.account-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 150px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.account-nav button, .account-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; background: none; border-radius: 10px; font-size: 14.5px; font-weight: 600; text-align: left; color: #3f4a43; }
.account-nav .icon { width: 18px; height: 18px; }
.account-nav span { margin-left: auto; font-size: 12px; background: var(--cream); padding: 1px 8px; border-radius: 6px; }
.account-nav button:hover, .account-nav a:hover { background: var(--cream); }
.account-nav button.active { background: var(--green-700); color: #fff; }
.account-nav button.active span { background: rgba(255,255,255,.18); }
.account-pane { display: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.account-pane.is-active { display: block; }
.order-row { display: grid; grid-template-columns: 1fr auto auto 20px; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.order-row:hover { border-color: var(--green-700); box-shadow: var(--shadow); }
.order-row > div { display: flex; flex-direction: column; }
.order-row .muted { font-size: 13px; }
.order-row .icon { width: 18px; height: 18px; color: var(--muted); }
.steps-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
.steps-list li { display: flex; gap: 16px; }
.steps-list b { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.steps-list strong { display: block; color: var(--ink); }
.steps-list span { color: var(--muted); font-size: 14.5px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; background: #fff; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; font-size: 14px; font-weight: 600; }
.seg input:checked + span { background: var(--green-700); color: #fff; }

/* Auth */
.auth-stage { position: relative; min-height: calc(100vh - 200px); display: flex; align-items: center; overflow: hidden; background: var(--green-900); padding: 48px 0; }
.auth-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.auth-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 30, 19, .92) 0%, rgba(8, 30, 19, .7) 45%, rgba(8, 30, 19, .25) 100%); }
.auth-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 430px; gap: 56px; align-items: center; }
.auth-copy { color: #fff; max-width: 480px; }
.auth-copy .eyebrow { color: #e9c983; }
.auth-copy h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.05; margin: 6px 0 24px; color: #fff; }
.auth-copy h2 em { font-style: normal; color: #f3cf7f; }
.auth-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: rgba(255,255,255,.85); font-size: 15px; }
.auth-copy li { display: flex; align-items: center; gap: 12px; }
.auth-copy .icon { width: 18px; height: 18px; color: #e9c983; }
.glass-card { background: #fff; border-radius: 12px; padding: 26px 28px 22px; box-shadow: var(--shadow-lg); }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { position: relative; z-index: 1; border: 0; background: none; height: 38px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .25s; }
.auth-tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.auth-tabs.on-register .auth-tab-ink { transform: translateX(100%); }
.auth-tabs.on-login button[data-mode=login], .auth-tabs.on-register button[data-mode=register] { color: var(--green-700); }
.auth-title { font-size: 26px; margin: 0 0 4px; }
.auth-sub { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.auth-form { margin: 0; }
.float-field { position: relative; margin-bottom: 12px; }
.float-field .input { height: 52px; padding: 18px 44px 4px 42px; font-size: 15px; border-radius: 10px; }
.float-field label { position: absolute; left: 42px; top: 16px; font-size: 14px; color: #8a918b; pointer-events: none; transition: top .2s var(--ease), font-size .2s var(--ease), color .2s; margin: 0; font-weight: 500; }
.float-field .input:focus + label, .float-field .input:not(:placeholder-shown) + label { top: 6px; font-size: 11px; color: var(--green-700); font-weight: 700; }
.float-field .ff-icon { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; color: #9aa09b; pointer-events: none; }
.float-field .input:focus ~ .ff-icon { color: var(--green-700); }
.pw-eye { position: absolute; right: 8px; top: 9px; width: 34px; height: 34px; border: 0; background: none; color: #9aa09b; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.pw-eye:hover { background: var(--cream); color: var(--ink); }
.pw-eye .icon { width: 17px; height: 17px; }
.pw-eye .i-hide, .pw-eye.is-on .i-show { display: none; }
.pw-eye.is-on .i-hide { display: block; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 4px; align-items: center; margin-top: 6px; }
.pw-meter i { height: 3px; border-radius: 2px; background: var(--cream-2); transition: background .25s; }
.pw-meter span { font-size: 11px; color: var(--muted); margin-left: 8px; white-space: nowrap; }
.pw-meter.s-1 i:nth-child(-n+1) { background: #c0392b; }
.pw-meter.s-2 i:nth-child(-n+2) { background: #d68a1f; }
.pw-meter.s-3 i:nth-child(-n+3) { background: #5a9a3a; }
.pw-meter.s-4 i { background: var(--ok); }
.ff-error { margin: -6px 0 10px; font-size: 12px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 16px; }
.auth-row .check { font-size: 13px; padding: 0; }
.auth-legal { font-size: 11.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.auth-legal a { text-decoration: underline; text-underline-offset: 2px; }
.link-strong { border: 0; background: none; padding: 0; color: var(--green-700); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.auth-switch { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }

/* CMS pages, contact, FAQ, stores */
.prose { max-width: 780px; margin: 0 auto; font-size: 16.5px; line-height: 1.8; color: #36423b; }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; }
.prose h3 { font-size: 22px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 1.5em 0; border-radius: 14px; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-list { display: grid; gap: 18px; margin-top: 22px; }
.contact-list div { display: flex; gap: 14px; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--green-700); }
.contact-list strong { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.map { margin-top: 40px; aspect-ratio: 21 / 7; background: var(--cream-2); border-radius: 12px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 18px; height: 18px; color: var(--green-700); transition: transform .25s var(--ease); }
.acc[open] summary .icon { transform: rotate(180deg); }
.acc-body { padding: 0 20px 18px; color: #4b564f; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.store-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.store-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tile); }
.store-media img { width: 100%; height: 100%; object-fit: cover; }
.store-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.store-body h3 { font-size: 20px; margin: 0 0 4px; }
.store-line { display: flex; gap: 10px; font-size: 14px; color: #4b564f; }
.store-line .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--green-700); }
.store-btn { align-self: flex-start; margin-top: auto; }

/* ---------- Trust strip + footer ---------- */
.trust-foot { margin-top: 40px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tf-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tf-grid > div { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.tf-grid > div + div { border-left: 1px solid var(--line); }
.tf-grid .icon { width: 30px; height: 30px; color: var(--green-700); }
.tf-grid strong { display: block; color: var(--ink); font-size: 14.5px; }
.tf-grid span { font-size: 12.5px; color: var(--muted); }
.site-footer { background: var(--cream-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding: 52px 24px 40px; }
.fb-logo img { height: 66px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: #4b564f; font-size: 14px; max-width: 360px; }
.fb-hotline { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }
.fb-hotline .icon { width: 26px; height: 26px; color: var(--green-700); }
.fb-hotline span { display: flex; flex-direction: column; line-height: 1.25; }
.fb-hotline small { font-size: 11.5px; color: var(--muted); }
.fb-hotline strong { font-size: 17px; color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .2s, color .2s; }
.socials a:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.socials .icon { width: 18px; height: 18px; }
.f-col h4 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.f-toggle { border: 0; background: none; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: default; }
.f-toggle .icon { display: none; width: 16px; height: 16px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { font-size: 14px; color: #4b564f; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--green-700); padding-left: 3px; }
.footer-contact { display: grid; gap: 8px; margin-top: 18px; font-size: 13.5px; color: #4b564f; }
.footer-contact div { display: flex; gap: 8px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--green-700); margin-top: 3px; }
.footer-bottom { background: var(--green-900); color: rgba(255,255,255,.75); font-size: 13px; }
.fbt-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.footer-bottom a { color: #fff; font-weight: 700; }
.pay-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; background: #fff; border-radius: 6px; color: var(--ink); font-size: 12px; font-weight: 700; }
.pay-chip .icon { width: 16px; height: 16px; color: var(--green-700); }
.pay-chip img { height: 20px; width: auto; }
.wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: #1f9d55; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px -10px rgba(31,157,85,.8); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }
.bottom-nav { display: none; }

/* Reveal on scroll: transform only so content is never hidden */
.reveal { transform: translateY(14px); transition: transform .6s var(--ease); }
.reveal.in, .no-js .reveal { transform: none; }

/* ---------- Responsive ---------- */
.hide-touch { }
@media (hover: none) {
  .hide-touch { display: none !important; }
  .pm-act[data-quick] { opacity: 1; transform: none; }
}
@media (max-width: 1280px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .hide-lg { display: none !important; }
  .header-main { gap: 18px; }
  .pdp { gap: 28px; }
}
@media (max-width: 1024px) {
  .hide-md { display: none !important; }
  .hero-grid { gap: 14px; }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-item:nth-child(3) { border-left: 0; }
  .promise-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); max-height: none; z-index: 105; border-radius: 0; transform: translateX(-105%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filter-close-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .filter-close-row h3 { margin: 0; font-size: 20px; }
  .filter-open { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; padding: 16px; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .story-grid { grid-template-columns: 1fr; gap: 26px; }
  .story-copy { padding: 0 8px 8px; }
  .reviews-layout { grid-template-columns: 1fr; }
  .pdp-desc { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; gap: 18px; }
  .account-nav { position: static; flex-direction: row; overflow-x: auto; }
  .account-nav button, .account-nav a { white-space: nowrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-copy { display: none; }
  .auth-stage { min-height: 0; padding: 24px 0 40px; align-items: flex-start; }
  .glass-card { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .header-main { flex-wrap: wrap; gap: 6px 10px; min-height: 0; padding-top: 8px; padding-bottom: 10px; }
  .site-header.is-scrolled .header-main { min-height: 0; }
  .nav-toggle { display: inline-flex; margin-left: -8px; }
  .brand img, .site-header.is-scrolled .brand img { height: 46px; }
  .hsearch { order: 3; flex-basis: 100%; max-width: none; }
  .hsearch-form { height: 44px; border-width: 1.5px; }
  .hs-btn { padding: 0 14px; }
  .catbar { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-tile { display: none; }
  .hero-slider.has-mobile { aspect-ratio: 9 / 5; }
  .nav-toggle { order: 0; }
  .brand { order: 1; flex: 1; justify-content: center; }
  .header-actions { order: 2; margin-left: 0; gap: 0; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .header-actions .icon-btn .icon { width: 23px; height: 23px; }
  .cart-btn { background: transparent; color: var(--ink); height: 38px; padding: 0 4px; margin-left: 0; }
  .cart-btn:hover { background: transparent; }
  .cb-text { display: none; }
  .cb-ico .count-badge { border-color: #fff; background: var(--red-600); color: #fff; }
  .cart-btn { height: 42px; padding: 0 10px; }
  .search-drop { position: fixed; left: 12px; right: 12px; top: 112px; max-height: calc(100vh - 190px); }
  .product-grid, .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ps-track { grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; }
  .reviews-band .ps-track { grid-auto-columns: 80%; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .ps-arrow { display: none; }
  .mid-banners.count-2, .mid-banners.count-3 { grid-template-columns: 1fr; }
  .news-box { grid-template-columns: 1fr; padding: 28px 24px; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -18px rgba(0,0,0,.4); }
  .bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; }
  .bottom-nav .icon { width: 22px; height: 22px; }
  .bottom-nav .active { color: var(--green-700); }
  .bn-badge { position: absolute; top: 0; left: 52%; min-width: 17px; height: 17px; border-radius: 9px; background: var(--red-600); color: #fff; font-size: 10px; font-style: normal; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
  .bn-badge.is-empty { display: none; }
  body { padding-bottom: 66px; }
  .wa-float { bottom: 82px; right: 14px; width: 48px; height: 48px; }
  .sticky-buy { bottom: 62px; }
  .toast { bottom: 86px; }
  .cart-line { grid-template-columns: 72px 1fr auto; grid-template-areas: "img info remove" "img qty total"; gap: 8px 14px; }
  .cl-img { grid-area: img; } .cl-img img { width: 72px; height: 72px; }
  .cl-info { grid-area: info; } .cl-qty { grid-area: qty; } .cl-total { grid-area: total; align-self: center; } .cl-remove { grid-area: remove; justify-self: end; }
  .qv { grid-template-columns: 1fr; }
  .qv-main { min-height: 280px; aspect-ratio: 1.3; }
  .qv-info { padding: 22px 18px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .section { padding: 30px 0; }
  .section-sm { padding: 22px 0; }
  .hero { padding-top: 12px; }
  .hs-arrow { display: none; }



  .hs-controls { bottom: 8px; }
  .hero-slider, .hero-tile { border-radius: 10px; }
  .announce { font-size: 12px; }
  .announce-inner { min-height: 32px; padding: 4px 34px 4px 0; line-height: 1.35; }
  .announce-x { right: 4px; }




  .promise-item { padding: 12px; gap: 10px; }
  .pi-ico { width: 38px; height: 38px; }
  .promise-item strong { font-size: 13px; }
  .promise-item span { display: none; }
  .sec-head { margin-bottom: 14px; }
  .sec-title { font-size: 21px; }
  .sec-sub { display: none; }
  .cat-grid { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 26%; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-tile { padding: 8px 6px 10px; border-radius: 12px; }
  .ct-name { font-size: 12px; }
  .ct-count { display: none; }
  .product-grid, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ps-track { grid-auto-columns: 46%; gap: 10px; }
  .pcard { padding: 8px; border-radius: 12px; }
  .pc-name { font-size: 13.5px; }
  .pc-price strong { font-size: 15.5px; }
  .btn-add { height: 38px; font-size: 12.5px; }
  .btn-add .icon { width: 16px; height: 16px; }
  .deals-box { padding: 16px 12px 4px; border-radius: 16px; }
  .countdown { width: 100%; margin: 6px 0 0; }
  .duo-col { padding: 16px; }
  .mini-list { grid-template-columns: 1fr; }
  .story-grid { padding: 14px; border-radius: 12px; }
  .shop-hero-img { width: 64px; height: 64px; border-radius: 12px; }
  .shop-toolbar { padding: 6px 6px 6px 10px; gap: 8px; }
  .sort-label { display: none; }
  .shop-toolbar .select { min-width: 0; width: 170px; font-size: 13.5px; padding-left: 10px; }
  .shop-toolbar .count { display: none; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .order-help { grid-template-columns: 1fr; }
  .pdp-price strong { font-size: 26px; }
  .pdp-tabs { padding: 0 16px 18px; border-radius: 16px; }
  .variant-opts label { min-width: calc(50% - 4px); }
  .co-card { padding: 16px 14px 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 0; padding: 32px 14px 20px; }
  .footer-brand { padding-bottom: 20px; }
  .f-col { border-top: 1px solid var(--line-2); }
  .f-col h4 { margin: 0; }
  .f-toggle { padding: 14px 0; cursor: pointer; }
  .f-toggle .icon { display: block; transition: transform .2s; }
  .f-col.is-open .f-toggle .icon { transform: rotate(180deg); }
  .f-col .footer-links, .f-col .footer-contact { display: none; padding-bottom: 14px; }
  .f-col.is-open .footer-links, .f-col.is-open .footer-contact { display: grid; }
  .fbt-inner { flex-direction: column; text-align: center; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
  .pay-logos { justify-content: center; }
  .tf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-grid > div { padding: 14px 10px; gap: 10px; }
  .tf-grid > div:nth-child(3) { border-left: 0; }
  .tf-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tf-grid .icon { width: 24px; height: 24px; }
  .tf-grid span { display: none; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 12px 18px 0 0; max-height: 92vh; }
  .inline-form { flex-direction: column; }
  .track-steps .s { font-size: 10.5px; }
  .ph-img { display: none; }
  .account-pane { padding: 16px; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row > .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { transform: none; }
}

/* ---------- Featured categories (one-row carousel) ---------- */
.feat-cats { padding: 34px 0 10px; }
.center-title { text-align: center; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; margin: 0 0 26px; }
.fc-slider { position: relative; padding: 0; }
.fc-track { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 22px; padding: 4px 2px 8px; }
.fc-track::-webkit-scrollbar { display: none; }
.fc-item { display: flex; flex-direction: column; align-items: center; gap: 12px; scroll-snap-align: start; text-align: center; }
.fc-tile { width: 100%; aspect-ratio: 1; border-radius: 22px; background: #fff; padding: 12px; display: flex; align-items: center; justify-content: center; color: var(--green-700); transition: box-shadow .2s, transform .2s; }
.fc-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.fc-tile .icon { width: 44px; height: 44px; }
.fc-item:hover .fc-tile { box-shadow: 0 8px 22px -14px rgba(23, 35, 28, .45); }
.fc-name { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-item:hover .fc-name { color: var(--green-700); }
.fc-arrow { display: none; }
.fc-arrow:hover { background: var(--green-800); }
.fc-arrow .icon { width: 20px; height: 20px; }
.fc-arrow.prev { left: -6px; }
.fc-arrow.next { right: -6px; }

/* ---------- Floating cart (right edge) ---------- */
.float-cart { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 57; width: 84px; border-radius: 10px 0 0 10px; overflow: hidden; box-shadow: 0 8px 24px -12px rgba(0,0,0,.45); border: 0; padding: 0; background: #fff; font-family: inherit; cursor: pointer; }
.float-cart .fc-top { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; background: var(--green-700); color: #fff; font-size: 12.5px; font-weight: 600; }
.float-cart .fc-top .icon { width: 24px; height: 24px; }
.float-cart .fc-total { display: block; padding: 7px 4px; color: var(--green-800); font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.page-cart .float-cart, .page-checkout .float-cart { display: none; }

@media (max-width: 1280px) { .fc-track { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 900px) {
  .fc-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .fc-name { font-size: 14px; }
  .float-cart { width: 68px; }
  .float-cart .fc-top { font-size: 11px; padding: 8px 4px 6px; }
  .float-cart .fc-total { font-size: 12px; }
}
@media (max-width: 640px) {
  .feat-cats { padding: 22px 0 4px; }
  .center-title { margin-bottom: 16px; }
  .fc-slider { padding: 0; }
  .fc-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .fc-tile { border-radius: 16px; padding: 8px; }
  .fc-tile img { border-radius: 10px; }
  .fc-arrow { width: 34px; height: 34px; top: calc(50% - 26px); left: -10px; }
  .fc-arrow.next { left: auto; right: -10px; }
}
/* ---------- Cart drawer (ghorerbazar style) ---------- */
.cd-head { padding: 16px 22px; }
.cd-head h3 { font-size: 17px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cd-close { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.cd-close .icon { width: 20px; height: 20px; }
.cd-close:hover { color: var(--red-600); }
.cd-body { padding: 18px 22px; display: grid; gap: 12px; align-content: start; background: #fff; overflow-x: hidden; }
.cd-line { position: relative; display: grid; grid-template-columns: 70px 1fr 28px; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px -4px rgba(23,35,28,.18); transition: opacity .2s; }
.cd-line.is-busy { opacity: .5; pointer-events: none; }
.cd-img img { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); background: var(--tile); }
.cd-info { min-width: 0; }
.cd-name { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.cd-name span { color: var(--muted); font-weight: 500; font-size: 13px; }
.cd-calc { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; font-size: 14.5px; }
.cd-qty { display: inline-flex; align-items: center; height: 28px; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.cd-qty button { width: 26px; height: 100%; border: 0; background: #fff; font-size: 16px; font-weight: 700; line-height: 1; color: var(--ink); }
.cd-qty button:hover { background: var(--cream); }
.cd-qty b { min-width: 26px; height: 100%; display: inline-flex; align-items: center; justify-content: center; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); font-size: 14px; }
.cd-math { color: var(--text); white-space: nowrap; }
.cd-math strong { font-weight: 700; color: var(--ink); }
.cd-remove { border: 0; background: none; color: var(--ink); display: inline-flex; padding: 2px; }
.cd-remove .icon { width: 22px; height: 22px; }
.cd-remove:hover { color: var(--red-600); }
.cd-foot { background: #f4f4f2; border-top: 1px solid var(--line); padding: 16px 22px 20px; }
.cd-sg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cd-sg-head h4 { margin: 0; font-size: 18px; font-weight: 800; position: relative; padding-bottom: 6px; }
.cd-sg-head h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--green-700); }
.cd-sg-nav { display: flex; gap: 8px; }
.cd-sg-nav button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.cd-sg-nav .icon { width: 16px; height: 16px; }
.cd-sg-track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cd-sg-track::-webkit-scrollbar { display: none; }
.cd-sg-item { scroll-snap-align: start; display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.cd-sg-img img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; background: var(--tile); }
.cd-sg-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cd-sg-price { font-size: 13.5px; color: var(--muted); margin: 3px 0 6px; }
.cd-sg-price del { font-size: 12px; margin-left: 4px; }
.cd-sg-add { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 12px; border: 0; border-radius: 13px; background: var(--green-700); color: #fff; font-size: 12.5px; font-weight: 700; }
.cd-sg-add .icon { width: 13px; height: 13px; }
.cd-sg-add:hover { background: var(--green-800); }
.cd-sg-add.is-loading { color: transparent; }
.cd-sg-add.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.cd-suggest + .cd-total { margin-top: 16px; }
.cd-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 600; color: var(--ink); }
.cd-total strong { font-size: 20px; font-weight: 800; }
.cd-checkout { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 12px; border-radius: 8px; background: var(--green-700); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: background .2s; }
.cd-checkout:hover { background: var(--green-800); }
.cd-foot .drawer-note { margin: 6px 0 0; }

@media (max-width: 640px) {
  .cd-head { padding: 14px 16px; }
  .cd-body { padding: 14px 14px; }
  .cd-foot { padding: 14px 16px 16px; }
  .cd-line { grid-template-columns: 58px 1fr 24px; gap: 10px; padding: 10px; }
  .cd-img img { width: 58px; height: 58px; }
  .cd-name { font-size: 14px; }
  .cd-calc { font-size: 13px; }
  .cd-sg-track { grid-auto-columns: 92%; }
  .cd-sg-item { grid-template-columns: 64px 1fr; padding: 10px; }
  .cd-sg-img img { width: 64px; height: 64px; }
  /* Phone top: one-line scrolling announcement and a compact header. */
  .announce-inner { justify-content: flex-start; overflow: hidden; padding: 0 34px 0 0; min-height: 30px; }
  .announce-inner > span { display: inline-block; white-space: nowrap; padding-left: 100%; animation: annScroll 18s linear infinite; }
  .announce-x { z-index: 2; right: 0; width: 34px; height: 100%; justify-content: center; align-items: center; background: var(--red-600); box-shadow: -8px 0 8px var(--red-600); top: 0; transform: none; display: inline-flex; }
  .header-main { padding-top: 6px; padding-bottom: 8px; gap: 4px 8px; }
  .brand img, .site-header.is-scrolled .brand img { height: 40px; }
  .hsearch-form { height: 40px; }
  .hsearch-form input { font-size: 14px; }
}
@keyframes annScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .announce-inner > span { animation: none; padding-left: 0; white-space: normal; } }
/* ---------- Home category rows: header + sub-category tabs ---------- */
.cr-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cr-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cr-ico { width: 42px; height: 42px; border-radius: 10px; }
.cr-ico .icon { width: 22px; height: 22px; }
.cr-top .sec-title { font-size: clamp(20px, 2vw, 26px); }
.cr-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.cr-tabs::-webkit-scrollbar { display: none; }
.cr-tab { position: relative; flex-shrink: 0; border: 0; background: none; padding: 10px 14px 12px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s; }
.cr-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--green-700); transform: scaleX(0); transition: transform .25s ease; }
.cr-tab:hover { color: var(--ink); }
.cr-tab.active { color: var(--green-700); }
.cr-tab.active::after { transform: scaleX(1); }
.cr-tab:focus-visible { outline: 2px solid var(--green-600); outline-offset: -2px; border-radius: 6px; }
.cr-body { position: relative; transition: opacity .2s; }
.cr-body.is-loading { opacity: .45; pointer-events: none; }
.cr-body.is-loading::after { content: ""; position: absolute; left: 50%; top: 40%; width: 28px; height: 28px; margin: -14px; border: 3px solid var(--line); border-top-color: var(--green-700); border-radius: 50%; animation: spin .7s linear infinite; }
@media (max-width: 640px) {
  .cr-ico { width: 36px; height: 36px; }
  .cr-ico .icon { width: 19px; height: 19px; }
  .cr-tab { padding: 8px 11px 10px; font-size: 13.5px; }
  .cr-top .link-arrow { font-size: 13px; }
}
/* ---------- Splash (first page of a visit) + navigation progress ---------- */
.splash { display: none; }
.show-splash .splash { display: flex; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; background: #fff; transition: opacity .4s ease, visibility .4s; animation: splashFailsafe .4s ease 4s forwards; }
.splash-done .splash { opacity: 0; visibility: hidden; }
.splash-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.splash-logo { width: 210px; height: auto; animation: splashLogo 1.4s ease-in-out infinite; }
.splash-bar { width: 160px; height: 4px; border-radius: 4px; background: var(--cream-2); overflow: hidden; }
.splash-bar i { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--red-600), var(--green-700)); animation: splashBar 1s ease-in-out infinite; }
@keyframes splashLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes splashBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes splashFailsafe { to { opacity: 0; visibility: hidden; } }
.nav-progress { position: fixed; top: 0; left: 0; z-index: 210; height: 3px; width: 0; background: linear-gradient(90deg, var(--red-600), var(--green-700)); opacity: 0; pointer-events: none; }
.nav-progress.is-active { opacity: 1; animation: navProgress 6s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes navProgress { 0% { width: 0; } 20% { width: 45%; } 100% { width: 92%; } }

/* ---------- Brand loader for AJAX waits ---------- */
.sb-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 0; min-height: 160px; }
.sb-loader img { width: 54px; height: auto; animation: cartRoll 1.1s ease-in-out infinite; transform-origin: 50% 90%; }
.sb-dots { display: flex; gap: 5px; }
.sb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-700); animation: dotPulse 1s ease-in-out infinite; }
.sb-dots i:nth-child(2) { animation-delay: .15s; background: var(--red-600); }
.sb-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cartRoll { 0%, 100% { transform: translateX(-8px) rotate(-4deg); } 50% { transform: translateX(8px) rotate(4deg); } }
@keyframes dotPulse { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }
.more-loader .sb-loader { min-height: 0; padding: 10px 0; }
.drawer-content > .sb-loader { flex: 1; }
.modal-box .sb-loader { min-height: 360px; }
.cr-body.is-loading::after { display: none; }
.cr-body.is-loading { opacity: .5; }

/* ---------- Lazy home sections: skeleton until the HTML arrives ---------- */
.lazy-sec { padding: 40px 0; min-height: 380px; }
.sk-head { display: flex; justify-content: space-between; margin-bottom: 20px; }
.sk-head i, .sk-card i { display: block; border-radius: 8px; background: linear-gradient(90deg, #ece6da 0%, #f6f2ea 50%, #ece6da 100%); background-size: 200% 100%; animation: skShine 1.3s linear infinite; }
.sk-head i:first-child { width: 220px; height: 26px; }
.sk-head i:last-child { width: 80px; height: 18px; }
.sk-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sk-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 10px; }
.sk-card i:nth-child(1) { aspect-ratio: 1; }
.sk-card i:nth-child(2) { height: 14px; width: 80%; }
.sk-card i:nth-child(3) { height: 36px; }
@keyframes skShine { to { background-position: -200% 0; } }
.lazy-in { animation: lazyIn .45s ease both; }
@keyframes lazyIn { from { transform: translateY(12px); } to { transform: none; } }
.lazy-fail { text-align: center; padding: 30px 0; }

/* ---------- Product card live cart stepper ---------- */
.pc-cart { position: relative; }
.pc-stepper { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 40px; border-radius: 9px; background: var(--green-700); color: #fff; overflow: hidden; }
.pc-stepper button { height: 100%; border: 0; background: rgba(0,0,0,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.pc-stepper button:hover { background: rgba(0,0,0,.2); }
.pc-stepper button:disabled { opacity: .45; cursor: not-allowed; }
.pc-stepper .icon { width: 16px; height: 16px; }
.pc-stepper span { text-align: center; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pc-stepper b { font-size: 15px; font-weight: 800; margin-right: 2px; }
.pc-stepper.is-loading span { opacity: .6; }
.cart-line.is-gone { opacity: 0; transform: translateX(20px); transition: opacity .25s, transform .25s; }
.cart-line.is-busy { opacity: .55; pointer-events: none; }

@media (max-width: 1280px) { .sk-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sk-card:nth-child(5) { display: none; } }
@media (max-width: 900px) { .sk-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sk-card:nth-child(4) { display: none; } }
@media (max-width: 640px) {
  .sk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sk-card:nth-child(3) { display: none; }
  .pc-stepper { height: 38px; grid-template-columns: 34px 1fr 34px; }
  .pc-stepper span { font-size: 12px; }
  .splash-logo { width: 170px; }
}
@media (prefers-reduced-motion: reduce) { .sb-loader img, .splash-logo, .sb-dots i, .sk-head i, .sk-card i { animation: none; } }
/* Checkout promo code */
.co-coupon { margin-top: 14px; }
.cc-apply { display: flex; gap: 8px; }
.cc-apply .input { height: 42px; }
.cc-apply .btn { min-height: 42px; }
.cc-remove { display: none; margin-top: 6px; color: var(--red-600); }
.co-coupon.has-coupon .cc-apply { display: none; }
.co-coupon.has-coupon .cc-remove { display: inline-flex; }
/* ---------- Product page, plain shop layout ---------- */
.pdp-info h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; margin: 0 0 8px; }
.pdp-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pdp-sub .in { color: var(--ok); font-weight: 600; }
.pdp-sub .out { color: var(--red-600); font-weight: 600; }
.pdp-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.pdp-rating:hover span { text-decoration: underline; }
.pdp-price { background: none; padding: 0; margin: 0 0 14px; border-radius: 0; gap: 10px; }
.pdp-price strong { font-size: 30px; color: var(--green-700); }
.pdp-price strong.is-sale { color: var(--red-600); }
.pdp-price del { font-size: 18px; }
.pdp-price .save { background: none; padding: 0; color: var(--red-600); font-size: 14px; font-weight: 700; }
.pdp-short { margin-bottom: 18px; line-height: 1.7; }
.pdp-off { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--red-600); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.tier-line { font-size: 14px; color: #6b5121; margin: -6px 0 16px; }
.variant-opts label { min-width: 0; padding: 8px 16px; flex-direction: row; font-weight: 700; font-size: 14px; border-radius: 8px; }
.opt-head { font-weight: 700; font-size: 14px; }
.opt-head span { color: var(--ink); font-weight: 600; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.buy-row .qty { height: 48px; }
.buy-row .btn { min-height: 48px; flex: 1; min-width: 150px; font-size: 15px; }
.stock-line { font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.stock-line.low { color: var(--warn); }
.stock-line.out { color: var(--red-600); }
.call-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; margin: 6px 0 18px; color: var(--text); }
.call-line .icon { width: 18px; height: 18px; color: var(--green-700); }
.call-line a { font-weight: 800; color: var(--ink); }
.call-line a:hover { color: var(--green-700); }
.call-line .sep { color: var(--muted); }
.call-line .wa-link { display: inline-flex; align-items: center; gap: 5px; color: #1f9d55; }
.call-line .wa-link .icon { color: #1f9d55; }
.ship-est { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 16px; }
.se-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.se-head > .icon { width: 19px; height: 19px; color: var(--green-700); }
.se-opt { border: 1px solid var(--line-2); background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.se-opt.active { border-color: var(--green-700); color: var(--green-700); background: var(--green-50); }
.se-text { margin: 8px 0 0; font-size: 14px; color: var(--text); }
.pdp-meta { display: grid; gap: 6px; font-size: 14px; }
.pdp-meta span { color: var(--muted); margin-right: 4px; }
.pdp-meta a:hover { color: var(--green-700); text-decoration: underline; }
.pdp-meta .wish-line { margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--text); }
.pdp-desc-text { max-width: 860px; margin: 0; font-size: 15.5px; }
.pdp-tabs .spec-table { margin-top: 18px; }
.review-list .extra { display: none; }
.review-list.is-open .extra { display: block; }
@media (max-width: 640px) {
  .pdp-price strong { font-size: 26px; }
  .buy-row .qty { width: 100%; justify-content: space-between; }
  .buy-row .qty input { flex: 1; }
  .buy-row .btn { min-width: 0; flex: 1 1 calc(50% - 5px); }
}
.opt-head { justify-content: flex-start; gap: 4px; }

/* Announcement on phones: keep the close button clear of the scrolling text and easy to see. */
@media (max-width: 640px) {
  .announce { position: relative; z-index: 61; }
  .announce-inner { padding-right: 44px; }
  .announce-x { width: 40px; opacity: 1; border-left: 1px solid rgba(255,255,255,.25); }
}
/* Drawer: typed quantity */
.cd-qty-input { width: 38px; height: 100%; border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); text-align: center; font-weight: 700; font-size: 14px; background: #fff; -moz-appearance: textfield; padding: 0; }
.cd-qty-input::-webkit-outer-spin-button, .cd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cd-qty-input:focus { outline: none; background: var(--green-50); }
/* Drawer: match the reference layout */
.drawer { width: min(500px, 82vw); }
.cd-head { padding: 14px 24px; }
.cd-head h3 { font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.cd-close { font-size: 18px; font-weight: 500; gap: 8px; }
.cd-close .icon { width: 22px; height: 22px; }
.cd-body { padding: 24px 24px 18px; gap: 18px; }
.cd-line { grid-template-columns: 70px 1fr 30px; gap: 16px; padding: 12px 14px; border-radius: 8px; box-shadow: 0 2px 12px -2px rgba(0,0,0,.08); }
.cd-img img { width: 70px; height: 70px; border-radius: 8px; border: 1px solid #e5e5e5; background: #fff; object-fit: contain; }
.cd-name { font-size: 17px; font-weight: 500; }
.cd-name span { display: none; }
.cd-calc { flex-wrap: nowrap; gap: 10px; margin-top: 6px; font-size: 16px; }
.cd-qty { height: 28px; border-color: #e3e3e3; border-radius: 6px; }
.cd-qty button { width: 24px; font-size: 16px; font-weight: 600; }
.cd-qty-input { width: 26px; font-size: 14px; font-weight: 500; }
.cd-math { font-weight: 400; }
.cd-math strong { font-weight: 400; }
.cd-remove .icon { width: 24px; height: 24px; stroke-width: 1.4; }
.cd-foot { background: #f4f4f4; padding: 14px 30px 26px; border-top: 0; }
.cd-sg-head { margin: 8px 0 14px; }
.cd-sg-head h4 { font-size: 20px; font-weight: 700; padding-bottom: 8px; }
.cd-sg-nav button { width: 36px; height: 36px; }
.cd-sg-track { grid-auto-columns: 86%; gap: 20px; }
.cd-sg-item { grid-template-columns: 90px 1fr; gap: 18px; padding: 16px; border-radius: 14px; border-color: #e3e3e3; }
.cd-sg-img img { width: 90px; height: 90px; object-fit: contain; background: #fff; }
.cd-sg-name { font-size: 15px; font-weight: 500; }
.cd-sg-price { color: #8a8a8a; font-size: 14.5px; margin: 4px 0 6px; }
.cd-sg-add { height: 26px; padding: 0 14px; font-weight: 500; font-size: 13px; }
.cd-total { margin-top: 18px; font-size: 18px; font-weight: 500; }
.cd-total strong { font-size: 21px; font-weight: 700; }
.cd-checkout { height: 46px; margin-top: 22px; border-radius: 6px; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 480px) {
  .drawer { width: 86vw; }
  .cd-head { padding: 12px 16px; }
  .cd-body { padding: 18px 14px; gap: 14px; }
  .cd-line { grid-template-columns: 60px 1fr 24px; gap: 10px; padding: 10px; }
  .cd-img img { width: 60px; height: 60px; }
  .cd-name { font-size: 15px; }
  .cd-calc { font-size: 13.5px; gap: 6px; }
  .cd-foot { padding: 12px 16px 18px; }
  .cd-sg-item { grid-template-columns: 70px 1fr; gap: 12px; padding: 12px; }
  .cd-sg-img img { width: 70px; height: 70px; }
}
@media (min-width: 481px) and (max-width: 640px) {
  .cd-head { padding: 14px 24px; }
  .cd-body { padding: 24px 24px 18px; }
  .cd-foot { padding: 14px 30px 26px; }
  .cd-line { grid-template-columns: 70px 1fr 30px; gap: 16px; padding: 12px 14px; }
  .cd-img img { width: 70px; height: 70px; }
  .cd-name { font-size: 17px; }
  .cd-calc { font-size: 16px; }
  .cd-sg-track { grid-auto-columns: 86%; }
  .cd-sg-item { grid-template-columns: 90px 1fr; gap: 18px; padding: 16px; }
  .cd-sg-img img { width: 90px; height: 90px; }
  .drawer { width: min(500px, 82vw); }
}

/* ---------- Product card, plain shop style ---------- */
.pcard { padding: 0; border: 1px solid #e8e8e8; border-radius: 8px; background: #fff; overflow: hidden; }
.pcard:hover { box-shadow: 0 6px 20px -10px rgba(0,0,0,.25); border-color: #e0e0e0; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; border-radius: 0; background: #fff; overflow: hidden; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pc-badge { position: absolute; top: 10px; right: 10px; z-index: 2; background: #2fae63; color: #fff; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 6px; line-height: 1.3; }
.pc-badge.is-out { background: #8a8f8b; }
.pcard-body { padding: 14px 14px 14px; gap: 0; }
.pc-name { font-size: 16px; font-weight: 500; line-height: 1.4; margin: 0 0 12px; min-height: 2.8em; color: var(--ink); }
.pc-name a:hover { color: var(--green-700); }
.pc-price { gap: 10px; margin: auto 0 12px; align-items: baseline; }
.pc-price strong, .pc-price strong.is-sale { font-size: 18px; font-weight: 700; color: var(--red-600); }
.pc-price del { font-size: 16px; color: #9a9a9a; }
.btn-add { height: 42px; border: 1px solid var(--green-700); background: #fff; color: var(--green-700); border-radius: 6px; font-size: 15px; font-weight: 600; gap: 6px; }
.btn-add .icon { width: 18px; height: 18px; }
.btn-add:hover { background: var(--green-700); color: #fff; }
.btn-add.is-off { border-color: #d9d9d9; color: #9a9a9a; background: #f6f6f6; }
.pc-stepper { height: 42px; border-radius: 6px; }
@media (max-width: 640px) {
  .pcard-body { padding: 10px; }
  .pc-name { font-size: 14px; margin-bottom: 8px; }
  .pc-price strong, .pc-price strong.is-sale { font-size: 16px; }
  .pc-price del { font-size: 13.5px; }
  .pc-badge { top: 8px; right: 8px; font-size: 11.5px; padding: 3px 7px; }
  .btn-add { height: 38px; font-size: 13.5px; }
  .pc-stepper { height: 38px; }
}
/* Category illustrations: show the whole drawing on the white tile */
.fc-tile { padding: 14px; }
.fc-tile img { object-fit: contain; border-radius: 0; }
.mp-img { background: #fff; }
.mp-img img { object-fit: contain; padding: 18px; }
.shop-hero-img { object-fit: contain; background: #fff; padding: 8px; }
.ct-img img { object-fit: contain; }
/* Client logos: English and Bangla artwork stacked, the second fades in and out. */
.brand-swap { display: inline-grid; vertical-align: middle; line-height: 0; }
.brand-swap > img { grid-area: 1 / 1; }
.brand-swap > img + img { animation: logoSwap 8s ease-in-out infinite; }
@keyframes logoSwap { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.sb-loader .sb-loader-logo { width: 150px; height: auto; }
.sb-loader .brand-swap { animation: logoPulse 1.4s ease-in-out infinite; }
.sb-loader > .sb-loader-logo { animation: logoPulse 1.4s ease-in-out infinite; }
@keyframes logoPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.drawer-head .brand-swap, .fb-logo .brand-swap { display: inline-grid; }
@media (prefers-reduced-motion: reduce) { .brand-swap > img + img { animation: none; opacity: 0; } .sb-loader .brand-swap, .sb-loader > .sb-loader-logo { animation: none; } }
/* Logo artwork sized to keep the header slim. */
.brand img { height: 54px; }
.site-header.is-scrolled .brand img { height: 46px; }
@media (max-width: 991px) { .brand img, .site-header.is-scrolled .brand img { height: 44px; } }
@media (max-width: 480px) { .brand img, .site-header.is-scrolled .brand img { height: 38px; } }
.fb-logo img { height: 80px; }
.drawer-logo { height: 46px; }

/* Header: plain white, transparent logos sit straight on it. */
.site-header { background: #fff; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(11, 58, 37, .45); }
.brand { background: none; padding: 0; box-shadow: none; }
.hsearch-form { border-color: var(--green-700); box-shadow: 0 6px 18px -14px rgba(11,58,37,.6); }
.hs-cat { background: var(--green-50); }
.hotline { border-right-color: var(--line); }
.hl-ico { background: var(--green-50); box-shadow: none; }
.hl-text small { color: #4d6b59; }
.site-header .icon-btn { color: var(--green-900); }
.site-header .icon-btn:hover { background: var(--green-50); color: var(--green-700); }
.catbar { background: #fff; border-top-color: var(--line); border-bottom-color: var(--line); }
.catbar-track { color: #4d6b59; }
@media (max-width: 991px) { .brand { flex: 0 0 auto; margin: 0 auto; } }

/* Transparent logos: the first must fade out while the second shows. */
.brand-swap>img:first-child{animation:logoSwapA 8s ease-in-out infinite}
@keyframes logoSwapA{0%,42%{opacity:1}50%,92%{opacity:0}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.brand-swap>img:first-child{animation:none;opacity:1}}

/* Wholesale page */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; margin-top: 20px; }
.ws-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ws-media { aspect-ratio: 1; background: var(--tile); }
.ws-media img { width: 100%; height: 100%; object-fit: cover; }
.ws-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ws-name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.ws-price { color: var(--green-700); font-weight: 800; }
.ws-price span { color: var(--muted); font-weight: 500; font-size: 12px; }
.ws-min { font-size: 12.5px; color: var(--muted); }
.ws-add { display: flex; gap: 8px; margin-top: 6px; }
.ws-add .input { width: 84px; }
.ws-add .btn { flex: 1; }
.ws-order { margin-top: 48px; }
.ws-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ws-table th, .ws-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ws-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.ws-table td small { display: block; color: var(--muted); font-size: 12px; }
.ws-qty { display: flex; gap: 6px; align-items: center; }
.ws-qty .input { width: 84px; }
.ws-checkout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
.ws-sum { border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--cream); }
.ws-quote { margin-top: 48px; }
@media (max-width: 860px) { .ws-checkout { grid-template-columns: minmax(0, 1fr); } }

.ws-intro { max-width: 760px; margin-top: 48px; }

/* Hot deals flame pulse */
@keyframes hot-flame { 0%, 100% { transform: scale(1) rotate(0); } 45% { transform: scale(1.22) rotate(-4deg); } 70% { transform: scale(1.08) rotate(3deg); } }
.ql-hot .icon { animation: hot-flame 1.3s ease-in-out infinite; transform-origin: 50% 85%; }
@media (prefers-reduced-motion: reduce) { .ql-hot .icon { animation: none; } }

