.product-single .product-color-swatch {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 12px;
            margin-bottom: 1.6rem;
            padding-top: 22px;
            overflow: visible;
        }

        .product-single .product-color-swatch .product-color-swatch-title {
            margin: 0 !important;
            flex: 0 0 auto !important;
            text-transform: none !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            color: #3a3a3a !important;
        }

        .product-color-swatch .color-box-group {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            padding: 4px;
        }

        .product-color-swatch .color-box-group .single-color {
            width: auto;
            margin: 0;
        }

        .product-variation-form .color-box-group label.variant__color--value {
            position: relative;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            width: 32px !important;
            height: 32px !important;
            min-width: 32px !important;
            min-height: 32px !important;
            max-width: 32px !important;
            margin: 0 !important;
            padding: 2px !important;
            border-radius: 8px !important;
            border: 1px solid #d5d5d5 !important;
            outline: none !important;
            box-shadow: inset 0 0 0 2px #fff !important;
            background-clip: content-box !important;
            box-sizing: border-box !important;
            overflow: visible;
            line-height: 1;
            cursor: pointer;
        }

        .product-variation-form .color-box-group label.variant__color--value img {
            position: absolute !important;
            inset: 2px !important;
            width: calc(100% - 4px) !important;
            height: calc(100% - 4px) !important;
            min-width: 0 !important;
            min-height: 0 !important;
            max-width: calc(100% - 4px) !important;
            max-height: calc(100% - 4px) !important;
            object-fit: cover !important;
            border-radius: 6px;
        }

        .product-color-swatch .color-box-group,
        .product-color-swatch .color-box-group .single-color {
            overflow: visible;
        }

        .product-variation-form .color-box-group label.variant__color--value::before {
            content: none !important;
            display: none !important;
        }

        .product-variation-form .color-box-group input[type="radio"]:checked + label.variant__color--value.show-tooltip::before {
            content: attr(data-tooltip) !important;
            display: inline-block !important;
            position: absolute !important;
            top: -22px !important;
            left: 50% !important;
            right: auto !important;
            bottom: auto !important;
            width: auto !important;
            height: auto !important;
            margin: 0 !important;
            padding: 2px 5px !important;
            border: 0 !important;
            border-radius: 3px !important;
            background: #2b2b2b !important;
            background-image: none !important;
            color: #fff !important;
            font-size: 9px !important;
            font-weight: 600 !important;
            line-height: 1.2 !important;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            white-space: nowrap;
            transform: translateX(-50%) !important;
            z-index: 5 !important;
            pointer-events: none;
            opacity: 1 !important;
        }

        .product-variation-form .color-box-group input[type="radio"]:checked + label.variant__color--value {
            border: 2px solid var(--primary-color) !important;
            outline: none !important;
            box-shadow: inset 0 0 0 2px #fff !important;
        }

        .product-variation-form .color-box-group input[type="radio"]:checked:not(:disabled) + label.variant__color--value::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: auto !important;
        left: auto !important;
        right: 3px !important;
        bottom: 3px !important;
        width: 12px !important;
        height: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background-color: #fff !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.7 8.8 9.8 3.2' fill='none' stroke='%2316325c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 10px 10px !important;
        transform: none !important;
        filter: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

        .product-variation-form .color-box-group input[type="radio"]:disabled + label.variant__color--value {
            box-shadow: none !important;
            border-color: #e5e7eb !important;
        }

        .product-variation-form .color-box-group input[type="radio"]:disabled + label.variant__color--value::after {
            content: "" !important;
            display: block !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            border-radius: inherit !important;
            transform: none !important;
            filter: none !important;
            background: linear-gradient(to top right, transparent 47%, #ef4444 47%, #ef4444 53%, transparent 53%) !important;
            background-color: transparent !important;
            opacity: 1 !important;
            z-index: 3 !important;
            pointer-events: none !important;
        }

        /* Grid classes on the main gallery wrapper shrink the active slide after a color change. */
        .pd-details-gallery .product-single-swiper > .swiper-wrapper {
            flex-wrap: nowrap;
            margin-left: 0;
            margin-right: 0;
        }
        .pd-details-gallery .product-single-swiper > .swiper-wrapper > .swiper-slide {
            flex: 0 0 auto;
            max-width: none;
            padding-left: 0;
            padding-right: 0;
            box-sizing: border-box;
        }
        .pd-details-gallery .product-single-swiper > .swiper-wrapper > .swiper-slide img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .pd-details-gallery .product-thumbs-wrap {
            flex: 0 0 100%;
            width: 100%;
            max-width: 100%;
            overflow: hidden;
        }
        .pd-details-gallery .product-thumbs-wrap > .swiper-wrapper {
            flex-wrap: nowrap;
            margin-left: 0;
            margin-right: 0;
        }
        .pd-details-gallery .product-thumbs-wrap .product-thumb.swiper-slide {
            width: 72px !important;
            height: 72px !important;
            flex: 0 0 72px !important;
            max-width: 72px !important;
            padding: 0 !important;
        }
        .pd-details-gallery .product-thumbs-wrap .product-thumb.swiper-slide img {
            width: 100% !important;
            height: 72px !important;
            object-fit: cover;
        }