/* ================= Header ================= */
.announce { background: var(--navy-700); color: #d7e3f1; font-size: 13px; }
.announce .container { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 16px; }
.announce a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.announce .ic { width: 16px; height: 16px; }
.announce-links { display: flex; gap: 18px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 38px; height: 38px; }
.logo b { font-size: 20px; font-weight: 800; letter-spacing: .03em; line-height: 1.3; display: block; direction: ltr; }
.logo small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: -4px; }

.search { flex: 1; display: flex; align-items: center; height: 48px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; padding: 4px; transition: border-color .15s, box-shadow .15s; max-width: 640px; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11,143,128,.1); }
.search select { border: 0; background: transparent; height: 100%; padding: 0 14px 0 6px; font-size: 13.5px; color: var(--ink-2); outline: none; border-inline-end: 1px solid var(--line); max-width: 150px; cursor: pointer; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 14px; height: 100%; background: transparent; font-size: 14.5px; }
.search button { height: 38px; padding: 0 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.search button:hover { background: var(--brand-600); }
.hdr-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.hdr-actions .track { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; padding: 0 12px; height: 42px; border-radius: 999px; }
.hdr-actions .track:hover { background: var(--soft); }
.only-mobile { display: none !important; }

.navrow { border-top: 1px solid var(--line); }
.navrow .container { display: flex; align-items: center; gap: 6px; height: 50px; }
.cat-trigger { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 14px; position: relative; }
.navrow .sep { width: 1px; height: 20px; background: var(--line); margin: 0 8px; }
.navrow a.nl { padding: 0 12px; height: 36px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.navrow a.nl:hover, .navrow a.nl.active { color: var(--ink); background: var(--soft); }
.navrow .nl-sale { color: var(--sale) !important; }
.cat-wrap { position: relative; }
.cat-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 50;
}
.cat-wrap.open .cat-menu { display: block; }
.cat-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.cat-menu a:hover { background: var(--soft); }
.cat-menu a .count { margin-inline-start: auto; color: var(--muted); font-size: 12.5px; }
.cat-menu .ci { width: 34px; height: 34px; }
.cat-menu .ci .ic { width: 18px; height: 18px; }

/* category tones */
.ci { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ci .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.tone-teal { background: #e3f5f1; color: #0b8f80; }
.tone-rose { background: #fdebef; color: #d23f63; }
.tone-blue { background: #e6f0fd; color: #2f6fd6; }
.tone-amber { background: #fdf3dc; color: #c27c0e; }
.tone-green { background: #e5f6ea; color: #1e9a4c; }
.tone-violet { background: #efeafd; color: #6d48d8; }
.tone-slate { background: #edf0f4; color: #475467; }
.tone-orange { background: #feeee3; color: #e0621b; }

/* ================= Home ================= */
main { min-height: 60vh; }
.section { padding: 44px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-size: 24px; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.scroll-btns { display: flex; gap: 8px; }
.scroll-btns button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: #fff; }
.scroll-btns button:hover { border-color: var(--ink); }

.hero { padding-top: 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }
.hero-track { position: relative; border-radius: 16px; overflow: hidden; }
.slide {
  display: none; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 380px; padding: 48px 56px;
  border-radius: 16px; position: relative; overflow: hidden; height: 100%;
}
.slide > * { position: relative; z-index: 1; }
.slide::before, .slide::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.slide::before { width: 460px; height: 460px; inset-inline-end: -140px; top: -170px; border: 70px solid rgba(255,255,255,.4); }
.slide::after { width: 220px; height: 220px; inset-inline-end: 140px; bottom: -120px; background: rgba(255,255,255,.35); }
.slide-2::before { border-color: rgba(255,255,255,.06); }
.slide-2::after { background: rgba(63,214,168,.12); }
.slide.active { display: flex; animation: fade .5s ease; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.side-card { border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; transition: transform .2s; }
.side-card:hover { transform: translateY(-2px); }
.side-card .eyebrow { font-size: 12.5px; font-weight: 700; }
.side-card b { font-size: 20px; line-height: 1.35; }
.side-card .desc { font-size: 13.5px; color: var(--ink-2); }
.side-card .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; }
.sc-sale { background: #fdecec; } .sc-sale .eyebrow, .sc-sale .go { color: var(--sale); }
.sc-ship { background: #eaf1fb; } .sc-ship .eyebrow, .sc-ship .go { color: var(--navy); }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
.slide-1 { background: linear-gradient(120deg, #e3f4f0 0%, #d4ece8 55%, #c6e4f0 100%); }
.slide-2 { background: linear-gradient(120deg, #13365c 0%, #1b4b7a 60%, #1d6a7d 100%); color: #fff; }
.slide-3 { background: linear-gradient(120deg, #fbf1e4 0%, #f7e6d6 100%); }
.slide .eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--brand-600); margin-bottom: 14px; }
.slide-2 .eyebrow { color: #7fe3cf; }
.slide-3 .eyebrow { color: #c0640f; }
.slide h1 { font-size: 44px; line-height: 1.2; margin-bottom: 14px; max-width: 520px; }
.slide p.lead { font-size: 16.5px; color: var(--ink-2); max-width: 440px; margin-bottom: 26px; }
.slide-2 p.lead { color: #c9d8e8; }
.slide .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.slide-2 .btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(15,23,42,.2); transition: width .25s, background .25s; }
.hero-dots button.on { width: 24px; background: var(--brand); }

.cats-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; border-radius: 18px; text-align: center; transition: background .15s; }
.cat-tile:hover { background: var(--soft); }
.cat-tile span { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.cat-tile small { font-size: 12px; color: var(--muted); margin-top: -6px; }

.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ================= Product card ================= */
.pcard {
  display: flex; flex-direction: column; position: relative; min-width: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
.pcard:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.pcard .pimg { position: relative; aspect-ratio: 4 / 3; background: #eceef2; overflow: hidden; display: block; }
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pcard:hover .pimg img { transform: scale(1.04); }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #c4c9d1; }
.noimg .ic { width: 30%; max-width: 44px; height: auto; aspect-ratio: 1; stroke-width: 1.3; }
.poff { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 1px 8px; }
.fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--ink-2); }
.fav .ic { width: 17px; height: 17px; }
.fav.on { color: var(--sale); }
.fav.on .ic { fill: currentColor; }
.pcard .oos { position: absolute; inset: 0; background: rgba(255,255,255,.55); display: grid; place-items: center; }
.pcard .oos span { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.pcard .pbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .pprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.price { font-weight: 700; font-size: 17px; color: var(--ink); }
.price .cur { font-size: .72em; font-weight: 600; color: var(--muted); }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-old .cur { font-size: .9em; }
.pcard .pname { font-size: 14px; font-weight: 500; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.pcard .pname:hover { color: var(--brand-600); }
.pcard .sold { font-size: 12px; color: var(--muted); min-height: 1.7em; }
.cart-btn { margin-top: auto; width: 100%; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .15s, transform .1s; }
.cart-btn:hover { background: var(--brand-600); }
.cart-btn:active { transform: scale(.98); }
.cart-btn:disabled { background: var(--soft); color: var(--muted); cursor: default; }
.cart-btn .ic { width: 17px; height: 17px; }

/* ================= Features & CTA ================= */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; }
.feature { display: flex; align-items: center; gap: 14px; padding: 22px; }
.feature + .feature { border-inline-start: 1px solid var(--line); }
.feature .fi { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.feature b { display: block; font-size: 14.5px; }
.feature span { font-size: 13px; color: var(--muted); }

.promo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { border-radius: 16px; padding: 28px; display: flex; align-items: flex-start; gap: 18px; overflow: hidden; }
.promo .ci { background: #fff; }
.promo h3 { font-size: 22px; margin: 6px 0 8px; }
.promo p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.promo .eyebrow { font-size: 12.5px; font-weight: 600; }
.promo-a { background: #eaf1fb; } .promo-a .eyebrow { color: var(--navy); }
.promo-b { background: #fbefe9; } .promo-b .eyebrow { color: #c2531a; }

.cta-dark { margin-top: 56px; background: #121a26; color: #fff; border-radius: 24px; padding: 44px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-dark::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(63,214,168,.22), transparent 70%); inset-inline-end: -120px; top: -160px; }
.cta-dark h2 { font-size: 34px; line-height: 1.25; }
.cta-dark p { color: #a9b6c7; font-size: 14.5px; margin-top: 10px; }
.cta-dark .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta-dark .btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* ================= Footer ================= */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: #fbfcfd; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding: 44px 0 32px; }
.foot-grid h4 { font-size: 15px; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-grid li a { color: var(--muted); font-size: 14px; }
.foot-grid li a:hover { color: var(--ink); }
.foot-about p { color: var(--muted); font-size: 14px; margin: 14px 0 18px; max-width: 340px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.socials a:hover { background: var(--brand); }
.foot-bottom { border-top: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--ink); }

/* ================= Shop ================= */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; margin-top: 4px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 22px; }
.filters .ftitle { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.fsec + .fsec { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.filters h4 { font-size: 14.5px; margin-bottom: 10px; }
.pin { display: flex; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: #fff; }
.pin:focus-within { border-color: var(--brand); }
.pin span { display: grid; place-items: center; padding: 0 10px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; border-inline-end: 1px solid var(--line-2); flex: none; }
.pin input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 10px; font-size: 14px; background: transparent; -moz-appearance: textfield; }
.pin input::-webkit-outer-spin-button, .pin input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.flist { display: flex; flex-direction: column; gap: 2px; }
.flist a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.flist a:hover { background: var(--soft); }
.flist a.on { background: var(--brand-50); color: var(--brand-600); font-weight: 600; }
.flist a .ic { width: 18px; height: 18px; }
.flist a .count { margin-inline-start: auto; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }
.flist a.on .count { background: var(--brand); color: #fff; border-color: var(--brand); }
.price-range { display: flex; flex-direction: column; gap: 8px; }
.quick-prices { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.quick-prices button { text-align: start; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; color: var(--ink-2); }
.quick-prices button:hover, .quick-prices button.on { border-color: var(--brand); color: var(--brand-600); }
.fchecks { display: flex; flex-direction: column; gap: 10px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .result { font-size: 14px; color: var(--ink-2); }
.toolbar .result b { color: var(--brand-600); }
.toolbar .sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.toolbar .sort select { height: 40px; width: auto; min-width: 160px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.chip button { width: 20px; height: 20px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.chip button .ic { width: 12px; height: 12px; }
.chip-clear { color: var(--brand-600); font-weight: 600; font-size: 13.5px; padding: 0 6px; }
.filter-toggle { display: none; }

.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.pager .pages { display: flex; gap: 4px; }
.pager .pages a, .pager .pages span { min-width: 36px; height: 36px; border-radius: 10px; font-size: 14px; color: var(--ink-2); display: inline-grid; place-items: center; }
.pager .pages a.on { background: var(--soft); color: var(--ink); font-weight: 700; }
.pager .nav { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.pager .nav.off { opacity: .35; pointer-events: none; }

/* ================= Product page ================= */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 20px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 14px; height: 14px; }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pdp-gallery { position: sticky; top: 140px; }
.pdp-main { aspect-ratio: 1 / 1; background: #eceef2; border-radius: 16px; display: grid; place-items: center; overflow: hidden; position: relative; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main .noimg .ic { max-width: 72px; }
.pdp-main .poff { top: 16px; inset-inline-start: 16px; font-size: 14px; padding: 3px 12px; }
.pdp-main .fav { top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; }
.pdp-info .pbrand { font-size: 13.5px; color: var(--brand-600); font-weight: 600; margin-bottom: 6px; display: inline-block; }
.pdp-info h1 { font-size: 30px; margin-bottom: 12px; }
.pdp-meta { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; flex-wrap: wrap; }
.pdp-price .price { font-size: 30px; }
.pdp-price .price-old { font-size: 17px; }
.pdp-save { font-size: 13.5px; color: var(--ok); font-weight: 600; }
.pdp-desc { color: var(--ink-2); margin: 20px 0; font-size: 15px; line-height: 1.8; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.stock-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock-line.low::before { background: var(--amber); }
.stock-line.out::before { background: var(--sale); }
.buy-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.qty button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: var(--soft); }
.qty input { width: 44px; text-align: center; border: 0; outline: none; font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.qty-sm { height: 36px; padding: 2px; }
.qty.qty-sm button { width: 30px; height: 30px; }
.qty.qty-sm .ic { width: 16px; height: 16px; }
.qty.qty-sm input { width: 30px; font-size: 14px; }
.buy-row .btn-lg { flex: 1; min-width: 160px; }
.pdp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pdp-perks div { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--soft); border-radius: 14px; font-size: 13.5px; font-weight: 500; }
.pdp-perks .ic { color: var(--brand); }
.specs { margin-top: 26px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.specs h3 { font-size: 15px; padding: 14px 18px; background: var(--soft); }
.specs dl { margin: 0; }
.specs dl div { display: grid; grid-template-columns: 140px 1fr; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }

/* ================= Cart drawer ================= */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: 420px; max-width: 100%; background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.drawer.drawer-start { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.drawer-head h3 small { font-size: 13px; color: var(--muted); font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.ship-progress { font-size: 13px; color: var(--ink-2); background: var(--brand-50); border-radius: 12px; padding: 10px 12px; }
.ship-progress .bar { height: 6px; border-radius: 3px; background: #fff; margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.cline { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cline:last-child { border-bottom: 0; }
.cline .cimg { width: 76px; height: 76px; background: var(--soft); border-radius: 12px; overflow: hidden; }
.cline .cimg img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cline .cimg .noimg .ic { width: 22px; }
.cline .cname { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cline .crow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cline .cremove { color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; }
.cline .cremove:hover { color: var(--sale); }
.cline .cremove .ic { width: 15px; height: 15px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.sum-row.total { font-size: 17px; font-weight: 700; color: var(--ink); }
.sum-row.disc { color: var(--ok); }

.mnav a { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mnav a .ci { width: 36px; height: 36px; }
.mnav a .ci .ic { width: 18px; height: 18px; }
.mnav h5 { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 18px 0 4px; }

/* ================= Checkout ================= */
.page-title { padding: 26px 0 20px; }
.page-title h1 { font-size: 28px; }
.page-title p { color: var(--muted); margin-top: 4px; }
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.card + .card { margin-top: 18px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head .step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.card-head h3 { font-size: 16.5px; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.summary { position: sticky; top: 140px; }
.summary .cline { grid-template-columns: 60px 1fr auto; align-items: center; padding: 10px 0; }
.summary .cline .cimg { width: 60px; height: 60px; position: relative; overflow: visible; }
.summary .cline .cimg span { position: absolute; top: -6px; inset-inline-end: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.summary .cline .cname { font-size: 13.5px; }
.coupon { display: flex; gap: 8px; }
.coupon .input { height: 44px; text-transform: uppercase; }
.coupon-msg { font-size: 12.5px; margin-top: -8px; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.bad { color: var(--sale); }
.loc-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 12px; background: #fbfcfd; }
.loc-box .t { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.loc-box .t .ic { color: var(--brand); }
.loc-box .t small { display: block; color: var(--muted); font-size: 12.5px; }
.loc-box.set { border-style: solid; border-color: var(--brand); background: var(--brand-50); }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--brand); border-radius: 12px; background: var(--brand-50); }
.pay-opt .ic { color: var(--brand); }
.pay-opt b { display: block; font-size: 14.5px; }
.pay-opt span { font-size: 13px; color: var(--muted); }

.success { max-width: 620px; margin: 40px auto 0; text-align: center; }
.success .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }
.success .tick .ic { width: 36px; height: 36px; stroke-width: 2.4; }
.success h1 { font-size: 28px; }
.success p { color: var(--muted); margin: 8px 0 24px; }
.order-no { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: 12px; background: var(--soft); font-weight: 600; margin-bottom: 26px; }
.order-no b { font-size: 20px; color: var(--brand-600); }
.success .card { text-align: start; }
.success .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.timeline { display: flex; justify-content: space-between; position: relative; margin: 10px 0 4px; }
.timeline::before { content: ""; position: absolute; top: 15px; inset-inline: 10%; height: 2px; background: var(--line); }
.tl { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); flex: 1; text-align: center; }
.tl i { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; }
.tl i .ic { width: 16px; height: 16px; }
.tl.done { color: var(--ink); font-weight: 600; }
.tl.done i { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ================= Policy pages ================= */
.policy { max-width: 780px; }
.policy h2 { font-size: 17px; margin: 22px 0 6px; }
.policy p, .policy li { color: var(--ink-2); }
.policy ul { margin: 0; padding-inline-start: 20px; }
.policy-text { white-space: pre-line; }

/* ================= My orders ================= */
.mo-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mo-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 18px; align-items: center; gap: 14px; padding: 14px 18px; transition: background .15s; }
.mo-row:hover { background: #fafbfc; }
.mo-row + .mo-row { border-top: 1px solid var(--line); }
.mo-row .cimg { width: 64px; height: 64px; background: #eceef2; border-radius: 10px; overflow: hidden; display: block; }
.mo-row .cimg img { width: 100%; height: 100%; object-fit: cover; }
.mo-row .noimg .ic { width: 22px; }
.mo-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mo-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mo-items { font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-main small { font-size: 12px; color: var(--muted); align-self: flex-start; }
.mo-go { width: 18px; height: 18px; color: var(--muted); }
.mo-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.mo-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mo-forget { margin-inline-start: auto; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.mo-forget:hover { color: var(--sale); }

/* ================= Bottom nav (mobile) ================= */
.bottom-nav { display: none; }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .hscroll { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .cats-row { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .checkout { grid-template-columns: 1fr 360px; }
  .shop-layout .pgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .announce-links { display: none; }
  .hdr { flex-wrap: wrap; height: auto; padding: 10px 0 12px; gap: 10px 8px; }
  .hdr .search { order: 3; flex-basis: 100%; max-width: none; height: 46px; }
  .hdr .search select { display: none; }
  .hdr-actions .track, .hdr-actions .hide-m { display: none; }
  .only-mobile { display: inline-grid !important; }
  .navrow { display: none; }
  .logo b { font-size: 19px; }
  .logo img { width: 34px; height: 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .slide { padding: 34px 26px 48px; min-height: 300px; }
  .slide h1 { font-size: 30px; }
  .pgrid, .pgrid.cols-3, .shop-layout .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3) { border-inline-start: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promo-split { grid-template-columns: 1fr; }
  .cta-dark { grid-template-columns: 1fr; padding: 32px 26px; }
  .cta-dark .cta-actions { justify-content: flex-start; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { border: 0; border-radius: 0; position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: 320px; max-width: 88%; background: #fff; z-index: 90; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filters .fhead { display: flex !important; }
  .filter-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  body.has-bnav { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px -12px rgba(16,24,40,.2);
  }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; font-size: 11.5px; color: var(--muted); font-weight: 500; position: relative; }
  .bottom-nav .on { color: var(--brand); }
  .bottom-nav .on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
  .bottom-nav .ic { width: 22px; height: 22px; }
  .bottom-nav .badge { position: absolute; top: 7px; left: calc(50% - 18px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
  .site-footer { margin-top: 40px; }
}
@media (max-width: 640px) {
  .section { padding-top: 32px; }
  .section-head h2 { font-size: 19px; }
  .scroll-btns { display: none; }
  .hero { padding-top: 14px; }
  .slide { padding: 28px 20px 44px; min-height: 290px; }
  .slide h1 { font-size: 25px; }
  .slide p.lead { font-size: 14.5px; margin-bottom: 18px; }
  .slide::before { width: 300px; height: 300px; border-width: 46px; inset-inline-end: -150px; top: -130px; }
  .hero-side { gap: 10px; }
  .side-card { padding: 16px 14px; }
  .side-card b { font-size: 15px; }
  .side-card .desc { font-size: 12px; }
  .cats-row { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .cats-row::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 84px; padding: 8px 2px; }
  .cat-tile .ci { width: 58px; height: 58px; }
  .cat-tile span { font-size: 12px; }
  .cat-tile small { display: none; }
  .hscroll { grid-auto-columns: 44%; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .pgrid, .pgrid.cols-3 { gap: 18px 12px; }
  .pcard .pbody { padding: 10px 10px 12px; }
  .pcard .pname { font-size: 13px; }
  .price { font-size: 15px; }
  .pcard .sold { font-size: 11.5px; }
  .cart-btn { height: 38px; font-size: 12.5px; gap: 6px; }
  .search .hide-sm { display: none; }
  .search button { padding: 0 14px; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-inline-start: 0; border-top: 1px solid var(--line); }
  .feature { padding: 16px 18px; }
  .promo { padding: 22px 18px; gap: 14px; }
  .promo .ci { width: 52px; height: 52px; }
  .cta-dark h2 { font-size: 25px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-about { grid-column: 1 / -1; }
  .toolbar .sort select { min-width: 0; }
  .toolbar .sort span { display: none; }
  .pager .nav span { display: none; }
  .pdp-info h1 { font-size: 23px; }
  .pdp-price .price { font-size: 25px; }
  .buy-row .qty { height: 48px; }
  .buy-row .btn-lg { height: 48px; }
  .pdp-perks { grid-template-columns: 1fr; }
  .specs dl div { grid-template-columns: 110px 1fr; }
  .page-title h1 { font-size: 23px; }
  .card-body { padding: 18px; }
  .card-head { padding: 16px 18px; }
  .drawer { width: 100%; }
  .mo-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; }
  .mo-row .cimg { width: 52px; height: 52px; }
  .mo-row .mo-go { display: none; }
  .mo-forget { margin-inline-start: 0; flex-basis: 100%; text-align: start; padding-top: 4px; }
  .loc-box { flex-direction: column; align-items: stretch; }
}
