:root {
  --brand: #0f3d3e; --brand-2: #155e5f; --gold: #e3b04b; --gold-d: #c8962f;
  --ink: #1b2326; --muted: #66757a; --line: #e3e8ea; --bg: #ffffff; --soft: #f4f7f7; --card: #fff;
  --good: #1f8a4c; --bad: #c0392b; --radius: 14px; --shadow: 0 6px 24px rgba(15, 61, 62, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Poppins, system-ui, -apple-system, Segoe UI, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
button, input, select, textarea { font: inherit; }
input, select, textarea { width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--brand); }
input[type=range] { padding: 0; border: 0; accent-color: var(--brand); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.pad { padding-top: 28px; padding-bottom: 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center-block { display: block; text-align: center; margin-top: 10px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.err { color: var(--bad); font-size: .9rem; min-height: 1em; }
.good { color: var(--good); }
.danger { color: var(--bad) !important; }
.row-gap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--brand); background: #fff; color: var(--brand); font-weight: 600; text-decoration: none; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { padding: .4rem .8rem; font-size: .85rem; }
.btn.lg { padding: .85rem 1.4rem; font-size: 1rem; }
.btn.full { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1d1600; }
.btn-gold:hover { background: var(--gold-d); }
.btn-ghost { background: transparent; }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-try { background: var(--soft); border-color: var(--line); color: var(--brand); width: 100%; margin-top: 8px; }
.btn-try:hover { background: var(--gold); border-color: var(--gold); color: #1d1600; }
.link { background: none; border: 0; color: var(--brand-2); cursor: pointer; text-decoration: underline; padding: 0; font-size: .85rem; }

/* header */
.topbar { background: var(--brand); color: #e9f3f3; font-size: .8rem; text-align: center; padding: 6px 12px; }
.topbar b { color: var(--gold); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand); }
.logo-mark { color: var(--gold); background: var(--brand); border-radius: 10px; padding: 6px 5px; display: flex; }
.logo-text { font-weight: 700; font-size: 1.25rem; color: var(--brand); line-height: 1; }
.logo-text small { display: block; font-size: .58rem; letter-spacing: .35em; color: var(--gold-d); margin-top: 2px; }
.logo-text.light { color: #fff; margin-bottom: 10px; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.nav a:hover { background: var(--soft); }
.nav .nav-try { background: var(--gold); color: #1d1600; font-weight: 600; }
.nav .nav-admin { color: var(--muted); margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.search input { width: 190px; border-radius: 999px; background: var(--soft); border-color: transparent; padding: .45rem .9rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: none; border: 0; font-size: 1.2rem; text-decoration: none; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.badge { position: absolute; top: 2px; right: 0; background: var(--gold); color: #1d1600; font-size: .65rem; font-weight: 700; border-radius: 999px; min-width: 17px; padding: 0 4px; line-height: 17px; }
.badge:empty { display: none; }
.menu-btn { display: none; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 30%, #1d6b6c 0%, var(--brand) 55%, #0a2c2d 100%); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-block; background: rgba(227,176,75,.18); color: var(--gold); border: 1px solid rgba(227,176,75,.4); padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { color: #cfe2e2; font-size: 1.05rem; max-width: 520px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.usp { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px 16px; flex-wrap: wrap; color: #cfe2e2; font-size: .9rem; }
.summary .usp { color: var(--muted); flex-direction: column; margin-top: 12px; }
.hero-art { position: relative; min-height: 300px; }
.hero-frame { position: absolute; top: 4%; left: 0; width: 72%; background: rgba(255,255,255,.95); border-radius: 22px; padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,.3); transform: rotate(-4deg); }
.hero-frame.two { top: auto; left: auto; right: 0; bottom: 4%; transform: rotate(5deg); padding: 22px; width: 62%; }
.hero-badge { position: absolute; left: 4%; bottom: 8%; z-index: 2; background: var(--gold); color: #1d1600; border-radius: 14px; padding: 10px 14px; font-size: .8rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* categories / grid */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { background: var(--soft); border-radius: var(--radius); padding: 18px; text-align: center; text-decoration: none; color: var(--ink); font-weight: 600; transition: .2s; }
.cat:hover { background: #e8f0f0; transform: translateY(-2px); }
.cat img { height: 70px; object-fit: contain; margin: 0 auto 10px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-head h1, .sec-head h2, .sec-head h3 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { background: linear-gradient(180deg, #f7f9f9, #eef3f3); aspect-ratio: 4/3; display: grid; place-items: center; padding: 18px; }
.card-img img { width: 100%; max-height: 100%; object-fit: contain; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.tag.sale { background: var(--gold); color: #1d1600; }
.wish { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); cursor: pointer; font-size: 1.05rem; color: var(--ink); }
.wish.on { color: #d2335c; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-name { font-weight: 600; color: var(--ink); text-decoration: none; }
.card-meta { font-size: .8rem; color: var(--muted); }
.card-body .btn-try { margin-top: auto; }
.card-body .price { margin: 4px 0 4px; }
.price { font-weight: 700; color: var(--brand); }
.price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 4px; }
.price.big { font-size: 1.5rem; margin: 8px 0 16px; }
.save { background: #fdf3df; color: #8a5a00; font-size: .8rem; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.dots { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.dots.big .dot { width: 28px; height: 28px; }
.dot.on { box-shadow: 0 0 0 2px var(--brand); }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; margin-right: 4px; border: 1px solid rgba(0,0,0,.15); }

.band { background: var(--soft); padding: 34px 0; margin: 20px 0; }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--gold); margin-bottom: 8px; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }
.promo { background: linear-gradient(120deg, var(--brand), #1c6c6d); color: #fff; border-radius: 20px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.promo p { margin: 0; color: #cfe2e2; }

/* shop */
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-tools { display: flex; gap: 8px; }
.shop-tools select { width: auto; }
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 14px; }
.cat-tabs a { padding: 6px 14px; border-radius: 999px; background: var(--soft); text-decoration: none; color: var(--ink); white-space: nowrap; font-size: .9rem; }
.cat-tabs a.on { background: var(--brand); color: #fff; }
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.filters { align-self: start; position: sticky; top: 80px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.facet { border-bottom: 1px solid var(--line); padding: 10px 0; }
.facet summary { font-weight: 600; cursor: pointer; margin-bottom: 6px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 3px 0; cursor: pointer; font-size: .9rem; }
.chk em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .85rem; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--soft); border-radius: var(--radius); grid-column: 1/-1; }
#filterBtn, .show-mobile { display: none; }
#count { margin-bottom: 10px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.main-img { background: linear-gradient(180deg, #f7f9f9, #eaf1f1); border-radius: 20px; aspect-ratio: 16/10; display: grid; place-items: center; padding: 40px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.specs div { background: var(--soft); border-radius: 12px; padding: 10px 4px; }
.specs b { display: block; font-size: 1.1rem; color: var(--brand); }
.specs span { font-size: .72rem; color: var(--muted); }
.kv { width: 100%; border-collapse: collapse; font-size: .9rem; }
.kv th, .kv td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.kv th { color: var(--muted); font-weight: 500; width: 40%; }
.rating { color: #c48a0c; font-weight: 600; }
.field { margin-bottom: 16px; }
.lbl { display: block; margin-bottom: 6px; font-size: .9rem; }
.wizard { display: flex; flex-direction: column; gap: 14px; }
.wstep { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.wstep h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.wstep h3 i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--gold); font-size: .8rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { display: flex; align-items: flex-start; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; transition: .15s; }
.choice:hover { border-color: var(--brand-2); }
.choice.on { border-color: var(--brand); background: #f0f7f7; box-shadow: inset 0 0 0 1px var(--brand); }
.choice input { margin-top: 4px; }
.choice span { flex: 1; }
.choice b { display: block; font-size: .92rem; }
.choice small { color: var(--muted); font-size: .78rem; line-height: 1.3; display: block; }
.choice em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; margin-bottom: 12px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: .85rem; }
.seg button.on { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); font-weight: 600; }
.rx-wrap { overflow-x: auto; }
.rx { width: 100%; border-collapse: collapse; min-width: 380px; }
.rx th { font-size: .78rem; color: var(--muted); font-weight: 600; padding: 4px; text-align: left; }
.rx td { padding: 3px; }
.rx select, .rx input { padding: .4rem; font-size: .88rem; }
.inline { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .9rem; }
.inline select { width: auto; }
.coats { display: grid; gap: 2px; }
.summary { background: var(--soft); border-radius: var(--radius); padding: 18px; margin-top: 16px; align-self: start; }
.summary .row { display: flex; justify-content: space-between; padding: 4px 0; }
.summary .row.total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.buy-btns { display: flex; gap: 8px; margin-top: 12px; }
.buy-btns .btn-primary { flex: 1; }
.buy { min-width: 0; }

/* try-on */
.tryon-head p { margin-top: -4px; }
.tryon-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.stage { position: relative; background: #0b1f20; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center; }
.stage canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage.photo canvas { object-fit: contain; }
.stage-intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #fff; background: radial-gradient(700px 400px at 50% 30%, #1a5a5b, #0b1f20); }
.stage-intro[hidden] { display: none; }
.stage-intro h2 { margin: 6px 0; }
.stage-intro p { color: #cfe2e2; margin: 0 0 16px; }
.intro-art { width: min(260px, 60%); background: rgba(255,255,255,.95); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.intro-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tips { list-style: none; padding: 0; display: flex; gap: 14px; color: #a9c7c7; flex-wrap: wrap; justify-content: center; margin: 16px 0 0; }
.tips li::before { content: '• '; color: var(--gold); }
.stage-status { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .85rem; max-width: 90%; text-align: center; z-index: 3; }
.stage-status.error { background: var(--bad); top: auto; bottom: 14px; }
.stage-bar { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; z-index: 2; }
.stage-bar[hidden] { display: none; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.6rem; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); color: var(--brand); }
.round-btn.snap { width: 62px; height: 62px; background: var(--gold); font-size: 1.4rem; }
.controls { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: .88rem; }
.controls[hidden] { display: none; }
.controls label:not(.btn) { display: flex; align-items: center; gap: 8px; }
.controls input[type=range] { width: 120px; }
.face-card { margin-top: 14px; background: linear-gradient(120deg, #fff8e9, #fdf1d6); border: 1px solid #f1dcaa; border-radius: var(--radius); padding: 14px 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.face-card[hidden] { display: none; }
.face-card h3 { margin: 0; color: #7a4f00; }
.face-card p { margin: 0; }
.looks { margin-top: 18px; }
.looks-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.looks figure { margin: 0; flex: 0 0 180px; }
.looks img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.looks figcaption { font-size: .8rem; font-weight: 600; padding-top: 4px; display: flex; flex-direction: column; }
.looks figcaption span { font-weight: 400; }
.picker { border: 1px solid var(--line); border-radius: 20px; padding: 14px; position: sticky; top: 80px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; gap: 10px; }
.cur-top { display: flex; gap: 12px; align-items: center; }
.cur-top img { width: 110px; background: var(--soft); border-radius: 10px; padding: 8px; }
.cur .dots { margin: 10px 0; }
.cur-btns { display: flex; gap: 8px; }
.cur-btns .btn-primary { flex: 1; }
.picker-tabs { display: flex; gap: 4px; overflow-x: auto; border-top: 1px solid var(--line); padding-top: 10px; }
.picker-tabs button { border: 0; background: var(--soft); border-radius: 999px; padding: 5px 10px; font-size: .8rem; cursor: pointer; white-space: nowrap; }
.picker-tabs button.on { background: var(--brand); color: #fff; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow-y: auto; min-height: 120px; padding: 2px; }
.thumb { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.thumb img { background: var(--soft); border-radius: 8px; padding: 6px; aspect-ratio: 5/2; object-fit: contain; width: 100%; }
.thumb span { font-size: .78rem; font-weight: 600; line-height: 1.2; }
.thumb small { font-size: .74rem; color: var(--muted); }
.thumb.on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
#recoWrap[hidden] { display: none; }

/* cart */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { background: var(--soft); border-radius: 10px; padding: 8px; }
.line-price { font-weight: 700; }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button:not(.link) { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.qty .link { margin-left: 10px; }
.note { background: #fff; border-radius: 10px; padding: 8px 12px; font-size: .85rem; margin-bottom: 10px; }
.coupon { display: flex; gap: 6px; margin-bottom: 10px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; font-weight: 500; }
.form-grid .span2 { grid-column: 1/-1; }
.big-check { width: 70px; height: 70px; border-radius: 50%; background: var(--good); color: #fff; font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 12px; }
.track { list-style: none; padding: 0; display: flex; justify-content: space-between; margin: 26px 0; counter-reset: s; }
.track li { flex: 1; text-align: center; font-size: .78rem; color: var(--muted); position: relative; padding-top: 34px; }
.track li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 700; color: var(--muted); z-index: 1; }
.track li::after { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.done { color: var(--brand); font-weight: 600; }
.track li.done::before { background: var(--brand); color: var(--gold); content: '✓'; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }

/* admin */
.admin-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.admin-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.admin-row img { background: var(--soft); border-radius: 8px; padding: 6px; aspect-ratio: 5/2; object-fit: contain; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 16px; }
.calib { display: flex; flex-direction: column; gap: 10px; }
.calib label { display: flex; flex-direction: column; font-size: .86rem; }
.calib label span { color: var(--muted); }
.stage.mini { aspect-ratio: 4/3; }
.stage.mini .stage-intro p { font-size: .9rem; }
.variant { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; margin: 6px 6px 0 0; font-size: .85rem; }
.variant img { width: 70px; height: 30px; object-fit: contain; cursor: pointer; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/10px 10px; border-radius: 4px; }
.variant.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.add-variant { display: flex; gap: 8px; align-items: center; margin: 10px 0; flex-wrap: wrap; }
.add-variant #vName { flex: 1; min-width: 140px; }
.add-variant input[type=color] { width: 44px; height: 38px; padding: 2px; }
.fp { position: relative; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/14px 14px; border-radius: 8px; }
.fp i { position: absolute; left: 0; right: 0; height: 2px; background: var(--gold); }
.tips-box summary { cursor: pointer; }

/* footer etc. */
.footer { background: #0b2a2b; color: #b9cfcf; margin-top: 40px; padding: 40px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; margin: 0 0 10px; }
.footer a { display: block; color: #b9cfcf; text-decoration: none; padding: 3px 0; }
.footer a:hover { color: var(--gold); }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 26px; padding: 16px; font-size: .8rem; text-align: center; }
.whatsapp { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; transition: .25s; z-index: 100; pointer-events: none; opacity: 0; }
.toast.show { opacity: 1; }
.toast.show { transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1024px) {
  .tryon-grid { grid-template-columns: 1fr; }
  .picker { position: static; max-height: none; }
  .thumbs { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); max-height: 420px; }
  .search input { width: 140px; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav { position: fixed; top: 96px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav .nav-admin { margin-left: 0; }
  .search { display: none; }
  .header-actions { margin-left: auto; }
  .hero-in, .pdp, .cart, .editor-grid { grid-template-columns: 1fr; }
  .hero-in { padding-top: 32px; padding-bottom: 32px; }
  .hero-art { min-height: 220px; }
  .shop { grid-template-columns: 1fr; }
  #filterBtn, .show-mobile { display: inline-flex; }
  .filters { display: none; position: fixed; inset: 0; z-index: 80; background: #fff; padding: 20px; overflow-y: auto; top: 0; }
  .filters.open { display: block; }
  .band-in { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px; }
  .card-name { font-size: .9rem; }
  .choices { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .stage { aspect-ratio: 3/4; border-radius: 14px; }
  .line { grid-template-columns: 80px 1fr; }
  .line-price { grid-column: 2; }
  .admin-row { grid-template-columns: 80px 1fr; }
  .admin-row .row-gap { grid-column: 1/-1; }
  .track li { font-size: .68rem; }
  .logo-text { font-size: 1.1rem; }
  .topbar { font-size: .72rem; }
}

/* fixes */
.tryon-grid > *, .pdp > *, .cart > *, .shop > *, .editor-grid > * { min-width: 0; }
@media (max-width: 1024px) { .tryon-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid label.chk { flex-direction: row; font-weight: 400; }
.fp img { max-height: 160px; width: 100%; object-fit: contain; }
.fp { max-height: 160px; }
[hidden] { display: none !important; }
