    body {
        font-family: Arial, sans-serif;
        background-color: #f1f3f6;
    }

    /* Main Content */

    .product-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .product-gallery {
        flex: 1;
        min-width: 300px;
        display: flex;
        flex-direction: row-reverse;
    }

    .gallery-thumbs-wrapper {
        height: 470px;
        width: 100px;
        overflow: hidden;
        position: relative;
    }

    .image-list {
        transition: transform 0.3s ease;
    }

    .gallery-thumbs {
        display: flex;
        flex-direction: column;
        margin-right: 10px;
    }

    .gallery-thumbs img {
        width: 80px;
        height: 100px;
        margin: 5px;
        cursor: pointer;
        padding: 2px;
        border: 1px solid #ccc;
    }

    .thumb-arrow {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background-color: #eee;
        border: none;
        cursor: pointer;
        font-size: 20px;
    }

    .thumb-arrow:hover {
        background-color: rgb(94, 91, 91);
    }

    .main-image {
        flex: 1;
        display: flex;

        justify-content: center;
    }

    .main-image img {
        width: 100%;
        max-width: 400px;
        max-height: 500px;
    }

    .product-details {
        flex: 1;
        min-width: 300px;
    }

    .price {
        color: green;
        font-size: 24px;
    }

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

    .rating {
        color: #ffc107;
    }

    .description {
        font-family: Arial;
    }

    .variation-select {
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        margin-top: 5px;
    }

    .review-box {
        width: 100%;
        /* Optional: limits width for large screens */
        margin: 20px auto;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        background-color: #fff;
        box-sizing: border-box;
    }

    .review-box textarea {
        width: 100%;
        min-height: 100px;
        padding: 12px;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid #ccc;
        resize: vertical;
        box-sizing: border-box;
    }

    .review-box button {
        width: 100%;
        max-width: 300px;
        padding: 12px;
        margin-top: 12px;
        background-color: #5cad92;
        color: white;
        font-size: 1rem;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .review-box button:hover {
        background-color: #449177;
    }



    /* all reviews list with rating */
    .reviews-container {
        margin: 20px auto;
        padding: 10px;
        margin-left: 20px;
        margin-right: 20px;
        font-family: Arial, sans-serif;

    }

    .review {
        border-bottom: 1px solid #ccc;
        padding: 10px 0;
        margin-left: 20px;
        margin-right: 20px;
    }

    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: left;
    }

    .reviewer-name {
        font-weight: bold;
        color: #333;
    }

    .review-rating i {
        color: #f5c518;
        /* gold/yellow */
    }

    .review-text {
        margin-top: 5px;
        color: #555;
    }

    .vendor-store {
        display: inline-block;
        padding: 14px 26px;
        background: rgba(83, 71, 71, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #020202;
        text-decoration: none;
        border-radius: 14px;
        font-size: 17px;
        font-weight: 500;
        transition: 0.3s;
        font-family: 'Poppins', sans-serif;
        margin: 5px 0;
    }


    /* ===================================
   MOBILE VIEW – PRODUCT GALLERY FIX
   =================================== */
    @media (max-width: 768px) {

        /* Prevent horizontal scroll */
        html,
        body {
            width: 100%;
            overflow-x: hidden;
        }

        /* Stack layout */
        .product-container {
            flex-direction: column;
            width: 100%;
            padding: 10px;
            box-sizing: border-box;
        }

        /* Gallery layout */
        .product-gallery {
            flex-direction: column;
            width: 100%;
            box-sizing: border-box;
        }

        /* Fixed square container */
        .main-image {
            width: 100%;
            aspect-ratio: 1 / 1;
            /* equal width & height */
            max-width: 100vw;
            padding: 5px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background-color: #ffffff;
            /* or #f5f5f5 */
            border-radius: 12px;
        }

        /* Image without cropping */
        .main-image img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            /* 🔑 no crop */
            display: block;
        }

        /* Thumbnails wrapper (remove desktop height) */
        .gallery-thumbs-wrapper {
            width: 100%;
            height: auto;
            max-height: none;
            min-height: unset;
            margin-top: 10px;
            overflow-x: auto;
            overflow-y: hidden;
            box-sizing: border-box;
        }

        /* Thumbnail list */
        .image-list {
            transform: none !important;
        }

        .gallery-thumbs {
            display: flex;
            flex-direction: row;
            gap: 8px;
            padding: 8px;
        }

        /* Thumbnail images */
        .gallery-thumbs img {
            width: 70px;
            height: 70px;
            flex-shrink: 0;
            margin: 0;
            border-radius: 8px;
            border: 1px solid #ccc;
        }

        /* Hide arrow button on mobile */
        .thumb-arrow {
            display: none;
        }

        /* Product details spacing */
        .product-details {
            width: 100%;
            padding: 10px;
            box-sizing: border-box;
        }

        /* Reviews spacing fix */
        .reviews-container,
        .review {
            margin-left: 0;
            margin-right: 0;
        }
    }