#products { 
    padding: 20px 12px; 
    background: #f5f7fb; 
}

/* ===== SECTION HEADER (Just For You) ===== */
.product-section-header {
    max-width: 1240px;
    margin: 0 auto 20px auto;
    padding: 0 0 10px 0;
    border-bottom: 2px solid #f4a51c;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.section-title:before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #f4a51c;
    border-radius: 2px;
}

/* Desktop: 5 cards per row with max-width 1240px */
.products-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 16px; 
    max-width: 1240px;
    margin: 0 auto;
}

/* Tablet: 3 cards */
@media (max-width: 1024px) {
    .products-grid { 
        grid-template-columns: repeat(3, 1fr); 
        max-width: 100%;
    }
    .product-section-header {
        max-width: 100%;
        margin: 0 0 20px 0;
        padding: 0 8px 10px 8px;
    }
}

/* Mobile: 2 cards */
@media (max-width: 768px) {
    .products-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px;
        max-width: 100%;
    }
    #products {
        padding: 12px 8px;
    }
    .product-section-header {
        max-width: 100%;
        margin: 0 0 15px 0;
        padding: 0 4px 8px 4px;
    }
    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 8px;
    }
    .section-title {
        font-size: 18px;
    }
}

/* ===== LOAD MORE BUTTON STYLES ===== */
.load-more-container {
    max-width: 1240px;
    margin: 30px auto 10px auto;
    text-align: center;
    padding: 15px 0;
}

.btn-load-more {
    background: transparent;
    border: 2px solid #f4a51c;
    color: #f4a51c;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.btn-load-more:hover {
    background: #f4a51c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 165, 28, 0.3);
}

.btn-load-more:active {
    transform: translateY(0);
}

/* Load More Mobile Adjustments */
@media (max-width: 768px) {
    .load-more-container {
        margin: 25px auto 15px auto;
        padding: 10px 0;
    }
    .btn-load-more {
        padding: 10px 28px;
        font-size: 14px;
        width: auto;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .load-more-container {
        margin: 20px auto 10px auto;
        padding: 8px 0;
    }
    .btn-load-more {
        padding: 8px 24px;
        font-size: 13px;
        min-width: 120px;
    }
}

/* Product Card */
.product-card { 
    background: #fff; 
    border-radius: 10px; 
    padding: 12px 10px 14px 10px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #f4a51c;
}

/* Product Image */
.product-image { 
    width: 100%; 
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    background: #faf9f8;
    padding: 8px;
    margin: 0 0 8px 0;
}

/* Title */
.product-title { 
    font-size: 15px; 
    font-weight: 600;
    color: #1a1a2e; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none; 
    margin: 6px 0 8px 0;
    min-height: 42px;
    line-height: 1.4;
}

.product-title:hover {
    color: #f4a51c;
}

/* Icons row */
.product-icon-list { 
    display: flex; 
    flex-wrap: wrap;
    gap: 6px; 
    margin-bottom: 10px; 
    align-items: center;
}

.badge-icon { 
    height: 25px; 
    width: auto; 
    object-fit: contain;
}

/* Price Box */
.price-box { 
    display: flex; 
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px; 
    margin: 8px 0 8px 0;
}

.price { 
    color: #f4a51c; 
    font-weight: 800; 
    font-size: 18px; 
}

.old-price { 
    color: #999; 
    font-size: 13px; 
    text-decoration: line-through; 
    font-weight: 500;
}

.discount { 
    background: #b30c14; 
    color: #fff; 
    font-size: 12px; 
    padding: 3px 8px; 
    border-radius: 20px; 
    font-weight: 700;
}

/* Rating Box */
.rating-box { 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap;
    gap: 8px; 
    font-size: 13px; 
    color: #555; 
    margin: 8px 0 6px;
}

.stars {
    display: inline-flex;
    gap: 3px;
    font-size: 12px;
}

.rating-val {
    font-weight: 700;
    color: #333;
}

.sold-count {
    color: #777;
    font-size: 12px;
}

/* Location & Delivery - Left Aligned */
.location-box { 
    font-size: 13px; 
    color: #4a5568; 
    margin: 10px 0 14px 0; 
    display: flex; 
    align-items: center; 
    gap: 6px;
    flex-wrap: wrap;
    white-space: normal;
    justify-content: flex-start;
    width: 100%;
}

.location-box i {
    flex-shrink: 0;
    color: #f4a51c;
    font-size: 12px;
}

/* Buttons */
.btn-group { 
    display: flex; 
    gap: 8px; 
    margin-top: auto;
    width: 100%;
}

.btn-wish { 
    flex: 0.85;
    padding: 10px 4px;
    border-radius: 8px; 
    font-size: 12px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    font-weight: 700;
    transition: all 0.2s ease;
    height: 40px;
    background: #fff; 
    border: 1.5px solid #f4a51c; 
    color: #f4a51c;
    white-space: nowrap;
}

.btn-cart { 
    flex: 1.15;
    padding: 10px 6px;
    border-radius: 8px; 
    font-size: 12px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    font-weight: 700;
    transition: all 0.2s ease;
    height: 40px;
    background: #f4a51c; 
    border: none; 
    color: white;
    white-space: nowrap;
}

.btn-wish:hover {
    background: #fef5e8;
}

.btn-cart:hover {
    background: #e68a00;
    transform: scale(0.97);
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .product-image {
        padding: 6px;
    }
    
    .product-title {
        font-size: 13px;
        min-height: 36px;
    }
    
    .badge-icon {
        height: 18px;
    }
    
    .price {
        font-size: 16px;
    }
    
    .old-price {
        font-size: 11px;
    }
    
    .discount {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .rating-box {
        font-size: 11px;
    }
    
    .stars {
        font-size: 10px;
    }
    
    .sold-count {
        font-size: 10px;
    }
    
    .location-box {
        font-size: 11px;
        margin: 8px 0 12px;
    }
    
    .location-box i {
        font-size: 10px;
    }
    
    .btn-wish {
        flex: 0.8;
        height: 34px;
        font-size: 10px;
        padding: 6px 2px;
    }
    
    .btn-cart {
        flex: 1.2;
        height: 34px;
        font-size: 10px;
        padding: 6px 3px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 12px;
        min-height: 34px;
    }
    
    .price {
        font-size: 14px;
    }
    
    .old-price {
        font-size: 10px;
    }
    
    .discount {
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .btn-wish {
        flex: 0.75;
        font-size: 9px;
        gap: 4px;
        height: 32px;
    }
    
    .btn-cart {
        flex: 1.25;
        font-size: 9px;
        gap: 4px;
        height: 32px;
    }
    
    .location-box {
        font-size: 10px;
    }
}