/* =========================================================
   CATALOG PAGE — BASE
========================================================= */

.catalog-page {
    background: var(--color-background);
    color: #000;
    overflow: hidden;
}


/* =========================================================
   CATALOG PAGE — HERO / TOOLBAR
========================================================= */

.catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title title"
        "count toolbar";
    column-gap: 32px;
    align-items: center;
    padding: 30px 44px 30px 62px;
    background: var(--color-background);
}

.catalog-hero-left {
    display: contents;
}

.catalog-title {
    grid-area: title;
    margin: 0;
    font-family: var(--font-decorative);
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
    line-height: 1;
    color: #000000;
    letter-spacing: -0.72px;
}

.catalog-count {
    grid-area: count;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    color: #000000;
    letter-spacing: 0.18px;
}


/* =========================================================
   CATALOG PAGE — TOOLBAR
========================================================= */

.catalog-toolbar {
    grid-area: toolbar;
    justify-self: end;
    display: flex;
    align-items: center;
    min-height: 44px;
}

.catalog-filter-button,
.catalog-sort select {
    height: 44px;
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #000000;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    letter-spacing: 0.18px;
    font-weight: 300;
}

.catalog-sort,
.catalog-sort form,
.catalog-sort .woocommerce-ordering {
    margin: 0;
    height: 44px;
}

.catalog-sort select {
    min-width: 0;
    width: auto;
    max-width: 238px;
    padding: 0 30px 0 26px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23001f3b' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
}

.catalog-filter-button,
.catalog-sort select {
    transition: background 0.25s ease, color 0.25s ease;
}

.catalog-sort select:hover {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23001f3b' stroke-width='1.5'/%3E%3C/svg%3E");
}

.catalog-filter-button:focus,
.catalog-filter-button:focus-visible,
.catalog-sort select:focus,
.catalog-sort select:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: #040D1A;
}


/* =========================================================
   CATALOG PAGE — PRODUCTS GRID
========================================================= */

.catalog-products {
    width: 100%;
}

.catalog-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.catalog-products ul.products::before,
.catalog-products ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce .catalog-products ul.products li.product,
.woocommerce-page .catalog-products ul.products li.product,
.catalog-products ul.products li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   CATALOG PAGE — PRODUCT CARD
========================================================= */

.catalog-product-card {
    min-width: 0;
    height: 100%;
    background: var(--color-background);
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.catalog-product-link {
    display: block;
    height: 100%;
    color: #000;
    text-decoration: none;
}


/* =========================================================
   CATALOG PRODUCT GALLERY — MOBILE + DESKTOP
========================================================= */

.catalog-product-image {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 5 / 7;
    overflow: hidden;
    background: #e9e5df;
}

.catalog-product-gallery-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    touch-action: pan-x pan-y;
    user-select: none;
}

.catalog-product-gallery-viewport::-webkit-scrollbar {
    display: none;
}

.catalog-product-gallery-track {
    display: flex;
    flex-wrap: nowrap;

    width: 100%;
    height: 100%;
}

.catalog-product-gallery-slide {
    position: relative;
    inset: auto;

    width: 100%;
    min-width: 100%;
    height: 100%;

    flex: 0 0 100%;

    overflow: hidden;
    background: #e9e5df;

    opacity: 1;
    pointer-events: auto;

    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.catalog-product-gallery-slide[hidden] {
    display: none !important;
}

.catalog-product-gallery-slide--secondary:not([hidden]) {
    display: block;
    opacity: 1;
}

.catalog-product-gallery-slide img,
.catalog-product-image-main,
.catalog-product-image-hover {
    position: absolute;
    inset: 0;

    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
    object-position: center;

    transform: none !important;
    transition: none !important;

    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}


/* =========================================================
   CATALOG GALLERY DOTS
========================================================= */

.catalog-product-gallery-dots {
    display: none;
}

.catalog-product-gallery-dots:not([hidden]) {
    position: absolute;
    right: 16px;
    bottom: 18px;
    z-index: 25;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;

    pointer-events: none;
}

.catalog-product-gallery-dot {
    display: block;

    width: 6px;
    height: 1px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: rgba(4, 13, 26, 0.35);

    transition:
        width 0.2s ease,
        background-color 0.2s ease;
}

.catalog-product-gallery-dot.is-active {
    width: 20px;
    background: #040D1A;
}


/* =========================================================
   CATALOG GALLERY — DESKTOP DRAG
========================================================= */

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .catalog-product-gallery-viewport {
        cursor: grab;
    }

    .catalog-product-image.is-dragging
    .catalog-product-gallery-viewport {
        cursor: grabbing;
        scroll-behavior: auto;
    }

    .catalog-product-image.is-dragging {
        user-select: none;
    }
}


