/*
Theme Name: Феррум Групп
Description: Локальная витрина металлопроката.
Version: 1.0.0
Text Domain: ferrum-preview
*/

button, input, select { margin: 0; padding: 0; }
svg { display: block; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

:root {
    --orange: #ff6b00;
    --orange-dark: #d95300;
    --ink: #25282b;
    --muted: #74797d;
    --line: #e8e9e8;
    --paper: #f5f5f3;
    --radius: 12px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI",Arial,sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
}

button,input,select,textarea {
    font: inherit;
}

button,a,input,select,textarea {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

h1,h2,h3,p {
    margin: 0;
}

h1,h2,h3 {
    line-height: 1.16;
    letter-spacing: -.035em;
}

h1 {
    font-size: 42px;
    font-weight: 650;
}

h2 {
    font-size: 32px;
    font-weight: 650;
}

h3 {
    font-size: 18px;
    font-weight: 600;
}

p {
    line-height: 1.65;
}

svg {
    flex-shrink: 0;
}

button {
    border: 0;
    background: none;
}

a,button {
    transition: background .18s,color .18s,border-color .18s,box-shadow .18s;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
    outline: 3px solid #ff9a50;
    outline-offset: 3px;
}

::selection {
    background: #ffd5b6;
    color: #222;
}

.container {
    width: calc(100% - 80px);
    max-width: 1360px;
    margin: 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 46px;
    padding: 12px 21px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 7px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.button.primary {
    background: var(--orange);
    color: #161616;
}

.button.primary:hover {
    background: #ff842b;
}

.button.secondary {
    background: #fff;
    border-color: #d9dcd9;
    color: var(--ink);
}

.button.secondary:hover {
    border-color: var(--orange);
    background: #fff7f1;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 7px;
}

.icon-button:hover {
    background: #f1f1ee;
}

.price-note {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.text-link:hover {
    color: var(--orange-dark);
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .13em;
    font-weight: 700;
    color: var(--orange-dark);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.lead {
    font-size: 16px;
    color: #767a7d;
    max-width: 760px;
    margin-top: 16px;
    line-height: 1.7;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: var(--orange);
    padding: 12px;
}

.skip-link:focus {
    top: 15px;
}

.site-header {
    background: #fff;
}

.contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #71767a;
    height: 36px;
    border-bottom: 1px solid #f0f0ee;
}

.contact-bar>span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
}

.contact-bar>span:first-child svg {
    color: var(--orange);
}

.contact-bar>button {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #373b3e;
    font-weight: 600;
}

.header-note {
    color: #9a9c9f;
}

.main-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px 0 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    width: 245px;
}

.brand img {
    width: 72px;
    height: 72px;
    border-radius: 7px;
    object-fit: contain;
}

.brand strong {
    font-size: 24px;
    line-height: .98;
    letter-spacing: -.04em;
    display: block;
    font-weight: 800;
    position: relative;
}

.brand strong>span {
    font-size: 8px;
    position: absolute;
    top: 0;
    right: -12px;
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: .18em;
    margin-top: 9px;
    color: #7a7d80;
}

.header-search {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    border: 1px solid #dddfdd;
    border-radius: 8px;
    height: 48px;
    background: #f8f8f6;
    overflow: hidden;
}

.header-search>svg {
    margin-left: 16px;
    color: #919695;
}

.header-search input {
    min-width: 0;
    flex: 1;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 12px;
    outline: none;
    font-size: 13px;
}

.header-search button {
    height: 100%;
    background: var(--orange);
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: #171717;
    font-size: 13px;
}

.header-search button:hover {
    background: #ff832b;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 6px;
}

.header-tool {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.header-tool>span {
    position: relative;
}

.header-tool b {
    position: absolute;
    right: -9px;
    top: -6px;
    min-width: 16px;
    height: 16px;
    border-radius: 9px;
    background: var(--orange);
    color: #171717;
    font-size: 9px;
    line-height: 16px;
    text-align: center;
    border: 2px solid white;
    font-weight: 700;
    box-sizing: content-box;
}

.header-tool small {
    font-size: 10px;
    color: #72777b;
}

.header-tool:hover {
    color: var(--orange-dark);
}

.desktop-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    position: relative;
    z-index: 15;
}

.catalog-dropdown {
    width: 245px;
    flex-shrink: 0;
    position: relative;
}

.catalog-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    color: #fff;
    background: #292c2e;
    border-radius: 7px;
    padding: 0 17px;
    font-weight: 600;
}

.catalog-toggle>svg:first-child {
    color: var(--orange);
}

.catalog-toggle:hover {
    background: #3c3f41;
}

.catalog-popover {
    position: absolute;
    top: 54px;
    width: 100%;
    padding: 7px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 30px #0002;
}

.catalog-popover>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    border-radius: 6px;
}

.catalog-popover>a:hover {
    background: #fff1e5;
    color: #a54800;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    flex: 1;
    background: #f5f5f3;
    border-radius: 7px;
    padding: 0 11px;
}

.nav-links > span {
    font-size: 12px;
    padding: 12px 8px;
    white-space: nowrap;
}

.nav-links > span:hover,.nav-links > span.active {
    color: var(--orange-dark);
}

.mobile-menu-toggle {
    display: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 245px minmax(0,1fr);
    gap: 16px;
}

.home-catalog {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 15px 0;
    align-self: stretch;
    overflow: hidden;
}

.sidebar-heading {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: .13em;
    font-weight: 650;
    color: #8a8d90;
    padding: 11px 0 12px;
    border-bottom: 1px solid var(--line);
}

.sidebar-heading span {
    color: #b4b5b5;
}

.home-catalog > .category-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 53px;
    border-bottom: 1px solid #ededeb;
    font-size: 13px;
    font-weight: 550;
}

.home-catalog > .category-row>img {
    height: 39px;
    width: 46px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.home-catalog > .category-row>svg {
    margin-left: auto;
    color: #9b9e9e;
}

.home-catalog > .category-row:hover {
    color: var(--orange-dark);
}

.home-catalog .sidebar-all {
    font-size: 12px;
    color: var(--orange-dark);
    border: 0;
    min-height: 47px;
    font-weight: 650;
}

.hero-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero {
    position: relative;
    min-height: 437px;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    background: #24292c;
    flex: 1;
    color: white;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -3;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(19,24,28,.82),rgba(24,28,31,.27) 62%,rgba(24,28,31,.05));
    z-index: -2;
}

