/* Category Page Styles */

.category-section {
    padding: 2rem 2rem; /* Added left and right padding */
    background: #f8f9fa;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.category-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.category-product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
    padding: 1.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-product-card:hover {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.15);
    transform: translateY(-4px) scale(1.02);
}

.category-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
}

.category-product-price {
    color: #27ae60;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-product-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.category-product-image-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
    margin-bottom: 1rem;
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(44,62,80,0.06);
}

.category-product-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s;
}

.category-product-link:hover .category-product-image {
    transform: scale(1.05);
}

.category-product-btn {
    margin-top: 1rem;
    background: linear-gradient(135deg, #27ae60, #3498db);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
}

.category-product-btn:hover {
    background: linear-gradient(135deg, #3498db, #27ae60);
    box-shadow: 0 4px 16px rgba(44,62,80,0.12);
}

@media (max-width: 768px) {
    .category-products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .category-section {
        padding: 1rem 1rem; /* Added left and right padding for mobile */
    }
} 