/* =========================================================
   CATALOG GALLERY — MOBILE
========================================================= */

@media (max-width: 767px) {
    .catalog-product-gallery-dots:not([hidden]) {
        right: 14px;
        bottom: 18px;
    }

    .catalog-product-gallery-dot {
        width: 5px;
    }

    .catalog-product-gallery-dot.is-active {
        width: 18px;
    }
}



.catalog-product-badge {
	position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    padding: 8px 7px;
    background: #f6f4f0;
    color: #000000;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.42px;
    text-transform: uppercase;
}

.catalog-product-info {
    padding: 18px 14px 36px;
}

.catalog-product-info h2 {
    margin: 0 0 2px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    letter-spacing: 0.18px;
}


/* =========================================================
   CATALOG PAGE — LOAD MORE / EMPTY
========================================================= */

.catalog-load-more-wrap {
    padding: 56px 62px 90px;
    text-align: center;
}

.catalog-load-more {
    min-width: 260px;
    min-height: 56px;
    padding: 0 34px;
    border: 1px solid #040D1A;
    background: transparent;
    color: #040D1A;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

.catalog-load-more:hover {
    background: #040D1A;
    color: #fff;
}

.catalog-load-more.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.catalog-empty {
    padding: 80px 62px;
}


/* =========================================================
   CATALOG PRODUCT CARD — PRICE / SWATCHES / RESPONSIVE
========================================================= */

/* Price */

.catalog-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 9px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.35;
    color: #040D1A;
}

.catalog-product-price .catalog-price-old {
    color: #8a8175;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(4, 13, 26, 0.45);
}

.catalog-product-price .catalog-price-current {
	color: #666666 !important;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.18px;
}

.catalog-product-price .catalog-price-from {
    color: #6a6259;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
}

.catalog-product-price .amount,
.catalog-product-price bdi {
    color: inherit;
}

/* Swatches */

/* =========================================================
   CATALOG PRODUCT SWATCHES
========================================================= */

.catalog-product-swatches {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    margin-left: 14px;
    margin-bottom: 14px;
}

.catalog-product-swatch-item {
    position: relative;
    display: flex;
    flex: 0 0 auto;
}

.catalog-product-swatch {
    position: relative;

    width: 22px;
    height: 22px;
    flex: 0 0 22px;

    margin: 0;
    padding: 1px;

    border: 1px solid transparent;
    border-radius: 0;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-clip: content-box;

    color: #040D1A;
    cursor: pointer;

    appearance: none;
    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.catalog-product-swatch:hover {
    border-color: rgba(4, 13, 26, 0.45);
}

.catalog-product-swatch.is-active,
.catalog-product-swatch[aria-pressed="true"] {
    border-color: #040D1A;
}

.catalog-product-swatch > img {
    display: none !important;
}

/* =========================================================
   CATALOG SWATCH TOOLTIP
========================================================= */

.catalog-product-swatch-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 20;

    width: max-content;
    max-width: 180px;

    padding: 7px 10px;

    background: #ffffff;
    color: #040D1A;

    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;

    box-shadow:
        0 10px 24px rgba(4, 13, 26, 0.1);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 4px);

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.catalog-product-swatch-tooltip::after {
    content: "";

    position: absolute;
    top: 100%;
    left: 50%;

    border-width: 5px 5px 0;
    border-style: solid;
    border-color:
        #ffffff
        transparent
        transparent;

    transform: translateX(-50%);
}

