<style>
        /* --- CSS STYLES --- */
        :root {
            --primary-border: #222; /* Etsy uses dark borders for active states */
            --arrow-bg: rgba(255, 255, 255, 0.9);
            --arrow-shadow: 0 2px 5px rgba(0,0,0,0.15);
        }




        /* Gallery Container - Constrains width */
        .product-gallery {
          margin: 0 auto;
            width: 100%;
            max-width: 700px; /* Standard desktop width for the gallery column */
            background: #fff;
            padding: 10px;

            border-radius: 4px;
        }

        /* Main Image Area */
        .main-image-wrapper {
            position: relative;

            width: 100%;
            padding-top: 75%; /* Aspect Ratio: 4:3 (Change to 100% for Square 1:1) */
            overflow: hidden;
            border-radius: 4px;
            margin-bottom: 12px;
            cursor: zoom-in;
            /* Adjust background color for Etsy slider here */
            background-color: #ffffff;
        }

        .main-image {

                          align: center;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain; /* Ensures entire image is visible */
            transition: transform 0.3s ease;
        }

        /* Hover Zoom Effect */
        .main-image-wrapper:hover .main-image {
            transform: scale(1.05); /* Subtle zoom like Etsy */
        }

        /* Navigation Arrows (Hidden by default, show on hover) */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: var(--arrow-bg);
            border: none;
            border-radius: 50%;
            box-shadow: var(--arrow-shadow);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0; /* Hidden initially */
            transition: opacity 0.2s ease, transform 0.1s;
            z-index: 2;
        }

        .nav-btn svg {
            width: 20px;
            height: 20px;
            fill: #222;
        }

        .product-gallery:hover .nav-btn {
            opacity: 1; /* Show on hover */
        }

        .nav-btn:hover {
            background: #fff;
            transform: translateY(-50%) scale(1.05);
        }

        .nav-btn.prev { left: 10px; }
        .nav-btn.next { right: 10px; }

        /* Thumbnails Strip */
        .thumbnail-list {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 5px;
            scrollbar-width: thin; /* Firefox */
            scroll-behavior: smooth;
        }

        /* Hide scrollbar for Chrome/Safari/Edge for cleaner look */
        .thumbnail-list::-webkit-scrollbar {
            height: 6px;
        }
        .thumbnail-list::-webkit-scrollbar-thumb {
            background-color: #ddd;
            border-radius: 3px;
        }

        .thumbnail-item {
            flex: 0 0 16%; /* Show roughly 6 items per row */
            aspect-ratio: 1/1; /* Square thumbnails */
            cursor: pointer;
            border-radius: 3px;
            overflow: hidden;
            opacity: 0.7;
            border: 2px solid transparent;
            transition: all 0.2s;
        }

        .thumbnail-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Active State */
        .thumbnail-item.active {
            opacity: 1;
            border-color: var(--primary-border);
        }

        .thumbnail-item:hover {
            opacity: 1;
        }

        /* Mobile Responsiveness */
        @media (max-width: 600px) {
            .nav-btn {
                opacity: 1; /* Always show arrows on mobile or rely on swipe */
                width: 32px;
                height: 32px;
            }
            .thumbnail-item {
                flex: 0 0 22%; /* Larger thumbnails on mobile */
            }
        }
    </style>
