/* Estilos específicos para la página de hombres */

/* Breadcrumb */
.breadcrumb {
    padding: 15px 5%;
    background-color: var(--accent);
    font-size: 0.9rem;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
    color: #888;
}

/* Hero de categoría */
.category-hero {
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?ixlib=rb-4.0.3') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: var(--white);
}

.category-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.category-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.category-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 25px;
}

/* Filtros y ordenación */
.filters-section {
    padding: 30px 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.filter-group {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.filter-group h3 {
    margin-right: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.filter-options {
    display: flex;
    gap: 15px;
}

.filter-option {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-option:hover, .filter-option.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: var(--white);
    font-size: 0.9rem;
}

/* Productos */
.products-section {
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.discount {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.add-to-cart {
    padding: 8px 15px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-grow: 1;
    margin-right: 10px;
}

.add-to-cart:hover {
    background-color: var(--secondary);
}

.wishlist-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive específico para página de hombres */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .filters-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-group {
        margin-bottom: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-wrap: wrap;
    }
}