/* Shop By Category Section Styles */

#shop-by-category-section {
    background: #ffffff;
    padding: 4rem 1rem;
    text-align: center;
}

#shop-by-category-section .section-title {
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 767px) {
    #shop-by-category-section .section-title {
        font-size: 2rem;
    }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.category-card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #d97706;
}

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.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 {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.category-info h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.category-description {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.shop-now-btn {
    display: inline-block;
    background-color: #d97706;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.shop-now-btn:hover {
    background-color: #b45309;
}