/*======================================================================
# ROUPAS.CSS - Estilos para páginas de produtos
======================================================================*/

/*----------------------------------------------------------------------
# FILTROS SIDEBAR
----------------------------------------------------------------------*/
.filtro-wrapper {
    position: sticky;
    top: 20px;
}

.filtro-container {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.filtro-titulo {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff69b4;
}

.filtro-item {
    margin-bottom: 10px;
}

.filtro-item a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filtro-item a:hover {
    background: #fff0f5;
    color: #ff69b4;
    transform: translateX(5px);
}

.filtro-item a.active {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    font-weight: 500;
}

.filtro-item a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/*----------------------------------------------------------------------
# OPÇÕES DE TAMANHO (FILTRO)
----------------------------------------------------------------------*/
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.size-checkbox {
    display: none;
}

.size-label {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    color: #666;
    min-width: 45px;
    text-align: center;
}

.size-label:hover {
    border-color: #ff69b4;
    background: #fff0f5;
    transform: translateY(-2px);
}

.size-checkbox:checked + .size-label {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-color: #ff1493;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

/*----------------------------------------------------------------------
# SEÇÃO DE PRODUTOS
----------------------------------------------------------------------*/
.new-arrivals-section {
    padding: 20px 0;
}

.section-title-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title-left {
    flex: 1;
}

.fancy-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fancy-title i {
    color: #ff69b4;
}

.new-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.title-underline {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    border-radius: 2px;
}

/*----------------------------------------------------------------------
# DROPDOWN DE ORDENAÇÃO
----------------------------------------------------------------------*/
.ordenar-dropdown {
    position: relative;
}

.ordenar-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.ordenar-btn:hover {
    border-color: #ff69b4;
    color: #ff69b4;
}

.ordenar-btn i {
    color: #ff69b4;
}

.ordem-atual {
    font-weight: 600;
    color: #333;
}

.ordenar-opcoes {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.ordenar-opcoes.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ordenar-opcoes a {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.ordenar-opcoes a:hover {
    background: #fff0f5;
    color: #ff69b4;
}

/*----------------------------------------------------------------------
# CARDS DE PRODUTOS
----------------------------------------------------------------------*/
.bloco {
    margin-bottom: 30px;
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.borda-double {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.card-img-top {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*----------------------------------------------------------------------
# TAMANHOS NO CARD
----------------------------------------------------------------------*/
.tamanhos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tamanho {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 35px;
    text-align: center;
}

.tamanho:hover {
    background: #ff69b4;
    border-color: #ff69b4;
    color: white;
    transform: scale(1.05);
}

.tamanho.indisponivel {
    background: #f0f0f0;
    color: #999;
    text-decoration: line-through;
    cursor: not-allowed;
    pointer-events: none;
}

/*----------------------------------------------------------------------
# PREÇO E BOTÕES
----------------------------------------------------------------------*/
.preco-destaque {
    font-size: 24px;
    font-weight: 700;
    color: #ff69b4;
    margin-bottom: 15px;
    margin-top: auto;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-comprar {
    flex: 1;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #ff1493, #c71585);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
    color: white;
}

/*----------------------------------------------------------------------
# FILTROS MOBILE
----------------------------------------------------------------------*/
.mobile-filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-filter-btn {
    flex: 1;
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-filter-btn:hover,
.mobile-filter-btn:focus {
    border-color: #ff69b4;
    color: #ff69b4;
    background: #fff0f5;
}

.mobile-filter-btn i {
    font-size: 16px;
}

.mobile-filter-panel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-filter-title i {
    color: #ff69b4;
}

.mobile-sort-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-sort-option:hover {
    background: #fff0f5;
    color: #ff69b4;
}

.mobile-sort-option i {
    color: #ff69b4;
}

/*----------------------------------------------------------------------
# RESPONSIVE
----------------------------------------------------------------------*/
@media (max-width: 768px) {
    .card-img-top {
        height: 200px;
    }
    
    .fancy-title {
        font-size: 22px;
    }
    
    .preco-destaque {
        font-size: 20px;
    }
    
    .card-title {
        font-size: 14px;
        min-height: 35px;
    }
    
    .btn-comprar {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .section-title-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 180px;
    }
    
    .new-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
}

/*----------------------------------------------------------------------
# ANIMAÇÕES
----------------------------------------------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bloco {
    animation: fadeInUp 0.5s ease;
}

/*----------------------------------------------------------------------
# MENSAGEM SEM PRODUTOS
----------------------------------------------------------------------*/
.alert {
    border-radius: 12px;
    border: none;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
    color: #0277bd;
}

.alert h4 {
    color: #01579b;
    font-weight: 700;
    margin-bottom: 10px;
}

.alert p {
    color: #0288d1;
    margin-bottom: 0;
}

.alert .btn-primary {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border: none;
    padding: 10px 24px;
    font-weight: 600;
}

.alert .btn-primary:hover {
    background: linear-gradient(135deg, #ff1493, #c71585);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}