/* Catalog Page Styles */
.catalog-page {
    padding: 60px 0;
}

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

/*.category-card:hover {
    transform: translateY(-5px);
}*/

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-image {
    height: 342px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-info {

}

.category-name {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 30px;
}

.category-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-count {
    color: #999;
    font-size: 0.85rem;
}

.subcategories {
    padding-top: 36px;
}

.subcategories-list {
    display: grid;
    gap: 16px;
    padding-left: 10px;
}

.subcategories-list li {
    list-style: inside;
}

.subcategories-list a {
    color: #666;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 133.333%;
}

.subcategories-list a:hover {
    color: #FB4C3B;
}

.subcategories-list .count {
    color: #999;
    font-size: 0.8rem;
}

.view-all-subcategories {
    display: inline-block;
    margin-top: 8px;
    color: #007cba;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-all-subcategories:hover {
    text-decoration: underline;
}

.featured-categories {
    margin-top: 60px;
}

.featured-category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
}

.featured-category-link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
}

.featured-category-image {
    width: 100%;
    height: 100%;
}

.featured-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.featured-category-card:hover .featured-category-overlay {
    transform: translateY(0);
}

.featured-category-card:hover .featured-category-image img {
    transform: scale(1.1);
}

.featured-category-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.featured-product-count {
    font-size: 0.85rem;
    opacity: 0.9;
}

.categories-title {
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .category-info {
        padding: 15px;
    }
    
    .featured-category-card {
        height: 150px;
    }
    
    .catalog-page {
        padding: 40px 0;
    }
    
    .category-name {
        font-size: 24px;
    }
    
    .subcategories {
        padding: 12px 15px 15px;
    }
}

@media (max-width: 576px) {
    
    .featured-category-card {
        height: 120px;
    }
    
    .category-info {
        padding: 12px;
    }
    
    .category-name {
        font-size: 20px;
    }
    
    .featured-category-overlay {
        padding: 15px 10px 10px;
    }
    
    .featured-category-name {
        font-size: 0.9rem;
    }
    
    .featured-product-count {
        font-size: 0.8rem;
    }
} 