/* Antike Apotheke - Age Gate */

.antike-agegate-active {
    overflow: hidden;
}

#antike-agegate {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.antike-agegate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.antike-agegate-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    max-width: 460px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.antike-agegate-box h2 {
    margin: 0;
    padding: 18px 20px;
    background: #7AAA3C;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.antike-agegate-content {
    padding: 32px 30px 34px;
}

.antike-agegate-text {
    max-width: 360px;
    margin: 0 auto 28px;
    color: #222222;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
}

.antike-agegate-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.antike-agegate-buttons button {
    min-width: 165px;
    margin: 0;
    padding: 13px 18px;
    border: 1px solid #7AAA3C;
    border-radius: 3px;
    background: #7AAA3C;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.antike-agegate-buttons button:hover,
.antike-agegate-buttons button:focus {
    background: #65922f;
    border-color: #65922f;
    color: #ffffff;
}

#antike-agegate-decline {
    background: #ffffff;
    color: #333333;
    border-color: #b7b7b7;
}

#antike-agegate-decline:hover,
#antike-agegate-decline:focus {
    background: #f2f2f2;
    border-color: #999999;
    color: #222222;
}

/* Smartphone */

@media (max-width: 520px) {
    .antike-agegate-box {
        width: calc(100% - 28px);
    }

    .antike-agegate-box h2 {
        padding: 15px;
        font-size: 22px;
    }

    .antike-agegate-content {
        padding: 25px 20px 26px;
    }

    .antike-agegate-text {
        margin-bottom: 22px;
        font-size: 16px;
    }

    .antike-agegate-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .antike-agegate-buttons button {
        width: 100%;
        min-width: 0;
    }
}