/* Homepage Modern Redesign - Amazon Style */

.hero-banner {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-container {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    color: var(--text-main);
}

.see-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Horizontal Scroll for Sections on Desktop */
.product-row-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.product-row-scroll::-webkit-scrollbar {
    height: 6px;
}

.product-row-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.product-row-scroll .product-card {
    min-width: 220px;
    flex: 0 0 auto;
}

/* Redefined Product Card for Redesign */
.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.add-to-cart-btn {
    width: 100%;
    background: #FFD814;
    border: 1px solid #FCD200;
    padding: 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background: #F7CA00;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-banner {
        height: 180px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .product-row-scroll {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        overflow-x: visible;
    }

    .product-row-scroll .product-card {
        min-width: 0;
    }
}