.swiper {
    width: 90%;
    margin: auto;
    padding: 20px 0;
}

.swiper-slide {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    text-align: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.hover-img {
    opacity: 0;
}

.image-container:hover .hover-img {
    opacity: 1;
}

.image-container:hover .default-img {
    opacity: 0;
}

.product-title {
    /* font-size: 16px; */
    font-weight: bold;
    margin: 10px 0 5px;
}

.price {
    font-size: 14px;
    color: #555;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.sale-label {
    background: #f8bc1a;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.quick-buy {
    background: #f8bc1a;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    margin-top: 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: #000;
}

@media (max-width: 768px) {
    .swiper-slide {
        padding: 10px;
    }
    .image-container {
        height: 180px;
    }
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}

/*  start product section */
.site-blocks-cover1 {
    background-size: cover;
    background-position: center;
    min-height: 130px;
}

.product-page {
    display: flex;
    gap: 20px; /* Space between sections */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

.left-section {
    flex: 1; /* Takes equal space */
    max-width: 50%; /* Adjust width */
}

.right-section {
    flex: 1;
    max-width: 50%;
}

/* Swiper Image Height Increased */
.swiper-container {
    width: 100%;
    height: 80%; /* Increased height */
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnails img {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.thumbnails img:hover {
    border-color: #000;
}


.color-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.color-box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-box:hover {
    border-color: black;
}

.add-to-cart, .buy-now {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.add-to-cart {
    background: none;
    border: 2px solid #f8bc1a;
    color: #f8bc1a;
}

.buy-now {
    background: #f8bc1a;
    color: white;
}

.thumbnail {
    width: 50px;
    height: 50px;
    margin: 5px;
    border: 2px solid transparent; /* Default border */
    cursor: pointer;
}

.thumbnail.active {
    border: 2px solid #000; /* Active border color */
}

@media (max-width: 768px) {
    .product-page {
        flex-direction: column;
    }
    .left-section,
    .right-section {
        max-width: 100%;
    }
}


