:root {
  --ink: #15171c; --muted: #6b7079; --line: #e3e5e9; --bg: #f6f7f9; --card: #fff;
  --uf: #0d1b3e; --uf-accent: #e63946;
  --brand: var(--uf); --brand-accent: var(--uf-accent);
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
h1, h2, h3 { font-family: Oswald, Impact, sans-serif; letter-spacing: .5px; margin: 0 0 8px; line-height: 1.15; }
h1 { font-size: clamp(30px, 5vw, 46px); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 24px 20px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .muted-light { opacity: .8; }

.topbar { background: var(--uf); color: #fff; position: sticky; top: 0; z-index: 5; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: Oswald, Impact, sans-serif; font-size: 22px; text-decoration: none; letter-spacing: 1px; }
.logo span { color: var(--uf-accent); } .logo em { font-style: normal; font-family: Inter, sans-serif; font-size: 13px; opacity: .75; margin-left: 6px; letter-spacing: 0; }
.cart-link { text-decoration: none; font-weight: 600; }
.badge { background: var(--uf-accent); border-radius: 999px; padding: 0 7px; font-size: 12px; margin-left: 4px; }
.badge:empty { display: none; }

.hero { background: linear-gradient(135deg, var(--uf), #1b2f63); color: #fff; text-align: center; padding: 64px 20px; }
.hero p { opacity: .85; max-width: 560px; margin: 0 auto 24px; }
.search, .input { width: 100%; max-width: 460px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.section-title { font-size: 26px; margin-bottom: 16px; }

.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.store-card { background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .15s; }
.store-card:hover { transform: translateY(-2px); }
.store-card-band { height: 70px; background: linear-gradient(120deg, var(--p) 70%, var(--a) 70%); }
.store-card-body { padding: 16px; }

.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill-open { background: #e3f6ea; color: #13703a; } .pill-closed { background: #eceef1; color: #5a5f68; }

.store-hero { background: var(--brand); color: #fff; border-bottom: 6px solid var(--brand-accent); }
.store-hero p { opacity: .9; margin: 0 0 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.product-card .mock { background: #f1f2f4; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 16px; }
.pc-body { padding: 12px 14px 16px; } .pc-name { font-weight: 600; } .pc-meta { color: var(--muted); font-size: 14px; } .pc-price { font-weight: 700; margin-top: 4px; }

.back { text-decoration: none; color: var(--muted); font-weight: 600; display: inline-block; margin-bottom: 16px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-image { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.product-image .mock { width: 100%; display: block; }
.price { font-size: 26px; font-weight: 700; margin: 8px 0 16px; }
.field-label { display: block; font-weight: 600; margin: 16px 0 8px; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.swatch.on { outline: 3px solid var(--brand); outline-offset: 2px; }
.size { min-width: 52px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.size small { font-weight: 400; color: var(--muted); font-size: 11px; }
.size.on { background: var(--brand); color: #fff; border-color: var(--brand); } .size.on small { color: #fff; }
.row { display: flex; gap: 10px; margin-top: 20px; } .qty { width: 80px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); flex: 1; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.cart { max-width: 720px; }
.cart-line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-right { text-align: right; white-space: nowrap; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; display: block; margin-left: auto; }
.radio { display: block; margin: 6px 0; }
.cart-total { font-size: 20px; margin: 20px 0; }
.closed { text-align: center; padding: 64px 20px; }
.footer { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 40px; }

@media (max-width: 760px) { .product-layout { grid-template-columns: 1fr; } }
