/** Shopify CDN: Minification failed

Line 1069:13 Cannot use type selector "--clear" directly after nesting selector "&"
Line 1076:13 Cannot use type selector "--clear" directly after nesting selector "&"

**/
.shopify-section--main-collection,
.shopify-section--main-search {
    .container {
        padding: 0;
    }
}

.collection-toolbar-wrapper {
    &.sticky {
        position: sticky;
        transition: top 0.2s ease-in-out;
        top: calc(
            (var(--announcement-bar-is-sticky, 0) * var(--announcement-bar-height, 0px)) +
            (var(--custom-announcement-bar-is-sticky, 0) * var(--custom-announcement-bar-height, 0px)) +
            (var(--header-is-sticky, 0) * var(--header-is-visible, 1) * var(--header-height, 0px))
        );
        z-index: 10;
        background-color: var(--color-background-primary);

        @media (max-width: 999px) {
            .quick-filters {
                max-height: 220px;
                opacity: 1;
                transition: max-height 0.2s ease, opacity 0.16s ease;
                overflow: hidden;
            }

            &.sticky-active .quick-filters,
            &.hide-filters .quick-filters {
                max-height: 0;
                opacity: 0;
                margin: 0;
                padding: 0;
                pointer-events: none;
            }
        }
    }

    padding: 12px 10px;
    border-bottom: 1px solid var(--color-secondary);
    border-top: 1px solid var(--color-secondary);

    .collection__toolbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        padding: 0;
        border: none;

        > :first-child {
            grid-column: 1;
            grid-row: 1;
        }

        .quick-filters {
            grid-column: 1 / -1;
            grid-row: 2;
        }

        > :last-child {
            grid-column: 3;
            grid-row: 1;
        }

        .collection-faceting-button {
            padding: 0 16px;
            height: 40px;
            border: 1px solid var(--color-primary);
            gap: 10px;
            border-radius: 50px;

            &:hover {
                opacity: 0.7;
            }

            svg {
                width: 16px;
                height: 10px;

                &.icon-filters-active {
                    width: 19px;
                    height: 13px;
                    margin-top: -3px;
                }
            }

            .subheading {
                font-weight: 500;
                font-size: 16px;
                line-height: 1;
                letter-spacing: 0.02em;
                color: var(--color-primary);
                font-family: var(--text-font-family);
                text-transform: capitalize;
                white-space: nowrap;
            }
        }

        .collection-product-count {
            font-weight: 400;
            font-size: 13px;
            line-height: 130%;
            font-family: var(--text-font-family);
            color: var(--color-text-tertiary);
            text-transform: none;
        }

        .vertically-separated-list {
            gap: 12px;
        }

        .collection-layout-selector {
            gap: 10px;

            svg {
                width: 24px;
                height: 24px;
            }
        }

        .collection__layout-selector:hover {
            opacity: 0.7;
        }

    }

    @media (min-width: 1000px) {
        .collection__toolbar {
            display: flex;
            padding: 0 40px;

            .collection-faceting-button {
                min-width: 239px;
                justify-content: center;
            }

            .vertically-separated-list {
                gap: 20px;

                >.h-stack {
                    gap: 10px;
                }
            }
        }
    }
}

.product-type-filter-bar {
    border-top: 1px solid var(--color-secondary);
    padding: 16px 0 0;
    margin-top: 14px;
}

.product-type-filter-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0 0;
    margin: 0;
}

.product-type-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    min-width: max-content;
    height: 34px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    color: var(--color-text-secondary);
    padding: 0 12px;
    white-space: nowrap;
    flex: 0 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-type-filter-btn:hover {
    opacity: 0.7;
}

.product-type-filter-btn[data-active="true"] {
    border-color: var(--color-text-secondary);
}

.product-type-filter-btn.is-disabled,
.product-type-filter-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.collection-filters-loading .quick-filters,
.collection-filters-loading .product-type-filter-bar {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.16s ease;
}

@media (min-width: 1000px) {
    .product-type-filter-bar.container {
        padding: 0 40px;
        margin-top: 14px;
    }

    .product-type-filter-bar__inner {
        margin: 0 auto;
        padding: 10px 0 0;
        justify-content: flex-start;
        max-width: 1240px;

        &::-webkit-scrollbar {
            height: 4px;
        }

        &::-webkit-scrollbar-track {
            background: var(--color-background-secondary);
        }

        &::-webkit-scrollbar-thumb {
            background-color: var(--color-black);
            border-radius: 50px;
        }
    }
}

@media (min-width: 1280px) {
    .product-type-filter-bar__inner:not(.is-overflowing) {
        justify-content: center;
    }
}


