/**
 * Popup de campanha — Blomerize Geovi
 * Botões "Ver oferta" e "Fechar" com estilo dourado (gradiente #EFCF5C → #C7A229).
 */

.wcc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.wcc-popup-overlay[aria-hidden="false"] {
    display: flex !important;
}

.wcc-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.wcc-popup-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 0;
}

.wcc-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.wcc-popup-close:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
}

.wcc-popup-image {
    margin: 0 0 18px;
    text-align: center;
}

.wcc-popup-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.wcc-popup-image a {
    display: block;
}

.wcc-popup-text {
    margin-bottom: 20px;
    padding: 0 20px;
    line-height: 1.55;
    font-size: 1em;
    color: #333;
}

.wcc-popup-text a {
    color: inherit;
    text-decoration: underline;
}

.wcc-popup-actions {
    margin: 0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Botões dourados: Ver oferta e Fechar — gradiente #EFCF5C → #C7A229 */
.wcc-popup-actions .wcc-popup-cta,
.wcc-popup-actions .wcc-popup-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #000 !important;
    text-decoration: none !important;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(180deg, #F5D96B 0%, #E8C84A 30%, #C7A229 100%);
    box-shadow:
        0 3px 8px rgba(199, 162, 41, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(199, 162, 41, 0.2);
    transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
    min-height: 48px;
}

.wcc-popup-actions .wcc-popup-cta:hover,
.wcc-popup-actions .wcc-popup-close-btn:hover {
    color: #000 !important;
    text-decoration: none !important;
    background: linear-gradient(180deg, #F8E078 0%, #EFCF5C 40%, #D4AE2E 100%);
    box-shadow:
        0 4px 14px rgba(199, 162, 41, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 1px rgba(199, 162, 41, 0.25);
    transform: translateY(-2px);
}

.wcc-popup-actions .wcc-popup-cta:active,
.wcc-popup-actions .wcc-popup-close-btn:active {
    color: #000 !important;
    background: linear-gradient(180deg, #E8C84A 0%, #C7A229 100%);
    box-shadow:
        0 1px 4px rgba(199, 162, 41, 0.35),
        inset 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
}

.wcc-popup-actions .wcc-popup-cta.button,
.wcc-popup-actions .wcc-popup-close-btn.button {
    border: none;
    appearance: none;
    -webkit-appearance: none;
}
