body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}
.product-gallery {
    display: flex;
    gap: 10px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    box-sizing: border-box;
    padding-right: 31px;
    overflow-x: hidden;
}
.thumbnails::-webkit-scrollbar {
    display: none;
}
.thumbnails img {
    width: 60px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border 0.3s;
}
.thumbnails img:hover,
.thumbnails img.active {
    border: 2px solid #f5c518;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

/* Optional: Hover effect */
.main-image img:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.product-details .btn-model,
.product-details .btn-color {
    margin-right: 5px;
    margin-bottom: 5px;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}
.quantity-selector button {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    background: #fff;
}
.quantity-selector input {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    height: 30px;
}
.add-to-cart-btn {
    background-color: #7f55b1;
    border-color: #7f55b1;
    color: #fff;
    font-weight: 600;
}
.add-to-cart-btn:hover {
    background-color: #9b7ebd;
    border-color: #9b7ebd;
    color: #fff;
}
.buy-now-btn {
    background-color: #f49bab;
    border-color: #f49bab;
    color: #fff;
    margin-left: 10px;
}
.buy-now-btn:hover {
    background-color: #f7b1bb;
    border-color: #f7b1bb;
    color: #fff;
}
.video-call-btn {
    background-color: #000;
    color: #fff;
    width: 100%;
    margin-top: 10px;
}
.warning-box {
    background-color: #ffe5e5;
    padding: 10px;
    margin-top: 15px;
    border: 1px solid #f5c2c2;
    font-size: 14px;
    color: #b30000;
}
.offers-box {
    background-color: #fff3cd;
    padding: 10px;
    border: 1px solid #ffeeba;
    margin-top: 10px;
    font-size: 14px;
}
.delivery-options i {
    margin-right: 5px;
}
.btn-model {
    background: linear-gradient(180deg, #f0f0f0, #ffffff);
    border: 1px solid silver;
    box-shadow: 0 4px 8px #00000026, inset 0 0 0 1px silver;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-model:hover {
    color: #000;
    background: linear-gradient(180deg, #e0e0e0, #f5f5f5);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px #00000040, inset 0 0 0 1px #bbb;
}
.btn-color {
    background: linear-gradient(180deg, #f0f0f0, #ffffff);
    border: 1px solid silver;
    box-shadow: 0 4px 8px #00000026, inset 0 0 0 1px silver;
    border-radius: 8px;
    font-weight: 500;
    margin-right: 8px;
    transition: 0.3s ease;
}

.btn-color:hover {
    color: #000;
    background: linear-gradient(180deg, #e0e0e0, #f5f5f5);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px #00000040, inset 0 0 0 1px #bbb;
}

@media (max-width: 992px) {
    .product-gallery {
        flex-direction: column;
    }
    .thumbnails {
        flex-direction: row;
        overflow-x: auto;
    }
    .thumbnails img {
        width: 50px;
    }
}
/* Right Side Modal */
.side-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
    z-index: 9999;
}

.side-modal.open {
    right: 0;
}

.side-modal .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* COD Banner */
.cod-banner {
    background: #f49bab;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.bg-warning {
    background-color: #ffe1e0 !important;
}

.reward-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cart-items .cart-item {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.cart-items .cart-item img {
    width: 100px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-items .qty {
    display: flex;
    align-items: center;
}

.cart-items .qty button {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 18px;
}

.suggested {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.suggested-item {
    min-width: 120px;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    position: relative;
}

.suggested-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.suggested-item .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: black;
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 5px;
}

.cart-footer {
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.cart-footer small {
    display: block;
    margin-bottom: 10px;
}

/* Responsive Breakpoints */
@media (max-width: 576px) {
    .side-modal {
        width: 100%;
        padding: 15px;
    }

    .cart-items .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .reward-bar {
        flex-direction: column;
        gap: 10px;
    }

    .suggested-item {
        min-width: 150px;
    }
}
.btn-darkes {
    background: #7f55b1;
    color: #fff;
}
.btn-darkes:hover {
    background: #9b7ebd;
    color: #fff;
}