.quick-filters {
    padding: 13px 10px 0;
    margin: 12px -10px 0;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--color-secondary);
    }

    .quick-filters__label {
        font-weight: 500;
        font-size: 15px;
        line-height: 130%;
        color: var(--color-text-active);
        white-space: nowrap;
    }

    .quick-filters--sizes {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -10px;
        padding-right: 10px;

        button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--color-border);
            border-radius: 50px;
            min-width: 52px;
            height: 34px;
            font-weight: 500;
            font-size: 13px;
            line-height: 1;
            text-align: center;
            color: var(--color-text-secondary);
            padding: 0 10px;
            white-space: nowrap;

            &:hover {
                opacity: 0.7;
            }

            &[data-active="true"] {
                border-color: var(--color-text-secondary);
            }
        }

    }

    .quick-filters--colors {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -10px;
        padding: 4px 10px 4px 4px;

        button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 74px;
            width: 26px;
            height: 26px;
            min-width: 26px;
            color: var(--color-text-secondary);
            white-space: nowrap;
            background: var(--swatch-background);

            &:hover {
                opacity: 0.7;
            }

            &[data-active="true"] {
                width: 36px;
                height: 36px;
                min-width: 36px;
                outline: 1.49px solid var(--color-black);
            }
        }

    }

    @media (min-width: 1000px) {
        padding: 0;
        margin: 0;
        max-width: calc(100% - 450px);

        &::before {
            display: none;
        }

        .quick-filters--sizes {
            padding: 5px 0;
            margin-right: 0;

            button {
                min-width: 51px;
            }

            &::-webkit-scrollbar {
                height: 4px;
            }

            &::-webkit-scrollbar-track {
                background: var(--color-background-secondary);
            }

            &::-webkit-scrollbar-thumb {
                background-color: var(--color-black);
                border-radius: 50px;
            }

        }
    }
}


.collection__results {
    padding-inline: 0;

    .active-facets-wrapper {
        padding: 12px 10px 12px 10px;
        border-bottom: 1px solid var(--color-secondary);

        .active-facets {
            border: none;
            padding-inline: 0;
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: 16px;
            justify-content: flex-start;
            margin: auto;
            padding: 0 10px 0 0;
            margin-right: -10px;

            .subheading {
                font-family: var(--text-font-family);
                font-weight: 400;
                font-size: 12px;
                line-height: 1;
                color: var(--color-text-active);
                text-transform: none;
                padding: 0 8px;
                border-radius: 50px;
                height: 33px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 12px;
                background: var(--color-secondary);
                border: none;
                min-width: 51px;
                flex-shrink: 0;

                &.facets-clear-all {
                    background: var(--color-background-primary);
                    margin: 0;
                    border: 1px solid var(--color-primary);
                    padding: 0 12px;
                }

                svg {
                    width: 17px;
                    height: 17px;
                }

                &:hover {
                    opacity: 0.7;
                }
            }

            @media (min-width: 1000px) {
                margin: auto;
                padding: 0 40px;
                gap: 12px;

            }
        }
    }

    .product-list {
        padding: 12px 10px 0;
        --product-list-column-gap: 4px;
        --product-list-row-gap: 2px;

        @media (min-width: 1000px) {
            --product-list-column-gap: 10px;
            --product-list-row-gap: 14px;
            padding: 24px 40px 14px;
        }
    }
}

