/* ===== BEST SELLERS PAGE STYLES ===== */

    /* Collection Section */
    .collection-section, .scent-collection, .collection-deodorants {
        padding: 0 1.6rem 5rem;
    }

    @media (min-width: 768px) {
        .collection-section, .scent-collection, .collection-deodorants {
            padding: 0 2.4rem 5rem;
        }
    }

    @media (min-width: 992px) {
        .collection-section, .scent-collection, .collection-deodorants {
            padding: 0 3.2rem 5rem;
        }
    }

    /* Section Header */
    .section-header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 0;
    }

    .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) {
        .section-header h1 {
            font-size: 3.6rem;
            line-height: 3.816rem;
        }
    }

    /* Collection Navigation */
    .collection-nav__wrapper {
        white-space: nowrap;
        margin-bottom: 2rem;
        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: 1.5rem;
            margin-right: -1.6rem;
            margin-top: 0;
            padding-top: 0;
            position: sticky;
            top: 6.4rem;
            z-index: 5;
        }
    }

    .collection-nav {
        margin-top: 1.5rem;
    }

    @media (max-width: 767px) {
        .collection-nav {
            font-size: 1.4rem;
            margin-top: 1rem;
            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 */
    .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) {
        .product__grid {
            margin-left: -2.4rem;
            margin-right: -2.4rem;
            row-gap: 5.2rem;
            margin-bottom: 5rem;
        }
    }

    @media (min-width: 992px) {
        .product__grid {
            grid-template-columns: repeat(3, 1fr);
            margin-left: -3.2rem;
            margin-right: -3.2rem;
        }
    }

    /* Product Card */
    .ss-product {
        position: relative;
    }

    .ss-product .product__wrapper {
        height: 100%;
    }

    .ss-product .product__image-wrapper {
        background-color: #f5f5f5;
        overflow: hidden;
        padding-top: 100%;
        position: relative;
    }

    .ss-product .product__image-link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    .ss-product .ss-product__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .ss-product .hover-img {
        opacity: 0;
        transition: opacity 0.2s linear;
        z-index: 0;
    }

    @media (min-width: 768px) {
        .ss-product:hover .hover-img {
            opacity: 1;
            pointer-events: none;
        }
    }

    /* Product Tags */
    .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) {
        .ss-product .product-top-tag {
            font-size: 12px;
            left: 10px;
            top: 10px;
            line-height: 13.2px;
            padding: 0.25rem 0.25rem 0.125rem;
        }
    }

    .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) {
        .ss-product .product-tag {
            bottom: 10px;
            font-size: 12px;
            left: 10px;
        }
    }

    .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) {
        .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 */
    .ss-product .add-to-cart__form {
        position: relative;
        z-index: 3;
    }

    .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) {
        .ss-product .add-to-cart {
            bottom: 0.8rem;
            height: 2rem;
            right: 0.8rem;
            width: 2rem;
        }
    }

    .ss-product .add-to-cart svg {
        width: 100%;
        height: 100%;
    }

    .ss-product .add-to-cart:hover svg circle {
        fill: #000;
    }

    .ss-product .add-to-cart:hover svg rect {
        fill: #fff;
    }

    .ss-product .add-to-cart svg circle,
    .ss-product .add-to-cart svg rect {
        transition: all 0.2s linear;
    }

    /* Product Meta */
    .ss-product .product__meta-wrapper {
        padding: 9px 8px 0;
        position: relative;
    }

    @media (min-width: 768px) {
        .ss-product .product__meta-wrapper {
            padding: 11px 10px 0;
        }
    }

    .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) {
        .ss-product .product-title {
            font-size: 16px;
            line-height: 1.2;
        }
    }

    .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) {
        .ss-product .variant-title {
            font-size: 13px;
            line-height: 1.2;
            margin-top: 7px;
        }
    }

    .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) {
        .ss-product .product__meta-price {
            font-size: 16px;
            letter-spacing: 0.28px;
            line-height: 1.2;
            margin-top: 8px;
        }
    }

    .ss-product .sale-price {
        display: inline;
    }

    .ss-product .regular-price {
        color: #a8a8a8;
        margin-left: 4px;
        text-decoration: line-through;
        display: inline-block;
    }

    .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 */
    .no-products {
        grid-column: 1 / -1;
        text-align: center;
        padding: 4rem 2rem;
        color: #666;
    }


/* === BY SCENT & UNIVERSAL FIXES === */
.scent-collection .section-header { text-align: center; margin-bottom: 4rem; }
.scent-section { margin-bottom: 6rem; padding-top: 2rem; }

.scent-collection .intro {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    text-align: center;
    padding: 3rem;
    height: 100%;
}
.collection-intro__title {
    font-size: 2.2rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.color-swatch {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    opacity: 0.9;
    flex-shrink: 0;
}
.scent-collection .intro p {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #555;
    margin: 0 auto;
    max-width: 90%;
}

/* Scent grid intro block sizing */
.with-intro-grid-item .intro { grid-column: span 2; }

/* Deodorant explicit inherited class overrides */
.inherited-styles-for-exported-element { padding: 0 !important; }

/* Add to cart overrides */
.ss-product .add-to-cart {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    width: 3.1rem;
    height: 3.1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.ss-product .add-to-cart svg {
    width: 100%;
    height: 100%;
}

/* Scent Specific Headers */
.scent-collection .section-header h1 {
    font-size: 3.6rem;
    line-height: 3.816rem;
    font-weight: 400;
}

/* Variant Swatches (Gift Sets / etc.) */
.product-variants__wrapper {
    margin-top: 1rem;
    padding: 0 1rem;
    position: relative;
    z-index: 5;
}
.scent-fieldset {
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.scent-radio {
    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;
}
.scent-label {
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1) inset;
    transition: transform 0.1s linear, box-shadow 0.1s linear;
}
.scent-label:hover {
    transform: scale(1.1);
}
.scent-radio:checked + .scent-label {
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #000;
}
