/* Alibaba Clone - Main Stylesheet */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}
:root {
    --primary: #FF0000;
    --primary-hover: #cc0000;
    --dark: #1a1a1a;
    --text: #333;
    --text-light: #767676;
    --text-muted: #999;
    --bg: #f5f5f5;
    --white: #fff;
    --border: #e5e5e5;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --header-bg: linear-gradient(180deg,#232f3e 0%,#1a1a1a 100%);
    --header-top-bg: #232f3e;
    --header-main-bg: #fff;
    --card-bg: #fff;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg: #121212;
    --text: #e0e0e0;
    --text-light: #a0a0a0;
    --text-muted: #808080;
    --white: #1e1e1e;
    --border: #333;
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
    --header-bg: #1a1a1a;
    --header-top-bg: #151515;
    --header-main-bg: #1e1e1e;
    --card-bg: #1e1e1e;
}
[data-theme="dark"] body { background: var(--bg); }
[data-theme="dark"] .header { background: var(--header-bg); }
[data-theme="dark"] .header-top { background: var(--header-top-bg); }
[data-theme="dark"] .language-trigger { color: #ccc; }
[data-theme="dark"] .language-menu { background: #1e1e1e; }
[data-theme="dark"] .language-menu a { color: #e0e0e0; }
[data-theme="dark"] .language-menu a:hover { background: #333; }
[data-theme="dark"] .currency-menu { background: #1e1e1e; }
[data-theme="dark"] .currency-menu a { color: #e0e0e0; }
[data-theme="dark"] .currency-menu a:hover { background: #333; }
[data-theme="dark"] .currency-trigger { color: #ccc; }
[data-theme="dark"] .header-main { background: var(--header-main-bg); border-bottom: 1px solid #333; }
[data-theme="dark"] .header-action { color: #e0e0e0; }
[data-theme="dark"] .search-form { background: #2a2a2a; border-color: var(--primary); }
[data-theme="dark"] .search-category { background: #2a2a2a; color: #e0e0e0; border-color: #444; }
[data-theme="dark"] .search-input { background: transparent; color: #e0e0e0; }
[data-theme="dark"] .search-input::placeholder { color: #888; }
[data-theme="dark"] .main-nav { background: var(--header-main-bg); border-color: #333; }
[data-theme="dark"] .main-nav-item { color: #e0e0e0; }
[data-theme="dark"] .category-dropdown { background: #1e1e1e; }
[data-theme="dark"] .category-dropdown-item:hover { background: #2a2a2a; }
[data-theme="dark"] .category-dropdown-item span { color: #e0e0e0; }
[data-theme="dark"] .logo a { color: var(--primary); }
[data-theme="dark"] .logo-img { filter: brightness(0.9); }
[data-theme="dark"] .theme-toggle { color: #e0e0e0; }
[data-theme="dark"] .theme-toggle:hover { background: #333; }
[data-theme="dark"] .home-hero { background: #0a0a0a; }
[data-theme="dark"] .category-menu-card { background: #1e1e1e; }
[data-theme="dark"] .category-menu-header { background: #2a2a2a; }
[data-theme="dark"] .category-menu-item { border-color: #333; }
[data-theme="dark"] .category-menu-text { color: #e0e0e0; }
[data-theme="dark"] .product-card { background: #1e1e1e; }
[data-theme="dark"] .product-info { background: #1e1e1e; }
[data-theme="dark"] .product-title { color: #e0e0e0; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; width: 100%; }
a { max-width: 100%; word-wrap: break-word; }
input, select, textarea { max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.container { 
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 0 20px; 
    width: 100%;
}
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-input, .form-select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,115,0,0.1); }

/* Header */
.header { background: linear-gradient(180deg,#232f3e 0%,#1a1a1a 100%); position: fixed; top: 0; left: 0; right: 0; z-index: 10000; }
.header-top { background: #232f3e; padding: 8px 0; font-size: 12px; color: #ccc; }
.header-top .container { display: flex; justify-content: space-between; }
.header-top-links { display: flex; gap: 20px; align-items: center; }
.header-top-links a { color: #ccc; }
.header-top-links a:hover { color: var(--primary); }
.language-dropdown { position: relative; }
.language-trigger { display: flex; align-items: center; gap: 6px; cursor: pointer; color: #ccc; }
.language-trigger:hover { color: var(--primary); }
.language-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 140px; padding: 8px 0; z-index: 20000; }
.language-dropdown:hover .language-menu { display: block; }
.language-menu a { display: block; padding: 8px 16px; color: #333; font-size: 13px; }
.language-menu a:hover { background: #f5f5f5; color: var(--primary); }
.currency-dropdown { position: relative; }
.currency-trigger { display: flex; align-items: center; gap: 6px; cursor: pointer; color: #ccc; }
.currency-trigger:hover { color: var(--primary); }
.currency-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 180px; padding: 8px 0; z-index: 20000; max-height: 250px; overflow-y: auto; }
.currency-dropdown:hover .currency-menu { display: block; }
.currency-menu a { display: block; padding: 8px 16px; color: #333; font-size: 13px; }
.currency-menu a.hidden { display: none; }

/* Industralink Desktop Header - 3 Row Structure */
.il-header { background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 99998; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.il-container { max-width: 1440px; margin: 0 auto; padding: 0 20px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.il-container-full { max-width: 100%; padding: 0 20px; }

/* ROW 1: Top Bar */
.il-top-bar { background: #232f3e; padding: 8px 0; font-size: 12px; color: #ccc; }
.il-top-bar .il-container { justify-content: space-between; }
.il-top-left { display: flex; align-items: center; gap: 16px; }
.il-top-right { display: flex; align-items: center; gap: 16px; }
.il-top-link { color: #ccc; text-decoration: none; transition: color 0.2s; }
.il-top-link:hover { color: #fff; }
.il-top-link-highlight { color: #fff; font-weight: 500; }
.il-top-divider { width: 1px; height: 14px; background: #444; }

/* Ship To */
.il-shipto { display: flex; align-items: center; gap: 6px; }
.il-shipto-label { color: #999; }
.il-shipto-btn { background: transparent; border: none; color: #fff; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; transition: background 0.2s; }
.il-shipto-btn:hover { background: rgba(255,255,255,0.1); }
.il-shipto-btn i { font-size: 10px; color: #999; }

/* Language */
.il-language { position: relative; }
.il-language-simple { color: #ccc; font-size: 12px; cursor: default; padding: 4px 8px; }
.il-language-btn { background: transparent; border: none; color: #ccc; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; transition: background 0.2s; }
.il-language-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.il-language-btn i { font-size: 10px; color: #999; }
.il-language-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 140px; padding: 8px 0; z-index: 99999; }
.il-language:hover .il-language-menu { display: block; }
.il-language-menu a { display: block; padding: 8px 16px; color: #333; font-size: 13px; text-decoration: none; }
.il-language-menu a:hover { background: #f5f5f5; color: var(--primary); }
.il-language-menu a.active { color: var(--primary); font-weight: 500; }

/* Currency */
.il-currency { position: relative; }
.il-currency-simple { color: #ccc; font-size: 12px; cursor: default; padding: 4px 8px; }
.il-currency-btn { background: transparent; border: none; color: #ccc; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; transition: background 0.2s; }
.il-currency-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.il-currency-btn i { font-size: 10px; color: #999; }
.il-currency-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 120px; padding: 8px 0; z-index: 99999; }
.il-currency:hover .il-currency-menu { display: block; }
.il-currency-menu a { display: block; padding: 8px 16px; color: #333; font-size: 13px; text-decoration: none; }
.il-currency-menu a:hover { background: #f5f5f5; color: var(--primary); }
.il-currency-menu a.active { color: var(--primary); font-weight: 500; }

/* User Menu */
.il-user-menu { position: relative; }
.il-user-btn { background: transparent; border: none; color: #ccc; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; transition: background 0.2s; }
.il-user-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.il-user-btn i:last-child { font-size: 10px; color: #999; }
.il-user-dropdown { display: none; position: absolute; top: 100%; right: 0; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 180px; padding: 8px 0; z-index: 99999; }
.il-user-menu:hover .il-user-dropdown { display: block; }
.il-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #333; font-size: 13px; text-decoration: none; transition: background 0.2s; }
.il-dropdown-item:hover { background: #f5f5f5; color: var(--primary); }
.il-dropdown-item i { width: 16px; color: #999; }
.il-dropdown-divider { height: 1px; background: #eee; margin: 4px 0; }

/* ROW 2: Main Bar */
.il-main-bar { background: #fff; padding: 12px 0; border-bottom: 1px solid #eee; }
.il-main-bar .il-container { justify-content: space-between; }
.il-logo { flex-shrink: 0; }
.il-logo a { display: block; line-height: 0; }
.il-logo img { height: 65px; width: auto; }
.il-search-area { flex: 1; max-width: 580px; margin: 0 30px; }
.il-search-box { display: flex; border: 2px solid var(--primary); border-radius: 50px; overflow: hidden; background: #fff; }
.il-search-input { width: 100%; padding: 10px 20px; border: none; font-size: 14px; outline: none; background: transparent; }
.il-search-suggestions { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #eee; border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); max-height: 400px; overflow-y: auto; z-index: 99999; margin-top: 4px; }
.il-suggestion-title { padding: 10px 16px; font-size: 11px; color: #999; text-transform: uppercase; font-weight: 600; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.il-suggestion-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #333; font-size: 13px; text-decoration: none; transition: background 0.15s; }
.il-suggestion-item:hover { background: #f5f5f5; color: var(--primary); }
.il-suggestion-item i { color: #999; font-size: 12px; }
.il-suggestion-product { display: flex; align-items: center; gap: 12px; padding: 10px 16px; text-decoration: none; transition: background 0.15s; }
.il-suggestion-product:hover { background: #f5f5f5; }
.il-suggestion-product-img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; background: #f5f5f5; flex-shrink: 0; }
.il-suggestion-product-name { font-size: 13px; color: #333; flex: 1; }
.il-suggestion-product-name strong { color: var(--primary); }
.il-suggestion-no-results { padding: 20px 16px; text-align: center; color: #999; font-size: 13px; }
.il-suggestion-view-all { display: block; padding: 12px 16px; text-align: center; background: #fff5f5; color: var(--primary); font-size: 13px; font-weight: 600; text-decoration: none; border-top: 1px solid #f0f0f0; }
.il-suggestion-view-all:hover { background: #ffe5e5; }
.il-search-btn { border: none; background: var(--primary); color: #fff; padding: 0 24px; font-size: 15px; cursor: pointer; transition: background 0.2s; }
.il-search-btn:hover { background: #c5001e; }

/* Header Icons */
.il-header-icons { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.il-header-icon { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #666; text-decoration: none; font-size: 12px; transition: color 0.2s; }
.il-header-icon i { font-size: 20px; }
.il-header-icon:hover { color: var(--primary); }

/* ROW 3: Navigation Bar */
.il-nav-bar { background: #fff; border-bottom: 2px solid #eee; position: relative; z-index: 10001; }
.il-nav-bar .il-container { justify-content: flex-start; }
.il-all-cats { position: relative; display: flex; align-items: stretch; }
.il-all-cats-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; background: transparent; color: #333; border: none; font-size: 14px; font-weight: 500; cursor: pointer; transition: color 0.2s; white-space: nowrap; }
.il-all-cats-btn:hover { color: var(--primary); }
.il-all-cats-btn i:first-child { font-size: 14px; }
.il-all-cats-btn i:last-child { font-size: 10px; opacity: 0.6; }
.il-mega-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #eee; border-top: 3px solid var(--primary); min-width: 1100px; max-height: 480px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-radius: 0 0 12px 12px; padding: 20px 28px; z-index: 10002; overflow: visible; }
.il-all-cats:hover .il-mega-menu,
.il-mega-menu:hover { display: flex; }
.il-mega-menu.always-show { display: flex; }
.il-mega-inner { display: flex; gap: 36px; flex: 1; max-height: 440px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ccc #f5f5f5; }
.il-mega-inner::-webkit-scrollbar { width: 6px; }
.il-mega-inner::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 3px; }
.il-mega-inner::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.il-mega-inner::-webkit-scrollbar-thumb:hover { background: #aaa; }
.il-mega-cols { display: flex; gap: 36px; flex: 1; }
.il-mega-col { min-width: 150px; }
.il-mega-col-title { font-size: 13px; font-weight: 700; color: #222; padding: 0 0 12px 0; margin-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.il-mega-link { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: #555; font-size: 13px; text-decoration: none; transition: all 0.2s; border-bottom: 1px solid #f5f5f5; }
.il-mega-link:hover { color: var(--primary); padding-left: 4px; }
.il-mega-link i { width: 20px; color: #888; font-size: 14px; text-align: center; transition: color 0.2s; }
.il-mega-link:hover i { color: var(--primary); }
.il-mega-featured { min-width: 220px; border-left: 1px solid #eee; padding-left: 28px; flex-shrink: 0; }
.il-mega-featured-title { font-size: 11px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.il-mega-featured-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: #333; font-size: 13px; text-decoration: none; transition: all 0.2s; }
.il-mega-featured-item:hover { color: var(--primary); padding-left: 4px; }
.il-mega-featured-item i { width: 20px; color: var(--primary); font-size: 14px; text-align: center; }
.il-nav-links { display: flex; align-items: center; gap: 2px; margin-left: 12px; flex: 1; }
.il-nav-link { padding: 12px 16px; color: #333; font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.il-nav-link:hover { color: var(--primary); }
.il-nav-link-primary { color: #333; }
.il-nav-link-highlight { color: #333; }
.il-nav-right { display: flex; align-items: center; gap: 6px; }

/* Desktop body padding */
@media (min-width: 1024px) {
    body { padding-top: 135px !important; }
    body.inner-page { padding-top: 160px !important; }
    body.home-page { padding-top: 160px !important; }
}

.header-main { background: var(--white); }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 6px 0; gap: 20px; width: 100%; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { flex-shrink: 0; }
.logo a { display: block; }
.logo img { max-width: 180px; height: auto; display: block; }
.search-container { flex: 1; max-width: 700px; }
.search-form { display: flex; border: 2px solid var(--primary); border-radius: 20px; overflow: hidden; }
.search-category { border: none; padding: 10px 12px; font-size: 14px; background: #f5f5f5; border-right: 1px solid #e0e0e0; }
.search-input { border: none; padding: 10px 16px; font-size: 14px; flex: 1; min-width: 0; }
.search-btn { border: none; background: var(--primary); color: #fff; padding: 10px 20px; cursor: pointer; }
.search-btn:hover { background: var(--primary-hover); }
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.logo { flex-shrink: 0; }
.logo a { display: block; line-height: 0; }
.logo-img { height: 95px; width: auto; max-width: 320px; object-fit: contain; transition: height 0.2s; }
.logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; }
.search-container { flex: 1; max-width: 650px; }
.search-form { display: flex; background: #fff; border: 2px solid var(--primary); border-radius: 50px; overflow: hidden; box-shadow: 0 2px 8px rgba(230, 0, 18, 0.15); }
.search-category { border: none; border-right: 1px solid #e5e5e5; padding: 10px 12px; font-size: 13px; color: #333; background: #fafafa; outline: none; min-width: 95px; cursor: pointer; }
.search-input { flex: 1; border: none; padding: 10px 20px; font-size: 14px; outline: none; background: transparent; }
.search-btn { background: var(--primary); border: none; padding: 0 24px; color: #fff; font-size: 16px; cursor: pointer; transition: all 0.2s; }
.search-btn:hover { background: var(--primary-hover); }
.search-btn i { font-size: 15px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-action { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #333; cursor: pointer; transition: all 0.2s; position: relative; }
.header-action:hover { background: #f5f5f5; color: var(--primary); }
.header-action-icon { font-size: 20px; }
.header-action-text { position: absolute; left: 50%; transform: translateX(-50%); bottom: 2px; font-size: 10px; opacity: 0; transition: opacity 0.2s; white-space: nowrap; color: var(--primary); font-weight: 600; }
.header-action:hover .header-action-text { opacity: 1; }
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: transparent; border: none; cursor: pointer; color: #333; font-size: 20px; transition: all 0.2s; }
.theme-toggle:hover { background: #f5f5f5; color: var(--primary); }
.nav-action .header-action-text { bottom: -2px; }
.main-nav { background: var(--white); border-top: 1px solid var(--border); position: relative; z-index: 10001; }
.main-nav-inner { display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 44px; overflow-x: visible; }
.main-nav-right { margin-left: auto; display: flex; gap: 8px; }
.main-nav-item { padding: 10px 20px; font-size: 15px; font-weight: 500; color: #333; white-space: nowrap; transition: var(--transition); cursor: pointer; letter-spacing: 0.3px; }
.main-nav-item:hover { color: var(--primary); }
.main-nav-item.highlight { color: var(--primary); font-weight: 600; }

/* Header Extended Classes */
.header-top-left { display: flex; align-items: center; gap: 16px; }
.header-top-right { display: flex; align-items: center; gap: 16px; }
.header-top-link { color: #ccc; font-size: 12px; text-decoration: none; transition: color 0.2s; }
.header-top-link:hover { color: #fff; }
.header-top-link-highlight { background: #E60023; color: #fff; padding: 4px 10px; border-radius: 3px; }
.header-top-link-highlight:hover { background: #c5001e; }
.header-top-divider { width: 1px; height: 14px; background: #555; }
.user-menu { position: relative; }
.user-menu-btn { display: flex; align-items: center; gap: 6px; background: transparent; border: none; color: #ccc; font-size: 12px; cursor: pointer; padding: 4px 8px; border-radius: 3px; transition: all 0.2s; }
.user-menu-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.user-dropdown { display: none; position: absolute; top: 100%; right: 0; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 180px; padding: 8px 0; z-index: 20000; }
.user-menu:hover .user-dropdown { display: block; }
.user-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #333; font-size: 13px; text-decoration: none; transition: all 0.15s; }
.user-dropdown-item:hover { background: #f5f5f5; color: var(--primary); }
.user-dropdown-item i { width: 16px; color: #999; }
.user-dropdown-divider { height: 1px; background: #eee; margin: 8px 0; }
.ship-to { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.ship-to-label { color: #999; }
.ship-to-btn { background: transparent; border: none; color: #ccc; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 3px; transition: all 0.2s; }
.ship-to-btn:hover { background: rgba(255,255,255,0.1); }
.language-selector { position: relative; }
.language-btn { background: transparent; border: none; color: #ccc; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 3px; transition: all 0.2s; }
.language-btn:hover { background: rgba(255,255,255,0.1); }
.language-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 140px; padding: 8px 0; z-index: 20000; }
.language-btn:hover .language-menu { display: block; }
.language-menu a { display: block; padding: 8px 16px; color: #333; font-size: 13px; text-decoration: none; }
.language-menu a:hover { background: #f5f5f5; color: var(--primary); }
.language-menu a.hidden { display: none; }
.header-logo { flex-shrink: 0; }
.header-logo a { display: block; line-height: 0; }
.header-logo img { height: 50px; width: auto; }
.header-search { flex: 1; max-width: 650px; margin: 0 30px; }
.search-input-wrap { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 14px; color: #999; font-size: 14px; }
.search-input { width: 100%; padding: 10px 40px 10px 38px; border: 2px solid var(--primary); border-radius: 50px 0 0 50px; font-size: 14px; outline: none; background: #fff; }
.search-camera { position: absolute; right: 80px; background: transparent; border: none; color: #999; cursor: pointer; padding: 4px; }
.search-camera:hover { color: #666; }
.search-btn { border: none; background: var(--primary); color: #fff; padding: 0 24px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; border-radius: 0 50px 50px 0; }
.search-btn:hover { background: var(--primary-hover); }
.main-nav { background: #fff; border-top: 1px solid var(--border); position: relative; z-index: 10001; }
.main-nav-categories { position: relative; }
.main-nav-categories-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: #E60023; color: #fff; border: none; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 4px 4px 0 0; }
.main-nav-categories-btn:hover { background: #c5001e; }
.categories-dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #eee; border-top: none; min-width: 200px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 0 0 4px 4px; }
.main-nav-categories:hover .categories-dropdown { display: block; }
.category-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #333; font-size: 13px; text-decoration: none; transition: all 0.15s; }
.category-item:hover { background: #fff5f5; color: var(--primary); }
.category-item i { width: 20px; color: #999; font-size: 14px; }
.main-nav-links { display: flex; align-items: center; gap: 4px; flex: 1; margin-left: 20px; }

/* Category Dropdown */
.category-dropdown-wrapper { position: relative; z-index: 10002; }
.category-dropdown { display: none; position: absolute; top: 100%; left: -20px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); z-index: 10003; min-width: 900px; padding: 20px; pointer-events: auto; }
.category-dropdown-wrapper:hover .category-dropdown { display: block !important; }
.category-dropdown-wrapper:hover > a { background: #f5f5f5; }
.category-dropdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.category-dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; transition: var(--transition); text-decoration: none; pointer-events: auto; }
.category-dropdown-item:hover { background: #f5f5f5; }
.category-dropdown-item i { width: 24px; color: var(--primary); font-size: 16px; text-align: center; }
.category-dropdown-item span { font-size: 13px; color: #333; }

/* Hero */
.hero { background: linear-gradient(180deg,#232f3e 0%,#1a1a1a 100%); padding: 180px 0 60px; }
.hero-content { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.hero-text p { font-size: 18px; color: #ccc; margin-bottom: 24px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat-number { font-size: 32px; font-weight: 700; color: var(--primary); }
.hero-stat-label { font-size: 14px; color: #999; }

/* Homepage Hero Section */
.home-hero { padding: 24px 0 20px 0; background: #f5f5f5; }
.home-hero-grid { display: grid; grid-template-columns: 260px 1fr 300px; gap: 20px; }
.hero-slideshow-container { position: relative; width: 100%; height: 100%; min-height: 420px; overflow: hidden; border-radius: 12px; }
.hero-slides { display: flex; transition: transform 0.5s ease; height: 100%; min-height: 420px; }
.hero-slide { min-width: 100%; height: 100%; position: relative; min-height: 420px; display: block !important; }
.hero-slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; min-height: 420px; }
.hero-slide > * { z-index: 2; position: relative; }
.hero-slide .main-banner-content { position: relative; z-index: 2; max-width: 280px; }
.hero-slide .main-banner-label { display: inline-block; background: #E60023; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.hero-slide .main-banner-title { font-size: 14px; color: #fff; font-weight: 500; margin-bottom: 8px; }
.hero-slide .main-banner-headline { font-size: 42px; font-weight: 800; color: #FFD700; line-height: 1.1; margin-bottom: 16px; }
.hero-slide .main-banner-headline span { font-size: 28px; }
.hero-slide .main-banner-sub { color: rgba(255,255,255,0.9); font-size: 13px; margin-bottom: 16px; }
.hero-slide .main-banner-btn { display: inline-block; padding: 10px 20px; background: #fff; color: #0085ad; font-weight: 600; border-radius: 20px; font-size: 13px; text-decoration: none; }
.hero-slide-overlay { display: none !important; background: none !important; }
.slideshow-nav { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slideshow-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; }
.slideshow-dot.active { background: #fff; transform: scale(1.2); }
.slideshow-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; z-index: 10; transition: all 0.3s; font-size: 14px; }
.slideshow-arrow:hover { background: rgba(255,255,255,0.4); }
.slideshow-arrow.prev { left: 10px; }
.slideshow-arrow.next { right: 10px; }

/* Product Sections with Color Headers */
.product-section { padding: 12px 0 !important; background: #f5f5f5 !important; }
.section-header-red { background: #E60023 !important; color: #fff !important; padding: 10px 16px !important; border-radius: 10px 10px 0 0 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
.section-header-red .section-title { color: #fff !important; font-size: 16px !important; font-weight: 700 !important; margin: 0 !important; }
.section-header-red .section-link { color: #fff !important; font-size: 12px !important; }
.section-header-red .section-link:hover { color: #ffcccc !important; }

.section-header-blue { background: #2196f3 !important; color: #fff !important; padding: 10px 16px !important; border-radius: 10px 10px 0 0 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
.section-header-blue .section-title { color: #fff !important; font-size: 16px !important; font-weight: 700 !important; margin: 0 !important; }
.section-header-blue .section-link { color: #fff !important; font-size: 12px !important; }
.section-header-blue .section-link:hover { color: #e3f2fd !important; }

.section-header-yellow { background: #ff9800 !important; color: #fff !important; padding: 10px 16px !important; border-radius: 10px 10px 0 0 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
.section-header-yellow .section-title { color: #fff !important; font-size: 16px !important; font-weight: 700 !important; margin: 0 !important; }
.section-header-yellow .section-link { color: #fff !important; font-size: 12px !important; }
.section-header-yellow .section-link:hover { color: #fff3e0 !important; }

.product-section .product-grid { background: #fff !important; padding: 8px !important; border-radius: 0 0 8px 8px !important; }

/* Left Column - Categories */
.category-menu-card { background: #fff; border-radius: 12px; overflow: hidden; position: relative; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.category-menu-header { background: #E60023; color: #fff; padding: 14px 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.category-menu-header:hover { background: #c5001e; }
.category-menu-list { max-height: 440px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ddd #f5f5f5; }
.category-menu-list::-webkit-scrollbar { width: 4px; }
.category-menu-list::-webkit-scrollbar-track { background: #f5f5f5; }
.category-menu-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.category-menu-item { display: flex; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f5f5f5; transition: all 0.2s ease; cursor: pointer; font-weight: 500; text-decoration: none; color: #333; width: 100%; box-sizing: border-box; font-size: 13px; line-height: 1.4; }
.category-menu-item:hover { background: #fff5f5; padding-left: 20px; }
.category-menu-item:hover .category-menu-text { color: #E60023; }
.category-menu-item.active { background: #fff5f5; }
.category-menu-item.active .category-menu-text { color: #E60023; }
.category-menu-item i:first-child { width: 22px; color: #E60023; font-size: 13px; flex-shrink: 0; }
.category-menu-item .category-menu-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.category-menu-item .category-menu-arrow { color: #bbb; font-size: 10px; transition: transform 0.2s ease; }
.category-menu-item:hover .category-menu-arrow { color: #E60023; transform: translateX(3px); }
.category-menu-item-wrapper { position: relative; }
.category-menu-item.active { background: #fff5f5; }
.category-menu-item.active .category-menu-text { color: #E60023; }
.category-menu-item i { width: 24px; color: #E60023; font-size: 12px; flex-shrink: 0; }
.category-menu-item .category-menu-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.category-menu-item .category-menu-arrow { color: #999; font-size: 10px; }
.category-menu-item-wrapper.active .category-menu-item { background: #fff5f5; }
.category-menu-item-wrapper.active .category-menu-text { color: #E60023; }
.category-menu-item:hover .category-menu-arrow { color: #E60023; transform: translateX(3px); }

.category-menu-item-wrapper { position: relative; }

/* Mega Menu Panel - Multi-column subcategories */
.menu-mega-panel {
    display: none;
    position: fixed;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 10003;
    width: 900px;
    max-height: 500px;
    overflow: hidden;
    left: 285px;
    top: 175px;
}
.menu-mega-panel.show {
    display: flex;
}
.mega-panel-left {
    flex: 1;
    min-width: 500px;
    padding: 20px;
    overflow-y: auto;
    max-height: 500px;
}
.mega-panel-right {
    width: 220px;
    background: #f9f9f9;
    padding: 16px;
    border-left: 1px solid #eee;
}
.mega-panel-header {
    font-size: 15px;
    font-weight: 700;
    color: #E60023;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E60023;
}
.mega-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.mega-column {
    min-width: 140px;
    flex: 1;
}
.mega-column-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}
.mega-column-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mega-column-link {
    font-size: 12px;
    color: #666;
    padding: 4px 0;
    transition: color 0.2s;
    display: block;
}
.mega-column-link:hover {
    color: #E60023;
}
.mega-panel-featured-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}
.mega-panel-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.mega-panel-product {
    text-decoration: none;
    display: block;
}
.mega-panel-product-img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 4px;
    background: #eee;
}
.mega-panel-product-title {
    font-size: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* Subcategories Panel - Legacy (kept for compatibility) */
.menu-subcategories-panel { display: none; position: fixed; background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); z-index: 1003; width: 500px; max-height: 420px; overflow-y: auto; padding: 20px; left: 285px; top: 175px; }
.subcategories-panel-header { font-size: 15px; font-weight: 700; color: #E60023; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #E60023; }
.subcategories-panel-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.subcategory-panel-link { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px; font-size: 13px; color: #333; transition: var(--transition); white-space: nowrap; }
.subcategory-panel-link:hover { background: #fff5f5; color: #E60023; }
.subcategory-panel-link i { width: 14px; color: #E60023; font-size: 10px; flex-shrink: 0; }

/* Center Column - Main Banner */
.main-banner-card { background: linear-gradient(135deg, #0085ad 0%, #00b4d8 100%); border-radius: 12px; padding: 30px; min-height: 420px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-slideshow-container.main-banner-card { min-height: 420px; padding: 0; display: flex; flex-direction: column; }
.main-banner-bg { position: absolute; right: -50px; bottom: -50px; width: 300px; height: 300px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.main-banner-content { position: relative; z-index: 1; max-width: 280px; }
.main-banner-label { display: inline-block; background: #E60023; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.main-banner-title { font-size: 14px; color: #fff; font-weight: 500; margin-bottom: 8px; }
.main-banner-headline { font-size: 42px; font-weight: 800; color: #FFD700; line-height: 1.1; margin-bottom: 16px; }
.main-banner-headline span { font-size: 28px; }
.main-banner-sub { color: rgba(255,255,255,0.9); font-size: 13px; }
.main-banner-btn { display: inline-block; margin-top: 20px; padding: 10px 20px; background: #fff; color: #0085ad; font-weight: 600; border-radius: 20px; font-size: 13px; }
.main-banner-btn:hover { background: #E60023; color: #fff; }
.main-banner-img { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); width: 200px; }

/* Right Column - Stacked Cards */
.right-cards { display: flex; flex-direction: column; gap: 20px; width: 100%; box-sizing: border-box; }
.right-card-top { display: block; background: #f0f0f0; border-radius: 12px; height: 200px; width: 100%; box-sizing: border-box; overflow: hidden; text-decoration: none; }
.right-card-top > img { width: 100%; height: 100%; object-fit: cover; display: block; border: none; }
.right-card-top-content { text-align: center; }
.right-card-top h3 { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 8px; }
.right-card-top p { font-size: 13px; color: #666; }
.right-card-bottom { display: block; background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); border-radius: 12px; height: 200px; width: 100%; box-sizing: border-box; overflow: hidden; text-decoration: none; }
.right-card-bottom > img { width: 100%; height: 100%; object-fit: cover; display: block; border: none; }
.right-card-bottom::before { content: ''; position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.right-card-bottom h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.right-card-bottom p { font-size: 13px; opacity: 0.8; }

/* Trust Cards Compact */
.trust-cards-compact { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; box-sizing: border-box; }
.trust-card-compact { flex: 1 1 calc(50% - 4px); display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; min-width: 0; box-sizing: border-box; }
.trust-card-compact h4 { font-size: 10px; font-weight: 600; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Trust Cards Row */
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.trust-card { background: #fff; border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 16px; transition: var(--transition); }
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-card-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.trust-card.blue .tr { background: #e3f2fd; color: #1976d2; }
.trust-card.yellow .tr { background: #fff8e1; color: #f9a825; }
.trust-card.red .tr { background: #ffebee; color: #E60023; }
.trust-card.green .tr { background: #e8f5e9; color: #388e3c; }
.trust-card h4 { font-size: 14px; font-weight: 600; color: #333; }
.trust-card p { font-size: 12px; color: #666; }

/* Categories */
.section { padding: 40px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-title { font-size: 24px; font-weight: 700; }
.section-link { color: var(--primary); font-size: 14px; }
.categories-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.category-card { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); cursor: pointer; box-shadow: var(--shadow); }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.category-icon { width: 60px; height: 60px; margin: 0 auto 12px;     background: linear-gradient(135deg,#FF0000,#ff4d4d); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; }
.category-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.category-count { font-size: 12px; color: var(--text-muted); }

/* Products - Alibaba-Style Compact Grid */
.product-grid { 
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important; 
    gap: 20px !important; 
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 15px !important;
}
.product-card { 
    background: var(--white) !important; 
    border: 1px solid #eee !important; 
    border-radius: 12px !important; 
    overflow: hidden !important; 
    transition: all 0.2s ease !important; 
    cursor: pointer !important; 
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}
.product-card:hover { 
    box-shadow: 0 4px 15px rgba(0,0,0,0.12); 
    border-color: #E60023;
    transform: translateY(-2px);
}
.product-image { 
    position: relative !important; 
    height: 180px !important; 
    overflow: hidden !important; 
    background: #fff !important; 
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.product-image img { 
    max-width: 100% !important; 
    max-height: 100% !important; 
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; 
    border-radius: 6px !important;
}
.product-image img { 
    max-width: 100%; 
    max-height: 100%; 
    width: auto;
    height: auto;
    object-fit: contain; 
    transition: var(--transition); 
    border-radius: 8px;
}
.product-card:hover .product-image img { transform: scale(1.02); }
.product-badge { 
    position: absolute; 
    top: 4px; 
    left: 4px; 
    background: #E60023; 
    color: #fff; 
    font-size: 9px; 
    padding: 2px 5px; 
    border-radius: 3px; 
    font-weight: 600;
}
.product-actions { 
    position: absolute; 
    top: 4px; 
    right: 4px; 
    display: flex; 
    gap: 3px; 
    opacity: 0; 
    transition: var(--transition); 
}
.product-card:hover .product-actions { opacity: 1; }
.product-action { 
    width: 24px; 
    height: 24px; 
    background: #fff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 10px;
    color: #666;
}
.product-action:hover { background: #E60023; color: #fff; }
.product-info { 
    padding: 12px !important; 
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.product-title { 
    font-size: 14px !important; 
    font-weight: 500 !important; 
    color: #333 !important; 
    display: -webkit-box !important; 
    -webkit-line-clamp: 2 !important; 
    -webkit-box-orient: vertical !important; 
    overflow: hidden !important; 
    line-height: 1.3 !important;
    min-height: 36px !important;
    margin: 0 !important;
}
.product-title:hover { color: #E60023; }
.product-price { 
    font-size: 16px !important; 
    font-weight: 700 !important; 
    color: #1a1a1a !important; 
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}
.product-price small { font-size: 12px; font-weight: 400; color: #666; }
.product-price-original { font-size: 13px; color: #999; text-decoration: line-through; font-weight: 400; }
.product-price-discount { font-size: 12px; color: #E60023; font-weight: 600; }
.product-meta { 
    display: flex !important; 
    align-items: center !important;
    font-size: 10px !important; 
    color: #888 !important; 
    gap: 4px !important;
    flex-wrap: wrap !important;
}
.product-moq { background: #f5f5f5 !important; padding: 1px 3px !important; border-radius: 2px !important; font-size: 9px !important; }
.product-sold { color: #999 !important; font-size: 9px !important; }
.verified-icon { color: #E60023; font-size: 9px; }
.product-seller { 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    font-size: 11px; 
    color: #999; 
}
.product-buttons { 
    display: flex; 
    gap: 6px; 
    margin-top: 2px;
}

/* Top Deals Compact - Alibaba Style - ENLARGED */
.top-deals-section {
    padding: 24px 0;
    background: #fff;
    margin-bottom: 24px;
}
.top-deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}
.top-deals-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.top-deals-subtitle {
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}
.top-deals-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}
.top-deals-link:hover {
    color: #E60023;
}
.top-deals-wrapper {
    position: relative;
    padding: 0 50px;
}
.top-deals-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 0;
}
.top-deals-grid::-webkit-scrollbar {
    display: none;
}
.top-deals-card {
    flex: 0 0 260px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.top-deals-card:hover {
    border-color: #E60023;
    box-shadow: 0 4px 15px rgba(230, 0, 35, 0.2);
    transform: translateY(-3px);
}
.top-deals-image {
    position: relative;
    height: 200px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.top-deals-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-deals-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #E60023;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}
.top-deals-info {
    padding: 14px;
}
.top-deals-title-text {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px;
    min-height: 42px;
}
.top-deals-price {
    font-size: 18px;
    font-weight: 700;
    color: #E60023;
    margin-bottom: 6px;
}
.top-deals-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}
.top-deals-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-deals-moq {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}
.top-deals-sold {
    color: #999;
}
.top-deals-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 70px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.top-deals-arrow:hover {
    background: #E60023;
    color: #fff;
    border-color: #E60023;
}
.top-deals-arrow.left {
    left: 10px;
}
.top-deals-arrow.right {
    right: 10px;
}
.top-deals-arrow i {
    font-size: 16px;
}
.top-deals-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.top-deals-arrow.disabled:hover {
    background: #fff;
    color: #333;
    border-color: #eee;
}

/* Top Ranking + New Arrivals Section - Alibaba Style */
.top-ranking-arrivals-section {
    padding: 24px 0;
    background: #f5f5f5;
}
.top-ranking-arrivals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    overflow: hidden;
    box-sizing: border-box;
}
.top-ranking-column,
.new-arrivals-column {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.top-arrivals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.top-arrivals-title-group {
    flex: 1;
}
.top-arrivals-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px;
}
.top-arrivals-subtitle {
    font-size: 12px;
    color: #999;
    margin: 0;
}
.top-arrivals-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
}
.top-arrivals-link:hover {
    color: #E60023;
}
.top-arrivals-divider {
    height: 1px;
    background: #f0f0f0;
    margin-bottom: 16px;
}
.top-ranking-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Scroll Wrapper for Top Deals & New Arrivals */
.top-deals-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.top-deals-scroll-wrapper .top-ranking-cards,
.top-deals-scroll-wrapper .new-arrivals-tiles {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    padding: 4px 0;
    width: 100%;
}
.top-deals-scroll-wrapper .top-ranking-cards::-webkit-scrollbar,
.top-deals-scroll-wrapper .new-arrivals-tiles::-webkit-scrollbar {
    display: none;
}
.top-deals-scroll-wrapper .top-ranking-card,
.top-deals-scroll-wrapper .new-arrivals-tile {
    flex: 0 0 calc(33.333% - 8px);
    min-width: 0;
}
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    color: #666;
    font-size: 12px;
}
.scroll-arrow:hover {
    background: #E60023;
    border-color: #E60023;
    color: #fff;
}
.scroll-arrow-left {
    left: 4px;
}
.scroll-arrow-right {
    right: 4px;
}

/* Tailored Section */
.tailored-section {
    padding: 24px 0;
    background: #fafafa;
}
.tailored-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.tailored-title-group {
    flex: 1;
}
.tailored-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px;
}
.tailored-subtitle {
    font-size: 13px;
    color: #999;
    margin: 0;
}
.tailored-divider {
    height: 1px;
    background: #f0f0f0;
    margin-bottom: 20px;
}
.tailored-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 16px;
    padding: 4px 0;
}
.tailored-scroll::-webkit-scrollbar {
    display: none;
}
.tailored-product-card {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tailored-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: #E60023;
}
.tailored-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f9f9f9;
    overflow: hidden;
}
.tailored-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}
.tailored-product-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #E60023;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}
.tailored-product-info {
    padding: 12px;
}
.tailored-product-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 34px;
}
.tailored-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #E60023;
    margin: 0 0 4px;
}
.tailored-product-moq {
    font-size: 11px;
    color: #999;
    margin: 0;
}
.top-ranking-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
    border: 1px solid #f0f0f0;
}
.top-ranking-card:hover {
    border-color: #E60023;
    box-shadow: 0 2px 8px rgba(230, 0, 35, 0.15);
}
.top-ranking-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}
.top-ranking-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}
.top-ranking-badge {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}
.top-ranking-card-title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 31px;
    width: 100%;
}
.top-ranking-card-subtitle {
    font-size: 13px;
    color: #E60023;
    margin: 0;
    text-align: center;
    font-weight: 600;
}
.new-arrivals-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.new-arrivals-tile {
    flex: 1;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
}
.new-arrivals-tile:hover {
    border-color: #E60023;
    box-shadow: 0 2px 8px rgba(230, 0, 35, 0.15);
}
.new-arrivals-tile-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}
.new-arrivals-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}
.new-arrivals-tile-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #ff9800;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}
.new-arrivals-tile-new-label {
    font-size: 10px;
    color: #ff9800;
    margin: 0 0 4px;
}
.new-arrivals-tile-price {
    font-size: 14px;
    font-weight: 700;
    color: #E60023;
    margin: 0 0 2px;
}
.new-arrivals-tile-moq {
    font-size: 11px;
    color: #999;
    margin: 0;
}

/* Product Grid Listing - Alibaba Compact Style - ENLARGED */
.product-grid-listing {
    padding: 24px 0;
}
.product-grid-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.product-grid-listing-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.product-grid-listing-subtitle {
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}

/* Hot badge - used in recommended product cards */
.product-grid-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #E60023;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}


.product-grid-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 16px 0;
}
.product-grid-pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: all 0.2s;
    text-decoration: none;
}
.product-grid-pagination-btn:hover {
    border-color: #E60023;
    color: #E60023;
}
.product-grid-pagination-btn.active {
    background: #E60023;
    border-color: #E60023;
    color: #fff;
}
.product-grid-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================
   HOME PRODUCT CARD - ENQUIRY TEXT
   ========================================== */
.home-product-card__enquiry {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 18px;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #374151;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    letter-spacing: -0.1px;
    padding: 0 4px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .home-product-card__enquiry {
        font-size: 11px;
        min-height: 16px;
        margin-top: 4px;
    }
}
@media (max-width: 480px) {
    .home-product-card__enquiry {
        font-size: 10.5px;
        min-height: 15px;
        margin-top: 3px;
        padding: 0 2px;
    }
}

.home-product-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
    line-height: 1.35;
}


/* ==========================================
   RECOMMENDED PRODUCTS GRID & CARDS
   ========================================== */
.recommended-products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.recommended-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recommended-product-card:hover {
    border-color: #E60023;
    box-shadow: 0 4px 15px rgba(230, 0, 35, 0.15);
    transform: translateY(-3px);
}

.recommended-product-card__image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.recommended-product-card__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.recommended-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 13px 11px;
    min-width: 0;
}

.recommended-product-card__title {
    margin: 0 0 8px;
    min-height: 42px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-product-card__price {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #e60023;
}

.recommended-product-card__enquiry {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 6px;
    min-height: 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #374151;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    letter-spacing: -0.1px;
    padding: 0 4px;
    box-sizing: border-box;
}

.recommended-product-card__moq {
    margin-top: auto;
    font-size: 12px;
    color: #9ca3af;
}

.recommended-product-card .seller-status-badge {
    width: fit-content;
    margin-top: 6px;
}

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f9fafb;
    border-radius: 4px;
    color: #d1d5db;
    font-size: 28px;
}

/* Responsive */
@media (max-width: 1200px) {
    .recommended-products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 992px) {
    .recommended-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .recommended-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .recommended-product-card__image-wrap {
        aspect-ratio: 1;
    }
    .recommended-product-card__title {
        font-size: 12px;
        min-height: 34px;
    }
    .recommended-product-card__price {
        font-size: 14px;
    }
    .recommended-product-card__body {
        padding: 8px 10px 8px;
    }
    .recommended-product-card__enquiry {
        font-size: 13px;
        min-height: 18px;
    }
}
@media (max-width: 480px) {
    .recommended-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .recommended-product-card__image-wrap {
        aspect-ratio: 1;
    }
    .recommended-product-card__enquiry {
        font-size: 11px;
        min-height: 16px;
        padding: 0 2px;
    }
}

/* Floating Right Side Toggle */
.floating-toggle {
    position: fixed;
    right: 20px;
    bottom: 80px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.floating-toggle.show {
    opacity: 1;
    visibility: visible;
}
.floating-toggle-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.floating-toggle-btn:hover {
    background: #f5f5f5;
    color: #E60023;
}
.floating-toggle-btn:active {
    background: #eee;
}
.floating-toggle-divider {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 4px auto;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .floating-toggle {
        right: 12px;
        bottom: 70px;
    }
    .floating-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-deals-card {
        flex: 0 0 160px;
    }
    .top-deals-image {
        height: 120px;
    }
    .top-deals-info {
        padding: 8px;
    }
    .top-deals-title-text {
        font-size: 12px;
        min-height: 34px;
    }
    .top-deals-price {
        font-size: 14px;
    }
    .top-deals-wrapper {
        padding: 0 36px;
    }
    .top-deals-arrow {
        width: 28px;
        height: 50px;
    }
    .top-ranking-arrivals-wrapper {
        flex-direction: column;
        padding: 0 12px 16px;
    }
    .top-ranking-cards-wrapper,
    .new-arrivals-tiles-wrapper {
        padding: 0 32px;
    }
    .top-ranking-cards,
    .new-arrivals-tiles {
        padding: 12px 0;
        gap: 10px;
    }
    .top-ranking-arrivals-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .top-ranking-column,
    .new-arrivals-column {
        padding: 12px;
    }
    .top-ranking-cards,
    .new-arrivals-tiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .top-ranking-card {
        padding: 8px;
    }
    .new-arrivals-tile {
        padding: 8px;
    }
    .top-ranking-card-image,
    .new-arrivals-tile-image {
        aspect-ratio: 1;
        margin-bottom: 6px;
    }
    .top-ranking-badge {
        font-size: 9px;
        padding: 2px 6px;
        bottom: 4px;
    }
    .top-ranking-card-title {
        font-size: 11px;
        min-height: 26px;
    }
    .top-ranking-card-subtitle {
        font-size: 10px;
    }
    .new-arrivals-tile-badge {
        font-size: 8px;
        padding: 2px 5px;
        top: 4px;
        left: 4px;
    }
    .new-arrivals-tile-new-label {
        font-size: 9px;
    }
    .new-arrivals-tile-price {
        font-size: 12px;
    }
    .new-arrivals-tile-moq {
        font-size: 10px;
    }
    .top-arrivals-title {
        font-size: 16px;
    }
    .top-arrivals-subtitle {
        font-size: 11px;
    }
    .top-deals-scroll-wrapper {
        padding: 0 8px;
    }
    .top-deals-scroll-wrapper .scroll-arrow {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    .scroll-arrow-left {
        left: 4px;
    }
    .scroll-arrow-right {
        right: 4px;
    }
}

.product-btn {
    flex: 1 !important; 
    height: 24px !important;
    padding: 0 6px !important;
    border-radius: 12px !important; 
    font-size: 11px !important; 
    font-weight: 600 !important; 
    cursor: pointer !important; 
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
}
.product-btn-visit { background: #E60023; color: #fff; }
.product-btn-visit:hover { background: #cc001e; }
.product-btn-contact { background: #fff; color: #E60023; border: 1px solid #E60023; text-decoration: none; }
.product-btn-contact:hover { background: #E60023; color: #fff; }

/* Suppliers */
.supplier-section { background: var(--white); padding: 60px 0; }
.supplier-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.supplier-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: var(--transition); }
.supplier-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); border-color: var(--primary); }
.supplier-logo { width: 80px; height: 80px; border-radius: 50%;     background: linear-gradient(135deg,#FF0000,#ff4d4d); display: flex; align-items: center; justify-content: center; font-size: 32px; color: #fff; margin-bottom: 16px; }
.supplier-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.supplier-location { font-size: 13px; color: #999; margin-bottom: 12px; }
.supplier-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.supplier-badge { font-size: 11px; padding: 4px 8px; border-radius: 4px; background: #e8f5e9; color: #2e7d32; }
.supplier-stats { display: flex; gap: 16px; font-size: 12px; color: #666; }
.supplier-stat strong { display: block; font-size: 14px; color: #333; }

/* Banner */
.banner-section { padding: 40px 0; }
.banner-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.banner-card { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 3/1; background: linear-gradient(135deg,#667eea,#764ba2); }
.banner-card.orange {     background: linear-gradient(135deg,#FF0000,#ff4d4d); }
.banner-card.green { background: linear-gradient(135deg,#11998e,#38ef7d); }
.banner-card h3 { position: absolute; top: 20px; left: 20px; font-size: 20px; color: #fff; }
.banner-card p { position: absolute; bottom: 20px; left: 20px; color: rgba(255,255,255,0.8); font-size: 14px; }

/* Footer */
.footer { background: #1a1a1a; color: #999; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #999; font-size: 13px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: #333; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--primary); color: #fff; }

/* Product Detail */
.product-detail-section { background: var(--white); padding: 30px 0; }
.product-detail-grid { display: grid; grid-template-columns: 500px 1fr; gap: 40px; }
.product-gallery { position: sticky; top: 100px; }
.product-main-image { width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #f5f5f5; margin-bottom: 16px; }
.product-thumbnails { display: flex; gap: 12px; }
.product-thumbnail { width: 80px; height: 80px; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.product-thumbnail.active, .product-thumbnail:hover { border-color: var(--primary); }
.product-detail-info h1 { font-size: 24px; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.product-detail-price { background: #f9f9f9; padding: 20px; border-radius: var(--radius); margin-bottom: 20px; }
.price-label { font-size: 13px; color: #999; }
.price-value { font-size: 32px; font-weight: 700; color: var(--primary); }
.product-actions-detail { display: flex; gap: 16px; margin-bottom: 24px; }
.product-actions-detail .btn { flex: 1; }
.supplier-info-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 24px; }
.supplier-info-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.supplier-info-avatar { width: 60px; height: 60px; border-radius: 50%;     background: linear-gradient(135deg,#FF0000,#ff4d4d); display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; }
.supplier-info-name { font-size: 16px; font-weight: 600; }
.supplier-info-location { font-size: 13px; color: #999; }
.supplier-info-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.supplier-stat-item { text-align: center; }
.supplier-stat-value { font-size: 18px; font-weight: 700; }

/* Listing */
.listing-section { padding: 30px 0; }
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.listing-sidebar { position: sticky; top: 100px; height: fit-content; }
.filter-section { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.filter-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.filter-group { margin-bottom: 16px; }
.filter-label { font-size: 14px; color: #666; margin-bottom: 8px; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; cursor: pointer; }
.listing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; background: var(--white); padding: 16px 20px; border-radius: var(--radius); }
.listing-count { font-size: 14px; color: #666; }

/* Auth */
.auth-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg,#232f3e 0%,#1a1a1a 100%); padding: 40px 20px; }
.auth-container { background: var(--white); border-radius: 16px; padding: 40px; width: 100%; max-width: 480px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.auth-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.auth-subtitle { font-size: 14px; color: #666; }
.auth-tabs { display: flex; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.auth-tab { flex: 1; padding: 12px; text-align: center; font-size: 15px; font-weight: 600; color: #666; cursor: pointer; position: relative; }
.auth-tab.active { color: var(--primary); }
.auth-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--primary); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: #999; font-size: 13px; }
.social-login { display: flex; gap: 12px; }
.social-btn { flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.social-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Dashboard */
.dashboard-section { padding: 30px 0; min-height: calc(100vh - 200px); }
.dashboard-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.dashboard-sidebar { background: var(--white); border-radius: var(--radius); padding: 24px; height: fit-content; position: sticky; top: 100px; }
.dashboard-user { text-align: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.dashboard-avatar { width: 80px; height: 80px; border-radius: 50%;     background: linear-gradient(135deg,#FF0000,#ff4d4d); display: flex; align-items: center; justify-content: center; font-size: 32px; color: #fff; margin: 0 auto 12px; }
.dashboard-user-name { font-size: 18px; font-weight: 600; }
.dashboard-user-email { font-size: 13px; color: #999; }
.dashboard-menu { display: flex; flex-direction: column; gap: 4px; }
.dashboard-menu-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); color: #666; font-size: 14px; }
.dashboard-menu-item:hover, .dashboard-menu-item.active { background: #fff5e6; color: var(--primary); }
.dashboard-content { background: var(--white); border-radius: var(--radius); padding: 24px; }
.dashboard-title { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 30px; }
.dashboard-stat-card { border-radius: var(--radius); padding: 24px; color: #fff; }
.dashboard-stat-card.orange {     background: linear-gradient(135deg,#FF0000,#ff4d4d); }
.dashboard-stat-card.green { background: linear-gradient(135deg,#11998e,#38ef7d); }
.dashboard-stat-card.blue { background: linear-gradient(135deg,#667eea,#764ba2); }
.dashboard-stat-value { font-size: 32px; font-weight: 700; }

/* Table */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { font-size: 13px; font-weight: 600; color: #666; background: #f9f9f9; }
.data-table tr:hover td { background: #fafafa; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal-overlay.show { display: flex; }
.modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 500px; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.modal-title { font-size: 18px; font-weight: 600; }
.modal-close { width: 32px; height: 32px; border: none; background: none; cursor: pointer; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; }

/* Alert */
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-danger { background: #ffebee; color: #c62828; }
.alert-warning { background: #fff3e0; color: #ef6c00; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination-item { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 14px; color: #666; cursor: pointer; transition: var(--transition); }
.pagination-item:hover, .pagination-item.active { background: var(--primary); color: #fff; }

/* Responsive */
@media (max-width: 1400px) {
    .product-grid { grid-template-columns: repeat(5, 1fr); gap: 15px; }
}
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
}
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(4,1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .product-card { max-width: none; }
    .product-image { height: 150px; }
    .product-title { font-size: 13px; }
    .product-price { font-size: 15px; }
    .supplier-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(3,1fr); }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-stats { justify-content: center; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .listing-layout { grid-template-columns: 1fr; }
    .listing-sidebar { display: none; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
    .dashboard-stats { grid-template-columns: repeat(2,1fr); }
    .top-deals-scroll-wrapper .scroll-arrow {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
    .scroll-arrow-left {
        left: -12px;
    }
    .scroll-arrow-right {
        right: -12px;
    }
}

/* ==========================================
   TABLET & MEDIUM SCREENS (769px – 1439px)
   Slideshow responsive fix
   ========================================== */

/* Tablets, iPads, small laptops: 769px – 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Collapse 3-column grid to single column (mobile-like hero) */
    .home-hero-grid {
        display: block !important;
    }
    .home-hero {
        padding: 12px 0 !important;
    }
    .home-hero .container {
        padding: 0 16px;
    }

    /* Hide desktop sidebar categories (mobile header has category strip) */
    .category-menu-card {
        display: none !important;
    }

    /* Hide right-side promo cards + trust cards */
    .right-cards {
        display: none !important;
    }

    /* Full-width slideshow */
    .hero-slideshow-container {
        width: 100% !important;
        min-height: auto !important;
        overflow: hidden;
        border-radius: 10px;
    }
    .main-banner-card,
    .hero-slideshow-container.main-banner-card {
        min-height: auto !important;
        padding: 0;
    }
    .hero-slides {
        min-height: auto !important;
    }
    .hero-slide {
        min-height: auto !important;
    }
    .hero-slide img {
        min-height: auto !important;
        height: auto !important;
        aspect-ratio: 16 / 7;
        object-fit: contain !important;
        background: #f0f0f0;
    }
    .slideshow-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .slideshow-arrow.prev {
        left: 8px;
    }
    .slideshow-arrow.next {
        right: 8px;
    }

    /* Top Ranking / New Arrivals - 2-column grid */
    .top-ranking-arrivals-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .top-ranking-arrivals-section .container {
        padding: 0 16px;
    }

    /* Tailored Products - compact */
    .tailored-section .container {
        padding: 0 16px;
    }

    /* Product Grid Listing - 3 columns on tablet */
    .recommended-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .product-grid-listing .container {
        padding: 0 16px;
    }

    /* Compact section products - 4 columns */
    .section-compact-products {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 12px;
    }
}

/* Medium laptops, larger tablets: 1025px – 1439px */
@media (min-width: 1025px) and (max-width: 1439px) {
    .main-banner-card,
    .hero-slideshow-container {
        min-height: 360px;
        overflow: hidden;
    }
    .hero-slides {
        min-height: 360px;
    }
    .hero-slide {
        min-height: 360px;
    }
    .hero-slide img {
        min-height: 360px;
        object-fit: contain !important;
        background: #f0f0f0;
    }
    .hero-slide .main-banner-headline {
        font-size: 36px;
    }
    .hero-slide .main-banner-headline span {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    * {
        max-width: 100%;
        overflow-x: hidden;
    }
    .header { position: relative; z-index: 1000; }
    .header-top { display: none; }
    .header-main { padding: 8px 0; }
    .header-main-inner { 
        height: auto; 
        min-height: 50px; 
        flex-wrap: wrap; 
        gap: 8px; 
        padding: 4px 0;
    }
    .logo img { max-width: 120px; height: auto; }
    .search-container { 
        order: 3; 
        flex-basis: 100%; 
        max-width: 100%; 
        width: 100%; 
        padding: 0;
    }
    .search-form { 
        border-radius: 8px; 
        width: 100%; 
        flex-wrap: nowrap;
    }
    .search-input { flex: 1; min-width: 0; padding: 8px 10px; font-size: 13px; }
    .search-category { max-width: 80px; padding: 8px; font-size: 12px; }
    .search-btn { padding: 8px 14px; }
    .header-actions { gap: 10px; }
    .header-action-icon { font-size: 16px; }
    .header-action-text { display: none; }
    .main-nav { 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav-inner { 
        flex-wrap: nowrap; 
        min-width: max-content; 
        padding: 0 10px;
    }
    .main-nav-item { white-space: nowrap; font-size: 12px; padding: 8px 10px; }
    .category-dropdown-wrapper { display: none; }
    .home-hero-grid { grid-template-columns: 1fr; }
    .category-menu-card { display: none; }
    
    /* Mega Menu Mobile */
    .menu-mega-panel {
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
        flex-direction: column;
        z-index: 10003;
    }
    .mega-panel-left {
        min-width: auto;
        padding: 16px;
        max-height: 60%;
        overflow-y: auto;
    }
    .mega-panel-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
    }
    .mega-columns {
        flex-direction: column;
        gap: 16px;
    }
    .mega-column {
        min-width: auto;
    }
    
    .hero { padding: 100px 0 20px; }
    .hero-text h1 { font-size: 22px; }
    .hero-text p { font-size: 13px; }
    .hero-stats { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .hero-stat-number { font-size: 18px; }
    .hero-stat-label { font-size: 10px; }
    .categories-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
    .category-card { padding: 8px; }
    .category-icon { width: 36px; height: 36px; font-size: 16px; }
    .category-name { font-size: 10px; }
    .category-count { font-size: 9px; }
    .product-section { padding: 16px 0; overflow: hidden; }
    .section-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 8px; 
        margin-bottom: 12px;
    }
    .section-title { font-size: 16px; }
    .section-link { font-size: 12px; }
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px; 
        width: 100%; 
        max-width: 100%;
        padding: 6px;
    }
    .product-card { 
        border-radius: 8px; 
        max-width: none; 
        width: 100%; 
    }
    .product-image { height: 90px; padding: 6px; }
    .product-image img { max-width: 100%; height: auto; object-fit: contain; }
    .product-info { padding: 8px; gap: 3px; }
    .product-title { font-size: 11px; min-height: 26px; }
    .product-price { font-size: 12px; }
    .product-meta { font-size: 9px; gap: 2px; flex-wrap: wrap; }
    .product-moq { font-size: 8px; padding: 1px 3px; }
    .product-buttons { gap: 3px; }
    .product-btn { height: 22px; padding: 0 6px; font-size: 10px; border-radius: 6px; }
    .product-badge { font-size: 7px; padding: 1px 3px; }
    .supplier-grid { grid-template-columns: 1fr; }
    .banner-grid { grid-template-columns: 1fr; gap: 8px; }
    .banner-card { min-height: 100px; }
    .banner-content { padding: 12px; }
    .banner-title { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-section { padding: 0 8px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 12px; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .auth-container { padding: 16px; margin: 12px; width: calc(100% - 24px); border-radius: 8px; }
    .container { padding: 0 10px; width: 100%; max-width: 100%; }
    .home-hero { padding: 80px 0 16px; }
    .home-hero h1 { font-size: 20px; }
    .help-hero { flex-direction: column; text-align: center; padding: 20px 10px; }
    .help-hero-left h1 { font-size: 24px; }
    .help-tabs { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .help-tab { padding: 6px 12px; font-size: 12px; }
    .faq-item { padding: 10px; }
    .faq-question { font-size: 13px; }
    .faq-answer { font-size: 12px; }
    .top-ranking-arrivals-section {
        padding: 16px 0;
    }
    .top-ranking-arrivals-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .top-ranking-column,
    .new-arrivals-column {
        padding: 10px;
    }
    .top-arrivals-header {
        margin-bottom: 8px;
    }
    .top-arrivals-title {
        font-size: 14px;
    }
    .top-arrivals-subtitle {
        font-size: 10px;
    }
    .top-arrivals-link {
        font-size: 12px;
    }
    .top-arrivals-divider {
        margin-bottom: 10px;
    }
    .top-ranking-cards,
    .new-arrivals-tiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .top-ranking-card {
        padding: 6px;
    }
    .new-arrivals-tile {
        padding: 6px;
    }
    .top-ranking-card-image,
    .new-arrivals-tile-image {
        border-radius: 6px;
        margin-bottom: 4px;
    }
    .top-ranking-badge {
        font-size: 8px;
        padding: 2px 5px;
        bottom: 3px;
    }
    .top-ranking-card-title {
        font-size: 10px;
        min-height: 22px;
    }
    .top-ranking-card-subtitle {
        font-size: 9px;
    }
    .new-arrivals-tile-badge {
        font-size: 7px;
        padding: 1px 4px;
        top: 3px;
        left: 3px;
    }
    .new-arrivals-tile-new-label {
        font-size: 8px;
        margin-bottom: 2px;
    }
    .new-arrivals-tile-price {
        font-size: 11px;
    }
    .new-arrivals-tile-moq {
        font-size: 9px;
    }
}
@media (max-width: 480px) {
    * {
        max-width: 100%;
        overflow-x: hidden;
    }
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .container { padding: 0 10px; }
    .logo img { max-width: 100px; }
    .search-container { padding: 0 8px; }
    .search-category { display: none; }
    .search-input { font-size: 13px; }
    .search-btn { padding: 0 12px; }
    .header-actions { gap: 6px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 6px; }
    .product-card { border-radius: 6px; }
    .product-image { height: 80px; padding: 4px; }
    .product-image img { border-radius: 4px; }
    .product-info { padding: 6px; gap: 2px; }
    .product-title { font-size: 10px; min-height: 22px; -webkit-line-clamp: 2; line-height: 1.2; }
    .product-price { font-size: 11px; }
    .product-price small { display: none; }
    .product-price-original { font-size: 9px; }
    .product-price-discount { font-size: 9px; }
    .product-meta { font-size: 8px; gap: 2px; }
    .product-moq { padding: 1px 2px; font-size: 8px; }
    .product-sold { display: none; }
    .product-buttons { gap: 2px; }
    .product-btn { height: 22px; padding: 0 4px; font-size: 9px; border-radius: 6px; }
    .product-badge { font-size: 7px; padding: 1px 3px; }
    .product-actions { display: none; }
    .modal { margin: 10px; padding: 16px; }
    .section-title { font-size: 16px; }
    .hero-text h1 { font-size: 20px; }
    .hero-stat-number { font-size: 18px; }
    .footer { 
        padding: 16px 0 10px; 
        overflow-x: hidden;
    }
    .footer-grid {
        gap: 12px;
    }
    .footer-section h4 { font-size: 13px; margin-bottom: 8px; }
    .footer-links a { font-size: 11px; }
    .footer-links { gap: 6px; }
    .footer-bottom { 
        padding: 10px; 
        font-size: 11px; 
    }
    .footer-bottom-links a {
        font-size: 10px;
        padding: 0 4px;
    }
    .tailored-section { padding: 16px 0; }
    .tailored-title { font-size: 18px; }
    .tailored-subtitle { font-size: 12px; }
    .tailored-product-card { flex: 0 0 160px; }
}
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: #999; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }
.hidden { display: none; }

/* ========================================
   PREMIUM SELECTION SECTION
======================================== */
.premium-section { padding: 24px 0; background: #f5f5f5; }
.premium-container { background: #fff5f0; border-radius: 16px; padding: 20px; }
.premium-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.premium-title-group { display: flex; flex-direction: column; gap: 4px; }
.premium-title { font-size: 22px; font-weight: 700; color: #333; margin: 0; }
.premium-subtitle { font-size: 13px; color: #888; }
.premium-view-all { color: #E60023; font-size: 14px; font-weight: 600; text-decoration: none; }
.premium-view-all:hover { color: #cc0000; }
.premium-scroll-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.premium-scroll-row::-webkit-scrollbar { height: 6px; }
.premium-scroll-row::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.premium-scroll-row::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.premium-card { flex-shrink: 0; width: 200px; background: #fff; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.08); text-decoration: none; }
.premium-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.premium-card-image { width: 100%; aspect-ratio: 1; overflow: hidden; background: #f9f9f9; }
.premium-card-image img { width: 100%; height: 100%; object-fit: cover; }
.premium-card-info { padding: 12px; }
.premium-current-price { font-size: 18px; font-weight: 700; color: #E60023; margin-bottom: 4px; }
.premium-original-price { font-size: 13px; color: #999; text-decoration: line-through; margin-bottom: 6px; }
.premium-savings-badge { display: inline-block; background: #E60023; color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }

/* ========================================
   FLASH DEALS SECTION
======================================== */
.flash-section { padding: 24px 0; background: #fff; }
.flash-container { display: flex; gap: 20px; }
.flash-timer-card { flex-shrink: 0; width: 220px; background: linear-gradient(135deg, #E60023 0%, #ff4d4d 100%); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.flash-title { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 20px 0; }
.flash-countdown { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.flash-time-unit { display: flex; flex-direction: column; align-items: center; }
.flash-time-value { background: #fff; color: #E60023; font-size: 24px; font-weight: 700; padding: 8px 12px; border-radius: 8px; min-width: 50px; }
.flash-time-label { color: rgba(255,255,255,0.8); font-size: 11px; margin-top: 4px; }
.flash-time-sep { color: #fff; font-size: 24px; font-weight: 700; }
.flash-view-all-btn { display: inline-block; background: #fff; color: #E60023; font-size: 14px; font-weight: 600; padding: 10px 24px; border-radius: 20px; text-decoration: none; transition: all 0.3s; }
.flash-view-all-btn:hover { background: #333; color: #fff; }
.flash-products-scroll { flex: 1; display: flex; gap: 16px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.flash-products-scroll::-webkit-scrollbar { height: 6px; }
.flash-products-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.flash-products-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.flash-product-card { flex-shrink: 0; width: 180px; background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; text-decoration: none; position: relative; }
.flash-product-card:hover { border-color: #E60023; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.flash-discount-badge { position: absolute; top: 8px; left: 8px; background: #E60023; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 4px; z-index: 1; }
.flash-product-image { width: 100%; aspect-ratio: 1; overflow: hidden; background: #f9f9f9; }
.flash-product-image img { width: 100%; height: 100%; object-fit: cover; }
.flash-product-info { padding: 12px; }
.flash-product-title { font-size: 13px; color: #333; margin: 0 0 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 36px; line-height: 1.3; }
.flash-product-price { font-size: 16px; font-weight: 700; color: #E60023; }
.flash-product-original { font-size: 12px; color: #999; text-decoration: line-through; }

/* ===== Plan Badges ===== */
.plan-badge { display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:600; padding:3px 10px; border-radius:20px; white-space:nowrap; }
.plan-badge-basic { background:linear-gradient(135deg,#e8f5e9,#c8e6c9); color:#2e7d32; border:1px solid #a5d6a7; }
.plan-badge-scale { background:linear-gradient(135deg,#e3f2fd,#bbdefb); color:#1565c0; border:1px solid #90caf9; }
.plan-badge-industry { background:linear-gradient(135deg,#fff3e0,#ffe0b2); color:#e65100; border:1px solid #ffcc80; }
.plan-badge i { font-size:10px; }

/* ===== Sticky Ad Popup ===== */
.industralink-ad-popup { position:fixed; right:20px; bottom:20px; width:300px; max-width:calc(100vw - 24px); border-radius:12px; overflow:hidden; background:#fff; box-shadow:0 16px 45px rgba(0,0,0,.28); z-index:2147483000; opacity:0; pointer-events:none; transform:translateY(20px); transition:opacity 0.4s ease, transform 0.4s ease; }
.industralink-ad-popup.show, .industralink-ad-popup[style*="opacity: 1"] { opacity:1; pointer-events:auto; transform:translateY(0); }
.industralink-ad-popup { opacity:1; pointer-events:auto; transform:translateY(0); }
.industralink-ad-header { display:flex; align-items:center; justify-content:space-between; padding:6px 10px; background:#f8fafc; border-bottom:1px solid #e2e8f0; min-height:32px; }
.industralink-ad-label { font-size:10px; color:#64748b; font-weight:600; text-transform:uppercase; letter-spacing:0.3px; }
.industralink-ad-controls { display:flex; align-items:center; gap:4px; }
.industralink-ad-sound-toggle, .industralink-ad-close { width:26px; height:26px; display:flex; align-items:center; justify-content:center; background:none; border:none; border-radius:50%; cursor:pointer; color:#64748b; font-size:12px; transition:background 0.2s, color 0.2s; padding:0; opacity:0; }
.industralink-ad-sound-toggle.visible, .industralink-ad-close.visible { opacity:1; }
.industralink-ad-sound-toggle:hover, .industralink-ad-close:hover { background:#e2e8f0; color:#334155; }
.industralink-ad-video-wrap { width:100%; aspect-ratio:16/9; background:#000; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.industralink-ad-video { width:100%; height:100%; object-fit:contain; object-position:center; background:#000; display:block; }
.industralink-ad-skip { display:block; width:100%; padding:9px; background:#f5f5f5; border:none; border-top:1px solid #e2e8f0; font-size:12px; color:#666; cursor:pointer; text-align:center; font-weight:500; transition:background 0.2s; }
.industralink-ad-skip.visible { background:#eee; }
.industralink-ad-skip:hover { background:#ddd; }

@media (max-width:767px) {
    .industralink-ad-popup { width:210px; max-width:calc(100vw - 28px); right:10px; bottom:88px; border-radius:10px; }
    .industralink-ad-header { min-height:28px; padding:5px 7px; }
    .industralink-ad-label { font-size:9px; }
    .industralink-ad-sound-toggle, .industralink-ad-close { width:24px; height:24px; font-size:11px; }
    .industralink-ad-skip { min-height:28px; font-size:10px; padding:7px; }
}

/* Seller Status Badge */
.seller-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 999px;
    margin-top: 5px;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.seller-status-badge.basic {
    background: #eaf2ff;
    color: #2563eb;
}
.seller-status-badge.scale {
    background: #eafaf0;
    color: #16a34a;
}
.seller-status-badge.industry {
    background: #fff4e5;
    color: #d97706;
}

