.catalog-section {
    margin:40px 0;
}
.home-products-more { margin-top:24px; text-align:center; }
.home-products-more button { cursor:pointer; }
.home-products-more button:disabled { opacity:.65; cursor:wait; }
.home-products-more p { margin:10px 0 0; color:var(--muted-color); font-size:13px; }
.catalog-section-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:22px;
}
.catalog-section-heading h1,.catalog-section-heading h2 {
    font-size:19px;
    font-weight:600;
    margin:0 0 6px;
    color:var(--text-color);
}
.catalog-section-heading p {
    color:var(--muted-color);
    margin:0;
    font-size:14px;
}
.catalog-view-all {
    flex-shrink:0;
    font-size:13px;
    font-weight:600;
    color:var(--customer-link-color);
    text-decoration:none;
    border:1px solid var(--border-color);
    border-radius:8px;
    padding:10px 15px;
    background:var(--customer-bg-color);
}
.catalog-view-all:hover {
    color:var(--customer-link-hover-color);
    border-color:var(--primary-color);
}
.catalog-grid {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:20px;
}
.catalog-card {
    min-width:0;
    border:1px solid var(--border-color);
    border-radius:10px;
    overflow:hidden;
    background:var(--theme-color-ffffff);
    box-shadow:0 2px 8px color-mix(in srgb, var(--text-color) 6%, transparent);
    transition:border-color .2s ease, box-shadow .2s ease;
    display:flex;
    flex-direction:column;
    padding:8px;
}
.catalog-card:hover, .catalog-card:focus-within,
.product-recent-grid .catalog-card:hover, .product-recent-grid .catalog-card:focus-within {
    border-color:var(--primary-color);
    box-shadow:0 4px 12px color-mix(in srgb, var(--text-color) 12%, transparent);
}
@media(prefers-reduced-motion:reduce) {
    .catalog-card { transition:none; }
}
.catalog-card-image {
    position:relative;
    display:block;
    aspect-ratio:4 / 3;
    background:var(--theme-color-ffffff);
    border-radius:8px;
    overflow:hidden;
    flex-shrink:0;
}
.catalog-card-image img {
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
.catalog-badge {
    position:absolute;
    top:12px;
    left:12px;
    font-size:11px;
    font-weight:600;
    background:var(--secondary-color);
    color:var(--on-secondary-color);
    border-radius:6px;
    padding:5px 9px;
}
.catalog-badge.catalog-badge--discount {
    top:8px;
    left:8px;
    z-index:1;
    font-size:10px;
    line-height:1.3;
    border-radius:4px;
    padding:3px 6px;
}
.catalog-card-body {
    padding:10px 0 0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    flex:1;
    align-items:center;
    text-align:left;
}
.catalog-card h3 {
    font-size:12px;
    line-height:1.5;
    min-height:36px;
    margin:0;
    grid-column:1/-1;
    overflow-wrap:anywhere;
}
.catalog-card h3 a {
    color:var(--text-color);
    text-decoration:none;
}
.catalog-card-rating {
    grid-column:1/-1;
    display:inline-flex;
    align-items:center;
    gap:4px;
    font-size:11px;
    line-height:1.2;
    margin:-2px 0 2px;
}
.catalog-card-rating-star {
    color:#f59e0b;
    font-size:12px;
    line-height:1;
}
.catalog-card-rating-score {
    font-weight:600;
    color:var(--text-color);
}
.catalog-card-rating-count {
    color:var(--muted-color);
    font-size:11px;
}
.catalog-card-actions {
    display:flex;
    justify-content:flex-end;
    margin-top:auto;
}
.catalog-price {
    margin-top:auto;
    font-weight:700;
    color:var(--primary-color);
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-start;
    margin:0;
    font-size:13px;
}
.catalog-price del {
    order:-1;
    font-weight:400;
    font-size:12px;
    color:var(--muted-color);
}
.catalog-card-link {
    grid-column:1/-1;
    font-size:12px;
    font-weight:600;
    color:var(--customer-link-color);
    text-decoration:none;
    display:inline-flex;
    gap:8px;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    border-radius:6px;
    background:var(--customer-btn-color);
    color:var(--on-button-color);
}
.catalog-quick-view { width:30px; height:30px; border:0; border-radius:5px; font-size:24px; line-height:1; background:var(--customer-btn-color); color:var(--on-button-color); }
.catalog-quick-view:hover { background:var(--customer-btn-hover-color); color:var(--on-button-hover-color); }
.custom-fixed-width { display:flex; flex-direction:column; gap:7px; font-size:13px; color:var(--text-color); }
.custom-fixed-width strong { padding:11px; border:1px solid var(--border-color); border-radius:8px; background:var(--customer-surface-color); }
.custom-fixed-width small { color:var(--muted-color); }
.custom-order-actions { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.custom-order-actions .catalog-button { flex:1; font-size:12px; padding:10px 12px; }
.custom-buy-now { background:var(--secondary-color); color:var(--on-secondary-color); }
.custom-add-cart { background:var(--customer-bg-color); color:var(--customer-btn-color); border:1px solid var(--customer-btn-color); }
.quick-view-product { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.quick-view-product>img { width:100%; height:280px; object-fit:contain; }
.quick-view-product h3 { font-size:20px; }
.cart-cover { padding:20px; border:1px solid var(--border-color); border-radius:10px; margin:20px 0; }
.cart-cover h2 { font-size:18px; }
.cart-cover form { margin-top:12px; }
.catalog-card-link:hover { background:var(--customer-btn-hover-color); color:var(--on-button-hover-color); }
.catalog-empty {
    grid-column:1/-1;
    padding:36px 20px;
    text-align:center;
    border:1px dashed var(--border-color);
    border-radius:12px;
    color:var(--muted-color);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
}
.catalog-empty h2 {
    font-size:18px;
    font-weight:600;
    color:var(--text-color);
    margin:0;
}
.catalog-empty p {
    font-size:13px;
    margin:0;
}
.home-category-grid {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:16px;
}
.home-category {
    padding:12px 8px;
    border:1px solid var(--border-color);
    border-radius:10px;
    text-align:center;
    background:var(--customer-bg-color);
    text-decoration:none;
    color:var(--text-color);
    font-size:13px;
    line-height:1.4;
    overflow-wrap:anywhere;
    font-weight:600;
}
.home-category img {
    display:block;
    max-width:100%;
    width:80px;
    height:80px;
    object-fit:contain;
    margin:0 auto 8px;
}
.home-category:hover {
    border-color:var(--primary-color);
    color:var(--customer-link-hover-color);
}
.custom-spotlight {
    display:grid;
    grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
    border:1px solid var(--border-color);
    border-radius:18px;
    overflow:hidden;
    margin-bottom:22px;
    background:var(--customer-bg-color);
    align-items:start;
}
.custom-gallery { padding:24px 0 24px 24px; min-width:0; }
.custom-gallery-main { position:relative; aspect-ratio:1; max-height:420px; border:1px solid var(--border-color); border-radius:10px; overflow:hidden; background:var(--theme-color-ffffff); }
.custom-gallery-main img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.product-gallery-scroll { display:grid; grid-template-columns:minmax(0,1fr); align-items:center; gap:5px; padding-top:12px; }
.product-gallery-scroll[data-scrollable=true] { grid-template-columns:22px minmax(0,1fr) 22px; }
.product-gallery-arrow { display:flex; align-items:center; justify-content:center; width:22px; height:38px; padding:0; border:0; background:transparent; color:var(--customer-link-color); }
.product-gallery-arrow .material-symbols-outlined { font-size:24px; line-height:1; }
.product-gallery-arrow:hover { color:var(--customer-link-hover-color); }
.product-gallery-arrow:disabled { opacity:.35; cursor:default; }
.product-gallery-arrow[hidden] { display:none; }
.product-gallery-arrow:focus-visible { outline:2px solid var(--primary-color); outline-offset:1px; }
.custom-gallery-thumbnails { position:relative; display:flex; gap:10px; min-width:0; overflow-x:auto; padding:4px 2px; scrollbar-width:none; scroll-snap-type:x proximity; }
.custom-gallery-thumbnails::-webkit-scrollbar { display:none; }
.custom-gallery-thumbnails [data-gallery-thumbnail] { scroll-snap-align:start; }
.custom-gallery-thumbnails button { flex:0 0 72px; height:72px; padding:3px; border:1px solid var(--border-color); border-radius:7px; background:var(--customer-bg-color); }
.custom-gallery-thumbnails img { width:100%; height:100%; object-fit:contain; display:block; }
.custom-gallery-thumbnails button[aria-pressed=true] { border:2px solid var(--primary-color); }
.custom-gallery-thumbnails button:focus-visible { outline:2px solid var(--primary-color); outline-offset:2px; }
.custom-calculator {
    padding:30px;
    min-width:0;
}
.custom-eyebrow {
    font-size:11px;
    letter-spacing:1.4px;
    font-weight:700;
    color:var(--primary-color);
}
.custom-calculator h3 {
    margin:10px 0 15px;
    font-size:25px;
    color:var(--text-color);
}
.custom-calculator p {
    font-size:13px;
    color:var(--muted-color);
}
.custom-dimensions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.custom-calculator label,.catalog-filters>label {
    display:flex;
    flex-direction:column;
    gap:7px;
    font-size:13px;
    font-weight:600;
    color:var(--text-color);
}
.custom-calculator input[type=number],.catalog-filters input[type=search],.catalog-filters select {
    width:100%;
    min-width:0;
    border:1px solid var(--border-color);
    border-radius:8px;
    padding:11px;
    background:var(--customer-bg-color);
    color:var(--text-color);
}
.custom-thickness {
    margin:20px 0;
    border:0;
    padding:0;
}
.custom-thickness legend {
    font-size:13px;
    font-weight:600;
    margin-bottom:10px;
}
.custom-thickness>div {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.custom-thickness label {
    flex:1;
    min-width:100px;
    position:relative;
}
.custom-thickness input {
    position:absolute;
    top:10px;
    left:10px;
    accent-color:var(--primary-color);
}
.custom-thickness span {
    padding:12px 12px 12px 30px;
    border:1px solid var(--border-color);
    border-radius:9px;
    display:flex;
    flex-direction:column;
    gap:5px;
}
.custom-thickness input:checked+span {
    border-color:var(--primary-color);
    background:var(--customer-surface-color);
}
.custom-thickness small {
    font-size:11px;
    font-weight:400;
}
.custom-quantity {
    max-width:120px;
}
.custom-billing-note {
    margin:14px 0;
}
.catalog-button {
    border:0;
    background:var(--customer-btn-color);
    color:var(--on-button-color);
    padding:12px 20px;
    border-radius:8px;
    font-weight:600;
    font-size:14px;
}
.catalog-button:hover {
    background:var(--customer-btn-hover-color);
    color:var(--on-button-hover-color);
}
.catalog-button:disabled {
    opacity:.6;
    cursor:wait;
}
.custom-quote {
    margin:16px 0;
    padding:16px;
    border:1px solid var(--primary-color);
    border-radius:10px;
    background:var(--customer-surface-color);
}
.custom-quote dl {
    margin:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.custom-quote dt {
    font-weight:400;
    font-size:11px;
    color:var(--muted-color);
}
.custom-quote dd {
    margin:4px 0 0;
    font-weight:700;
    color:var(--primary-color);
}
.custom-calculator .custom-error {
    margin-top:15px;
    color:var(--text-color);
    font-weight:600;
}
.catalog-page {
    padding-top:26px;
    padding-bottom:40px;
}
.catalog-page>.catalog-section-heading {
    margin-top:18px;
}
.catalog-filters {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    padding:22px;
    border:1px solid var(--border-color);
    border-radius:14px;
    margin-bottom:26px;
    background:var(--customer-surface-color);
}
.catalog-filter-toggles {
    grid-column:1/-1;
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    font-size:13px;
}
.catalog-filter-toggles input {
    accent-color:var(--primary-color);
}
.catalog-filter-actions {
    grid-column:1/-1;
    display:flex;
    align-items:center;
    gap:20px;
}
.catalog-pagination {
    margin-top:30px;
}
.catalog-pagination svg {
    width:20px;
    height:20px;
}
.catalog-card-link:focus-visible,.catalog-view-all:focus-visible,.home-category:focus-visible {
    outline:2px solid var(--primary-color);
    outline-offset:3px;
}

.catalog-heading-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.catalog-slider-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}
.catalog-slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--customer-bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
    padding: 0;
}
.catalog-slider-arrow:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--customer-surface-color);
}
.catalog-slider-arrow:disabled {
    opacity: .35;
    cursor: default;
}
.catalog-slider-arrow[hidden] {
    display: none;
}
.catalog-slider-arrow .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}
.catalog-slider-arrow:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.catalog-slider-wrapper {
    position: relative;
    width: 100%;
}
.catalog-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px 8px;
    margin: -4px -2px -8px;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: contain;
    cursor: grab;
}
.catalog-slider::-webkit-scrollbar {
    display: none;
}
.catalog-slider:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 10px;
}
.catalog-slider.is-dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}
.catalog-slider.is-dragging a {
    pointer-events: none;
}
.catalog-slider img {
    -webkit-user-drag: none;
    user-select: none;
}
@media(prefers-reduced-motion: reduce) {
    .catalog-slider {
        scroll-behavior: auto;
    }
}
.catalog-slider > .catalog-card {
    flex: 0 0 calc((100% - 100px) / 6);
    min-width: 170px;
    scroll-snap-align: start;
    box-sizing: border-box;
}
.home-category-slider {
    gap: 16px;
}
.home-category-slider .home-category {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: 130px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media(max-width:1199.98px) {
    .catalog-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
    .catalog-slider > .catalog-card { flex: 0 0 calc((100% - 80px) / 5); min-width: 160px; }
    .home-category-slider .home-category { flex: 0 0 calc((100% - 64px) / 5); min-width: 125px; }
}
@media(max-width:991.98px) {
    .catalog-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:14px;
    }
    .home-category-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
    .catalog-slider { gap: 14px; }
    .catalog-slider > .catalog-card { flex: 0 0 calc((100% - 42px) / 4); min-width: 150px; }
    .home-category-slider { gap: 14px; }
    .home-category-slider .home-category { flex: 0 0 calc((100% - 42px) / 4); min-width: 120px; }
    .custom-spotlight {
        grid-template-columns:1fr;
    }
    .custom-gallery { padding:24px 24px 0; }
    .custom-gallery-main { max-width:480px; margin-inline:auto; }
    .custom-gallery-thumbnails { justify-content:flex-start; }
    .custom-calculator {
        padding:24px;
    }
    .catalog-filters {
        grid-template-columns:1fr 1fr;
    }
}
@media(max-width:767.98px) {
    .catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .catalog-slider > .catalog-card { flex: 0 0 calc((100% - 28px) / 3); min-width: 145px; }
    .home-category-slider .home-category { flex: 0 0 calc((100% - 28px) / 3); min-width: 110px; }
}
@media(max-width:575.98px) {
    .catalog-section {
        margin:28px 0;
    }
    .catalog-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .catalog-card-body { padding:8px 0; }
    .catalog-card h3 {
        font-size:13px;
    }
    .catalog-card-image {
        aspect-ratio:1;
    }
    .catalog-card { padding:6px; }
    .quick-view-product { grid-template-columns:1fr; }
    .catalog-card-link { padding:8px 10px; font-size:11px; }
    .catalog-badge {
        font-size:9px;
        top:8px;
        left:8px;
    }
    .catalog-badge.catalog-badge--discount {
        font-size:9px;
        top:6px;
        left:6px;
    }
    .catalog-price {
        font-size:13px;
    }
    .catalog-section-heading {
        align-items:center;
        flex-wrap:wrap;
        gap:10px;
    }
    .catalog-heading-actions {
        margin-left:auto;
    }
    .catalog-section-heading p {
        font-size:12px;
    }
    .catalog-view-all {
        font-size:11px;
        padding:8px 10px;
    }
    .home-category-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:10px;
    }
    .catalog-slider { gap: 10px; }
    .catalog-slider > .catalog-card { flex: 0 0 calc((100% - 10px) / 2); min-width: 138px; }
    .home-category-slider { gap: 10px; }
    .home-category-slider .home-category { flex: 0 0 calc((100% - 20px) / 3); min-width: 95px; }
    .catalog-slider-arrow { width: 32px; height: 32px; }
    .catalog-slider-arrow .material-symbols-outlined { font-size: 18px; }
    .home-category {
        font-size:12px;
        padding:10px 6px;
    }
    .home-category img {
        width:56px;
        height:56px;
    }
    .custom-calculator {
        padding:18px;
    }
    .custom-calculator h3 {
        font-size:21px;
    }
    .custom-gallery { padding:16px 16px 0; }
    .custom-gallery-main { max-height:300px; }
    .custom-gallery-thumbnails button { flex-basis:60px; height:60px; }
    .custom-dimensions {
        gap:10px;
    }
    .catalog-filters {
        padding:16px;
        gap:12px;
    }
    .catalog-filters>label:first-child {
        grid-column:1/-1;
    }
    .catalog-filters>label:last-of-type {
        grid-column:1/-1;
    }
}

