/* Enhanced Product Cards - Additional Styles */

/* Stock Indicators */
.stock-indicator {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 8px;
    margin-top: 6px;
    display: inline-block;
}

.stock-high {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stock-low {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stock-out {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Star Ratings */
.star-filled {
    color: #FFC107;
}

.star-empty {
    color: var(--gray-300);
}

/* Section Headers */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        text-align: left;
    }
}

.section-header > div:first-child {
    flex: 1;
}

.section-header > div:first-child .section-subtitle {
    margin: 0.5rem 0 0;
}

/* Enhanced Hero Section */
.hero-slider {
    position: relative;
}

.hero-fallback {
    background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal) 50%, var(--teal-light) 100%);
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Promo Cards */
.promo-banners {
    padding: 3rem 0;
    background: var(--white);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.promo-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.promo-content {
    flex: 1;
}

.promo-label {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.promo-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.promo-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
}

.promo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.promo-icon svg {
    width: 40px;
    height: 40px;
    color: var(--teal);
}

/* No Products State */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-200);
}

.no-products svg {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-products p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Enhanced Category Hero */
.category-hero {
    background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal) 55%, var(--teal-light) 100%);
    padding: 2.5rem 0;
    color: var(--white);
}

.category-hero-inner {
    text-align: center;
}

.category-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.category-hero p {
    max-width: 600px;
    margin: 0 auto 1rem;
    opacity: 0.9;
}

.category-hero-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Category Toolbar */
.category-toolbar {
    margin-bottom: 2rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-group select,
.filter-group input {
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    min-width: 150px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 173, 198, 0.1);
}

.filter-checkbox {
    flex-direction: row;
    align-items: center;
    padding-top: 1.5rem;
}

.filter-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select,
    .filter-group input {
        min-width: 100%;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
}

/* Empty States */
.empty-results {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-results svg {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.empty-results p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Featured/Sale Sections */
.featured-section,
.sale-section {
    padding: 4rem 0;
}

.featured-section {
    background: var(--white);
}

/* Enhanced Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform var(--transition);
}

.benefit-item:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--teal-bg) 0%, rgba(0, 173, 198, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    transition: all var(--transition);
}

.benefit-item:hover .benefit-icon {
    background: var(--teal);
    color: var(--white);
    transform: scale(1.1);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition);
    color: var(--text-primary);
}

.page-link:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

.page-link.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.page-link.prev,
.page-link.next {
    padding: 10px 20px;
}

/* Products CTA */
.products-cta {
    text-align: center;
    margin-top: 2.5rem;
}