/* iris studio — store styles
   Soft black + iris violet. Flat colours only: no gradients anywhere. */

:root {
  --ink: #0E0E10;          /* page */
  --band: #131316;         /* hero, strips */
  --ink-deep: #09090A;     /* code, inputs */
  --surface: #17171A;      /* cards */
  --raised: #202024;       /* hover */
  --line: #27272B;
  --violet: #9D5CFF;
  --violet-hover: #AE77FF;
  --violet-deep: #5B21B6;
  --violet-soft: #B794FF;
  --white: #FAFAFA;
  --muted: #A1A1AA;
  --dim: #6B6B74;
  --ok: #7CE0B5;
  --danger: #FF8A9A;

  --font: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.05; margin: 0; }
code, .mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--violet); }
.btn-pill { min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  min-height: 38px; padding: 6px 16px; background: var(--violet-deep); color: #fff;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-align: center;
}
.topbar-btn { padding: 2px 12px; border-radius: 999px; background: #fff; color: var(--violet-deep); text-decoration: none; font-weight: 800; }
.topbar-btn:hover { background: var(--violet-soft); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand img { height: 44px; width: auto; }
.nav {
  display: flex; gap: 2px; margin-inline: auto; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--band);
}
.nav a {
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--white);
}
.nav a:hover { background: var(--raised); }
.nav a[aria-current="page"] { background: var(--violet); color: #fff; }
.nav a.nav-hl { border: 1.5px solid var(--violet); color: var(--violet-soft); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 14px;
  border: 1.5px solid var(--violet); border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 800; font-size: 14px;
}
.cart-btn:hover { background: var(--violet); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 12px; display: grid; place-items: center; }
.cart-btn:hover .cart-count { background: #fff; color: var(--violet-deep); }
.cart-count[data-empty] { background: var(--raised); color: var(--muted); }
@media (max-width: 980px) { .nav { display: none; } .cart-btn { margin-left: auto; } .brand img { height: 38px; } }

/* ---------- hero ---------- */
.hero { background: var(--band); border-bottom: 1px solid var(--line); padding: 96px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 86px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; margin-bottom: 22px; }
.hero .lead { margin: 0 0 32px; color: var(--muted); font-size: 18px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.hero-note { font-size: 14px; color: var(--muted); margin-left: 6px; }
.hero-note b { color: var(--ok); font-family: var(--mono); font-weight: 500; }

.term { background: var(--ink-deep); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--dim); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--raised); }
.term-bar span { margin-left: 8px; }
.term pre { margin: 0; padding: 20px 22px 24px; min-height: 270px; font-family: var(--mono); font-size: 14px; line-height: 1.9; white-space: pre; overflow-x: auto; }
.t-c { color: var(--dim); } .t-k { color: var(--violet-soft); } .t-r { color: var(--white); } .t-ok { color: var(--ok); }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--violet); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .term pre { font-size: 12.5px; min-height: 0; }
}

/* ---------- compatibility strip ---------- */
.compat { background: var(--band); border-bottom: 1px solid var(--line); }
.compat-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; min-height: 64px; padding-block: 12px; }
.compat-left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.compat-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-right: 10px; }
.fw { padding: 3px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; background: var(--raised); border: 1px solid var(--line); }
.compat-right { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted); }
.compat-right b { color: var(--white); font-weight: 800; }