/* ==========================================================================\n   Catalog Page: Breadcrumbs, Toolbar, Offcanvas Filter Drawer\n   ========================================================================== */

/* Breadcrumbs */
.catalog-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--muted-color);
    margin-bottom: 12px;
    line-height: 1.4;
}
.catalog-breadcrumbs a {
    color: var(--muted-color);
    text-decoration: none;
    transition: color .2s ease;
}
.catalog-breadcrumbs a:hover {
    color: var(--primary-color);
}
.catalog-breadcrumb-separator {
    color: var(--muted-color);
    opacity: .7;
    font-size: 14px;
    line-height: 1;
}
.catalog-breadcrumbs [aria-current="page"] {
    color: var(--text-color);
    font-weight: 600;
}

/* Toolbar */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.catalog-toolbar-title h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}
.catalog-toolbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: auto;
}
.catalog-toolbar-count {
    font-size: 13px;
    color: var(--muted-color);
    font-weight: 500;
    white-space: nowrap;
}
.catalog-toolbar-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--customer-bg-color);
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.catalog-toolbar-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--customer-surface-color);
}
.catalog-toolbar-filter-btn .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}
.catalog-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.catalog-toolbar-sort-wrap {
    position: relative;
}
.catalog-toolbar-sort-select {
    min-height: 38px;
    padding: 8px 30px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--customer-bg-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s ease;
}
.catalog-toolbar-sort-select:hover, .catalog-toolbar-sort-select:focus {
    border-color: var(--primary-color);
}