.catalog-product-swatch:hover
.catalog-product-swatch-tooltip,
.catalog-product-swatch:focus-visible
.catalog-product-swatch-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.catalog-product-swatch:focus-visible {
    outline: none;
}


/* Card spacing correction */

.catalog-product-link {
    display: block;
    height: auto;
}

.catalog-product-info {
    padding: 18px 14px 12px;
}

/* Tablet */

@media (max-width: 1199px) {
    .catalog-hero {
        gap: 10px;
        padding: 20px 24px 30px;
    }

    .catalog-title {
        font-size: 46px;
    }

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

/* Mobile */

@media (max-width: 767px) {
    .catalog-hero {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-areas:
            "title title"
            "count toolbar";
        column-gap: 14px;
        row-gap: 14px;
        align-items: center;
        padding: 28px 14px 26px;
    }

    .catalog-hero-left {
        display: contents;
    }

    .catalog-title {
        grid-area: title;
        margin: 0;
        font-size: 34px;
        line-height: 1;
    }

    .catalog-count {
        grid-area: count;
        min-height: 42px;
        margin: 0;
        display: flex;
        align-items: center;
        font-size: 12px;
        line-height: 1;
        white-space: nowrap;
    }

    .catalog-toolbar {
        grid-area: toolbar;
        justify-self: stretch;
        width: 100%;
        min-width: 0;
        min-height: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
    }

    .catalog-filter-button {
        flex: 0 0 auto;
        width: auto;
        height: 42px;
        padding: 0;
        justify-content: flex-start;
        font-size: 12px;
        white-space: nowrap;
    }

    .catalog-sort {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 215px;
        height: 42px;
    }

    .catalog-sort form,
    .catalog-sort .woocommerce-ordering {
        float: none !important;
        width: 100%;
        min-width: 0;
        height: 42px;
        margin: 0 !important;
    }

    .catalog-sort select {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 42px;
        padding: 0 26px 0 0;
        font-size: 12px;
        line-height: 1;
        background-position: right 0 center;
        background-size: 10px 7px;
        white-space: nowrap;
    }

    .catalog-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-product-image {
        aspect-ratio: 1 / 1.32;
    }

    .catalog-product-badge {
        top: 9px;
        right: 9px;
        padding: 6px 9px;
        font-size: 8px;
        letter-spacing: 0.1em;
    }

    .catalog-product-info {
        padding: 12px 10px 8px;
    }

    .catalog-product-info h2,
    .catalog-product-title {
        margin-bottom: 7px;
        font-size: 13px;
        line-height: 1.25;
    }

    .catalog-product-price {
        gap: 4px 6px;
        font-size: 13px;
        line-height: 1.3;
    }

    .catalog-product-price .catalog-price-old {
        font-size: 12px;
    }

    .catalog-product-price .catalog-price-current,
    .catalog-product-price .catalog-price-from {
        font-size: 13px;
    }

    .catalog-product-swatches {
        gap: 5px;
        margin-top: 8px;
        margin-left: 11px;
    }

    .catalog-product-swatch {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
        padding: 2px;
    }

    .catalog-product-swatch-tooltip {
        display: none;
    }

    .catalog-load-more-wrap {
        padding: 38px 14px 62px;
    }

    .catalog-load-more {
        width: 100%;
        min-width: 0;
        min-height: 50px;
    }

    .catalog-empty {
        padding: 58px 14px;
    }
}


@media (max-width: 374px) {
    .catalog-hero {
        column-gap: 10px;
    }

    .catalog-toolbar {
        gap: 10px;
    }

    .catalog-count,
    .catalog-filter-button,
    .catalog-sort select {
        font-size: 11px;
    }

    .catalog-sort select {
        padding-right: 20px;
    }

    .catalog-product-badge {
        padding: 5px 7px;
        font-size: 7px;
    }

    .catalog-product-info h2,
    .catalog-product-title {
        font-size: 12px;
    }

    .catalog-product-price {
        font-size: 12px;
    }

    .catalog-product-price .catalog-price-old {
        font-size: 11px;
    }

    .catalog-product-price .catalog-price-current,
    .catalog-product-price .catalog-price-from {
        font-size: 12px;
    }

}


/* =========================================================
   CATALOG FILTER PANEL
========================================================= */

.catalog-filter-panel {
    position: fixed;
    inset: 0;
    z-index: 10000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.catalog-filter-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.catalog-filter-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.28);
}


