/**
 * Best Selling Component Styles
 * Grid layout and section-specific styles only
 * Product card styles are in product-card.css
 */

/* ============================================================================
   BEST SELLING SECTION
   ========================================================================== */

.best-selling-section {
    padding: 3rem 0;
    background-color: white;
}

.best-selling-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================================================
   HEADER
   ========================================================================== */

.best-selling-header {
    text-align: center;
    margin-bottom: 2rem;
}

.best-selling-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-grey);
    margin: 0;
}

/* ============================================================================
   PRODUCT GRID
   ========================================================================== */

.best-selling-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ============================================================================
   VIEW MORE BUTTON
   ========================================================================== */

.best-selling-view-more {
    text-align: center;
}

.best-selling-view-more-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--forest-green) !important;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(93, 110, 79, 0.2);
    border: none;
}

.best-selling-view-more-button:hover {
    background-color: var(--dark-green-grey) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(93, 110, 79, 0.3);
}

.best-selling-empty {
    text-align: center;
    color: #868e96;
    font-size: 1.125rem;
    padding: 3rem 1rem;
}

/* ============================================================================
   TABLET (768px+)
   ========================================================================== */

@media (min-width: 768px) {
    .best-selling-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .best-selling-title {
        font-size: 2.5rem;
    }
}

/* ============================================================================
   DESKTOP (1024px+)
   ========================================================================== */

@media (min-width: 1024px) {
    .best-selling-section {
        padding: 4rem 0;
    }

    .best-selling-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .best-selling-header {
        margin-bottom: 3rem;
    }
}

/* ============================================================================
   LARGE DESKTOP (1440px+)
   ========================================================================== */

@media (min-width: 1440px) {
    .best-selling-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.5rem;
    }

    .best-selling-title {
        font-size: 3rem;
    }
}
