/* Mobile Product Grid Layout - Custom Styles */
.mobile-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.mobile-product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 100%;
}

.mobile-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.mobile-product-card .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.mobile-product-card .product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 4px;
}

.mobile-product-card .product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    max-width: 100%;
    height: 36px;
}

.mobile-product-card .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 8px;
}

.mobile-product-card .product-original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.mobile-product-card .product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.mobile-product-card .stars {
    color: #ffa500;
    margin-right: 8px;
    font-size: 14px;
}

.mobile-product-card .rating-count {
    font-size: 12px;
    color: #666;
}

.mobile-product-card .product-specs {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.3;
}

.mobile-product-card .product-actions {
    display: flex;
    gap: 10px;
}

.mobile-product-card .btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.mobile-product-card .btn-add-cart:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.mobile-product-card .btn-wishlist {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-product-card .btn-wishlist:hover {
    background: #e5e7eb;
    color: #ef4444;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 10px;
    }
    
    .mobile-product-card {
        padding: 12px;
    }
    
    .mobile-product-card .product-image {
        height: 150px;
    }
    
    .mobile-product-card .product-name {
        font-size: 14px;
    }
    
    .mobile-product-card .product-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .mobile-product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mobile-product-card .product-image {
        height: 180px;
    }
}

/* Section Header Styling */
.mobile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.mobile-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.mobile-section-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-section-link:hover {
    color: #0056b3;
    text-decoration: none;
}