/* ===== Khelna Bari: store styles ===== */
:root {
  /* Khelna Bari brand: sampled from the logo + khelnabari.com */
  --brand: #76217F;        /* logo purple (বাড়ি) */
  --brand-600: #5E1866;
  --brand-50: #F4E8F5;
  --accent: #F38431;       /* logo orange (খেলনা): CTA */
  --accent-600: #DE6D1A;
  --pink: #E5258A;         /* logo pink (roof / বা) */
  --green: #8DB33A;        /* logo green (ল) */
  --sky: #3FAEE3;          /* logo train blue */
  --sun: #FFC83D;
  --nav: #4A1250;          /* deep brand purple: category bar */
  --ink: #30203C;
  --muted: #7d7080;
  --line: #EEE3F0;
  --bg: #FCF8FD;
  --card: #ffffff;
  --save: #c8f169;
  --wa: #1fa855;
  --call: #2f5bd3;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(118, 33, 127, .06);
  --wrap: 1320px;
  --font: 'Baloo Da 2', 'Hind Siliguri', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.45; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- top strip ---------- */
.topstrip { background: var(--brand); color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }
.topstrip b { color: var(--sun); }

/* ---------- header ---------- */
.hdr { background: #fff; border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 8px; flex: none; }
.logo img { height: 74px; width: auto; }
.hdr-row { height: 88px; }
.drawer-head .logo img { height: 46px; }
.logo-mark { width: 44px; height: 44px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font-size: 24px; font-weight: 800; background: linear-gradient(90deg, var(--brand), var(--pink) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-txt small { font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.search { flex: 1; max-width: 560px; margin: 0 auto; position: relative; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 2px solid transparent; background: #f3f0f8; padding: 0 54px 0 20px; outline: none; transition: .15s; }
.search input:focus { border-color: var(--brand); background: #fff; }
.search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.search button .icon { width: 18px; height: 18px; }
.suggest { position: absolute; left: 0; right: 0; top: 52px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(74, 18, 80, .15); z-index: 60; overflow: hidden; display: none; }
.suggest.on { display: block; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.suggest a:hover { background: var(--brand-50); }
.suggest img { width: 42px; height: 42px; border-radius: 8px; }
.suggest span { flex: 1; font-size: 14px; }
.suggest b { color: var(--accent); }
.hdr-actions { display: flex; gap: 18px; flex: none; }
.hact { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--ink); position: relative; }
.hact:hover { color: var(--brand); }
.badge { position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; line-height: 1; }
.burger { display: none; }

/* category nav */
.catnav { background: var(--nav); color: #fff; position: relative; z-index: 40; }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.catnav li { position: relative; }
.catnav > .wrap > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 12px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.catnav a:hover, .catnav a.on { color: var(--sun); }
.catnav .offer { color: var(--sun); }
.catnav .drop { position: absolute; left: 0; top: 100%; min-width: 210px; background: #fff; color: var(--ink); border-radius: 0 0 12px 12px; box-shadow: 0 12px 30px rgba(74, 18, 80, .18); padding: 8px 0; display: none; }
.catnav li:hover .drop { display: block; }
.catnav .drop a { display: block; padding: 8px 16px; font-size: 14px; }
.catnav .drop a:hover { background: var(--brand-50); color: var(--brand); }

/* ---------- generic section ---------- */
main { padding-bottom: 40px; }
.sec { margin-top: 36px; }
.sec-title { text-align: center; font-size: 26px; font-weight: 800; margin: 0 0 18px; }
.sec-title span { color: var(--accent); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 18px; gap: 12px; }
.sec-head h2 { margin: 0; font-size: 21px; font-weight: 800; padding-bottom: 8px; position: relative; }
.sec-head h2::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 46px; height: 4px; border-radius: 4px; background: var(--accent); }
.sec-head a { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; padding-bottom: 8px; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-top: 18px; }
.slider { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--brand-50); }
.slides { display: flex; height: 100%; transition: transform .5s ease; }
.slide { flex: 0 0 100%; height: 100%; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; padding: 28px 40px; gap: 12px; position: relative; overflow: hidden; }
.slide h2 { font-size: clamp(22px, 3.2vw, 44px); line-height: 1.1; margin: 0 0 10px; font-weight: 800; }
.slide p { margin: 0 0 16px; font-size: clamp(13px, 1.3vw, 17px); opacity: .9; }
.slide .art { font-size: clamp(64px, 11vw, 160px); text-align: center; line-height: 1; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .15)); }
.slide .tag { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; padding: 3px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 10px; }
.s1 { background: linear-gradient(120deg, #76217F, #A23AA9); color: #fff; }
.s2 { background: linear-gradient(120deg, #F9A04E, #F38431 60%, #E86A1E); color: #fff; }
.s3 { background: linear-gradient(120deg, #E5258A, #8E2A8F); color: #fff; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); padding: 0; }
.dots button.on { background: #fff; width: 22px; border-radius: 6px; }
.side-banner { border-radius: 18px; background: linear-gradient(160deg, #fff4cc, #ffd9e6); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.side-banner h3 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; }
.side-banner h3 em { font-style: normal; color: var(--pink); }
.side-banner .big { font-size: 64px; position: absolute; right: 14px; bottom: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: .15s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); }
.btn-dark { background: var(--nav); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-call { background: var(--call); color: #fff; }
.btn-out { border: 1.5px solid var(--accent); color: var(--accent); background: #fff; }
.btn-out:hover { background: var(--accent); color: #fff; }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.trust div { background: #fff; border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); min-width: 0; }
.trust i { font-style: normal; font-size: 26px; flex: none; }
.trust b { display: block; font-size: 14px; }
.trust small { color: var(--muted); font-size: 12px; }

/* ---------- carousel (generic horizontal scroller) ---------- */
.carousel { position: relative; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: none; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; z-index: 3; box-shadow: 0 4px 12px rgba(243, 132, 49, .35); }
.arrow.prev { left: -14px; }
.arrow.next { right: -14px; }
.arrow .icon { width: 18px; height: 18px; }
.cdots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.cdots span { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); }
.cdots span.on { background: var(--accent); width: 20px; border-radius: 6px; }

/* category tiles */
.arrow { transition: opacity .2s; }
.arrow.off { opacity: 0; pointer-events: none; }
.cats .arrow { top: 60px; }                        /* centre on the tile box, not box + label */
.cats .track > .cat-tile { flex: 1 0 136px; }      /* tiles stretch to fill the row */
.cat-tile { width: 136px; text-align: center; }
.cats .cat-tile .box { width: 100%; }
.cat-tile .box { width: 136px; height: 120px; border-radius: 18px; display: grid; place-items: center; font-size: 54px; background: #fff; box-shadow: var(--shadow); transition: transform .15s; }
.cat-tile:hover .box { transform: translateY(-3px); }
.cat-tile span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.track .pcard { width: 228px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; position: relative; min-width: 0; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: 0 10px 26px rgba(118, 33, 127, .1); transform: translateY(-2px); }
.pcard .thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: block; background: #f6f3fb; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .thumb img { transform: scale(1.04); }
.flag { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 11px; font-weight: 700; color: #fff; padding: 3px 8px; border-radius: 6px; }
.flag.best { background: var(--pink); }
.flag.new { background: var(--brand); }
.flag.save { left: auto; right: 16px; background: #1fa855; }
.wish { position: absolute; top: 14px; right: 14px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); color: var(--muted); }
.pcard .flag.save + .wish { top: 44px; }
.wish .icon { width: 17px; height: 17px; }
.wish.on { color: var(--pink); }
.wish.on .icon { fill: currentColor; }
.pcard .age { font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 1px 8px; border-radius: 999px; align-self: flex-start; margin-top: 10px; }
.pcard h3 { font-size: 15px; font-weight: 600; margin: 6px 0 4px; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stars { color: #ffb400; font-size: 13px; letter-spacing: 1px; }
.stars small { color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0 10px; }
.price b { color: var(--accent); font-size: 18px; font-weight: 800; }
.price s { color: #9a93ad; font-size: 14px; }
.price .savep { background: var(--save); color: #2d4300; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.pcard .cta { margin-top: auto; }
.add { width: 100%; height: 40px; border-radius: 9px; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; font-size: 14px; }
.add:hover { background: var(--accent); color: #fff; }
.add .icon { width: 17px; height: 17px; }
.stepper { display: flex; height: 40px; border-radius: 9px; overflow: hidden; border: 1.5px solid var(--accent); }
.stepper button { width: 40px; background: var(--accent); color: #fff; font-size: 20px; font-weight: 700; flex: none; }
.stepper input { flex: 1; min-width: 0; width: 100%; text-align: center; border: 0; font-weight: 700; outline: none; background: #fff; }

/* promo banners */
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo { border-radius: 18px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 150px; overflow: hidden; }
.promo h3 { margin: 0 0 6px; font-size: 24px; font-weight: 800; line-height: 1.15; }
.promo p { margin: 0 0 12px; }
.promo .art { font-size: 80px; flex: none; }
.promo.p1 { background: #F1DFF3; }
.promo.p2 { background: #FFE7D4; }
.wide-banner { border-radius: 18px; background: linear-gradient(100deg, var(--nav), var(--brand)); color: #fff; padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wide-banner h3 { margin: 0 0 4px; font-size: 26px; font-weight: 800; }
.wide-banner p { margin: 0; opacity: .85; }
.wide-banner .code { border: 2px dashed var(--sun); color: var(--sun); padding: 6px 14px; border-radius: 10px; font-weight: 800; font-size: 20px; letter-spacing: .08em; }

/* age shop */
.ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.age-card { border-radius: 16px; padding: 18px; color: #fff; display: flex; flex-direction: column; gap: 4px; min-height: 120px; position: relative; overflow: hidden; }
.age-card b { font-size: 26px; font-weight: 800; }
.age-card span { font-size: 13px; opacity: .9; }
.age-card i { position: absolute; right: 10px; bottom: 4px; font-size: 54px; font-style: normal; }
.age-card:nth-child(1) { background: var(--sky); }
.age-card:nth-child(2) { background: var(--accent); }
.age-card:nth-child(3) { background: var(--pink); }
.age-card:nth-child(4) { background: var(--brand); }

/* reviews */
.rcard { width: 320px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.rcard p { margin: 8px 0 12px; font-size: 14px; }
.rcard .who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.rcard small { color: var(--muted); display: block; }

.load-more { display: flex; justify-content: center; margin-top: 20px; }
.load-more .btn { border-radius: 999px; padding: 0 34px; }

/* ---------- footer ---------- */
/* scroll-to-top with progress ring */
.to-top { position: fixed; right: 22px; bottom: 92px; z-index: 69; width: 52px; height: 52px; padding: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.tt-ring { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.tt-ring circle { fill: none; stroke-width: 2.5; }
.tt-ring circle:first-child { stroke: rgba(243, 132, 49, .2); }
.tt-prog { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.tt-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(243, 132, 49, .6); transition: transform .2s, background .2s; }
.to-top:hover .tt-btn { transform: translateY(-2px); background: var(--accent-600); }
@media (max-width: 991px) { .to-top { right: 14px; bottom: 76px; } }

/* ================= footer ================= */
.ftr { margin-top: 70px; position: relative; }
/* help banner, overlapping the dark footer */
.ftr-help { position: relative; z-index: 2; margin-bottom: -46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #fff; border-radius: 20px; padding: 20px 26px; box-shadow: 0 20px 50px -18px rgba(74, 18, 80, .35); border: 1px solid var(--line); }
.fh-txt { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fh-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-50); display: grid; place-items: center; font-size: 24px; flex: none; }
.fh-txt b { display: block; font-size: 18px; font-weight: 800; line-height: 1.25; }
.fh-txt small { display: block; color: var(--muted); font-size: 13.5px; }
.fh-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.fh-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; transition: transform .15s, filter .15s; }
.fh-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.fh-btn .icon { width: 19px; height: 19px; }
.fh-btn.wa { background: #1fa855; }
/* main */
.ftr-main { background: #2C0A31; background: radial-gradient(1200px 400px at 85% -10%, #5A1862 0%, transparent 60%), #2C0A31; color: #CDBBD2; padding: 88px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.ftr-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 8px 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.ftr-logo img { height: 78px; width: auto; display: block; }
.ftr-brand p { margin: 16px 0 14px; font-size: 14px; line-height: 1.65; max-width: 330px; }
.ftr-contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.ftr-contact .icon { width: 17px; height: 17px; color: var(--accent); margin-top: 2px; }
.ftr-contact a:hover { color: #fff; }
.ftr-social { display: flex; gap: 8px; }
.ftr-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; color: #fff; transition: .15s; }
.ftr-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.fcol summary { list-style: none; color: #fff; font-weight: 700; font-size: 15.5px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fcol li { font-size: 14px; }
.fcol a { transition: color .15s, padding .15s; }
.fcol a:hover { color: #fff; padding-left: 3px; }
.ftr-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #E6D9EA; }
/* bottom bar */
.ftr-bottom { background: #220826; color: #A996AF; padding: 16px 0 18px; }
.ftr-bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pays { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pays em { font-style: normal; font-size: 13px; margin-right: 4px; }
.pays span { background: #fff; color: var(--ink); border-radius: 6px; padding: 3px 9px; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; }
.pays .bk { color: #e2136e; } .pays .ng { color: #f26522; } .pays .rk { color: #8c3494; } .pays .vs { color: #1a1f71; font-style: italic; } .pays .mc { color: #eb001b; }
.copy { font-size: 13px; }
@media (min-width: 641px) { .fcol summary { pointer-events: none; } }
@media (max-width: 1100px) {
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 24px; align-items: start; }
  .ftr-brand .ftr-logo { grid-row: span 3; }
  .ftr-brand p { margin-top: 0; max-width: none; }
}
@media (max-width: 991px) {
  .ftr-help { padding: 18px 20px; }
}
@media (max-width: 640px) {
  .ftr { margin-top: 56px; }
  .ftr-help { margin-bottom: -60px; flex-direction: column; align-items: stretch; padding: 18px 16px; border-radius: 18px; gap: 14px; }
  .fh-ic { width: 44px; height: 44px; font-size: 21px; }
  .fh-txt b { font-size: 16px; }
  .fh-txt small { font-size: 12.5px; }
  .fh-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .fh-btn { justify-content: center; height: 46px; padding: 0 8px; font-size: 14px; white-space: nowrap; gap: 6px; }
  .fh-btn .icon { width: 17px; height: 17px; }
  .ftr-main { padding-top: 92px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 0; }
  .ftr-brand { display: block; text-align: center; padding-bottom: 22px; }
  .ftr-logo img { height: 70px; }
  .ftr-brand p { margin: 14px auto 14px; font-size: 13.5px; }
  .ftr-contact { justify-items: center; }
  .ftr-contact li { font-size: 13.5px; }
  .ftr-social { justify-content: center; }
  .fcol { border-top: 1px solid rgba(255, 255, 255, .1); }
  .fcol summary { margin: 0; padding: 15px 2px; cursor: pointer; font-size: 15px; }
  .fcol summary::after { content: '+'; font-size: 22px; font-weight: 400; line-height: 1; color: #A996AF; transition: transform .2s; }
  .fcol[open] summary::after { transform: rotate(45deg); }
  .fcol ul { padding: 0 2px 16px; gap: 12px; }
  .ftr-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; font-size: 12.5px; text-align: left; }
  .ftr-bottom .wrap { flex-direction: column; text-align: center; }
  .pays { justify-content: center; }
}

/* ---------- floating ---------- */
/* floating cart: simple two-part tab (colour block + white total) */
.float-cart { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 70; min-width: 80px; padding: 0; display: flex; flex-direction: column; border-radius: 6px 0 0 6px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.fc-top { background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; }
.fc-top .icon { width: 22px; height: 22px; stroke-width: 1.8; }
.fc-top > span { font-size: 12px; font-weight: 400; line-height: 1; }
.fc-tot { color: var(--accent); font-weight: 600; font-size: 13px; padding: 7px 4px; text-align: center; white-space: nowrap; }
.float-cart.bump { animation: fcBump .4s ease; }
@keyframes fcBump { 50% { transform: translateY(-50%) translateX(-6px); } }
.chat { position: fixed; right: 18px; bottom: 22px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(31, 168, 85, .4); }
.chat .icon { width: 28px; height: 28px; }
.bnav { display: none; }

/* ---------- drawers ---------- */
.overlay { position: fixed; inset: 0; background: rgba(48, 32, 60, .5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(400px, 92vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transition: transform .3s ease; }
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.on { 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: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.x { width: 34px; height: 34px; border-radius: 50%; background: #f3f0f8; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem img { width: 64px; height: 64px; border-radius: 10px; }
.citem h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.citem .mini { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 30px; }
.citem .mini button { width: 28px; background: #f6f3fb; font-weight: 700; }
.citem .mini span { min-width: 30px; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.citem .rm { color: #b3adc4; font-size: 18px; align-self: start; }
.citem .lp { color: var(--accent); font-weight: 800; font-size: 14px; }
/* cart drawer upsell */
.dr-up { background: #f8f6fc; margin: -14px -18px 4px; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); }
.dr-up h4 { margin: 0; font-size: 16px; position: relative; padding-bottom: 6px; }
.dr-up h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); }
.dr-arrows { display: flex; gap: 6px; }
.dr-arrows button { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.dr-arrows .icon { width: 16px; height: 16px; }
.dr-uptrack { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 10px; }
.dr-uptrack::-webkit-scrollbar { display: none; }
.dr-upc { flex: 0 0 82%; scroll-snap-align: start; display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.dr-upc img { width: 72px; height: 72px; border-radius: 10px; }
.dr-upc div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.dr-upc b { display: block; font-size: 14px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-upc span { font-size: 14px; font-weight: 700; color: var(--accent); }
.dr-upc s { color: #9a93ad; font-weight: 500; font-size: 12px; }
.dr-upc button { background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 14px; font-size: 13px; font-weight: 700; }
.ship-bar { background: var(--brand-50); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 6px; }
.ship-bar .bar { height: 6px; background: #fff; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.row-sb { display: flex; justify-content: space-between; align-items: center; }
.empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty div { font-size: 60px; }
.mmenu a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mmenu a i { font-style: normal; font-size: 22px; width: 30px; text-align: center; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 120; opacity: 0; transition: .25s; pointer-events: none; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- breadcrumb / page head ---------- */
.crumb { font-size: 13px; color: var(--muted); padding: 14px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand); }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 0 6px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 24px; }

/* ---------- shop page ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.filters { display: grid; gap: 14px; }
.fbox { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.fbox h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 8px; position: relative; }
.fbox h4::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 40px; height: 3px; background: var(--accent); border-radius: 3px; }
.fbox label { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 4px 0; cursor: pointer; }
.fbox input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); }
.range { display: grid; gap: 8px; }
.range .vals { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.range input { width: 100%; accent-color: var(--accent); }
.toolbar { background: #fff; border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; box-shadow: var(--shadow); flex-wrap: wrap; }
.toolbar select { height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: #fff; }
.toolbar .count { font-size: 14px; color: var(--muted); }
.fbtn { display: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chips button { background: var(--brand-50); color: var(--brand); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }

/* ---------- product page ---------- */
.pbox { background: #fff; border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; min-width: 0; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; aspect-ratio: 1; }
.thumbs button.on { border-color: var(--accent); }
.mainimg { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; aspect-ratio: 1; position: relative; min-width: 0; }
.mainimg img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { min-width: 0; }
.pinfo h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.2; }
.pinfo .price b { font-size: 28px; }
.pinfo .price s { font-size: 17px; }
.pinfo .price .savep { font-size: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.meta span { font-size: 13px; background: #f6f3fb; padding: 4px 10px; border-radius: 999px; }
.meta .stock { background: #e4f8ec; color: #137a3d; font-weight: 700; }
.meta .low { background: #fff0e4; color: #c25200; }
.qtyrow { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.qtyrow .stepper { width: 140px; border-color: var(--line); }
.qtyrow .stepper button { background: #f3f0f8; color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-grid .btn { height: 48px; padding: 0 10px; font-size: 14px; }
.cta-grid .icon { width: 19px; height: 19px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.perks div { font-size: 13px; background: var(--bg); padding: 8px 10px; border-radius: 10px; display: flex; gap: 8px; align-items: center; }
.panel { background: #fff; border-radius: 16px; padding: 20px 22px; margin-top: 18px; box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 12px; font-size: 19px; }
.fbt { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.fbt .it { flex: 1 1 200px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; display: flex; gap: 10px; align-items: center; cursor: pointer; min-width: 0; }
.fbt .it.on { border-color: var(--accent); background: #FFF3EA; }
.fbt .it img { width: 58px; height: 58px; border-radius: 8px; flex: none; }
.fbt .it div { font-size: 13px; min-width: 0; }
.fbt .op { align-self: center; font-size: 22px; font-weight: 800; color: var(--muted); }
.fbt .sum { flex: 0 1 200px; background: var(--accent); color: #fff; border-radius: 12px; padding: 12px; text-align: center; display: grid; gap: 6px; align-content: center; }
.fbt .sum b { font-size: 22px; }
.fbt .sum button { background: #fff; color: var(--accent); border-radius: 8px; min-height: 36px; padding: 6px 8px; font-weight: 700; line-height: 1.2; }
/* ---------- Top Selling: wide cards ---------- */
.wide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pcard.wide { flex-direction: row; align-items: center; gap: 28px; padding: 26px 30px; border-color: transparent; box-shadow: 0 2px 14px rgba(118, 33, 127, .06); border-radius: 18px; }
.pcard.wide:hover { transform: translateY(-3px); }
.pcard.wide .thumb { flex: 0 0 40%; max-width: 270px; border-radius: 16px; }
.pcard.wide .flag.best { left: auto; right: 18px; top: 0; border-radius: 0 0 8px 8px; padding: 5px 10px; font-size: 12px; }
.pcard.wide .flag.new { left: auto; right: 18px; top: 0; border-radius: 0 0 8px 8px; padding: 5px 10px; font-size: 12px; }
.pcard.wide .wish { left: 18px; right: auto; top: 18px; }
.winfo { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.winfo .age { margin-top: 0; }
.pcard.wide h3 { font-size: 21px; font-weight: 700; min-height: 0; margin: 8px 0 4px; -webkit-line-clamp: 2; }
.pcard.wide .price { margin: 6px 0 6px; gap: 4px 12px; }
.pcard.wide .price b { font-size: 24px; }
.pcard.wide .price s { font-size: 18px; }
.winfo > .savep { background: var(--save); color: #2d4300; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.wbtns { display: flex; gap: 10px; margin-top: 18px; width: 100%; max-width: 330px; }
.wbtns .cta { flex: 1; margin: 0; min-width: 0; }
.wbtns .add, .wbtns .stepper, .wbtns .wbuy { height: 46px; border-radius: 10px; font-size: 15px; }
.wbtns .wbuy { flex: 1; padding: 0 12px; box-shadow: 0 6px 16px rgba(243, 132, 49, .3); }
.wbtns .wbuy .icon { width: 18px; height: 18px; }
@media (max-width: 1200px) {
  .pcard.wide { gap: 18px; padding: 20px; }
  .pcard.wide h3 { font-size: 18px; }
  .wbtns { flex-direction: column; }
}
.price .savep.inl { display: none; }
@media (max-width: 991px) {
  .wbtns { flex-direction: row; }
}
/* phones: 2-column vertical cards (image, name, price + save, Add To Cart) */
@media (max-width: 767px) {
  .wide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard.wide { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 12px 14px; border-radius: 14px; }
  .pcard.wide .thumb { flex: none; width: 100%; max-width: none; border-radius: 10px; background: #fff; }
  .pcard.wide .flag.best, .pcard.wide .flag.new { right: 0; top: 0; border-radius: 0 14px 0 10px; font-size: 12px; padding: 4px 10px; }
  .pcard.wide .wish, .pcard.wide .age, .pcard.wide .stars, .pcard.wide .wbuy, .winfo > .savep.blk { display: none; }
  .winfo { padding-top: 0; }
  .pcard.wide h3 { font-size: 15px; font-weight: 600; margin: 12px 0 6px; -webkit-line-clamp: 1; }
  .pcard.wide .price { margin: 0 0 12px; gap: 4px 8px; }
  .pcard.wide .price b { font-size: 17px; }
  .pcard.wide .price s { font-size: 14px; }
  .price .savep.inl { display: inline-block; font-size: 11.5px; padding: 1px 7px; }
  .wbtns { margin-top: auto; padding-top: 0; max-width: none; }
  .wbtns .add, .wbtns .stepper { height: 36px; font-size: 14px; border-radius: 6px; }
}
@media (max-width: 400px) {
  .wide-grid { gap: 10px; }
  .pcard.wide { padding: 10px 10px 12px; }
  .pcard.wide h3 { font-size: 14px; }
  .pcard.wide .price b { font-size: 16px; }
  .pcard.wide .price s { font-size: 12.5px; }
  .price .savep.inl { font-size: 10.5px; padding: 1px 6px; }
  .pcard.wide .flag.best, .pcard.wide .flag.new { font-size: 10.5px; padding: 3px 8px; }
}
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs button { padding: 10px 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--brand); border-color: var(--brand); }
.desc ul { padding-left: 18px; }
.rating-sum { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.rating-sum .avg { text-align: center; }
.rating-sum .avg b { font-size: 46px; line-height: 1; display: block; }
.bars div { display: grid; grid-template-columns: 50px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; margin: 4px 0; }
.bars i { display: block; height: 8px; background: #f0ecf6; border-radius: 4px; overflow: hidden; }
.bars i em { display: block; height: 100%; background: #ffb400; }
.video { aspect-ratio: 16 / 9; border-radius: 14px; background: linear-gradient(135deg, var(--nav), var(--brand)); display: grid; place-items: center; color: #fff; text-align: center; }
.video .play { width: 70px; height: 70px; border-radius: 50%; background: #ff0033; display: grid; place-items: center; margin: 0 auto 10px; font-size: 28px; }
.sticky-buy { display: none; }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.co .card { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 16px; min-width: 0; }
.co h2 { font-size: 17px; margin: 0 0 14px; padding-left: 10px; border-left: 4px solid var(--accent); line-height: 1.2; }
.login-hint { text-align: center; font-size: 14px; border: 1px dashed var(--line); background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 16px; }
.login-hint a { display: inline-block; margin: 4px 3px 0; padding: 2px 12px; border-radius: 6px; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 13px; }
.login-hint a.fill { background: var(--accent); color: #fff; }
.field { margin-bottom: 12px; min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.field label i { color: #e5484d; font-style: normal; }
.inp { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px; background: #fff; outline: none; }
textarea.inp { height: 80px; padding: 10px 14px; resize: vertical; }
.inp:focus { border-color: var(--brand); }
.inp.err { border-color: #e5484d; }
.phone { display: flex; }
.phone span { flex: none; height: 46px; display: grid; place-items: center; padding: 0 12px; background: #f3f0f8; border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; font-weight: 700; }
.phone .inp { border-radius: 0 10px 10px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 10px; display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 14px; font-weight: 600; min-width: 0; }
.pay label:has(input:checked) { border-color: var(--accent); background: #FFF3EA; }
.pay input { accent-color: var(--accent); flex: none; }
.pay i { font-style: normal; font-size: 20px; flex: none; }
.coupon { display: flex; gap: 8px; }
.coupon .inp { flex: 1; min-width: 0; }
.coupon .btn { height: 46px; flex: none; }
.osum .citem { grid-template-columns: 56px 1fr auto; }
.osum .citem img { width: 56px; height: 56px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.totals .grand { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 19px; font-weight: 800; }
.totals .disc { color: #137a3d; }
.agree { display: flex; gap: 8px; font-size: 13px; align-items: flex-start; margin: 10px 0 14px; }
.agree input { accent-color: var(--accent); margin-top: 3px; flex: none; }
.agree a { color: var(--accent); font-weight: 600; }
.place { width: 100%; height: 54px; font-size: 17px; letter-spacing: .03em; }
.secure { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; }
.done { max-width: 560px; margin: 30px auto; background: #fff; border-radius: 18px; padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.done .tick { width: 80px; height: 80px; border-radius: 50%; background: #e4f8ec; color: #1fa855; display: grid; place-items: center; font-size: 44px; margin: 0 auto 12px; }
.done h1 { margin: 0 0 6px; }
.done .oid { display: inline-block; background: var(--brand-50); color: var(--brand); font-weight: 800; padding: 6px 14px; border-radius: 8px; margin: 10px 0 16px; }
.done .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ================= one-page checkout (popup + page): minimal ================= */
.ck-modal { position: fixed; inset: 0; z-index: 110; background: rgba(36, 18, 44, .5); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ck-modal.on { opacity: 1; pointer-events: auto; }
.ck { --ck-bg: #F7F4F8; --ck-line: #ECE6EF; background: #fff; display: flex; flex-direction: column; min-width: 0; color: var(--ink); }
.ck.is-modal { position: relative; width: min(540px, 100%); max-height: min(92vh, 940px); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(36, 18, 44, .45); transform: translateY(16px); transition: transform .25s ease; }
.ck-modal.on .ck.is-modal { transform: none; }
.ck.is-page { max-width: 600px; margin: 0 auto; border-radius: 20px; border: 1px solid var(--ck-line); }

/* header */
.ck-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; border-bottom: 1px solid var(--ck-line); }
.ck-head h3 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
.ck-head small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ck-head small svg { color: #1fa855; }
.ck-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--ck-bg); flex: none; transition: .15s; }
.ck-x:hover { background: var(--ck-line); color: var(--ink); }

/* body + sections */
.ck-body { padding: 4px 22px 8px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.ck-sec { padding: 18px 0; border-bottom: 1px solid var(--ck-line); }
.ck-sec:last-child { border-bottom: 0; }
.ck-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15.5px; font-weight: 700; }
.ck-h span { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; display: grid; place-items: center; flex: none; }
.ck-h2 { margin: 0; font-size: 14.5px; color: var(--muted); font-weight: 600; }

/* items */
.ck-items { display: grid; gap: 14px; }
.ck-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; }
.ck-item img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; background: var(--ck-bg); }
.ck-in { min-width: 0; }
.ck-in b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-in small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.ck-in small s { opacity: .7; margin-left: 4px; }
.ck-q { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--ck-line); border-radius: 999px; height: 30px; }
.ck-q button { width: 30px; height: 28px; font-size: 16px; font-weight: 700; color: var(--ink); border-radius: 999px; }
.ck-q button:hover { background: var(--ck-bg); }
.ck-q span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.ck-ip { display: grid; justify-items: end; gap: 6px; }
.ck-ip b { font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.ck-ip button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #b3a9b8; }
.ck-ip button:hover { background: #fdecee; color: #d93a4a; }

/* reward ladder */
.ck-tier { margin-top: 16px; background: var(--ck-bg); border-radius: 14px; padding: 12px 34px 6px; }
.ck-tmsg { margin: 0 -20px 12px; text-align: center; font-size: 13.5px; color: var(--ink); }
.ck-tmsg b { color: var(--brand); }
.ck-tbar { position: relative; height: 4px; background: #E3DAE7; border-radius: 4px; margin: 14px 0 44px; }
.ck-tbar > i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 4px; transition: width .4s ease; }
.ck-tm { position: absolute; top: 50%; transform: translate(-50%, -13px); display: grid; justify-items: center; width: 84px; text-align: center; }
.ck-tm em { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1.5px solid #E3DAE7; display: grid; place-items: center; font-size: 13px; transition: .2s; }
.ck-tm.on em { border-color: var(--accent); background: #FFF3EA; }
.ck-tm small { font-size: 11px; line-height: 1.25; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.ck-tm small:nth-of-type(1) { margin-top: 4px; color: var(--ink); font-weight: 600; }
.ck-tm.on small:nth-of-type(1) { color: var(--accent); }

/* inputs */
.ck-f { margin-bottom: 14px; }
.ck-f > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.ck-inp { width: 100%; height: 50px; border: 1.5px solid transparent; border-radius: 12px; background: var(--ck-bg); padding: 0 16px; font-size: 15px; outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
textarea.ck-inp { height: auto; min-height: 50px; padding: 13px 16px; resize: vertical; line-height: 1.45; }
.ck-inp::placeholder { color: #a99fae; }
.ck-inp:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(118, 33, 127, .1); }
.ck-inp.err { border-color: #e5484d; background: #fff7f7; }
.ck-phone { display: flex; align-items: stretch; border-radius: 12px; background: var(--ck-bg); }
.ck-phone span { display: flex; align-items: center; padding: 0 4px 0 16px; font-weight: 700; color: var(--muted); font-size: 15px; }
.ck-phone .ck-inp { padding-left: 8px; }

/* delivery chips */
.ck-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-radius: 14px; }
.ck-areas.err { outline: 1.5px solid #e5484d; outline-offset: 4px; }
.ck-chip { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 11px 12px; border: 1.5px solid var(--ck-line); border-radius: 12px; cursor: pointer; transition: .15s; min-width: 0; }
.ck-chip:hover { border-color: #d6c6dd; }
.ck-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ck-chip b { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.ck-chip small { font-size: 12.5px; color: var(--muted); }
.ck-chip::after { content: ''; position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #d6c6dd; transition: .15s; }
.ck-chip:has(input:checked) { border-color: var(--brand); background: #FBF6FC; }
.ck-chip:has(input:checked)::after { border: 4.5px solid var(--brand); }
.ck-chip:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(118, 33, 127, .15); }

/* payment */
.ck-pays { display: grid; gap: 8px; }
.ck-pay { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--ck-line); border-radius: 14px; cursor: pointer; transition: .15s; position: relative; }
.ck-pay:hover { border-color: #d6c6dd; }
.ck-pay input { position: absolute; opacity: 0; pointer-events: none; }
.ck-pi { width: 42px; height: 42px; border-radius: 12px; background: var(--ck-bg); color: var(--brand); display: grid; place-items: center; flex: none; }
.ck-pt { flex: 1; min-width: 0; }
.ck-pt b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; font-weight: 600; }
.ck-pt small { display: block; color: var(--muted); font-size: 12.5px; }
.ck-save { font-style: normal; font-size: 11px; font-weight: 700; color: #137a3d; background: #e4f8ec; padding: 1px 8px; border-radius: 999px; }
.ck-dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d6c6dd; flex: none; transition: .15s; }
.ck-pay:has(input:checked) { border-color: var(--brand); background: #FBF6FC; }
.ck-pay:has(input:checked) .ck-dot { border: 6px solid var(--brand); }
.ck-pay:has(input:checked) .ck-pi { background: var(--brand); color: #fff; }
.ck-pay:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(118, 33, 127, .15); }
.ck-onote { margin-top: 10px; font-size: 13px; color: #137a3d; padding-left: 2px; }
.ck-onote[hidden] { display: none; }

/* coupon */
.ck-coupon { margin-top: 14px; }
.ck-coupon summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.ck-coupon summary::-webkit-details-marker { display: none; }
.ck-coupon summary span { border-bottom: 1px dashed currentColor; }
.ck-cbox { display: flex; gap: 8px; margin-top: 10px; }
.ck-cbox .ck-inp { flex: 1; min-width: 0; height: 46px; text-transform: uppercase; }
.ck-cbox button { flex: none; height: 46px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.ck-cmsg { display: block; margin-top: 6px; font-size: 13px; }
.ck-cmsg.ok { color: #137a3d; }
.ck-cmsg.bad { color: #e5484d; }

/* upsell */
.ck-up { padding: 16px 0; }
.ck-uphead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ck-arrows { display: flex; gap: 6px; }
.ck-arrows button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ck-line); color: var(--ink); display: grid; place-items: center; }
.ck-arrows button:hover { background: var(--ck-bg); }
.ck-arrows .icon { width: 14px; height: 14px; }
.ck-uptrack { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ck-uptrack::-webkit-scrollbar { display: none; }
.ck-upc { flex: 0 0 min(250px, 74%); scroll-snap-align: start; display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 8px 8px 8px 8px; border-radius: 14px; background: var(--ck-bg); }
.ck-upc img { width: 46px; height: 46px; border-radius: 10px; }
.ck-upc div { min-width: 0; }
.ck-upc b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-upc span { font-size: 13px; color: var(--muted); }
.ck-upc button { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(36, 18, 44, .12); transition: .15s; }
.ck-upc button:hover { background: var(--brand); color: #fff; }

/* summary */
.ck-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; color: var(--muted); }
.ck-sum > div b { color: var(--ink); font-weight: 600; }
.ck-sum .g b { color: #137a3d; }
.ck-sum .m { color: #a99fae; font-weight: 500; }
.ck-sum .free { color: #137a3d; font-weight: 700; }
.ck-sum .t { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--ck-line); color: var(--ink); font-weight: 700; font-size: 15px; align-items: baseline; }
.ck-sum .t b { font-size: 22px; font-weight: 800; color: var(--ink); }
.ck-sum .sv { display: block; margin-top: 8px; text-align: center; font-size: 12.5px; color: #137a3d; background: #eefaf2; border-radius: 10px; padding: 7px 10px; }
.ck-note { margin: 14px 0 0; }
.ck-terms { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.ck-terms a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* footer */
.ck-foot { display: flex; align-items: center; gap: 14px; padding: 12px 22px 16px; background: #fff; border-top: 1px solid var(--ck-line); }
.ck.is-page .ck-foot { position: sticky; bottom: 0; border-radius: 0 0 20px 20px; }
.ck-ft { display: flex; flex-direction: column; line-height: 1.15; flex: none; }
.ck-ft small { font-size: 12px; color: var(--muted); }
.ck-ft b { font-size: 21px; font-weight: 800; white-space: nowrap; }
.ck-order { flex: 1; height: 54px; border-radius: 14px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16.5px; font-weight: 700; box-shadow: 0 10px 24px -8px rgba(118, 33, 127, .6); transition: background .15s, transform .1s; }
.ck-order:hover { background: var(--brand-600); }
.ck-order:active { transform: scale(.99); }
.ck-order:disabled { opacity: .7; cursor: wait; }
.ck-order svg { transition: transform .15s; }
.ck-order:hover svg { transform: translateX(3px); }

/* phones: bottom sheet */
@media (max-width: 640px) {
  .ck-modal { padding: 0; align-items: flex-end; }
  .ck.is-modal { width: 100%; height: 94dvh; max-height: 94dvh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
  .ck.is-modal::before { content: ''; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #ddd3e1; }
  .ck-head { padding: 18px 16px 12px; position: relative; }
  .ck-head h3 { font-size: 18px; }
  .ck-body { padding: 0 16px 6px; }
  .ck-sec { padding: 16px 0; }
  .ck-tier { padding: 12px 30px 6px; }
  .ck-tm { width: 72px; }
  .ck-tm small { max-width: 72px; font-size: 10.5px; }
  .ck-areas { gap: 6px; }
  .ck-chip { padding: 10px 9px; }
  .ck-chip b { font-size: 12.5px; padding-right: 14px; }
  .ck-chip::after { top: 9px; right: 8px; width: 12px; height: 12px; }
  .ck-foot { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); gap: 12px; }
  .ck.is-page .ck-foot { bottom: 62px; }
  .ck-ft b { font-size: 19px; }
  .ck-order { height: 50px; font-size: 15.5px; }
}
@media (max-width: 370px) {
  .ck-chip b { font-size: 12px; }
  .ck-tm small:nth-of-type(2) { display: none; }
  .ck-tbar { margin-bottom: 32px; }
  .ck-order .tx { font-size: 14.5px; }
}
/* ================= responsive ================= */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .wrap { padding: 0 16px; }
  .catnav, .hdr-actions .hide-m, .float-cart, .search.desk { display: none; }
  .burger { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; }
  .hdr-row { height: 62px; gap: 10px; }
  /* mobile header: menu | centred logo | icons */
  .hdr-row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .burger { justify-self: start; }
  .logo { justify-self: center; margin: 0; }
  .hdr-actions { justify-self: end; }
  .logo img { height: 56px; }
  .hdr-row { height: 68px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-txt b { font-size: 21px; }
  .hdr-actions { gap: 14px; }
  .hact span { display: none; }
  .msearch { padding: 0 0 10px; }
  .hero { grid-template-columns: 1fr; }
  .side-banner { display: none; }
  .slider { aspect-ratio: 16 / 9; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .grid, .grid.g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 100; left: 0; top: 0; bottom: 0; width: min(320px, 88vw); background: var(--bg); overflow-y: auto; padding: 16px; transform: translateX(-100%); transition: transform .3s; align-content: start; }
  .filters.on { transform: none; }
  .fbtn { display: inline-flex; }
  .pbox { grid-template-columns: 1fr; gap: 18px; padding: 14px; }
  .co { grid-template-columns: 1fr; }
  /* bottom nav */
  body { padding-bottom: 64px; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--brand); color: #fff; height: 62px; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(118, 33, 127, .2); }
  .bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #fff; position: relative; }
  .bnav .icon { width: 22px; height: 22px; }
  .bnav .badge { top: 6px; right: calc(50% - 20px); background: var(--sun); color: var(--ink); }
  .bnav .wa-btn { background: var(--wa); margin: -14px 6px 8px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
  .chat { display: none; }
  .toast { bottom: 80px; }
  .sticky-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 62px; z-index: 75; background: #fff; padding: 8px 12px; box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); transform: translateY(150%); transition: transform .25s; }
  .sticky-buy.on { transform: none; }
  .sticky-buy .btn { height: 44px; }
}
@media (min-width: 992px) { .msearch { display: none; } }
@media (max-width: 640px) {
  body { font-size: 14px; }
  .hide-xs { display: none; }
  .topstrip { font-size: 12px; }
  .sec { margin-top: 26px; }
  .sec-title { font-size: 21px; margin-bottom: 12px; }
  .sec-head h2 { font-size: 18px; }
  .slide { grid-template-columns: 1.3fr 1fr; padding: 16px 18px; }
  .slide .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .slide .tag { font-size: 11px; margin-bottom: 6px; }
  .slide p { margin-bottom: 10px; }
  .trust { gap: 8px; }
  .trust div { padding: 10px; gap: 8px; }
  .trust i { font-size: 22px; }
  .trust b { font-size: 13px; }
  .trust small { font-size: 11px; }
  .grid, .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .track { gap: 10px; }
  .track .pcard { width: calc((100vw - 32px - 10px) / 2); }
  .pcard { padding: 8px; }
  .pcard h3 { font-size: 13.5px; }
  .price b { font-size: 16px; }
  .price s { font-size: 12px; }
  .flag { top: 12px; left: 12px; font-size: 10px; padding: 2px 6px; }
  .flag.save { right: 12px; }
  .wish { top: 10px; right: 10px; width: 28px; height: 28px; }
  .pcard .flag.save + .wish { top: 36px; }
  .add, .stepper { height: 36px; font-size: 13px; }
  .stepper button { width: 34px; }
  .arrow { display: none; }
  .cat-tile, .cat-tile .box { width: 92px; }
  .cats .track > .cat-tile { flex: 0 0 92px; }
  .cat-tile .box { height: 86px; font-size: 40px; border-radius: 14px; }
  .cat-tile span { font-size: 12px; line-height: 1.2; }
  .promo-row { grid-template-columns: 1fr; gap: 12px; }
  .promo { padding: 18px; min-height: 0; }
  .promo h3 { font-size: 19px; }
  .promo .art { font-size: 56px; }
  .wide-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .wide-banner h3 { font-size: 20px; }
  .ages { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .age-card { min-height: 96px; padding: 14px; }
  .age-card b { font-size: 21px; }
  .age-card i { font-size: 40px; }
  .rcard { width: 82vw; }
  .page-head h1 { font-size: 20px; }
  .pinfo h1 { font-size: 20px; }
  .pinfo .price b { font-size: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 60px; }
  .cta-grid .btn { font-size: 13px; height: 46px; gap: 6px; }
  .perks { grid-template-columns: 1fr; }
  .panel { padding: 16px 14px; }
  .fbt .op { display: none; }
  .fbt .sum { flex: 1 1 100%; }
  .rating-sum { grid-template-columns: 1fr; gap: 10px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .pay { grid-template-columns: 1fr; }
  .co .card { padding: 16px 14px; }
}
@media (max-width: 380px) {
  .hdr-actions { gap: 10px; }
  .logo img { height: 46px; }
  .logo-txt b { font-size: 19px; }
  .logo-txt small { display: none; }
  .slide h2 { font-size: 20px; }
  .slide p { display: none; }
  .cta-grid .btn { font-size: 12px; }
  .cta-grid .icon { width: 16px; height: 16px; }
  .trust small { display: none; }
}