.hero-content {
    padding: 48px 40px 82px;
}

.hero-overline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .13em;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #eee6dd;
}

.hero-overline>span {
    width: 18px;
    height: 2px;
    background: var(--orange);
}

.hero h1 {
    font-size: clamp(36px,3.7vw,54px);
    font-weight: 600;
    letter-spacing: -.043em;
    line-height: 1.05;
    margin-top: 26px;
    max-width: 620px;
}

.hero h1 span {
    color: var(--orange);
}

.hero-description {
    font-size: 14px;
    color: #c9cacc;
    margin-top: 20px;
    white-space: pre-line;
    line-height: 1.7;
}

.hero-cta {
    margin-top: 26px;
    min-width: 198px;
    justify-content: space-between;
}

.hero-1 .hero-image,.hero-2 .hero-image {
    width: 65%;
    left: 35%;
    mix-blend-mode: luminosity;
    opacity: .6;
    object-fit: cover;
}

.hero-1 .hero-shade,.hero-2 .hero-shade {
    background: linear-gradient(90deg,#20272c 15%,#20272ceb 38%,#20272c10 100%);
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    min-height: 82px;
    overflow: hidden;
}

.hero-benefits>a,.hero-benefits > .benefit {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 17px 18px;
    border-right: 1px solid var(--line);
}

.hero-benefits>:last-child {
    border: 0;
}

.hero-benefits>*>svg:first-child {
    color: var(--orange-dark);
    width: 23px;
}

.hero-benefits>*>svg:last-child {
    margin-left: auto;
    color: #8b8f90;
    width: 15px;
}

.hero-benefits strong {
    font-size: 12px;
    letter-spacing: -.015em;
    font-weight: 650;
    display: block;
}

.hero-benefits span {
    display: block;
    font-size: 10px;
    color: #818588;
    margin-top: 4px;
}

.hero-benefits>*:hover {
    background: #faf9f6;
}

.catalog-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    background: #f7f7f4;
    border-radius: 7px;
    margin-top: 20px;
    color: #777b7d;
    font-size: 11px;
}

.notice-symbol {
    width: 18px;
    height: 18px;
    border: 1px solid #a0a4a3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia,serif;
    font-style: italic;
}

.catalog-notice p {
    flex: 1;
}

.catalog-notice>a {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: #515659;
}

.section {
    margin-top: 60px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 31px;
}

.section-heading>.text-link {
    padding-bottom: 4px;
}

.heading-dot {
    color: var(--orange);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}

.category-card {
    position: relative;
    background: #f6f6f4;
    border: 1px solid #eeefec;
    border-radius: 10px;
    padding: 18px 21px 22px;
    min-height: 225px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    border-color: #ffb47f;
    background: #fff9f4;
    box-shadow: 0 5px 20px #34343408;
}

.category-card>img {
    width: 100%;
    height: 132px;
    object-fit: contain;
    mix-blend-mode: multiply;
    margin: 0 0 12px;
    transition: transform .25s;
}

.category-card:hover>img {
    transform: translateY(-3px);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.02em;
}

.category-card>div>span {
    display: block;
    font-size: 10px;
    color: #8a8e90;
    margin-top: 7px;
}

.round-arrow {
    position: absolute;
    right: 17px;
    bottom: 22px;
    border: 1px solid #dddfdb;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover .round-arrow {
    background: var(--orange);
    border-color: var(--orange);
}

.product-grid {
    display: grid;
    gap: 16px;
}

.featured-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: white;
    transition: box-shadow .18s,border-color .18s;
}

.product-card:hover {
    border-color: #d5d7d3;
    box-shadow: 0 5px 20px #20252a0a;
}

.product-picture {
    height: 195px;
    position: relative;
    background: #fbfbfa;
}

.product-picture>a {
    display: block;
    height: 100%;
    padding: 17px;
}

