/* ═══ VerOfertas Share Modal ═══ */

#vo-share-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

#vo-share-overlay.aberto {
    display: flex;
}

.vo-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 10, .55);
    animation: voShareFadeIn .2s ease;
}

@keyframes voShareFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes voShareSlideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes voShareFade {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.vo-share-box {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 520px;
    border-radius: 24px 24px 0 0;
    padding: 12px 20px 28px;
    animation: voShareSlideUp .25s cubic-bezier(.4, 0, .2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.vo-share-handle {
    width: 40px;
    height: 4px;
    background: #e1ddd8;
    border-radius: 100px;
    margin: 0 auto 14px;
}

.vo-share-fechar {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: #f7f5f3;
    color: #3d3a36;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background .18s;
}

.vo-share-fechar:hover {
    background: #f0ece8;
}

.vo-share-header {
    margin-bottom: 16px;
}

.vo-share-titulo-secao {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #1f1d1a;
    letter-spacing: -.015em;
}

/* Preview do item */
.vo-share-preview {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #f7f5f3;
    border-radius: 14px;
    margin-bottom: 20px;
}

.vo-share-preview-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.vo-share-preview-info {
    flex: 1;
    min-width: 0;
}

.vo-share-preview-loja {
    font-size: .75rem;
    color: #8a857f;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vo-share-preview-nome {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: .95rem;
    color: #1f1d1a;
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: -.01em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vo-share-preview-preco {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: #e85d20;
}

/* Opções de canal */
.vo-share-opcoes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 4px;
}

.vo-share-opcao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: background .18s;
}

.vo-share-opcao:hover {
    background: #f7f5f3;
}

.vo-share-opcao-icone {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s;
}

.vo-share-opcao:hover .vo-share-opcao-icone {
    transform: scale(1.08);
}

.vo-share-opcao span {
    font-size: .78rem;
    font-weight: 600;
    color: #3d3a36;
}

/* Divisor "ou" */
.vo-share-divisor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 14px;
    color: #8a857f;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.vo-share-divisor::before,
.vo-share-divisor::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e1ddd8;
}

/* Botão falar com loja (modo relâmpago) */
.vo-share-btn-whats-loja {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 100px;
    text-decoration: none;
    transition: background .18s;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.vo-share-btn-whats-loja:hover {
    background: #1EB857;
}

/* Desktop: modal centralizado */
@media(min-width: 720px) {
    #vo-share-overlay {
        align-items: center;
    }

    .vo-share-box {
        border-radius: 20px;
        max-width: 420px;
        animation: voShareFadeInScale .25s cubic-bezier(.4, 0, .2, 1);
    }

    .vo-share-handle {
        display: none;
    }

    @keyframes voShareFadeInScale {
        from {
            opacity: 0;
            transform: scale(.95) translateY(10px);
        }

        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
}