@media (max-width: 991px) {
    .gallery-container {
        flex-direction: column;
        align-items: center;
    }

    .gallery-thumbs {
        order: 3;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        border: none;
    }

    .gallery-thumbs .swiper-wrapper {
        justify-content: space-around;
    }

    .gallery-thumbs .swiper-slide {
        width: 70px !important;
        height: auto !important;
        margin-right: 10px;
    }

    .gallery-thumbs img {
        width: 100%;
        height: auto;
    }



    .swiper-navigation-container {
        order: 2;
        position: relative;
        display: flex;
        justify-content: space-between;
        bottom: 0;
        margin: 0 auto;
        justify-content: center;
        gap: 2rem;
    }

    .custom-prev,
    .custom-next {
        width: 36px;
        height: 36px;
    }

    .gallery-top {
        order: 1;
        width: 100%;
        height: auto;
    }

    .gallery-top .swiper-slide {
        width: 100%;
        height: auto;
    }

    .gallery-top .swiper-slide img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .background-home-purple .text {
        width: auto;
    }

    footer {
        padding-bottom: 30px;
    }

    .banner-green-section,
    .banner-green-section .backgroundgreen1,
    .banner-green-section .backgroundgreen2 {
        height: auto;
    }

    .banner-green-section h2,
    .banner-green-section h3 {
        font-size: 40px;
    }

    .btn-back {
        margin-top: 20px;
    }

    .product-information-detail {
        margin-top: 20px;
    }

    .container-certifications .card {
        padding: 0;
        flex-direction: column;
    }

    .container-certifications {
        padding-bottom: 20px;
    }

    .container-factory .img-factory {
        height: auto;
    }

    .aboutus-container .card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .container-gummies-card {
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        overflow: hidden;
    }

    .container-gummies-card img {
        max-width: 100%;
        height: auto;
    }
        

    .background-points-of-sale {
        height: 300px;
    }

    .background-points-of-sale .product {
        width: 130px;
        height: 280px;
        top: 0;
        right: 4%;
    }

    .marker-item-container::before {
        top: -2%;
    }

    .background-points-of-sale .text h4 {
        font-size: 40px;
    }
        .contact-form input,
        .contact-form textarea {
            max-width: 100%;
        }
}

@media screen and (max-width: 500px) {
    .aboutus-container p {
        font-size: 16px;
    }

    .background-home {
        height: 350px;
    }

    .product-section-home .product-item {
        width: auto;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .product-section-home .product-item img {
        top: 20px;
    }

    .product-section-home .product-item p {
        bottom: 120px;
    }

    .product-section-home .product-item a.btn-seemore {
        bottom: 50px;
    }

    .product-section-home .bg-purple {
        width: auto;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .background-home-purple .text h2,
    .background-home-purple .text h3 {
        font-size: 25px;
    }

    .background-home-purple .product,
    .background-points-of-sale .product,
    .background-faqs .product,
    .background-contact .product {
        width: 100px;
        height: 140px;
        top: 33%;
        right: 0;
    }

    .background-home-purple .text {
        left: 4%;
        top: 27%;
    }

    .background-home-purple .glasses {
        top: 20%;
        right: 0;
        width: 100px;
        height: 50px;
    }

    .background-home-purple .bear {
        width: 60px;
        height: 80px;
        bottom: 0;
    }

    .background-home-purple .heart {
        width: 60px;
        height: 80px;
    }

    .product-information-detail h3 {
        font-size: 22px;
    }

    .product-information-detail {
        padding: 20px;
    }

    .principal-components {
        padding: 5px;
    }

    .image-with-text .overlay-text {
        font-size: 11px;
    }

    .container-gummies-card img {
        display: block;
        margin: 0 auto 10px auto;
    }

    .aboutus-container .image {
        width: auto;
        height: 200px;
    }

    .aboutus-container h2 {
        font-size: 44px;
    }

    .marker-item-container h3 {
        font-size: 30px;
    }

    .marker-item-container {
        padding: 15px;
    }

    .background-home-purple,
    .background-points-of-sale,
    .background-faqs,
    .background-contact {
        background-size: cover;
        height: 250px;
        border-radius: 30px;

    }

    .background-points-of-sale .text,
    .background-faqs .text {
        width: 200px;
        left: 5px;
        top: 30%;
    }

    .background-points-of-sale .text h4,
    .background-faqs .text h4,
    .background-contact .text h4 {
        font-size: 25px;
    }

    .background-points-of-sale .orange-slice {
        top: 0;
        width: 100px;
        height: 40px;
    }

    .background-points-of-sale .comb {
        width: 100px;
        height: 80px;
    }

    .marker-item-container::before {
        width: 60px;
        height: 80px;
    }

    .background-faqs .heart2 {
        width: 120px;
        height: 130px;
    }

    .background-faqs .heart {
        width: 90px;
        height: 80px;
    }

    .address-info-container {
        padding: 15px;
        margin-top: 20px;
    }
    .background-contact .cloud2{
        width: 100px;
            height: 80px;
            right: 0;
    }
}