.home-product-categories {
    position: relative;
    border: 1px solid var(--color-border);
    display: flex;
}

.home-categories-slider {
    position: relative;
    width: calc(100% - 80px);
}

.home-categories-slider .swiper-wrapper {
    width: calc(100% - 80px);
    margin: 0;
}

.category-slide {
    width: auto;
    text-align: center;
    padding: 10px 0;
    transition: all 0.2s ease;
}

.home-categories-slider .swiper-slide .category-icon,
.home-categories-slider-bottom .swiper-slide .category-icon {
    transition: all 0.2s ease;
}

.home-categories-slider-bottom {
    width: 100%;
}

.home-categories-slider-bottom .swiper-wrapper2 {
    display: flex;
    flex-wrap: wrap;
}

h1 {
    display: none;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 3px 40px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    color: #1C1C1C;
    font-size: 14px;
    border-right: 1px solid #E1E1E1;
    cursor: pointer;
}

.category-link .category-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.category-link img.category-icon {
    object-fit: contain;
}

.category-link span {
    font-size: 14px;
    font-weight: 500;
    line-break: anywhere;
}

.home-categories-slider .swiper-slide,
.home-categories-slider-bottom .swiper-slide {
    padding: 20px 0;
}

.home-categories-slider .swiper-slide:hover,
.home-categories-slider .swiper-slide.active,
.home-categories-slider-bottom .swiper-slide:hover,
.home-categories-slider-bottom .swiper-slide.active {
    background-color: var(--color-primary);
}

.home-categories-slider .swiper-slide:hover .category-icon,
.home-categories-slider .swiper-slide.active .category-icon,
.home-categories-slider-bottom .swiper-slide:hover .category-icon,
.home-categories-slider-bottom .swiper-slide.active .category-icon {
    filter: brightness(0) invert(1);
}

.home-categories-slider-bottom .swiper-slide {
    width: calc(100% / 6);
}

.home-categories-slider-bottom .swiper-slide:last-child a {
    border-right: none;
}

.home-categories-slider-bottom .swiper-wrapper {
    /*width:100%;*/
}

.home-categories-slider .swiper-slide:hover .category-link,
.home-categories-slider .swiper-slide.active .category-link,
.home-categories-slider-bottom .swiper-slide:hover .category-link,
.home-categories-slider-bottom .swiper-slide.active .category-link {
    color: #FFF;
    border-color: transparent;
}

.swiper-button-next,
.swiper-button-prev {
    position: static;
    margin: 0;
    height: 100%;
    top: 0;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 105px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 10px;
}





.popular-products {
    margin-top: 100px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 20px 0;
    margin-bottom: 50px;
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #ccc;
}

.section-title h2 {
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

.section-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.section-tabs .tab {
    border: 1px solid var(--color-border);
    padding: 12px 70px;
    background: #fff;
    font-size: 14px;
    color: #A8A8A8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 0;

}

.section-tabs .tab.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.products-tab .home-product-categories {
    margin-bottom: 20px;
}








.product-swiper .swiper-scrollbar {
    margin-top: 40px;
    background: #eee;
    position: static !important;
    height: 2px;
}

.view-all-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.view-all-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 60px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 14px;
}

.view-all-button .arrow {
    margin-left: 5px;
    font-size: 12px;
}

.view-all-button img {
    transition: all 0.2s ease;
}

.view-all-button:hover {
    background-color: var(--color-primary);
    color: white;
}

.view-all-button:hover img {
    filter: brightness(0) invert(1);
}




.offers-products {
    margin-top: 100px;
    margin-bottom: 100px;
}

.offers-products .section-title::before {
    display: none;
}

.full-banner {
    width: 100vw;
    /* Full viewport width */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    justify-content: space-between;
    max-width: calc(100vw - 8px);
}

.full-banner img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.full-banner .banner-left {
    width: 70%;
}

.full-banner .banner-right {
    width: 30%;
}

.full-banner .top-banner-swiper {
    display: none;
}


.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.offers-products .section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;

}

.offers-products>.section-title {
    margin-bottom: 50px;
}

.section-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-border);
    /* match the pinkish line from screenshot */
}

.section-partner {
    font-size: 14px;
    color: #A5A5A5;
    white-space: nowrap;
}

.product-swiper1 .swiper-slide,
.product-swiper2 .swiper-slide,
.product-swiper3 .swiper-slide {
    width: calc(100% / 6 - 30px);
    margin-right: 30px;
}

.section-partner span {
    font-weight: 600;
    color: var(--color-text);
}

.bottom-product-categories {
    margin-bottom: 50px;
}

.bottom-product-categories .section-title {
    margin-bottom: 50px;
}

.product-swiper2,
.product-swiper1,
.product-swiper3 {
    padding-bottom: 15px;
}


.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    bottom: 0;
}



@media(max-width:1200px) {

    .product-swiper1 .swiper-slide,
    .product-swiper2 .swiper-slide,
    .product-swiper3 .swiper-slide {
        width: calc(100% / 5 - 30px);
    }
}

@media(max-width:991px) {

    .product-swiper1 .swiper-slide,
    .product-swiper2 .swiper-slide,
    .product-swiper3 .swiper-slide {
        width: calc(100% / 4 - 30px);
    }

    .home-categories-slider-bottom .swiper-slide {
        width: calc(100% / 3);
    }
}

@media(max-width:768px) {

    .product-swiper1 .swiper-slide,
    .product-swiper2 .swiper-slide,
    .product-swiper3 .swiper-slide {
        width: calc(100% / 3 - 15px);
        margin-right: 15px;
    }

    .category-link {
        padding: 3px 30px;
    }

    .full-banner .top-banner-swiper {
        display: block;
    }

    .full-banner .banner-left,
    .full-banner .banner-right {
        display: none;
    }

    .full-banner {
        left: unset;
        right: unset;
        margin-left: unset;
        margin-right: unset;
        max-width: 100vw;
        width: 100%;
    }

    .offers-products {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .popular-products {
        margin-top: 50px;
    }

}

@media(max-width:550px) {
    .home-categories-slider-bottom .swiper-slide {
        width: calc(100% / 2);
    }

    .home-categories-slider-bottom .category-link {
        padding: 3px 0px;
    }

    .section-tabs {
        gap: 15px;
    }

    .section-tabs .tab {
        padding: 12px;
        width: calc(50% - 10px);
        text-align: center;
        justify-content: center;
    }
}

@media(max-width:425px) {
    .offers-products .section-title {
        white-space: wrap;

    }

    .product-swiper1 .swiper-slide,
    .product-swiper2 .swiper-slide,
    .product-swiper3 .swiper-slide {
        width: calc(100% / 2 - 15px);
        margin-right: 15px;
    }
}