/* ============================================
   SHOP PAGE - Amazon/Alibaba Style
   Modern E-commerce Layout
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #1677FF;
    --primary-dark: #0958D9;
    --accent-color: #FF6B35;
    --danger-color: #FF4D4F;
    --success-color: #52C41A;
    --text-primary: #1a1a2e;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e5e5e5;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ============================================
   Base Styles
   ============================================ */
.shop-page {
    background: #f6f7f8;
    min-height: 100vh;
    padding-bottom: 80px;
}

.shop-container {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    gap: 0;
}

/* ============================================
   Mobile Category Bar
   ============================================ */
.mobile-category-bar {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 50px;
    z-index: 90;
    padding: 12px 0;
}

.category-chips-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-chips-container::-webkit-scrollbar {
    display: none;
}

.mobile-category-bar .category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.mobile-category-bar .category-chip:hover {
    background: #e8e8e8;
    color: var(--text-primary);
}

.mobile-category-bar .category-chip.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.mobile-category-bar .category-chip i {
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .mobile-category-bar {
        display: block;
    }
}

/* ============================================
   Sidebar
   ============================================ */
.shop-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 50px;
    height: calc(100vh - 50px);
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.sidebar-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-header h3 i {
    color: var(--primary-color);
}

.sidebar-close {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.sidebar-close:hover {
    background: #e8e8e8;
    color: var(--text-primary);
}

.sidebar-content {
    padding: 0;
}

.filter-section {
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-header {
    padding: 16px 20px 12px;
}

.filter-header h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0 0 16px 0;
    margin: 0;
}

.category-list li {
    margin: 0;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.category-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.category-link.active {
    background: linear-gradient(90deg, rgba(22, 119, 255, 0.08) 0%, transparent 100%);
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
}

.category-icon {
    width: 24px;
    text-align: center;
    color: var(--text-muted);
}

.category-link.active .category-icon {
    color: var(--primary-color);
}

.category-name {
    flex: 1;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
}

.category-link.active .category-count {
    background: var(--primary-color);
    color: #fff;
}

/* Price Form */
.price-form {
    padding: 0 20px 20px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.price-input-group {
    flex: 1;
    position: relative;
}

.price-symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-input {
    width: 100%;
    padding: 10px 10px 10px 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.price-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.price-divider {
    color: var(--text-muted);
}

.price-apply-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.price-apply-btn:hover {
    background: var(--primary-dark);
}

.price-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    margin-top: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.price-clear-btn:hover {
    background: #f5f5f5;
    color: var(--danger-color);
}

/* Supplier List */
.supplier-list {
    list-style: none;
    padding: 0 0 16px 0;
    margin: 0;
}

.supplier-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.supplier-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.supplier-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

.verified-icon {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.sidebar-overlay.active {
    opacity: 1;
}

/* ============================================
   Main Content
   ============================================ */
.shop-main {
    flex: 1;
    min-width: 0;
    padding: 20px;
    background: #f6f7f8;
}

/* Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f5f5f5;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-toggle-btn:hover {
    background: #e8e8e8;
    color: var(--text-primary);
}

.breadcrumb-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.shop-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.shop-breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb-sep {
    color: var(--text-muted);
}

.shop-breadcrumb .current {
    color: var(--text-secondary);
}

.shop-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.results-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-dropdown label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.sort-dropdown select {
    padding: 10px 32px 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    cursor: pointer;
    min-width: 160px;
    transition: border-color var(--transition-fast);
}

.sort-dropdown select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ============================================
   Products Grid
   ============================================ */
.products-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    background: #fafafa;
    overflow: hidden;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
}

.product-badge.hot {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F5E 100%);
    color: #fff;
}

.product-badge.discount {
    background: var(--danger-color);
    color: #fff;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-fast);
    z-index: 5;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: scale(1);
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background: #fff0f0;
}

.wishlist-btn:hover i,
.wishlist-btn.active i {
    color: var(--danger-color);
}

.wishlist-btn i {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Product Info */
.product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-supplier {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.product-supplier .supplier-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.verified-badge {
    color: var(--primary-color);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.product-title-link {
    text-decoration: none;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
    transition: color var(--transition-fast);
}

.product-title-link:hover .product-title {
    color: var(--primary-color);
}

.product-rating {
    display: none;
}

.product-rating .stars {
    display: flex;
    gap: 1px;
}

.product-rating .stars i {
    font-size: 0.75rem;
    color: #ffc107;
}

.product-rating .rating-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.current-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--danger-color);
}

.original-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-moq {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-moq .moq-label {
    color: var(--text-secondary);
}

.product-actions {
    margin-top: auto;
}

.btn-add-cart {
    width: 100%;
    padding: 10px 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-add-cart i {
    font-size: 1rem;
}

.btn-whatsapp-shop {
    width: 100%;
    padding: 10px 12px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    margin-top: 8px;
}

.btn-whatsapp-shop:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

.btn-whatsapp-shop i {
    font-size: 1rem;
}

/* ============================================
   No Products State
   ============================================ */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: var(--radius-md);
}

.no-products-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-products-icon i {
    font-size: 2.5rem;
    color: var(--text-muted);
}

.no-products h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.no-products p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.btn-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: background var(--transition-fast);
}

.btn-clear-filters:hover {
    background: var(--primary-dark);
}

/* ============================================
   Pagination
   ============================================ */
.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination-container .pagination {
    margin: 0;
    gap: 4px;
}

.pagination-container .page-item .page-link {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.pagination-container .page-item .page-link:hover {
    background: #f5f5f5;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-container .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ============================================
   Mobile Bottom Bar
   ============================================ */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

.mobile-bottom-bar .mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.7rem;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.mobile-bottom-bar .mobile-bar-btn:hover,
.mobile-bottom-bar .mobile-bar-btn.active {
    color: var(--primary-color);
}

.mobile-bottom-bar .mobile-bar-btn i {
    font-size: 1.3rem;
}

.cart-count-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 16px);
    background: var(--danger-color);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .mobile-bottom-bar {
        display: flex;
    }
    
    .shop-page {
        padding-bottom: 140px;
    }
}

/* ============================================
   Bottom Sheet
   ============================================ */
.bottom-sheet {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
}

.bottom-sheet.active {
    display: block;
}

.sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.sheet-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    max-height: 60vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.sheet-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.sheet-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.sheet-close:hover {
    background: #e8e8e8;
}

.sheet-content {
    padding: 16px 0;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.sort-option:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.sort-option.active {
    background: rgba(22, 119, 255, 0.08);
    color: var(--primary-color);
    font-weight: 500;
}

.sort-option i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 99;
    color: var(--text-secondary);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.back-to-top i {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .back-to-top {
        bottom: 150px;
        right: 15px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Desktop */
@media (min-width: 1400px) {
    .products-section {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Tablet */
@media (max-width: 1199.98px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100vh;
        z-index: 999;
        transition: left var(--transition-normal);
    }
    
    .shop-sidebar.active {
        left: 0;
    }
    
    .sidebar-close {
        display: flex;
    }
    
    .sidebar-overlay {
        display: block;
        pointer-events: none;
    }
    
    .sidebar-overlay.active {
        pointer-events: auto;
    }
    
    .filter-toggle-btn {
        display: flex;
    }
    
    .products-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape */
@media (max-width: 767.98px) {
    .shop-main {
        padding: 12px;
    }
    
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }
    
    .toolbar-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .toolbar-right {
        justify-content: flex-end;
    }
    
    .sort-dropdown select {
        min-width: 140px;
        font-size: 0.85rem;
    }
    
    .products-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-image-wrapper {
        aspect-ratio: 4/3;
    }
    
    .product-info {
        padding: 8px;
    }
    
    .product-supplier {
        margin-bottom: 4px;
    }
    
    .product-supplier .supplier-name {
        font-size: 0.65rem;
        max-width: 70px;
    }
    
    .verified-badge {
        font-size: 0.7rem;
    }
    
    .product-title {
        font-size: 0.75rem;
        margin-bottom: 4px;
        -webkit-line-clamp: 1;
        min-height: auto;
    }
    
    .product-rating {
        margin-bottom: 4px;
    }
    
    .product-rating .stars i {
        font-size: 0.65rem;
    }
    
    .product-rating .rating-count {
        font-size: 0.65rem;
    }
    
    .product-price {
        margin-bottom: 4px;
    }
    
    .current-price {
        font-size: 0.9rem;
    }
    
    .original-price {
        font-size: 0.7rem;
    }
    
    .product-moq {
        font-size: 0.6rem;
        margin-bottom: 6px;
    }
    
    .btn-add-cart {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
}

/* Small Mobile */
@media (max-width: 479.98px) {
    .products-section {
        gap: 6px;
    }
    
    .product-image-wrapper {
        aspect-ratio: 1/1;
    }
    
    .product-info {
        padding: 6px;
    }
    
    .product-badge {
        padding: 2px 5px;
        font-size: 0.55rem;
    }
    
    .wishlist-btn {
        width: 26px;
        height: 26px;
    }
    
    .wishlist-btn i {
        font-size: 0.8rem;
    }
    
    .product-supplier {
        display: none;
    }
    
    .product-title {
        font-size: 0.7rem;
    }
    
    .product-rating {
        display: none;
    }
    
    .current-price {
        font-size: 0.85rem;
    }
    
    .product-moq {
        font-size: 0.55rem;
    }
    
    .btn-add-cart {
        padding: 5px 6px;
        font-size: 0.65rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .products-section {
        gap: 4px;
    }
    
    .product-image-wrapper {
        aspect-ratio: 3/4;
    }
    
    .product-info {
        padding: 5px;
    }
    
    .product-title {
        font-size: 0.65rem;
    }
    
    .current-price {
        font-size: 0.8rem;
    }
    
    .btn-add-cart {
        padding: 4px 5px;
        font-size: 0.6rem;
    }
}

/* ============================================
   LOAD MORE BUTTON - Modern Style
   ============================================ */
.load-more-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    gap: 12px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #1677FF 0%, #0958D9 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(22, 119, 255, 0.35);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 119, 255, 0.5);
    background: linear-gradient(135deg, #4096FF 0%, #1677FF 100%);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn .btn-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn .btn-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.load-more-btn.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(22, 119, 255, 0.35); }
    50% { box-shadow: 0 4px 24px rgba(22, 119, 255, 0.6); }
}

.load-progress {
    width: 100%;
    max-width: 300px;
}

.load-progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
}

.load-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1677FF, #0958D9);
    border-radius: 20px;
    transition: width 0.3s ease;
}

.load-progress-label {
    font-size: 0.8rem;
    color: #666;
}

.load-end-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 0.85rem;
    padding: 12px 24px;
    background: #f9f9f9;
    border-radius: 50px;
}
