/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .bg-sm-white {
        --bs-bg-opacity: 0.9;
        background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
    }
    .w-md-auto {
        width: auto !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .position-tag-label {
        top: 0;
        right: 0;
        transform: translateY(-50%) !important;
    }
    .mb-custom-testata {
        margin-bottom: -42%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
.min-height-230 {
   min-height: 231px;
}
    .start-15 {
        left: -15% !important;
    }
    .top-custom {
        top: 13%;
    }

    .swiperTestataHome .swiper-button-prev {
        right: auto;
        top: auto;
        bottom: 4.5rem;
        left: calc((100% - 960px) / 2 + 0.75rem);
    }

    .swiperTestataHome .swiper-button-next {
        right: calc((100% - 960px) / 2 + 0.75rem);
        top: auto;
        bottom: 4.5rem;
        left: auto;
    }

    .swiperTestataHome .swiper-button-next:after {
        content: "\f105";
    }

    .swiperTestataHome .swiper-horizontal > .swiper-pagination-bullets,
    .swiperTestataHome .swiper-pagination-bullets.swiper-pagination-horizontal {
        left: 50%;
        transform: translateX(-50%);
    }



    .dropdown-menu {
        box-shadow: var(--bs-box-shadow);
        top: 70px !important;
    }

    .form-search.hide-input::before {
        content: "";
        display: block;
        height: 100%;
        width: 1px;
        background-color: var(--bs-border-color);
        position: absolute;
        left: -35px;
        bottom: 0;
        transition: all 0.3s ease-in-out;
    }

    .form-search:not(.hide-input)::before {
        content: "";
        display: block;
        height: 100%;
        width: 1px;
        background-color: var(--bs-border-color);
        position: absolute;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .form-search.hide-input {
        transform: translateX(calc(45px + 2rem));
        transition: all 0.3s ease-in-out;
    }

    .form-search:not(.hide-input) {
        padding-left: 35px;
        transform: translateX(0);
        transition: all 0.3s ease-in-out;
    }

    .form-search.hide-input input {
        width: 45px;
        visibility: collapse;
        opacity: 0;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .px-6 {
        padding-right: 6rem !important;
        padding-left: 6rem !important;
    }
    .top-custom {
        top: 5%;
    }

    .swiperTestataHome .swiper-button-prev {
        left: calc((100% - 1140px) / 2 + 0.75rem);
    }

    .swiperTestataHome .swiper-button-next {
        right: calc((100% - 1140px) / 2 + 0.75rem);
    }

    .mb-custom-testata {
        margin-bottom: -37%;
    }
    .me-35{
        margin-right: -35px;
    }

}

@media (min-width: 1400px) {

    .mb-custom-testata {
        margin-bottom: -34%;
    }

    .top-custom {
        top: 0;
    }

    .swiperTestataHome .swiper-button-prev {
        left: calc((100% - 1320px) / 2 + 0.75rem);
    }

    .swiperTestataHome .swiper-button-next {
        right: calc((100% - 1320px) / 2 + 0.75rem);
    }

    .swiperTestataHome .swiper-button-prev {
        top: 50%;
        bottom: auto;
        left: 1%;
    }

    .swiperTestataHome .swiper-button-next {
        right: 3%;
        top: 50%;
        bottom: auto;
    }

    .swiperTestataHome .swiper-horizontal > .swiper-pagination-bullets,
    .swiperTestataHome .swiper-pagination-bullets.swiper-pagination-horizontal {
        right: 3%;
        left: auto;
        transform: translate(0);
        flex-direction: column;
        row-gap: 1rem;
    }

    .swiperTestataHome .swiper-pagination-bullet-active {
        padding-right: 0;
        padding-bottom: 35px;
    }

    .swiperTestataHome .swiper-pagination > .swiper-pagination-bullet:last-child.swiper-pagination-bullet-active {
        padding-left: 0;
        padding-top: 35px;
    }

    .swiperTestataHome .swiper-pagination-bullet::after {
        height: 30px;
        width: 1px;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        transform-origin: top;
    }

    .swiperTestataHome .swiper-pagination > .swiper-pagination-bullet:last-child::after {
        top: -5px;
        left: 50%;
        transform-origin: bottom;
    }

    .swiperTestataHome .swiper-pagination-bullet.swiper-pagination-bullet-active::after {
        transform: translateX(-50%) scaleY(1);
    }

}

@media (min-width: 1700px) {


}

@media (min-width: 1920px) {
    .site-wrap {
        width: 1920px;
        max-width: 100%;
        margin: 0 auto;
    }

}

@media (max-width: 1399.98px) {

}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .mh-450 {
        min-height: 550px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .menu-user.dropdown-menu-end[data-bs-popper] {
        top: 19px !important;
    }
    .menu-user {
        position: relative;

    }
    .min-height-230 {
        min-height: 180px;
    }

    .start-15 {
        left: -22% !important;
    }
    .swiper-container {
        flex-direction: column;
        height: auto;
    }

    .swiperFotoProdotto {
        width: 100%;
        height: auto;
        order: 1;
    }

    .swiperThumb {
        width: 100%;
        height: auto;
        order: 2;
    }

    .swiperThumb .swiper-slide {
        aspect-ratio: 1 / 1;
        height: auto;
    }
    .top-custom {
        top: 13%;
    }

    .swiperTestataHome .swiper-horizontal > .swiper-pagination-bullets,
    .swiperTestataHome .swiper-pagination-bullets.swiper-pagination-horizontal {
        left: 2%;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .mh-450 {
        min-height: auto;
    }
    .position-tag-label {
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }
    .top-custom {
        top: 12%;
    }
    .mh-750-mobile {
        min-height: 750px !important;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .mh-450 {
        min-height: 650px;
    }
    .top-custom {
        top: 6%;
    }
}

@media (max-width: 449.98px) {
    .mh-450 {
        min-height: 550px;
    }
}