/* =========================================================
   FILTER WINDOW
========================================================= */

.catalog-filter-window {
    position: absolute;
    top: 0;
    right: 0;

    width: min(100%, 600px);
    height: 100vh;
    height: 100dvh;

    display: flex;
    flex-direction: column;

    padding: 30px 40px 0;

    background: var(--color-background);
    color: #000000;

    overflow: hidden;
    box-sizing: border-box;

    transform: translateX(100%);

    transition: transform 0.35s ease;
}

.catalog-filter-panel.is-active
.catalog-filter-window {
    transform: translateX(0);
}


/* =========================================================
   FILTER HEADER
========================================================= */

.catalog-filter-header {
    flex: 0 0 auto;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;
    margin: 0 0 28px;
}

.catalog-filter-header h2 {
    margin: 0;

    color: #000000;

    font-family: var(--font-decorative);
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    line-height: 1;
}

.catalog-filter-close {
    position: relative;

    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    margin: -5px -6px 0 0;
    padding: 0;

    border: 0;
    background: transparent;
    color: #000000;

    font-size: 0;
    line-height: 0;

    cursor: pointer;
}

.catalog-filter-close::before,
.catalog-filter-close::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 20px;
    height: 1px;

    background: currentColor;
    transform-origin: center;

    transition: opacity 0.2s ease;
}

.catalog-filter-close::before {
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.catalog-filter-close::after {
    transform:
        translate(-50%, -50%)
        rotate(-45deg);
}

.catalog-filter-close:hover::before,
.catalog-filter-close:hover::after {
    opacity: 0.55;
}

.catalog-filter-close:focus-visible {
    outline: 1px solid #040D1A;
    outline-offset: 2px;
}


/* =========================================================
   FILTER FORM
========================================================= */

.catalog-filter-form {
    flex: 1 1 auto;
    min-height: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   FILTER GROUPS — SCROLLABLE AREA
========================================================= */

.catalog-filter-grid {
    flex: 1 1 auto;
    min-height: 0;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-content: start;

    column-gap: 16px;
    row-gap: 32px;

    width: 100%;

    margin: 0;
    padding: 0 8px 28px 0;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(4, 13, 26, 0.25)
        transparent;
}

.catalog-filter-grid::-webkit-scrollbar {
    width: 4px;
}

.catalog-filter-grid::-webkit-scrollbar-track {
    background: transparent;
}

.catalog-filter-grid::-webkit-scrollbar-thumb {
    background: rgba(4, 13, 26, 0.25);
}

.catalog-filter-group {
    min-width: 0;
    align-self: start;
}

.catalog-filter-group h3 {
    margin: 0 0 18px;

    color: #000000;

    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}


/* =========================================================
   FILTER CHECKBOXES
========================================================= */

.catalog-filter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin: 0 0 13px;
    color: #606060;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 300;
    line-height: 1.35;
    white-space: normal;
    cursor: pointer;
}

.catalog-filter-checkbox em {
    flex: 0 0 auto;
    margin-left: 0;
    color: #777777;
    font-style: normal;
    white-space: nowrap;
}

.catalog-filter-checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;
    clip: rect(0 0 0 0);

    border: 0;
}

