/* --- BOTÃO FLUTUANTE GLOBAL (Meus Heróis) --- */
#gpv-float-btn {
    position: fixed !important;
    
    /* --- AJUSTES FINOS SOLICITADOS --- */
    bottom: 80px;  /* Subiu para não sobrepor o WhatsApp */
    right: 15px;   /* Diminuiu a margem direita para alinhar */
    width: 57px;   /* Reduzido de 68px para 62px (~5px a menos) */
    height: 57px;  /* Mantendo a proporção */
    /* -------------------------------- */

    background: #ffffff;
    border: 2px solid #2AC8D3;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    cursor: pointer;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(80px) scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ajuste proporcional também no Mobile para manter consistência */
@media (max-width: 768px) {
    #gpv-float-btn {
        width: 54px;   /* Levemente menor no mobile também */
        height: 54px;
        bottom: 90px;  /* Mantém uma distância segura no mobile */
        right: 15px;   /* Margem padrão mobile */
    }
}

/* Animação de Entrada */
#gpv-float-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    /* Pisca suavemente para chamar atenção após entrar */
    animation: gpvGlobalPulse 3s infinite 2s; 
}

/* Hover */
#gpv-float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(42, 200, 211, 0.4);
    border-color: #8882EE;
}

/* Ícone */
.gpv-icon-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px; /* Respiro interno */
}

.gpv-hero-icon {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
    /* Remove filtros estranhos se o tema aplicar */
    filter: none !important; 
    margin: 0 !important;
}

/* Contador (Badge) */
.gpv-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    color: white;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 800;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Efeito de "Pulo" quando o número muda */
.gpv-badge.bump {
    animation: gpvBadgePop 0.3s ease-out;
}

/* Keyframes */
@keyframes gpvGlobalPulse {
    0% { box-shadow: 0 0 0 0 rgba(42, 200, 211, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(42, 200, 211, 0); }
    100% { box-shadow: 0 0 0 0 rgba(42, 200, 211, 0); }
}

@keyframes gpvBadgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Container que cobre a tela inteira */
.gpv-gate-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999999; /* Acima de tudo, inclusive header */
    background: rgba(255, 255, 255, 0.6); /* Fundo branco semitransparente */
    backdrop-filter: blur(8px); /* O efeito de Blur no fundo */
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gpvFadeIn 0.4s ease-out;
}

/* O Modal */
.gpv-gate-modal {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 420px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    animation: gpvPopUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ícone */
.gpv-gate-icon {
    font-size: 40px;
    margin-bottom: 20px;
    background: #f0fdff;
    width: 80px; height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid #2AC8D3;
}

/* Títulos */
.gpv-gate-title {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.gpv-gate-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Input */
#gpv-gate-email {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: all 0.2s;
    text-align: center;
}

#gpv-gate-email:focus {
    border-color: #2AC8D3;
    outline: none;
    box-shadow: 0 0 0 4px rgba(42, 200, 211, 0.1);
}

/* Animações */
@keyframes gpvFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gpvPopUp { from { transform: scale(0.9) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

/* Ajustes do Modal para modo CEP */
.gpv-gate-modal.cep-mode {
    max-width: 450px; /* Um pouco mais largo para os cards */
    padding: 35px 25px;
}

.gpv-input-group {
    display: flex;
    gap: 10px;
}
.gpv-input-group input {
    flex: 1;
    margin-bottom: 0 !important;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 700;
}
.gpv-input-group button {
    width: auto !important;
    padding: 0 25px;
}

/* Shipping Cards */
.gpv-ship-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    position: relative;
    transition: all 0.2s;
}

.gpv-ship-card.best-option {
    background: #f0fdff;
    border: 2px solid #2AC8D3;
    box-shadow: 0 4px 10px rgba(42, 200, 211, 0.15);
}

.gpv-ship-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #2AC8D3;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.gpv-ship-icon {
    font-size: 24px;
}

.gpv-ship-info {
    flex: 1;
}

.gpv-ship-name {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    line-height: 1.2;
}

.gpv-ship-days {
    font-size: 12px;
    color: #666;
}

.gpv-ship-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.gpv-ship-old {
    font-size: 11px;
    text-decoration: line-through;
    color: #999;
}

.gpv-ship-new {
    font-size: 16px;
    font-weight: 800;
    color: #333;
}

.gpv-ship-new.free {
    color: #28a745;
}