        @media (max-width: 768px) {
            #product-list, #user_wishlist {
                display: flex !important;
                flex-direction: column !important;
                gap: 0 !important;
                padding: 0 8px !important;
            }

            .mlc-card {
                width: 100% !important;
                max-width: 100% !important;
                padding: 0 !important;
                margin: 0 !important;
            }

            .mlc-inner {
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                background: #fff;
                border-radius: 12px;
                border: 1px solid #efefef;
                box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
                margin: 5px 0;
                padding: 12px;
                gap: 12px;
                position: relative;
            }

            /* ── Image slider ── */
            .mlc-slider-wrap {
                flex-shrink: 0;
                width: 110px;
                align-self: flex-start;
                position: relative;
            }

            .mlc-slider {
                display: flex;
                overflow-x: scroll;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                border-radius: 8px;
                width: 110px;
            }

            .mlc-slider::-webkit-scrollbar {
                display: none;
            }

            .mlc-slide {
                flex: 0 0 110px;
                scroll-snap-align: start;
                display: block;
            }

            /* .mlc-slide-img { width:110px; height:140px; object-fit:contain; border-radius:8px; display:block; background:#f9f9f9; } */
            .mlc-slide-img {
                width: 110px;
                height: 140px;
                border-radius: 8px;
                display: block;
                background: #f9f9f9;
            }

            .mlc-dots {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 3px;
                margin-top: 5px;
                width: 110px;
                overflow: hidden;
            }

            .mlc-dot {
                width: 5px;
                height: 5px;
                border-radius: 50%;
                background: #ddd;
                transition: all .2s;
                cursor: pointer;
                flex-shrink: 0;
            }

            .mlc-dot.mlc-dot-active {
                background: #3E2C78;
                transform: scale(1.3);
            }

            .mlc-dot.mlc-dot-near {
                width: 4px;
                height: 4px;
                opacity: .6;
            }

            .mlc-dot.mlc-dot-far {
                width: 3px;
                height: 3px;
                opacity: .3;
            }

            .mlc-badge {
                display: none;
            }

            .mlc-off-pill {
                display: inline-flex;
                align-items: center;
                background: #e31b23;
                color: #fff;
                font-size: 10px;
                font-weight: 700;
                padding: 2px 7px;
                border-radius: 20px;
                line-height: 1.5;
                white-space: nowrap;
                letter-spacing: .2px;
                margin-left: auto;
            }

            .mlc-body {
                flex: 1;
                min-width: 0;
                display: flex;
                flex-direction: column;
                gap: 2px;
            }

            .mlc-title {
                font-size: 13.5px !important;
                font-weight: 700 !important;
                color: #1c1c1c !important;
                line-height: 1.35 !important;
                margin: 0 0 3px !important;
                padding: 0 !important;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                font-family: 'Poppins', sans-serif !important;
            }

            .mlc-overview {
                font-size: 11px !important;
                color: #888 !important;
                margin: 0 0 4px !important;
                padding: 0 !important;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                line-height: 1.4;
            }

            .mlc-rating {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 2px;
                margin-bottom: 5px;
            }

            .mlc-rating .ecicon {
                font-size: 12px;
                color: #ddd;
            }

            .mlc-rating .ecicon.fill {
                color: #f5a623;
            }

            .mlc-prices {
                display: flex;
                align-items: baseline;
                gap: 8px;
                margin-bottom: 8px;
            }

            .mlc-sell {
                font-size: 17px !important;
                font-weight: 700 !important;
                color: #111 !important;
                font-family: 'Poppins', sans-serif !important;
            }

            .mlc-mrp {
                font-size: 12px !important;
                color: #aaa !important;
                text-decoration: line-through !important;
            }

            .mlc-cart-row {
                display: flex;
                align-items: center;
                gap: 8px;
            }

            .mlc-stepper {
                display: none;
                align-items: center;
                border: 1px solid #eeeeee;
                border-radius: 8px;
                overflow: hidden;
                height: 38px;
                flex-shrink: 0;
            }

            .mlc-step-btn {
                width: 36px;
                height: 38px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 20px;
                color: #333;
                background: #f7f7f7;
                cursor: pointer;
                user-select: none;
                line-height: 1;
                flex-shrink: 0;
                border: none;
                border-right: 1px solid #eee;
            }

            .mlc-step-btn:last-child {
                border-right: none;
                border-left: 1px solid #eee;
            }

            .mlc-step-btn:active {
                background: #e5e5e5;
            }

            .mlc-step-input {
                width: 36px !important;
                height: 38px !important;
                text-align: center !important;
                border: none !important;
                border-radius: 0 !important;
                font-size: 14px !important;
                font-weight: 600 !important;
                color: #111 !important;
                background: #fff !important;
                padding: 0 !important;
                outline: none !important;
                box-shadow: none !important;
            }

            .mlc-add-btn {
                flex: 1;
                height: 38px;
                background: #3E2C78;
                color: #fff;
                border: none;
                border-radius: 8px;
                font-size: 12px;
                font-weight: 700;
                letter-spacing: .5px;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                font-family: 'Poppins', sans-serif;
                transition: background .18s;
                text-transform: uppercase;
                white-space: nowrap;
            }

            .mlc-add-btn:active {
                background: #2d1f5a;
            }
        }


/* Product card controls must fit without shrinking the quantity buttons. */
.ec-product-inner .single-pro-content .ec-single-qty {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; width: 100%; min-width: 0;
}
.ec-product-inner .single-pro-content .ec-single-qty .qty-plus-minus {
    flex: 0 0 108px; width: 108px !important; min-width: 108px;
    height: 40px; padding: 0; box-sizing: border-box;
}
.ec-product-inner .single-pro-content .ec-single-qty .qty-plus-minus .ec_qtybtn,
.ec-product-inner .single-pro-content .ec-single-qty .qty-plus-minus input.qty-input {
    flex: 0 0 35px; width: 35px !important; min-width: 0; box-sizing: border-box;
}
.ec-product-inner .single-pro-content .ec-single-qty .ec-single-cart {
    flex: 1; min-width: 0;
}
.ec-product-inner .single-pro-content .ec-single-qty .ec-single-cart .btn {
    min-width: 0 !important; max-width: 100%; width: 100%; margin: 0 !important;
    height: 40px; padding: 0 8px; line-height: 1.2; white-space: normal;
}
@media (max-width: 768px) {
    .mlc-slide-img { object-fit: contain; }
    .mlc-cart-row { flex-wrap: wrap; }
    .mlc-add-btn { min-width: 100px; padding: 0 10px; }
    #wishlist_section { padding: 16px 0 85px; }
    #wishlist_section .section-title { margin-bottom: 12px; }
    #wishlist_section .mlc-inner { margin: 0 0 12px; }
    #wishlist_section .mlc-slider-wrap .product-card-wishlist {
        width: 34px; height: 34px; right: 4px; bottom: 10px;
    }
    #wishlist_section .mlc-slider-wrap { width: 100px; }
    #wishlist_section .mlc-slider, #wishlist_section .mlc-dots { width: 100px; }
    #wishlist_section .mlc-slide { flex-basis: 100px; }
    #wishlist_section .mlc-slide-img { width: 100px; height: 140px; }
    .wishlist-breadcrumb { margin-bottom: 0; padding: 16px 0; }
    .wishlist-breadcrumb .ec-breadcrumb-title { font-size: 20px; margin: 0; }
    .wishlist-breadcrumb .ec-breadcrumb-list { display: none; }
    #wishlist_section .section-title { display: none; }
}
