/* Sultan Shopping Mall storefront - 2026 refresh.
   Single stylesheet for every public page. Seasonal themes only swap tokens. */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1e1b4b;
  --brand-2: #312e81;
  --brand-soft: #eef0ff;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #fff4ec;
  --gold: #e9a23b;
  --sale: #dc2626;
  --ok: #15803d;
  --ok-soft: #ecfdf3;
  --wa: #25d366;
  --ink: #16152d;
  --text: #2f2e45;
  --muted: #6b6a82;
  --line: #e8e6f1;
  --line-strong: #d7d4e4;
  --soft: #f4f3f9;
  --bg: #f8f7fc;
  --surface: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 21, 45, .06);
  --shadow: 0 6px 24px rgba(22, 21, 45, .07);
  --shadow-lg: 0 18px 48px rgba(22, 21, 45, .14);
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --bottom-nav-h: 0px;
  /* legacy names still used by a few inline styles */
  --primary: var(--brand);
  --red: var(--sale);
  --green: var(--ok);
}
body.theme-pakistan-august {
  --brand: #064e34;
  --brand-2: #0a7048;
  --brand-soft: #eaf6ef;
  --accent: #a16207;
  --accent-hover: #854d0e;
  --accent-soft: #fdf7e7;
  --gold: #d6a93f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bottom-nav-h);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; font-weight: 750; }
h1 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 12px; }
h2 { font-size: clamp(21px, 2.4vw, 28px); margin: 0 0 10px; }
h3 { font-size: 17px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
svg { flex: 0 0 auto; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-content { position: fixed; z-index: 2000; top: 10px; left: 10px; padding: 12px 18px; border-radius: 10px; background: #fff; color: var(--brand); font-weight: 700; box-shadow: var(--shadow-lg); transform: translateY(-160%); transition: transform .2s; }
.skip-content:focus { transform: none; }
main:focus { outline: 0; }

/* top progress bar */
.page-loader { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 3000; pointer-events: none; opacity: 0; transition: opacity .2s; }
.page-loader span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--accent), var(--gold)); transition: width .4s ease; border-radius: 0 3px 3px 0; }
.page-loader.active { opacity: 1; }
.page-loader.active span { width: 75%; }
.page-loader.done span { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(194, 65, 12, .22); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-2); }
.btn-light { background: #fff; color: var(--brand); border-color: var(--line-strong); }
.btn-light:hover { border-color: var(--brand); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn .icon { width: 19px; height: 19px; }
.btn:disabled, .add:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; background: var(--soft); color: var(--muted); border-color: var(--line); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: 14px; white-space: nowrap; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .18s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--brand); color: rgba(255,255,255,.9); font-size: 13px; }
.theme-winter .announce { background: linear-gradient(90deg, #17153a, var(--brand) 45%, #2a2668); }
.announce-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.announce-msg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.announce-msg span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce-pill { flex: 0 0 auto; padding: 2px 10px; border-radius: 999px; background: rgba(233, 162, 59, .18); color: #ffd79a; font-weight: 700; font-size: 12px; border: 1px solid rgba(255, 215, 154, .3); }
.announce-links { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.announce-links a { color: #fff; opacity: .88; display: inline-flex; align-items: center; gap: 6px; }
.announce-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.announce-links .icon { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); } }
.header.is-stuck { box-shadow: 0 6px 24px rgba(22, 21, 45, .08); }
.header-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: var(--header-h); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--brand); position: relative; }
.icon-btn:hover { background: var(--soft); }
.header-main .menu-toggle { display: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--brand); }
.logo-image { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #fff; flex: 0 0 auto; }
.logo-mark { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--accent)); color: #fff; font-weight: 800; font-size: 22px; flex: 0 0 auto; }
.logo-text { min-width: 0; display: grid; }
.logo-text strong { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--brand); white-space: nowrap; }
.logo-text small { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.3; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }

