/* =========================================================================
   Pochondo storefront
   Type: Plus Jakarta Sans for the interface, Fraunces for banner headlines.
   Colour: deep blue for actions, red only for savings, white page.
   ========================================================================= */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #17479e; --blue-2: #1f5bc4; --blue-50: #eef3fb; --blue-100: #dbe5f6;
  --red: #e03131; --red-50: #fdecec; --green: #1e8e4f; --green-50: #e7f5ed; --amber: #f59f00; --amber-50: #fff4db;
  --ink: #1c2230; --ink-2: #4a5263; --ink-3: #8a91a1; --line: #e6e8ee; --bg: #f5f6f8; --white: #fff;
  --r: 10px; --r-lg: 14px; --wrap: 1320px;
  --font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2.5px solid var(--blue-2); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* buttons + form controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 8px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .lbl { font-weight: 700; font-size: 14px; }
.field small { color: var(--ink-3); font-size: 13px; }
.input, .field input, .field select, .field textarea { height: 46px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 14px; background: #fff; width: 100%; }
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-100); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.note { padding: 12px 16px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-size: 14px; font-weight: 600; }
.note.ok { background: var(--green-50); color: var(--green); }
.note.bad { background: var(--red-50); color: var(--red); }

/* ---------- header ---------- */
.h-main { background: #fff; }
.h-main .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; height: 78px; }
.h-burger { display: none; width: 40px; height: 40px; color: var(--ink); }
.h-burger svg { width: 24px; height: 24px; margin: auto; }
.logo { font-weight: 800; font-size: 30px; letter-spacing: -0.04em; color: var(--blue); line-height: 1; }
.logo span { color: var(--red); }
.h-search { position: relative; display: flex; max-width: 620px; width: 100%; justify-self: center; height: 46px; border: 1.5px solid var(--blue); border-radius: 8px; background: #fff; }
.h-search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; background: transparent; border-radius: 8px 0 0 8px; }
.h-search input:focus { outline: none; }
.h-search button { width: 56px; background: var(--blue); color: #fff; border-radius: 0 6px 6px 0; display: grid; place-items: center; }
.h-search button svg { width: 20px; height: 20px; }
.suggest { position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(28, 34, 48, .35); z-index: 60; padding: 6px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.suggest a:hover { background: var(--bg); }
.suggest img, .suggest .sl { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; }
.suggest .sl { display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; }
.suggest small { display: block; color: var(--ink-3); font-weight: 500; }
.suggest .none { padding: 10px; color: var(--ink-3); font-size: 14px; }
.h-icons { display: flex; align-items: center; gap: 8px; }
.hicon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue); border-radius: 50%; }
.hicon:hover { background: var(--blue-50); }
.hicon svg { width: 25px; height: 25px; }
.hicon .n { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.hbtn { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: 30px; margin-left: 6px; }
.hbtn .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.hbtn .ico svg { width: 22px; height: 22px; }
.hbtn .av { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; }
.hbtn .two { display: flex; flex-direction: column; line-height: 1.2; font-size: 14px; color: var(--blue); text-align: left; }
.hbtn .two small { color: var(--ink-3); font-size: 12px; }
.dd { position: relative; }
.dd .menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(28, 34, 48, .35); min-width: 200px; padding: 6px; z-index: 70; }
.dd.open .menu { display: block; }
.acct .menu a, .acct .menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 7px; font-size: 14.5px; font-weight: 600; }
.acct .menu a:hover, .acct .menu button:hover { background: var(--bg); color: var(--blue); }
.acct .menu button { color: var(--red); }

.h-nav { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.h-nav .wrap { display: flex; align-items: center; height: 52px; gap: 24px; }
.catbtn { display: flex; align-items: center; gap: 10px; height: 52px; font-weight: 700; color: var(--blue); font-size: 15px; }
.catbtn svg { width: 22px; height: 22px; }
.dd .menu.mega { left: 0; right: auto; top: 100%; width: 760px; min-width: 0; display: none; padding: 24px; }
.dd.open .menu.mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 220px; gap: 28px; }
.mega .mh { white-space: nowrap; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega ul { padding: 0; }
.mega li a { white-space: nowrap; }
.mega .mall { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.mega-feat { position: relative; border-radius: 10px; overflow: hidden; min-height: 250px; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.mega-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; z-index: -2; }
.mega-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 16, 36, .82)); z-index: -1; }
.mega-feat strong { font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 600; font-size: 21px; line-height: 1.15; }
.mega-feat span { font-size: 13.5px; opacity: .9; }
.mega-feat u { font-size: 13.5px; font-weight: 700; margin-top: 6px; text-underline-offset: 3px; }
.mega .mh { font-weight: 800; color: var(--blue); display: block; margin-bottom: 8px; }
.mega li { list-style: none; }
.mega li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14.5px; }
.mega li a:hover { color: var(--blue); text-decoration: underline; }
.h-nav .links { flex: 1; display: flex; justify-content: center; gap: 4px; }
.h-nav .links a { padding: 0 12px; height: 52px; display: flex; align-items: center; font-weight: 600; font-size: 15px; color: var(--ink-2); border-bottom: 3px solid transparent; }
.h-nav .links a:hover { color: var(--blue); }
.h-nav .links a[aria-current="page"] { color: var(--blue); font-weight: 800; border-bottom-color: var(--blue); }
.h-nav .right { display: flex; gap: 18px; }
.h-nav .right a { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); font-size: 14.5px; }
.h-nav .right svg { width: 19px; height: 19px; }