/* ---------- sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding: 88px 0; }
.pt-0 { padding-top: 0; }
.center-head { text-align: center; margin-bottom: 36px; }
.center-head h2, .h-left { font-size: clamp(30px, 3.8vw, 44px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.center-head p { margin: 10px 0 0; color: var(--violet-soft); font-weight: 600; }
.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); margin-bottom: 8px; }
.h-left { margin-bottom: 28px; }
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 20px; }
.row-head .h-left { margin-bottom: 0; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat { all: unset; cursor: pointer; display: grid; gap: 12px; text-align: center; }
.cat-tile {
  aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: var(--r-md);
  background: var(--surface); border: 1.5px solid var(--line); color: var(--violet); transition: border-color .15s, background .15s;
}
.cat-tile svg { width: 44px; height: 44px; }
.cat span { font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.cat { text-decoration: none; color: inherit; }
.cat small { margin-top: -8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.cat:hover .cat-tile { border-color: var(--violet); background: var(--raised); }

/* ---------- category page ---------- */
.cat-hero { background: var(--band); border-bottom: 1px solid var(--line); padding: 56px 0 48px; }
.cat-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span:last-child { color: var(--violet-soft); }
.cat-hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; }
.cat-hero p { margin: 14px 0 0; color: var(--muted); font-size: 18px; max-width: 34em; }
.cat-icon { flex: none; width: 120px; height: 120px; display: grid; place-items: center; border-radius: 24px; background: var(--surface); border: 1.5px solid var(--line); color: var(--violet); }
.cat-icon svg { width: 56px; height: 56px; }
.cat-list { padding-top: 40px; }
.count { margin: 0; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.cat-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding: 28px 32px; background: var(--band); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cat-cta h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; }
.cat-cta p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 640px) { .cat-icon { display: none; } .cat-hero { padding: 40px 0 32px; } }
.cat:focus-visible .cat-tile { outline: 2px solid var(--violet-soft); outline-offset: 3px; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- product card + poster ---------- */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .15s;
}
.card:hover { border-color: var(--violet-deep); }
.poster {
  all: unset; cursor: pointer; position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--violet);
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster.p1 { background: var(--violet); }
.poster.p2 { background: var(--violet-deep); }
.poster.p3 { background: var(--raised); }
.poster-name {
  position: absolute; left: 7%; top: 50%; translate: 0 -50%; width: 56%;
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; text-transform: uppercase; line-height: .92; color: #fff;
}
.poster.p3 .poster-name { color: var(--violet-soft); }
.poster-id { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: none; opacity: .75; }
.poster-hex { position: absolute; right: -6%; top: 50%; translate: 0 -50%; width: 46%; color: rgba(255,255,255,.16); }
.poster.p3 .poster-hex { color: rgba(157,92,255,.28); }
.poster:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: -4px; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 3px 10px; border-radius: 6px;
  background: #fff; color: var(--violet-deep); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em;
}
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 900; text-transform: uppercase; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 5px; background: var(--raised); color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.price { font-size: 20px; font-weight: 900; }
.price s { font-size: 14px; font-weight: 500; color: var(--dim); margin-right: 6px; }

/* featured (big) card */
.card.big .poster { aspect-ratio: auto; flex: 1; min-height: 280px; }
.card.big .poster-name { font-size: clamp(30px, 3.6vw, 50px); }
.card.big .card-body { padding: 22px 24px 24px; gap: 10px; }
.card.big h3 { font-size: 24px; }
.card.big p { font-size: 15px; }
.feat-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.feat-list li { display: flex; gap: 10px; align-items: baseline; }
.feat-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); translate: 0 -2px; }

/* layouts */
.popular { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.popular .big { grid-row: span 2; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .popular { grid-template-columns: 1fr 1fr; } .popular .big { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid, .popular { grid-template-columns: 1fr; } }

/* ---------- catalog controls ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
}
.chip:hover { color: var(--white); border-color: var(--violet); }
.chip[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.search { position: relative; flex: 0 1 280px; }
.search input { width: 100%; min-height: 44px; padding: 0 14px 0 42px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: var(--violet); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 16px; color: var(--dim); }
@media (max-width: 640px) { .search { flex-basis: 100%; } }
.empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-md); }

/* ---------- bundles & custom panel ---------- */
.panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 48px; background: var(--band); border: 1px solid var(--line); border-radius: 20px; }
.panel-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; text-transform: uppercase; margin-bottom: 16px; }
.panel-copy p { color: var(--muted); margin: 0 0 20px; max-width: 34em; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--violet); font-weight: 900; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--line); }
.offer.hl { border-color: var(--violet); }
.offer .eyebrow { margin: 0; color: var(--muted); }
.offer h3 { font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--violet-soft); }
.offer .big-price { font-size: 40px; font-weight: 900; line-height: 1; margin-top: 10px; }
.offer .big-price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.offer p { margin: 6px 0 14px; color: var(--muted); font-size: 14px; }
.offer .btn { margin-top: auto; }
.offer-tag { position: absolute; top: -11px; right: 16px; padding: 2px 10px; border-radius: 6px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 980px) { .panel { grid-template-columns: 1fr; padding: 28px; gap: 32px; } }
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.tab { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; cursor: pointer; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--violet); color: #fff; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 800; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; translate: 0 -3px; transition: rotate .2s, translate .2s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--band); padding: 48px 0 28px; color: var(--muted); font-size: 15px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.foot-grid img { height: 40px; width: auto; margin-bottom: 10px; }
.foot-grid p { margin: 0; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-weight: 700; }
.site-foot nav a { text-decoration: none; }
.site-foot nav a:hover { color: var(--white); }
.foot-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

