:root {
  color-scheme: light;
  --ink: #25262b;
  --muted: #575962;
  --paper: #f6f6f7;
  --white: #fff;
  --line: #dddde2;
  --accent: #c91f30;
  --dark: #292b30;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 "Segoe UI", Arial, sans-serif; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol { margin: 0; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bb2535; outline-offset: 4px; }
.wrap { width: min(100% - 88px, 1264px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 5; padding: 12px; background: var(--accent); color: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.top { background: var(--white); }
.footer { background: var(--dark); color: var(--white); }
.bar, .footer-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.05; flex-shrink: 0; }
.brand img { display: block; }
.brand strong { display: block; font-size: 22px; letter-spacing: -.045em; }
.brand small { display: block; font-size: 8px; letter-spacing: .115em; color: var(--muted); margin-top: 5px; font-weight: 700; }
.footer .brand small { color: #d1d2d7; }
.header-search { display: flex; flex: 1; max-width: 685px; align-items: center; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.header-search input { flex: 1; width: 0; min-width: 0; padding: 10px 13px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); font-size: 14px; }
.header-search button { display: grid; place-items: center; align-self: stretch; width: 46px; border: 0; border-left: 1px solid var(--line); color: var(--accent); background: transparent; }
.header-search button:hover { background: #eeeef1; }
.header-search svg, .search svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.main-nav { display: flex; align-items: center; gap: 0; font-size: 14px; padding-bottom: 12px; }
.main-nav a { padding: 7px clamp(10px, 2.4vw, 30px); border-right: 1px solid var(--line); }
.main-nav a:last-child { border-right: 0; }
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-catalog { background: var(--accent); color: white; font-weight: 750; border-radius: 4px; border: 0; }
.main-nav .nav-catalog:hover { background: #a81829; color: white; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 11px 18px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1.3; transition: background .16s, border-color .16s; }
.button > span[aria-hidden] { font-size: 18px; line-height: 1; }
.accent { background: var(--accent); color: white; }
.accent:hover { background: #a81829; }
.dark { background: var(--dark); color: var(--white); }
.dark:hover { background: #373d30; }
.count { background: white; color: var(--accent); border-radius: 99px; padding: 2px 7px; }
.hero {
  color: var(--white);
  background: linear-gradient(90deg, #181a2090, #191a20ed 26%, #191a20a6 61%, #191a2040), linear-gradient(0deg, #171820ba, #17182000 70%), url("hero.jpg") 60% 49% / cover no-repeat, #292b30;
}
.hero-inner { display: grid; align-items: center; min-height: 376px; padding-block: 42px; }
.hero h1 { margin-top: 0; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1.5; }
h1 { font-size: clamp(36px, 4.05vw, 61px); font-weight: 900; line-height: 1.04; letter-spacing: -.055em; margin: 21px 0 20px; }
h1 em { color: #ff6977; font-style: normal; }
.hero-copy { max-width: 520px; color: #ededf1; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.section { padding-block: 62px; }
.section-label { color: #a91929; margin-bottom: 13px; }
h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 850; line-height: 1.08; letter-spacing: -.048em; }
.group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.group-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.group-card-head { display: block; border-radius: 7px 7px 0 0; }
.group-card-head img { display: block; width: 100%; aspect-ratio: 2.15; object-fit: cover; border-radius: 6px 6px 0 0; background: #e9e9ee; }
.group-card-head :is(h2, h3) { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 15px 19px 9px; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.group-card-head span { color: var(--accent); font-size: .7em; }
.group-card-head:hover { color: var(--accent); }
.group-card ul { list-style: none; padding: 0 19px; margin: 0 0 9px; }
.group-card li a { display: block; border-top: 1px solid var(--line); padding: 9px 0; font-size: 14px; }
.group-card li a:hover { color: var(--accent); text-decoration: underline; }
.group-sections a div > span { margin: 3px 0 0; }
.catalog-tools { margin-top: 27px; margin-bottom: 19px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 13px; min-height: 39px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 650; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { color: var(--white); border-color: var(--accent); background: var(--accent); }
.search { min-height: 39px; display: flex; align-items: center; gap: 8px; padding-inline: 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--white); }
.search svg { width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 1.7; }
.search input { width: 195px; border: 0; padding: 6px 2px; color: var(--ink); background: transparent; font-size: 14px; }
.text-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 12px 0 0; color: inherit; font-weight: 750; text-align: left; }
.text-link span, .text-link:hover { color: var(--accent); }
.no-results { padding: 32px; border: 1px dashed #929485; text-align: center; }
.no-results .button { margin-top: 12px; }
.company { border-block: 1px solid var(--line); background: #ededf0; }
.contacts { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin-top: 25px; }
.contact-grid > div { min-width: 0; padding-top: 15px; border-top: 1px solid var(--line); }
.contact-grid h3 { margin-bottom: 8px; font-size: 19px; }
.contact-grid address { font-style: normal; }
.contact-hours { margin-top: 9px; color: var(--muted); }
.contact-grid ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.contact-grid a { color: #000; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.contact-grid a:hover { text-decoration-thickness: 2px; }
.large-copy { max-width: 61ch; margin-top: 14px; font-size: 19px; color: var(--muted); }
.text-link { width: fit-content; margin-top: 16px; border-top-color: #a8ac9b; }
.footer { border-top: 1px solid #464a40; }
.footer p, .footer .back { font-size: 13px; color: #d6d6db; }
.footer .back:hover { color: white; text-decoration: underline; }
.catalog-page { min-height: 65vh; padding-block: 25px 68px; }
.catalog-page h1 { margin: 0 0 14px; font-size: clamp(32px, 4.4vw, 62px); letter-spacing: -.048em; overflow-wrap: anywhere; }
.page-intro { color: var(--muted); max-width: 70ch; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px 10px; margin: 0 0 31px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.breadcrumb li:not(:first-child)::before { content: "›"; color: #a91929; margin-right: 10px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { color: var(--ink); }
.inventory-meta { margin: 18px 0 13px; color: #8f1725; font-size: 14px; font-weight: 750; }
.catalog-layout { display: grid; grid-template-columns: minmax(185px, 252px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.catalog-sidebar details, .section-links { background: white; border: 1px solid var(--line); border-radius: 5px; padding: 14px; }
.catalog-sidebar summary, .section-links summary { cursor: pointer; font-weight: 750; }
.catalog-sidebar nav { margin-top: 8px; }
.catalog-sidebar nav a { display: flex; justify-content: space-between; gap: 9px; padding: 8px 5px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.3; }
.catalog-sidebar nav a:hover, .catalog-sidebar nav a.active-group { color: #a91929; }
.catalog-sidebar nav a.active-group { font-weight: 750; }
.section-links small { color: var(--muted); }
.section-search { max-width: 580px; margin-top: 18px; background: white; }
.section-links { margin-top: 16px; }
.section-links > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.section-links a { border: 1px solid var(--line); border-radius: 4px; padding: 6px 9px; font-size: 13px; }
.section-links a:hover { color: #a91929; border-color: var(--accent); }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; gap: 9px; padding: 0; margin: 0; }
.group-sections { margin-top: 24px; }
.product-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 12px 14px; background: white; border: 1px solid var(--line); border-radius: 5px; }
.product-list a:hover { border-color: var(--accent); }
.product-list a div > span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
.product-list a strong { display: block; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.product-arrow { color: #a91929; }
.pagination { display: flex; gap: 12px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.pagination a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; background: white; color: #a91929; font-weight: 700; }
.pagination a:hover { border-color: var(--accent); }
.material-overview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(15px, 3vw, 34px); margin-top: 25px; }
.material-photo, .material-placeholder, .material-facts { margin: 0; padding: clamp(14px, 2.5vw, 26px); background: white; border: 1px solid var(--line); border-radius: 5px; }
.material-photo img { width: 100%; display: block; height: clamp(200px, 31vw, 360px); object-fit: contain; background: #ecebf0; border-radius: 4px; }
.material-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.material-photo figcaption a { text-decoration: underline; }
.archive-gallery a { display: block; }
.material-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.material-thumbnails img { width: 100%; height: 74px; }
.material-thumbnails a:hover img { box-shadow: 0 0 0 2px var(--accent); }
.material-placeholder { display: grid; place-content: center; justify-items: center; min-height: 200px; text-align: center; background: #efedf1; }
.material-placeholder p { margin: 12px 0 2px; font-weight: 750; }
.material-placeholder span { color: var(--muted); font-size: 13px; }
.material-facts h2, .material-section h2 { font-size: clamp(23px, 2.7vw, 35px); }
.material-facts dl { margin: 15px 0 10px; }
.material-facts dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; border-top: 1px solid var(--line); padding: 9px 0; font-size: 14px; }
.material-facts dt { color: var(--muted); }
.material-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.material-facts p { font-size: 13px; color: var(--muted); }
.material-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 27px 0 0; border-bottom: 1px solid var(--line); }
.material-links a { padding: 9px 0; color: #a91929; font-weight: 750; }
.material-links a:hover { text-decoration: underline; }
.material-section { margin-top: 24px; }
.material-section p { margin-top: 9px; max-width: 78ch; color: var(--muted); }
.material-section .product-list { margin-top: 12px; }
@media (max-width: 920px) {
  .wrap { width: calc(100% - 48px); }
  .section { padding-block: 58px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .bar { flex-wrap: wrap; padding: 12px 0 10px; gap: 10px; }
  .brand strong { font-size: 19px; }
  .brand img { width: 35px; height: 35px; }
  .brand small { font-size: 7px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .main-nav { padding-bottom: 8px; gap: 2px; flex-wrap: wrap; }
  .main-nav a { padding: 6px 7px; font-size: 12px; }
  .header-cta { padding: 8px 10px; gap: 5px; font-size: 12px; min-height: 39px; }
  .hero { background-position: center, center, 64% center; }
  .hero-inner { min-height: 0; padding-block: 32px; }
  h1 { font-size: clamp(32px, 8.6vw, 51px); margin-top: 17px; }
  .hero-copy { font-size: 16px; }
  .actions { gap: 8px; }
  .actions .button { font-size: 13px; padding-inline: 10px; gap: 6px; }
  .section { padding-block: 44px; }
  .catalog-tools, .search { width: 100%; }
  .search input { flex: 1; min-width: 0; }
  .group-grid, .material-overview { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: 15px; padding: 18px 0; }
  .footer p { order: 3; width: 100%; }
}
@media (max-width: 760px) {
  .catalog-layout, .product-list, .contact-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
