:root {
    --orange:#eb7025;
    --orange-hover:#c95813;
    --accent-text:#b64d10;
    --ink:#222;
    --text:#666;
    --line:#e9e9e9;
    --tile:#f7f7f7;
    --gap:clamp(16px,2.65vw,40px);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    color:var(--text);
    background:#fff;
    font-synthesis:none;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    font-size:15px;
    line-height:1.6;
}

body.modal-open {
    position:fixed;
    inset-inline:0;
    overflow:hidden;
}

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

h1,h2,h3 {
    color:var(--ink);
    line-height:1.2;
}

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

button,input {
    font:inherit;
}

button {
    cursor:pointer;
    color:inherit;
}

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

button {
    border:0;
    background:none;
}

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

ul {
    list-style:none;
    margin:0;
    padding:0;
}

button svg {
    pointer-events:none;
}

a,button,input {
    touch-action:manipulation;
}

a:hover,.text-button:hover {
    color:var(--accent-text);
}

:focus-visible {
    outline:2px solid var(--orange-hover);
    outline-offset:5px;
}

input:focus-visible {
    outline-offset:2px;
}

[hidden] {
    display:none!important;
}

.container {
    width:calc(100% - 32px);
    max-width:1440px;
    margin-inline:auto;
}

.icon {
    display:inline-block;
    flex-shrink:0;
    vertical-align:middle;
}

.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:12px;
    left:12px;
    background:#fff;
    padding:12px 20px;
    z-index:20;
    transform:translateY(-150%);
}

.skip-link:focus {
    transform:none;
}

.icon-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:10px;
    color:var(--ink);
    flex-shrink:0;
}

.icon-button:hover {
    color:var(--accent-text);
}

/* A separate compact mobile header, rather than a scaled desktop menu. */
.topbar,.desktop-nav {
    display:none;
}

.mainbar {
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.brand {
    display:inline-block;
    flex-shrink:0;
}

.brand img {
    width:145px;
    height:auto;
}

.header-actions {
    display:flex;
    align-items:center;
    gap:1px;
}

.cart-button {
    position:relative;
}

.cart-count {
    position:absolute;
    top:2px;
    right:0;
    min-width:17px;
    height:17px;
    border-radius:50%;
    background:var(--orange);
    color:#222;
    font-size:10px;
    font-weight:700;
    display:grid;
    place-items:center;
    border:2px solid #fff;
    line-height:1;
}

.trustpilot {
    display:inline-flex;
    align-items:center;
    min-height:44px;
}

.trustpilot img {
    width:100px;
    height:42px;
    object-fit:contain;
}

.mobile-trust {
    display:flex;
    justify-content:center;
    border-block:1px solid #f0f0f0;
    padding:3px 0;
}

.mobile-trust .trustpilot img {
    width:86px;
    height:auto;
}

.mobile-trust .trustpilot {
    min-height:38px;
}

.categories {
    padding-top:20px;
    container-type:inline-size;
}

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

.category {
    position:relative;
    display:block;
    overflow:hidden;
    background:var(--tile);
    min-width:0;
    aspect-ratio:440/420;
    scroll-margin-top:24px;
}

.category img {
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center bottom;
    transition:transform 300ms ease;
}

.category-copy {
    position:absolute;
    z-index:1;
    top:15px;
    left:14px;
    right:10px;
    pointer-events:none;
}

.category h2 {
    font-size:clamp(16px,4.15vw,21px);
    font-weight:650;
    letter-spacing:-.5px;
    transition:color 200ms ease;
}

.category-copy span {
    display:block;
    font-size:12px;
    margin-top:5px;
    color:#666;
}

.category-imac {
    grid-column:1/-1;
    aspect-ratio:892/540;
    order:5;
}

.category-ipad {
    order:4;
    aspect-ratio:auto;
}

.category-iphone {
    order:3;
    aspect-ratio:auto;
    min-height:clamp(210px,56vw,244px);
}

.category-iphone img {
    object-position:right bottom;
}

.category-air {
    order:1;
}

.category-pro {
    order:2;
}

.category-mini {
    order:6;
}

.category-watch {
    order:7;
}

.category-accessories {
    order:8;
    grid-column:1/-1;
    aspect-ratio:2/1;
}

.category-accessories img {
    width:75%;
    margin-left:auto;
}

.category-accessories .category-copy {
    max-width:180px;
}

.category-imac h2,.category-accessories h2 {
    font-size:22px;
}

.category-accessories .category-copy {
    top:21px;
    left:20px;
}

.category-imac .category-copy {
    top:20px;
    left:20px;
}

.new-products {
    padding-block:52px 56px;
}

.section-heading {
    text-align:center;
    margin-bottom:26px;
}

.section-heading h2 {
    font-size:28px;
    font-weight:650;
    letter-spacing:-.7px;
}

.section-heading p {
    margin-top:9px;
    font-size:14px;
}

.product-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 16px;
}