/* Offcanvas Filter Drawer */
.catalog-filter-offcanvas {
    width: 360px !important;
    max-width: 90vw;
    height: 100%;
    height: 100dvh;
    background: var(--customer-bg-color);
    color: var(--text-color);
    border-left: 1px solid var(--border-color);
}
.catalog-filter-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.catalog-filter-offcanvas-header .offcanvas-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}
.catalog-filter-offcanvas-header .offcanvas-title .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-color);
}
.catalog-filter-form {
    display: flex;
    flex-direction: column;
    height: calc(100% - 61px);
    height: calc(100dvh - 61px);
    min-height: 0;
}
.catalog-filter-offcanvas-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.catalog-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.catalog-filter-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.catalog-filter-group-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}
.catalog-filter-categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.catalog-filter-category-item {
    display: flex;
    flex-direction: column;
}
.catalog-filter-radio {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px 0;
    min-height: 34px;
    user-select: none;
    margin: 0;
}
.catalog-filter-radio input[type="radio"],
.catalog-filter-checkbox input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 17px;
    height: 17px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}
.catalog-filter-radio span,
.catalog-filter-checkbox span {
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.catalog-filter-subcategories {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-left: 14px;
    margin-left: 8px;
    margin-top: 4px;
    border-left: 2px solid var(--border-color);
}
.catalog-filter-subradio {
    font-size: 12.5px;
    color: var(--muted-color);
}
.catalog-filter-subradio:hover {
    color: var(--text-color);
}

/* Price Range Inputs */
.catalog-filter-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}
.catalog-filter-price-field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--customer-bg-color);
    padding: 7px 10px;
    transition: border-color .2s ease;
}
.catalog-filter-price-field:focus-within {
    border-color: var(--primary-color);
}
.catalog-filter-currency {
    color: var(--muted-color);
    font-size: 13px;
    font-weight: 600;
    margin-right: 4px;
    flex-shrink: 0;
}
.catalog-filter-price-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text-color);
    font-size: 13px;
    padding: 0;
    outline: none;
    -moz-appearance: textfield;
}
.catalog-filter-price-field input::-webkit-outer-spin-button,
.catalog-filter-price-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.catalog-filter-price-divider {
    color: var(--muted-color);
    font-size: 14px;
    flex-shrink: 0;
}

