:root {
  --ink: #0f1b2d;
  --muted: #55657d;
  --bg: #f4f9fe;
  --card: #ffffff;
  --ice: #cfe8fa;
  --accent: #ff5a36;
  --accent-dark: #d94422;
  --line: #d6e3f0;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.bar { background: var(--ink); color: #fff; text-align: center; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; font-weight: 600; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(244, 249, 254, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 900; font-size: 22px; letter-spacing: -.03em; text-decoration: none; }
.logo span { color: var(--accent); }
.nav a.link { text-decoration: none; font-weight: 600; font-size: 14px; margin-left: 20px; color: var(--muted); }
.nav a.link:hover { color: var(--ink); }

.hero { padding: 36px 0 56px; }
.grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.gallery { position: sticky; top: 84px; }
.stage { background: radial-gradient(circle at 50% 35%, #ffffff 0%, var(--ice) 100%); border-radius: 24px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.stage svg, .stage img { width: 68%; height: auto; filter: drop-shadow(0 18px 24px rgba(15, 27, 45, .18)); }
.stage img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb { border: 2px solid transparent; background: var(--card); border-radius: 12px; padding: 6px; cursor: pointer; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.thumb[aria-pressed="true"] { border-color: var(--accent); }
.thumb svg, .thumb img { width: 70%; height: auto; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 10px; font-weight: 900; }
.tag { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.price { font-size: 30px; font-weight: 800; margin: 0 0 4px; }
.sub { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); margin: 18px 0 8px; display: flex; justify-content: space-between; }
.label b { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 14px; }

.faces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.face { text-align: left; border: 2px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
.face strong { display: block; font-size: 15px; }
.face small { color: var(--muted); font-size: 12.5px; }
.face[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 54, .15); }

.qty { display: inline-flex; border: 2px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--ice); }
.qty output { width: 44px; display: grid; place-items: center; font-weight: 700; }

.buy { width: 100%; margin-top: 22px; padding: 18px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; transition: background .15s, transform .05s; }
.buy:hover { background: var(--accent-dark); }
.buy:active { transform: translateY(1px); }
.buy[disabled] { opacity: .65; cursor: progress; }
.err { color: #b3261e; font-size: 14px; min-height: 20px; margin: 10px 0 0; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.facts li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 8px; }
.secure { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }

section.block { padding: 60px 0; }
section.block.alt { background: var(--card); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 24px; font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.size { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.size p { color: var(--muted); }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { background: var(--ink); color: #c9d6e6; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer a { text-decoration: none; margin-right: 18px; }
footer a:hover { color: #fff; }

.page { padding: 56px 0 80px; max-width: 760px; }
.page h1 { font-size: clamp(30px, 4vw, 42px); }
.page h2 { font-size: 20px; margin: 30px 0 8px; letter-spacing: -.01em; }
.page p, .page li { color: #2c3b52; }
.thanks { text-align: center; padding: 96px 0; }
.thanks .btn { display: inline-block; margin-top: 18px; padding: 14px 26px; border-radius: 12px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; }

@media (max-width: 860px) {
  .grid, .size { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .nav a.link.hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .buy { transition: none; } }
