/* src/css/anuncios.css - VERSÃO CORRIGIDA E ALINHADA */
:root {
    --primary-color: #4CAF50; /* Verde Principal */
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --secondary-color: #6167ea;
    --dark-color: #2E7D32; /* Verde Escuro */
    --light-color: #F1F8E9;
    --text-color: #212121;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --text-light: #757575;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Adicionado para garantir larguras corretas */
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--gray);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 80px;
    min-height: calc(100vh - 200px);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 1.6;
    margin-top: 4px;
}

.logo h2 {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: -10px;
    line-height: 1.3;
}

.logo img {
    height: 60px;
    padding-right: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link.login-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    margin-left: 15px;
}

.nav-link.login-button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.exit-button {
    background-color: rgb(230, 30, 30);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    margin-left: 15px;
}

.nav-link.exit-button:hover {
    background-color: rgb(200, 30, 30);
    color: var(--white);
}

.nav-link.no-underline::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* --- Conteúdo Principal --- */
.main-content {
    margin-top: 60px;
    padding: 20px;
    max-width: 1200px; /* Largura máxima igual ao container de anúncios */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* --- Header --- */
.header {
    padding: 20px 0; /* Removido padding lateral para alinhar com grid */
    border-radius: 8px;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-weight: 500;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- ÁREA DE PESQUISA E FILTROS (MODIFICADO) --- */
.search-filters-area {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between; /* Espalha os itens */
    align-items: flex-start; /* Alinha no topo */
    gap: 15px; /* Espaço pequeno entre a barra e os botões */
    width: 100%; /* Garante largura total */
}

/* Container da barra de pesquisa */
.search-container {
    flex: 1; /* Faz a barra crescer e ocupar todo o espaço sobrando */
    min-width: 200px;
    max-width: none; /* Remove o limite de largura anterior */
}

.search-form {
    width: 100%;
    display: flex;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 15px;
    padding: 5px;
    box-shadow: 0 2px 20px rgba(36, 36, 36, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    width: 100%; /* Ocupa 100% do flex-grow do container pai */
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding-left: 15px;
    font-size: 1rem;
    background: transparent;
    color: var(--text-color);
    font-family: "Montserrat", sans-serif;
    height: 40px; /* Altura fixa para alinhar melhor */
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.btn-clear-search {
    text-decoration: none;
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.btn-clear-search:hover {
    background: lightgray;
}

/* Container dos Botões de Filtro */
.filtros-simples {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinha tudo à direita */
    flex: 0 0 auto; /* Não cresce nem encolhe, ocupa o espaço necessário dos botões */
    min-width: 0;
}

.filtros-botoes {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end; /* Garante alinhamento à direita */
}

/* Estilo unificado dos botões de filtro */
.filtro-btn {
    background: white;
    border: 1px solid #2e7d32;
    color: #2e7d32;
    padding: 0 20px; /* Padding horizontal */
    height: 54px; /* Mesma altura visual total da barra de pesquisa (approx) */
    border-radius: 15px; /* Mesmo radius da barra de pesquisa */
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(36, 36, 36, 0.1);
    white-space: nowrap;
    font-family: "Montserrat", sans-serif;
}

.filtro-btn:hover {
    background: #2e7d32;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.filtro-btn i {
    font-size: 1rem;
}

/* Indicador de filtro ativo */
.filtro-ativo-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #f44336;
    border-radius: 50%;
    margin-left: 5px;
}

/* Área de Tags de Filtros Ativos (aparece abaixo dos botões, alinhado à direita) */
.filtros-ativos {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end; /* Alinha à direita */
}

.filtros-ativos small {
    color: #2e7d32;
    font-weight: bold;
}

.filtro-ativo-tag {
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #2e7d32;
    border: 1px solid #2e7d32;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filtro-ativo-tag a {
    color: #f44336;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.limpar-todos {
    color: #f44336;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    transition: background 0.2s;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0; /* Alinha o dropdown à direita do botão */
    top: calc(100% + 5px);
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 15px;
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.localizacao-dropdown {
    min-width: 340px;
}

.filtro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 12px;
    font-size: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* Grid de Anúncios */
.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

/* Cards */
.anuncio-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.anuncio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.anuncio-card:hover .card-image img {
    transform: scale(1.05);
}

.badge-desconto {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.discount-badge{
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    z-index: 11;
}

.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    margin-bottom: 15px;
    position: relative;
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.3;
}

.vendedor {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.categoria-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.card-body {
    flex-grow: 1;
    margin-bottom: 0px;
}

.price-container {
    margin-bottom: 10px;
}

.preco-original {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 5px;
    font-weight: 500;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price.price-desconto {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.economia-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: black;
    background: #e4e2e2;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 5px;
    max-width: fit-content;
}

.estoque {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.estoque i {
    color: var(--primary-color);
}

.descricao {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.card-actions {
    display: inline-flex;
    width: 100%;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    justify-content: center;
    width: 100%;
    font-family: "Montserrat", sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.anuncio-card.card-desconto {
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--white), #f8f9fa);
    position: relative;
    overflow: hidden;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.empty-search i {
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* FOOTER */
.site-footer {
    background: var(--dark-color);
    color: var(--white);
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 50px 0 30px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--light-color);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 0.9rem;
}
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-color);
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Internals dos Dropdowns de filtro (Conteúdo interno) */
.categorias-list, .ordenacao-options {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filtro-option, .ordenacao-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 6px;
}

.filtro-option:hover, .ordenacao-option:hover {
    background: #f0f7f0;
}

.filtro-option input, .ordenacao-option input {
    margin-right: 12px;
    accent-color: #2e7d32;
}

.estados-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}

.estado-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.estado-sigla {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s;
}

.estado-option input { display: none; }
.estado-option input:checked + .estado-sigla {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}
.estado-option:hover .estado-sigla {
    border-color: #2e7d32;
    background: #e8f5e8;
}

.card-subheader {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.btn-limpar-filtro {
    display: block;
    width: 100%;
    padding: 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    font-size: 14px;
}

.remove-filtro {
    color: #f44336;
    font-size: 12px;
    text-decoration: none;
    padding: 4px 8px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 4px;
}

/* =============================================== */
/* RESPONSIVIDADE */
/* =============================================== */

@media (max-width: 1200px) {
    .anuncios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .anuncios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* No tablet/mobile, muda para coluna */
    .search-filters-area {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filtros-simples {
        width: 100%;
        align-items: stretch; /* Botões ocupam largura total */
    }
    
    .filtros-botoes {
        justify-content: space-between;
    }
    
    .filtro-btn {
        flex: 1; /* Distribui espaço igualmente */
    }
    
    .filtros-ativos {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px !important;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
        text-align: center;
    }

    .nav-menu.active .nav-item {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }
    
    .nav-menu.active .nav-link {
        display: inline-block;
        position: relative;
        padding: 8px 15px;
    }
    
    /* Remove o estilo padrão da barra */
    .nav-menu.active .nav-link::after {
        display: none;
    }
    
    /* Nova barra com largura da palavra */
    .nav-menu.active .nav-link.active::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 20%; /* Ajuste esta porcentagem conforme necessário */
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }
    
    .nav-menu.active .nav-link:hover::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }
    
    .nav-item {
        margin: 16px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        width: 100%;
        display: inline-block; /* Importante para a barra acompanhar o texto */
        padding: 12px 0;
    }

    .nav-link::after {
        left: 50%; /* Centraliza a barra */
        transform: translateX(-50%); /* Centraliza a barra */
        width: 0; /* Começa com largura zero */
        transition: width 0.3s ease, left 0.3s ease, transform 0.3s ease;
    }
    
    .nav-link.active {
        width: 100%;
        padding: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after {
        width: 100%; /* No hover também usa largura completa do texto */
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-link.login-button {
        margin: 10px auto;
        width: 80%;
        max-width: 200px;
    }

    .nav-link.exit-button {
        margin: 10px auto;
        width: 80%;
        max-width: 200px;
    }
    
    .filtros-botoes {
        flex-wrap: wrap;
    }
    
    .filtro-btn {
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .anuncios-grid {
        grid-template-columns: 1fr;
    }
    
    .filtros-botoes {
        flex-direction: column;
    }
    
    .dropdown-content {
        position: fixed !important;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        z-index: index;
    }

    .dropdown-content.show{
        top: 470px;
    }

    .dropdown-content.show.localizacao-dropdown{
        top: 520px;
    }

    .dropdown-content.show.filtro-dropdown{
        top: 570px;
    }
}

@media (max-width: 576px) {
    .anuncios-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ajuste dos botões de filtro para mobile */
    .filtros-botoes {
        flex-direction: row; /* Mantém na mesma linha */
        flex-wrap: nowrap; /* Não quebra linha */
        gap: 8px; /* Espaço menor entre botões */
        justify-content: space-between; /* Distribui igualmente */
        width: 100%;
    }
    
    .filtro-btn {
        flex: 1; /* Cada botão ocupa espaço igual */
        min-width: 0; /* Permite encolher */
        padding: 0 10px; /* Padding horizontal reduzido */
        height: 48px; /* Altura um pouco menor */
        font-size: 0.85rem; /* Fonte menor */
        white-space: nowrap; /* Evita quebra de texto */
        overflow: hidden;
        text-overflow: ellipsis; /* Adiciona "..." se texto muito longo */
    }
    
    .filtro-btn i {
        font-size: 0.9rem; /* Ícones menores */
    }
    
    /* Ajusta a área de filtros ativos */
    .filtros-ativos {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 15px;
    }
    
    .dropdown-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
    }

    .social-links {
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        padding-left: 25px;
    }
}

/* Popup para Vendedores */
.vendedor-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.vendedor-popup.hide {
    animation: slideOut 0.3s ease-out forwards;
}

.popup-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 300px;
    position: relative;
    border-left: 4px solid var(--secondary-color);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.popup-close:hover {
    color: var(--text-color);
}

.popup-content p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.popup-content p:first-child {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.popup-progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    animation: progressBar 10s linear forwards;
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

@media (max-width: 576px) {
    .vendedor-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .popup-content {
        min-width: auto;
    }
}