.product-picture img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-card-body {
    padding: 18px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.product-category {
    font-size: 10px;
    color: #8a8f8c;
}

.product-title {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    margin-top: 8px;
    display: block;
    min-height: 42px;
    letter-spacing: -.01em;
}

.product-title:hover {
    color: var(--orange-dark);
}

.product-price {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.product-price>strong {
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -.03em;
}

.product-price>span {
    font-size: 11px;
    color: #929690;
}

.product-price .request-price {
    font-size: 19px;
    line-height: 34px;
}

.price-note {
    font-size: 10px;
    display: block;
    margin-top: 4px;
    line-height: 1.6;
}

.product-add {
    background: #fff2e8;
    color: #9b4300;
    min-height: 40px;
    font-size: 12px;
    padding: 9px 13px;
    justify-content: space-between;
    flex: 1;
    border: 1px solid #ffdfc5;
}

.product-add:hover {
    background: var(--orange);
    color: #171717;
    border-color: var(--orange);
}

.inquiry-band-copy .eyebrow {
    color: #ff9b54;
}

.inquiry-band-copy>p:not(.eyebrow) {
    font-size: 14px;
    color: #aeb5b3;
    max-width: 320px;
    margin-top: 20px;
}

.inner-page {
    padding-bottom: 75px;
    min-height: 65vh;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #9b9f9c;
    margin: 8px 0 30px;
    flex-wrap: wrap;
}

.breadcrumbs span {
    color: #5d635f;
}

.breadcrumbs a:hover {
    color: var(--orange-dark);
}

.page-heading {
    margin: 0 0 35px;
}

.page-heading h1 {
    font-size: 42px;
    overflow-wrap: anywhere;
}

.catalog-products .product-picture {
    height: 180px;
}

.empty-state .button {
    margin-top: 6px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
}

.detail-picture {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafbf8;
    align-self: start;
    padding: 40px 30px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
}

.detail-picture img {
    width: 100%;
    mix-blend-mode: multiply;
}

.detail-content h1 {
    font-size: 36px;
    margin-top: 12px;
}

.detail-description {
    font-size: 13px;
    color: #818879;
    margin-top: 19px;
}

.detail-buy {
    background: #f6f7f2;
    border-radius: 9px;
    margin-top: 28px;
    padding: 23px;
}

.detail-price {
    font-size: 30px;
    font-weight: 650;
    letter-spacing: -.03em;
    margin: 7px 0 17px;
}

.detail-price small {
    font-size: 14px;
    color: #959c8d;
    font-weight: 400;
}

.detail-buy-actions>.button {
    flex: 1;
}

.detail-buy>.price-note {
    margin-top: 13px;
}

.comparison-table .button {
    font-size: 12px;
    min-height: 40px;
    padding: 9px 14px;
}

.cart-summary>.price-note {
    margin: 17px 0 22px;
}

.info-card .button {
    margin: 5px 7px 0 0;
    white-space: normal;
    font-size: 12px;
    min-height: 40px;
    padding: 10px 13px;
    justify-content: space-between;
}

.info-wide p:not(.eyebrow) {
    font-size: 14px;
    color: #848d78;
}

.info-wide>.button {
    flex-shrink: 0;
}

.form-success .button {
    margin-top: 8px;
}

.modal .lead {
    font-size: 14px;
}

.footer {
    background: #22272a;
    color: #d8dcd6;
    padding: 50px 0 0;
}

.footer-brand {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -.03em;
}

.footer-brand>span {
    display: block;
    font-size: 8px;
    letter-spacing: .15em;
    margin-top: 8px;
    color: #9aa397;
    font-weight: 400;
}

.footer-contact .button {
    font-size: 12px;
    min-height: 43px;
    padding: 10px 16px;
}

@media (min-width:1600px) {
    .hero {
        min-height: 460px;
    }
    .home-catalog > .category-row {
        min-height: 56px;
    }
}

@media (max-width:1250px) {
    .container {
        width: calc(100% - 48px);
    }
    .main-header {
        gap: 23px;
    }
    .brand {
        width: 220px;
    }
    .header-tools {
        gap: 17px;
    }
    .brand img {
        width: 65px;
        height: 65px;
    }
    .brand strong {
        font-size: 22px;
    }
    .catalog-dropdown {
        width: 220px;
    }
    .nav-links {
        padding: 0 5px;
    }
    .nav-links > span {
        font-size: 11px;
        padding: 12px 6px;
    }
    .hero-layout {
        grid-template-columns: 220px minmax(0,1fr);
    }
    .hero-content {
        padding: 40px 30px 85px;
    }
    .hero h1 {
        font-size: 43px;
    }
    .hero-benefits>a,.hero-benefits > .benefit {
        padding: 14px 12px;
        gap: 9px;
    }
    .hero-benefits strong {
        font-size: 11px;
    }
    .hero-benefits span {
        font-size: 9px;
    }
    .hero-benefits>*>svg:last-child {
        display: none;
    }
    .home-catalog > .category-row {
        font-size: 12px;
    }
    .hero {
        min-height: 438px;
    }
    .category-card {
        padding: 18px 17px 22px;
    }
    .category-card h3 {
        font-size: 16px;
    }
    .category-card>div>span {
        font-size: 9px;
    }
    .round-arrow {
        right: 13px;
        bottom: 18px;
    }
}

@media (max-width:1050px) {
    .header-note {
        display: none;
    }
    .brand {
        width: 190px;
    }
    .brand img {
        width: 60px;
        height: 60px;
    }
    .brand strong {
        font-size: 19px;
    }
    .brand small {
        font-size: 7px;
    }
    .header-tools {
        gap: 15px;
    }
    .header-tool small {
        font-size: 9px;
    }
    .main-header {
        gap: 18px;
    }
    .header-search button {
        padding: 0 15px;
    }
    .header-search button>svg {
        display: none;
    }
    .header-search input {
        font-size: 11px;
        padding: 10px 8px;
    }
    .catalog-dropdown {
        width: 190px;
    }
    .nav-links > span {
        font-size: 10px;
        padding: 12px 4px;
    }
    .hero-layout {
        grid-template-columns: 190px minmax(0,1fr);
    }
    .home-catalog {
        padding: 5px 10px 0;
    }
    .home-catalog > .category-row {
        gap: 7px;
        font-size: 11px;
        min-height: 52px;
    }
    .home-catalog > .category-row>img {
        width: 35px;
        height: 35px;
    }
    .hero h1 {
        font-size: 39px;
    }
    .hero-description {
        font-size: 12px;
    }
    .hero-content {
        padding: 38px 26px 80px;
    }
    .hero-benefits {
        grid-template-columns: 1fr 1fr;
    }
    .hero-benefits>:nth-child(2) {
        border: 0;
    }
    .hero-benefits>:last-child {
        display: none;
    }
    .hero {
        min-height: 438px;
    }
    .hero-overline {
        font-size: 9px;
    }
    .category-grid {
        gap: 10px;
    }
    .category-card {
        min-height: 205px;
    }
    .category-card>img {
        height: 115px;
    }
    .category-card .round-arrow {
        display: none;
    }
    .product-grid {
        gap: 12px;
    }
    .product-card-body {
        padding: 14px;
    }
    .product-picture {
        height: 170px;
    }
    .product-title {
        font-size: 13px;
    }
    .product-price>strong {
        font-size: 21px;
    }
    .product-price .request-price {
        font-size: 16px;
    }
    .process-intro .eyebrow {
        width: 100%;
        margin: 0;
    }
    .footer-brand {
        font-size: 21px;
    }
    .product-detail {
        gap: 30px;
    }
    .detail-content h1 {
        font-size: 30px;
    }
    .detail-picture {
        padding: 35px 15px;
    }
    .detail-buy {
        padding: 18px;
    }
    .detail-price {
        font-size: 27px;
    }
}

@media (max-width:800px) {
    .container {
        width: calc(100% - 36px);
    }
    .contact-bar {
        height: 32px;
        font-size: 10px;
    }
    .main-header {
        flex-wrap: wrap;
        padding: 14px 0 16px;
        gap: 12px;
    }
    .mobile-menu-toggle {
        display: flex;
        width: 30px;
    }
    .brand {
        width: auto;
        flex: 1;
        gap: 9px;
    }
    .brand img {
        width: 50px;
        height: 50px;
    }
    .brand strong {
        font-size: 17px;
        line-height: 1.03;
    }
    .brand small {
        font-size: 7px;
        margin-top: 5px;
        letter-spacing: .11em;
    }
    .brand strong>span {
        font-size: 7px;
        right: -9px;
    }
    .header-tools {
        gap: 18px;
    }
    .header-tools svg {
        width: 21px;
        height: 21px;
    }
    .header-tool small {
        font-size: 9px;
    }
    .header-search {
        order: 4;
        flex-basis: 100%;
        height: 45px;
        margin-top: 5px;
    }
    .header-search input {
        font-size: 12px;
    }
    .header-search button {
        padding: 0 21px;
    }
    .desktop-nav {
        display: none;
    }
    .hero-layout {
        grid-template-columns: 1fr;
    }
    .home-catalog {
        display: none;
    }
    .hero {
        min-height: 430px;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero-content {
        padding: 40px 32px 80px;
    }
    .hero-description {
        font-size: 14px;
    }
    .hero-overline {
        font-size: 10px;
    }
    .hero-benefits {
        grid-template-columns: repeat(3,1fr);
    }
    .hero-benefits>:last-child {
        display: flex;
    }
    .hero-benefits>:nth-child(2) {
        border-right: 1px solid var(--line);
    }
    .hero-benefits strong {
        font-size: 10px;
    }
    .hero-benefits span {
        font-size: 9px;
    }
    .hero-benefits>*>svg:first-child {
        width: 19px;
    }
    .hero-benefits>a,.hero-benefits > .benefit {
        gap: 8px;
        padding: 14px 11px;
    }
    .catalog-notice {
        font-size: 10px;
        padding: 12px;
    }
    .catalog-notice>a {
        display: none;
    }
    .section {
        margin-top: 44px;
    }
    .section-heading h2 {
        font-size: 28px;
    }
    .section-heading .text-link {
        font-size: 12px;
        white-space: nowrap;
    }
    .category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }
    .category-card {
        min-height: 220px;
    }
    .category-card>img {
        height: 135px;
    }
    .category-card h3 {
        font-size: 18px;
    }
    .category-card>div>span {
        font-size: 10px;
    }
    .category-card .round-arrow {
        display: flex;
    }
    .featured-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .product-picture {
        height: 205px;
    }
    .product-title {
        font-size: 15px;
    }
    .product-card-body {
        padding: 18px;
    }
    .product-price>strong {
        font-size: 24px;
    }
    .product-price .request-price {
        font-size: 19px;
    }
    .inquiry-band-copy>p:not(.eyebrow) {
        margin-top: 12px;
        max-width: none;
    }
    .footer {
        padding-top: 35px;
    }
    .breadcrumbs {
        margin: 3px 0 25px;
        font-size: 10px;
    }
    .page-heading h1 {
        font-size: 35px;
    }
    .page-heading {
        margin-bottom: 28px;
    }
    .lead {
        font-size: 14px;
    }
    .catalog-products .product-picture {
        height: 190px;
    }
    .mobile-filters-content>.button {
        margin-top: 20px;
    }
    .product-detail {
        gap: 25px;
    }
    .detail-content h1 {
        font-size: 27px;
    }
    .detail-description {
        font-size: 12px;
        margin-top: 15px;
    }
    .detail-buy {
        padding: 15px;
    }
    .detail-price {
        font-size: 24px;
    }
    .detail-buy-actions>.button {
        font-size: 12px;
    }
    .detail-picture {
        aspect-ratio: 1;
        padding: 25px 15px;
    }
    .detail-picture .demo-label {
        font-size: 7px;
    }
    .info-wide p:not(.eyebrow) {
        font-size: 13px;
    }
}

@media (max-width:560px) {
    h2 {
        font-size: 27px;
    }
    .container {
        width: calc(100% - 28px);
    }
    .contact-bar>span:first-child {
        font-size: 9px;
    }
    .contact-bar>button {
        font-size: 9px;
        gap: 5px;
    }
    .contact-bar>button>svg:last-child {
        display: none;
    }
    .main-header {
        gap: 9px;
    }
    .brand img {
        width: 46px;
        height: 46px;
    }
    .brand strong {
        font-size: 16px;
    }
    .brand small {
        font-size: 6px;
        letter-spacing: .08em;
    }
    .header-tools {
        gap: 13px;
        padding-right: 3px;
    }
    .header-tool small {
        font-size: 8px;
    }
    .mobile-menu-toggle {
        width: 27px;
        padding: 0;
    }
    .header-search input {
        font-size: 11px;
    }
    .header-search>svg {
        margin-left: 12px;
        width: 17px;
    }
    .header-search button {
        padding: 0 16px;
        font-size: 12px;
    }
    .hero {
        min-height: 433px;
        border-radius: 9px;
    }
    .hero-content {
        padding: 35px 24px 80px;
    }
    .hero h1 {
        font-size: 39px;
        line-height: 1.08;
        margin-top: 29px;
    }
    .hero-description {
        font-size: 12px;
        line-height: 1.7;
        max-width: 280px;
        margin-top: 20px;
    }
    .hero-overline {
        font-size: 8px;
        letter-spacing: .1em;
        gap: 7px;
    }
    .hero-overline>span {
        width: 13px;
    }
    .hero-image {
        object-position: 60% center;
    }
    .hero-shade {
        background: linear-gradient(90deg,#141a1ede,#151b2080 75%,#151b2040);
    }
    .hero-cta {
        font-size: 12px;
        min-height: 43px;
        min-width: 190px;
        margin-top: 26px;
        padding: 11px 16px;
    }
    .hero-benefits {
        grid-template-columns: 1fr 1fr;
        min-height: 80px;
    }
    .hero-benefits>:last-child {
        display: none;
    }
    .hero-benefits>:nth-child(2) {
        border: 0;
    }
    .hero-benefits>a,.hero-benefits > .benefit {
        padding: 13px 11px;
        gap: 9px;
    }
    .hero-benefits>*>svg:first-child {
        width: 20px;
    }
    .hero-benefits strong {
        font-size: 10px;
        line-height: 1.35;
    }
    .hero-benefits span {
        font-size: 8px;
        margin-top: 5px;
        line-height: 1.4;
    }
    .catalog-notice {
        align-items: flex-start;
        margin-top: 15px;
        gap: 8px;
        font-size: 9px;
        padding: 11px;
    }
    .notice-symbol {
        flex-shrink: 0;
        width: 15px;
        height: 15px;
        font-size: 10px;
        margin-top: 1px;
    }
    .section {
        margin-top: 36px;
    }
    .section-heading {
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 19px;
    }
    .section-heading h2 {
        font-size: 25px;
        max-width: 290px;
        line-height: 1.14;
    }
    .section-heading .eyebrow {
        font-size: 8px;
        letter-spacing: .12em;
        margin-bottom: 9px;
    }
    .section-heading>.text-link {
        font-size: 10px;
        gap: 5px;
        align-self: flex-end;
        padding-bottom: 3px;
    }
    .section-heading>.text-link svg {
        width: 14px;
    }
    .section-heading>.subtle-label {
        display: none;
    }
    .category-grid {
        gap: 10px;
    }
    .category-card {
        padding: 13px 13px 17px;
        min-height: 195px;
    }
    .category-card>img {
        height: 115px;
        margin-bottom: 10px;
    }
    .category-card h3 {
        font-size: 15px;
    }
    .category-card>div>span {
        font-size: 8px;
        margin-top: 6px;
    }
    .category-card .round-arrow {
        display: none;
    }
    .product-grid {
        gap: 10px;
    }
    .product-picture,.catalog-products .product-picture {
        height: 150px;
    }
    .product-picture>a {
        padding: 14px 9px;
    }
    .product-card-body {
        padding: 12px;
    }
    .product-category {
        font-size: 8px;
    }
    .product-title {
        font-size: 12px;
        min-height: 35px;
        margin-top: 7px;
        line-height: 1.4;
    }
    .product-price {
        margin-top: 14px;
        gap: 4px;
        flex-wrap: wrap;
        min-height: 29px;
    }
    .product-price>strong {
        font-size: 20px;
        line-height: 1.3;
    }
    .product-price>span {
        font-size: 9px;
    }
    .product-price .request-price {
        font-size: 15px;
        line-height: 26px;
    }
    .price-note {
        font-size: 8px;
    }
    .product-add {
        font-size: 10px;
        min-height: 35px;
        padding: 8px 8px;
        gap: 4px;
    }
    .product-add svg {
        width: 14px;
    }
    .process-intro>.text-link {
        font-size: 12px;
    }
    .inquiry-band-copy .eyebrow {
        font-size: 9px;
    }
    .inquiry-band-copy>p:not(.eyebrow) {
        font-size: 12px;
        max-width: 260px;
    }
    .footer-brand {
        font-size: 20px;
    }
    .footer-brand>span {
        font-size: 6px;
        letter-spacing: .08em;
    }
    .footer-contact .button {
        font-size: 10px;
        gap: 5px;
        padding: 8px 10px;
        min-height: 36px;
    }
    .footer-contact .button svg {
        width: 14px;
    }
    .inner-page {
        padding-bottom: 45px;
    }
    .breadcrumbs {
        font-size: 9px;
        gap: 6px;
        margin: 2px 0 24px;
    }
    .page-heading h1 {
        font-size: 32px;
    }
    .page-heading .eyebrow {
        font-size: 9px;
        margin-bottom: 10px;
    }
    .lead {
        font-size: 13px;
        margin-top: 12px;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .detail-picture {
        aspect-ratio: 1.1;
    }
    .detail-picture>img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .detail-content h1 {
        font-size: 32px;
    }
    .detail-content>.eyebrow {
        font-size: 10px;
    }
    .detail-description {
        font-size: 13px;
    }
    .detail-buy {
        padding: 21px;
    }
    .detail-price {
        font-size: 30px;
    }
    .detail-buy-actions>.button {
        font-size: 12px;
        gap: 9px;
    }
    .compare-toolbar>.text-link {
        font-size: 12px;
    }
    .cart-summary .price-note {
        font-size: 10px;
    }
    .info-wide>.button {
        font-size: 12px;
    }
    .modal .eyebrow {
        font-size: 9px;
    }
    .modal-actions .button {
        font-size: 12px;
        padding: 11px 14px;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}

html[data-theme="dark"] {
    --orange: #ff790d;
    --orange-dark: #ff963f;
    --ink: #f1f2f3;
    --muted: #a5adb4;
    --line: #30363b;
    --paper: #15191c;
    --dark-raised: #1b2024;
    --dark-hover: #242b30;
    --dark-photo: #e8ebed;
    color-scheme: dark;
    background: #0b0d0f;
}

html[data-theme="dark"] body {
    color: var(--ink);
    background: #0b0d0f;
}

html[data-theme="dark"] ::selection {
    color: #15191c;
    background: #ffaf73;
}

html[data-theme="dark"] :is(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline-color: #ffad6a;
}

html[data-theme="dark"] :is(input, textarea)::placeholder {
    color: #a5adb4;
    opacity: 1;
}

html[data-theme="dark"] .button.primary,
html[data-theme="dark"] .header-search button,
html[data-theme="dark"] .skip-link {
    color: #17120d;
    background: var(--orange);
}

html[data-theme="dark"] .button.primary:hover,
html[data-theme="dark"] .header-search button:hover {
    background: #ff963f;
}

html[data-theme="dark"] .button.secondary {
    color: var(--ink);
    background: var(--dark-raised);
    border-color: #3c454c;
}

html[data-theme="dark"] .button.secondary:hover {
    color: #ffb378;
    background: #2a211a;
    border-color: #ad612e;
}

html[data-theme="dark"] .icon-button:hover {
    background: var(--dark-hover);
}

html[data-theme="dark"] :is(.muted, .price-note, .subtle-label, .lead) {
    color: var(--muted);
}

html[data-theme="dark"] .site-header {
    background: #0b0d0f;
}

html[data-theme="dark"] .contact-bar {
    color: var(--muted);
    border-color: var(--line);
}

html[data-theme="dark"] .contact-bar > button {
    color: #e1e5e8;
}

html[data-theme="dark"] :is(.header-note, .brand small, .header-tool small) {
    color: var(--muted);
}

html[data-theme="dark"] .header-search {
    border-color: #3a4248;
    background: var(--paper);
}

html[data-theme="dark"] .header-search > svg {
    color: var(--muted);
}

html[data-theme="dark"] .header-search input {
    color: var(--ink);
}

html[data-theme="dark"] .header-search:focus-within {
    border-color: #ff9b50;
    box-shadow: 0 0 0 2px #ff790d29;
}

html[data-theme="dark"] .header-tool b {
    border-color: #0b0d0f;
}

html[data-theme="dark"] .catalog-toggle {
    color: var(--ink);
    background: #242b30;
    box-shadow: inset 0 0 0 1px #39434a;
}

html[data-theme="dark"] .catalog-toggle:hover {
    background: #313b42;
}

html[data-theme="dark"] .catalog-popover {
    background: var(--dark-raised);
    border-color: #3b444b;
    box-shadow: 0 16px 40px #0008;
}

html[data-theme="dark"] .catalog-popover > a:hover {
    color: #ffb378;
    background: #30251d;
}

html[data-theme="dark"] .nav-links {
    background: var(--paper);
}

html[data-theme="dark"] .home-catalog {
    background: var(--paper);
}

html[data-theme="dark"] .sidebar-heading,
html[data-theme="dark"] .sidebar-heading span {
    color: var(--muted);
}

html[data-theme="dark"] .home-catalog > .category-row {
    border-color: var(--line);
}

html[data-theme="dark"] .home-catalog > .category-row > svg {
    color: #a5adb4;
}

html[data-theme="dark"] .home-catalog > .category-row > img {
    background: var(--dark-photo);
    border-radius: 5px;
    mix-blend-mode: normal;
}

html[data-theme="dark"] .hero-benefits {
    background: var(--paper);
}

html[data-theme="dark"] .hero-benefits span,
html[data-theme="dark"] .hero-benefits > * > svg:last-child {
    color: var(--muted);
}

html[data-theme="dark"] .hero-benefits > *:hover {
    background: var(--dark-raised);
}

html[data-theme="dark"] .catalog-notice {
    color: #b0b8be;
    background: var(--paper);
}

html[data-theme="dark"] .catalog-notice > a {
    color: #dce1e4;
}

html[data-theme="dark"] .notice-symbol {
    border-color: #7c8790;
}

html[data-theme="dark"] .category-card {
    background: var(--paper);
    border-color: var(--line);
}

html[data-theme="dark"] .category-card:hover {
    background: var(--dark-raised);
    border-color: #9b5a2e;
    box-shadow: 0 8px 24px #0004;
}

html[data-theme="dark"] .category-card > img {
    width: calc(100% - 12px);
    margin-left: auto;
    margin-right: auto;
    padding: 7px;
    border-radius: 8px;
    background: var(--dark-photo);
    mix-blend-mode: normal;
}

html[data-theme="dark"] .category-card > div > span {
    color: var(--muted);
}

html[data-theme="dark"] .round-arrow {
    color: #d8dee2;
    border-color: #4a545c;
}

html[data-theme="dark"] .category-card:hover .round-arrow {
    color: #17120d;
    background: var(--orange);
    border-color: var(--orange);
}

html[data-theme="dark"] .product-card {
    background: var(--paper);
    border-color: var(--line);
}

html[data-theme="dark"] .product-card:hover {
    border-color: #59636c;
    box-shadow: 0 8px 26px #0005;
}

html[data-theme="dark"] :is(.product-picture, .detail-picture, .cart-image) {
    background: var(--dark-photo);
}

html[data-theme="dark"] :is(.product-picture, .detail-picture, .cart-image) img {
    mix-blend-mode: normal;
}

html[data-theme="dark"] .product-picture .favorite-toggle {
    color: #58626a;
    background: #f6f8f8eb;
}

html[data-theme="dark"] .product-picture .favorite-toggle:hover {
    color: #333e46;
    background: #fff;
}

html[data-theme="dark"] .product-picture .favorite-toggle.selected {
    color: #ae4c08 !important;
}

html[data-theme="dark"] :is(.product-category, .product-spec, .product-price > span) {
    color: var(--muted);
}

html[data-theme="dark"] .product-add {
    color: #ffb378;
    background: #302219;
    border-color: #704323;
}

html[data-theme="dark"] .product-add:hover {
    color: #17120d;
    background: var(--orange);
    border-color: var(--orange);
}

html[data-theme="dark"] :is(.breadcrumbs, .title-count, .results-toolbar, .back-link) {
    color: var(--muted);
}

html[data-theme="dark"] .breadcrumbs span {
    color: #d0d7dc;
}

html[data-theme="dark"] .detail-description,
html[data-theme="dark"] .detail-price small {
    color: var(--muted);
}

html[data-theme="dark"] .detail-buy {
    background: var(--paper);
}

html[data-theme="dark"] .info-wide p:not(.eyebrow) {
    color: var(--muted);
}

html[data-theme="dark"] .inquiry-band-copy > p:not(.eyebrow) {
    color: #b0bac2;
}

html[data-theme="dark"] input:-webkit-autofill {
    -webkit-text-fill-color: var(--ink);
    box-shadow: 0 0 0 1000px var(--dark-raised) inset;
    caret-color: #ffad6a;
}

html[data-theme="dark"] .footer {
    color: #dce2e6;
    background: #101518;
    box-shadow: inset 0 1px 0 #2c343a;
}

html[data-theme="dark"] .footer-brand > span {
    color: #aab4bc;
}

.hero-content h1,
.page-heading h1,
.detail-content h1 {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.hero-description {
    line-height: 1.55;
}

.category-card h3,
.product-title {
    overflow-wrap: anywhere;
}

.product-card-body,
.product-price {
    min-width: 0;
}

@media (max-width: 700px) {
    .hero-content h1 {
        font-size: clamp(26px, 7vw, 46px);
    }
    .product-title {
        font-size: 13px;
    }
}

.cms-site-name {
    white-space: normal;
    max-width: 150px;
}

.cms-home h1,.cms-home .hero-description {
    white-space: pre-line;
}

.hero-with-videos {
    --video-inset: clamp(18px, 2.2vw, 32px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.hero-videos {
    display: grid;
    align-self: center;
    width: clamp(135px, 14vw, 188px);
    gap: clamp(12px, 1.5vh, 18px);
    margin: 18px var(--video-inset) 18px 0;
}

.hero-video-card {
    position: relative;
    min-width: 0;
}

.hero-video-tile {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    aspect-ratio: 1.65;
    padding: 8px 10px;
    border: 1px solid rgb(255 255 255 / .44);
    border-radius: 8px;
    background: #22292d;
    color: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / .28);
    overflow: hidden;
}

.hero-video-cover,
.hero-video-tile::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-video-cover {
    object-fit: cover;
    z-index: -2;
}

.hero-video-tile::after {
    content: "";
    z-index: -1;
    background: linear-gradient(0deg, rgb(8 12 14 / .92), rgb(8 12 14 / .40) 35%, transparent 75%);
}

.hero-video-tile:hover,
.hero-video-tile:focus-visible {
    border-color: var(--orange);
}

.hero-video-toggle:not([hidden]) {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #fff;
    border: 0;
    background: transparent;
}

.hero-video-toggle::before,
.hero-video-toggle::after {
    content: "";
    grid-area: 1 / 1;
    box-sizing: border-box;
}

.hero-video-toggle::before {
    width: 16px;
    height: 16px;
    border: 1px solid rgb(255 255 255 / .55);
    border-radius: 50%;
    background: rgb(10 14 16 / .73);
}

.hero-video-toggle::after {
    margin-left: 2px;
    border-block: 3px solid transparent;
    border-left: 5px solid currentColor;
}

.hero-video-toggle.is-playing::after {
    width: 6px;
    height: 6px;
    margin: 0;
    border: 0;
    border-inline: 2px solid currentColor;
}

.hero-video-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 650;
    line-height: 1.18;
}

#hero-video-player {
    width: min(840px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #42494d;
    border-radius: 12px;
    background: #131719;
    color: #fff;
    box-shadow: 0 16px 64px rgb(0 0 0 / .5);
}

#hero-video-player::backdrop {
    background: rgb(5 8 10 / .86);
}

.hero-video-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 8px 6px 18px;
}

.hero-video-toolbar h2 {
    font-size: clamp(16px, 2vw, 22px);
    overflow-wrap: anywhere;
}

.hero-video-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 6px;
}

.hero-video-close:hover {
    background: #2d3438;
}

#hero-video-player video {
    display: block;
    width: 100%;
    max-height: calc(100dvh - 84px);
    background: #080a0b;
}

.hero-video-error {
    padding: 12px 18px;
}

.hero-video-error a {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .hero-with-videos {
        grid-template-columns: minmax(0, 1fr);
        align-content: space-between;
    }
    .cms-home .hero-with-videos .hero-content {
        padding-bottom: 24px;
    }
    .hero-videos {
        width: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0 clamp(10px, 3vw, 20px) 14px;
        gap: 10px;
    }
    .hero-video-tile {
        width: 100%;
        aspect-ratio: 1.25;
        min-height: 90px;
        padding: 6px;
    }
}

.cms-home .hero-image {
    object-fit: cover;
}

.cms-catalog-rail {
    display: none;
}

@media (min-width: 801px) {
    :root {
        --cms-grid-gap: 16px;
    }
    .main-header {
        column-gap: var(--cms-grid-gap);
        padding-bottom: var(--cms-grid-gap);
    }
    .desktop-nav {
        gap: var(--cms-grid-gap);
        margin-bottom: var(--cms-grid-gap);
    }
    .cms-home {
        grid-template-rows: auto auto;
        gap: var(--cms-grid-gap);
    }
    .cms-home .cms-catalog-rail,
  .cms-home .hero-column {
        display: grid;
        grid-row: 1 / span 2;
        grid-template-rows: subgrid;
        row-gap: inherit;
        min-width: 0;
    }
    .cms-home .home-catalog {
        display: flex;
        flex-direction: column;
    }
    .cms-home .home-catalog > .category-row {
        flex-grow: 1;
    }
    .cms-home .home-catalog > .category-row:last-child {
        border-bottom: 0;
    }
    .cms-home .home-catalog > .category-row > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .cms-catalog-all {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 16px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: var(--paper);
        color: var(--orange-dark);
        font-size: 13px;
        font-weight: 650;
    }
    .cms-catalog-all:hover {
        border-color: currentColor;
    }
}

@media (min-width: 1100px) {
    :root {
        --cms-copy-inset: clamp(30px, 2.8vw, 42px);
    }
    .desktop-nav .nav-links {
        padding-inline: calc(var(--cms-copy-inset) - 8px);
        min-width: 0;
        flex-wrap: wrap;
    }
    .desktop-nav .nav-links > span {
        padding-inline: 8px;
    }
    .cms-home .hero-benefits > * {
        gap: 8px;
        padding-inline: max(6px, calc(var(--cms-copy-inset) - 29px));
    }
    .cms-home .hero-benefits > * > svg:first-child {
        flex: 0 0 20px;
        width: 20px;
    }
    .cms-home .hero {
        container-type: inline-size;
        width: 100%;
        aspect-ratio: 1.91;
        min-height: min-content;
    }
    .cms-home .hero-image {
        right: 0;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: right center;
        mask-image: linear-gradient(to right, transparent, black 10%);
    }
    .cms-home .hero-content {
        padding: 4.75% var(--cms-copy-inset) 7.45%;
    }
    .cms-home .hero-content h1 {
        max-width: none;
        font-size: clamp(38px, 5.07cqi, 56px);
        margin-top: 3.07cqi;
    }
    .cms-home .hero-overline {
        font-size: clamp(10px, 1.16cqi, 13px);
    }
    .cms-home .hero-description {
        margin-top: 2.33cqi;
        font-size: clamp(14px, 1.65cqi, 18px);
    }
    .cms-home .hero-cta {
        margin-top: 3.07cqi;
        min-width: min(100%, 23.25cqi);
        min-height: 5.5cqi;
        font-size: clamp(13px, 1.44cqi, 16px);
    }
}

@media (min-width: 1100px) and (max-height: 880px) {
    #top:has(> .home-page) {
        --cms-hero-budget: max(320px, calc(100svh - 292px));
    }
    :where(#top:has(> .home-page)) .container {
        max-width: clamp(1080px, calc(245px + var(--cms-grid-gap) + 1.91 * var(--cms-hero-budget)), 1360px);
    }
    :where(.site-header:has(+ .home-page)) .contact-bar {
        height: 32px;
    }
    :where(.site-header:has(+ .home-page)) .main-header {
        padding-block: 10px;
    }
    :where(.site-header:has(+ .home-page)) .brand img {
        width: 56px;
        height: 56px;
    }
    .cms-home .hero {
        aspect-ratio: auto;
    }
    .cms-home .hero-content {
        min-height: min(52.36cqi, var(--cms-hero-budget));
        padding-block: clamp(28px, 5svh, 44px);
    }
    .cms-home .home-catalog > .category-row {
        min-height: clamp(38px, 6svh, 53px);
    }
    .cms-home .hero-benefits {
        min-height: 66px;
    }
    .cms-home .hero-benefits > * {
        padding-block: 10px;
    }
}

@media (min-width: 1100px) and (max-height: 680px) {
    :where(.site-header:has(+ .home-page)) .main-header {
        padding-block: 6px;
    }
    .cms-home .sidebar-heading {
        padding-block: 6px;
    }
    .cms-home .hero-benefits {
        min-height: 54px;
    }
}

@media (max-width:800px) {
    .cms-site-name {
        max-width: 100px;
    }
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #e1e5e8;
    font-weight: 600;
}

.nav-links > a {
    padding: 12px 8px;
    font-size: 12px;
    white-space: nowrap;
}

.nav-links > a:hover,
.contact-action:hover {
    color: var(--orange-dark);
}

.nav-links > span:hover,
.header-tool[aria-disabled]:hover,
.home-catalog > .category-row[aria-disabled]:hover {
    color: inherit;
}

a.category-row:hover > span,
.product-title a:hover,
.edit-product-link a {
    color: var(--orange-dark);
}

.category-card[aria-disabled]:hover {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: none;
}

.category-card[aria-disabled]:hover img {
    transform: none;
}

.product-picture img,
.detail-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card .product-add {
    margin-top: 18px;
    flex: none;
}

.inner-page {
    min-height: 50vh;
}

.edit-product-link {
    margin-top: 16px;
}

.footer {
    padding: 36px 0;
    margin-top: 56px;
}

.footer-inner {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-brand {
    margin-right: auto;
}

.inquiry-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 42px;
    margin-top: 60px;
    background: var(--dark-raised);
    border-radius: 12px;
}

.inquiry-band-copy h2 {
    max-width: 360px;
    font-size: 36px;
    margin: 15px 0;
}

.inquiry-band-copy > p:not(.eyebrow),
.inquiry-note {
    color: var(--muted);
}

.fields-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
}

