.popup-campaign-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, .5);
}

.popup-campaign-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.popup-campaign-modal {
    position: relative;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 0, 0, .04);
    font-family: 'Futura Now Headline', ui-sans-serif, system-ui, sans-serif;
    --primary: #e7a724;
}

.popup-campaign-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 10;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 0 0;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.popup-campaign-close:hover {
    color: #111;
}

.popup-campaign-content {
    padding: 2rem 1.75rem;
    min-height: 80px;
    font-family: inherit;
}

.popup-template {
    text-align: center;
}

.popup-badge {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .35rem .75rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--primary, #e7a724);
    color: #fff;
    border-radius: 6px;
}

.popup-headline {
    margin: 0 0 .5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    letter-spacing: -.02em;
}

.popup-subtitle {
    margin: 0 0 .75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
}

.popup-body {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-bottom: .25rem;
}

.popup-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .65rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .2s, color .2s, transform .15s;
}

.popup-cta:hover {
    transform: translateY(-1px);
}

.popup-no-thanks {
    display: inline-block;
    margin-top: 1rem;
    font-size: .9rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s;
}

.popup-no-thanks:hover {
    color: #111;
}

.popup-cta--primary {
    background: var(--primary, #e7a724);
    color: #fff;
}

.popup-cta--primary:hover {
    opacity: .9;
}

.popup-cta--secondary {
    background: #fff;
    color: var(--secondary, #6b7280);
    border-color: #d1d5db;
}

.popup-cta--secondary:hover {
    background: #f9fafb;
}

.popup-fine-print {
    margin: .5rem 0 0;
    font-size: .75rem;
    color: #9ca3af;
}

.popup-split {
    display: grid;
    gap: 1rem;
    text-align: left;
}

.popup-split.no-image .popup-split__body {
    max-width: 100%;
}

.popup-split--image-left.has-image {
    grid-template-columns: 1fr 1.5fr;
}

.popup-split--image-right.has-image {
    grid-template-columns: 1.5fr 1fr;
}

.popup-split__image {
    min-height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.popup-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-product-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: left;
}

.popup-product-card__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

.popup-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-product-card__title {
    margin: 0 0 .25rem;
    font-weight: 600;
    color: #111;
}

.popup-product-card__compare {
    margin-right: .5rem;
    text-decoration: line-through;
    color: #9ca3af;
    font-size: .875rem;
}

.popup-product-card__current {
    font-weight: 700;
    color: #e7a724;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin: 1rem 0;
}

.popup-input {
    padding: .75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    min-height: 48px;
    transition: border-color .2s, box-shadow .2s;
}

.popup-input:focus {
    outline: none;
    border-color: var(--primary, #e7a724);
    box-shadow: 0 0 0 3px rgba(231, 167, 36, .15);
}

.popup-countdown__display {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.popup-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.popup-countdown__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e7a724;
}

@media(max-width:640px) {

    .popup-split--image-left.has-image,
    .popup-split--image-right.has-image {
        grid-template-columns: 1fr;
    }

    .popup-split__image {
        order: -1;
        min-height: 150px;
    }
}