/* Popup frete grátis — 1ª compra */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.wfgpc-popup {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.wfgpc-popup.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wfgpc-popup[hidden]:not(.is-open) {
    display: none !important;
}

.wfgpc-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
    cursor: pointer;
}

.wfgpc-popup__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.wfgpc-popup.is-open .wfgpc-popup__dialog {
    transform: translateY(0) scale(1);
}

.wfgpc-popup__close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
}

.wfgpc-popup__close:hover,
.wfgpc-popup__close:focus {
    color: #111;
}

.wfgpc-popup__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #f3f3f3;
    color: #262626;
}

.wfgpc-popup__title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.wfgpc-popup__text {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #444;
}

.wfgpc-popup__text p {
    margin: 0 0 0.65rem;
}

.wfgpc-popup__text p:last-child {
    margin-bottom: 0;
}

.wfgpc-popup__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 8px;
    background: #262626;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wfgpc-popup__btn:hover,
.wfgpc-popup__btn:focus {
    background: #111;
}

body.wfgpc-popup-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .wfgpc-popup__dialog {
        padding: 1.75rem 1.25rem 1.35rem;
    }

    .wfgpc-popup__title {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wfgpc-popup,
    .wfgpc-popup__dialog {
        transition: none;
    }
}
