body {
}

.main_product_image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 130px;
    height: 130px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: 0.3s;
}

.thumbnail:hover {
    border-color: #000;
}

.active-thumb {
    border-color: #000;
}

.price {
    font-weight: bold;
    color: #111;
}

.discount {
    font-size: 18px;
    color: green;
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-btn {
    border: 1px solid #000;
    background: white;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.size-btn:hover,
.size-btn.active-size {
    background: black;
    color: white;
}

.vendor-box {
    border-radius: 8px;
    border: 1px solid #ddd;
}

.main-image-container {
    width: 100%;
    height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
}

/* MOBILE VIEW */
@media (max-width: 991px) {

    .product-wrapper {
        flex-direction: column;
    }

    .thumbnail-container {
        justify-content: center;
    }

    .main-image-container {
        width: 100%;
        height: 330px;          /* Fixed height */
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
    }
    .thumbnail {
        width: 80px;
        height: 80px;
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        border-radius: 6px;
        transition: 0.3s;
    }

}

.right-side-scroll {
    overflow-y: auto;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE 10+ */
}

.right-side-scroll::-webkit-scrollbar {
    display: none;               /* Chrome, Safari */
}

@media (min-width: 992px) {

    .right-side-scroll {
        max-height: 630px;     /* Same as left image container */
        overflow-y: auto;
        padding-right: 10px;   /* Prevent scrollbar overlap */
    }

    /* Optional: Hide ugly scrollbar (modern look) */
    .right-side-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .right-side-scroll::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
}

.delivery-box {

    border-radius: 8px;
}

.delivery-input-wrapper input {
    max-width: 180px;
}

#deliveryResult {
    font-size: 14px;
}

.mrp-text {
    font-size: 15px;
}

/* Zoom Box */
.zoom-preview {
    width: 100%;
    height: 490px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-repeat: no-repeat;
    display: none !important;
}

/* Hide zoom on mobile */
@media (max-width: 991px) {
    .zoom-preview {
        display: none !important;
    }
}

/* USER REVIEW SECTION STARTS */

.review-card {
    background: #fff;
}

.review-section .review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 24px;
    cursor: pointer;
    color: #ccc;
}

.star-rating input:checked ~ label {
    color: gold;
}

.custom-container {
    max-width: 800px;   /* control your width */
    margin: 0 auto;     /* center horizontally */
}
/* USER REVIEW SECTION END */

/* SIMILAR PRODUCTS STARTS */

.similar-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    cursor: pointer;
    border: 1px solid #eee;
}

.similar-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.similar-product-img {
    position: relative;
    overflow: hidden;
    height:280px
}

.similar-product-img img {
    width: 100%;
    transition: 0.4s;
}

.similar-product-card:hover img {
    transform: scale(1.05);
}

.similar-product-info {
    padding: 5px;
}

.similar-product-product-name {
    font-weight: 600;
    font-size: 15px;
    padding: 2px;
}

.similar-product-price {
    font-weight: bold;
}

.similar-product-old-price {
    text-decoration: line-through;
    color: #888;
    font-weight: normal;
    margin-left: 6px;
}

/* Variation 1 */
.similar-product-card-style .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    color: black;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}


/* Variation 4 */
.add-cart-btn {
    margin-top: 10px;
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    transition: 0.3s;
}

.add-cart-btn:hover {
    background: #333;
}

/* SIMILAR PRODUCTS ENDS */

/* CART CANVAS STARTS */

.cart-canvas{
    width:380px;
}

.cart_canvas-cart-item{
    padding:15px 0;
    border-bottom:1px solid #eee;
}

.cart_canvas-brand{
    font-weight:600;
}

.cart_canvas-name{
    font-size:14px;
}

.cart_canvas-meta{
    font-size:13px;
    color:#666;
}

.cart_canvas-green{
    color:green;
}

.cart_canvas-price-block{
    margin-top:5px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:6px;
}

.cart_canvas-you-pay{
    font-weight:bold;
}

.cart_canvas-mrp{
    text-decoration:line-through;
    color:#888;
    margin-left:5px;
}

.cart_canvas-discount{
    color:green;
    margin-left:5px;
}

.cart_canvas-qty-select{
    cursor:pointer;
    font-weight:bold;
}

.cart_canvas-coupon-box{
    cursor:pointer;
}

