@font-face {
  font-family: Inter;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root:has(.storefront) {
  --bg: #0b1020;
  --surface: #121b2e;
  --line: #2b3650;
  --ink: #f3f5ff;
  --muted: #aab8d2;
  --bright: #b7c5ff;
  --press: cubic-bezier(.23, 1, .32, 1);
  font-family: Inter, system-ui, sans-serif;
}
.storefront .wrap { width: min(100% - var(--pad) * 2, 1220px); }
.storefront .site-header { background: var(--bg); border-color: var(--line); }
.storefront .header-inner { min-height: 80px; }
.storefront .logo { font-style: normal; font-size: .79rem; letter-spacing: .045em; }
.storefront .logo-shop { color: var(--bright); }
.storefront .head-links { gap: clamp(20px, 3vw, 46px); font-weight: 500; }
.storefront .button {
  border-radius: 9px;
  min-height: 46px;
  transition: transform 150ms var(--press);
}
.storefront .button:active { transform: none; }
.storefront .button:active:not(:focus-visible) { transform: scale(.97); }
.storefront .card-action:active:not(:focus-visible) { transform: none; }
.storefront .primary { color: #141d38; background: #dce5ff; }
.storefront .outline { background: transparent; border-color: #445373; }
.storefront .telegram { min-height: 40px; }
.storefront .hero {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(26px, 5vw, 76px);
  padding-block: clamp(33px, 5vw, 76px);
}
.storefront .hero-copy { padding: 0; }
.storefront .eyebrow { color: var(--bright); font: 650 .77rem/1.35 Inter, sans-serif; letter-spacing: .12em; }
.storefront .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: #9babff; transform: none; }
.storefront .hero h1 {
  margin-block: 18px 20px;
  font: 780 clamp(2.9rem, 6vw, 6rem)/.97 Inter, sans-serif;
  letter-spacing: -.07em;
  text-transform: none;
}
.storefront .hero h1 em { font-style: normal; color: #a7b6ff; }
.storefront .hero-intro { max-width: 32ch; color: var(--muted); line-height: 1.58; }
.storefront .hero .button { min-height: 50px; border-radius: 9px; gap: 20px; }
.storefront .hero .button span { font-size: 1.15rem; }
.storefront .specimen {
  width: 100%;
  margin: 0;
  border: 1px solid #536497;
  border-radius: 15px;
  overflow: hidden;
  background: #131d35;
}
.storefront .specimen-frame {
  height: clamp(285px, 34vw, 480px);
  min-height: 0;
  background:
    linear-gradient(180deg, #121b4200 64%, #131c39 100%),
    radial-gradient(ellipse at 63% 28%, #748cef 0, #465eb6 35%, #293b81 70%, #1b2856 100%);
}
.storefront .target-rings {
  width: 76%;
  border: 1px solid #dfe7ff40;
  border-radius: 50%;
  transform: none;
}
.storefront .target-rings::before, .storefront .target-rings::after { border-color: #dfe7ff26; }
.storefront .target-rings::after { inset: -13%; }
.storefront #specimen-photo {
  inset: 3% 6% auto;
  width: 88%;
  height: 81%;
  transform: rotate(-9deg);
  filter: drop-shadow(4px 19px 13px #0e163b9c);
}
.storefront .specimen-frame[data-specimen="decks"] #specimen-photo { transform: rotate(-14deg); }
.storefront .specimen-frame[data-specimen="forks"] #specimen-photo { transform: rotate(-18deg); }
.storefront .specimen-frame[data-specimen="clamps"] #specimen-photo { transform: rotate(-12deg); }
.storefront .plate, .storefront .measure { bottom: 17px; background: none; padding: 0; color: #f3f6ff; }
.storefront .plate { left: 20px; border: 0; gap: 2px; }
.storefront .plate span { color: #c5d0ee; }
.storefront .plate strong { font-size: clamp(1.05rem, 2.2vw, 1.55rem); letter-spacing: -.035em; }
.storefront .measure { right: 20px; font-size: .69rem; text-align: right; }
.storefront .specimen-picker {
  padding: 6px;
  gap: 3px;
  background: #131d35;
  border-top: 1px solid #526294;
}
.storefront .specimen-picker button {
  background: transparent;
  border-radius: 7px;
  box-shadow: none;
  color: #bfcbe3;
  font-weight: 600;
  transition: transform 150ms var(--press);
}
.storefront .specimen-picker button:active:not(:focus-visible) { transform: scale(.97); }
.storefront .specimen-picker button[aria-pressed="true"] { background: #dce5ff; color: #171f3b; }
.storefront .catalog { padding-block: clamp(33px, 5vw, 64px); }
.storefront .catalog-heading h2, .storefront .order h2, .storefront .part-request h2 {
  font: 750 clamp(2rem, 4vw, 3.65rem)/1.02 Inter, sans-serif;
  text-transform: none;
  letter-spacing: -.065em;
}
.storefront .catalog-heading { align-items: end; }
.storefront .search { flex-basis: 325px; }
.storefront input, .storefront select, .storefront textarea { background-color: #10192d; border-radius: 8px; }
.storefront .catalog-controls { margin-top: 18px; }
.storefront .filter { border-radius: 7px; background: none; font-weight: 590; }
.storefront .filter[aria-pressed="true"] { color: #141d38; background: #dce5ff; border-color: #dce5ff; }
.storefront .results { margin: 13px 0 11px; }
.storefront .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.storefront .products:has(> .product:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.storefront .product { border-radius: 13px; overflow: clip; }
.storefront .product-cover { border-radius: 12px 12px 0 0; aspect-ratio: 1.24; max-height: 340px; background: #101726; }
.storefront .product-cover.demo-photo { background: linear-gradient(145deg, #e1e9fa, #abbce4); }
.storefront .product-body { border-top: 1px solid var(--line); }
.storefront .item-category { color: #bdcaff; font-size: .72rem; }
.storefront .listing-badge { border-radius: 6px; white-space: nowrap; }
.storefront .card-action::after { border-radius: 12px; }
.storefront .card-action:focus-visible::after { outline-offset: -3px; z-index: 2; pointer-events: none; }
.storefront .part-request, .storefront .order { padding: clamp(21px, 4vw, 48px); border: 1px solid var(--line); border-radius: 13px; }
.storefront .part-request { background: #131d32; gap: 24px clamp(22px, 5vw, 70px); }
.storefront .order { background: #1b2750; }
.storefront .site-footer { padding-block: 25px; }
.storefront .part-page { padding-top: 19px; }
.storefront .part-heading h1 { font-weight: 780; letter-spacing: -.063em; }
.storefront .part-detail .detail-gallery { border-radius: 13px; }
.storefront .gallery-tools { padding-inline: 14px; }

@media (hover: hover) {
  .storefront .button:hover { border-color: #899cd2; }
  .storefront .primary:hover, .storefront .hero .button:hover { background: #fff; }
  .storefront .outline:hover { background: #1a2846; }
  .storefront .specimen-picker button:not([aria-pressed="true"]):hover { background: #263757; }
}
@media (hover: none) {
  .storefront .outline:hover { background: transparent; }
  .storefront .product:hover { border-color: var(--line); }
  .storefront .filter:not([aria-pressed="true"]):hover { border-color: var(--line); color: var(--muted); }
}
@media (max-width: 900px) {
  .storefront .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront .hero { gap: 24px; }
}
@media (max-width: 740px) {
  .storefront .header-inner { min-height: 64px; }
  .storefront .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 29px; }
  .storefront .hero h1 { font-size: clamp(3.2rem, 10.1vw, 5.2rem); }
  .storefront .specimen-frame { height: clamp(235px, 56vw, 390px); }
  .storefront #specimen-photo { inset-block-start: 2%; height: 75%; }
  .storefront .catalog-heading { align-items: start; gap: 13px; }
  .storefront .search { flex-basis: auto; width: 100%; }
  .storefront .part-detail .detail-gallery { border-radius: 10px; }
}
@media (max-width: 460px) {
  .storefront .products { gap: 10px; }
  .storefront .product-body { padding: 10px; }
  .storefront .product h3 { line-height: 1.3; }
  .storefront .listing-badge { font-size: .65rem; }
  .storefront .catalog-controls { gap: 8px; }
  .storefront .order .button { max-width: 100%; }
}
@media (max-width: 335px) {
  .storefront .products, .storefront .products:has(> .product:nth-child(2):last-child) { grid-template-columns: 1fr; }
  .storefront .hero h1 { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront .button:active:not(:focus-visible), .storefront .specimen-picker button:active:not(:focus-visible) { transform: none; }
}