.field input,
.field textarea {
    min-width: 0;
    width: 100%;
    border: 1px solid #4b5051;
    padding: 11px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    background: #252b2f;
    color: var(--ink);
}

.field textarea {
    resize: vertical;
}

.inquiry-note {
    font-size: 11px;
    margin-bottom: 14px;
}

.inquiry-form [role="status"] {
    margin-top: 12px;
}

@media (max-width: 1250px) {
    .nav-links > a {
        padding-inline: 6px;
        font-size: 11px;
    }
}

@media (max-width: 1050px) {
    .nav-links > a {
        padding-inline: 4px;
        font-size: 10px;
    }
}

@media (max-width: 800px) {
    .inquiry-band {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .fields-two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
}

.catalog-popover {
    max-height: min(60vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.catalog-popover > a {
    gap: 8px;
}

.cms-home .category-row {
    line-height: 1.22;
}

.cms-home .category-row > span:not(.section-image-fallback) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.category-row img,
.category-row .section-image-fallback {
    flex-shrink: 0;
}

.section-image-fallback {
    display: grid;
    place-items: center;
    color: var(--muted);
    background: var(--dark-raised);
    border-radius: 5px;
}

.category-row .section-image-fallback {
    width: 46px;
    height: 39px;
}

.category-card .section-image-fallback {
    height: 132px;
    margin-bottom: 12px;
}

.category-card h3 {
    padding-inline-end: 18px;
    font-size: clamp(14px, 1.3vw, 18px);
}

.category-card .section-count {
    margin-top: auto;
    padding-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(200px, 245px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.catalog-section-nav {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}

.catalog-section-nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.35;
}

.catalog-section-nav > a:last-child {
    border-bottom: 0;
}

.catalog-section-nav > a[aria-current],
.catalog-section-nav > a:hover {
    background: var(--dark-raised);
    color: var(--orange-dark);
}

.catalog-section-nav small {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.catalog-results {
    min-width: 0;
}

.catalog-result-count {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
}

.price-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}

.price-list :is(th, td) {
    padding: 12px 16px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}

.price-list thead th {
    color: var(--muted);
    background: var(--dark-raised);
    font-size: 12px;
    font-weight: 600;
}

.price-list :is(th, td):last-child {
    text-align: right;
}

.price-list tr:last-child > :is(td, th[scope="row"]) {
    border-bottom: none;
}

.price-list tbody th {
    font-size: 14px;
    font-weight: 550;
}

.price-list tbody tr:focus-within,
.price-list tbody tr:hover {
    background: var(--dark-raised);
}

.price-list a:hover,
.pagination a:hover {
    color: var(--orange-dark);
}

.price-list-title {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-wrap: anywhere;
}

.price-list-title img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    background: var(--dark-photo);
}

.price-list-section {
    width: 28%;
    font-size: 12px;
    color: var(--muted);
}

.price-list-amount {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pagination .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0;
    margin-block: 16px;
    gap: 6px;
    background: transparent;
}

.pagination .nav-links .page-numbers {
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
}

.pagination .page-numbers.current {
    color: #17120d;
    background: var(--orange);
}

.product-detail.no-product-photo {
    grid-template-columns: minmax(0, 850px);
}

.detail-description :is(p, ul, ol, table) {
    margin-block: 12px;
}

.detail-description table {
    border-collapse: collapse;
}

.detail-description :is(td, th) {
    padding: 7px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 800px) {
    .catalog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .catalog-section-nav {
        display: flex;
        align-items: stretch;
        overflow-x: auto;
        border-radius: 7px;
    }

    .catalog-section-nav > a {
        padding: 9px 12px;
        min-width: max-content;
        max-width: 230px;
        border-bottom: none;
        border-right: 1px solid var(--line);
    }

    .catalog-section-nav > a > span {
        max-width: 185px;
    }
}

@media (max-width: 600px) {
    .price-list :is(td, th) {
        padding: 9px;
    }

    .price-list .price-list-section {
        display: none;
    }

    .price-list tbody th,
    .price-list-amount {
        font-size: 12px;
    }

    .price-list-title {
        gap: 6px;
    }

    .price-list-title img {
        width: 28px;
        height: 28px;
    }

    .category-card h3 {
        padding-inline-end: 0;
    }

    .category-card .round-arrow {
        display: none;
    }
}

