.product-image {
    height: 550px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Catalog Page Styles */
.page-banner {
    background: url('BannerC.png') no-repeat center center/cover;
    height: 500px; /* Ajusta la altura según necesites */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.logo img {
    height: 50px;  /* Ajusta el tamaño según necesites */
    width: auto;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-banner p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.catalog-section {
    padding: 3rem 0 5rem;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-right: 0.5rem;
    color: var(--gray);
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    background-color: white;
}

.search-box {
    display: flex;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
}

.search-box input {
    padding: 0.5rem 1rem;
    border: none;
    width: 250px;
}

.search-box button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.catalog-sidebar {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    height: fit-content;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.filter-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.filter-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.filter-list input[type="checkbox"] {
    margin-right: 0.8rem;
}

.price-range {
    margin-top: 1.5rem;
}

.price-range input[type="range"] {
    width: 100%;
    margin-bottom: 1rem;
}

.price-values {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
}

.catalog-products {
    display: flex;
    flex-direction: column;
}

.product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stock {
    font-size: 0.9rem;
}

.in-stock {
    color: var(--primary);
}

.low-stock {
    color: var(--accent);
}

.rating {
    color: #FFD700;
    font-size: 0.9rem;
}

.product-actions {
    display: grid;
    gap: 0.5rem;
}

.btn-view-details {
    padding: 0.8rem;
    background-color: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    display: block;
}

.btn-view-details:hover {
    background-color: var(--secondary);
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0.3rem;
    border-radius: 5px;
    color: var(--gray);
    border: 1px solid var(--light-gray);
    transition: all 0.3s;
}

.pagination a.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination a:hover:not(.active) {
    background-color: var(--light-gray);
}

.pagination a.next {
    width: auto;
    padding: 0 1rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .catalog-sidebar {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 576px) {
    .pagination a {
        width: 35px;
        height: 35px;
    }
}