.catalog-filter-checkbox span {
    position: relative;

    width: 12px;
    height: 12px;

    margin-top: 1px;

    border: 1px solid #9d9a94;
    background: transparent;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.catalog-filter-checkbox em {
    flex: 0 0 auto;

    color: #777777;

    font-style: normal;
    white-space: nowrap;
}

.catalog-filter-checkbox:hover span {
    border-color: #040D1A;
}

.catalog-filter-checkbox input:focus-visible + span {
    outline: 1px solid #040D1A;
    outline-offset: 2px;
}

.catalog-filter-checkbox input:checked + span {
    border-color: #040D1A;
    background: #040D1A;
}

.catalog-filter-checkbox input:checked + span::after {
    content: "";

    position: absolute;
    top: 0;
    left: 3px;

    width: 4px;
    height: 8px;

    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;

    transform: rotate(45deg);
}


/* =========================================================
   FILTER ACTIONS — ALWAYS AT BOTTOM
========================================================= */

.catalog-filter-actions {
    position: relative;
    z-index: 5;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding:
        18px
        0
        max(24px, env(safe-area-inset-bottom));
    background: var(--color-background);
}

.catalog-filter-clear,
.catalog-filter-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 50px;

    margin: 0;
    padding: 10px 14px;

    border: 1px solid #040D1A;
    border-radius: 0;

    box-sizing: border-box;

    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.48px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.catalog-filter-clear {
    background: transparent;
    color: #040D1A;
}

.catalog-filter-clear:hover,
.catalog-filter-clear:focus-visible {
    background: #040D1A;
    color: #ffffff;
}

.catalog-filter-apply {
    background: #040D1A;
    color: #ffffff;
}

.catalog-filter-apply:hover,
.catalog-filter-apply:focus-visible {
    background: transparent;
    color: #040D1A;
}

.catalog-filter-clear:focus-visible,
.catalog-filter-apply:focus-visible {
    outline: none;
}


/* =========================================================
   BODY LOCK
========================================================= */

body.catalog-filter-open {
    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    .catalog-filter-window {
        width: min(100%, 600px);
        padding: 28px 24px 0;
    }

    .catalog-filter-header {
        margin-bottom: 26px;
    }

    .catalog-filter-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 20px;
        row-gap: 30px;
    }

    .catalog-filter-checkbox {
        font-size: 12px;
    }
}


/* =========================================================
   MOBILE — TWO COLUMNS
========================================================= */

@media (max-width: 767px) {
    .catalog-filter-window {
        width: 100%;
        padding: 20px 20px 0;
    }

    .catalog-filter-header {
        margin-bottom: 24px;
    }

    .catalog-filter-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 16px;
        row-gap: 28px;

        padding-right: 4px;
        padding-bottom: 24px;
    }

    .catalog-filter-group h3 {
        margin-bottom: 15px;
        font-size: 12px;
        line-height: 1.25;
    }

    .catalog-filter-checkbox {
        column-gap: 5px;
        margin-bottom: 12px;
        font-size: 12px;
        line-height: 1.35;
    }

    .catalog-filter-actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;

        padding-top: 14px;
        padding-bottom:
            max(18px, env(safe-area-inset-bottom));
    }

    .catalog-filter-clear,
    .catalog-filter-apply {
        min-height: 50px;
        padding: 8px;

        font-size: 12px;
        letter-spacing: 0.35px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
    .catalog-filter-window {
        padding-right: 14px;
        padding-left: 14px;
    }

    .catalog-filter-grid {
        column-gap: 12px;
    }

    .catalog-filter-checkbox {
        column-gap: 4px;
        font-size: 12px;
    }

    .catalog-filter-checkbox span {
        width: 11px;
        height: 11px;
    }

    .catalog-filter-actions {
        gap: 8px;
    }
}



/* =========================================================
   SEARCH NO RESULTS — FOOTER AT BOTTOM
========================================================= */

html {
    min-height: 100%;
}

body.search-no-results {
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;
}

body.search-no-results .catalog-page {
    flex: 1 0 auto;
    width: 100%;
}

body.search-no-results .site-footer {
    flex: 0 0 auto;
    margin-top: auto;
}



/* =========================================================
   CATALOG — LARGE / ULTRA-WIDE DESKTOP
   1620px → стандартні розміри
   2953px → максимальні пропорційні розміри
========================================================= */