.cart_canvas-summary-row{
    display:flex;
    justify-content:space-between;
    margin:6px 0;
}

.cart_canvas-bold{
    font-weight:bold;
}

.cart_canvas-cart-footer{
    position:absolute;
    height:70px;
    bottom:0;
    width:100%;
    background:white;
}

.cart_canvas-footer-inner{
    display:flex;
}

.cart_canvas-footer-btn{
    width:60%;
    border-radius:0;
}

.cart_canvas-qty-popup{
    position:absolute;
    bottom:0;
    width:100%;
    background:rgba(0,0,0,0.4);
    display:none;
}

.cart_canvas-item-wrapper{
    display:flex;
    gap:12px;
}

/* LEFT 30% */
.cart_canvas-img-section{
    width:40%;
    display:flex;
}

.cart_canvas-img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:6px;
}

/* RIGHT 70% */
.cart_canvas-content-section{
    width:60%;
    display:flex;
    flex-direction:column;
}

.cart_canvas-remove-btn{
    width:26px;
    height:26px;
    border:none;
    background:#e0e0e0;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    cursor:pointer;
    transition:all 0.2s ease;
}

/* hover effect */
.cart_canvas-remove-btn:hover{
    background:#cfcfcf;
}

.cart_canvas-remove-wrapper{
    display:flex;
    justify-content:flex-end;
    margin-bottom:5px;
}

.cart-canvas .offcanvas-body{
    overflow-y:auto;
    padding-bottom:80px !important;
}


/* FULL OVERLAY */
.cart_canvas-qty-popup{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);

    display:none;

    z-index:9999; /* IMPORTANT: above footer */
}


/* WHITE CONTAINER */
.cart_canvas-qty-container{
    position:absolute;
    bottom:0;
    width:100%;
    background:white;
    border-radius:12px 12px 0 0;
    padding:15px;
}


/* HEADER */
.cart_canvas-qty-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    font-weight:600;
}


/* GREY ROUND CLOSE BUTTON */
.cart_canvas-popup-close{
    width:28px;
    height:28px;
    border:none;
    background:#e0e0e0;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}


/* OPTIONS */
.cart_canvas-qty-box{
    background:white;
    padding:10px;
}

.cart_canvas-qty-box div{
    padding:12px;
    cursor:pointer;
}

.cart_canvas-qty-box div:hover{
    background:#f5f5f5;
}

.cart_canvas-footer-price{
    width:40%;
    padding:10px;
    font-weight:bold;

    display:flex;
    flex-direction:column;   /* stack vertically */
    align-items:flex-start;  /* align left */
}

.cart_canvas-view-details{
    font-size:12px;
    font-weight:normal;
    margin-top:2px;
    text-decoration:none;
    color:#007bff;

    transition:all 1.5s ease;
}

/* CART CANVAS ENDS */


/* COUPON CANVAS START */

.coupon_canvas-search-wrapper{
    position:relative;
}

.coupon_canvas-search-input{
    padding-right:70px;
}

.coupon_canvas-search-apply{
    position:absolute;
    right:5px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:none;
    color:#0d6efd;
    font-weight:500;
}

/* CARD */
.coupon_canvas-card{
    border:1px solid #e0e0e0;
    border-radius:8px;
    background:white;
}

.coupon_canvas-card-body{
    display:flex;
    padding:12px;
    gap:12px;
}

/* IMAGE 30% */
.coupon_canvas-img-section{
    width:30%;
}

.coupon_canvas-img{
    width:100%;
    height:50px;
    object-fit:cover;
    border-radius:6px;
}

/* CONTENT 70% */
.coupon_canvas-content-section{
    width:70%;
}

.coupon_canvas-title{
    font-weight:600;
    font-size:14px;
}

.coupon_canvas-desc{
    font-size:13px;
    color:#666;
}

.coupon_canvas-valid{
    font-size:12px;
    color:green;
}


/* FOOTER */
.coupon_canvas-card-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 12px;
    border-top:1px solid #eee;
}

.coupon_canvas-code{
    font-weight:600;
    color:#333;
}

.coupon_canvas-apply-btn{
    border:none;
    background:none;
    color:#0d6efd;
    font-weight:300;
}

.coupon_canvas-remove-btn{
    border:none;
    background:none;
    color:red;
    font-weight:300;
}

/* COUPON CANVAS END */