/* Vendedor Global — Public Styles */

.vg-carousel-wrap {
    position: relative;
    max-width: 520px;
    margin: 28px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    clear: both;
}

.vg-carousel-inner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

/* ---- Card ---- */
.vg-card {
    display: none;
    animation: vgFadeIn .35s ease;
}
.vg-card.vg-active {
    display: block;
}
@keyframes vgFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vg-card-inner {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
    padding: 20px 20px 16px;
    border: 1.5px solid #f0f0f0;
    transition: box-shadow .2s;
}

/* Amazon theme */
.vg-card-inner.vg-amazon {
    border-top: 4px solid #FF9900;
}
/* Mercado Livre theme */
.vg-card-inner.vg-ml {
    border-top: 4px solid #FFE600;
}

/* ---- Platform tag ---- */
.vg-platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.vg-platform-tag.vg-amazon {
    background: #FFF3D6;
    color: #A05700;
}
.vg-platform-tag.vg-ml {
    background: #FFFBD0;
    color: #806000;
}

/* ---- Badge ---- */
.vg-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: #FF4444;
    color: #fff;
}
.vg-badge-mais_vendido  { background: #FF9900; }
.vg-badge-recomendado   { background: #22C55E; }
.vg-badge-custo         { background: #3B82F6; }
.vg-badge-inteligente   { background: #8B5CF6; }

/* ---- Image ---- */
.vg-image-wrap {
    text-align: center;
    background: #fafafa;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vg-image-wrap img {
    max-height: 180px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ---- Text ---- */
.vg-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}
.vg-copy {
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.55 !important;
    margin: 0 0 14px !important;
}

/* ---- Button ---- */
.vg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: filter .2s, transform .15s;
    letter-spacing: .2px;
}
.vg-btn:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
    text-decoration: none !important;
}
.vg-btn:active {
    transform: translateY(0);
}
.vg-btn.vg-amazon {
    background: linear-gradient(135deg, #FF9900 0%, #FF7700 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(255,153,0,.35);
}
.vg-btn.vg-ml {
    background: linear-gradient(135deg, #FFE600 0%, #FFCC00 100%);
    color: #333 !important;
    box-shadow: 0 4px 14px rgba(255,230,0,.35);
}

/* ---- Controls ---- */
.vg-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.vg-prev,
.vg-next {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    line-height: 1;
    padding: 0;
    color: #444;
}
.vg-prev:hover,
.vg-next:hover {
    background: #f5f5f5;
    border-color: #aaa;
}
.vg-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.vg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background .2s, transform .2s;
    display: inline-block;
}
.vg-dot.vg-dot-active {
    background: #FF9900;
    transform: scale(1.3);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .vg-carousel-wrap {
        margin: 20px 0;
        max-width: 100%;
    }
    .vg-image-wrap img {
        max-height: 140px;
    }
    .vg-title {
        font-size: 14px !important;
    }
}