#facets-drawer {
    &::part(header) {
        padding: 10px 10px 12px 10px;
        border-block-end: none;
    }

    &::part(body) {
        padding-block-start: 0;
        padding: 0 10px;
    }

    [slot="header"] {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 16px;
        font-weight: 500;
        font-size: 20px;
        line-height: 130%;
    }

    &::part(close-button) {
        justify-self: end;
        border-radius: 50px;
        padding: 6px;
        width: 32px;
        height: 32px;
        background-color: var(--color-secondary);
    }

    &::part(close-button):before {
        display: none;
    }

    &::part(close-button):hover {
        opacity: 0.7;
    }

    #facets-drawer-form {

        .accordion {
            box-shadow: none;
            border-bottom: 1px solid var(--color-border);

            &.is-open {
                .accordion__summary svg path:first-child {
                    display: none;
                }
            }

            .accordion__summary {
                min-height: unset;
                font-family: var(--text-font-family);
                font-weight: 500;
                font-size: 15px;
                line-height: 130%;
                color: var(--color-primary);
                padding: 16px 0;
                text-transform: none;
            }

            .accordion__content {

                padding-inline-start: 0;
                padding-right: 12px;
                padding-top: 8px;
                max-height: 300px;
                overflow-y: auto;
                margin-bottom: 5px;


                &::-webkit-scrollbar {
                    width: 4px;
                }

                &::-webkit-scrollbar-track {
                    background: var(--color-border);
                    border-radius: 50px;
                }

                &::-webkit-scrollbar-thumb {
                    background-color: var(--color-primary);
                    border-radius: 50px;
                }

                .v-stack {
                    gap: 12px;
                }
            }
        }

        .checkbox-control {
            display: flex;
            align-items: center;
            padding: 0 4px;
            gap: 10px;

            input {
                margin-right: 0;
            }

            label {
                display: flex;
                font-weight: 400;
                font-size: 12px;
                line-height: 1;
                color: var(--color-black);
                width: 100%;
                opacity: 1;
                align-items: center;

                span {
                    color: var(--color-text-default);
                    margin-left: auto;
                }
            }
        }

        .active-facets-wrapper {
            display: none;
        }

        .filter-color-swatch {
            display: block;

            input:checked+label .color-swatch {
                outline: 1px solid var(--color-black);
                outline-offset: 2px;
            }

            .color-swatch-wrapper {
                display: flex;
                align-items: center;
                padding: 0 4px;
                gap: 10px;
                margin-bottom: 12px;

                .color-swatch {
                    border-radius: 50px;
                    width: 34px;
                    height: 34px;
                }

                .color-swatch-value {
                    font-weight: 400;
                    font-size: 12px;
                    line-height: 130%;
                    color: var(--color-black);

                }

                .color-swatch-count {
                    font-weight: 400;
                    font-size: 12px;
                    line-height: 130%;
                    color: var(--color-text-default);
                    margin-left: auto;
                }

            }
        }
    }

    &::part(footer) {
        padding: 20px 10px;
        border-top: 1px solid var(--color-secondary);
    }

    [slot="footer"] {
        .button-group {
            gap: 10px;

            .button {
                background-color: var(--color-primary);
                color: var(--color-background-primary);

                &.button--outline {
                    color: var(--color-primary);
                    background-color: var(--color-background-primary);
                    border-color: var(--color-primary);
                }

                .button__content {
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 87%;
                    letter-spacing: 0.02em;
                    padding: 16px;
                    height: 46px;
                    --button-padding-block: 16px;
                    --button-padding-inline: 16px;
                }
            }
        }
    }

    .facets__availability-control {
        box-shadow: none;
        border-bottom: 1px solid var(--color-border);
        padding: 16px 0;

        .subheading {
            min-height: unset;
            font-family: var(--text-font-family);
            font-weight: 500;
            font-size: 15px;
            line-height: 130%;
            color: var(--color-primary);
            text-transform: none;
        }


        .switch {
            width: 23px;
            height: 15px;
            border: 1px solid var(--color-text-active);
            background-color: var(--color-background-primary);
            --switch-padding: 5px;

        }

        .switch:checked {
            background-color: var(--color-background-primary);
        }

        .switch:after {
            width: 7px;
            height: 7px;
            background-color: var(--color-background-primary);
            border: 1px solid var(--color-text-active);
        }

        .switch:checked:after {
            background-color: var(--color-text-active);
            border: 1px solid var(--color-text-active);
            transform: translateX(5px);
        }

        &.facets__sale-control {
            .subheading {
                color: var(--color-sale);
            }
        }

    }

    @media (min-width: 1000px) {
        --drawer-max-width: 526px;

        &::part(header) {
            padding: 20px 20px 12px 20px;
        }

        &::part(body) {
            padding: 0 20px;
        }

        &::part(footer) {
            padding: 20px;

            .button-group {
                gap: 16px;
            }
        }
    }

    label:focus-within:has(:focus-visible) {
        outline: none;
    }

    input:focus-visible {
        outline: none;
    }


}

.collection {
    padding: 0;

    .collection__inner {
        gap: 0;
    }

    .product-list__promo {
        margin: 12px 0 22px;
        border-radius: 4px;
        overflow: hidden;

        .content-box__background-media img {
            border-radius: 4px;
        }

        .content-box {
            .block-heading {
                font-weight: 500;
                font-size: 32px;
                line-height: 130%;
                letter-spacing: -0.02em;

            }

            .block-heading+div {
                p {
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 130%;
                    margin-top: 8px;
                }
            }

            .button {
                --button-padding-block: 13px;
                margin-top: 16px;

                .button__content {
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 1;
                    letter-spacing: 0.02em;
                    color: var(--color-text-active);
                    min-width: 190px;
                    padding: 12px 16px;

                }
            }

        }

        @media (min-width: 1000px) {
            margin: 0;

            &.product-list__promo--desktop {
                display: flex;
            }

            .content-box {
                width: 100%;

                .block-heading {
                    font-weight: 500;
                    font-size: 40px;
                    line-height: 130%;
                    letter-spacing: -0.01em;
                }

                .button {
                    margin-top: 30px;
                }
            }
        }
    }

    .product-list[desktop-layout="grid-6"] {
        .product-list__promo--desktop {
            grid-column: 4 / span 3;
            grid-row: 3 / span 4;
        }
    }

}

