.vf-detail-visual.main-image {
    isolation: isolate;
    min-height: 560px;
    border: 1px solid #cfaa78 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 30px rgba(91, 61, 29, .06) !important;
}

.vf-detail-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 86%;
    height: 94%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
        rgba(205, 175, 137, .56) 0%,
        rgba(225, 202, 173, .48) 34%,
        rgba(245, 232, 215, .22) 64%,
        rgba(255, 255, 255, 0) 81%);
    filter: blur(16px);
    transform: translate(-50%, -48%);
    pointer-events: none;
}

.vf-detail-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 5%;
    width: 48%;
    height: 9%;
    border-radius: 50%;
    background: rgba(72, 49, 28, .26);
    filter: blur(12px);
    transform: translateX(-50%);
    pointer-events: none;
}

.vf-detail-visual.main-image img {
    position: relative;
    z-index: 2;
    width: 78% !important;
    height: 88% !important;
    padding: 0 !important;
    object-fit: contain !important;
    filter:
        drop-shadow(0 27px 20px rgba(45, 31, 18, .25))
        drop-shadow(0 8px 9px rgba(91, 61, 29, .14));
}

.vf-detail-gender {
    position: absolute;
    z-index: 4;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 16px;
    border: 1px solid #d2b38d;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #27221d;
    font: 500 9px/1 Montserrat, sans-serif;
    letter-spacing: .21em;
    text-transform: uppercase;
}

.product-info .vf-detail-variants.variant-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 320px);
    min-height: 50px;
    margin-top: 11px;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid #bd8849;
    border-radius: 999px !important;
    background: #fff;
    box-shadow: 0 9px 24px rgba(91, 61, 29, .08);
}

.product-info .vf-detail-variants .vf-detail-variant.variant-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: none !important;
    height: 50px !important;
    min-height: 50px;
    max-height: none !important;
    margin: 0;
    padding: 0 20px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #292520 !important;
    cursor: pointer;
    text-align: center !important;
    font: 500 13px/1 Montserrat, sans-serif;
    transition: background-color .2s ease, color .2s ease;
}

.product-info .vf-detail-variants .vf-detail-variant + .vf-detail-variant {
    border-left: 1px solid #bd8849 !important;
}

/* Une variante épuisée conserve exactement la même moitié de sélecteur.
   Seule sa couleur change, comme sur les cartes de la page d'accueil. */
.product-info .vf-detail-variants .variant-option.is-out-of-stock {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-left: 1px solid #bd8849 !important;
    border-radius: 0 !important;
    background: #ededed !important;
    color: #999 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    opacity: .7;
    text-decoration: none !important;
    transform: none !important;
}

.product-info .vf-detail-variants .variant-option.is-out-of-stock strong {
    display: block;
    width: 100%;
    margin: 0;
    color: inherit !important;
    text-align: center !important;
    font-size: 14px;
    line-height: 1;
}

.product-info .vf-detail-variants .variant-option.is-out-of-stock small {
    display: none !important;
}

.product-info .vf-detail-variants .vf-detail-variant:hover {
    background: #fbf4ea !important;
    color: #181411 !important;
}

.product-info .vf-detail-variants .vf-detail-variant.active {
    background: linear-gradient(135deg, #a7783e, #8d612f) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.product-info .vf-detail-variants .vf-detail-variant strong {
    display: block;
    width: 100%;
    margin: 0;
    color: inherit !important;
    text-align: center !important;
    font-size: 14px;
    line-height: 1;
}

.product-info .vf-detail-variants .vf-detail-variant:focus-visible {
    position: relative;
    z-index: 2;
    outline: 2px solid rgba(185, 133, 67, .42);
    outline-offset: -3px;
}

.vf-detail-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.vf-detail-price strong {
    font: 500 38px/1 "Cormorant Garamond", serif;
}

.vf-detail-price span {
    font: 500 13px/1 Montserrat, sans-serif;
}

.vf-detail-reassurance {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 18px;
    color: #746a5d;
    font: 500 12px/1.5 "Montserrat", sans-serif;
    letter-spacing: .04em;
}

.vf-detail-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.vf-detail-reassurance i {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 22px;
    border: 1px solid #b8853f;
    border-radius: 50%;
    color: #9a6829;
    font: normal 600 11px/1 "Montserrat", sans-serif;
}

@media (max-width: 900px) {
    .vf-detail-visual.main-image {
        width: min(100%, 460px) !important;
        max-width: 460px !important;
        min-height: 520px;
        border-radius: 14px !important;
    }

    .vf-detail-visual.main-image img {
        width: 90% !important;
        height: 94% !important;
    }

    .vf-detail-gender {
        top: 13px;
        left: 13px;
        min-height: 28px;
        padding: 0 13px;
        font-size: 8px;
    }

    .product-info .vf-detail-variants.variant-options {
        width: min(100%, 300px);
        min-height: 46px;
    }

    .product-info .vf-detail-variants .vf-detail-variant.variant-option {
        min-height: 46px;
        height: 46px !important;
        padding: 0 14px;
        font-size: 12px;
    }

    .product-info .vf-detail-variants .variant-option.is-out-of-stock {
        min-height: 46px !important;
        height: 46px !important;
        padding: 0 14px !important;
    }

    .vf-detail-reassurance {
        gap: 14px 20px;
        flex-wrap: wrap;
        font-size: 11px;
    }

}

@media (max-width: 420px) {
    .vf-detail-visual.main-image {
        width: 100% !important;
        min-height: 460px;
    }

    .vf-detail-visual.main-image img {
        width: 92% !important;
        height: 95% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-info .vf-detail-variants .vf-detail-variant.variant-option {
        transition: none;
    }
}
