.shopify-section--featured-collections {
    .container {
        padding: 0;
    }

    .section-spacing {
        padding-block-start: 0;
        padding-block-end: 0;
    }

    .product-list--carousel {
        padding-inline: 16px;
    }

    .featured-collections-header {
        padding: 0 16px;
    }

    .section-spacing>.v-stack {
        gap: 12px;
    }

    .section-heading {
        font-weight: 500;
        font-size: 30px;
        line-height: 130%;
        color: rgb(var(--text-color));
        margin-bottom: 12px;
    }

    .featured-collections-header button {
        font-weight: 500;
        font-size: 16px;
        line-height: 1;
        letter-spacing: 0.02em;
        color: rgb(var(--subheading-text-color));
        opacity: 1;
    }

    .featured-collections-header button:hover,
    .featured-collections-header__tab-list [role=tab][aria-selected=false]:hover {
        opacity: 0.7;
    }

    .featured-collections-header button[aria-selected="true"] {
        border-bottom: 1px solid rgb(var(--subheading-text-color));
        padding: 0px 0px 8px;
    }

    .featured-collections-header__tab-list [role=tab][aria-selected=false] {
        opacity: 1;
    }

    .featured-collections-header__tab-list {
        gap: 26px;
    }

    .featured-collections-header__link {
        font-family: var(--subheading-font-family);
        font-weight: 400;
        font-size: 15px;
        line-height: 110%;
        letter-spacing: 0.07em;
        border: none;
        padding: 0px 0px 4px;
        border-radius: unset;
        position: relative;

        &::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            height: 1px;
            width: 100%;
            background-color: rgb(var(--subheading-text-color));
            transform-origin: left;
            transform: scaleX(1);
            transition: transform 0.3s ease;
        }

        &:hover::after {
            transform: scaleX(0);
        }

    }

    .featured-collections-header__link .button__content {
        padding: 0;
        display: inline;
    }

    .featured-collections-header {
        grid-template-columns: 1fr auto;
        margin-bottom: 12px;
        align-items: stretch;

        @media screen and (min-width: 1000px) {
            margin-bottom: 16px;
            align-items: end;
        }
    }

    .featured-collections-products>.v-stack {
        gap: 0;
    }


    .floating-controls-container,
    product-list {
        display: block;
    }

    .product-list {
        padding-inline: 0;
        margin-right: -16px;

        @media screen and (min-width: 768px) {
           padding-inline: 16px; 
        }
    }

    .featured-collections-swiper:not(.swiper-initialized) {
        opacity: 0;
    }

    .featured-collections-header__right{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        gap: 12px;

        @media screen and (min-width: 1000px) {
            flex-direction: row;
            align-items: center;
            gap: 16px;
        }
    }

    .featured-collections-header__nav{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .featured-collections-swiper-next,
    .featured-collections-swiper-prev {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-background-primary);
        border: 1px solid var(--color-border);
        border-radius: 50px;
        width: 35px;
        height: 35px;
        margin-top: 0;
        transition: all 0.3s ease-in-out;

        &:hover {
            background-color: var(--color-primary);
            border-color: var(--color-primary);

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

        cursor: pointer;
        transition: background-color 0.2s ease, opacity 0.2s ease;

        @media screen and (min-width: 1000px) {
            width: 38px;
            height: 38px;
        }
    }

    .featured-collections-swiper-next.swiper-button-disabled,
    .featured-collections-swiper-prev.swiper-button-disabled{
        pointer-events: none;
        opacity: 0.3;
    }

    .featured-collections-swiper-prev svg,
    .featured-collections-swiper-next svg {
        fill: none;
        width: 18px;
        height: 18px;
    }

    .featured-collections-swiper-prev {
        right: 44px;
    }



    @media (min-width: 1000px) {
        .product-list {
            margin-right: 0;
            padding-inline: 0;
        }

        .product-list--carousel {
            padding-inline: 0;
        }

        .featured-collections-header,
        .section-heading {
            padding: 0;
        }

        .section-spacing {
            padding: 0 40px;
        }

        .section-spacing>.v-stack {
            gap: 16px;
        }

        .section-heading {
            font-size: 32px;
            letter-spacing: -0.02em;
            margin-bottom: 24px;
        }

    }
}