.product-card {
    min-width:0;
}

.product-image {
    display:block;
    overflow:hidden;
    aspect-ratio:1;
    background:#fff;
    border-bottom:1px solid var(--line);
}

.product-image img {
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform 300ms ease;
}

.product-card h3 {
    font-size:15px;
    font-weight:600;
    line-height:1.45;
    margin-top:16px;
    min-height:44px;
}

.price {
    font-size:18px;
    color:var(--ink);
    font-weight:600;
    margin:7px 0;
}

.product-link {
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    min-height:44px;
    color:var(--accent-text);
}

.product-link .icon {
    width:17px;
    height:17px;
}

.preview-note {
    margin-top:25px;
    text-align:center;
    font-size:12px;
    color:#707070;
}

.site-footer {
    border-top:1px solid var(--line);
    padding-top:40px;
}

.footer-grid {
    display:grid;
    gap:32px;
}

.site-footer .brand img {
    width:160px;
}

.footer-contact address {
    font-style:normal;
    margin:22px 0 16px;
}

.footer-contact address a,.footer-contact address p {
    display:flex;
    gap:12px;
    align-items:flex-start;
    margin-bottom:12px;
}

.footer-contact .icon {
    width:18px;
    height:22px;
    color:#777;
}

.site-footer h2 {
    font-size:18px;
    font-weight:600;
    margin-bottom:17px;
}

.site-footer li a {
    display:inline-flex;
    min-height:40px;
    align-items:center;
}

.footer-about p {
    max-width:380px;
    line-height:1.9;
}

.facebook {
    margin-top:13px;
    justify-content:flex-start;
    padding-left:0;
}

.facebook .icon {
    width:18px;
    height:18px;
    fill:currentColor;
    stroke-width:0;
}

.footer-bottom {
    border-top:1px solid var(--line);
    margin-top:36px;
    padding-block:24px 30px;
    font-size:12px;
    line-height:1.8;
}

/* Native modal dialogs provide an inert background and keyboard focus containment. */
dialog {
    color:var(--text);
    border:0;
    padding:0;
    background:white;
    max-height:calc(100dvh - 32px);
    overscroll-behavior:contain;
}

dialog::backdrop {
    background:rgb(0 0 0 / .35);
}

.drawer {
    position:fixed;
    inset:0 0 0 auto;
    margin:0;
    width:min(460px,100%);
    max-width:100%;
    height:100dvh;
    max-height:100dvh;
    overflow-y:auto;
}

.drawer-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:20px 20px 20px 24px;
    border-bottom:1px solid var(--line);
}

.drawer-header h2 {
    font-size:23px;
    letter-spacing:-.4px;
    font-weight:600;
}

.menu-drawer {
    inset:0 auto 0 0;
    width:min(370px,calc(100% - 24px));
}

.mobile-nav {
    padding:14px 24px;
}

.mobile-nav a,.mobile-more-toggle {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    color:var(--ink);
    width:100%;
    text-align:left;
    padding:10px 0;
    font-weight:550;
}

.mobile-more-toggle .icon {
    width:16px;
    height:16px;
    transition:transform 200ms;
}

.mobile-more-toggle[aria-expanded=true] .icon {
    transform:rotate(180deg);
}

.mobile-submenu {
    padding:3px 0 8px 17px;
    border-left:2px solid var(--orange);
}

.mobile-submenu a {
    font-weight:400;
    font-size:14px;
}

.mobile-utility {
    border-top:1px solid var(--line);
    margin:0 24px;
    padding-top:16px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px 12px;
}