.pagination-wrapper {

    &.container {
        padding: 10px 10px 24px 10px;
    }


    .products-view-count {
        font-weight: 400;
        font-size: 13px;
        line-height: 130%;
        text-align: center;
        color: var(--color-text-tertiary);
        margin-bottom: 24px;
    }

    .pagination {
        gap: 8px;

        .circle-button {
            border: 1px solid var(--color-primary);
            border-radius: 50px;
            padding: 10px;
            width: 44px;
            height: 44px;
            background-color: var(--color-primary);

            svg path {
                width: 24px;
                height: 24px;
                stroke: var(--color-background-primary);
            }

            &:before {
                display: none;
            }

            &.is-disabled {
                pointer-events: none;
                background-color: var(--color-background-primary);

                svg path {
                    stroke: var(--color-primary);
                }
            }

            &:hover {
                opacity: 0.7;
            }

        }

        .pagination__link {
            font-family: var(--text-font-family);
            border-radius: 50px;
            border-radius: 50px;
            padding: 8px 1px;
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--color-border);
            background-color: var(--color-background-primary);
            font-weight: 400;
            font-size: 13px;
            line-height: 1;
            text-align: center;
            color: var(--color-text-active);

            &[aria-current="page"] {
                border: 1px solid var(--color-primary);
            }

            &.pagination__dots {
                border: none;

                svg {
                    width: 28px;
                    height: 4px;
                }
            }

            &:hover {
                opacity: 0.7;
            }
        }
    }

    @media (min-width: 1000px) {
        &.container {
            padding: 20px 40px 60px;
        }

        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .products-view-count {
            margin-bottom: 0;
        }

        .pagination {
            facet-link:first-child {
                margin-right: 8px;
            }

            facet-link:last-child {
                margin-left: 8px;
            }

            .pagination__link {
                width: 67px;

                &.pagination__dots {
                    width: 52px;
                }
            }
        }

    }

    &.pagination-hidden {
        opacity: 0;
        max-height: 1px;
        pointer-events: none;
        padding: 0;
    }
}


/* infinity scroll */
.product-list.is-appending,
.pagination-wrapper,
infinite-scroll {
    overflow-anchor: none;
}

infinite-scroll {
    padding: 10px 10px 24px 10px;

    .loading-spinner {
        text-align: center;
        margin: 20px 0;
    }

    .infinite-scroll__error:not([hidden]) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 8px 0 20px;
        text-align: center;
    }

    .infinite-scroll__error[hidden],
    .loading-spinner[hidden] {
        display: none;
    }

    .infinite-scroll__error-message {
        margin: 0;
        font-size: 14px;
    }

    .spinner {
        width: 50px;
        height: 50px;
        border: 4px solid var(--color-button-tertiary);
        border-left-color: var(--color-black);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: inline-block;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @media (min-width: 1000px) {
        padding: 20px 40px 60px;
    }
}


/* infinity scroll */


@media (min-width: 1000px) {
    .product-list[desktop-layout="grid-6"] {
        --product-list-column-count: 6;

        .product-card__floating-size-selector {
            justify-content: flex-start;
        }
    }

}


/* discount filter bar */
.discount-filter {
    .discount-filter__buttons {
        display: flex;
        padding: 10px 12px;
        gap: 8px;
        background-color: var(--color-secondary);
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;

        &::-webkit-scrollbar {
            display: none;
        }

        .discount-filter__button {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1 1 0;
            min-width: max(5.5rem, 18%);
            border: 1px solid rgb(255 99 0 / 0.35);
            border-radius: 999px;
            padding: 10px 12px;
            font-weight: 700;
            font-size: clamp(11px, 2.6vw, 14px);
            line-height: 1;
            letter-spacing: 0.02em;
            white-space: nowrap;
            color: #111;
            background: #fff;
            cursor: pointer;

            &:focus-visible {
                outline: 2px solid #111;
                outline-offset: 2px;
            }

            &[data-active="true"] {
                border-color: transparent;
                color: #fff;
                background-image: linear-gradient(115deg, #ff6300 0%, #c41e8a 100%);
            }

            &--clear {
                border-style: dashed;
                font-weight: 600;
                color: #555;
                background: transparent;
            }

            &--clear:disabled {
                opacity: 0.45;
                cursor: default;
            }
        }

        @media screen and (max-width: 749px) {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            overflow: visible;

            .discount-filter__button {
                min-width: 0;
                width: 100%;
            }

            .discount-filter__button--clear {
                grid-column: 1 / -1;
            }
        }

        @media screen and (min-width: 1000px) {
            padding: 12px 40px;
            justify-content: center;

            .discount-filter__button {
                flex: 0 1 auto;
                min-width: 7.5rem;
                height: 44px;
                padding-inline: 18px;
            }
        }
    }
}
product-list.product-list-split[data-stock-mode="in"] > product-card.product-card--soldout:not(.product-card--force-visible) {
  display: none;
}
