.csw-breadcrumb,
.csw-cat-landing,
.csw-filter-shell,
.csw-products-wrap {
    color: #000;
    font-family: inherit;
}

.csw-products-wrap {
    transition: opacity .16s ease;
}

.csw-products-wrap.is-loading {
    opacity: .45;
    pointer-events: none;
}

.csw-breadcrumb *,
.csw-cat-landing *,
.csw-filter-shell *,
.csw-products-wrap * {
    box-sizing: border-box;
}

.csw-breadcrumb {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.25;
}

.csw-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.csw-breadcrumb sup {
    font-size: 9px;
    line-height: 1;
}

.csw-cat-landing {
    padding: 8px 0 34px;
}

.csw-cat-landing h1 {
    max-width: 1100px;
    margin: 0 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0;
}

.csw-guide-link {
    display: inline-block;
    margin: 0 0 48px;
    color: #000;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.csw-rail-wrap {
    position: relative;
}

.csw-cat-rail {
    --csw-cat-card-width: 208px;
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.csw-cat-rail::-webkit-scrollbar {
    display: none;
}

.csw-cat-card {
    flex: 0 0 var(--csw-cat-card-width);
    width: var(--csw-cat-card-width);
    color: inherit;
    text-decoration: none;
}

.csw-cat-card img {
    display: block;
    width: 100%;
    height: 285px;
    object-fit: cover;
    background: #f3f3f3;
    border: 1px solid transparent;
}

.csw-cat-card.is-active img,
.csw-cat-card:focus-visible img {
    border-color: #000;
}

.csw-cat-card .csw-cat-label {
    display: block;
    margin-top: 11px;
    color: inherit;
    font-family: inherit;
    font-size: 13px;
    font-weight: inherit;
    line-height: 1.25;
}

.csw-rail-btn {
    position: absolute;
    top: calc(50% - 18px);
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.csw-rail-wrap.can-scroll-left .csw-rail-prev,
.csw-rail-wrap.can-scroll-right .csw-rail-next {
    display: inline-flex;
}

.csw-rail-prev {
    left: 8px;
}

.csw-rail-next {
    right: 8px;
}

.csw-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 18px;
}

.csw-filter-chip,
.csw-filter-head button,
.csw-filter-actions button,
.csw-filter-actions a {
    min-height: 24px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    padding: 3px 10px;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.csw-filter-chip:hover,
.csw-filter-head button:hover {
    background: #f5f5f5;
}

.csw-filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    justify-content: flex-end;
    background: rgba(0, 0, 0, .22);
    isolation: isolate;
}

.csw-filter-drawer.is-open {
    display: flex;
}

.csw-filter-panel {
    position: relative;
    z-index: 2147483001;
    display: flex;
    flex-direction: column;
    width: min(486px, 100vw);
    height: 100%;
    overflow: hidden;
    background: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .08);
}

.csw-filter-panel form {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
}

.csw-filter-head {
    flex: 0 0 auto;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 58px;
    padding: 0 32px 0 48px;
    border-bottom: 1px solid #d9d9d9;
    background: #fff;
    font-size: 13px;
}

.csw-filter-group {
    flex: 0 0 auto;
    border-bottom: 1px solid #d9d9d9;
    padding: 0 48px;
}

.csw-filter-head + .csw-filter-group {
    margin-top: 0;
}

.csw-filter-group summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 0;
    list-style: none;
    cursor: pointer;
    font-size: 17px;
}

.csw-filter-group summary::-webkit-details-marker {
    display: none;
}

.csw-filter-group summary::after {
    content: "";
    width: 11px;
    height: 11px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg) translateY(-3px);
}

.csw-filter-group[open] summary::after {
    transform: rotate(225deg) translateY(-2px);
}

.csw-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 0 0 26px;
}

.csw-filter-group[data-csw-section="filter_color"] .csw-filter-options,
.csw-filter-group[data-csw-section="filter_colour"] .csw-filter-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(112px, 1fr));
    column-gap: 20px;
    row-gap: 14px;
    align-items: start;
}

.csw-filter-group[data-csw-section="cariana_cat"] .csw-filter-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 14px;
    align-items: start;
}

.csw-filter-group[data-csw-section="cariana_cat"] .csw-filter-option {
    width: 100%;
    min-width: 0;
}

.csw-filter-group[data-csw-section="filter_size"] .csw-filter-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(104px, 1fr));
    column-gap: 16px;
    row-gap: 12px;
    align-items: start;
}

.csw-filter-group[data-csw-section="filter_size"] .csw-filter-size-option,
.csw-filter-group[data-csw-section="filter_size"] .csw-filter-size-option span {
    width: 100%;
    min-width: 0;
}

.csw-filter-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 82px;
    font-size: 13px;
    line-height: 1.25;
}

.csw-filter-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #000;
}

.csw-filter-color-option {
    min-width: 0;
    width: 100%;
    gap: 8px;
}

.csw-filter-color-option input {
    flex: 0 0 16px;
}