.discord-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 54px; height: 54px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; }
.discord-fab:hover { background: var(--violet-hover); }
.discord-fab svg { width: 26px; height: 26px; }

/* ---------- cart drawer (server.cfg) ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .65); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 60; top: 0; bottom: 0; right: 0; width: min(440px, 100%); background: var(--ink); border-left: 1px solid var(--line); display: flex; flex-direction: column; translate: 100% 0; transition: translate .25s ease; visibility: hidden; }
.drawer.open { translate: 0 0; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .drawer, .scrim { transition: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; font-weight: 900; text-transform: uppercase; }
.drawer-head h2 code { font-size: 13px; color: var(--dim); font-weight: 400; text-transform: none; margin-left: 6px; }
.icon-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; }
.cfg { flex: 1; overflow: auto; padding: 18px 20px; background: var(--ink-deep); font-family: var(--mono); font-size: 13.5px; line-height: 2; }
.cfg-line { display: flex; align-items: center; gap: 10px; }
.cfg-line .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-line .cost { color: var(--dim); }
.cfg-line button { all: unset; cursor: pointer; color: var(--dim); width: 24px; text-align: center; border-radius: 4px; }
.cfg-line button:hover { color: var(--danger); }
.cfg-line button:focus-visible { outline: 2px solid var(--violet-soft); }
.cfg-empty { color: var(--muted); font-family: var(--font); line-height: 1.6; margin: 0; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { color: var(--muted); }
.total b { font-size: 26px; font-weight: 900; }

/* ---------- dialogs & forms ---------- */
dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink); color: var(--white); }
dialog::backdrop { background: rgba(0, 0, 0, .75); }
.dlg-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 22px 24px 0; }
.dlg-head h2 { font-size: 26px; font-weight: 900; text-transform: uppercase; }
.res { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.dlg-body { padding: 16px 24px 24px; display: grid; gap: 16px; }
.dlg-body > p { margin: 0; color: var(--muted); }
.dlg-poster { border-radius: var(--r-md); overflow: hidden; }
.feat { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feat li { display: flex; gap: 10px; font-size: 15px; }
.feat svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ok); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.specs div { background: var(--surface); padding: 12px 14px; }
.specs dt { font-size: 12px; color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.specs dd { margin: 0; font-weight: 800; font-size: 15px; }
.dlg-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.receipt { margin: 0; padding: 16px; border-radius: var(--r-md); background: var(--ink-deep); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.8; white-space: pre-wrap; max-height: 240px; overflow: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 14px; font-weight: 800; }
.field .hint { font-size: 13px; color: var(--dim); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--ink-deep); border: 1px solid var(--line); border-radius: var(--r-sm); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } .specs { grid-template-columns: 1fr; } }

.dlg-poster .poster { width: 100%; cursor: default; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); }
.gallery a:hover img { border-color: var(--violet); }
.sale-note { margin: 0; font-size: 13px; color: var(--violet-soft); font-weight: 700; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; text-transform: uppercase; }
.code-row .btn { min-height: 46px; }
.sum { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.sum div { display: flex; justify-content: space-between; color: var(--muted); }
.sum .sum-disc { color: var(--ok); }
.sum .sum-total { color: var(--white); padding-top: 6px; border-top: 1px solid var(--line); }
.sum .sum-total b { font-size: 22px; font-weight: 900; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 80; bottom: 24px; left: 50%; translate: -50% 20px; padding: 12px 20px; border-radius: var(--r-sm); background: var(--white); color: var(--ink); font-weight: 800; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; translate: -50% 0; }
