/* Kategori Produk */

.categories__product {
    height: 25%;
    margin-bottom: 9%;
    box-sizing: border-box;
}

.card-categories {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1), -3px -3px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-categories:hover {
    transform: translateY(-5px);
}

.section_titleCategories {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding-top: 50px;
}

.section_titleCategories span {
    color: var(--sky);
    font-weight: bold;
}

.category-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.slide-container {
    padding-top: 25px;
    overflow: hidden;
}

.card-categories {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
}

.card-categories .image-box {
    height: 90px;
    width: 125.25px;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.card-categories .image-box img {
    width: 100%;
    height: 100%;
}

.card-categories .profile-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center; 
    padding-left: 10px;
    padding-right: 10px;
}

.profile-details .name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--dark);
}

.swiper-navBtn {
    top: 4.3rem;
    color: #fff;
    height: 30px;
    width: 30px;
    background: var(--sky);
    border-radius: 50%;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 16px;
    font-weight: 1000;
}

.swiper-button-prev {
    left: initial;
    right: 2.5rem;
}

.swiper-button-next {
    right: 0;
}

a {
    text-decoration: none; /* Menghilangkan underline */
}

/* Responsif pada Tablet dan Ponsel */

@media only screen and (max-width: 884px) {
    .categories__product {
        height: 10%;
        margin-bottom: 9%;
        padding-right: 3%;
        padding-left: 3%;
    }

    .section_titleCategories {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        padding-top: 30px;
        text-align: center;
    }

    .slide-container {
        padding-top: 15px;
    }

    .card-categories .image-box {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .card-categories .image-box img {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .profile-details .name {
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }    

    .swiper-navBtn {
        display: none;
    }
}


@media only screen and (max-width: 834px) {
    .categories__product {
        height: 10%;
        margin-bottom: 9%;
        padding-right: 3%;
        padding-left: 3%;
    }

    .section_titleCategories {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        padding-top: 30px;
        text-align: center;
    }

    .slide-container {
        padding-top: 15px;
    }

    .card-categories .image-box {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .card-categories .image-box img {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .profile-details .name {
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }    

    .swiper-navBtn {
        display: none;
    }
}


@media only screen and (max-width: 820px) {
    .categories__product {
        height: 10%;
        margin-bottom: 9%;
        padding-right: 3%;
        padding-left: 3%;
    }

    .section_titleCategories {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        padding-top: 30px;
        text-align: center;
    }

    .slide-container {
        padding-top: 15px;
    }

    .card-categories .image-box {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .card-categories .image-box img {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .profile-details .name {
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }    

    .swiper-navBtn {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .categories__product {
        height: 12%;
        margin-bottom: 9%;
        padding-right: 3%;
        padding-left: 3%;
    }

    .section_titleCategories {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        padding-top: 30px;
        text-align: center;
    }

    .slide-container {
        padding-top: 15px;
    }

    .card-categories .image-box {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .card-categories .image-box img {
        height: 70px;
        width: 100.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .profile-details .name {
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }    

    .swiper-navBtn {
        display: none;
    }
}

@media only screen and (min-width: 0px) and (max-width: 519px) {
    .categories__product {
        height: 10%;
        margin-bottom: 15%;
        padding-right: 3%;
        padding-left: 3%;
    }

    .section_titleCategories {
        font-size: 20px;
        font-weight: bold;
        color: #333;
        padding-top: 30px;
        text-align: center;
    }

    .slide-container {
        padding-top: 15px;
    }

    .card-categories .image-box {
        height: 50px;
        width: 80.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .card-categories .image-box img {
        height: 50px;
        width: 80.25px;
        max-width: 100%;
        max-height: 100%;
    }

    .profile-details .name {
        font-size: 10px;
        font-weight: 600;
        text-align: center;
    }    

    .swiper-navBtn {
        display: none;
    }
}   


/* Selesai Kategori Produk */