:root{
  --bg:var(--tg-theme-bg-color,#f5f5f5);
  --card:var(--tg-theme-secondary-bg-color,#fff);
  --text:var(--tg-theme-text-color,#121212);
  --muted:var(--tg-theme-hint-color,#747474);
  --accent:#111;
  --accent-text:#fff;
  --brand:#d7ff3f;
  --border:rgba(127,127,127,.18);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;padding-bottom:max(22px,env(safe-area-inset-bottom))}
button,input,textarea{font:inherit}
button{cursor:pointer}
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.brand-lockup{display:flex;align-items:center;gap:10px}.brand-logo{width:42px;height:42px;border-radius:12px}.eyebrow{font-size:9px;letter-spacing:.15em;color:var(--muted);font-weight:800}.topbar h1{font-size:18px;margin:2px 0 0;letter-spacing:.02em}
.cart-button{border:0;background:var(--card);color:var(--text);border-radius:999px;padding:11px 14px;box-shadow:0 4px 18px rgba(0,0,0,.07);font-weight:800}
main{max-width:1180px;margin:auto;padding:0 14px}
.hero{position:relative;overflow:hidden;margin:14px 0 16px;min-height:245px;border-radius:26px;background:linear-gradient(135deg,#0b0b0b,#202020 62%,#0a0a0a);color:#fff;display:flex;align-items:center}
.hero-copy{position:relative;z-index:2;padding:28px;max-width:690px}.hero h2{font-size:34px;line-height:1.02;margin:12px 0 12px;letter-spacing:-.03em}.hero p{max-width:560px;color:#d5d5d5;margin:0;line-height:1.45}.pill{display:inline-flex;border:1px solid rgba(215,255,63,.45);color:var(--brand);padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em}
.hero-art{position:absolute;right:-15px;bottom:-10px;height:108%;width:auto;opacity:.95;pointer-events:none}
.category-block{margin:4px 0 18px}.section-label{font-size:13px;font-weight:850;margin:0 2px 9px}
.filters{display:flex;gap:9px;overflow-x:auto;padding:2px 1px 7px;scroll-snap-type:x proximity;scrollbar-width:thin}
.chip{flex:0 0 auto;min-height:48px;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);background:var(--card);color:var(--text);padding:12px 15px;border-radius:15px;font-weight:750;scroll-snap-align:start}
.chip span{font-size:18px}.chip.active{background:#111;color:#fff;border-color:#111}
.section-head{display:flex;justify-content:space-between;align-items:center;margin:8px 2px 10px}.section-head h3{font-size:21px;margin:0}.section-head span{font-size:12px;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card{background:var(--card);border-radius:18px;overflow:hidden;border:1px solid var(--border)}
.card-image-wrap{aspect-ratio:1/1;overflow:hidden;background:#e9e9e9}.card-image{width:100%;height:100%;object-fit:cover;display:block}
.card-body{padding:11px}.card-category{color:var(--muted);font-size:10px;margin-bottom:4px}.card-title{font-weight:800;font-size:14px;line-height:1.2;min-height:34px}.card-price{margin-top:8px;font-weight:900;font-size:16px}.card-old{color:var(--muted);text-decoration:line-through;font-size:11px;margin-left:5px}
.sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:80}.sheet{position:fixed;z-index:90;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,760px);max-height:92vh;overflow:auto;background:var(--bg);border-radius:28px 28px 0 0;box-shadow:0 -20px 60px rgba(0,0,0,.22)}
.sheet-close{position:sticky;float:right;top:12px;right:12px;z-index:3;border:0;width:38px;height:38px;border-radius:50%;background:rgba(20,20,20,.78);color:#fff;font-size:25px}.sheet-image{display:block;width:100%;aspect-ratio:16/11;object-fit:cover;background:#e9e9e9}
.product-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 14px;background:var(--card)}.product-thumb{width:64px;height:64px;flex:0 0 auto;border-radius:10px;object-fit:cover;border:2px solid transparent;background:#eee}.product-thumb.active{border-color:#111}
.sheet-body{padding:20px}.sheet-body h2{margin:4px 0 10px;font-size:25px}.muted{color:var(--muted);font-size:13px}.price-line{display:flex;align-items:center;gap:9px;margin-bottom:14px}.price-line strong{font-size:24px}.old-price{color:var(--muted);text-decoration:line-through}.sizes{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 18px}.size{border:1px solid var(--border);background:var(--card);color:var(--text);padding:11px 15px;border-radius:12px}.size.active{border-color:#111;box-shadow:inset 0 0 0 1px #111}.primary{width:100%;border:0;background:#111;color:#fff;font-weight:850;border-radius:14px;padding:15px 16px}.primary:disabled{opacity:.55}
.cart-row{display:grid;grid-template-columns:54px 1fr auto;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.cart-row img{width:54px;height:54px;object-fit:cover;border-radius:10px;background:#eee}.cart-row-title{font-weight:750;font-size:14px}.cart-row-meta{font-size:12px;color:var(--muted);margin-top:3px}.cart-remove{border:0;background:transparent;color:#c33}.cart-total{display:flex;justify-content:space-between;font-size:18px;padding:18px 0}form{display:grid;gap:8px}form h3{margin:10px 0 4px}label{font-size:13px;font-weight:650}input,textarea{width:100%;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:12px;padding:12px;outline:none}.toast{position:fixed;z-index:120;left:50%;bottom:22px;transform:translateX(-50%);background:#151515;color:#fff;padding:12px 16px;border-radius:12px;max-width:90%;text-align:center}.hidden{display:none!important}.empty{color:var(--muted);text-align:center;padding:28px 8px}
@media(min-width:700px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero h2{font-size:42px}.hero-copy{padding:36px}}
@media(min-width:1000px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:300px}.hero h2{font-size:50px}}
@media(min-width:1280px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:560px){.hero{min-height:250px}.hero-copy{padding:22px}.hero h2{font-size:30px;max-width:92%}.hero p{max-width:88%;font-size:13px}.hero-art{right:-100px;opacity:.62;height:103%}.chip{min-height:50px;padding:12px 16px;font-size:14px}.filters{gap:8px}.brand-logo{width:39px;height:39px}.topbar{padding:10px 12px}}
