/* ===== Homepage promo popup ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 42, 34, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    position: relative;
    background: #F7F2E9;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(14, 42, 34, 0.35);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.popup-overlay.show .popup-card {
    transform: scale(1);
}

.popup-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0;
}

.popup-body {
    padding: 28px 28px 32px;
}

.popup-card.popup-no-image .popup-body {
    padding-top: 36px;
}

.popup-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #0E2A22;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.1;
}

.popup-message {
    font-family: 'Jost', sans-serif;
    color: #443c3f;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.popup-cta {
    display: inline-block;
    background: #C29A57;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.popup-cta:hover {
    filter: brightness(0.93);
    color: #ffffff;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(14, 42, 34, 0.08);
    color: #0E2A22;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease;
}

.popup-close:hover {
    background: rgba(14, 42, 34, 0.16);
}

.popup-close:focus-visible,
.popup-cta:focus-visible {
    outline: 2px solid #0E2A22;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .popup-overlay,
    .popup-card {
        transition: opacity 0.01s linear !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .popup-card {
        max-width: 92vw;
    }

    .popup-body {
        padding: 24px 20px 28px;
    }

    .popup-close {
        width: 44px;
        height: 44px;
        top: 8px;
        right: 8px;
    }
}
