:root {
    --ink: #171717;
    --muted: #666a6d;
    --paper: #ffffff;
    --surface: #f4f5f3;
    --line: #d9dcda;
    --red: #d92332;
    --red-dark: #ad1422;
    --green: #17715f;
    --yellow: #f2c94c;
    --radius: 6px;
    --shadow: 0 8px 28px rgba(20, 22, 22, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 Arial, Helvetica, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.shell { width: min(1400px, calc(100% - 40px)); margin: 0 auto; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.service-bar { background: var(--ink); color: #f2f2f2; font-size: 13px; }
.service-bar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.service-bar a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-main { min-height: 82px; display: grid; grid-template-columns: 220px minmax(280px, 760px) auto; gap: 32px; align-items: center; }
.brand { display: inline-flex; align-items: baseline; color: var(--ink); font-weight: 900; font-size: 29px; text-decoration: none; letter-spacing: 0; line-height: 1; }
.brand > span { color: var(--red); }
.brand small { margin-left: 9px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.global-search { height: 46px; display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.global-search input { min-width: 0; border: 0; padding: 0 16px; outline: 0; }
.global-search button { border: 0; padding: 0 24px; color: #fff; background: var(--red); font-weight: 800; }
.global-search button:hover { background: var(--red-dark); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--paper); padding: 10px 12px; border-radius: var(--radius); font-weight: 700; }
.site-nav { border-top: 1px solid var(--line); }
.nav-links { min-height: 48px; display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--red); }
.nav-links .nav-shop { margin-left: auto; color: var(--red); }

.catalog-intro { background: var(--surface); border-bottom: 1px solid var(--line); }
.intro-grid { min-height: 205px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr); align-items: center; gap: 60px; padding-top: 30px; padding-bottom: 30px; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.intro-grid h1, .content-page > h1, .status-page h1 { margin: 0; max-width: 780px; font-size: clamp(30px, 4vw, 50px); line-height: 1.04; }
.intro-grid > div > p:last-child { max-width: 710px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.catalog-stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.catalog-stats div { min-width: 0; padding: 8px 22px; border-right: 1px solid var(--line); }
.catalog-stats dt { font-size: 22px; font-weight: 900; overflow-wrap: anywhere; }
.catalog-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 12px; text-transform: uppercase; }

.category-strip { padding-top: 38px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 22px; }
.section-heading span, .section-heading a { color: var(--muted); font-size: 14px; }
.category-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-right: 0; }
.category-links a { min-width: 0; padding: 17px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.category-links a:hover { background: var(--surface); }
.category-links strong, .category-links span { display: block; }
.category-links strong { font-size: 14px; }
.category-links span { margin-top: 4px; color: var(--muted); font-size: 12px; }

.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; padding-top: 42px; padding-bottom: 70px; }
.filter-panel { align-self: start; position: sticky; top: 18px; }
.filters { border-top: 3px solid var(--ink); }
.filter-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 14px; }
.filter-heading h2 { margin: 0; font-size: 20px; }
.filter-heading a { color: var(--muted); font-size: 13px; }
.filters > label, .filters legend { display: block; margin: 18px 0 7px; font-size: 13px; font-weight: 800; }
.filters select, .filters input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 0 10px; }
.filters fieldset { margin: 0; padding: 0; border: 0; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range label span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 4px; padding: 9px 17px; background: var(--paper); font-weight: 800; text-decoration: none; }
.button--primary { border-color: var(--red); color: #fff; background: var(--red); }
.button--primary:hover { background: var(--red-dark); }
.button--secondary:hover { background: var(--surface); }
.button--wide { width: 100%; margin-top: 22px; }
.button--large { width: 100%; min-height: 52px; margin-top: 10px; }
.results-toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.results-toolbar p { margin: 0; color: var(--muted); }
.results-toolbar form { display: flex; align-items: center; gap: 10px; }
.results-toolbar label { color: var(--muted); font-size: 13px; }
.results-toolbar select { height: 38px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 0 32px 0 10px; }
.mobile-filters { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__image { display: block; position: relative; aspect-ratio: 1 / 1; background: #f7f7f5; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sale-label { position: absolute; top: 10px; left: 10px; padding: 5px 8px; color: #fff; background: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #c7c9c7; font-size: 42px; font-weight: 900; }
.image-frame--missing::after { content: '4R'; display: grid; position: absolute; inset: 0; place-items: center; color: #c7c9c7; font-size: 42px; font-weight: 900; }
.product-card__body { min-height: 190px; display: flex; flex-direction: column; padding: 15px; }
.product-meta { margin: 0 0 7px; color: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.product-meta span { color: var(--muted); }
.product-card h2 { margin: 0; font-size: 15px; line-height: 1.36; }
.product-card h2 a { display: -webkit-box; overflow: hidden; text-decoration: none; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.product-card__bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; }
.price del, .price strong { display: block; }
.price del { color: var(--muted); font-size: 12px; }
.price strong { font-size: 19px; }
.availability { color: var(--green); font-size: 11px; font-weight: 800; white-space: nowrap; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 38px; }
.pagination a, .pagination strong, .pagination span { min-width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.pagination strong { border-color: var(--ink); color: #fff; background: var(--ink); }
.pagination span { border-color: transparent; }
.empty-state { padding: 70px 30px; text-align: center; background: var(--surface); }
.empty-state h2 { margin: 0; }

.breadcrumbs { display: flex; gap: 9px; padding-top: 24px; padding-bottom: 16px; color: var(--muted); font-size: 13px; }
.breadcrumbs strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 64px; padding-top: 16px; padding-bottom: 62px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; background: var(--surface); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbnails { display: flex; gap: 10px; overflow-x: auto; margin-top: 12px; padding: 2px; }
.thumbnails button { flex: 0 0 78px; width: 78px; height: 78px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 4px; }
.thumbnails button.is-active { border: 2px solid var(--ink); }
.thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { padding-top: 12px; }
.product-summary h1 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; }
.product-codes { margin: 25px 0; border-top: 1px solid var(--line); }
.product-codes div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.product-codes dt { color: var(--muted); font-size: 13px; }
.product-codes dd { margin: 0; font-size: 13px; font-weight: 700; }
.detail-price { margin: 25px 0; }
.detail-price del, .detail-price strong, .detail-price small { display: block; }
.detail-price del { color: var(--muted); }
.detail-price strong { font-size: 34px; }
.detail-price small { margin-top: 4px; color: var(--muted); }
.stock-note { display: grid; grid-template-columns: 12px 1fr; column-gap: 10px; padding: 15px; background: #e9f3ef; border-left: 3px solid var(--green); font-size: 14px; }
.stock-note::before { content: ''; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--green); }
.stock-note strong, .stock-note span { grid-column: 2; }
.pickup-note { color: var(--muted); font-size: 13px; }
.product-copy { padding-bottom: 60px; }
.rich-text { max-width: 900px; color: #333; }
.rich-text h2 { margin: 35px 0 12px; color: var(--ink); font-size: 23px; }
.rich-text h3 { margin: 28px 0 10px; color: var(--ink); font-size: 19px; }
.rich-text table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rich-text td, .rich-text th { border: 1px solid var(--line); padding: 8px; }
.related-products { padding-bottom: 72px; }

.content-page { min-height: 520px; padding-top: 65px; padding-bottom: 80px; }
.content-page > h1 { margin-bottom: 35px; }
.contact-grid { max-width: 1200px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.contact-grid > div { padding: 26px; border-right: 1px solid var(--line); }
.contact-grid > div:last-child { border-right: 0; }
.contact-grid h2 { margin-top: 0; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours dd { margin: 0; font-weight: 700; }
.status-page { min-height: 520px; padding-top: 100px; padding-bottom: 100px; }
.status-page p { max-width: 600px; color: var(--muted); }

.site-footer { color: #e6e6e6; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; padding-top: 50px; padding-bottom: 42px; }
.brand--footer { color: #fff; }
.footer-grid p { max-width: 480px; color: #b9bcbc; font-size: 14px; }
.footer-grid h2 { margin: 0 0 14px; color: #fff; font-size: 14px; text-transform: uppercase; }
.footer-grid > div:last-child a { display: block; margin: 7px 0; color: #d9d9d9; font-size: 14px; text-decoration: none; }
.footer-bottom { padding: 17px 0; border-top: 1px solid #383a3a; color: #9da0a0; font-size: 12px; }

@media (max-width: 1080px) {
    .header-main { grid-template-columns: 185px minmax(240px, 1fr) auto; gap: 20px; }
    .brand small { display: none; }
    .intro-grid { grid-template-columns: 1fr; gap: 28px; }
    .catalog-stats { max-width: 720px; }
    .category-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .product-detail { gap: 35px; }
}

@media (max-width: 760px) {
    .shell { width: min(100% - 24px, 1400px); }
    .service-bar__inner { justify-content: center; }
    .service-bar__inner span { display: none; }
    .header-main { min-height: 68px; grid-template-columns: 1fr auto; }
    .brand { font-size: 25px; }
    .global-search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-bottom: 12px; }
    .global-search button { padding: 0 16px; }
    .nav-toggle { display: block; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .nav-links { display: grid; gap: 0; padding: 8px 0; }
    .nav-links a { padding: 10px 0; }
    .nav-links .nav-shop { margin-left: 0; }
    .intro-grid { min-height: 0; padding-top: 28px; padding-bottom: 28px; }
    .intro-grid h1, .content-page > h1, .status-page h1 { font-size: 32px; }
    .catalog-stats { grid-template-columns: 1fr 1fr; border-left: 0; }
    .catalog-stats div { padding: 10px; border: 1px solid var(--line); }
    .catalog-stats div:last-child { grid-column: 1 / -1; }
    .category-strip { padding-top: 28px; }
    .category-links { display: flex; overflow-x: auto; border-right: 1px solid var(--line); }
    .category-links a { flex: 0 0 165px; }
    .catalog-layout { display: block; padding-top: 26px; }
    .filter-panel { display: none; }
    .mobile-filters { display: block; margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
    .mobile-filters summary { padding: 13px 15px; font-weight: 800; cursor: pointer; }
    .mobile-filters .filters { padding: 0 15px 16px; border-top: 1px solid var(--line); }
    .results-toolbar { align-items: end; }
    .results-toolbar form { display: grid; gap: 3px; }
    .product-grid, .product-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-card__body { min-height: 205px; padding: 12px; }
    .product-card__bottom { display: block; }
    .availability { display: block; margin-top: 6px; }
    .product-detail { grid-template-columns: 1fr; gap: 24px; padding-bottom: 42px; }
    .product-summary h1 { font-size: 29px; }
    .breadcrumbs { overflow: hidden; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .contact-grid > div:last-child { border-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 38px; }
}

@media (max-width: 420px) {
    .product-grid, .product-grid--four { grid-template-columns: 1fr; }
    .product-card { display: grid; grid-template-columns: 120px 1fr; }
    .product-card__image { height: 100%; min-height: 170px; }
    .product-card__body { min-height: 170px; }
    .product-card__bottom { display: block; }
    .section-heading { align-items: start; flex-direction: column; gap: 5px; }
}

