/* Explain: Styling for components like buttons, cards, and mobile video player. */
.lace-panel {
    position: relative;
    overflow: hidden;
}

.lace-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.34;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(220, 199, 161, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 45%, rgba(217, 167, 160, 0.22) 0 1px, transparent 3px),
        linear-gradient(135deg, transparent 0 48%, rgba(201, 199, 194, 0.18) 49% 51%, transparent 52% 100%);
    background-size: 44px 44px, 38px 38px, 28px 28px;
}

.btn-bridal {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: var(--espresso-color);
    color: var(--pearl-color);
    border: 1px solid var(--espresso-color);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-bridal:hover,
.btn-bridal:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-veil {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: var(--surface-color);
    color: var(--espresso-color);
    border: 1px solid var(--border-color);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-veil:hover,
.btn-veil:focus-visible {
    border-color: var(--espresso-color);
    background: var(--surface-color);
}

.oval-frame {
    border-radius: 48% 48% 44% 44% / 54% 54% 40% 40%;
    border: 1px solid rgba(220, 199, 161, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.editorial-card {
    border: 1px solid rgba(201, 199, 194, 0.7);
    background: rgba(255, 253, 248, 0.78);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.product-card img {
    transition: transform 600ms ease;
}

.product-card:hover img {
    transform: scale(1.035);
}

.gallery-thumb {
    border: 1px solid rgba(201, 199, 194, 0.7);
    opacity: 0.62;
    transition: all 240ms ease;
    cursor: pointer;
}

.gallery-thumb.is-active,
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
    opacity: 1;
    border-color: var(--espresso-color);
}

.option-chip {
    min-height: 2.75rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgba(201, 199, 194, 0.9);
    background: rgba(255, 253, 248, 0.72);
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: all 240ms ease;
}

.option-chip.is-selected {
    border-color: var(--espresso-color);
    background: var(--espresso-color);
    color: var(--pearl-color);
}

.toast-bridal {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 80;
    transform: translateX(-50%) translateY(1rem);
    opacity: 0;
    pointer-events: none;
    transition: all 240ms ease;
}

.toast-bridal.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.mobile-sticky-cta {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* --- Vidéo promo de l'application mobile --- */
.video-stage {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #050a18;
    box-shadow: 0 40px 90px -32px rgba(0, 0, 0, 0.85);
}

.video-stage video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
    background: #050a18;
}

.video-caption {
    position: absolute;
    left: 50%;
    bottom: 3.6rem;
    width: min(90%, 36rem);
    transform: translate(-50%, 12px);
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    background: rgba(5, 10, 24, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.video-caption.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.video-mute-toggle::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-mute-toggle.is-muted::after {
    opacity: 1;
}

@media (max-width: 640px) {
    .video-caption {
        bottom: 3.2rem;
        font-size: 0.72rem;
        padding: 0.5rem 0.75rem;
    }
}
