* { box-sizing: border-box; }
:root {
  --ink: #151519;
  --muted: #7d5555;
  --line: #e3caca;
  --paper: #fff4f2;
  --red: #b71920;
  --red-dark: #74151b;
  --yellow: #efb51d;
  --white: #fff;
}
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Barlow", sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header { height: 81px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(7.8vw, 28px); border-bottom: 4px solid var(--red); background: var(--white); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand strong { display: block; font: 700 20px/1 "Barlow Condensed", sans-serif; letter-spacing: 1.8px; }
.brand small { display: block; margin-top: 6px; color: #666; font: 400 11px/1 "Barlow Condensed", sans-serif; letter-spacing: 1px; }
.language-button { padding: 14px 18px; border: 0; border-radius: 3px; color: #fff; background: var(--red-dark); font-weight: 600; cursor: pointer; }
.catalog-shell { min-height: calc(100vh - 81px); padding: 43px max(7.8vw, 28px) 86px; background-color: var(--paper); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.5) 0 2px, transparent 2px 6px); }
.eyebrow { color: #757578; font: 500 12px/1 "Barlow Condensed", sans-serif; letter-spacing: 2px; }
h1 { max-width: 900px; margin: 17px 0 12px; font: 800 clamp(52px, 6vw, 76px)/.95 "Barlow Condensed", sans-serif; letter-spacing: .4px; }
.intro { max-width: 710px; margin: 0 0 26px; color: #6a6b6d; font: 400 17px/1.35 "Barlow Condensed", sans-serif; }
.search-wrap { position: relative; display: block; }
.search-wrap input { width: 100%; height: 54px; padding: 0 48px 0 17px; border: 2px solid #8f9190; border-radius: 3px; outline: none; color: var(--ink); background: rgba(255,255,255,.87); font: 500 17px "Barlow Condensed", sans-serif; }
.search-wrap input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(183,25,32,.16); }
.search-icon { position: absolute; top: 7px; right: 17px; color: #868789; font-size: 32px; transform: rotate(-20deg); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.filter { min-height: 38px; padding: 0 15px; border: 1px solid #bbbdbb; border-radius: 2px; color: var(--ink); background: #fff; font: 600 16px "Barlow Condensed", sans-serif; cursor: pointer; transition: background .2s, color .2s, border .2s; }
.filter:hover, .filter.active { border-color: var(--red); color: #fff; background: var(--red); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 51px 0 14px; }
.catalog-toolbar p { margin: 0; color: #696a6b; font: 400 17px "Barlow Condensed", sans-serif; }
.sort-label { display: flex; align-items: center; gap: 9px; color: #696a6b; font: 500 15px "Barlow Condensed", sans-serif; }
.sort-label select { padding: 10px 29px 10px 12px; border: 1px solid #a7a8a7; border-radius: 3px; color: var(--ink); background: #fff; font: 600 15px "Barlow Condensed", sans-serif; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { overflow: hidden; border-top: 4px solid var(--red); background: #fff; cursor: pointer; box-shadow: 0 1px 1px rgba(115,21,27,.09); transition: transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 9px 18px rgba(0,0,0,.12); }
.product-image { display: grid; place-items: center; height: 238px; padding: 19px; background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-info { padding: 18px 15px 19px; }
.product-type { margin: 0 0 8px; color: var(--red); font: 600 13px "Barlow Condensed", sans-serif; letter-spacing: 1.3px; }
.product-name { min-height: 24px; margin: 0 0 7px; font: 700 20px/1.1 "Barlow Condensed", sans-serif; }
.product-oem { margin: 0; color: #717273; font: 400 14px "Barlow Condensed", sans-serif; }
.product-oem span { color: #999; }
.empty-state { padding: 60px 0; color: var(--muted); text-align: center; font: 500 22px "Barlow Condensed", sans-serif; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 30px max(7.8vw, 28px); color: #fff; background: var(--red-dark); font: 15px "Barlow Condensed", sans-serif; }
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { font-size: 18px; }
.site-footer span { margin-top: 5px; color: #aaa; }
.footer-links { display: flex; flex-wrap: wrap; align-content: center; justify-content: flex-end; gap: 16px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.product-dialog { width: min(620px, calc(100% - 32px)); padding: 0; border: 0; border-top: 4px solid var(--red); background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.3); }
.product-dialog::backdrop { background: rgba(0,0,0,.5); }
.close-dialog { position: absolute; top: 8px; right: 12px; z-index: 1; border: 0; color: var(--ink); background: none; font-size: 34px; line-height: 1; cursor: pointer; }
.dialog-layout { display: grid; grid-template-columns: 42% 58%; }
.dialog-image { display: grid; place-items: center; min-height: 330px; padding: 25px; background: #fff; }
.dialog-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dialog-details { padding: 45px 30px 30px; }
.dialog-details .product-name { font-size: 30px; }
.detail-row { padding: 13px 0; border-top: 1px solid var(--line); color: #666; font: 16px "Barlow Condensed", sans-serif; }
.detail-row strong { display: block; margin-top: 3px; color: var(--ink); font-size: 19px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 950px) { .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 680px) { .site-header { height: 72px; padding: 0 20px; } .brand img { width: 45px; height: 45px; } .brand strong { font-size: 17px; } .catalog-shell { padding: 34px 20px 60px; } h1 { font-size: 57px; } .intro { font-size: 16px; } .catalog-toolbar { margin-top: 35px; } .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .product-image { height: 155px; padding: 10px; } .product-info { padding: 13px 11px 15px; } .product-name { font-size: 18px; } .site-footer { display: block; padding: 25px 20px; } .footer-links { justify-content: flex-start; margin-top: 19px; } .dialog-layout { display: block; } .dialog-image { min-height: 240px; } }
@media (max-width: 420px) { .filter { padding: 0 11px; font-size: 15px; } .sort-label { gap: 4px; } .sort-label select { padding-right: 6px; } }
