
    /* Main image */
    .main-image-container {
        position: relative;
        overflow: hidden;
        width:50%
    }

    .main-image-container img {
        width:50%
    }

    .main-image-container img.main-image:hover {
        transform: scale(1.1); /* zoom effect */
        cursor: zoom-in;
    }

    /* Vertical thumbnails */
    .thumbnail {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .thumbnail:hover {
        transform: scale(1.05);
        border: 2px solid #1a4a4a;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .thumbnail-images {
            flex-direction: row;
            overflow-x: auto;
            margin-bottom: 10px;
        }
        .hidden.md\:flex {
            display: none !important;
        }
    }

    .related-products {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-behavior: smooth;
    }

    .related-products::-webkit-scrollbar {
        height: 6px;
    }

    .related-products::-webkit-scrollbar-thumb {
        background: #1a4a4a;
        border-radius: 3px;
    }

    .product-card:hover {
        transform: translateY(-3px);
        transition: all 0.2s ease-in-out;
    }

    .product-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        max-width: 1200px;
        margin: auto;
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* LEFT SIDE IMAGES */
    .product-images {
        flex: 1;
        min-width: 300px;
        position: relative;
    }

    .main-image {
        width: 70%;
        /* height: 395px; */
        border: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 10px;
        position: relative;
        cursor: crosshair;
    }

    .main-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* Magnifier Lens */
    .magnifier-lens {
        position: absolute;
        width: 120px;
        height: 120px;
        border: 2px solid #1a4a4a;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: none;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s ease;
        z-index: 10;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    /* Magnifier Result */
    .magnifier-result {
        position: absolute;
        top: 0;
        left: calc(100% + 20px);
        width: 400px;
        height: 400px;
        border: 2px solid #1a4a4a;
        border-radius: 12px;
        background-repeat: no-repeat;
        background-color: #fff;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 100;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        pointer-events: none;
    }

    /* Responsive: hide magnifier result on smaller screens */
    @media (max-width: 1024px) {
        .magnifier-result {
            display: none;
        }
        .magnifier-lens {
            width: 80px;
            height: 80px;
        }
    }

    .thumbnails {
        display: flex;
        gap: 10px;
    }

    .thumbnails img {
        width: 70px;
        height: 70px;
        border: 1px solid #ddd;
        border-radius: 6px;
        object-fit: cover;
        cursor: pointer;
        transition: 0.3s;
    }

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

    /* RIGHT SIDE DETAILS */
    .product-details {
        flex: 1;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .product-details .product-title {
        font-size: 26px;
        font-weight: bold;
    }

    .price {
        font-size: 24px;
        color: #1a4a4a;
        font-weight: bold;
    }

    .old-price {
        text-decoration: line-through;
        color: gray;
        margin-left: 10px;
    }

    .quantity {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .quantity input {
        width: 50px;
        text-align: center;
        padding: 5px;
    }

    button {
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.3s;
    }

    .add-to-cart {
        background: #1a4a4a;
        color: white;
    }

    .add-to-cart:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

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

    .product-details .price-section .discount {
        color: red;
        margin-left: 1rem
    }
     .product-details .add-to-cart,  .product-details .buy-now {
        width: 40%;
    }