@media (min-width: 1620px) {

    :root {
        --catalog-ultra-11: clamp(
            11px,
            calc(3.71px + 0.45vw),
            17px
        );

        --catalog-ultra-12: clamp(
            12px,
            calc(4.71px + 0.45vw),
            18px
        );

        --catalog-ultra-14: clamp(
            14px,
            calc(5.49px + 0.525vw),
            21px
        );

        --catalog-ultra-15: clamp(
            15px,
            calc(5.28px + 0.6vw),
            23px
        );

        --catalog-ultra-24: clamp(
            24px,
            calc(8.20px + 0.975vw),
            37px
        );

        --catalog-ultra-32: clamp(
            32px,
            calc(11.34px + 1.275vw),
            49px
        );

        --catalog-ultra-36: clamp(
            36px,
            calc(12.91px + 1.425vw),
            55px
        );

        --catalog-ultra-44: clamp(
            44px,
            calc(16.05px + 1.725vw),
            67px
        );

        --catalog-ultra-50: clamp(
            50px,
            calc(18.40px + 1.95vw),
            76px
        );
    }


    /* =====================================================
       HERO / TOOLBAR
    ===================================================== */

    .catalog-hero {
        column-gap: clamp(
            32px,
            calc(11.34px + 1.275vw),
            49px
        );

        padding:
            clamp(
                30px,
                calc(10.56px + 1.2vw),
                46px
            )
            64px;

        box-sizing: border-box;
    }

    .catalog-title {
        font-size: var(--catalog-ultra-36);

        letter-spacing: clamp(
            -1.1px,
            -0.037vw,
            -0.72px
        );
    }

    .catalog-count {
        min-height: clamp(
            44px,
            calc(16.05px + 1.725vw),
            67px
        );

        font-size: var(--catalog-ultra-12);
    }

    .catalog-toolbar {
        min-height: clamp(
            44px,
            calc(16.05px + 1.725vw),
            67px
        );
    }

    .catalog-filter-button,
    .catalog-sort select {
        height: clamp(
            44px,
            calc(16.05px + 1.725vw),
            67px
        );

        font-size: var(--catalog-ultra-12);
    }

    .catalog-sort,
    .catalog-sort form,
    .catalog-sort .woocommerce-ordering {
        height: clamp(
            44px,
            calc(16.05px + 1.725vw),
            67px
        );
    }

    .catalog-sort select {
        max-width: clamp(
            238px,
            calc(87.30px + 9.302vw),
            362px
        );

        padding-right: clamp(
            30px,
            calc(10.56px + 1.2vw),
            46px
        );

        padding-left: clamp(
            26px,
            calc(8.99px + 1.05vw),
            40px
        );

        background-position:
            right
            clamp(
                18px,
                calc(7.06px + 0.675vw),
                27px
            )
            center;

        background-size:
            clamp(
                12px,
                calc(4.71px + 0.45vw),
                18px
            )
            clamp(
                8px,
                calc(3.14px + 0.3vw),
                12px
            );
    }


    /* =====================================================
       PRODUCT BADGE
    ===================================================== */

    .catalog-product-badge {
        top: clamp(
            10px,
            calc(3.92px + 0.375vw),
            15px
        );

        right: clamp(
            10px,
            calc(3.92px + 0.375vw),
            15px
        );

        padding:
            clamp(
                8px,
                calc(3.14px + 0.3vw),
                12px
            )
            clamp(
                7px,
                calc(2.14px + 0.3vw),
                11px
            );

        font-size: var(--catalog-ultra-11);

        letter-spacing: clamp(
            0.42px,
            0.022vw,
            0.64px
        );
    }


    /* =====================================================
       PRODUCT INFORMATION
    ===================================================== */

    .catalog-product-info {
        padding:
            clamp(
                18px,
                calc(7.06px + 0.675vw),
                27px
            )
            clamp(
                14px,
                calc(5.49px + 0.525vw),
                21px
            )
            clamp(
                12px,
                calc(4.71px + 0.45vw),
                18px
            );
    }

    .catalog-product-info h2,
    .catalog-product-title {
        margin-bottom: clamp(
            2px,
            calc(0.78px + 0.075vw),
            3px
        );

        font-size: var(--catalog-ultra-14);

        letter-spacing: clamp(
            0.18px,
            0.009vw,
            0.27px
        );
    }


    /* =====================================================
       PRODUCT PRICE
    ===================================================== */

    .catalog-product-price {
        gap:
            clamp(
                6px,
                calc(2.35px + 0.225vw),
                9px
            )
            clamp(
                9px,
                calc(2.92px + 0.375vw),
                14px
            );

        font-size: var(--catalog-ultra-15);
    }

    .catalog-product-price .catalog-price-old,
    .catalog-product-price .catalog-price-current {
        font-size: var(--catalog-ultra-14);
    }

    .catalog-product-price .catalog-price-from {
        font-size: var(--catalog-ultra-15);
    }


    /* =====================================================
       PRODUCT GALLERY DOTS
    ===================================================== */

    .catalog-product-gallery-dots:not([hidden]) {
        right: clamp(
            16px,
            calc(6.28px + 0.6vw),
            24px
        );

        bottom: clamp(
            18px,
            calc(7.06px + 0.675vw),
            27px
        );

        gap: clamp(
            4px,
            calc(1.57px + 0.15vw),
            6px
        );
    }

    .catalog-product-gallery-dot {
        width: clamp(
            6px,
            calc(2.35px + 0.225vw),
            9px
        );

        height: clamp(
            1px,
            calc(0.39px + 0.038vw),
            1.5px
        );
    }

    .catalog-product-gallery-dot.is-active {
        width: clamp(
            20px,
            calc(7.85px + 0.75vw),
            30px
        );
    }


    /* =====================================================
       PRODUCT SWATCHES
    ===================================================== */

    .catalog-product-swatches {
        gap: clamp(
            6px,
            calc(2.35px + 0.225vw),
            9px
        );

        margin-top: clamp(
            10px,
            calc(3.92px + 0.375vw),
            15px
        );

        margin-left: clamp(
            14px,
            calc(5.49px + 0.525vw),
            21px
        );

        margin-bottom: clamp(
            14px,
            calc(5.49px + 0.525vw),
            21px
        );
    }

    .catalog-product-swatch {
        width: clamp(
            22px,
            calc(7.42px + 0.9vw),
            34px
        );

        height: clamp(
            22px,
            calc(7.42px + 0.9vw),
            34px
        );

        flex-basis: clamp(
            22px,
            calc(7.42px + 0.9vw),
            34px
        );

        padding: clamp(
            1px,
            calc(0.39px + 0.038vw),
            1.5px
        );
    }


    /* =====================================================
       SWATCH TOOLTIP
    ===================================================== */

    .catalog-product-swatch-tooltip {
        bottom: calc(
            100% +
            clamp(
                10px,
                calc(3.92px + 0.375vw),
                15px
            )
        );

        max-width: clamp(
            180px,
            calc(65.76px + 7.052vw),
            274px
        );

        padding:
            clamp(
                7px,
                calc(2.14px + 0.3vw),
                11px
            )
            clamp(
                10px,
                calc(3.92px + 0.375vw),
                15px
            );

        font-size: var(--catalog-ultra-11);
    }


    /* =====================================================
       LOAD MORE
    ===================================================== */

    .catalog-load-more-wrap {
        padding:
            clamp(
                56px,
                calc(20.76px + 2.175vw),
                85px
            )
            64px
            clamp(
                90px,
                calc(32.88px + 3.526vw),
                137px
            );
    }

    .catalog-load-more {
        min-width: clamp(
            260px,
            calc(94.72px + 10.203vw),
            396px
        );

        min-height: clamp(
            56px,
            calc(20.76px + 2.175vw),
            85px
        );

        padding-right: clamp(
            34px,
            calc(12.12px + 1.35vw),
            52px
        );

        padding-left: clamp(
            34px,
            calc(12.12px + 1.35vw),
            52px
        );

        font-size: var(--catalog-ultra-12);
    }

    .catalog-empty {
        padding:
            clamp(
                80px,
                calc(28.96px + 3.151vw),
                122px
            )
            64px;
    }


    /* =====================================================
       FILTER WINDOW
    ===================================================== */

    .catalog-filter-window {
        width: min(
            100%,
            clamp(
                600px,
                calc(218.39px + 23.556vw),
                914px
            )
        );

        padding:
            clamp(
                30px,
                calc(10.56px + 1.2vw),
                46px
            )
            clamp(
                40px,
                calc(14.48px + 1.575vw),
                61px
            )
            0;
    }

    .catalog-filter-header {
        gap: clamp(
            24px,
            calc(8.20px + 0.975vw),
            37px
        );

        margin-bottom: clamp(
            28px,
            calc(9.77px + 1.125vw),
            43px
        );
    }

    .catalog-filter-header h2 {
        font-size: var(--catalog-ultra-24);
    }

    .catalog-filter-close {
        width: var(--catalog-ultra-32);
        height: var(--catalog-ultra-32);
        flex-basis: var(--catalog-ultra-32);
    }

    .catalog-filter-close::before,
    .catalog-filter-close::after {
        width: clamp(
            20px,
            calc(7.85px + 0.75vw),
            30px
        );
    }


    /* =====================================================
       FILTER GROUPS
    ===================================================== */

    .catalog-filter-grid {
        column-gap: clamp(
            16px,
            calc(6.28px + 0.6vw),
            24px
        );

        row-gap: clamp(
            32px,
            calc(11.34px + 1.275vw),
            49px
        );

        padding-right: clamp(
            8px,
            calc(3.14px + 0.3vw),
            12px
        );

        padding-bottom: clamp(
            28px,
            calc(9.77px + 1.125vw),
            43px
        );
    }

    .catalog-filter-group h3 {
        margin-bottom: clamp(
            18px,
            calc(7.06px + 0.675vw),
            27px
        );

        font-size: var(--catalog-ultra-11);
    }

    .catalog-filter-checkbox {
        gap: clamp(
            6px,
            calc(2.35px + 0.225vw),
            9px
        );

        margin-bottom: clamp(
            13px,
            calc(4.49px + 0.525vw),
            20px
        );

        font-size: var(--catalog-ultra-11);
    }

    .catalog-filter-checkbox span {
        width: clamp(
            12px,
            calc(4.71px + 0.45vw),
            18px
        );

        height: clamp(
            12px,
            calc(4.71px + 0.45vw),
            18px
        );

        margin-top: clamp(
            1px,
            calc(0.39px + 0.038vw),
            1.5px
        );
    }

    .catalog-filter-checkbox input:checked + span::after {
        top: 0;

        left: clamp(
            3px,
            calc(1.18px + 0.1125vw),
            4.5px
        );

        width: clamp(
            4px,
            calc(1.57px + 0.15vw),
            6px
        );

        height: clamp(
            8px,
            calc(3.14px + 0.3vw),
            12px
        );
    }


    /* =====================================================
       FILTER ACTIONS
    ===================================================== */

    .catalog-filter-actions {
        gap: clamp(
            14px,
            calc(5.49px + 0.525vw),
            21px
        );

        padding-top: clamp(
            18px,
            calc(7.06px + 0.675vw),
            27px
        );

        padding-bottom: max(
            clamp(
                24px,
                calc(8.20px + 0.975vw),
                37px
            ),
            env(safe-area-inset-bottom)
        );
    }

    .catalog-filter-clear,
    .catalog-filter-apply {
        min-height: var(--catalog-ultra-50);

        padding:
            clamp(
                10px,
                calc(3.92px + 0.375vw),
                15px
            )
            clamp(
                14px,
                calc(5.49px + 0.525vw),
                21px
            );

        font-size: var(--catalog-ultra-11);
    }
}