:root {
  --bg: #f4f3f0; --card: #ffffff; --ink: #15171c; --ink-2: #3a3e47; --muted: #6c707a; --line: #e6e3dd;
  --navy: #12141b; --navy-2: #1d2130; --accent: #ff5a3c; --accent-2: #ff8a3c; --accent-ink: #fff;
  --ok: #1f8a55; --warn: #c27c0e; --bad: #c4372b; --radius: 14px; --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 22, 30, .05), 0 6px 20px rgba(20, 22, 30, .06);
  --shadow-lg: 0 12px 40px rgba(20, 22, 30, .16);
  --c-sealed: #6d4bd8; --c-mib: #c58a00; --c-cib: #1f8a55; --c-loose: #59606d; --c-box: #8a6d4f; --c-manual: #4f7a8a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; background: var(--bg); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Kop ---------- */
.demo-bar { background: #000; color: #b9bcc6; font-size: 12.5px; text-align: center; padding: 5px 16px; }
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.top-in { max-width: 1240px; margin: 0 auto; display: flex; gap: 18px; align-items: center; padding: 12px 24px; }
.logo { font-weight: 900; font-size: 23px; text-decoration: none; letter-spacing: -1px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-size: 15px; box-shadow: 0 4px 14px rgba(255, 90, 60, .45); }
.logo .word > span { color: var(--accent); }
.search { flex: 1; position: relative; max-width: 620px; }
.search input { width: 100%; padding: 11px 16px 11px 42px; border: 0; border-radius: 99px; background: #fff; color: var(--ink); outline: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; display: none; z-index: 30; }
.suggest.open { display: block; }
.suggest { max-height: min(65vh, 480px); overflow-y: auto; }
.suggest a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; text-decoration: none; }
.suggest a:hover, .suggest a.active { background: #f6f4f1; }
.suggest .thumb { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; }
.suggest .t { font-weight: 600; line-height: 1.25; }
.suggest .m { color: var(--muted); font-size: 12.5px; }
.suggest .p { font-size: 13px; text-align: right; white-space: nowrap; }
.suggest .all { display: block; padding: 10px 14px; font-weight: 600; color: var(--accent); border-top: 1px solid var(--line); }
.top nav { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.top nav a, .top nav button { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 99px; background: transparent; border: 0; cursor: pointer; color: #e8e9ee; white-space: nowrap; }
.top nav a:hover, .top nav button:hover { background: var(--navy-2); }
.badge { background: var(--accent); color: #fff; border-radius: 99px; padding: 0 7px; font-size: 12px; min-width: 20px; text-align: center; line-height: 20px; }
.families { background: var(--navy-2); }
.families-in { max-width: 1240px; margin: 0 auto; display: flex; gap: 4px; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.families a { color: #c9ccd6; text-decoration: none; padding: 10px 14px; font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; white-space: nowrap; }
.families a:hover, .families a.on { color: #fff; border-bottom-color: var(--accent); }

main { max-width: 1240px; margin: 0 auto; padding: 28px 24px; min-height: 70vh; }
footer.site { background: var(--navy); color: #9da1ad; font-size: 13.5px; padding: 40px 24px; margin-top: 48px; }
footer.site .in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
footer.site b { color: #fff; display: block; margin-bottom: 6px; }
h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.6px; line-height: 1.15; }
h2 { font-size: 20px; margin: 36px 0 14px; letter-spacing: -.3px; display: flex; align-items: baseline; gap: 10px; }
h2 small { font-size: 14px; color: var(--muted); font-weight: 500; }
h2 a.more { margin-left: auto; font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); cursor: pointer; text-decoration: none; font-weight: 650; transition: transform .08s, background .15s; }
.btn:hover { background: #faf9f7; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: #f04b2d; }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.small { padding: 5px 12px; font-size: 13px; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .45; cursor: default; }
.icon-btn { border: 1px solid var(--line); background: #fff; width: 36px; height: 36px; border-radius: 99px; display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn.on { background: #ffece8; border-color: #ffc6b9; color: var(--accent); }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 400px at 85% -10%, rgba(255,138,60,.35), transparent 60%), radial-gradient(800px 400px at 0% 120%, rgba(109,75,216,.35), transparent 60%), var(--navy); color: #fff; border-radius: 22px; padding: 52px 44px; }
.hero h1 { font-size: 44px; max-width: 760px; letter-spacing: -1.2px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #c3c6d1; max-width: 600px; margin: 10px 0 26px; font-size: 17px; }
.hero .hero-search { max-width: 640px; }
.hero .hero-search input { padding: 16px 20px 16px 48px; font-size: 17px; }
.hero .hero-search svg { left: 18px; }
.hero .chips { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero .chips a { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: 5px 12px; border-radius: 99px; text-decoration: none; font-size: 13.5px; }
.hero .chips a:hover { background: rgba(255,255,255,.2); }
.stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 34px; }
.stats b { display: block; font-size: 28px; letter-spacing: -.5px; }
.stats span { color: #aeb2be; font-size: 13px; }
.hero-art { position: absolute; right: 40px; top: 50%; transform: translateY(-50%) rotate(-8deg); display: flex; gap: 14px; opacity: .95; pointer-events: none; }
.hero-art .cart { width: 120px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.hero-art .cart:nth-child(2) { transform: translateY(30px) rotate(6deg); }
.hero-art .cart:nth-child(3) { transform: translateY(-14px) rotate(-4deg); }
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.usp { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.usp b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.usp b i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff0ec; }
.usp span { color: var(--muted); font-size: 14px; }
.fam-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fam { border-radius: var(--radius); padding: 18px; color: #fff; text-decoration: none; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.fam:hover { transform: translateY(-3px); }
.fam b { font-size: 19px; letter-spacing: -.3px; }
.fam span { font-size: 13px; opacity: .85; }
.fam .plats { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.fam .plats a { font-size: 12px; background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 99px; text-decoration: none; }
.fam .plats a:hover { background: rgba(255,255,255,.32); }
.fam-Nintendo { background: linear-gradient(140deg, #e4413a, #a8261f); }
.fam-PlayStation { background: linear-gradient(140deg, #2f5bd3, #17318a); }
.fam-Xbox { background: linear-gradient(140deg, #2f9c4b, #176b2e); }
.fam-Sega { background: linear-gradient(140deg, #2c7fd0, #144f8f); }
.fam-Atari { background: linear-gradient(140deg, #6b5a4a, #3c3127); }

/* ---------- Kaarten ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card .t { font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { color: var(--muted); font-size: 12.5px; }
.card .price { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; }
.card .price b { font-size: 17px; color: var(--ink); letter-spacing: -.3px; }
.card .heart { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; }
.none { color: var(--muted); font-size: 13px; }
.plat-tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 11px; font-weight: 700; background: rgba(18,20,27,.82); color: #fff; padding: 2px 8px; border-radius: 99px; backdrop-filter: blur(4px); }

/* Afbeelding: echte doos, of getekende cartridge/disc */
.art { aspect-ratio: 1 / 1; background: linear-gradient(160deg, #f1efeb, #e3e0da); display: grid; place-items: center; overflow: hidden; position: relative; }
.art img { width: 100%; height: 100%; object-fit: contain; padding: 10px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.cart { background: var(--pc); width: 78%; aspect-ratio: 5 / 4.4; border-radius: 10px 10px 14px 14px; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: inset 0 -8px 0 rgba(0,0,0,.18), 0 8px 18px rgba(0,0,0,.18); }
.cart::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 8%; background: rgba(0,0,0,.2); border-radius: 0 0 6px 6px; }
.cart .label { width: 76%; height: 64%; background: #fdfcf9; border-radius: 6px; padding: 8%; display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 0 0 3px rgba(0,0,0,.05); }
.cart .label i { font-style: normal; font-size: 9.5px; font-weight: 800; color: var(--pc); text-transform: uppercase; letter-spacing: .4px; }
.cart .label s { text-decoration: none; font-weight: 850; font-size: 12.5px; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.disc { width: 74%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 30deg, #e9eef5, #c7d0dd, #f3f5f8, #b8c3d3, #e9eef5); display: grid; place-items: center; position: relative; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.disc::after { content: ""; position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 6px rgba(255,255,255,.7); }
.disc .label { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); width: 64%; text-align: center; }
.disc .label i { font-style: normal; display: inline-block; font-size: 9.5px; font-weight: 800; background: var(--pc); color: #fff; padding: 1px 8px; border-radius: 99px; text-transform: uppercase; }
.disc .label s { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 850; font-size: 11.5px; line-height: 1.15; margin-top: 4px; color: var(--ink); }
.console-art { width: 80%; aspect-ratio: 16/9; background: linear-gradient(160deg, var(--pc), #1c1f28); border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 850; text-align: center; padding: 10px; box-shadow: 0 10px 20px rgba(0,0,0,.25); font-size: 14px; }

/* Staat-labels */
.cond { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 99px; color: #fff; letter-spacing: .2px; white-space: nowrap; }
.cond-Sealed { background: var(--c-sealed); } .cond-MIB { background: var(--c-mib); } .cond-CIB { background: var(--c-cib); }
.cond-Loose { background: var(--c-loose); } .cond-Box { background: var(--c-box); } .cond-Manual { background: var(--c-manual); }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 99px; background: #f1efeb; border: 1px solid var(--line); white-space: nowrap; }
.flag { font-size: 15px; line-height: 1; }

/* ---------- Catalogus ---------- */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.sidebar { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow: auto; }
.sidebar h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 18px 0 8px; }
.sidebar h3:first-child { margin-top: 0; }
.sidebar label { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 14px; cursor: pointer; }
.sidebar label small { margin-left: auto; color: var(--muted); }
.sidebar select { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.toolbar .count { color: var(--muted); }
.toolbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.active-filters button { border: 0; background: var(--ink); color: #fff; border-radius: 99px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; }
.filter-toggle { display: none; }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 28px 0 0; }

/* ---------- Item ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.item-head { display: grid; grid-template-columns: 340px 1fr 300px; gap: 28px; align-items: start; }
.item-head .art { border-radius: var(--radius); box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 16px 0; font-size: 14.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.buybox { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: sticky; top: 130px; }
.buybox .from { color: var(--muted); font-size: 13.5px; }
.buybox .big { font-size: 34px; font-weight: 850; letter-spacing: -1px; }
.buybox .row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.buybox .actions { display: grid; gap: 8px; margin-top: 14px; }
.also { display: flex; gap: 6px; flex-wrap: wrap; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.guide div { background: #faf9f7; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.guide b { display: block; font-size: 20px; letter-spacing: -.4px; margin-top: 4px; }
.guide .m { color: var(--muted); font-size: 12.5px; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.checklist li { display: flex; gap: 10px; }
.checklist li::before { content: "✓"; color: var(--ok); font-weight: 900; }
table { width: 100%; border-collapse: collapse; }
.offers { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.offers th, .offers td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.offers th { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; background: #fbfaf8; }
.offers tr:last-child td { border-bottom: 0; }
.offers tr:hover td { background: #fcfbf9; }
td.num, th.num { text-align: right; white-space: nowrap; }
.seller-cell a { font-weight: 700; text-decoration: none; } .seller-cell a:hover { text-decoration: underline; }
.trust { font-size: 12px; color: var(--muted); }
.stars { color: #e0a100; }
.ph { display: inline-flex; gap: 3px; }
.ph span { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: #e9f6ef; color: var(--ok); }
.ph span.miss { background: #f3f1ed; color: #a7aab2; text-decoration: line-through; }
.report { border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.flagged { color: var(--bad); font-size: 12px; font-weight: 700; }
.offer-filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; background: #ebe8e3; border-radius: 99px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.seg button.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); color: var(--ink); }

/* Formulieren */
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; align-items: end; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 600; }
.form input, .form select { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: #fff; font-weight: 400; }
.form input:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.form .wide { grid-column: 1 / -1; }
.form .checks { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink); font-weight: 500; }
.form .checks label { flex-direction: row; align-items: center; color: var(--ink); font-weight: 500; }
.fee-calc { background: #fff6f3; border: 1px solid #ffd9cf; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; }
.fee-calc b { font-size: 16px; }

/* Verkoper */
.seller-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, var(--accent), #6d4bd8); color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 900; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px; }
.kpi { background: #faf9f7; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.kpi b { display: block; font-size: 20px; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pills button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 13px; cursor: pointer; font-weight: 650; font-size: 13.5px; }
.pills button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pills button small { opacity: .65; margin-left: 4px; }
.review { border-top: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.review:first-child { border-top: 0; }

/* Mandje / verlanglijst */
.seller-box { background: var(--card); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow); }
.seller-box > header { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.seller-box .line { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.seller-box .line .art { width: 56px; border-radius: 8px; }
.seller-box > footer { padding: 12px 18px; text-align: right; font-size: 14px; background: #fbfaf8; }
.summary { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: sticky; top: 130px; }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { font-size: 22px; font-weight: 850; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.qty { width: 64px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); }
.empty .big { font-size: 48px; }

/* Instellingen-paneel */
.drawer-bg { position: fixed; inset: 0; background: rgba(10,12,18,.45); z-index: 40; display: none; }
.drawer-bg.open { display: block; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 41; transform: translateX(100%); transition: transform .22s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer header { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer .in { padding: 18px 22px; overflow: auto; flex: 1; }
.drawer footer { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; }
.country-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.country-grid label { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; }
.country-grid label:has(input:checked) { border-color: var(--accent); background: #fff6f3; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 12px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; transition: transform .22s; z-index: 60; box-shadow: var(--shadow-lg); font-weight: 600; }
.toast.show { transform: translateX(-50%) translateY(0); }
.skeleton { background: linear-gradient(90deg, #ecebe7 25%, #f5f4f1 50%, #ecebe7 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); min-height: 260px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (max-width: 1100px) {
  .item-head { grid-template-columns: 280px 1fr; }
  .buybox { grid-column: 1 / -1; position: static; }
  .fam-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-art { display: none; }
}
@media (max-width: 820px) {
  .top-in { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .top nav a span.lbl, .top nav button span.lbl { display: none; }
  .families-in { padding: 0 12px; }
  main { padding: 18px 16px; }
  .hero { padding: 32px 22px; border-radius: 18px; }
  .hero h1 { font-size: 30px; }
  .usps { grid-template-columns: 1fr 1fr; }
  .fam-grid { grid-template-columns: 1fr 1fr; }
  .layout, .cart-layout, .two { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; display: none; }
  .sidebar.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .item-head { grid-template-columns: 1fr; }
  .item-head .art { max-width: 320px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .seller-hero { grid-template-columns: auto 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .offers { overflow-x: auto; }
  .hide-sm { display: none; }
  .seller-box .line { grid-template-columns: 48px 1fr auto; gap: 10px; padding: 10px 14px; }
  .seller-box .line > b { grid-column: 2 / -1; text-align: right; }
  .seller-box .line .art { width: 48px; }
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; padding: 10px 16px; box-shadow: 0 -6px 20px rgba(0,0,0,.1); z-index: 15; display: flex; justify-content: space-between; align-items: center; }
}
@media (min-width: 821px) { .sticky-buy { display: none; } }

.external-section{margin:32px 0;padding:24px;border:1px solid var(--line,#ddd);border-radius:16px}.external-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:20px 0}.external-card{padding:18px;border:1px solid var(--line,#ddd);border-radius:12px;overflow-wrap:anywhere}.external-card h3{margin:12px 0}.external-card small{font-weight:700}.external-card summary{cursor:pointer;text-decoration:underline;min-height:44px}.external-card details p{font-size:.9rem}.external-card .btn{white-space:normal}

.language-choice{max-width:1280px;margin:14px auto;padding:0 20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.language-choice label{font-weight:700}.language-choice select{min-height:44px;padding:8px}.language-choice p{font-size:.85rem;margin:0;flex-basis:100%}
