@font-face {
  font-family: Inter;
  src: url("/assets/donate/inter-cyrillic.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  src: url("/assets/donate/inter-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --surface: #0b1119;
  --panel: #101113;
  --border: #232124;
  --text: #f4f2ef;
  --muted: #aebcca;
  --warm: #ff9c44;
  --warm-bright: #ffae65;
  --ice: #ccecff;
  --wrap: 1168px;
  font-family: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); cursor: default; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--warm-bright); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; z-index: 4; top: 10px; left: 10px; transform: translateY(-180%); padding: 12px 16px; border-radius: 8px; background: var(--warm); color: #1b110b; }
.skip-link:focus { transform: translateY(0); }

.shop-snow {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.shop-snow::before,
.shop-snow::after {
  content: "";
  position: absolute;
  inset: -12% min(-56px, -8%) auto;
  height: calc(124% + var(--snow-height));
  background-size: var(--snow-width) var(--snow-height);
  animation: shop-snow-fall var(--snow-duration) linear infinite;
}

.shop-snow::before {
  --snow-width: 520px;
  --snow-height: 460px;
  --snow-duration: 33s;
  --snow-angle: -3deg;
  opacity: .64;
  background-image:
    radial-gradient(circle at 7% 11%, #f5f8ff 1px, transparent 1.8px),
    radial-gradient(circle at 22% 81%, #eefaff 1px, transparent 2.1px),
    radial-gradient(circle at 33% 62%, #fff 1.35px, transparent 2.3px),
    radial-gradient(circle at 51% 34%, #f5f8ff .8px, transparent 1.55px),
    radial-gradient(circle at 67% 17%, #def4ff .95px, transparent 1.9px),
    radial-gradient(circle at 72% 89%, #fff 1.25px, transparent 2.25px),
    radial-gradient(circle at 93% 47%, #f5f8ff 1px, transparent 1.7px);
}

.shop-snow::after {
  --snow-width: 580px;
  --snow-height: 530px;
  --snow-duration: 46s;
  --snow-angle: 4deg;
  opacity: .45;
  animation-delay: -17s;
  background-image:
    radial-gradient(circle at 10% 73%, #f5f8ff .7px, transparent 1.45px),
    radial-gradient(circle at 31% 38%, #fff .8px, transparent 1.5px),
    radial-gradient(circle at 47% 53%, #def4ff .85px, transparent 1.55px),
    radial-gradient(circle at 54% 95%, #fff 1px, transparent 1.7px),
    radial-gradient(circle at 69% 12%, #f5f8ff .7px, transparent 1.45px),
    radial-gradient(circle at 86% 56%, #f5f8ff .9px, transparent 1.6px);
}

@keyframes shop-snow-fall {
  from { transform: rotate(var(--snow-angle)) translateY(calc(-1 * var(--snow-height))); }
  to { transform: rotate(var(--snow-angle)) translateY(0); }
}

.site-bar { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #2d485c; background: linear-gradient(110deg, #101b28, #0c131c 72%); }
.site-bar-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 9px; font-size: 21px; line-height: 1; font-weight: 850; letter-spacing: -.055em; }
.brand > svg { width: 43px; height: 33px; color: var(--warm); }
.brand span span, .info-card h3 span { color: var(--warm); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 15px; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; font-size: 13px; font-weight: 730; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.button-primary { color: #1d0e04; border-color: #ffae66; background: linear-gradient(180deg, #ffa956, #f4862d); box-shadow: 0 5px 18px #7c331e40; }
.button-primary:hover { background: #ffb774; box-shadow: 0 6px 24px #c45a264a; }
.button-outline { color: var(--text); border-color: #62402c; background: #100e0de8; }
.button-outline:hover { border-color: #ff9c44; background: #241912; }
.header-cart { min-height: 37px; padding: 0 11px; border-color: #46677d; background: #132334; font-size: 12px; }
.header-cart:hover { border-color: #87b7d4; background: #1a354b; }
.header-cart .icon { color: var(--ice); width: 16px; height: 16px; }
.cart-count { min-width: 20px; padding: 3px 5px; border-radius: 6px; background: #4b2c1b; color: #ffd7b6; text-align: center; font-size: 10px; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 414px; display: grid; align-items: center; border-bottom: 1px solid #324b5e; background: #101c2a; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #08131fed, #0b1828bf 26%, #09162638 54%, transparent 73%), linear-gradient(0deg, #0b1119ad, transparent 38%); }
.hero-inner { padding-block: 46px; }
.hero-copy { max-width: 560px; position: relative; }
.hero-label { display: inline-block; color: var(--ice); background: #172c40e6; border: 1px solid #577994; border-radius: 6px; padding: 5px 8px; font-size: 10px; font-weight: 820; letter-spacing: .095em; }
.hero h1 { margin: 11px 0 10px; font-size: clamp(46px, 5.1vw, 77px); line-height: 1; letter-spacing: -.065em; font-weight: 900; text-shadow: 0 4px 22px #0007; }
.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--warm);
  background: linear-gradient(180deg, #ffc088 8%, #ff973d 68%, #e86e20);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  --snow-cap-top: .075em;
  --snow-cap-height: clamp(7px, .16em, 12px);
}
.hero-description { max-width: 386px; margin: 0; color: #dce8f3; font-size: clamp(14px, 1.14vw, 17px); line-height: 1.56; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 27px; }
.hero-actions .button { min-height: 48px; padding-inline: 15px; }
.hero-actions .icon, .address-button .icon { width: 1em; height: 1em; }
.button-arrow { margin-left: 3px; }
.address-button { background: none; border: none; padding: 0; display: inline-flex; align-items: center; gap: 9px; color: #cad8e5; margin-top: 18px; text-align: left; font-size: 12px; }
.address-button:hover { color: var(--text); }
.address-button code { font: inherit; letter-spacing: .015em; }
.ip-badge { color: var(--warm-bright); font-size: 9px; font-weight: 800; border: 1px solid #5b3b22; border-radius: 4px; padding: 2px 4px; }
.copy-message { display: block; min-height: 16px; margin-top: 6px; color: var(--warm-bright); font-size: 11px; }
.hero-copy .copy-message:empty { min-height: 0; margin-top: 0; }
.hero-online {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  width: min(100%, 316px);
  min-height: 46px;
  margin: 11px 0 0;
  padding: 6px 8px;
  border: 1px solid #62432b;
  border-radius: 9px;
  background: linear-gradient(110deg, #2a1c13ee, #151211f2 76%);
  box-shadow: 0 6px 18px #0003;
  font-size: 12px;
}
.hero-online dt { display: flex; align-items: center; gap: 8px; color: #eed8c5; }
.hero-online .feature-icon { position: relative; width: 30px; height: 30px; border: 1px solid #694425; border-radius: 7px; }
.hero-online .feature-icon .icon { width: 16px; height: 16px; }
.hero-online .status-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border: 2px solid #2a1c13;
  border-radius: 50%;
  background: #b29b86;
}
.hero-online .status-dot.is-online { background: #64e299; box-shadow: 0 0 9px #56db8960; }
.hero-online dd {
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #4a3930;
  border-radius: 6px;
  background: #231a16;
  color: #f2dbcb;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.hero-online:has(.status-dot.is-online) dd { border-color: #386347; background: #1a2c21; color: #a6e6b8; }

.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; padding: 0; margin-block: 19px 21px; list-style-type: none; }
.features li { display: flex; align-items: center; gap: 12px; min-height: 61px; padding: 10px 12px; border: 1px solid #2b4153; border-radius: 10px; background: linear-gradient(120deg, #152638, #101823 70%); color: #d8e3eb; font-size: 12px; line-height: 1.35; }
.feature-icon { display: inline-grid; flex: none; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: radial-gradient(circle at 30% 10%, #3c250f, #1b1410 76%); color: var(--warm); }
.feature-icon .icon { width: 17px; height: 17px; }

.catalog {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr) 226px;
  gap: 20px;
  scroll-margin-top: 78px;
  padding-block: 0 22px;
  background: radial-gradient(ellipse at 40% 28%, #203b5680, transparent 74%);
}
.catalog::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 64px -14px auto;
  height: min(600px, calc(100% - 64px));
  background: url("/assets/donate/hero-winter.webp") center 52% / cover no-repeat;
  mask-image: radial-gradient(ellipse, #000 13%, transparent 72%);
  opacity: .22;
  pointer-events: none;
}
.catalog-header { display: flex; align-items: center; min-height: 100px; justify-content: space-between; gap: 12px; padding-bottom: 15px; }
.section-label { color: var(--warm-bright); font-size: 10px; letter-spacing: .075em; font-weight: 850; }
.catalog h2 { margin: 3px 0 7px; font-size: clamp(21px, 2.12vw, 32px); line-height: 1.15; letter-spacing: -.045em; font-weight: 850; }
.catalog h2 span { color: var(--warm); }
.catalog-header p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.product { isolation: isolate; position: relative; overflow: hidden; min-width: 0; border: 1px solid color-mix(in srgb, var(--tone) 32%, #1a1a1d); border-radius: 9px; background: color-mix(in srgb, var(--tone) 10%, #0b0c10); transition: transform .2s, border-color .2s; }
.product:hover, .product:focus-within { transform: translateY(-3px); border-color: var(--tone); }
.product[data-tone="blue"] { --tone: #438bea; --tone-light: #b9dafa; }
.product[data-tone="amber"] { --tone: #dc8b20; --tone-light: #ffd484; }
.product[data-tone="green"] { --tone: #39ac66; --tone-light: #b1f0bf; }
.product[data-tone="cyan"] { --tone: #378db7; --tone-light: #b8e8ff; }
.product[data-tone="orange"] { --tone: #bd5c32; --tone-light: #ffd1af; }
.product[data-tone="red"] { --tone: #ae3f51; --tone-light: #ffc4cc; }
.product[data-tone="violet"] { --tone: #9d54d0; --tone-light: #e6bdff; }
.product-art { position: relative; aspect-ratio: 1 / .78; overflow: hidden; }
.product-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.product[data-product="phantom"] .product-art,
[data-product="phantom"] .product-cover {
  background: #101622 url("/assets/donate/phantom-night.webp") center / cover no-repeat;
}
.product[data-product="phantom"] .product-art img { object-fit: contain; object-position: center; padding: 6px; }
.product[data-product="enderman"] .product-art img { object-position: center 18%; }
.product-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--tone) 10%, #0b0c10), transparent 47%); }
.product-content {
  display: grid;
  flex: 1;
  grid-template-rows: 1fr auto auto;
  gap: 7px;
  min-height: 112px;
  padding: 8px 11px 11px;
  text-align: center;
}
.product-content h4 { font-size: clamp(14px, 1.3vw, 17px); margin: 0; line-height: 1.28; letter-spacing: -.022em; }
.product-price { color: #f1e9e3; font-size: 14px; font-weight: 760; }
.product-details { background: color-mix(in srgb, var(--tone) 18%, #09090d); color: var(--tone-light); border: 1px solid color-mix(in srgb, var(--tone) 55%, #101014); border-radius: 6px; padding: 0 6px; min-height: 37px; font-size: 12px; font-weight: 675; margin-top: 3px; }
.product-details:hover { background: color-mix(in srgb, var(--tone) 34%, #09090d); }

.catalog-aside { display: grid; align-content: start; gap: 10px; }
.info-card, .preview-note { background: linear-gradient(140deg, #17283a, #101823 68%); border: 1px solid #31485d; border-radius: 11px; }
.info-card { text-align: center; padding: 15px 12px 12px; }
.info-logo-wrap {
  display: inline-grid;
  width: 46px;
  height: 39px;
  place-items: center;
  border: 1px solid #704829;
  border-radius: 10px;
  background: radial-gradient(ellipse at 40% 10%, #533015, #231710 80%);
}
.info-logo { width: 30px; height: 24px; color: var(--warm-bright); }
.info-card h3 { margin: 8px 0 12px; font-size: 18px; line-height: 1; letter-spacing: -.04em; }
.mode-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
.mode-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 4px 7px;
  border: 1px solid #503726;
  border-radius: 6px;
  background: #281b13;
  color: #f3dbca;
  font-size: 11px;
  font-weight: 650;
}
.mode-name .icon, .server-info .icon { color: var(--warm-bright); }
.server-info { margin: 0; padding-top: 8px; border-top: 1px solid #3a2a20; text-align: left; font-size: 11px; }
.server-info > div { display: flex; justify-content: space-between; align-items: center; min-height: 22px; gap: 6px; }
.server-info dt { display: inline-flex; align-items: center; gap: 7px; color: #c6b4a6; }
.server-info dd { margin: 0; text-align: right; font-weight: 680; font-variant-numeric: tabular-nums; }
.preview-note { display: flex; align-items: center; gap: 10px; padding: 10px 11px; }
.preview-note b, .preview-note div span { display: block; font-size: 12px; line-height: 1.45; }
.preview-note div span { color: var(--muted); }
.preview-note .feature-icon { width: 34px; height: 34px; border: 1px solid #654324; border-radius: 8px; }

.recent-purchases {
  margin-block: 18px 30px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #3b281e;
  border-radius: 10px;
  background: radial-gradient(ellipse at 0 100%, #2d1a12, transparent 75%), #121011;
}
.recent-purchases h2 { display: flex; align-items: center; gap: 11px; margin: 0; font-size: clamp(19px, 2.1vw, 26px); letter-spacing: -.03em; }
.recent-purchases h2 .feature-icon { flex: none; }
#purchase-status { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.purchase-list { display: grid; grid-auto-flow: column; grid-auto-columns: min(192px, 75%); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #88502e #241914; margin: 16px 0 0; padding: 0 0 8px; list-style: none; }
.purchase-list[hidden] { display: none; }
.purchase-list:focus-visible { outline: 2px solid var(--warm-bright); outline-offset: 4px; }
.purchase-card { scroll-snap-align: start; min-width: 0; border: 1px solid #52321f; border-radius: 8px; background: #201712; padding: 9px; }
.purchase-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; background: #111318; }
.purchase-card h3 { margin: 8px 0; font-size: 13px; }
.purchase-details { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; color: #c7aaa0; font-size: 11px; }
.purchase-nickname { color: #edc4a6; font-weight: 650; }

.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; min-height: 52px; padding-block: 18px; border-top: 1px solid #202022; color: var(--muted); font-size: 11px; }
.footer-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; max-width: 100%; padding: 8px; border: 1px solid #50392a; border-radius: 10px; background: linear-gradient(120deg, #201710, #141214); }
.footer-socials-title { margin-inline: 4px; color: #e4c3a7; font-size: 12px; font-weight: 650; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 39px;
  padding-inline: 9px;
  border: 1px solid color-mix(in srgb, var(--social-color) 30%, #2c2220);
  border-radius: 7px;
  background: color-mix(in srgb, var(--social-color) 8%, #1c1718);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  transition: background-color .2s, border-color .2s;
}
.footer-socials a:hover { border-color: var(--social-color); background: color-mix(in srgb, var(--social-color) 16%, #1c1718); }
.footer-socials [data-social="telegram"] { --social-color: #6acbff; }
.footer-socials [data-social="vk"] { --social-color: #8cb9ff; }
.footer-socials [data-social="youtube"] { --social-color: #ff828b; }
.social-icon { flex: none; width: 16px; height: 16px; fill: var(--social-color); }

.dialog { position: fixed; padding: 0; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); color: var(--text); background: #141215; border: 1px solid #583720; border-radius: 14px; box-shadow: 0 25px 80px #000b; overflow: auto; }
.dialog::backdrop { background: #050408c9; }
.cart-dialog { background: linear-gradient(145deg, #182d42, #111b28 64%); border-color: #54768e; box-shadow: 0 25px 80px #02070fd9; }
.cart-dialog::backdrop { background: #030b15c9; }
.dialog-close { position: absolute; z-index: 1; display: grid; place-items: center; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid #665344; background: #121014e6; color: #fff; border-radius: 8px; }
.dialog-close:hover { border-color: var(--warm); }
.dialog-art { width: 100%; height: 172px; object-fit: cover; object-position: center 38%; }
.dialog-copy { padding: 24px; }
.dialog h2 { margin: 0 36px 9px 0; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.dialog p { margin: 9px 0; font-size: 14px; line-height: 1.55; color: #d6cbc4; }
.dialog .dialog-price { font-size: 20px; font-weight: 800; color: var(--warm-bright); }
.dialog .dialog-scope { border-radius: 8px; padding: 9px 12px; background: #302219; }
.dialog .dialog-footnote { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.dialog output { display: block; margin: 16px 0; overflow-wrap: anywhere; padding: 10px 12px; border: 1px solid #4b352a; border-radius: 6px; background: #0e0d10; color: var(--warm-bright); font: 14px ui-monospace, monospace; }

[hidden] { display: none !important; }

input[type="range"] { display: block; width: 100%; margin: 5px 0; cursor: pointer; accent-color: var(--warm); min-height: 24px; }
input[type="range"]:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; border-radius: 3px; }
.quantity-control { margin: 0 0 25px; padding: 15px; border: 1px solid #493324; border-radius: 9px; background: #1b1410; }
.quantity-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; flex-wrap: wrap; }
.quantity-heading label { font-size: 12px; font-weight: 650; color: #cdb7a7; }
.quantity-heading output { font-size: 17px; font-weight: 800; color: var(--warm-bright); }
.quantity-control input { margin-block: 13px 5px; }
.quantity-limits { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 11px; }
.quantity-control p { margin: 11px 0 0; font-size: 11px; color: #c3a98f; line-height: 1.5; }

@media (max-width: 1050px) {
  .catalog { grid-template-columns: minmax(0, 1fr) 190px; gap: 15px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .site-bar-inner { min-height: 56px; flex-wrap: wrap; gap: 10px; padding-block: 8px; }
  .brand { font-size: 19px; }
  .brand > svg { width: 36px; height: 29px; }
  .hero { min-height: 380px; align-items: end; }
  .hero::after { background: linear-gradient(90deg, #08131fe0, #0a18268a 48%, transparent 90%), linear-gradient(0deg, #0b1119f0, transparent 62%); }
  .hero-image { object-position: 62% 48%; }
  .hero-inner { padding-block: 41px 28px; }
  .features { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-block: 12px 16px; }
  .features li { padding: 7px; gap: 7px; font-size: 11px; min-height: 49px; }
  .features .feature-icon { width: 27px; height: 27px; }
  .features .feature-icon .icon { width: 15px; height: 15px; }
  .catalog { grid-template-columns: 1fr; gap: 17px; scroll-margin-top: 68px; }
  .catalog-header { min-height: 80px; }
  .catalog-aside { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }

}

@media (max-width: 620px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
}

@media (max-width: 470px) {
  .hero { min-height: 388px; }
  .hero-image { height: 235px; object-position: 65% 48%; }
  .hero::after { background: linear-gradient(0deg, #101c2a 43%, #101c2a80 60%, transparent 88%); }
  .hero-inner { padding-block: 147px 16px; }
  .hero h1 { font-size: clamp(32px, 10.4vw, 52px); margin-block: 9px; }
  .hero-description { max-width: 34ch; }
  .hero-actions { gap: 7px; margin-top: 17px; }
  .hero-actions .button { padding-inline: 9px; min-height: 42px; font-size: 12px; gap: 6px; }
  .button-arrow { display: none; }
  .address-button { margin-top: 14px; }
  .features { display: flex; flex-wrap: wrap; }
  .features li { flex: 1 1 30%; min-width: 99px; }
  .catalog-header p { font-size: 12px; }
  .product-details { min-height: 40px; }
  .catalog-aside { grid-template-columns: 1fr; }
  .footer-socials { gap: 5px; }
  .footer-socials-title { flex-basis: 100%; }
  .footer-socials a { min-height: 42px; padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shop-snow { display: none; }
  *, *::before, *::after { transition: none !important; }
}


.product-link { display: flex; height: 100%; flex-direction: column; }
.product-link .product-art { flex: none; }
.product-details { display: flex; align-items: center; justify-content: center; gap: 6px; }
.product-details .icon { width: 12px; height: 12px; }
.product-link:hover .product-details { background: color-mix(in srgb, var(--tone) 34%, #09090d); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 2px; }
.catalog-filters button { padding: 11px 13px; min-height: 40px; border: 1px solid #385770; border-radius: 7px; background: #142335; color: #bed4e6; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; transition: background-color .28s, color .28s, border-color .28s, box-shadow .28s; }
.catalog-filters button:hover { color: #eef8ff; border-color: #719cb9; }
.catalog-filters button[aria-pressed="true"] { background: var(--ice); color: #14283a; border-color: #e4f4ff; box-shadow: 0 0 14px #85caff32; }

.hero-actions .button-primary,
.header-cart,
.catalog-filters button[aria-pressed="true"] { position: relative; }

.hero-actions .button-primary { --snow-cap-width: min(53%, 95px); --snow-cap-left: 8px; }
.header-cart { --snow-cap-width: min(55%, 66px); --snow-cap-left: auto; --snow-cap-right: 6px; }
.hero h1 span::before { --snow-cap-width: 36%; --snow-cap-left: 2%; }
.hero h1 span::after { --snow-cap-width: 34%; --snow-cap-left: auto; --snow-cap-right: 4%; }

.hero-actions .button-primary::before,
.header-cart::before,
.catalog-filters button[aria-pressed="true"]::before,
.hero h1 span::before,
.hero h1 span::after {
  content: "";
  position: absolute;
  top: var(--snow-cap-top, -6px);
  left: var(--snow-cap-left, 4px);
  right: var(--snow-cap-right, auto);
  width: var(--snow-cap-width, min(66%, 64px));
  height: var(--snow-cap-height, 12px);
  pointer-events: none;
  background:
    radial-gradient(ellipse 18% 29% at 29% 33%, #fff 94%, transparent 100%),
    radial-gradient(ellipse 27% 30% at 60% 31%, #f8fdff 94%, transparent 100%),
    radial-gradient(ellipse 48% 30% at 50% 48%, #edf8ff 94%, transparent 100%),
    radial-gradient(ellipse 16% 39% at 23% 57%, #dcefff 94%, transparent 100%),
    radial-gradient(ellipse 12% 31% at 72% 55%, #dcefff 94%, transparent 100%);
  filter: drop-shadow(0 1px 1px #18354b59);
}

.catalog-status { margin: 10px 0 22px; color: var(--muted); font-size: 11px; }
.product-group + .product-group { margin-top: 28px; }
.product-group > h3 { margin: 0 0 13px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #ecd5c3; }
.product-page { padding-block: 30px 46px; min-height: calc(100vh - 117px); }
.back-to-catalog { display: inline-flex; align-items: center; gap: 9px; color: #c5b8ad; font-size: 13px; margin-bottom: 25px; }
.back-to-catalog:hover { color: var(--warm-bright); }
.product-page-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 54px; align-items: start; scroll-margin-top: 78px; }
.product-cover { aspect-ratio: 1; border: 1px solid #3e2c23; border-radius: 14px; overflow: hidden; background: #131114; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
[data-product="phantom"] .product-cover img { object-fit: contain; object-position: center; padding: 18px; }
.product-page-scope { margin: 17px 0 0; padding: 13px 16px; border: 1px solid #3c2d22; background: #1c1511; color: #dec2a9; border-radius: 8px; font-size: 13px; line-height: 1.55; }
.product-purchase { min-width: 0; padding-block: 8px; }
.product-purchase h1 { margin: 7px 0 14px; font-size: clamp(29px, 3vw, 43px); letter-spacing: -.045em; line-height: 1.15; }
.product-page-price { margin: 0 0 19px; color: var(--warm-bright); font-size: 30px; font-weight: 850; }
.product-page-description { margin: 0 0 27px; font-size: 14px; color: #c1b5ae; line-height: 1.65; }
.rank-benefits {
  margin: 0 0 22px;
  padding: 12px 13px;
  border: 1px solid #4b3324;
  border-radius: 10px;
  background: linear-gradient(135deg, #221810, #151215 76%);
}
.rank-benefits h2 { margin: 0 0 10px; color: #ffcfaa; font-size: 16px; }
.rank-benefits h3 { margin: 12px 0 4px; font-size: 13px; }
.rank-limits { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.rank-limits > div { flex: 1 1 100px; min-width: 0; padding: 6px 8px; border: 1px solid #49352a; border-radius: 6px; background: #1e1714; }
.rank-limits dt { color: #ccb9ab; font-size: 11px; line-height: 1.35; }
.rank-limits dd { margin: 3px 0 0; font-size: 14px; font-weight: 730; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rank-commands { margin: 0; }
.rank-commands > div {
  display: grid;
  grid-template-columns: minmax(84px, 2fr) minmax(0, 3fr);
  align-items: baseline;
  gap: 8px;
  padding-block: 5px;
  border-bottom: 1px solid #3c2a20;
  font-size: 12px;
  line-height: 1.45;
}
.rank-commands > div:last-child { border-bottom: 0; }
.rank-commands code { color: #ffba85; overflow-wrap: anywhere; }
.rank-commands dd { margin: 0; color: #ddd0c6; }
.rank-inherited { margin-top: 8px; padding-top: 7px; border-top: 1px solid #49352a; }
.rank-inherited summary { padding-block: 4px; color: #f0c3a0; font-size: 12px; font-weight: 650; cursor: pointer; }
.rank-inherited summary:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 3px; }
.nickname-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.checkout-input { width: 100%; padding: 13px; border: 1px solid #514035; border-radius: 7px; background: #141114; color: var(--text); font: inherit; font-size: 14px; cursor: text; }
.checkout-input:focus { outline: 2px solid var(--warm); outline-offset: 2px; }
.checkout-input[aria-invalid="true"] { border-color: #ee8c89; }
.checkout-input::placeholder { color: #8b817b; }
.nickname-help { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.nickname-error { color: #ffa7a1; font-size: 12px; line-height: 1.5; margin-bottom: 0; }
.promo-label { margin-top: 24px; }
.promo-label span { font-weight: 400; color: #a3968d; margin-left: 5px; font-size: 11px; }
.purchase-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; margin-block: 26px 18px; border-top: 1px solid #30241d; }
.purchase-total > span { color: #c6b8ad; font-size: 14px; }
.purchase-total strong { font-size: 27px; color: var(--warm-bright); }
.purchase-button { width: 100%; min-height: 49px; }
.purchase-button:disabled { cursor: default; opacity: .55; background: #b87238; border-color: #ab6b35; box-shadow: none; }
.add-to-cart { margin-bottom: 24px; }
.payment-status { margin: 11px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

.cart-dialog {
  inset: 0 0 0 auto;
  width: min(440px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: #141113;
  overscroll-behavior: contain;
}
.cart-dialog .dialog-copy { padding: 26px clamp(15px, 5vw, 24px); }
.cart-items { display: grid; gap: 8px; margin: 19px 0 23px; padding: 0; list-style: none; }
.cart-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid #473126;
  border-radius: 8px;
  background: #1e1613;
  font-size: 13px;
}
.cart-item img { border-radius: 5px; background: #121821; object-fit: cover; }
.cart-item-name a { display: block; font-weight: 700; line-height: 1.3; }
.cart-item-name a:hover { color: var(--warm-bright); }
.cart-item-name a:focus-visible { outline-offset: 2px; }
.cart-item-quantity { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.cart-item-price { color: var(--warm-bright); }
.cart-remove { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #543a2e; border-radius: 6px; background: #181211; color: #c9afa0; }
.cart-remove:hover { color: var(--text); border-color: var(--warm); }
.cart-checkout .promo-label { margin-top: 15px; }
.cart-checkout .nickname-error { color: #ffa7a1; font-size: 12px; }
.cart-checkout .payment-status { color: var(--muted); font-size: 12px; }
.cart-continue { width: 100%; margin-top: 14px; }

.missing-product { margin: 60px auto; max-width: 500px; text-align: center; }
.missing-product h1 { font-size: 30px; }
.missing-product p { margin-block: 15px 24px; color: var(--muted); }
@media (max-width: 760px) {
  .product-page { padding-block: 22px 30px; }
  .product-page-layout { grid-template-columns: 1fr; gap: 25px; }
  .product-showcase { width: 100%; max-width: 520px; margin-inline: auto; }
  .product-cover { max-height: 370px; }
  .product-cover img { object-position: center 35%; }
  .product-page-scope { margin-top: 12px; }
  .product-purchase { padding-block: 0; }
  .product-page-price { margin-bottom: 14px; }
}
@media (max-width: 470px) {
  .catalog-filters { gap: 6px; }
  .catalog-filters button { padding: 10px 11px; }
  .product-cover { max-height: 300px; }
  .checkout-input { font-size: 16px; }
}
