/* ===== BEST SELLERS PAGE STYLES ===== */

    /* Collection Section */
    .collection-section {
        padding: 0 1.6rem 5rem;
    }

    @media (min-width: 768px) {
        .collection-section {
            padding: 0 2.4rem 5rem;
        }
    }

    @media (min-width: 992px) {
        .collection-section {
            padding: 0 3.2rem 5rem;
        }
    }

    /* Section Header */
    .collection-section .section-header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 0;
    }

    .collection-section .section-header h1 {
        font-size: 1.7rem;
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.9rem;
        margin: 0;
        color: #000;
    }

    @media (min-width: 768px) {
        .collection-section .section-header h1 {
            font-size: 3.6rem;
            line-height: 3.816rem;
        }
    }

    /* Collection Navigation */
    .collection-nav__wrapper {
        white-space: nowrap;
        margin-bottom: 5rem;
        margin-left: -1.6rem;
        overflow-x: scroll;
        padding-left: 1.6rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .collection-nav__wrapper::-webkit-scrollbar {
        display: none;
    }

    @media (max-width: 767px) {
        .collection-nav__wrapper {
            background-color: #fff;
            margin-bottom: 2rem;
            margin-right: -1.6rem;
            position: sticky;
            top: 7.2rem;
            z-index: 5;
        }
    }

    .collection-nav {
        margin-top: 4rem;
    }

    @media (max-width: 767px) {
        .collection-nav {
            font-size: 1.4rem;
            margin-top: 3rem;
            padding-right: 1rem;
        }
    }

    .collection-nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    @media (max-width: 767px) {
        .collection-nav ul {
            margin-left: -1.25rem;
        }
    }

    @media (min-width: 768px) {
        .collection-nav ul {
            column-gap: 2.5rem;
            row-gap: 2.5rem;
        }
    }

    .collection-nav__item {
        margin-bottom: 0;
    }

    @media (max-width: 767px) {
        .collection-nav__item {
            padding: 0 1.25rem;
        }
    }

    .collection-nav__link {
        border-bottom: 1px solid transparent;
        display: inline-block;
        padding-bottom: 1rem;
        position: relative;
        transition: border-color 0.2s linear;
        text-decoration: none;
        color: #000;
        font-size: 1.6rem;
    }

    .collection-nav__link:hover {
        border-color: #000;
        color: #000;
    }

    .collection-nav__link.current {
        border-color: #000;
    }

    /* Product Grid */
    .collection-section .product__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 4px;
        row-gap: 3.4rem;
        margin-left: -1.6rem;
        margin-right: -1.6rem;
        margin-bottom: 3.25rem;
    }

    @media (min-width: 768px) {
        .collection-section .product__grid {
            margin-left: -2.4rem;
            margin-right: -2.4rem;
            row-gap: 5.2rem;
            margin-bottom: 5rem;
        }
    }

    @media (min-width: 992px) {
        .collection-section .product__grid {
            grid-template-columns: repeat(3, 1fr);
            margin-left: -3.2rem;
            margin-right: -3.2rem;
        }
    }

    /* Product Card */
    .collection-section .ss-product {
        position: relative;
    }

    .collection-section .ss-product .product__wrapper {
        height: 100%;
    }

    .collection-section .ss-product .product__image-wrapper {
        background-color: #f5f5f5;
        overflow: hidden;
        padding-top: 100%;
        position: relative;
    }

    .collection-section .ss-product .product__image-link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    .collection-section .ss-product .ss-product__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .collection-section .ss-product .hover-img {
        opacity: 0;
        transition: opacity 0.2s linear;
        z-index: 0;
    }

    @media (min-width: 768px) {
        .collection-section .ss-product:hover .hover-img {
            opacity: 1;
            pointer-events: none;
        }
    }

    /* Product Tags */
    .collection-section .ss-product .product-top-tag {
        position: absolute;
        top: 8px;
        left: 8px;
        background-color: #fff;
        border-radius: 2px;
        font-size: 8px;
        letter-spacing: 0.7px;
        line-height: 1;
        padding: 0.25rem 0.25rem 0.125rem 0.3125rem;
        text-transform: uppercase;
        z-index: 1;
    }

    @media (min-width: 768px) {
        .collection-section .ss-product .product-top-tag {
            font-size: 12px;
            left: 10px;
            top: 10px;
            line-height: 13.2px;
            padding: 0.25rem 0.25rem 0.125rem;
        }
    }

    .collection-section .ss-product .product-tag {
        position: absolute;
        bottom: 8px;
        left: 8px;
        color: #989898;
        font-size: 8px;
        letter-spacing: 0.7px;
        line-height: 1;
        text-transform: uppercase;
        z-index: 1;
    }

    @media (min-width: 768px) {
        .collection-section .ss-product .product-tag {
            bottom: 10px;
            font-size: 12px;
            left: 10px;
        }
    }

    .collection-section .ss-product .product-save-tag {
        position: absolute;
        top: 8px;
        right: 8px;
        background-color: #fff;
        border-radius: 2px;
        font-size: 9px;
        letter-spacing: 0.48px;
        line-height: 1;
        padding: 0.25rem 0.25rem 0.125rem 0.3125rem;
        text-transform: uppercase;
        z-index: 1;
    }

    @media (min-width: 768px) {
        .collection-section .ss-product .product-save-tag {
            font-size: 12px;
            line-height: 13.2px;
            padding: 0.25rem 0.25rem 0.125rem;
            right: 10px;
            top: 10px;
        }
    }

    /* Add to Cart Button */
    .collection-section .ss-product .add-to-cart__form {
        position: relative;
        z-index: 3;
    }

    .collection-section .ss-product .add-to-cart {
        position: absolute;
        bottom: 0.5rem;
        right: 0.5rem;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 100%;
        padding: 0;
        opacity: 1;
        transition: opacity 0.2s linear;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    @media (min-width: 768px) {
        .collection-section .ss-product .add-to-cart {
            bottom: 0.8rem;
            height: 2rem;
            right: 0.8rem;
            width: 2rem;
        }
    }

    .collection-section .ss-product .add-to-cart svg {
        width: 100%;
        height: 100%;
    }

    .collection-section .ss-product .add-to-cart:hover svg circle {
        fill: #000;
    }

    .collection-section .ss-product .add-to-cart:hover svg rect {
        fill: #fff;
    }

    .collection-section .ss-product .add-to-cart svg circle,
    .collection-section .ss-product .add-to-cart svg rect {
        transition: all 0.2s linear;
    }

    /* Product Meta */
    .collection-section .ss-product .product__meta-wrapper {
        padding: 9px 8px 0;
        position: relative;
    }

    @media (min-width: 768px) {
        .collection-section .ss-product .product__meta-wrapper {
            padding: 11px 10px 0;
        }
    }

    .collection-section .ss-product .product-title {
        font-size: 11px;
        letter-spacing: 0.02em;
        line-height: 1.3;
        text-transform: uppercase;
        margin: 0;
        font-weight: 400;
    }

    @media (min-width: 992px) {
        .collection-section .ss-product .product-title {
            font-size: 16px;
            line-height: 1.2;
        }
    }

    .collection-section .ss-product .variant-title {
        color: #989898;
        display: block;
        font-size: 10px;
        letter-spacing: 0.02em;
        line-height: 1.3;
        margin-top: 4px;
    }

    @media (min-width: 992px) {
        .collection-section .ss-product .variant-title {
            font-size: 13px;
            line-height: 1.2;
            margin-top: 7px;
        }
    }

    .collection-section .ss-product .product__meta-price {
        font-size: 11px;
        letter-spacing: 0.02em;
        line-height: 1.3;
        margin-top: 4px;
        margin-bottom: 0;
    }

    @media (min-width: 992px) {
        .collection-section .ss-product .product__meta-price {
            font-size: 16px;
            letter-spacing: 0.28px;
            line-height: 1.2;
            margin-top: 8px;
        }
    }

    .collection-section .ss-product .sale-price {
        display: inline;
    }

    .collection-section .ss-product .regular-price {
        color: #a8a8a8;
        margin-left: 4px;
        text-decoration: line-through;
        display: inline-block;
    }

    .collection-section .ss-product .meta-link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Visually Hidden */
    .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        border: 0 !important;
    }

    /* No products message */
    .collection-section .no-products {
        grid-column: 1 / -1;
        text-align: center;
        padding: 4rem 2rem;
        color: #666;
    }
