/* Popup Frontend Styles */
.ldp-popup-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem; animation: ldp-fade-in 0.3s ease;
}
@keyframes ldp-fade-in { from { opacity: 0; } to { opacity: 1; } }

.ldp-popup-box {
    position: relative; max-width: 480px; width: 100%;
    border-radius: 16px; padding: 2.5rem; text-align: center;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    animation: ldp-slide-up 0.3s ease;
}
@keyframes ldp-slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.ldp-popup-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 28px; cursor: pointer;
    color: inherit; opacity: 0.4; transition: opacity 0.2s;
    line-height: 1;
}
.ldp-popup-close:hover { opacity: 1; }

.ldp-popup-image { max-width: 100%; border-radius: 8px; margin-bottom: 1.5rem; }
.ldp-popup-heading { font-family: var(--font-headline, 'Montserrat', sans-serif); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.ldp-popup-content { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; opacity: 0.8; }

.ldp-popup-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center; margin-bottom: 1rem; }
.ldp-popup-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #f5c518; color: #241a00; padding: 0.875rem 2rem;
    border-radius: 8px; font-weight: 800; text-transform: uppercase;
    font-size: 0.875rem; letter-spacing: 0.05em; transition: all 0.2s;
    text-decoration: none;
}
.ldp-popup-cta:hover { filter: brightness(0.9); transform: translateY(-1px); }
.ldp-popup-phone { font-family: var(--font-headline, 'Montserrat', sans-serif); font-size: 1.25rem; font-weight: 900; text-decoration: none; color: inherit; }
.ldp-popup-form { margin-top: 1rem; text-align: left; }

/* Mobile popup — compact centered */
@media (max-width: 768px) {
    .ldp-popup-overlay { padding: 1.5rem; align-items: center; }
    .ldp-popup-box {
        padding: 1.125rem 1.25rem 1.5rem;
        border-radius: 16px;
        max-height: 80vh;
        overflow-y: auto;
        max-width: 100%;
    }
    .ldp-popup-heading { font-size: 1.125rem; margin-bottom: 0.25rem; }
    .ldp-popup-content { font-size: 0.8125rem; line-height: 1.4; margin-bottom: 0.5rem; }
    .ldp-popup-image { display: none; }
    .ldp-popup-cta { padding: 0.6875rem 1.25rem; font-size: 0.8125rem; width: 100%; justify-content: center; }
    .ldp-popup-phone { font-size: 1rem; }
    .ldp-popup-actions { gap: 0.375rem; flex-direction: column; margin-bottom: 0.375rem; }
    .ldp-popup-close { top: 8px; right: 10px; font-size: 22px; }
    .ldp-popup-form { margin-top: 0.5rem; }
    .ldp-popup-form input,
    .ldp-popup-form textarea,
    .ldp-popup-form select { padding: 0.5rem 0.75rem !important; font-size: 0.8125rem !important; margin-bottom: 0.375rem !important; }
    .ldp-popup-form textarea { rows: 2; max-height: 3rem; }
    .ldp-popup-form .ldp-form-btn { padding: 0.625rem 1rem !important; font-size: 0.8125rem !important; }
    .ldp-hide-on-mobile { display: none !important; }
}