.search { position: relative; display: flex; align-items: center; height: 50px; background: var(--soft); border: 1.5px solid transparent; border-radius: 999px; transition: border-color .18s, background .18s, box-shadow .18s; }
.search:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(49, 46, 129, .1); }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 12px 0 48px; font-size: 15px; color: var(--ink); }
.search input::placeholder { color: #8d8ca2; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search select { height: 32px; max-width: 170px; border: 0; border-left: 1px solid var(--line-strong); background: transparent; color: var(--muted); padding: 0 14px; font-size: 14px; outline: 0; cursor: pointer; }
.search button[type="submit"] { height: 40px; margin-right: 5px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; transition: background .18s; }
.search button[type="submit"]:hover { background: var(--brand-2); }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 950; display: grid; gap: 2px; max-height: min(440px, 70vh); overflow: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.search-suggest[hidden] { display: none; }
.suggest-item { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--ink); }
.suggest-item:hover, .suggest-item:focus { background: var(--soft); outline: 0; }
.suggest-item img, .suggest-icon { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--soft); display: grid; place-items: center; color: var(--brand); font-weight: 800; }
.suggest-item b, .suggest-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item b { font-size: 14px; font-weight: 650; }
.suggest-item small { color: var(--muted); font-size: 12px; }
.suggest-item strong { font-size: 13px; color: var(--accent); white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.action-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; color: var(--brand); }
.action-link:hover { background: var(--soft); }
.action-link span { display: grid; line-height: 1.2; }
.action-link small { font-size: 11.5px; color: var(--muted); }
.action-link b { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.cart { position: relative; width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--brand); color: #fff; transition: background .18s; }
.cart:hover { background: var(--brand-2); }
.cart .icon { width: 23px; height: 23px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; border: 2px solid #fff; }
.cart-count.is-empty { background: #a6a4b8; }

.nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.dept { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 8px 16px 8px 12px; border-radius: 999px; border: 0; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; }
.dept:hover { background: #e3e5ff; }
.dept .icon { width: 19px; height: 19px; }
.menu { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 40px; }
.menu::-webkit-scrollbar { display: none; }
.menu a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; transition: background .15s, color .15s; }
.menu a:hover { background: var(--soft); color: var(--brand); }
.menu a[aria-current="page"] { background: var(--brand); color: #fff; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 1500; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 14, 35, .5); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head .logo-image { width: 42px; height: 42px; }
.drawer-head .logo-text strong { font-size: 16px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 10px 24px; overscroll-behavior: contain; }
.drawer-title { margin: 10px 10px 8px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.drawer-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.drawer-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.drawer-list a:hover { background: var(--soft); }
.drawer-list .icon { width: 18px; height: 18px; color: var(--muted); }
.drawer-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
body.drawer-open { overflow: hidden; }

/* ---------- Hero / campaign slider ---------- */
.hero { padding: 20px 0 6px; }
.hero-wrap { position: relative; display: grid; width: min(1240px, 100% - 40px); margin-inline: auto; border-radius: 24px; overflow: hidden; background: #efe9ee; box-shadow: var(--shadow); isolation: isolate; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: 470px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; color: #fff; }
.hero-slide.active { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.campaign-media { position: absolute; inset: 0; z-index: -2; }
.campaign-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 18, 48, .78) 0%, rgba(20, 18, 48, .45) 45%, rgba(20, 18, 48, 0) 75%); }
.hero-slide.campaign-editorial { color: var(--ink); }
.hero-slide.campaign-editorial::after { background: linear-gradient(90deg, rgba(246, 241, 238, .97) 0%, rgba(246, 241, 238, .9) 26%, rgba(246, 241, 238, .35) 50%, rgba(246, 241, 238, 0) 66%); }
.hero-content { position: relative; width: min(520px, 50%); padding: 56px 0 72px 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.campaign-editorial .eyebrow { background: #fff; border-color: rgba(194, 65, 12, .25); color: var(--accent); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
.hero h1, .hero h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; margin: 16px 0 14px; color: inherit; font-weight: 800; }
.hero p { font-size: 17px; line-height: 1.6; margin: 0 0 26px; max-width: 40ch; opacity: .88; }
.hero .btn { min-height: 50px; padding-inline: 26px; }
.hero-dots { position: absolute; z-index: 5; left: 64px; bottom: 26px; display: flex; gap: 6px; }
.hero-dots button { width: 34px; height: 30px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.hero-dots button::after { content: ""; width: 26px; height: 4px; border-radius: 4px; background: rgba(30, 27, 75, .25); transition: background .2s, width .2s; }
.hero-dots button.active::after { background: var(--accent); width: 34px; }
.hero-arrows { position: absolute; z-index: 5; right: 22px; bottom: 20px; display: flex; gap: 8px; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .18s, background .18s; }
.hero-arrow:hover { background: #fff; transform: scale(1.06); }

/* ---------- Trust strip ---------- */
.trust { padding: 22px 0 6px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.trust-item .trust-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: 0 0 auto; }
.trust-item:nth-child(2) .trust-icon { background: #e9fbf0; color: #128c4b; }
.trust-item:nth-child(3) .trust-icon { background: var(--accent-soft); color: var(--accent); }
.trust-item:nth-child(4) .trust-icon { background: #fdf5e6; color: #a16207; }
.trust-item strong { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; line-height: 1.3; }
.trust-item small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 44px 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h1, .section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-kicker { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.deal-section { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-top: 1px solid var(--line); }

/* department & category tiles */
.categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; isolation: isolate; }
.cat-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; background: var(--soft); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cat-card img.brand-logo { object-fit: contain; padding: 18px; background: #fff; }
.cat-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; min-height: 56px; overflow-wrap: anywhere; }
.cat-title::after { content: ""; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1b4b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat; transition: background-color .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card:hover .cat-title::after { background-color: var(--gold); }

.collection-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 26px 28px; margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.collection-head h1 { margin: 0 0 6px; }
.collection-head p { margin: 0; color: var(--muted); max-width: 65ch; }
.collection-head img { width: 168px; height: 112px; object-fit: cover; border-radius: 14px; }
.collection-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.result-count { font-weight: 600; color: var(--muted); font-size: 14px; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sort-form select { height: 42px; padding: 0 38px 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6a82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; appearance: none; -webkit-appearance: none; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.sort-form .btn { min-height: 42px; }
.js .sort-form .sort-apply { display: none; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.breadcrumbs a { color: var(--brand); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span:last-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.product-img { position: relative; display: block; aspect-ratio: 1; background: #f6f5f9; overflow: hidden; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .5s cubic-bezier(.2,.8,.2,1); mix-blend-mode: multiply; }
.product:hover .product-img img { transform: scale(1.05); }
.badges { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .01em; background: var(--sale); color: #fff; line-height: 1.3; }
.tag-featured { background: var(--brand); margin-left: auto; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 14px 16px; }
.product h3 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.product h3 a:hover { color: var(--brand-2); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 2px; }
.price { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.product-price .price.is-sale, .detail-price .price.is-sale { color: var(--sale); }
.old { font-size: 13.5px; color: #9b9ab0; text-decoration: line-through; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock.is-low { color: #b45309; }
.stock.is-low::before { background: #f59e0b; }
.stock.is-out { color: var(--sale); }
.stock.is-out::before { background: var(--sale); }
.sku { font-size: 12px; color: #8e8da3; overflow-wrap: anywhere; }
.product form, .product .add-link { margin-top: auto; padding-top: 8px; }
.add { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font-weight: 700; font-size: 14px; transition: background .18s, color .18s; }
.add:hover:not(:disabled) { background: var(--brand); color: #fff; }
.add .icon { width: 18px; height: 18px; }
.add-link { display: flex; }
.empty { grid-column: 1 / -1; padding: 40px 24px; text-align: center; color: var(--muted); background: #fff; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.empty a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 70px); }
.detail-image { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.gallery-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumb { padding: 0; border: 2px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--brand); }
.gallery-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 12px; overflow-wrap: anywhere; }
.product-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--text); font-size: 13px; font-weight: 600; }
.chip.stock { background: var(--ok-soft); color: var(--ok); }
.chip.stock.is-low { background: #fff7e6; color: #b45309; }
.chip.stock.is-out { background: #fef2f2; color: var(--sale); }
.detail-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 6px; }
.detail-price .price { font-size: 30px; }
.detail-price .old { font-size: 17px; }
.save-note { margin: 0 0 18px; color: var(--ok); font-weight: 700; font-size: 14px; }
.save-note:empty { display: none; }
.lead { color: var(--text); font-size: 15.5px; line-height: 1.7; }
.buy-box { margin: 20px 0 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 12px; }
.variant-picker label { display: grid; gap: 8px; font-weight: 700; color: var(--ink); font-size: 14px; }
.variant-picker select { width: 100%; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 14px; background: #fff; font-size: 15px; }
.inline-form { display: flex; gap: 10px; align-items: stretch; margin: 0; }
.inline-form .btn { flex: 1; min-height: 52px; border-radius: 14px; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: #fff; overflow: hidden; flex: 0 0 auto; }
.qty button { width: 42px; height: 100%; border: 0; background: transparent; color: var(--brand); font-size: 20px; font-weight: 600; }
.qty button:hover:not(:disabled) { background: var(--soft); }
.qty input { width: 46px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 16px; outline: 0; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 40px; border-radius: 10px; }
.qty-sm button { width: 34px; font-size: 18px; }
.qty-sm input { width: 38px; font-size: 14px; }
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text); }
.perks .icon { width: 20px; height: 20px; color: var(--brand-2); margin-top: 1px; }
.perks a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.description-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.description-block h2 { font-size: 18px; margin-bottom: 10px; }
.description { color: var(--text); line-height: 1.8; }

/* ---------- Panels & forms ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.panel h2 { font-size: 20px; }
.panel label { display: grid; gap: 7px; margin-bottom: 16px; font-weight: 650; font-size: 14px; color: var(--ink); }
.panel input:not([type="checkbox"]):not([type="radio"]), .panel textarea, .panel select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 16px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.panel input:focus, .panel textarea:focus, .panel select:focus { outline: 0; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(49, 46, 129, .1); }
.panel textarea { min-height: 100px; resize: vertical; }
.field-hint { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.notice { border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; line-height: 1.6; font-size: 14.5px; }
.notice.error { background: #fef2f2; border: 1px solid #fecaca; color: #b42318; }
.notice.success { background: var(--ok-soft); border: 1px solid #abefc6; color: #067647; }
.check-line { display: flex !important; align-items: center; gap: 10px !important; font-weight: 500 !important; color: var(--muted) !important; }
.check-line input { width: 18px; height: 18px; accent-color: var(--brand); }
.pay-options { display: grid; gap: 10px; margin: 4px 0 18px; padding: 0; border: 0; }
.pay-options legend { font-weight: 650; font-size: 14px; color: var(--ink); margin-bottom: 8px; padding: 0; }
.pay-option { position: relative; display: flex !important; align-items: center; gap: 12px !important; margin: 0 !important; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.account-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; background: var(--brand-soft); }
.account-strip strong, .account-strip span { display: block; }
.account-strip strong { color: var(--ink); }
.account-strip span { color: var(--muted); font-size: 13px; }
.account-strip a { color: var(--brand); font-weight: 700; white-space: nowrap; }
.account-strip.guest { background: var(--accent-soft); }
.checkout-steps { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; }
.checkout-steps li + li::before { content: ""; width: 26px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.checkout-steps b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 12.5px; }
.checkout-steps .is-done b, .checkout-steps .is-current b { background: var(--brand); color: #fff; }
.checkout-steps .is-current { color: var(--ink); }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.cart-panel { padding: 8px 24px 20px; }
.cart-table { display: grid; }
.cart-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 140px 120px 44px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-head { padding: 14px 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cart-product { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cart-product img { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; background: #f6f5f9; border: 1px solid var(--line); flex: 0 0 auto; }
.cart-product strong { display: block; font-weight: 650; color: var(--ink); line-height: 1.4; }
.cart-product strong a:hover { color: var(--brand-2); }
.cart-product small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.cart-price { color: var(--text); font-weight: 600; }
.cart-line-total { color: var(--ink); font-weight: 800; }
.cell-label { display: none; }
.qty-form { display: flex; align-items: center; gap: 8px; }
.qty-form .qty-update { border: 0; background: transparent; color: var(--brand); font-weight: 700; font-size: 13px; padding: 4px; }
.js .qty-form .qty-update { display: none; }
.link-button, .remove-btn { border: 0; background: transparent; color: var(--muted); padding: 0; font-weight: 600; }
.remove-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.remove-btn:hover { background: #fef2f2; color: var(--sale); }
.remove-btn .icon { width: 19px; height: 19px; }
.cart-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.clear-cart-form { margin: 0; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: 4px; }
.cart-summary h2 { margin: 0 0 8px; }
.summary-line, .checkout-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.summary-line.total { border-bottom: 0; font-size: 18px; padding-top: 16px; }
.summary-line.total strong { font-size: 22px; color: var(--ink); }
.summary-note { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.checkout-item { align-items: center; }
.checkout-item .ci-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #f6f5f9; border: 1px solid var(--line); flex: 0 0 auto; }
.checkout-item .ci-name { flex: 1; min-width: 0; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.checkout-item .ci-name small { display: block; color: var(--muted); font-size: 12.5px; }
.checkout-item strong { flex: 0 0 auto; }
.checkout-form .btn-primary { width: 100%; min-height: 54px; font-size: 16px; margin-top: 4px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.secure-note .icon { width: 16px; height: 16px; }

/* order success / tracking */
.success-hero { text-align: center; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.success-icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.order-success-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; text-align: left; }
.order-success-box div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.order-success-box span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.order-success-box strong { color: var(--ink); overflow-wrap: anywhere; }
.mini-order-list { display: grid; gap: 10px; margin-bottom: 20px; text-align: left; }
.mini-order-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.success-hero .btns { justify-content: center; }
.track-layout { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
.track-form, .profile-form, .checkout-form { display: grid; }
.tracking-status { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 20px 0; counter-reset: step; }
.tracking-status span { position: relative; display: grid; justify-items: center; gap: 8px; padding-top: 0; font-size: 12px; font-weight: 600; text-align: center; color: var(--muted); counter-increment: step; }
.tracking-status span::before { content: counter(step); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); border: 2px solid var(--line-strong); font-weight: 800; position: relative; z-index: 1; }
.tracking-status span::after { content: ""; position: absolute; top: 14px; left: calc(50% + 15px); right: calc(-50% + 15px); height: 2px; background: var(--line-strong); }
.tracking-status span:last-child::after { content: none; }
.tracking-status span.active { color: var(--ok); }
.tracking-status span.active::before { content: "\2713"; background: var(--ok); border-color: var(--ok); color: #fff; }
.tracking-status span.active::after { background: var(--ok); }

/* static pages */
.page-content { font-size: 15.5px; line-height: 1.8; color: var(--text); }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); transition: border-color .15s, background .15s; }
a.contact-card:hover { border-color: var(--brand); background: #fff; }
.contact-card .trust-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand); flex: 0 0 auto; }
.contact-card strong { display: block; color: var(--ink); font-size: 14.5px; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.not-found { text-align: center; padding: 30px 10px; }
.not-found .big { font-size: clamp(64px, 12vw, 120px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--brand-soft); -webkit-text-stroke: 2px var(--brand); margin-bottom: 10px; }
.not-found .btns { justify-content: center; margin-top: 18px; }

/* auth (kept for when accounts are re-enabled) */
.auth-section { min-height: 48vh; display: grid; align-items: center; }
.auth-panel { display: grid; gap: 18px; }
.google-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; }
.google-button span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: #4285f4; font-weight: 800; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: #14122f; color: rgba(255,255,255,.72); }
.footer-cta { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; flex-wrap: wrap; }
.footer-cta h3 { color: #fff; font-size: 22px; margin: 0 0 4px; }
.footer-cta p { margin: 0; color: rgba(255,255,255,.78); }
.footer-cta .btns { flex: 0 0 auto; }
.footer-cta .btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.footer-cta .btn-light:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr)) minmax(190px, 1.1fr); gap: 36px; padding: 52px 0 40px; }
.site-footer h4 { margin: 0 0 16px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.site-footer p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-image { width: 48px; height: 48px; }
.footer-logo .logo-text strong { color: #fff; font-size: 18px; }
.footer-logo .logo-text small { color: rgba(255,255,255,.6); }
.footer-meta { display: grid; gap: 10px; margin-top: 18px; font-size: 14px; }
.footer-meta a, .footer-meta span { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.footer-meta .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.payments { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.payments span { padding: 7px 11px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 12px; font-weight: 700; }
.footer-social { display: flex; gap: 10px; margin: 0; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; transition: background .15s; }
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }
.bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.55); }

/* floating WhatsApp (desktop) */
.whatsapp { position: fixed; z-index: 800; right: 22px; bottom: 22px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, .4); transition: transform .2s; }
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

/* mobile bottom nav */
.bottom-nav { display: none; }

/* PWA install */
.pwa-install { position: fixed; z-index: 1200; left: 50%; bottom: calc(18px + var(--bottom-nav-h)); transform: translateX(-50%); width: min(520px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.pwa-install[hidden] { display: none; }
.pwa-install > div { flex: 1; min-width: 0; }
.pwa-install strong, .pwa-install span { display: block; }
.pwa-install strong { color: var(--ink); font-size: 14.5px; }
.pwa-install span { color: var(--muted); font-size: 13px; }
.pwa-install button { border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; padding: 10px 18px; }
.pwa-install .pwa-close { width: 34px; height: 34px; padding: 0; background: var(--soft); color: var(--ink); font-size: 18px; line-height: 1; }

/* seasonal ribbons (August theme keeps its message) */
.august-ribbon { background: linear-gradient(90deg, #043d2a, #075f3b 50%, #0a7048); color: #fff; font-size: 13px; }
.august-ribbon-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 600; }
.august-ribbon-kicker { padding: 2px 10px; border-radius: 999px; background: rgba(214,169,63,.2); color: #f5dc92; }
.august-ribbon-note { color: #f5dc92; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .action-link.hide-lg { display: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .header-main { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 14px; }
  .header-main .menu-toggle { display: inline-grid; margin-left: -8px; }
  .logo-text small { display: none; }
  .search select { display: none; }
  .action-link { display: none; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery { position: static; }
  .cart-layout, .checkout-layout, .profile-layout, .track-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .hero-content { width: min(520px, 60%); padding-left: 44px; }
  .hero-dots { left: 44px; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; --bottom-nav-h: 64px; }
  body { font-size: 14.5px; }
  .container { width: min(100% - 28px, 1240px); }
  .announce-links { display: none; }
  .announce-inner { justify-content: center; min-height: 34px; font-size: 12.5px; }
  .header-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; min-height: var(--header-h); }
  .logo { gap: 9px; }
  .logo-image { width: 40px; height: 40px; border-radius: 10px; }
  .logo-mark { width: 40px; height: 40px; font-size: 18px; }
  .logo-text strong { font-size: 16.5px; }
  .cart { width: 42px; height: 42px; border-radius: 12px; }
  .cart .icon { width: 21px; height: 21px; }
  .search { grid-column: 1 / -1; grid-row: 2; height: 46px; margin-bottom: 10px; }
  .search input { padding-left: 44px; font-size: 16px; }
  .search-icon { left: 16px; }
  .search button[type="submit"] { padding: 0 16px; height: 36px; }
  .nav { display: none; }
  .hero { padding-top: 12px; }
  .hero-wrap { width: min(100% - 28px, 1240px); border-radius: 20px; background: #fff; }
  .hero-slide { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-slide::after { content: none; }
  .campaign-media { position: relative; inset: auto; z-index: auto; }
  .campaign-media img { aspect-ratio: 780 / 600; height: auto; object-position: 60% 20%; }
  .hero-slide:not(.campaign-editorial) .campaign-media img { aspect-ratio: 16 / 10; }
  .hero-content { width: 100%; padding: 18px 18px 54px; background: #fff; color: var(--ink); }
  .hero-slide .eyebrow { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-size: 11.5px; padding: 4px 11px; }
  .hero h1, .hero h2 { font-size: 27px; margin: 10px 0 6px; }
  .hero p { font-size: 14.5px; margin-bottom: 16px; color: var(--muted); opacity: 1; }
  .hero .btn { min-height: 46px; padding-inline: 20px; font-size: 14.5px; }
  .hero .btns { gap: 8px; }
  .hero-dots { left: 12px; bottom: 10px; }
  .hero-arrows { display: none; }
  .trust { padding-top: 16px; }
  .trust-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; }
  .trust-grid::-webkit-scrollbar { display: none; }
  .trust-item { flex: 0 0 74%; scroll-snap-align: start; padding: 13px 14px; }
  .trust-item .trust-icon { width: 40px; height: 40px; border-radius: 12px; }
  .section { padding: 30px 0; }
  .section-head { margin-bottom: 16px; align-items: center; }
  .section-head p { font-size: 13.5px; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-title { font-size: 13.5px; padding: 10px 11px; min-height: 48px; }
  .cat-title::after { width: 22px; height: 22px; background-size: 12px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product:hover { transform: none; }
  .product-body { padding: 10px 10px 12px; gap: 4px; }
  .product h3 { font-size: 13.5px; }
  .price { font-size: 16px; }
  .old { font-size: 12.5px; }
  .sku { display: none; }
  .add { min-height: 40px; font-size: 13px; border-radius: 10px; }
  .add .icon { display: none; }
  .badges { top: 7px; left: 7px; right: 7px; }
  .tag { font-size: 11px; padding: 3px 7px; }
  .collection-head { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; gap: 14px; border-radius: 16px; margin-bottom: 16px; }
  .collection-head h1 { font-size: 22px; }
  .collection-head p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .collection-head img { width: 84px; height: 84px; border-radius: 12px; }
  .collection-actions { gap: 8px; }
  .sort-form select { height: 38px; font-size: 13px; }
  .breadcrumbs { font-size: 12.5px; margin-bottom: 12px; }
  .breadcrumbs span:last-child { max-width: 100%; }
  .panel { padding: 18px; border-radius: 16px; }
  .detail-image { border-radius: 16px; }
  .gallery-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .detail-price .price { font-size: 26px; }
  .buy-box { padding: 14px; }
  .cart-panel { padding: 4px 14px 14px; }
  .cart-head { display: none; }
  .cart-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "prod remove" "qty total"; gap: 12px; padding: 16px 0; }
  .cart-row > .cart-product { grid-area: prod; align-items: flex-start; }
  .cart-row > .cart-price { display: none; }
  .cart-row > .qty-form { grid-area: qty; }
  .cart-row > .cart-line-total { grid-area: total; justify-self: end; align-self: center; font-size: 16px; }
  .cart-row > .remove-form { grid-area: remove; align-self: start; }
  .cart-product img { width: 72px; height: 72px; }
  .cart-product .unit-price { display: block; margin-top: 4px; font-weight: 700; color: var(--text); font-size: 13.5px; }
  .form-pair, .order-success-box, .contact-cards { grid-template-columns: 1fr; }
  .account-strip { flex-direction: column; align-items: flex-start; }
  .tracking-status { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tracking-status span { font-size: 10.5px; }
  .tracking-status span::before { width: 26px; height: 26px; }
  .tracking-status span::after { top: 12px; left: calc(50% + 13px); right: calc(-50% + 13px); }
  .footer-cta-inner { padding: 22px 0; }
  .footer-cta .btns { width: 100%; }
  .footer-cta .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding: 36px 0 28px; }
  .footer-grid > .footer-pay { grid-column: 1 / -1; }
  .bottom { flex-direction: column; gap: 4px; padding-bottom: 20px; }
  .whatsapp { display: none; }
  .bottom-nav { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(22,21,45,.06); }
  .bottom-nav a, .bottom-nav button { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; padding: 0; }
  .bottom-nav .icon { width: 23px; height: 23px; }
  .bottom-nav [aria-current="page"] { color: var(--brand); }
  .bottom-nav [aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
  .bottom-nav .bn-wa { color: #128c4b; }
  .bottom-nav .bn-count { position: absolute; top: 7px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; border: 2px solid #fff; }
  .bottom-nav .bn-count.is-empty { display: none; }
}
@media (max-width: 380px) {
  .logo-text strong { font-size: 15px; }
  .products { gap: 8px; }
  .product-body { padding: 9px; }
  .hero h1, .hero h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .announce, .header, .site-footer, .bottom-nav, .whatsapp, .pwa-install, .page-loader { display: none !important; }
  body { background: #fff; padding: 0; }
}
.announce-msg { margin: 0; }

/* ---------- additions ---------- */
a.trust-item { transition: border-color .18s, box-shadow .18s, transform .18s; }
a.trust-item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.success-icon.is-neutral { background: var(--soft); color: var(--brand); }
.cart-summary .btn + .btn { margin-top: 10px; }
.checkout-form h2 { font-size: 18px; margin: 4px 0 16px; }
.checkout-steps b .icon { width: 14px; height: 14px; stroke-width: 3; }
.empty p { margin: 0 0 14px; }
.empty-links { justify-content: center; }
.footer-pay h4 + .footer-social { margin-top: 0; }
.not-found h1, .not-found h2 { margin-bottom: 8px; }
.success-hero h1 { font-size: clamp(24px, 3vw, 32px); }
.track-layout aside .not-found { padding: 10px 0; }
.drawer-head .logo { min-width: 0; }
.drawer-head .logo-text strong { white-space: normal; }
.product-info .tag { font-size: 13px; padding: 5px 10px; }
.hero-slide .btns .btn-light { background: rgba(255,255,255,.92); }
.campaign-editorial .btns .btn-light { background: #fff; }
@media (max-width: 760px) {
  .hero-slide .btns .btn-light { border-color: var(--line-strong); }
  .checkout-steps { font-size: 12.5px; gap: 6px; }
  .checkout-steps li + li::before { width: 14px; }
}

.bottom-links { display: inline-flex; gap: 18px; }
.bottom-links a:hover { color: #fff; }
.link-arrow { min-height: 40px; padding: 4px 2px; }
@media (max-width: 760px) {
  .qty-sm { height: 42px; }
  .qty-sm button { width: 40px; }
  .qty-sm input { width: 40px; }
  .bottom-links a { padding: 8px 0; }
}
/* quantity stepper inside panels: undo generic .panel input styling */
.panel .qty input:not([type="checkbox"]):not([type="radio"]), .qty input[type="number"] { width: 46px; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; text-align: center; background: transparent; }
.panel .qty-sm input:not([type="checkbox"]):not([type="radio"]) { width: 40px; }
