:root {
  color-scheme: light;
  --ink: #17191c;
  --muted: #565d66;
  --paper: #fff;
  --field: #f3f4f4;
  --line: #e2e4e6;
  --red: #d90026;
  --red-dark: #ad001d;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-dark); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #1262ad; outline-offset: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand-mark { display: block; width: 148px; aspect-ratio: 8.4; background: #df0024; mask: var(--logo-mask, url("/assets/logo-official.png")) center / contain no-repeat; }
.header nav { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 34px); flex: 1; }
.header nav a, .phone { white-space: nowrap; font-size: .9375rem; font-weight: 650; }
.header nav a[aria-current] { color: var(--red-dark); }
.phone { margin-left: auto; }
.cart-button { height: 42px; min-width: 43px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); }
#counter { min-width: 20px; min-height: 20px; display: grid; place-items: center; background: var(--red); color: white; border-radius: 100%; font-size: .75rem; }
.hero { color: white; background: #181515 url('/assets/hero.jpg') right center / auto 125% no-repeat; position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #171514 0%, #171514 20%, #171514ee 31%, #1715142b 59%, transparent 75%); }
.hero-inner { min-height: 510px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 62px; }
.hero h1 { font-size: clamp(2.65rem, 5.45vw, 5.1rem); line-height: .99; letter-spacing: -.055em; max-width: 675px; margin: 0; font-weight: 760; }
.hero p { max-width: 420px; margin: 24px 0 31px; color: #eee9e6; line-height: 1.55; font-size: 1.08rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; color: white; background: var(--red); padding: 10px 19px; border: 1px solid transparent; font-weight: 700; font-size: .9375rem; text-align: center; }
.button:hover { background: var(--red-dark); color: white; }
.button.outline { background: white; color: var(--ink); border-color: var(--line); }
.button.outline:hover { border-color: var(--ink); }
.hero .button.outline { background: #211b17a0; border-color: #9c9189; color: white; }
.hero .button.outline:hover { background: #100e0e; }
section.home-block { padding-block: 54px; }
.home-block h2, main .page h1 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.055em; line-height: 1.04; margin: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.section-head > a, .text-link { color: var(--red-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category { min-width: 0; min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; background: var(--field); border: 1px solid transparent; }
.category:hover { border-color: #cbced0; }
.category img { margin: auto auto 15px; width: 100%; height: 130px; object-fit: contain; mix-blend-mode: multiply; }
.category strong { font-size: 1.12rem; line-height: 1.2; }
.category small { margin-top: 6px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.resources a { font-size: 1.15rem; font-weight: 700; }
.resources p { margin: 6px 0 0; color: var(--muted); }
.home-block + .home-block { padding-top: 10px; }
main .page { min-height: 55vh; padding-block: 45px 70px; }
.crumb { margin: 0 0 22px; color: var(--muted); font-size: .9rem; }
.intro { color: var(--muted); line-height: 1.55; max-width: 640px; }
.filters { margin: 25px 0 16px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.filters label, .cart-layout .checkout label { display: grid; gap: 6px; font-size: .9375rem; font-weight: 620; }
input:where(:not([type=checkbox], [type=radio], [type=hidden], [type=submit], [type=button])), select { min-width: 0; width: 100%; min-height: 44px; padding: 9px 10px; color: var(--ink); background: white; border: 1px solid #aeb2b7; border-radius: 0; }
.result-count { color: var(--muted); }
.product-tile { border: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr auto; padding: 16px; gap: 7px; }
.product-tile img { width: 100%; height: 175px; object-fit: contain; background: white; }
.product-tile small, .product small { color: var(--muted); }
.product-tile h2 { font-size: 1.05rem; margin: 0; }
.product-tile strong { margin-top: 8px; }
main .page .product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(26px, 7vw, 100px); }
.product-photo { background: var(--field); padding: 25px; }
.product-photo img { width: 100%; height: min(50vh, 480px); object-fit: contain; mix-blend-mode: multiply; }
.product h1 { margin: 8px 0 14px; }
main .page .price { display: block; margin: 22px 0 12px; font-size: 1.9rem; }
.specs { margin: 24px 0; max-width: 420px; }
.specs div { display: flex; gap: 24px; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 10px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 25px; margin-top: 30px; }
.cart-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 68px auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 56px; height: 62px; object-fit: contain; }
.remove { border: 0; padding: 7px; background: transparent; color: var(--red-dark); text-decoration: underline; }
.cart-layout .checkout { display: grid; gap: 12px; padding: 20px; background: var(--field); align-self: start; }
.cart-layout .checkout h2, .cart-layout .checkout p { margin: 0; }
.receipt { margin-top: 24px; border-left: 4px solid var(--red); padding: 12px 18px; background: var(--field); line-height: 1.55; }
.doc-list { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; max-width: 760px; }
.doc-list li { padding: 17px 0; border-top: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); background: var(--field); }
.footer-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; min-height: 96px; padding-block: 18px; }
.footer-inner span { margin-left: auto; color: var(--muted); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 4; background: white; padding: 12px; }
@media (min-width: 1600px) { .hero { background-size: auto 145%; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: 16px; }
  .header .phone { display: none; }
  .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category { padding: 12px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-block: 12px 0; }
  .header nav { grid-row: 2; grid-column: 1 / -1; gap: 12px; min-width: 0; flex-wrap: wrap; padding-bottom: 12px; }
  .header nav a { font-size: .875rem; }
  .header nav a:focus-visible { outline-offset: 2px; }
  .hero { background-size: auto 96%; background-position: 70% top; }
  .hero::before { background: linear-gradient(0deg, #171514 0%, #171514 28%, #171514d9 47%, #17151400 75%); }
  .hero-inner { min-height: 595px; justify-content: flex-end; padding-block: 27px 33px; }
  .hero h1 { font-size: clamp(2.35rem, 9.5vw, 3.55rem); }
  .hero p { margin: 15px 0 19px; font-size: 1rem; }
  section.home-block { padding-block: 33px; }
  .section-head { align-items: flex-start; margin-bottom: 15px; }
  .section-head > a { padding-top: 3px; white-space: nowrap; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category { min-height: 190px; }
  .category img { height: 92px; }
  .category strong { font-size: 1rem; }
  .category small { font-size: .82rem; }
  .resources, main .page .product, .cart-layout { grid-template-columns: 1fr; }
  main .page { padding-block: 30px 45px; }
  .product-photo img { height: 260px; }
  .cart-row { gap: 6px; grid-template-columns: 42px minmax(0, 1fr) 54px auto; }
  .cart-row img { width: 40px; }
  .footer-inner { gap: 15px; }
  .footer-inner span { margin-left: 0; }
}
@media (max-width: 365px) {
  .filters { grid-template-columns: 1fr; }
  .hero-inner { min-height: 550px; }
}