.mobile-utility a {
    display:flex;
    align-items:center;
    min-height:44px;
    font-size:14px;
}

.drawer-trust {
    padding:20px 24px 28px;
}

.account-dialog,.preview-dialog {
    width:calc(100% - 32px);
    max-width:480px;
    padding:32px 24px;
    border-radius:3px;
}

.dialog-close {
    position:absolute;
    top:9px;
    right:9px;
}

.account-dialog h2,.preview-dialog h2 {
    font-size:27px;
    font-weight:650;
    padding-right:24px;
    letter-spacing:-.6px;
}

.dialog-intro {
    margin-top:7px;
    font-size:14px;
}

.account-tabs {
    display:flex;
    margin:23px 0;
    border-bottom:1px solid #ddd;
}

.account-tabs button {
    flex:1;
    padding:12px 8px;
    border-bottom:2px solid transparent;
    margin-bottom:-1px;
    color:var(--text);
}

.account-tabs button[aria-selected=true] {
    border-bottom-color:var(--orange);
    color:var(--ink);
    font-weight:600;
}

.account-form {
    display:grid;
    gap:16px;
}

.field {
    display:grid;
    gap:6px;
    min-width:0;
}

.field label {
    color:var(--ink);
    font-size:14px;
}

.field input {
    border:1px solid #c9c9c9;
    border-radius:2px;
    min-width:0;
    width:100%;
    height:46px;
    padding:10px 12px;
    background:#fff;
    color:var(--ink);
    font-size:16px;
}

.field small {
    font-size:12px;
}