/* Offers & Product Type */
.catalog-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.catalog-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px 0;
    min-height: 34px;
    user-select: none;
    margin: 0;
}
.catalog-filter-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.catalog-filter-field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted-color);
    margin: 0;
}
.catalog-filter-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--customer-bg-color);
    color: var(--text-color);
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease;
}
.catalog-filter-select:focus {
    border-color: var(--primary-color);
}

/* Sort Radios inside Offcanvas */
.catalog-filter-sort-radios {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Sticky Offcanvas Footer */
.catalog-filter-offcanvas-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-color);
    background: var(--customer-bg-color);
    margin-top: auto;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -2px 10px color-mix(in srgb, var(--text-color) 6%, transparent);
}
.catalog-filter-reset-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all .2s ease;
}
.catalog-filter-reset-btn:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background: var(--customer-surface-color);
}
.catalog-filter-apply-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--customer-btn-color, var(--primary-color));
    color: var(--on-button-color, #fff);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease;
}
.catalog-filter-apply-btn:hover {
    background: var(--customer-btn-hover-color, #000);
}
.catalog-filter-apply-btn .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

/* Responsive Breakpoints for Catalog and Offcanvas */
@media(max-width: 991.98px) {
    .catalog-toolbar-title h1 {
        font-size: 20px;
    }
}

@media(max-width: 767.98px) {
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 14px;
    }
    .catalog-toolbar-title {
        width: 100%;
    }
    .catalog-toolbar-title h1 {
        font-size: 18px;
    }
    .catalog-toolbar-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: center;
        margin-left: 0;
    }
    .catalog-toolbar-count {
        grid-column: 1 / -1;
        font-size: 12.5px;
        margin-bottom: 2px;
    }
    .catalog-toolbar-filter-btn {
        width: 100%;
        min-height: 40px;
        padding: 8px 12px;
    }
    .catalog-toolbar-sort-wrap {
        width: 100%;
    }
    .catalog-toolbar-sort-select {
        width: 100%;
        min-height: 40px;
        padding: 8px 26px 8px 10px;
    }
}

