/* ================== GRAND ÉCRAN ================== */
@media (min-width: 1100px) {
    .product-page-details .gallery-image {
        min-height: 420px;
    }

    .product-page-details .product-top-details {
        max-width: 1400px;
    }
}

@media (min-width: 900px) {
    .product-page-details .product-top-details {
        grid-template-columns: 58% 40%;
        gap                  : 22px;
        align-items          : start;
    }

    .product-page-details .gallery-main {
        grid-template-columns: 1fr;
    }

    .product-page-details .product-gallery {
        padding: 18px;
    }

    .product-page-details .product-summary {
        padding: 20px;
    }
}

@media (min-width: 640px) {
    .product-page-details .gallery-image {
        min-height: 300px;
    }

    .product-page-details .thumb-btn {
        width : 80px;
        height: 60px;
    }

    .product-page-details #product-title {
        font-size: 1.25rem;
    }
}



/* ================== RESPONSIVE ================== */

@media (max-width: 1200px) {
    .testimonials {
        padding: 18px 15px;
    }

    .product-grid {
        width         : 100%;
        flex-direction: column;
        gap           : 18px;
        padding       : 10px;
    }

    .gallery-main {
        width     : 100% !important;
        max-width : 100% !important;
        background: none;
    }

    .product-summary {
        width    : 100%;
        min-width: 100%;
    }

    .gallery-image {
        width     : 100% !important;
        max-height: 100% !important;
    }
}

@media (max-width: 1000px) {
    .prod-container .ctrl-btn {
        display: flex;
    }
}

@media (max-width: 992px) {
    .orders-page-wrapper .orders-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-page-wrapper .orders-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .product-page-details .product-gallery {
        order: 1;
    }

    .product-page-details .product-summary {
        order: 2;
        width: 100%;
    }

    .product-page-details .gallery-image {
        min-height: 260px;
        max-height: 420px;
    }

    .product-page-details .gallery-thumbs img {
        width : 72px;
        height: 48px;
    }

    .product-page-details .ctas {
        flex-direction: column;
    }

    .product-page-details .btn.add-to-cart,
    .product-page-details .btn.buy-now {
        width: 100%;
    }

    .product-page-details .tabs-nav {
        gap: 6px;
    }
}

@media (max-width: 900px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 850px) {
    .all-shop-page-style .navbar .main-wrapper .search .search-c-wrap {
        position  : absolute;
        top       : 50px;
        left      : -110%;
        width     : 100%;
        background: var(--myWhite);
        padding   : 15px;
        z-index   : var(--z-overlay);
        transition: var(--transition);
    }

    .all-shop-page-style .navbar .main-wrapper .search .search-c-wrap.is-active {
        left: 50%;
        transform: translateX(-50%);
    }

    .all-shop-page-style .navbar .open-search-form {
        display: block;
    }

    .all-shop-page-style .search-result-content {
        top: 55px;
    }

    .bs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials .testi-ctrl {
        position  : absolute;
        top       : 42%;
        opacity   : 0.2;
        transition: var(--transition);
    }

    .testimonials .testi-ctrl.prev {
        left: 5px;
    }

    .testimonials .testi-ctrl.next {
        right: 5px;
    }

    .testimonials .testi-ctrl:hover {
        opacity: 1;
    }

    .testimonial-item {
        min-width: 260px;
    }

    .testimonials .testi-dots {
        bottom: -26px;
    }
}

@media (max-width: 650px) {
    /* espace réservé si tu veux ajouter */
}

@media (max-width: 600px) {
    .orders-page-wrapper .orders-page-wrapper {
        padding: 1.5rem 0.75rem 2.25rem;
    }

    .orders-page-wrapper .orders-summary-grid {
        grid-template-columns: 1fr;
    }

    .orders-page-wrapper .order-line,
    .orders-page-wrapper .orders-block-header {
        flex-direction: column;
        align-items   : flex-start;
        text-align    : left;
    }

    .all-modal-style .ams-content {
        max-width    : 100%;
        margin       : 0;
        border-radius: 0;
    }

    .privileges-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .all-shop-page-style .navbar .main-wrapper .navbar-options .item span {
        display: none;
    }

    .all-shop-page-style .navbar .main-wrapper .navbar-options .item small {
        top : -5px;
        left: -5px;
    }

    .all-shop-page-style .ans-content .ans-header .left {
        flex-direction: column;
        align-items   : start;
        gap           : 0;
    }

    .testimonial-item {
        max-width: 250px;
    }
}

@media (max-width: 520px) {
    .bs-grid {
        grid-template-columns: 1fr;
    }

    .bs-thumb {
        height: 220px;
    }

    #page-preloader .preloader-inner {
        padding: 14px;
    }

    .spinner {
        width : 72px;
        height: 72px;
    }

    .spinner .dot {
        width : 28px;
        height: 28px;
    }

    .loader-text {
        font-size: 18px;
    }

    #back-to-top {
        right : 12px;
        bottom: 12px;
        width : 44px;
        height: 44px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form .nf-row {
        flex-direction: column;
        align-items   : stretch;
    }

    .newsletter-form .nf-cta {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items   : flex-start;
        gap           : 6px;
    }

    .product-page-details .gallery-image {
        min-height: 200px;
    }

    .product-page-details .gallery-thumbs img {
        width : 64px;
        height: 44px;
    }

    .product-page-details .qty-control input[type="number"] {
        width    : 72px;
        font-size: 1rem;
    }
}

@media (max-width: 420px) {

    .all-shop-page-style .snm-cart-wrap,
    .all-shop-page-style .snm-fav-wrap {
        padding  : 10px;
        max-width: 95%;
    }

    .all-shop-page-style .ci-thumb,
    .all-shop-page-style .fav-thumb {
        width : 64px;
        height: 64px;
    }

    .all-shop-page-style .qty-btn {
        padding: 4px 6px;
    }

    .all-shop-page-style .snm-auth-wrap {
        padding  : 6px;
        max-width: 92%;
    }

    .testimonial-item .avatar {
        width    : 44px;
        height   : 44px;
        min-width: 44px;
        font-size: 0.92rem;
    }

    .orders-page-wrapper .order-card-header {
        flex-direction: column;
    }

    .orders-page-wrapper .order-line-value {
        width: 100%;
    }




    .prod-item-wrapper.not-home {
        display              : grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }


    .prod-item-wrapper.not-home .prodItem {
        width    : unset;
        min-width: unset;
    }


    .prod-item-wrapper.not-home .prodItem {
        background   : var(--noir);
        border-radius: 10px;
        border       : none;
    }


}