.name-fields {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.checkbox {
    display:flex;
    align-items:center;
    gap:9px;
    font-size:14px;
    min-height:30px;
}

.checkbox input {
    width:17px;
    height:17px;
    margin:0;
    accent-color:var(--accent-text);
}

.button {
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    background:var(--orange);
    color:#222;
    padding:12px 22px;
    border:1px solid transparent;
    border-radius:2px;
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

.button:hover {
    background:var(--orange-hover);
    color:#000;
}

.text-button {
    font-size:13px;
    min-height:40px;
    color:var(--accent-text);
}

.form-notice {
    margin-top:20px;
    background:var(--tile);
    border-left:2px solid var(--orange);
    padding:12px 14px;
    font-size:12px;
    line-height:1.7;
}

.drawer-count {
    font-size:13px;
    font-weight:400;
    vertical-align:middle;
    background:var(--tile);
    padding:4px 8px;
    margin-left:8px;
}

.cart-empty {
    padding:72px 24px;
    text-align:center;
}

.cart-empty>.icon {
    width:54px;
    height:54px;
    color:#888;
    stroke-width:1;
    margin-bottom:25px;
}

.cart-empty h3 {
    font-size:22px;
    font-weight:600;
}

.cart-empty p {
    max-width:290px;
    margin:12px auto 28px;
}

.cart-empty .button {
    width:100%;
    max-width:300px;
}

.cart-items {
    padding:24px;
}

.preview-dialog p {
    margin-block:20px 26px;
}

.preview-dialog .button {
    width:100%;
}

.noscript-notice {
    padding:16px;
    text-align:center;
}

@media(hover:hover) and (pointer:fine) {
    .category:hover img {
        transform:scale(1.07);
    }

    .category:hover h2 {
        color:#eb7025;
    }

    .product-card:hover .product-image img {
        transform:scale(1.025);
    }

}

@media(min-width:600px) {
    .container {
        width:calc(100% - 64px);
    }

    .category-grid {
        gap:20px;
    }

    .category {
        aspect-ratio:440/350;
    }

    .category h2 {
        font-size:27px;
    }

    .category-copy {
        top:24px;
        left:24px;
    }

    .category-copy span {
        font-size:14px;
    }

    .category-iphone {
        aspect-ratio:426/523;
    }

    .category-ipad {
        aspect-ratio:auto;
    }

    .category-imac {
        aspect-ratio:892/540;
    }

    .category-accessories {
        aspect-ratio:2/1;
    }

    .category-accessories .category-copy,.category-imac .category-copy {
        top:26px;
        left:26px;
    }

    .footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:36px;
    }

    .account-dialog,.preview-dialog {
        padding:36px;
    }

    .new-products {
        padding-block:64px;
    }

    .product-card h3 {
        font-size:17px;
        min-height:0;
    }

    .product-link {
        font-size:14px;
    }

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

}

@media(min-width:1000px) {
    .container {
        width:calc(100% - 10%);
    }

    .categories {
        padding-top:32px;
    }

    .category-grid {
        gap:var(--gap);
        --column:calc((100cqw - 2 * var(--gap))/3);
        grid-template-columns:repeat(3,minmax(0,1fr));
        grid-template-rows:calc(var(--column)*350/440) calc(var(--column)*523/426 - var(--column)*350/440 - var(--gap)) calc(var(--column)*365/440) calc(var(--column)*350/440);
    }

    .category {
        aspect-ratio:auto!important;
        order:0;
        grid-column:auto;
    }

    .category-air {
        grid-area:1/1/2/2;
    }

    .category-pro {
        grid-area:1/2/2/3;
    }

    .category-iphone {
        grid-area:1/3/3/4;
        min-height:0;
    }

    .category-imac {
        grid-area:2/1/4/3;
    }

    .category-ipad {
        grid-area:3/3/4/4;
    }

    .category-mini {
        grid-area:4/1/5/2;
    }

    .category-watch {
        grid-area:4/2/5/3;
    }

    .category-accessories {
        grid-area:4/3/5/4;
    }

    .category-accessories img {
        width:100%;
        margin:0;
    }

    .category-copy,.category-imac .category-copy,.category-accessories .category-copy {
        top:clamp(20px,1.6vw,28px);
        left:clamp(24px,2.3vw,36px);
        right:18px;
        max-width:none;
    }

    .category h2 {
        font-size:clamp(25px,2.35vw,36px);
        letter-spacing:-1px;
    }

    .category-accessories h2 {
        font-size:clamp(23px,2.05vw,32px);
    }

    .category-copy span {
        margin-top:5px;
    }

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

    .product-card h3 {
        min-height:49px;
    }

    .new-products {
        padding-block:80px;
    }

    .section-heading {
        margin-bottom:36px;
    }

    .site-footer {
        padding-top:64px;
    }

    .footer-grid {
        grid-template-columns:1.1fr .8fr 1fr 1.35fr;
        gap:40px;
    }

    .footer-bottom {
        margin-top:52px;
    }

    .site-footer .brand img {
        width:170px;
    }

}

@media(min-width:1150px) {
    .topbar {
        display:block;
        border-bottom:1px solid #e5e5e5;
        box-shadow:0 1px 2px rgb(0 0 0 / .035);
    }

    .topbar-inner {
        display:flex;
        justify-content:space-between;
        align-items:center;
        min-height:68px;
    }

    .utility-nav {
        display:flex;
        gap:32px;
        font-size:14px;
        font-weight:500;
        color:var(--accent-text);
    }

    .utility-nav a {
        display:flex;
        align-items:center;
        min-height:44px;
    }

    .mainbar {
        min-height:132px;
        gap:38px;
    }

    .mainbar .brand img {
        width:152px;
    }

    .desktop-nav {
        display:block;
        margin-right:auto;
    }

    .desktop-nav>ul {
        display:flex;
        align-items:center;
        gap:clamp(16px,1.8vw,30px);
    }

    .desktop-nav a,.nav-toggle {
        font-size:14px;
        font-weight:600;
        color:var(--ink);
        white-space:nowrap;
        display:flex;
        align-items:center;
        min-height:44px;
        padding:0;
    }

    .desktop-nav a:hover,.nav-toggle:hover {
        color:var(--accent-text);
    }

    .nav-toggle {
        gap:7px;
    }

    .nav-toggle .icon {
        width:13px;
        height:13px;
    }

    .header-actions {
        gap:6px;
    }

    .mobile-menu-button,.mobile-trust {
        display:none;
    }

    .dropdown {
        position:relative;
    }

    .dropdown-list {
        position:absolute;
        z-index:5;
        top:100%;
        left:-20px;
        width:205px;
        background:#fff;
        border:1px solid var(--line);
        box-shadow:0 8px 18px rgb(0 0 0 / .06);
        padding:10px 0;
    }

    .dropdown-list a {
        padding:8px 20px;
        font-weight:400;
    }

    .dropdown-list a:hover {
        background:var(--tile);
    }

    .account-dialog {
        max-width:500px;
    }

}

@media(prefers-reduced-motion:reduce) {
    .category:hover img {
        transform:none;
    }

    *,*::before,*::after {
        scroll-behavior:auto!important;
        transition:none!important;
        animation:none!important;
    }

}

/* Category pages. All additions are scoped to keep the homepage intact. */
.catalog-intro {
    padding: 18px 0 26px;
    border-bottom: 1px solid var(--line);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    font-size: 12px;
}
.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 12px;
}
.breadcrumbs li + li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
    transform: rotate(45deg);
}
.breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.breadcrumbs [aria-current] {
    color: var(--ink);
}
.catalog-intro h1 {
    font-size: 34px;
    font-weight: 650;
    letter-spacing: -1px;
}
.catalog-intro > p {
    max-width: 760px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
}
.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
}
.catalog-results {
    min-width: 0;
}
.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}
.result-count {
    font-size: 13px;
}
.result-count strong {
    color: var(--ink);
    font-weight: 500;
}
.catalog-controls {
    display: flex;
    gap: 12px;
    width: 100%;
}
.filter-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    padding: 9px 14px;
    color: var(--ink);
    font-size: 14px;
    flex: 1;
}
.filter-open .icon {
    width: 19px;
    height: 19px;
}
.filter-open:hover {
    border-color: var(--orange-hover);
    color: var(--accent-text);
}
.catalog-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1.4;
}
.catalog-sort > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.sort-select {
    position: relative;
    width: 100%;
    min-width: 0;
}
.sort-select select {
    appearance: none;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    width: 100%;
    min-height: 46px;
    background: white;
    color: var(--ink);
    padding: 10px 32px 10px 12px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-overflow: ellipsis;
}
.sort-select > .icon {
    position: absolute;
    right: 11px;
    top: 16px;
    width: 14px;
    height: 14px;
    pointer-events: none;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
}
.catalog-card {
    display: flex;
    flex-direction: column;
}
.catalog-image {
    position: relative;
    aspect-ratio: 1;
}
.catalog-badge {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    padding: 3px 7px;
    background: #f3f3f3;
    color: #555;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.7;
}
.catalog-badge-sale {
    background: #fff1e7;
    color: #a9430c;
}
.catalog-image-action {
    display: none;
}
.catalog-product-info {
    padding-top: 1px;
}
.catalog-card h3 {
    margin-top: 13px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    min-height: 42px;
}
.catalog-card h3 a {
    display: -webkit-box;
    min-height: 44px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 200ms ease;
}
.catalog-specs {
    font-size: 11px;
    line-height: 1.7;
    margin-top: 7px;
    min-height: 38px;
}
.catalog-specs > span {
    color: #999;
    padding-inline: 2px;
}
.catalog-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: flex-start;
    gap: 1px 9px;
    margin-top: 8px;
    min-height: 49px;
}
.catalog-prices .price {
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
}
.old-price {
    color: #707070;
    font-size: 12px;
    white-space: nowrap;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 34px;
    font-size: 13px;
}
.pagination a, .pagination-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    gap: 6px;
}
.pagination-pages {
    display: flex;
    gap: 5px;
}
.pagination-pages a {
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 2px;
}
.pagination-pages a[aria-current] {
    background: var(--orange);
    border-color: var(--orange);
    font-weight: 600;
}
.pagination-pages a:hover {
    border-color: var(--orange-hover);
}
.pagination-direction .icon {
    width: 15px;
    height: 15px;
}
.pagination-direction:first-child .icon {
    transform: rotate(180deg);
}
.pagination .is-disabled {
    color: #767676;
    opacity: .55;
}
.catalog-demo-note {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 22px;
    max-width: 580px;
}
.catalog-sidebar {
    display: none;
}
.filter-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    margin-bottom: 16px;
}
.filter-panel-heading h2 {
    font-size: 20px;
    font-weight: 600;
}
.filter-panel-heading .text-button {
    padding: 0;
    min-height: 44px;
}
.filter-group {
    margin: 0 0 26px;
    padding: 18px 0 0;
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--line);
}
.filter-group legend {
    float: left;
    width: 100%;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    padding: 0 0 10px;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
}
.filter-option input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--orange-hover);
}
.filter-option:hover {
    color: var(--ink);
}
.filter-count {
    color: #777;
    font-size: 12px;
    margin-left: 3px;
}
.filter-note {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.filter-drawer {
    width: min(410px, calc(100% - 20px));
}
.filter-drawer[open] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.filter-drawer .drawer-header {
    flex-shrink: 0;
}
.filter-drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline: 24px;
}
.filter-drawer .filter-panel-heading {
    justify-content: flex-end;
    margin: 0;
}
.filter-drawer .filter-panel-heading h2 {
    display: none;
}
.filter-drawer .filter-option {
    min-height: 44px;
}
.filter-drawer-footer {
    flex-shrink: 0;
    padding: 16px 24px max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: white;
}
.filter-drawer-footer .button {
    width: 100%;
}
.catalog-seo {
    max-width: 900px;
    margin: 50px auto 58px;
    border-top: 1px solid var(--line);
    padding-top: 38px;
}
.catalog-seo-section + .catalog-seo-section {
    margin-top: 30px;
}
.catalog-seo h2 {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.45px;
}
.catalog-seo p {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 14px;
}
@media (min-width: 600px) {
    .catalog-intro {
        padding-top: 22px;
        padding-bottom: 32px;
    }
    .catalog-intro h1 {
        font-size: 40px;
    }
    .catalog-intro > p {
        font-size: 15px;
    }
    .catalog-grid {
        gap: 36px 28px;
    }
    .catalog-controls {
        width: auto;
        gap: 16px;
    }
    .filter-open {
        padding-inline: 20px;
        flex: auto;
    }
    .catalog-sort {
        flex: auto;
    }
    .sort-select {
        width: 184px;
    }
    .catalog-card h3 {
        font-size: 17px;
        min-height: 51px;
    }
    .catalog-specs {
        font-size: 12px;
        min-height: 21px;
    }
    .catalog-prices {
        min-height: 30px;
        margin-top: 10px;
    }
    .catalog-prices .price {
        font-size: 21px;
    }
    .catalog-badge {
        font-size: 11px;
        padding: 4px 9px;
    }
    .pagination {
        justify-content: center;
        gap: 25px;
        margin-top: 44px;
    }
    .catalog-demo-note {
        font-size: 12px;
        text-align: center;
        margin-inline: auto;
    }
    .catalog-seo h2 {
        font-size: 27px;
    }
    .catalog-seo p {
        font-size: 15px;
    }
}
@media (min-width: 1000px) {
    .catalog-layout {
        grid-template-columns: minmax(0, 1fr) 252px;
        gap: 40px;
        margin-top: 30px;
    }
    .catalog-sidebar {
        display: block;
        min-width: 0;
        padding-left: 26px;
        border-left: 1px solid var(--line);
    }
    .filter-open {
        display: none;
    }
    .catalog-seo {
        margin-block: 80px;
        padding-top: 50px;
    }
    .catalog-seo-section + .catalog-seo-section {
        margin-top: 36px;
    }
}
@media (min-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 30px;
    }
    .catalog-sort > label {
        position: static;
        width: auto;
        height: auto;
        clip-path: none;
        overflow: visible;
        font-size: 13px;
    }
    .catalog-layout {
        grid-template-columns: minmax(0, 1fr) 272px;
        gap: 48px;
    }
}
@media (hover: hover) and (pointer: fine) {
    .catalog-card:hover .product-image img {
        transform: scale(1.04);
    }
    .catalog-card:hover h3 a {
        color: var(--orange);
    }
    .catalog-image-action {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        inset: auto 10px 10px;
        min-height: 44px;
        color: var(--ink);
        background: rgb(255 255 255 / .96);
        border: 1px solid var(--line);
        font-size: 13px;
        opacity: 0;
        transition: opacity 200ms ease;
    }
    .catalog-image-action .icon {
        width: 17px;
        height: 17px;
    }
    .catalog-card:hover .catalog-image-action,
    .catalog-card:focus-within .catalog-image-action {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .catalog-card:hover .product-image img {
        transform: none;
    }
}