@media(max-width: 575.98px) {
    .catalog-page {
        padding-top: 18px;
        padding-bottom: 32px;
    }
    .catalog-breadcrumbs {
        font-size: 12px;
        gap: 4px;
        margin-bottom: 10px;
    }
    .catalog-filter-offcanvas {
        width: 100% !important;
        max-width: 100vw;
        border-left: none;
    }
    .catalog-filter-offcanvas-header {
        padding: 14px 16px;
    }
    .catalog-filter-form {
        height: calc(100% - 57px);
        height: calc(100dvh - 57px);
    }
    .catalog-filter-offcanvas-body {
        padding: 16px;
        gap: 18px;
    }
    .catalog-filter-offcanvas-footer {
        padding: 12px 16px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    .catalog-filter-radio,
    .catalog-filter-checkbox {
        min-height: 36px;
        padding: 6px 0;
    }
}

@media(max-width: 360px) {
    .catalog-grid {
        gap: 8px;
    }
    .catalog-card {
        padding: 4px;
    }
    .catalog-toolbar-title h1 {
        font-size: 17px;
    }
    .catalog-toolbar-filter-btn span:not(.catalog-filter-badge) {
        font-size: 12px;
    }
    .catalog-toolbar-sort-select {
        font-size: 12px;
    }
    .catalog-filter-price-field {
        padding: 6px 8px;
    }
    .catalog-filter-price-field input {
        font-size: 12px;
    }
    .catalog-filter-reset-btn,
    .catalog-filter-apply-btn {
        min-height: 38px;
        font-size: 12px;
        padding: 8px 10px;
    }
}