.csw-filter-color-swatch {
    position: relative;
    display: inline-flex;
    width: 28px;
    height: 14px;
    flex: 0 0 28px;
}

.csw-filter-color-option .csw-filter-label {
    min-width: 0;
    white-space: nowrap;
}

.csw-filter-color-swatch::before,
.csw-filter-color-swatch::after {
    content: "";
    position: absolute;
    top: 1px;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 50%;
    background: var(--csw-filter-color, #eee);
}

.csw-filter-color-swatch::before {
    left: 0;
    opacity: .35;
}

.csw-filter-color-swatch::after {
    left: 8px;
}

.csw-filter-size-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 25px;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.csw-filter-size-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.csw-filter-size-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 25px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    padding: 5px 11px;
}

.csw-filter-size-option input:checked + span {
    background: #000;
    color: #fff;
}

.csw-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
    margin-top: auto;
    padding: 14px 22px;
    background: #fff;
    border-top: 1px solid #d9d9d9;
}

.csw-filter-actions button {
    background: #000;
    color: #fff;
}

.csw-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.csw-product-grid {
    --csw-columns: 4;
    display: grid;
    grid-template-columns: repeat(var(--csw-columns), minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 30px;
}

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

.csw-product-media {
    position: relative;
    overflow: hidden;
    background: #f4f4f4;
}

.csw-product-media a {
    display: block;
}

.csw-product-media img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: opacity .18s ease;
}

.csw-hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.csw-product-card:hover .csw-hover-image {
    opacity: 1;
}

.csw-image-badge {
    position: absolute;
    right: 10px;
    bottom: 42px;
    background: #fff;
    color: #000;
    padding: 4px 7px;
    font-size: 12px;
    line-height: 1.1;
}

.csw-quick-view {
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 7px;
    height: 34px;
    border: 0;
    background: rgba(255, 255, 255, .95);
    color: #000;
    font: inherit;
    font-size: 13px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease;
    cursor: pointer;
}

.csw-product-card:hover .csw-quick-view,
.csw-product-card:focus-within .csw-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.csw-product-info {
    padding: 11px 0 0;
    font-size: 13px;
    line-height: 1.35;
}

.csw-product-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.csw-product-title {
    color: inherit;
    text-decoration: none;
}

.csw-save {
    flex: 0 0 auto;
    font-size: 21px;
    line-height: 1;
}

.csw-price {
    margin-top: 7px;
}

.csw-swatches {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.csw-swatches span {
    width: 13px;
    height: 13px;
    border: 1px solid #000;
    border-radius: 50%;
    background: #eee;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.csw-swatches em {
    font-style: normal;
    font-size: 12px;
}

.csw-pagination {
    margin-top: 34px;
}

.csw-infinite-status {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
    font-size: 13px;
    color: #000;
}

.csw-infinite-status[hidden] {
    display: none;
}

.csw-infinite-loading {
    opacity: 0;
    transition: opacity .16s ease;
}

.csw-infinite-status.is-loading .csw-infinite-loading {
    opacity: 1;
}

.csw-pagination ul {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.csw-pagination a,
.csw-pagination span {
    display: inline-flex;
    min-width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
}

.csw-pagination .current {
    background: #000;
    color: #fff;
}

.csw-empty {
    margin: 28px 0;
}

.csw-quick-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .3);
}

.csw-quick-modal.is-open {
    display: flex;
}

.csw-quick-box {
    width: min(420px, 100%);
    background: #fff;
    padding: 24px;
    color: #000;
}

.csw-quick-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 400;
}

.csw-quick-box a {
    display: inline-flex;
    margin-top: 18px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
}

.csw-quick-close {
    float: right;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .csw-product-grid {
        --csw-columns: 3;
    }

    .csw-cat-landing h1 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .csw-cat-landing h1 {
        font-size: 30px;
        line-height: 1.14;
    }

    .csw-guide-link {
        margin-bottom: 28px;
    }

    .csw-cat-card img {
        height: 230px;
    }

    .csw-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .csw-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .csw-filter-chip {
        flex: 0 0 auto;
    }

    .csw-filter-panel {
        width: 100vw;
    }

    .csw-filter-group[data-csw-section="filter_color"] .csw-filter-options,
    .csw-filter-group[data-csw-section="filter_colour"] .csw-filter-options {
        grid-template-columns: repeat(2, minmax(112px, 1fr));
    }

    .csw-filter-group[data-csw-section="cariana_cat"] .csw-filter-options,
    .csw-filter-group[data-csw-section="filter_size"] .csw-filter-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .csw-filter-head {
        padding: 0 20px;
    }

    .csw-filter-group {
        padding: 0 20px;
    }

    .csw-product-grid {
        --csw-columns: 2;
        gap: 26px 6px;
    }

    .csw-quick-view {
        opacity: 1;
        transform: none;
        height: 30px;
    }

    .csw-image-badge {
        bottom: 38px;
        right: 7px;
    }
}