.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer .shade { position: absolute; inset: 0; background: rgba(15, 20, 35, .5); opacity: 0; transition: opacity .2s; }
.drawer aside { position: absolute; left: 0; top: 0; bottom: 0; width: min(330px, 86vw); background: #fff; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; padding: 0 0 30px; }
.drawer-open .drawer { visibility: visible; }
.drawer-open .drawer .shade { opacity: 1; }
.drawer-open .drawer aside { transform: none; }
.dhead { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dhead .x { width: 36px; height: 36px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { padding: 15px 20px; font-weight: 700; cursor: pointer; }
.drawer details a { display: block; padding: 9px 32px; color: var(--ink-2); }
.drawer .dl { display: block; width: 100%; text-align: left; padding: 15px 20px; font-weight: 600; border-bottom: 1px solid var(--line); }

/* ---------- section scaffolding ---------- */
.sec { margin-top: 48px; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.sec-head .more { margin-left: auto; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 4px; }
.sec-head .more svg { width: 16px; height: 16px; }
.sec-head .more:hover { text-decoration: underline; }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 38px; height: 38px; border-radius: 8px; background: var(--bg); color: var(--ink); display: grid; place-items: center; }
.arrows button:hover { background: var(--blue-100); color: var(--blue); }
.arrows svg { width: 17px; height: 17px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.pgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.panel { background: var(--blue-50); border-radius: var(--r-lg); padding: 28px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { height: 36px; padding: 0 16px; border-radius: 20px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink-2); background: #fff; }
.tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- product card ---------- */
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.pcard:hover { border-color: #d3d7e0; box-shadow: 0 14px 30px -18px rgba(28, 34, 48, .35); }
.pimg { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.pimg img.alt { opacity: 0; }
.pcard:hover .pimg img.alt { opacity: 1; }
.badge { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 5px; color: #fff; z-index: 1; }
.badge.sale { background: var(--red); }
.badge.new { background: var(--blue); }
.badge.out { background: var(--ink-2); }
.wish { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink-3); display: grid; place-items: center; z-index: 1; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.wish svg { width: 18px; height: 18px; }
.wish:hover, .wish[aria-pressed="true"] { color: var(--red); }
.wish[aria-pressed="true"] svg { fill: currentColor; }
.pmedia { position: relative; }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 38px; border-radius: 7px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; z-index: 1; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.quick:hover { background: var(--blue-2); }
.pbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 17px; font-weight: 800; }
.price s { color: var(--ink-3); font-size: 13.5px; }
.price.big b { font-size: 28px; }
.price.big s { font-size: 17px; }
.pcard h3 { font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard h3 a:hover { color: var(--blue); }
.seller { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.seller:hover { color: var(--blue); }
.tick { width: 15px; height: 15px; border-radius: 50%; background: var(--blue-2); color: #fff; display: inline-grid; place-items: center; flex: none; }
.tick svg { width: 9px; height: 9px; }
.rate { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); }
.stars { display: inline-flex; gap: 1px; }
.stars i { width: 13px; height: 13px; color: #d6d9e0; }
.stars i.on { color: var(--amber); }
.stars svg { width: 100%; height: 100%; }
.deal-bar { height: 6px; background: var(--red-50); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.deal-bar i { display: block; height: 100%; background: var(--red); }
.deal-txt { font-size: 12.5px; color: var(--ink-2); }
.pcard:hover .quick, .pcard .quick:focus-visible { opacity: 1; transform: none; }

/* ---------- store card ---------- */
.scard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.scard .cover { display: block; height: 120px; background: var(--bg); }
.scard .cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.slogo { position: absolute; left: 16px; top: 88px; width: 60px; height: 60px; border-radius: 12px; border: 3px solid #fff; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; overflow: hidden; }
.slogo img { width: 100%; height: 100%; object-fit: cover; }
.sbody { padding: 38px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sbody h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.sbody p { color: var(--ink-3); font-size: 13.5px; min-height: 2.8em; }
.smeta { display: flex; gap: 12px; font-size: 13px; color: var(--ink-2); font-weight: 600; flex-wrap: wrap; }
.smeta span { display: inline-flex; align-items: center; gap: 4px; }
.smeta svg { width: 13px; height: 13px; color: var(--amber); }
.sthumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 0 8px; }
.sthumbs a { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg); }
.sthumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8.5; background: var(--blue); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--tone); color: #fff; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; }
.slide .copy { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 36px 16px 56px 44px; }
.slide h1, .slide h2 { font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 30; font-weight: 600; font-size: clamp(26px, 3vw, 42px); line-height: 1.06; letter-spacing: -0.01em; }
.slide p { color: rgba(255, 255, 255, .85); max-width: 34ch; }
.slide .btn { align-self: flex-start; }
.slide .shots { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; min-height: 0; }
.slide .shots img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.slider .nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--blue); display: grid; place-items: center; z-index: 2; }
.slider .nav svg { width: 18px; height: 18px; }
.slider .prev { left: 14px; } .slider .next { right: 14px; }
.slider .dots { position: absolute; left: 44px; bottom: 22px; display: flex; gap: 6px; z-index: 2; }
.slider .dots button { width: 9px; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .5); transition: width .25s; }
.slider .dots button[aria-current="true"] { width: 30px; background: #fff; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.sbanner { display: grid; grid-template-columns: 44% minmax(0, 1fr); background: var(--tone); border-radius: var(--r-lg); overflow: hidden; }
.sbanner img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.sbanner div { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sbanner strong { font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 600; font-size: 24px; line-height: 1.1; color: var(--blue); }
.sbanner span { color: var(--ink-2); font-size: 14px; }
.sbanner u { color: var(--blue); font-weight: 700; font-size: 14px; margin-top: 8px; text-underline-offset: 3px; }

.cats-row { display: grid; grid-auto-flow: column; grid-auto-columns: 138px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px; }
.cats-row::-webkit-scrollbar { display: none; }
.ccat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 700; font-size: 14px; scroll-snap-align: start; }
.ccat span:first-child { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: var(--bg); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s; }
.ccat:hover span:first-child { outline-color: var(--blue); }
.ccat img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.ccat small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12.5px; }

.deals { background: var(--blue); border-radius: var(--r-lg); padding: 24px; margin-top: 48px; }
.deals .sec-head { color: #fff; margin-bottom: 18px; flex-wrap: wrap; }
.deals .more { color: #fff; }
.timer { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; }
.timer span { margin-right: 6px; opacity: .85; }
.timer b { min-width: 36px; height: 34px; border-radius: 6px; background: #fff; color: var(--red); font-size: 17px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.deals .pcard { border: 0; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.wban, .life a { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); color: #fff; isolation: isolate; background: var(--ink); }
.wban { aspect-ratio: 16 / 8; }
.wban img, .life img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.wban::after, .life a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 36, .78)); z-index: -1; }
.wban:hover img, .life a:hover img { transform: scale(1.04); }
.wban div { position: absolute; left: 26px; right: 26px; bottom: 22px; }
.wban strong, .life strong { display: block; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 600; font-size: 28px; line-height: 1.1; }
.wban span { opacity: .9; }
.life { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.life a { aspect-ratio: 2 / 3; }
.life img { object-position: center 20%; }
.life div { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.life u { font-weight: 700; font-size: 14px; text-underline-offset: 3px; }

.stores-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sell-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px 44px; margin-top: 48px; }
.sell-band h2 { font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.sell-band p { color: #c3c8d4; margin: 12px 0 22px; max-width: 46ch; }
.sell-band ol { list-style: none; display: grid; gap: 12px; counter-reset: s; }
.sell-band li { counter-increment: s; display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .07); border-radius: 10px; padding: 14px 16px; }
.sell-band li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 800; display: grid; place-items: center; flex: none; }
.sell-band li small { display: block; color: #a9afbd; }

/* ---------- footer ---------- */
#site-footer { margin-top: 64px; }
.f-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.f-trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.f-trust div { padding: 22px 16px; display: flex; flex-direction: column; }
.f-trust div + div { border-left: 1px solid var(--line); }
.f-trust b { font-size: 15px; }
.f-trust span { color: var(--ink-3); font-size: 13.5px; }
.f-main { background: var(--bg); padding: 44px 0; }
.f-main .wrap { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
.f-main h4 { font-size: 15px; margin-bottom: 12px; }
.f-main a:not(.logo) { display: block; color: var(--ink-2); font-size: 14.5px; padding: 4px 0; }
.f-main a:not(.logo):hover { color: var(--blue); }
.f-brand p { color: var(--ink-2); font-size: 14.5px; margin-top: 12px; max-width: 34ch; }
.f-brand .hot b { color: var(--blue); font-size: 18px; }
.f-bottom { background: var(--bg); border-top: 1px solid var(--line); }
.f-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay i { font-style: normal; font-weight: 700; font-size: 12px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 4px 9px; border-radius: 6px; }

/* ---------- toast + modal ---------- */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px; z-index: 200; transition: transform .25s; max-width: calc(100vw - 32px); }
#toast.on { transform: translate(-50%, 0); }
#toast.bad { background: var(--red); }
#toast a { color: #9ec0ff; text-decoration: underline; margin-left: 6px; }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal .shade { position: absolute; inset: 0; background: rgba(15, 20, 35, .55); }
.modal .box { position: relative; background: #fff; border-radius: var(--r-lg); width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; }
.modal .x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); z-index: 1; }
.modal .x svg { width: 18px; height: 18px; }
.qa { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.qimg { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg); }
.qimg img { width: 100%; height: 100%; object-fit: cover; }
.qinfo { display: flex; flex-direction: column; gap: 10px; }
.qinfo h2 { font-size: 22px; line-height: 1.25; }
.qinfo .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 52px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 700; font-size: 14px; background: #fff; }
.sizes button:hover:not([disabled]) { border-color: var(--blue); }
.sizes button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.sizes button[disabled] { color: var(--ink-3); background: var(--bg); text-decoration: line-through; cursor: not-allowed; }
.hint { font-size: 13.5px; color: var(--ink-3); }
.hint.err { color: var(--red); font-weight: 600; }

/* ---------- breadcrumb + page title ---------- */
.crumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); padding: 18px 0 0; }
.crumb a:hover { color: var(--blue); }
.crumb span[aria-hidden] { opacity: .6; }
.page-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 4px; }
.page-sub { color: var(--ink-3); }

/* ---------- category page ---------- */
.list-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin-top: 20px; align-items: start; }
.filters { position: sticky; top: 72px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 18px 18px; background: #fff; max-height: calc(100vh - 90px); overflow-y: auto; }
.fblock { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fblock:last-child { border-bottom: 0; }
.fblock h3 { font-size: 14.5px; margin-bottom: 10px; }
.fblock label { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.fblock label small { margin-left: auto; color: var(--ink-3); }
.fblock input[type=checkbox], .fblock input[type=radio] { width: 17px; height: 17px; accent-color: var(--blue); }
.fblock .ctree a { display: block; padding: 4px 0; font-size: 14.5px; color: var(--ink-2); }
.fblock .ctree a.on { color: var(--blue); font-weight: 800; }
.fblock .ctree .sub { padding-left: 14px; }
.prange { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.prange input { height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 10px; width: 100%; }
.sizechips { display: flex; flex-wrap: wrap; gap: 6px; }
.sizechips label { padding: 0; }
.sizechips input { position: absolute; opacity: 0; }
.sizechips span { display: inline-block; padding: 6px 11px; border: 1.5px solid var(--line); border-radius: 7px; font-size: 13px; font-weight: 700; }
.sizechips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.sizechips input:focus-visible + span { outline: 2.5px solid var(--blue-2); outline-offset: 2px; }
.list-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.list-top .count { color: var(--ink-3); font-size: 14px; }
.list-top .sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.list-top select { height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 10px; background: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 20px; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 13px; }
.chips button svg { width: 13px; height: 13px; }
.filter-toggle { display: none; }
.list-layout .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.empty { padding: 50px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--ink-2); grid-column: 1 / -1; }
.empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.empty .btn { margin-top: 16px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pager button { min-width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--line); font-weight: 700; background: #fff; }
.pager button[aria-current="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 300px; gap: 28px; margin-top: 18px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.gthumbs { display: flex; flex-direction: column; gap: 10px; }
.gthumbs button { aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--bg); }
.gthumbs button[aria-pressed="true"] { border-color: var(--blue); }
.gthumbs img { width: 100%; height: 100%; object-fit: cover; }
.gmain { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); cursor: zoom-in; }
.gmain img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gmain.zoom img { transform: scale(1.8); }
.pinfo h1 { font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; margin: 6px 0 8px; }
.pinfo .rate { font-size: 14px; }
.pinfo .rate a { color: var(--blue); font-weight: 600; }
.pinfo .rate .stars i { width: 16px; height: 16px; }
.pbox { background: var(--bg); border-radius: 10px; padding: 14px 16px; margin: 16px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pbox .save { background: var(--red); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 8px; border-radius: 5px; }
.opt { margin-top: 16px; }
.opt .lbl { display: flex; justify-content: space-between; margin-bottom: 8px; }
.opt .lbl a { color: var(--blue); font-weight: 600; font-size: 13.5px; text-decoration: underline; }
.qtybuy { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; height: 46px; }
.qty button { width: 40px; height: 100%; font-size: 20px; font-weight: 600; }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 700; height: 100%; }
.qtybuy .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
.icon-btn { width: 46px; height: 46px; border-radius: 8px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[aria-pressed="true"] { color: var(--red); border-color: var(--red); }
.icon-btn[aria-pressed="true"] svg { fill: currentColor; }
.facts { margin-top: 20px; border-top: 1px solid var(--line); }
.facts div { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { width: 110px; color: var(--ink-3); flex: none; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.side-card + .side-card { margin-top: 14px; }
.side-card h3 { font-size: 13px; color: var(--ink-3); font-weight: 700; margin-bottom: 12px; }
.sold-by { display: flex; gap: 12px; align-items: center; }
.sold-by .slogo { position: static; width: 52px; height: 52px; border: 0; font-size: 17px; }
.sold-by b { display: flex; align-items: center; gap: 6px; }
.sold-by small { color: var(--ink-3); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; text-align: center; }
.kpis div { background: var(--bg); border-radius: 8px; padding: 8px 4px; }
.kpis b { display: block; font-size: 15px; }
.kpis small { color: var(--ink-3); font-size: 12px; }
.ship-list { display: grid; gap: 12px; font-size: 14px; }
.ship-list div { display: flex; gap: 10px; }
.ship-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.ship-list small { display: block; color: var(--ink-3); }
.ptabs { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ptabs [role=tablist] { display: flex; border-bottom: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
.ptabs [role=tab] { padding: 15px 22px; font-weight: 700; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.ptabs [role=tab][aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); background: #fff; }
.ptabs [role=tabpanel] { padding: 24px; }
.ptabs table { border-collapse: collapse; width: 100%; max-width: 640px; font-size: 14.5px; }
.ptabs th, .ptabs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ptabs th { color: var(--ink-3); font-weight: 600; width: 180px; }
.rev-sum { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; margin-bottom: 24px; }
.rev-sum .big { font-size: 46px; font-weight: 800; line-height: 1; }
.bars div { display: grid; grid-template-columns: 26px 1fr 34px; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); }
.bars i { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.bars i b { display: block; height: 100%; background: var(--amber); }
.review { padding: 16px 0; border-top: 1px solid var(--line); }
.review header { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.review header small { color: var(--ink-3); margin-left: auto; }
.review p { margin-top: 6px; color: var(--ink-2); }
.rev-form { margin-top: 20px; padding: 18px; background: var(--bg); border-radius: 10px; display: grid; gap: 12px; max-width: 640px; }
.star-pick { display: flex; gap: 4px; }
.star-pick button { width: 30px; height: 30px; color: #d6d9e0; }
.star-pick button.on { color: var(--amber); }

/* ---------- store page ---------- */
.store-head { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.store-head .cover { height: 240px; position: relative; background: var(--bg); }
.store-head .cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.store-head .bar { display: flex; align-items: flex-end; gap: 20px; padding: 0 26px 20px; flex-wrap: wrap; }
.store-head .slogo { position: static; width: 104px; height: 104px; margin-top: -52px; border-radius: 20px; border: 4px solid #fff; font-size: 32px; }
.store-head h1 { font-size: 28px; display: flex; align-items: center; gap: 8px; }
.store-head h1 .tick { width: 20px; height: 20px; }
.store-head h1 .tick svg { width: 12px; height: 12px; }
.store-head .tag { color: var(--ink-2); }
.store-head .stats { display: flex; gap: 26px; margin-left: auto; }
.store-head .stats b { display: block; font-size: 19px; }
.store-head .stats small { color: var(--ink-3); font-size: 13px; }
.store-head .acts { display: flex; gap: 8px; }
.store-tabs { display: flex; gap: 4px; border-top: 1px solid var(--line); padding: 0 16px; overflow-x: auto; }
.store-tabs button { padding: 14px 14px; font-weight: 700; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.store-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.about-grid dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: 14.5px; }
.about-grid dt { color: var(--ink-3); }

/* ---------- stores directory ---------- */
.dir-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 20px 0; }
.dir-bar .input { max-width: 320px; }
.dir-bar select { height: 46px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; }
.dir-bar .count { margin-left: auto; color: var(--ink-3); font-weight: 600; }

/* ---------- cart + checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 26px; margin-top: 20px; align-items: start; }
.vgroup { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.vgroup + .vgroup { margin-top: 16px; }
.vgroup > header { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--bg); font-weight: 700; flex-wrap: wrap; }
.vgroup > header .slogo { position: static; width: 32px; height: 32px; border: 0; border-radius: 8px; font-size: 12px; }
.vgroup > header small { margin-left: auto; color: var(--ink-3); font-weight: 600; }
.cline { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.cline .pic { width: 88px; height: 88px; border-radius: 8px; overflow: hidden; background: var(--bg); }
.cline .pic img { width: 100%; height: 100%; object-fit: cover; }
.cline h3 { font-size: 15px; font-weight: 600; }
.cline h3 a:hover { color: var(--blue); }
.cline small { color: var(--ink-3); }
.cline .rm { color: var(--red); font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.cline .qty { height: 40px; }
.cline .qty button { width: 34px; }
.cline .qty input { width: 36px; }
.cline .lt { font-weight: 800; min-width: 80px; text-align: right; }
.summary { position: sticky; top: 72px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.summary h2 { font-size: 18px; margin-bottom: 14px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 14.5px; }
.summary dd { text-align: right; font-weight: 700; }
.summary .tot { font-size: 18px; font-weight: 800; padding-top: 12px; border-top: 1px solid var(--line); }
.summary .btn { margin-top: 16px; }
.summary .free { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 10px; }
.coupon { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon input { flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 12px; }
.co-sec { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.co-sec + .co-sec { margin-top: 16px; }
.co-sec h2 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.co-sec h2 i { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-size: 14px; display: grid; place-items: center; }
.co-sec .grid2 + .grid2, .co-sec .field + .grid2, .co-sec .grid2 + .field { margin-top: 14px; }
.paylist { display: grid; gap: 10px; }
.paylist label { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; font-weight: 600; }
.paylist label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.paylist input { accent-color: var(--blue); width: 18px; height: 18px; }
.paylist small { display: block; color: var(--ink-3); font-weight: 500; }
.paylist .tag { margin-left: auto; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 5px; color: #fff; }
.mini { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: 14px; }
.mini img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--bg); }
.mini span { flex: 1; min-width: 0; }
.mini small { display: block; color: var(--ink-3); }
.mini-shop { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-top: 10px; display: flex; justify-content: space-between; }

/* ---------- order success + track ---------- */
.done { max-width: 760px; margin: 40px auto 0; text-align: center; }
.done .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.done .ok svg { width: 36px; height: 36px; }
.done h1 { font-size: 30px; }
.done p { color: var(--ink-2); margin-top: 6px; }
.order-card { border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 22px; text-align: left; overflow: hidden; }
.order-card > header { display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 16px 20px; background: var(--bg); font-size: 14px; }
.order-card > header b { display: block; font-size: 15px; }
.order-card > header small { color: var(--ink-3); }
.sub { padding: 16px 20px; border-top: 1px solid var(--line); }
.sub-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-weight: 700; }
.status { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 20px; font-size: 12.5px; font-weight: 800; text-transform: capitalize; background: var(--bg); color: var(--ink-2); }
.status.pending { background: var(--amber-50); color: #a86800; }
.status.confirmed { background: var(--blue-50); color: var(--blue); }
.status.shipped { background: #efe9fd; color: #6a3fc8; }
.status.packed { background: #e3f6f4; color: #0f7f74; }
.status.delivered, .status.approved, .status.paid, .status.published { background: var(--green-50); color: var(--green); }
.status.cancelled, .status.rejected, .status.suspended { background: var(--red-50); color: var(--red); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 6px; }
.steps div { position: relative; text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 600; padding-top: 26px; }
.steps div::before { content: ""; position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 14px; height: 14px; border-radius: 50%; background: var(--line); z-index: 1; }
.steps div::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.steps div:first-child::after { display: none; }
.steps div.on { color: var(--blue); }
.steps div.on::before, .steps div.on::after { background: var(--blue); }
.steps small { display: block; font-weight: 500; }
.track-box { max-width: 560px; margin: 26px auto 0; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }

/* ---------- auth ---------- */
.auth { max-width: 460px; margin: 40px auto 0; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.auth .tabs { margin-bottom: 20px; }
.auth form { display: grid; gap: 14px; }
.demo-box { margin-top: 18px; background: var(--bg); border-radius: 10px; padding: 14px 16px; font-size: 13.5px; }
.demo-box b { display: block; margin-bottom: 6px; }
.demo-box button { display: block; color: var(--blue); font-weight: 700; padding: 3px 0; text-align: left; }

/* ---------- account ---------- */
.acct-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; margin-top: 20px; align-items: start; }
.acct-nav { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; position: sticky; top: 72px; }
.acct-nav .who { padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-nav .who b { display: block; }
.acct-nav .who small { color: var(--ink-3); }
.acct-nav button { display: block; width: 100%; text-align: left; padding: 11px 12px; border-radius: 8px; font-weight: 600; color: var(--ink-2); }
.acct-nav button[aria-current="true"] { background: var(--blue-50); color: var(--blue); }
.acct-nav button.out { color: var(--red); }
.acct-panel h2 { font-size: 22px; margin-bottom: 16px; }

/* ---------- sell page ---------- */
.sell-hero { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--blue); color: #fff; margin-top: 20px; }
.sell-hero .copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.sell-hero h1 { font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.sell-hero p { color: #d2dcf1; max-width: 44ch; }
.sell-hero .nums { display: flex; gap: 30px; margin-top: 8px; }
.sell-hero .nums b { display: block; font-size: 24px; }
.sell-hero .nums small { color: #c3cfea; }
.sell-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; object-position: center 25%; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.how div { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.how b { display: block; font-size: 16px; margin: 8px 0 4px; }
.how span { color: var(--ink-3); font-size: 14px; }
.how i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 800; display: grid; place-items: center; }
.reg { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.reg form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; }
.reg h3 { font-size: 15px; color: var(--blue); margin-top: 4px; }
.checks { display: flex; gap: 10px; flex-wrap: wrap; }
.checks label { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 14px; font-weight: 600; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.checks input { accent-color: var(--blue); }
.fees { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.fees table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 8px; }
.fees td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fees td:last-child { text-align: right; font-weight: 800; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.faq p { padding-bottom: 16px; color: var(--ink-2); }

/* ---------- info pages ---------- */
.prose { max-width: 760px; margin-top: 10px; }
.prose h2 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); margin-top: 8px; }
.prose ul { padding-left: 20px; }
.prose table { border-collapse: collapse; margin-top: 12px; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; font-size: 14.5px; }
.prose th { background: var(--bg); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .list-layout .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pdp .pside { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pdp .pside .side-card + .side-card { margin-top: 0; }
  .h-nav .right a:last-child { display: none; }
}
@media (max-width: 1000px) {
  .h-main .wrap { gap: 20px; }
  .h-nav .right { display: none; }
  .h-nav .links { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .sbanner { height: 170px; }
  .pgrid, .list-layout .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .life, .stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(330px, 88vw); z-index: 120; border-radius: 0; max-height: none; transform: translateX(-102%); transition: transform .25s; top: 0; }
  .filters.open { transform: none; box-shadow: 0 0 0 100vmax rgba(15, 20, 35, .5); }
  .filter-toggle { display: inline-flex; }
  .cart-layout, .acct-layout { grid-template-columns: minmax(0, 1fr); }
  .acct-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .acct-nav .who { display: none; }
  .acct-nav button { white-space: nowrap; width: auto; }
  .sell-band, .sell-hero, .reg, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .sell-hero img { max-height: 280px; }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-main .wrap { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .summary { position: static; }
  .store-head .stats { margin-left: 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 14px; }
  .h-main .wrap { grid-template-columns: auto auto 1fr; grid-template-rows: 60px auto; gap: 0 8px; height: auto; padding-bottom: 12px; }
  .h-burger { display: block; margin-left: -8px; }
  .logo { font-size: 25px; }
  .h-icons { justify-self: end; gap: 0; }
  .hbtn .two { display: none; }
  .hbtn { margin-left: 0; }
  .h-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .h-nav .cats { display: none; }
  .h-nav .wrap { height: 46px; }
  .h-nav .links a { height: 46px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
  .slider { aspect-ratio: auto; height: 470px; }
  .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .slide .copy { padding: 22px 20px 10px; gap: 8px; }
  .slide p { display: none; }
  .slider .nav { display: none; }
  .slider .dots { left: auto; right: 16px; bottom: 14px; }
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .sbanner { height: 130px; }
  .sbanner strong { font-size: 20px; }
  .sec { margin-top: 36px; }
  .sec-head { flex-wrap: wrap; gap: 10px; }
  .sec-head h2 { font-size: 21px; }
  .cats-row { grid-auto-columns: 96px; gap: 10px; }
  .ccat span:first-child { width: 90px; height: 90px; }
  .ccat { font-size: 12.5px; }
  .deals { padding: 18px 14px; margin-left: -4px; margin-right: -4px; }
  .rail { grid-auto-columns: 46%; gap: 10px; }
  .pgrid, .list-layout .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pbody { padding: 10px; }
  .price b { font-size: 15.5px; }
  .pcard h3 { font-size: 13.5px; }
  .quick { display: none; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .life { gap: 10px; }
  .wban strong, .life strong { font-size: 21px; }
  .stores-grid { grid-template-columns: minmax(0, 1fr); }
  .sell-band { padding: 26px 20px; }
  .f-trust .wrap { grid-template-columns: 1fr 1fr; }
  .f-trust div:nth-child(3) { border-left: 0; }
  .f-trust div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pdp, .pdp .pside { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gthumbs { flex-direction: row; order: 2; }
  .gthumbs button { width: 64px; }
  .rev-sum { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cline { grid-template-columns: 72px minmax(0, 1fr); }
  .cline .pic { width: 72px; height: 72px; }
  .cline .qty, .cline .lt { grid-column: 2; }
  .cline .lt { text-align: left; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .qa { grid-template-columns: minmax(0, 1fr); }
  .qimg { max-height: 260px; aspect-ratio: auto; }
  .store-head .cover { height: 150px; }
  .store-head .bar { padding: 0 16px 16px; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .sell-hero .copy { padding: 28px 22px; }
  .steps { font-size: 11px; }
  .ptabs [role=tabpanel] { padding: 16px; }
}
/* ---------- phone app bar ---------- */
.tabbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px -12px rgba(28, 34, 48, .25); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 62px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
  .tabbar a[aria-current="page"] { color: var(--blue); }
  .tabbar .ti { position: relative; width: 24px; height: 24px; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar .n { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
  #toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .h-icons .hicon[href*="cart"] { display: none; }
  .filters { padding-bottom: 80px; }
}

/* ---------- categories page (app style) ---------- */
.cat-app { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; margin-top: 18px; align-items: start; }
.cat-side { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: sticky; top: 72px; }
.cat-side button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; font-weight: 700; color: var(--ink-2); text-align: left; border-left: 3px solid transparent; }
.cat-side button + button { border-top: 1px solid var(--line); }
.cat-side button img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 15%; background: var(--bg); flex: none; }
.cat-side button[aria-selected="true"] { background: var(--blue-50); color: var(--blue); border-left-color: var(--blue); }
.cat-main h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cat-main h2 a { margin-left: auto; font-size: 14px; color: var(--blue); }
.cat-banner { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; height: 170px; color: #fff; margin-bottom: 18px; isolation: isolate; }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -2; }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 16, 36, .75), transparent 70%); z-index: -1; }
.cat-banner div { position: absolute; left: 22px; top: 50%; translate: 0 -50%; }
.cat-banner strong { display: block; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 600; font-size: 26px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.cat-tiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 14px; }
.cat-tiles span:first-child { width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg); }
.cat-tiles img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.cat-tiles small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; }
.cat-extra { margin-top: 26px; }
.cat-extra .chips a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 20px; background: var(--bg); font-weight: 700; font-size: 13.5px; }
@media (max-width: 720px) {
  .cat-app { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; margin-left: -14px; margin-top: 0; }
  .cat-side { border-radius: 0; border-width: 0 1px 0 0; top: 46px; background: var(--bg); min-height: calc(100vh - 200px); }
  .cat-side button { flex-direction: column; gap: 6px; padding: 14px 6px; font-size: 12.5px; text-align: center; border-left-width: 3px; }
  .cat-side button + button { border-top: 0; }
  .cat-side button[aria-selected="true"] { background: #fff; }
  .cat-side button img { width: 44px; height: 44px; }
  .cat-main { padding-top: 14px; }
  .cat-main h2 { font-size: 17px; }
  .cat-banner { height: 110px; margin-bottom: 14px; }
  .cat-banner strong { font-size: 19px; }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .cat-tiles a { font-size: 12px; }
  .cat-tiles small { display: none; }
  body[data-page="categories"] #site-footer, body[data-page="categories"] .crumb, body[data-page="categories"] .page-title { display: none; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
