.product-quickview-wrapper .cart{
    flex-wrap: wrap;
}

.product-quickview-wrapper > .product{
    display: flex;
}

.product-quickview-wrapper > .product > div {
    width: 50%;
}

.product-quickview-wrapper .summary {
    padding: 0 0 0 30px;
    max-height: 460px;
    
}

.product-quickview-wrapper .summary .descriptions{
    margin: 15px 0;
}

.product-quickview-wrapper button.mfp-close {
    font-size: 30px;
    top: 10px;
    right: 10px;
    width: 50px;
}

.product-quickview-wrapper > .product > div.pure-quickview-thumbnails ul.slick-dots {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
}

.pure-single-product-gallery-vertical-sidebar .strb-product-quickview-nav-slider {
    position: absolute;
    top: 0;
    width: 110px;
}

.pure-single-product-gallery-top-sidebar .strb-thumbnails-wrapper{
    display: flex;
    flex-direction: column-reverse;
}

.pure-single-product-gallery-top-sidebar .strb-product-quickview-nav-slider {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.pure-single-product-gallery-vertical-sidebar.left_side .strb-product-quickview-nav-slider{
    left: 0;
}

.pure-single-product-gallery-vertical-sidebar.right_side .strb-product-quickview-nav-slider{
    right: 0;
}

/* Responsive CSS For Mobile */
@media (max-width: 767px) {
    .product-quickview-wrapper > .product {
        flex-direction: column;
    }

    .product-quickview-wrapper > .product > div {
        width: 100%;
    }

    .product-quickview-wrapper .summary {
        padding: 20px 0 0 0;
        max-height: none;
    }

    .pure-single-product-gallery-vertical-sidebar .strb-product-quickview-nav-slider {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
}

/* Quantity control styles for quickview */
.product-quickview-wrapper .quantity{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.product-quickview-wrapper .quantity input.qty,
.product-quickview-wrapper .quantity input[type="number"]{
    border: 0;
    height: 24px;
    line-height: 24px;
    padding: 0 6px;
    box-sizing: border-box;
    text-align: center;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield; /* Firefox: remove number input arrows */
}

/* Hide native number input spinners for WebKit */
.product-quickview-wrapper .quantity input[type="number"]::-webkit-outer-spin-button,
.product-quickview-wrapper .quantity input[type="number"]::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}

.product-quickview-wrapper .quantity .plus,
.product-quickview-wrapper .quantity .minus{
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.product-quickview-wrapper .quantity input.qty:focus{
    outline: none;
}

/* Small touch: ensure buttons don't overflow on very small containers */
.product-quickview-wrapper .quantity{ max-height: 24px; }
