/* Site offer popup — shared by booking subdomain + WordPress widget */
.ymo-offer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 15, 0.55);
    backdrop-filter: blur(2px);
}

.ymo-offer-modal {
    position: relative;
    width: min(100%, 420px);
    max-height: min(90vh, 560px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    padding: 1.5rem 1.5rem 1.25rem;
    animation: ymoOfferIn 0.25s ease-out;
}

@keyframes ymoOfferIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ymo-offer-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
}

.ymo-offer-close:hover {
    color: #1e293b;
}

.ymo-offer-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.ymo-offer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3d18;
    margin: 0 0 0.5rem;
    padding-right: 1.5rem;
}

.ymo-offer-body {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    white-space: pre-wrap;
}

.ymo-offer-cta {
    display: inline-block;
    background: #3a6f37;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
}

.ymo-offer-cta:hover {
    background: #2d572b;
    color: #fff !important;
}
