:root {
  --bg: #0A0C0E;
  --surface: #0E1114;
  --surface2: #111418;
  --line: #1C2128;
  --line2: #2A313A;
  --text: #F2F5F7;
  --soft: #C5CCD6;
  --muted: #8A93A0;
  --dim: #6B7480;
  --green: #2EE57A;
  --green-ink: #04210F;
  --blue: #3D8BFF;
  --blue-ink: #04102B;
  --display: 'Outfit', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --body: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: #8BB8FF; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; }
.muted { color: var(--dim); }
.g { color: var(--green); }
.b { color: var(--blue); }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand.small { font-size: 20px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; }
.nav a { padding: 12px 14px; color: var(--soft); text-decoration: none; }
.nav a.on, .nav a:hover { color: var(--blue); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 26px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-decoration: none; border-radius: 4px; border: 0; cursor: pointer; }
.btn-blue { background: var(--blue); color: var(--blue-ink); }
.btn-blue:hover { background: #64A3FF; color: var(--blue-ink); }
.btn-green { background: var(--green); color: var(--green-ink); }
.btn-green:hover { background: #5DF098; color: var(--green-ink); }
.btn-ghost { border: 1px solid var(--line2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--soft); color: var(--text); }
.btn-outline-green { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--green); color: var(--green); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-decoration: none; border-radius: 4px; }
.btn-outline-green:hover { background: var(--green); color: var(--green-ink); }

/* type */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 5px; color: var(--green); text-transform: uppercase; }
.h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 7vw, 88px); line-height: 0.95; letter-spacing: -2.5px; text-transform: uppercase; }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
.lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--muted); }

/* sections */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-decoration: none; padding: 10px 0; }
.rule-title { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.rule-title span:first-child { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 4px; color: var(--green); white-space: nowrap; }
.rule-title span:last-child { flex-grow: 1; height: 1px; background: var(--line); }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-art { flex: 1 1 360px; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 460px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: #fff; box-shadow: 0 30px 80px rgba(61, 139, 255, 0.22); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* category bar */
.catbar { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 16px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; }
.catbar .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--green); }
.catbar a { padding: 10px 8px; color: var(--soft); text-decoration: none; }
.catbar a:hover { color: var(--blue); }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--text); text-decoration: none; }
.card:hover { color: var(--text); }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--surface2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.no-photo { width: 100%; height: 100%; border: 1px dashed var(--line2); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--dim); }
.price-chip { position: absolute; left: 14px; bottom: 14px; background: var(--bg); color: var(--text); font-family: var(--display); font-weight: 800; font-size: 15px; padding: 7px 12px; border-radius: 3px; }
.price-chip.ask { background: var(--green); color: var(--green-ink); font-size: 12px; letter-spacing: 1px; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; }
.label { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 2px; }
.label.green { color: var(--green); }
.label.muted { color: var(--dim); font-weight: 400; }
.card-title { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.3px; text-transform: uppercase; }
.card-desc { color: var(--muted); font-size: 14px; margin-top: -4px; }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 40px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.panel-col { display: flex; flex-direction: column; gap: 16px; }
.big-price { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -2px; color: var(--blue); }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.banner > div { flex: 1 1 440px; display: flex; flex-direction: column; gap: 12px; }

/* about */
.makers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.maker { display: flex; flex-direction: column; gap: 16px; }
.maker .card-img img { object-position: center 30%; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.values div { display: flex; flex-direction: column; gap: 10px; }
.values strong { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* contact */
.contact-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.contact-list a span:first-child { display: flex; flex-direction: column; gap: 6px; }
.contact-list .big { font-family: var(--display); font-weight: 800; font-size: 24px; word-break: break-word; }

/* form */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 16px; letter-spacing: 0; color: var(--text); background: var(--bg);
  border: 1px solid var(--line2); border-radius: 4px; padding: 14px 16px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { resize: vertical; line-height: 1.5; }
.field input[type=file] { padding: 12px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 0; color: #E6EAF0; background: var(--bg); border: 1px solid var(--line2); border-radius: 4px; }
.swatch i { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #3A424D; }
.swatch input:checked + span { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.swatch input:checked + span i { border-color: var(--green-ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.notice { padding: 18px 20px; border-radius: 4px; font-weight: 700; }
.notice.ok { background: rgba(46, 229, 122, 0.12); border: 1px solid var(--green); color: var(--green); }
.notice.err { background: rgba(255, 90, 90, 0.10); border: 1px solid #FF6B6B; color: #FF8C8C; }
.hp { position: absolute; left: -9999px; }

/* steps + faq */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 28px; }
.steps div { display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; }
.steps strong { font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq div { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq strong { font-family: var(--display); font-weight: 800; font-size: 18px; text-transform: uppercase; }
.faq span { color: var(--muted); }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; }
.footer-links a { color: var(--soft); text-decoration: none; }

@media (max-width: 640px) {
  .header-row { justify-content: center; }
  .nav a { padding: 10px 10px; }
  .panel { padding: 26px; }
  .hero { padding-top: 48px; padding-bottom: 48px; gap: 36px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
}

/* cart buttons + cart page */
.card-form { margin: 0; }
.card-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 4px; padding: 12px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; color: var(--text); font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-decoration: none; cursor: pointer; }
.card-btn:hover { border-color: var(--green); color: var(--green); }
.card-btn.add { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.card-btn.add:hover { background: #64A3FF; color: var(--blue-ink); }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: var(--soft); border: 1px solid var(--line2); border-radius: 4px; }
.cart-link:hover { color: var(--blue); border-color: var(--blue); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line .ph { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; background: var(--surface2); }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 40px; height: 40px; border: 1px solid var(--line2); background: transparent; color: var(--text); border-radius: 4px; font-size: 18px; cursor: pointer; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.totals { display: flex; flex-direction: column; gap: 10px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals .grand { font-family: var(--display); font-weight: 800; font-size: 26px; padding-top: 12px; border-top: 1px solid var(--line); }
.status { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: 1px; }
.status.wait { background: rgba(61,139,255,.15); color: var(--blue); }
.status.pay { background: rgba(253,216,53,.15); color: #FDD835; }
.status.ok { background: rgba(46,229,122,.15); color: var(--green); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review .st { color: #FDD835; font-size: 20px; letter-spacing: 2px; }
.rating-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-pick label { font-size: 34px; color: #3A424D; cursor: pointer; line-height: 1; padding: 4px; }
.rating-pick input:checked ~ label, .rating-pick label:hover, .rating-pick label:hover ~ label { color: #FDD835; }
.rating-pick input:focus-visible + label { outline: 2px solid var(--blue); }
.policy p { color: var(--soft); font-size: 17px; line-height: 1.8; margin: 0 0 18px; }
@media (max-width: 640px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-line > :last-child { grid-column: 2; } .cart-line img, .cart-line .ph { width: 64px; height: 64px; } }
button.btn-outline-green { background: transparent; cursor: pointer; }
@media (max-width: 640px) {
  .header-row { gap: 10px; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: space-between; font-size: 13px; letter-spacing: 1px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 10px 6px; white-space: nowrap; }
}

.color-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line2); border-radius: 4px; }
.color-row label { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; min-width: 0; }
.color-pick { display: flex; align-items: center; gap: 10px; flex: 0 1 230px; }
.color-pick .dot { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #3A424D; }
.color-pick select { flex: 1; min-height: 46px; padding: 10px 12px; font-family: var(--body); font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line2); border-radius: 4px; }
.color-pick select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.item-colors { color: var(--green); font-size: 14px; }
