:root {
  --navy: #1d2340;
  --navy-2: #2a3157;
  --orange: #f2752b;
  --orange-d: #d95f17;
  --sun: #ffc845;
  --bg: #f6f4f0;
  --card: #ffffff;
  --text: #1c1f2a;
  --muted: #6b7080;
  --line: #e6e2da;
  --green: #1f8a4c;
  --red: #c8372d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 6px 20px rgba(20, 24, 40, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

/* Preview + utility bars */
.preview-bar { background: var(--sun); color: #3d2c00; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 12px; }
.utility { background: var(--navy); color: #c9cde0; font-size: 13px; }
.utility-in { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; gap: 16px; }
.utility nav { display: flex; gap: 18px; }
.utility a:hover { color: #fff; }

/* Header */
.header { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; font-size: 22px; box-shadow: 0 4px 12px rgba(242, 117, 43, .35); }
.logo-text { font-weight: 800; font-size: 19px; line-height: 1; color: var(--navy); display: flex; flex-direction: column; }
.logo-text small { font-size: 10px; letter-spacing: .32em; color: var(--orange); margin-top: 4px; font-weight: 700; }
.logo-light .logo-text { color: #fff; }
.search { flex: 1; display: flex; position: relative; border: 2px solid var(--navy); border-radius: 999px; background: #fff; }
.search select { border: 0; background: #f1efea; border-radius: 999px 0 0 999px; padding: 0 12px 0 16px; font: inherit; font-size: 13px; font-weight: 600; color: var(--navy); max-width: 150px; }
.search input { flex: 1; min-width: 0; border: 0; padding: 11px 14px; font: inherit; outline: none; background: transparent; }
.search button { background: var(--orange); color: #fff; width: 48px; margin: 3px; border-radius: 999px; display: grid; place-items: center; }
.search button:hover { background: var(--orange-d); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; z-index: 50; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 9px 14px; font-size: 14px; }
.suggest a:hover, .suggest a.active { background: #f6f4f0; }
.suggest .s-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; }
.suggest .s-meta { margin-left: auto; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; gap: 6px; }
.hdr-link { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; position: relative; }
.hdr-link:hover { background: #f3f1ec; }
.hdr-ico { font-size: 18px; }
.count { position: absolute; top: 0; left: 24px; background: var(--orange); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.icon-btn:hover { background: #f3f1ec; }
.menu-btn { display: none; }
.catnav { border-top: 1px solid var(--line); background: #fff; }
.catnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy-2); }
.catnav a:hover { background: #f3f1ec; }
.catnav a.on { background: var(--navy); color: #fff; }
.catnav a.hot { color: var(--red); }

main { min-height: 60vh; outline: none; }
section { margin: 36px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; gap: 12px; }
.sec-head h2 { font-size: 24px; font-weight: 800; color: var(--navy); }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.link-more { font-weight: 700; color: var(--orange-d); font-size: 14px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* Hero */
.hero { margin-top: 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.slides { position: relative; border-radius: 22px; overflow: hidden; min-height: 360px; background: var(--navy); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 40px 48px; opacity: 0; transition: opacity .6s; color: #fff; }
.slide.on { opacity: 1; z-index: 1; }
.slide .eyebrow { display: inline-block; background: rgba(255,255,255,.16); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.slide h1 { font-size: 42px; font-weight: 800; margin: 14px 0 10px; letter-spacing: -.02em; }
.slide p { font-size: 16px; opacity: .9; margin: 0 0 22px; max-width: 420px; }
.slide-art { font-size: 150px; text-align: center; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.dots { position: absolute; bottom: 18px; left: 48px; display: flex; gap: 8px; z-index: 2; }
.dots button { width: 10px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.4); transition: width .3s; }
.dots button.on { width: 28px; background: #fff; }
.hero-side { display: grid; gap: 16px; }
.promo { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 172px; position: relative; overflow: hidden; }
.promo h3 { font-size: 20px; font-weight: 800; }
.promo p { margin: 6px 0 0; font-size: 14px; }
.promo .big { position: absolute; right: 14px; bottom: 4px; font-size: 72px; opacity: .9; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .1s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }
.btn-light { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.trust div { background: #fff; border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: 13px; }
.trust b { display: block; font-size: 14px; color: var(--navy); }
.trust .t-ico { width: 40px; height: 40px; border-radius: 12px; background: #fff3ea; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: #fff; border-radius: 18px; padding: 18px 10px 16px; text-align: center; font-weight: 700; font-size: 14px; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat .c-ico { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; }

/* Deals band */
.deals { background: linear-gradient(120deg, #1d2340, #39306a); border-radius: 22px; padding: 26px; color: #fff; }
.deals .sec-head h2 { color: #fff; }
.deals .sec-head p { color: #c9cde0; }
.timer { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; }
.timer span { background: var(--orange); border-radius: 8px; padding: 5px 9px; font-variant-numeric: tabular-nums; min-width: 38px; text-align: center; }

/* Product grid + card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.row > * { scroll-snap-align: start; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s; color: var(--text); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.thumb { aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.thumb .ico { font-size: 84px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); transition: transform .3s; }
.card:hover .thumb .ico { transform: scale(1.08) rotate(-3deg); }
.thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%); }
.demo-tag { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: .05em; z-index: 1; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.badge.deal { background: var(--red); color: #fff; }
.badge.new { background: var(--green); color: #fff; }
.badge.best { background: var(--sun); color: #3d2c00; }
.badge.trending { background: #fff; color: var(--navy); }
.wish { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,.12); color: var(--navy); }
.wish.on { color: var(--red); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-store { font-size: 12px; color: var(--muted); font-weight: 600; }
.card-store:hover { color: var(--orange-d); }
.card-name { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.stars { color: #e8a317; font-size: 13px; letter-spacing: 1px; }
.stars small { color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.no-reviews { font-size: 12px; color: var(--green); font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.price b { font-size: 18px; font-weight: 800; color: var(--navy); }
.price s { color: var(--muted); font-size: 13px; }
.price .off { color: var(--red); font-size: 12px; font-weight: 700; }
.add { margin-top: 8px; width: 100%; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 7px; font-weight: 700; font-size: 13px; }
.add:hover { background: var(--navy); color: #fff; }

/* Sell banner */
.sell-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--orange), #f59e3f); border-radius: 22px; padding: 36px 40px; color: #fff; }
.sell-band h2 { font-size: 32px; font-weight: 800; }
.sell-band p { opacity: .95; font-size: 16px; max-width: 520px; }
.sell-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sell-stats div { background: rgba(255,255,255,.18); border-radius: 16px; padding: 16px; }
.sell-stats b { display: block; font-size: 22px; }

/* Stores */
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.store-card { background: #fff; border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: center; transition: box-shadow .2s; }
.store-card:hover { box-shadow: var(--shadow); }
.store-logo { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; flex-shrink: 0; color: #fff; }
.store-card h3 { font-size: 15px; }
.store-card p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.verified { color: var(--green); font-size: 12px; font-weight: 700; }

/* Listing page */
.page-head { padding: 26px 0 8px; }
.page-head h1 { font-size: 28px; font-weight: 800; color: var(--navy); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--orange-d); }
.listing { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-bottom: 48px; }
.filters { background: #fff; border-radius: var(--radius); padding: 18px; position: sticky; top: 140px; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.filters label { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-size: 14px; cursor: pointer; }
.filters input[type=checkbox], .filters input[type=radio] { accent-color: var(--orange); width: 16px; height: 16px; }
.range { display: flex; gap: 8px; }
.range input { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.toolbar select { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 14px; background: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip button { margin-left: 4px; color: var(--muted); }
.filter-toggle { display: none; }
.empty { background: #fff; border-radius: var(--radius); padding: 48px 20px; text-align: center; }
.empty .big { font-size: 56px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; margin: 10px 0 40px; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-self: start; position: sticky; top: 140px; }
.gallery .thumbs { display: grid; gap: 10px; align-content: start; }
.gallery .thumbs button { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 28px; border: 2px solid transparent; }
.gallery .thumbs button.on { border-color: var(--orange); }
.gallery .main { aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center; font-size: 200px; position: relative; overflow: hidden; }
.pdp-info h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin: 8px 0; }
.pdp-store { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--orange-d); }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; }
.pdp-price b { font-size: 34px; color: var(--navy); }
.pdp-price s { color: var(--muted); }
.pdp-price .off { background: #fdeaea; color: var(--red); font-weight: 800; padding: 3px 8px; border-radius: 6px; font-size: 13px; }
.buybox { background: #fff; border-radius: 18px; padding: 20px; display: grid; gap: 12px; margin: 16px 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 38px; height: 38px; font-size: 18px; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 10px; align-items: center; }
.buy-row .btn { flex: 1; }
.ship-lines { display: grid; gap: 8px; font-size: 14px; }
.ship-lines div { display: flex; gap: 10px; }
.stock { color: var(--green); font-weight: 700; font-size: 14px; }
.pdp-info ul { padding-left: 20px; margin: 8px 0; }
.pdp-info li { margin: 4px 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 20px; }
.tabs button { padding: 10px 14px; font-weight: 700; border-bottom: 3px solid transparent; color: var(--muted); }
.tabs button.on { border-color: var(--orange); color: var(--navy); }
.tab-body { padding: 14px 0; }
.review { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; }

/* Store page */
.store-hero { border-radius: 22px; padding: 32px; color: #fff; display: flex; gap: 22px; align-items: center; margin-top: 20px; }
.store-hero .store-logo { width: 88px; height: 88px; font-size: 44px; background: rgba(255,255,255,.2); border-radius: 22px; }
.store-hero h1 { font-size: 30px; font-weight: 800; }
.store-hero p { margin: 4px 0 0; opacity: .9; }

/* Cart + checkout */
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; margin-bottom: 48px; }
.panel { background: #fff; border-radius: 18px; padding: 20px; }
.panel h3 { font-size: 17px; margin-bottom: 12px; color: var(--navy); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .mini { width: 72px; height: 72px; border-radius: 12px; display: grid; place-items: center; font-size: 34px; }
.line h4 { font-size: 14px; font-weight: 600; }
.line small { color: var(--muted); }
.line .qty button { width: 30px; height: 30px; font-size: 15px; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-left: 10px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.sum-row.total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; color: var(--navy); }
.store-group { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.notice { background: #fff8e1; border: 1px solid #f3d27a; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.success { text-align: center; padding: 48px 20px; }
.success .big { font-size: 64px; }

/* Sell page */
.sell-hero { background: var(--navy); color: #fff; border-radius: 22px; padding: 48px; margin-top: 20px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
.sell-hero h1 { font-size: 40px; font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: #fff; border-radius: 18px; padding: 20px; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
.fee-table td, .fee-table th { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.fee-table th { background: #f3f1ec; }

/* Help */
.faq details { background: #fff; border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Admin */
.admin { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.admin-nav { background: var(--navy); border-radius: 18px; padding: 14px; display: grid; gap: 4px; position: sticky; top: 140px; }
.admin-title { color: var(--sun); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px 10px; }
.admin-nav button { text-align: left; color: #c9cde0; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.admin-nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav button.on { background: var(--orange); color: #fff; }
.admin-main { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.kpi { background: #fff; border-radius: 16px; padding: 18px; display: grid; gap: 4px; }
.kpi small { color: var(--muted); font-weight: 600; }
.kpi b { font-size: 26px; color: var(--navy); }
.kpi span { font-size: 12px; }
.up { color: var(--green); font-weight: 700; }
.admin-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-top: 10px; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar-col i { width: 100%; max-width: 44px; background: linear-gradient(var(--orange), #f59e3f); border-radius: 8px 8px 3px 3px; }
.bar-col small { color: var(--muted); font-size: 12px; }
.todo { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.todo span { flex: 1; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl a:hover { color: var(--orange-d); }
.panel:has(.tbl) { overflow-x: auto; }
.mini-ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 18px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eee; white-space: nowrap; }
.pill-approved, .pill-delivered, .pill-active { background: #e2f4e9; color: var(--green); }
.pill-rejected, .pill-return { background: #fdeaea; color: var(--red); }
.pill-shipped { background: #e3edf8; color: #2f6f9f; }
.pill-paid { background: #fff4d6; color: #8a6200; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #ccc; border-radius: 11px; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--sun); }
@media (max-width: 1024px) { .kpis { grid-template-columns: repeat(2, 1fr); } .admin-2 { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .admin { grid-template-columns: 1fr; }
  .admin-nav { position: static; display: flex; overflow-x: auto; }
  .admin-nav button { white-space: nowrap; }
  .admin-title { display: none; }
}

/* Footer */
.footer { background: var(--navy); color: #c9cde0; margin-top: 56px; padding: 44px 0 90px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer a { display: block; font-size: 14px; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .logo { display: flex; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: 13px; }

/* Drawers */
.drawer-bg { position: fixed; inset: 0; background: rgba(15, 18, 32, .45); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 61; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.15); animation: slideIn .25s ease-out; }
.drawer-left { left: 0; right: auto; animation-name: slideInL; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideInL { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 8px 20px 20px; overflow-y: auto; flex: 1; }
.drawer-body .menu-link { display: flex; gap: 12px; align-items: center; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.free-ship { background: #eef7f1; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 10px 0; }
.free-ship .bar { height: 6px; background: #d4e9dc; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.free-ship .bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 80; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.bottom-nav { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 14px; }
  .utility { display: none; }
  .menu-btn { display: grid; }
  .header-in { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .search select { display: none; }
  .header-actions { margin-left: auto; }
  .hdr-lbl { display: none; }
  .header-actions a[href="#/account"], .header-actions a[href="#/wishlist"] { display: none; }
  .slides { min-height: 300px; }
  .slide { grid-template-columns: 1fr; padding: 28px 24px 48px; }
  .slide h1 { font-size: 30px; }
  .slide-art { position: absolute; right: 12px; bottom: 30px; font-size: 90px; opacity: .35; }
  .dots { left: 24px; }
  .hero-side { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 16px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery .thumbs { grid-auto-flow: column; grid-template-columns: repeat(4, 64px); order: 2; }
  .gallery .main { font-size: 140px; }
  .two-col { grid-template-columns: 1fr; }
  .sell-band, .sell-hero { grid-template-columns: 1fr; padding: 28px 24px; }
  .sell-hero h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .row { grid-auto-columns: 46%; gap: 10px; }
  .thumb .ico { font-size: 60px; }
  .form-grid { grid-template-columns: 1fr; }
  .store-hero { flex-direction: column; align-items: flex-start; padding: 24px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 45; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 600; color: var(--navy-2); position: relative; }
  .bottom-nav span { font-size: 20px; }
  .bottom-nav .count { left: 55%; }
}
@media (max-width: 480px) {
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat { padding: 12px 6px; font-size: 12px; }
  .cat .c-ico { width: 54px; height: 54px; font-size: 26px; }
  .steps, .trust { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
