/* ============================================================================
   FEATURED PRODUCTS SECTION
============================================================================ */
.featured-products-section {
    padding: 60px 0;
    background: var(--bg);
}

.featured-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.featured-products-title-group {
    flex: 1;
}

.featured-products-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.featured-products-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.featured-products-view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
    white-space: nowrap;
    margin-left: 20px;
}

.featured-products-view-all:hover {
    opacity: 0.8;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ============================================================================
   BRANDS SECTION
============================================================================ */
.brands-section {
    padding: 60px 0;
    background: var(--bg);
}

.brands-header {
    margin-bottom: 40px;
    text-align: center;
}

.brands-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brands-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.brands-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.brand-box {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.brand-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.no-brands-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

/* Mobile responsive styles for brands */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 40px 0;
    }

    .brands-title {
        font-size: 28px;
    }

    .brands-subtitle {
        font-size: 14px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .brand-box {
        padding: 16px 12px;
        font-size: 12px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================================
   SHOP BY CATEGORY SECTION
============================================================================ */
.shop-by-category-section {
    padding: 60px 0;
    background: var(--bg);
}

.shop-by-category-header {
    margin-bottom: 40px;
    text-align: center;
}

.shop-by-category-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-by-category-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.shop-by-category-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.shop-by-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.category-card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.category-card-icon-wrapper--circular {
    border-radius: 50%;
}

.category-card-icon {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: white;
}

.category-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 6px 0;
}

.category-card-count {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Mobile responsive styles for shop by category */
@media (max-width: 1024px) {
    .shop-by-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .shop-by-category-section {
        padding: 40px 0;
    }

    .shop-by-category-title {
        font-size: 28px;
    }

    .shop-by-category-subtitle {
        font-size: 14px;
    }

    .shop-by-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .category-card {
        padding: 20px 12px;
        min-height: 150px;
    }

    .category-card-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .category-card-icon {
        width: 24px;
        height: 24px;
    }

    .category-card-name {
        font-size: 15px;
    }

    .category-card-count {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .shop-by-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card {
        min-height: 160px;
    }
}

/* ============================================================================
   FEATURED PRODUCTS PAGE
============================================================================ */
.featured-products-page {
    padding: 40px 0 60px;
}

.featured-products-page-header {
    margin-bottom: 40px;
}

.featured-products-page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.featured-products-page-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.featured-products-page .featured-products-grid {
    margin-bottom: 40px;
}
