/* ============================================
   POPUP VÉRIFICATION 18 ANS
   ============================================ */

.age-gate[hidden] { display: none; }

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.age-gate__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 20, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.age-gate__box {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: ageGateIn 0.35s ease-out;
}

@keyframes ageGateIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.age-gate__logo {
    max-width: 90px;
    height: auto;
    margin: 0 auto 1.25rem;
    display: block;
}

.age-gate__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3a2d;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.age-gate__question {
    font-size: 1.15rem;
    color: #555;
    margin: 0 0 1.75rem;
    font-weight: 500;
}

.age-gate__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.age-gate__btn {
    min-width: 140px;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.age-gate__btn:not(.age-gate__btn--ghost) {
    background: #4a7c4e;
    color: #fff;
}
.age-gate__btn:not(.age-gate__btn--ghost):hover {
    background: #3d6841;
    transform: translateY(-1px);
}

.age-gate__btn--ghost {
    background: transparent;
    color: #888;
    border: 1px solid #ddd;
}
.age-gate__btn--ghost:hover {
    background: #f5f5f5;
    color: #555;
}

.age-gate__legal {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Bloque le scroll quand le popup est ouvert */
body.age-gate-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .age-gate__box { padding: 2rem 1.25rem; }
    .age-gate__title { font-size: 1.2rem; }
    .age-gate__btn { width: 100%; }
}
