
        .product-list-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 0; }
        @media (max-width: 1400px) { .product-list-card { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
        @media (max-width: 1100px) { .product-list-card { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
        @media (max-width: 768px) { .product-list-card { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
        @media (max-width: 400px) { .product-list-card { gap: 8px; } }
        .product-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; position: relative; }
        .card-section-title { padding: 10px 14px 6px; flex: 1; }
        .card-product-name {
            font-size: 0.95rem; font-weight: 700; color: #1e293b; line-height: 1.5;
            display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
            text-decoration: none; word-break: break-word;
        }
        @media (max-width: 768px) {
            .card-product-name { font-size: 0.82rem; }
            .card-section-title { padding: 8px 10px 4px; }
        }
        @media (max-width: 400px) {
            .card-product-name { font-size: 0.78rem; -webkit-line-clamp: 3; }
        }
    

@font-face{font-family:'FontAwesome';src:url('/assets/static/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');font-weight:normal;font-style:normal;font-display:swap}


        
        :root {
            --primary-blue: #2563EB;
            --primary-blue-dark: #1d4ed8;
            --primary-blue-light: #3b82f6;
            --accent-orange: #f97316;
            --accent-orange-dark: #ea580c;
            --accent-orange-light: #fb923c;
            --price-red: #dc2626;
            --primary-white: #FFFFFF;
            --bg-page: #f4f6f8;
            --bg-container: #FFFFFF;
            --bg-light: #f4f6f8;
            --bg-dark: #1e293b;
            --text-dark: #1a1a2e;
            --text-medium: #64748b;
            --text-gray: #94a3b8;
            --text-light: #f8fafc;
            --border-light: #e2e8f0;
            --border-gray: #cbd5e1;
            --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-header: 0 1px 3px rgba(0,0,0,0.08);
            --primary-red: #2563EB;
            --primary-red-dark: #1d4ed8;
            --primary-red-hover: #1d4ed8;
            --bg-white: #FFFFFF;
            --bg-gray: #f1f5f9;
        }

        * {
            box-sizing: border-box;
        }

        
        body {
            background-color: var(--bg-page);  
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            color: var(--text-dark);
            overflow-x: hidden;
            padding-bottom: 80px;
            -webkit-font-smoothing: antialiased;
            margin: 0;
            padding: 0;
        }

        
        .site-header {
            background: #fff;
            padding: 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1050;
            box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        }
        .site-header .header-inner {
            max-width: 1650px;
            width: 92%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            padding: 8px 0;
            gap: 16px;
        }
        
        .header-row-1 {
            display: flex;
            align-items: center;
            gap: 16px;
            flex: 1;
            min-width: 0;
        }
        .header-row-2 {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }
        .site-header.scrolled {
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        }
        .header-logo {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            padding: 4px 0;
            text-decoration: none;
        }
        .header-logo:hover { opacity: 0.85; text-decoration: none !important; color: inherit !important; }
        .header-logo:hover .logo-text { color: #1a1a2e; text-decoration: none; }
        .header-logo .logo-text {
            color: #1a1a2e;
            font-size: 1.4rem;
            font-weight: 800;
            white-space: nowrap;
            letter-spacing: -0.5px;
        }
        .search-group {
            flex: 1;
            display: flex;
            align-items: center;
            height: 42px;
            border-radius: 8px;
            border: 2px solid var(--border-light);
            overflow: hidden;
            min-width: 0;
            transition: border-color 0.2s;
        }
        .search-group:focus-within {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
        }
        .search-input {
            flex: 1;
            height: 38px;
            border: none !important;
            padding: 0 14px !important;
            font-size: 0.92rem;
            background: transparent !important;
            color: var(--text-dark) !important;
            outline: none;
            border-radius: 0;
            min-width: 0;
        }
        .search-input:focus { box-shadow: none !important; }
        .search-btn {
            width: 46px;
            height: 38px;
            background: transparent;
            border: none;
            border-left: 1px solid var(--border-light);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.15s;
            color: var(--text-medium);
        }
        .search-btn:hover { background: var(--bg-page); color: var(--primary-blue); }
        .search-btn i { font-size: 1rem; }
        
        .site-header .search-group { border-color: #93c5fd; background: #fff; max-width: 760px; }
        .site-header .search-group:focus-within { border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.14); }
        .site-header .search-btn { width: auto; min-width: 46px; padding: 0 18px; gap: 7px; background: var(--primary-blue); color: #fff; border-left: none; font-weight: 600; font-size: 0.9rem; }
        .site-header .search-btn:hover { background: #1d4ed8; color: #fff; }
        .search-btn-text { white-space: nowrap; }
        @media (max-width: 768px) { .search-btn-text { display: none; } .site-header .search-btn { padding: 0; min-width: 40px; } }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }
        .header-action-link {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 4px;
            text-decoration: none !important;
            transition: background 0.15s;
            white-space: nowrap;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-medium);
            gap: 4px;
            line-height: 1;
        }
        .header-action-link:hover { background: var(--bg-page); color: var(--primary-blue); }
        .header-action-link i { font-size: 0.8rem; }
        
        .header-action-link .header-username {
            display: inline-block;
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            vertical-align: middle;
        }
        .lang-switcher {
            display: flex;
            gap: 2px;
            border-radius: 6px;
            overflow: hidden;
            margin: 0 4px;
            background: var(--bg-page);
            padding: 2px;
        }
        .lang-switcher .lang-btn {
            padding: 4px 10px;
            font-size: 0.75rem;
            cursor: pointer;
            color: var(--text-medium);
            text-decoration: none;
            transition: color 0.15s ease, background-color 0.15s ease;
            border-radius: 4px;
            background: transparent;
        }
        .lang-switcher .lang-btn:hover { color: var(--primary-blue); }
        
        .lang-switcher .lang-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; }
        .lang-switcher .lang-flag { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); flex-shrink: 0; }
        @media (max-width: 480px) { .lang-switcher .lang-txt { display: none; } .lang-switcher .lang-btn { padding: 4px 6px; } }
        .lang-switcher .lang-btn.active {
            background: var(--primary-blue);
            color: #fff;
            font-weight: 600;
        }

        
        .sub-nav {
            background: #fff;
            position: fixed;
            top: 55px;
            left: 0; right: 0;
            z-index: 1040;
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
        }
        .sub-nav-inner {
            max-width: 1650px;
            width: 92%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            padding: 0;
            overflow: visible;
        }
        .sub-nav-link {
            display: inline-flex;
            align-items: center;
            padding: 30px 16px 28px;
            color: var(--text-medium);
            font-size: 0.85rem;
            font-weight: 500;
            text-decoration: none !important;
            white-space: nowrap;
            border-bottom: 2px solid transparent;
            transition: all 0.15s;
            cursor: pointer;
        }
        .sub-nav-link:hover { color: var(--primary-blue); }
        .sub-nav-link.active {
            color: var(--primary-blue);
            font-weight: 600;
            border-bottom-color: var(--primary-blue);
        }
        .sub-nav-link i { margin-right: 5px; font-size: 0.8rem; display: inline-block; min-width: 0.9em; text-align: center; }
        .sub-nav-link .fa-chevron-down { display: none !important; }
        .category-sidebar-item .subcategory-toggle { opacity: 0 !important; width: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; font-size: 0 !important; }

        
        .categories-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            border-radius: 0 0 10px 10px;
            padding: 6px 0;
            min-width: 260px;
            overflow: visible !important;
            display: none;
            z-index: 1060;
            border: 1px solid var(--border-light);
            box-sizing: border-box;
        }
        .categories-dropdown-menu * { box-sizing: border-box; }
        .categories-dropdown-menu hr {
            margin: 4px 12px;
            border-color: var(--border-light);
            opacity: 0.5;
        }
        
        .categories-dropdown.active .categories-dropdown-menu {
            display: block;
            animation: fadeInDown 0.15s ease-out;
        }
        @media (hover: hover) {
            .categories-dropdown:hover .categories-dropdown-menu {
                display: block;
                animation: fadeInDown 0.15s ease-out;
            }
        }
        .categories-dropdown-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 14px;
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.84rem;
            transition: all 0.15s;
            border-left: 3px solid transparent;
            position: relative;
            box-sizing: border-box;
            max-width: 100%;
        }
        .categories-dropdown-item:hover {
            background: rgba(0, 102, 255, 0.06);
            color: var(--primary-blue);
            border-left-color: var(--primary-blue);
        }
        .categories-dropdown-item i,
        .categories-dropdown-item img {
            width: 16px;
            height: auto;
            margin-right: 8px;
            text-align: center;
            vertical-align: middle;
            object-fit: contain;
        }
        .categories-dropdown-item .arrow-icon {
            width: auto; margin-right: 0; font-size: 0.7rem; opacity: 0.5;
        }
        .category-submenu {
            position: absolute;
            left: 100%; top: -6px;
            background: #fff;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            padding: 8px 0;
            min-width: 180px;
            display: none;
            z-index: 1070;
            border: 1px solid var(--border-light);
        }
        .category-submenu::before {
            content: '';
            position: absolute;
            top: 0;
            left: -10px;
            width: 10px;
            height: 100%;
        }
        @media (hover: hover) { .categories-dropdown-item:hover .category-submenu { display: block; } }
        .submenu-item {
            display: block; padding: 8px 14px;
            color: var(--text-dark); text-decoration: none; font-size: 0.85rem;
            transition: all 0.15s;
        }
        .submenu-item:hover { background: rgba(0, 102, 255, 0.06); color: var(--primary-blue); }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .notice-bar { display: none !important; }

        
        .announce-bar {
            display: flex; align-items: center; gap: 12px;
            background: linear-gradient(90deg, #fff7ed, #fffbeb);
            border: 1px solid #fde68a;
            border-radius: 10px;
            color: #78350f;
            font-size: 16px;
            line-height: 1.6;
            padding: 10px 18px;
            margin: 0 auto 14px;
            max-width: 1650px;
            width: 92%;
            overflow: hidden;
        }
        .announce-icon { color: #f59e0b; font-size: 20px; flex: none; }
        .announce-marquee { flex: 1; min-width: 0; white-space: nowrap; }
        .announce-row { white-space: nowrap; }
        .announce-title { font-weight: 700; font-size: 17px; color: #92400e; }
        .announce-sep { margin: 0 2px; }
        .announce-content, .announce-content * { display: inline !important; white-space: nowrap !important; margin: 0 !important; }
        .announce-content br { display: none !important; }
        .announce-content img { max-height: 1.4em; width: auto; vertical-align: middle; }
        .announce-dot { margin: 0 32px; color: #f59e0b; }
        @media (max-width: 768px) { .announce-bar { font-size: 14px; padding: 8px 12px; width: 96%; border-radius: 8px; gap: 8px; } .announce-title { font-size: 15px; } .announce-dot { margin: 0 20px; } }
        .announce-item { color: #92400e !important; font-weight: 600; text-decoration: none; }
        .announce-item:hover { color: #b45309 !important; text-decoration: underline; }
        @media (max-width: 768px) { .announce-bar { font-size: 14px; padding: 8px 10px; width: 96%; border-radius: 8px; } }

        
        .card {
            border: none;
            border-radius: 16px;
            box-shadow: var(--shadow-card);
            margin-bottom: 1.5rem;
            background: #fff;
        }

        .card-header {
            background: #fff;
            border-bottom: 1px solid #eee;
            padding: 1.2rem 1.5rem;
            border-radius: 16px 16px 0 0 !important;
        }

        .card-header h5 {
            font-weight: 700;
            margin: 0;
            display: flex;
            align-items: center;
            font-size: 1.1rem;
        }

        .card-header h5 i {
            color: var(--primary-blue);
            margin-right: 10px;
        }

        .card-body {
            padding: 1.5rem;
            background: #fff;
        }

        
        .btn {
            border-radius: 6px;
            font-weight: 600;
            padding: 0.625rem 1.25rem;
            font-size: 0.95rem;
            border: none;
            transition: all 0.2s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        
        .btn-primary {
            background: var(--primary-blue) !important;
            color: #FFFFFF !important;
            border: 1px solid var(--primary-blue) !important;
        }

        .btn-primary:hover {
            background: var(--primary-blue-dark) !important;
            border-color: var(--primary-blue-dark) !important;
            color: #FFFFFF !important;
        }
        
        .btn-primary:focus,
        .btn-primary:active {
            background: var(--primary-blue) !important;
            border-color: var(--primary-blue) !important;
            color: #FFFFFF !important;
            box-shadow: none !important;
        }
        
        
        .btn-danger,
        .btn-sm.btn-danger,
        .btn-buy,
        .buy-now-btn {
            background: linear-gradient(135deg, #FF9900 0%, #e68a00 100%) !important;
            border: none !important;
            color: #FFFFFF !important;
            font-weight: 700 !important;           
            letter-spacing: 0.5px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.15);  
            box-shadow: 0 3px 10px rgba(255, 153, 0, 0.35);
        }
        
        .btn-danger:hover,
        .btn-danger:focus,
        .btn-danger:active,
        .btn-sm.btn-danger:hover,
        .btn-sm.btn-danger:focus,
        .btn-sm.btn-danger:active,
        .btn-buy:hover,
        .buy-now-btn:hover {
            background: linear-gradient(135deg, #e68a00 0%, #cc7a00 100%) !important;
            color: #FFFFFF !important;
            box-shadow: 0 5px 15px rgba(255, 153, 0, 0.5) !important;
            transform: translateY(-1px);
        }

        .btn-outline-danger,
        .btn-outline-primary {
            border: 1px solid var(--border-gray);
            color: var(--text-dark);
            background: var(--bg-white);
        }

        .btn-outline-danger:hover,
        .btn-outline-primary:hover {
            border-color: var(--primary-blue);
            color: var(--primary-blue);
            background: var(--bg-white);
        }

        .btn-lg {
            font-size: 1rem;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
        }

        
        .selection-btn {
            position: relative;
            border: 2px solid #f0f0f0;
            background: #fff;
            color: #555;
            border-radius: 12px;
            padding: 1rem;
            font-weight: 600;
            transition: all 0.2s ease;
            width: 100%;
            text-align: left;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0;
            height: 100%;
        }

        .selection-btn:active {
            transform: scale(0.98);
        }

        .selection-btn.checked {
            border-color: var(--primary-blue);
            background: rgba(0, 102, 255, 0.06);
            color: var(--primary-blue);
        }

        .check-icon {
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.2s;
            color: var(--primary-blue);
        }

        .selection-btn.checked .check-icon {
            opacity: 1;
            transform: scale(1);
        }

        .status-dot {
            height: 8px;
            width: 8px;
            background-color: #2ecc71;
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
        }

        
        .category-button,
        .commodity-button {
            margin: 0.5rem 0.5rem 0.5rem 0;
            border: 2px solid #f0f0f0 !important;
            background: #fff !important;
            color: #555 !important;
            font-weight: 600 !important;
            font-size: 1rem !important;
            transition: all 0.2s ease;
        }

        .category-button {
            background: var(--bg-light) !important;
        }

        .category-button:hover,
        .commodity-button:hover {
            border-color: var(--primary-blue) !important;
            color: var(--primary-blue) !important;
        }

        .checked {
            border-color: var(--primary-blue) !important;
            background: rgba(0, 102, 255, 0.06) !important;
            color: var(--primary-blue) !important;
        }

        
        .form-control {
            border-radius: 4px !important;
            border: 1px solid #ccc !important;
            padding: 0.625rem 0.875rem;
            transition: border-color 0.2s ease;
            font-size: 0.95rem;
            background-color: #f9f9f9 !important;
            color: var(--text-dark);
        }

        .form-control:focus {
            border-color: var(--primary-blue) !important;
            box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
            outline: none;
            background-color: #fff !important;
        }

        .form-control-lg {
            padding: 0.875rem 1rem;
            font-size: 1rem;
            border-radius: 4px !important;
            border: 1px solid #ccc !important;
            background-color: #f9f9f9 !important;
        }

        .form-control-lg:focus {
            border-color: var(--primary-blue) !important;
            background-color: #fff !important;
        }

        .form-label {
            color: var(--text-dark);
            font-weight: 700;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        
        .text-danger {
            color: var(--price-red) !important;    
            font-weight: 700;
        }
        
        .text-primary {
            color: var(--primary-blue) !important;
            font-weight: 600;
        }

        .text-muted {
            color: var(--text-gray) !important;
        }
        
        
        .text-white {
            color: #FFFFFF !important;
        }
        
        .bg-danger .text-white,
        .btn-danger .text-white,
        .badge.bg-danger {
            color: #FFFFFF !important;
        }

        
        .product-wholesale-info {
            font-size: 0.75rem;
            color: #dc3545 !important;
            margin-top: 4px;
            font-weight: 700;
            padding: 2px 0;
            display: inline-block;
        }
        
        .product-wholesale-info i {
            color: #dc3545 !important;
            margin-right: 4px;
        }

        
        .badge {
            border-radius: 4px;
            font-weight: 600;
            padding: 0.375em 0.75em;
            font-size: 0.875rem;
        }

        .badge.bg-danger,
        .bg-danger {
            background: var(--primary-red) !important;
            color: #FFFFFF !important;
        }
        
        
        .badge.bg-danger *,
        .bg-danger * {
            color: #FFFFFF !important;
        }

        
        .product-list-card {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
            margin-bottom: 0;
        }

        
        .product-card {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.25s cubic-bezier(.4,0,.2,1);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        }
        .product-card:hover {
            border-color: rgba(37,99,235,0.45);
            box-shadow: 0 12px 32px rgba(37,99,235,0.13), 0 4px 10px rgba(0,0,0,0.06);
            transform: translateY(-4px);
        }

        
        .card-section-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 14px 7px;
            background: #fff;
            border-bottom: 1px solid #f1f5f9;
            font-size: 0.76rem;
        }
        .card-supplier {
            color: var(--text-gray);
            font-weight: 500;
        }
        .card-supplier .supplier-label { color: #94a3b8; font-size: 0.72rem; }
        .card-supplier .supplier-name { color: #1e293b; font-weight: 700; margin-left: 2px; }
        
        .card-supplier { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding-right: 52px; min-width: 0; }
        .card-pid {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            font-size: 0.7rem;
            font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
            font-weight: 600;
            color: #64748b;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            padding: 0 6px;
            line-height: 1.5;
            cursor: copy;
            white-space: nowrap;
            transition: color 0.15s, border-color 0.15s;
        }
        .card-pid:hover { color: var(--primary-blue); border-color: rgba(37,99,235,0.4); }
        .card-pid.pid-copied { color: #059669; border-color: rgba(5,150,105,0.4); }
        .card-pid .pid-label { color: #94a3b8; font-family: inherit; font-weight: 500; }
        .card-pid i { font-size: 0.62rem; opacity: 0.7; }
        .card-follow-btn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 3px;
            font-size: 0.72rem;
            color: #cbd5e1;
            transition: color 0.2s;
            white-space: nowrap;
            position: absolute;
            top: 10px;
            right: 12px;
        }
        .card-follow-btn:hover { color: #ef4444; }
        .card-follow-btn.followed, .card-follow-btn.following { color: #ef4444; }
        .card-follow-btn.followed i, .card-follow-btn.following i { font-weight: 900; }
        .card-follow-btn i { font-size: 0.8rem; transition: transform 0.2s; }
        .card-follow-btn:hover i { transform: scale(1.2); }
        .card-follow-btn .follow-text { font-size: 0.68rem; }

        
        .card-section-title {
            padding: 10px 14px 6px;
            flex: 1;
        }
        .card-product-name {
            font-size: 1rem;
            font-weight: 700;
            color: #1e293b;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-decoration: none;
            word-break: break-word;
        }
        .card-product-name:hover { color: var(--primary-blue); }

        
        .card-section-meta {
            padding: 8px 12px;
            margin: 0 10px;
            background-color: #f8fafc;
            border-radius: 6px;
            font-size: 0.76rem;
            color: var(--text-medium);
            border: 1px solid #f1f5f9;
        }
        .card-meta-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 3px;
        }
        .card-meta-row:last-child { margin-bottom: 0; }
        .card-stock { color: #16a34a; font-weight: 700; }
        .card-stock.out-of-stock { color: #dc2626; }
        .card-sold { color: var(--text-gray); font-size: 0.73rem; }
        .card-wholesale {
            color: #dc2626;
            font-weight: 600;
            font-size: 0.72rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .card-wholesale i { margin-right: 3px; }

        
        .card-section-price {
            padding: 10px 14px;
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            margin-top: auto;
            border-top: 1px dashed #e2e8f0;
        }
        .card-price-label {
            font-size: 0.76rem;
            color: var(--text-gray);
        }
        .card-price-value {
            font-size: 1.3rem;
            font-weight: 800;
            color: #ef4444;
            letter-spacing: -0.5px;
        }

        
        .empty-products {
            text-align: center;
            padding: 60px 20px;
            background: #fff;
            border-radius: 12px;
            grid-column: 1 / -1;
        }

        
        @media (max-width: 1400px) {
            .product-list-card { grid-template-columns: repeat(3, 1fr); gap: 20px; }
        }
        
        @media (max-width: 1100px) {
            .product-list-card { grid-template-columns: repeat(2, 1fr); gap: 16px; }
        }
        
        @media (max-width: 768px) {
            .product-list-card { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .card-section-top { padding: 8px 10px 6px; }
            .card-section-title { padding: 8px 10px 4px; }
            .card-product-name { font-size: 0.82rem; }
            .card-section-meta { padding: 6px 8px; margin: 0 6px; font-size: 0.7rem; }
            .card-section-price { padding: 8px 10px; }
            .card-price-value { font-size: 1rem; }
        }
        @media (max-width: 400px) {
            .product-list-card { gap: 8px; }
            .card-section-title { padding: 6px 8px 4px; }
            .card-product-name { font-size: 0.78rem; -webkit-line-clamp: 3; }
        }

        @media (max-width: 992px) {
            .main-content-layout { width: 96%; }
            .sidebar-categories { margin-bottom: 8px; }
            
            #sidebar-categories-list { padding: 6px 0 4px !important; gap: 10px 8px; }
            .category-sidebar-item { padding: 7px 14px; font-size: 0.85rem; border-radius: 22px !important; }
            .products-main-area { padding: 0; }
            .products-header { padding: 0 0 6px; }
            .h1-kw { font-weight: 500; opacity: .85; }   
        .products-header-title { font-size: 0.95rem; }
            .h1-kw { display: none; }   
        }
        
        
        @media (max-width: 992px) {
            .site-header .header-inner {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
                padding: 10px 12px;
                width: 100%;
            }
            .header-row-1 {
                display: flex;
                align-items: center;
                gap: 10px;
                flex: none;
            }
            .header-row-2 {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 12px;
                flex: none;
                padding-top: 2px;
                border-top: 1px solid var(--border-light);
            }
            .sub-nav { top: 108px; }
            .sub-nav-inner { width: 100%; padding: 0 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
            .sub-nav-link { padding: 10px 12px; font-size: 0.8rem; flex-shrink: 0; }
            .content-wrapper { padding-top: 168px !important; }   
        }
        
        @media (max-width: 768px) {
            .header-action-link .user-balance-display { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .header-action-link .header-username { max-width: 88px; }
        }
        
        @media (max-width: 576px) {
            .site-header .header-inner {
                padding: 8px 10px;
                gap: 8px;
                width: 100%;
            }
            .header-row-1 { gap: 8px; }
            .header-row-2 { gap: 10px; padding-top: 6px; }
            .header-logo .logo-text { font-size: 1.05rem; }
            .search-group { height: 34px; border-width: 1px; flex: 1; min-width: 0; }
            .search-input { height: 32px !important; font-size: 14px !important; padding: 0 10px !important; }
            .search-btn { width: 34px; height: 32px; }
            .header-action-link { padding: 6px 10px; font-size: 0.75rem; }
            .header-action-link .header-link-text { display: inline !important; }
            .header-action-link .user-balance-display { font-size: 0.75rem; max-width: none; }
            .header-action-link .header-username { max-width: 72px; }
            .sub-nav { top: 100px; }
            .sub-nav-inner { width: 100%; padding: 0 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
            .sub-nav-link { padding: 8px 10px; font-size: 0.76rem; flex-shrink: 0; }
            .content-wrapper { padding-top: 152px !important; }   
            .sidebar-categories { top: 0 !important; position: relative !important; margin-bottom: 10px; }
            .main-content-layout { width: 100% !important; padding: 0 10px; }
            
            .category-sidebar-item { padding: 6px 12px !important; font-size: 0.8rem !important; }
            .products-main-area { padding: 0 4px; }
            .products-header { padding: 0 0 6px; flex-wrap: wrap; gap: 6px; }
            .products-header-title { font-size: 0.9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
            .products-header-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .products-count { font-size: 0.75rem; }
            .sort-toolbar { flex-shrink: 0; }
        }
        
        @media (max-width: 375px) {
            .header-logo .logo-text { font-size: 0.9rem; }
            .search-input { font-size: 13px !important; height: 30px !important; }
            .search-btn { height: 30px; width: 32px; }
            .header-action-link { padding: 2px 4px; font-size: 0.65rem; }
            .header-action-link .header-username { max-width: 56px; }
            .table .btn-sm {
                padding: 4px 8px !important;
                font-size: 0.75rem !important;
            }
        }

        
        .content-wrapper {
            padding: 0;
            padding-top: 180px;
            background: var(--bg-page);
            min-height: calc(100vh - 60px);
        }

        .main-content-layout {
            display: flex;
            flex-direction: column;
            max-width: 1650px;
            width: 92%;
            margin: 0 auto;
            background: transparent;
        }

        
        .sidebar-categories {
            width: 100%;
            background: transparent;
            border-radius: 0;
            padding: 0;
            position: relative;
            z-index: 50;
            height: auto;
            max-height: none;
            overflow: visible;
            flex-shrink: 0;
            box-shadow: none;
            border: none;
            margin-bottom: 6px;
            padding-bottom: 6px;
            border-bottom: 1px solid var(--border-light);
        }

        .sidebar-categories-header {
            display: none;
        }

        #sidebar-categories-list {
            display: flex !important;
            flex-wrap: wrap;
            align-items: flex-start;
            gap: 12px 10px;
            padding: 6px 0 6px !important;
            max-width: 100%;
            margin: 0;
            overflow: visible;
            width: 100% !important;
            line-height: normal;
        }

        .category-sidebar-item {
            display: inline-flex !important;
            align-items: center;
            padding: 9px 20px;
            color: var(--text-medium);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            border: 1px solid rgba(203, 213, 225, 0.7);
            border-radius: 28px !important;
            transition: all 0.2s ease;
            cursor: pointer;
            position: relative;
            white-space: nowrap;
            flex-direction: row !important;
            gap: 6px;
            background: #f8fafc;
            line-height: 1.4;
        }
        
        .category-sidebar-item i {
            display: inline-block !important;
            font-size: 1.1rem !important;
            margin-right: 6px !important;
            margin-bottom: 0 !important;
        }
        
        .category-sidebar-item .category-icon {
            width: 35px !important;
            height: 35px !important;
            margin-right: 6px !important;
            margin-bottom: 0 !important;
            vertical-align: middle;
            object-fit: contain;
        }
        
        .category-sidebar-item .category-name {
            display: inline !important;
            -webkit-line-clamp: unset !important;
        }

        
        .category-icon-wrap {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            flex-shrink: 0;
            margin-right: 6px;
        }
        .category-icon-wrap .fa {
            font-size: 1.05rem;
            line-height: 1;
        }
        .category-sidebar-item .category-icon-wrap i.fa {
            margin-right: 0 !important;
            margin-bottom: 0 !important;
        }

        .category-sidebar-item:hover {
            background: rgba(37, 99, 235, 0.08);
            color: var(--primary-blue);
            border-color: rgba(37, 99, 235, 0.35);
            font-weight: 600;
            text-decoration: none !important;
        }

        .category-sidebar-item.active {
            background: var(--primary-blue);
            color: #fff;
            border-color: var(--primary-blue);
            font-weight: 600;
        }

        .category-sidebar-item i {
            width: auto;
            margin-right: 6px;
            text-align: center;
            color: var(--text-gray);
            transition: all 0.2s ease;
        }
        
        .category-sidebar-item:hover i {
            color: var(--primary-blue);
        }
        
        .category-sidebar-item.active i {
            color: #fff;
        }

        
        .category-sidebar-group {
            position: relative;
            display: inline-flex;
            align-self: flex-start;
            line-height: normal;
        }
        
        .category-sidebar-item .subcategory-toggle {
            margin-left: 4px;
            font-size: 0.55rem;
            color: #999;
            transition: transform 0.2s ease;
            display: inline-block;
        }
        
        .category-sidebar-group:hover .subcategory-toggle {
            transform: rotate(90deg);
            color: var(--primary-blue);
        }
        
        .subcategories-container {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 180px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 8px 28px rgba(0,0,0,0.12);
            padding: 6px 0;
            z-index: 500;
            border: 1px solid var(--border-light);
            margin-top: 0;
            padding-top: 8px;
        }
        .subcategories-container::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 0;
            width: 100%;
            height: 10px;
        }
        
        
        @media (hover: hover) {
            .category-sidebar-group:hover > .subcategories-container {
                display: block !important;
            }
        }

        
        @media (max-width: 768px) {
            
            #sidebar-categories-list {
                display: grid !important;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 8px !important;
                align-items: start;
            }
            #sidebar-categories-list > .category-sidebar-group,
            #sidebar-categories-list > a.category-sidebar-item {
                width: 100%;
                min-width: 0;
            }
            .category-sidebar-group {
                display: flex !important;
                flex-direction: column;
                align-items: stretch;
                align-self: start;
            }
            .category-sidebar-group > .category-sidebar-item,
            #sidebar-categories-list > a.category-sidebar-item {
                width: 100%;
                max-width: 100%;
                min-height: 0;
                height: auto;
                box-sizing: border-box;
                padding: 5px 8px !important;
                font-size: 0.72rem !important;
                font-weight: 500 !important;
                border-radius: 12px !important;
                white-space: normal !important;
                flex-direction: row !important;
                align-items: center;
                justify-content: center;
                gap: 4px !important;
                line-height: 1.15;
            }
            .category-sidebar-item .category-icon-wrap {
                width: 26px !important;
                height: 26px !important;
                margin-right: 0 !important;
                flex-shrink: 0;
            }
            .category-sidebar-item .category-icon-wrap .fa {
                font-size: 0.92rem !important;
            }
            .category-sidebar-item .category-icon {
                width: 26px !important;
                height: 26px !important;
                margin-right: 0 !important;
                flex-shrink: 0;
            }
            .category-sidebar-item i.fa:not(.subcategory-toggle) {
                margin-right: 0 !important;
            }
            .category-sidebar-item .category-name {
                display: -webkit-box !important;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                word-break: break-word;
                text-align: center;
                line-height: 1.25;
                min-width: 0;
                flex: 1 1 auto;
            }
            .category-sidebar-item .subcategory-toggle {
                flex-shrink: 0;
                margin-left: 0 !important;
                font-size: 0.5rem;
            }
        }
        @media (max-width: 360px) {
            #sidebar-categories-list {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }
        }

        
        @media (max-width: 768px) {
            .sidebar-categories:not(.sidebar-categories--loaded) #sidebar-categories-list {
                min-height: 200px;
            }
            
            .product-list-card .product-card:not(.product-card--skeleton) {
                min-height: 240px;
            }
            .product-card--skeleton {
                min-height: 240px;
            }
        }
        
        .subcategory-item {
            display: flex;
            align-items: center;
            padding: 10px 18px;
            color: var(--text-medium);
            font-size: 0.85rem;
            text-decoration: none;
            border-left: 3px solid transparent;
            transition: all 0.2s ease;
            cursor: pointer;
            white-space: nowrap;
            margin: 0;
        }
        
        .subcategory-item:hover {
            background: rgba(0, 102, 255, 0.06);
            color: var(--primary-blue);
            border-left-color: var(--primary-blue);
        }
        
        .subcategory-item.active {
            background: #E6F7FF;
            color: var(--primary-blue);
            border-left-color: var(--primary-blue);
            font-weight: 600;
        }
        
        .subcategory-item .badge {
            margin-left: auto;
            font-size: 0.7rem;
        }

        
        .categories-dropdown-item.has-subcategories {
            position: relative;
        }
        
        .categories-dropdown-item {
            position: relative;
        }
        
        
        .categories-dropdown-item .dropdown-submenu {
            display: none;
            position: absolute;
            left: calc(100% + 4px);
            top: -6px;
            min-width: 180px;
            padding: 6px 0;
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            z-index: 1070;
            white-space: nowrap;
        }
        .categories-dropdown-item .dropdown-submenu::before {
            content: '';
            position: absolute;
            top: 0;
            left: -10px;
            width: 10px;
            height: 100%;
        }

        @media (hover: hover) {
            .categories-dropdown-item.has-subcategories:hover .dropdown-submenu {
                display: block;
            }
        }

        
        .categories-dropdown-item .subcategory-arrow {
            display: none !important;
        }

        .dropdown-submenu-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 16px;
            color: var(--text-dark);
            font-size: 0.84rem;
            text-decoration: none;
            transition: all 0.15s ease;
            cursor: pointer;
            white-space: nowrap;
        }
        
        .dropdown-submenu-item:hover {
            background: rgba(0, 102, 255, 0.08);
            color: var(--primary-blue);
        }
        
        .dropdown-submenu-item .badge {
            font-size: 0.7rem;
            margin-left: 10px;
        }

        
        .products-main-area {
            flex: 1;
            padding: 0 0 20px;
            min-width: 0;
            max-width: 100%;
            width: 100%;
        }

        
        #product.product-list-card.is-loading-products {
            min-height: 0;
        }
        .product-card--skeleton {
            cursor: default;
            pointer-events: none;
            min-height: 218px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        }
        .product-card--skeleton .card-section-top {
            padding: 9px 14px 7px;
            border-bottom: 1px solid #f1f5f9;
            min-height: 34px;
            display: flex;
            align-items: center;
        }
        .product-card--skeleton .card-section-title {
            padding: 10px 14px 6px;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .product-card--skeleton .card-section-meta { padding: 0 14px 8px; }
        .product-card--skeleton .card-section-price { padding: 10px 14px 14px; margin-top: auto; }
        .sk-block {
            display: block;
            height: 12px;
            border-radius: 4px;
            background: linear-gradient(90deg, #f1f5f9 0%, #e8eef5 45%, #f1f5f9 90%);
            background-size: 220% 100%;
            animation: sk-shimmer 1.15s ease-in-out infinite;
        }
        .sk-w-40 { width: 40%; }
        .sk-title { width: 100%; }
        .sk-title-2 { width: 72%; }
        .sk-meta { width: 92%; height: 13px; }
        .sk-price { width: 46%; height: 17px; }
        @keyframes sk-shimmer {
            0% { background-position: 100% 0; }
            100% { background-position: -100% 0; }
        }

        .products-header {
            background: transparent;
            border-radius: 0;
            padding: 0 0 12px;
            margin-bottom: 0;
            display: flex;
            align-items: center;
            border: none;
            min-height: 48px;
            flex-wrap: wrap;
            row-gap: 6px;
        }

        .products-header-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .products-header-title i {
            color: var(--primary-blue);
            font-size: 0.85rem;
        }

        
        .products-count {
            display: none !important;
            background: transparent;
            color: var(--text-gray);
            padding: 0;
            font-weight: 500;
            font-size: 0.82rem;
            border: none;
            margin-left: 6px;
        }

        .sort-toolbar {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-left: auto;
        }
        .sort-toolbar .sort-btn {
            cursor: pointer;
            user-select: none;
            padding: 4px 11px;
            border-radius: 6px;
            font-size: 0.82rem;
            color: #334155;
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
            white-space: nowrap;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
        }
        .sort-toolbar .sort-btn:hover {
            background: #dde5ef;
            color: var(--primary-blue);
            border-color: #cbd5e1;
        }
        .sort-toolbar .sort-btn.sort-active {
            background: var(--primary-blue);
            color: #fff;
            font-weight: 600;
            border-color: var(--primary-blue);
        }
        @media (max-width: 576px) {
            .sort-toolbar { gap: 2px; }
            .sort-toolbar .sort-btn { font-size: 0.7rem; padding: 2px 7px; }
        }

        
        @media (min-width: 992px) {
            .product-list-card { gap: 22px; }
            .product-card:hover {
                transform: translateY(-4px);
                box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
            }
        }

        @media (max-width: 768px) {
            .sub-nav { top: 97px; }   
            .sub-nav-inner { width: 100%; padding: 0 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
            .sub-nav-link { padding: 10px 10px 8px; font-size: 0.78rem; flex-shrink: 0; }
            .content-wrapper { padding-top: 154px !important; }   
            .main-content-layout { width: 96%; }
            .selection-btn { padding: 0.6rem; font-size: 0.85rem; }
            .card-body { padding: 0.75rem; }
            
            
            .site-footer {
                padding: 2rem 0 1.5rem !important;
            }
            .site-footer .footer-content {
                flex-direction: column !important;
                align-items: center !important;
                text-align: center !important;
                gap: 2rem !important;
                padding: 0 1rem !important;
            }
        }

        @media (max-width: 576px) {
            .products-count {
                font-size: 0.8rem !important;
                padding: 4px 8px !important;
            }
            
            .table {
                font-size: 0.85rem !important;
            }
            
            .table td, .table th {
                padding: 8px 6px !important;
                font-size: 0.85rem !important;
            }
            
            .table img {
                width: 28px !important;
                height: 28px !important;
            }
            
            .table .btn-sm {
                padding: 6px 10px !important;
                font-size: 0.8rem !important;
            }
        }

        
        .commodity-icon {
            width: 32px;
            height: 32px;
            object-fit: contain;
            margin-right: 0.5rem;
            border-radius: 4px;
        }

        
        .table {
            background: var(--bg-white);
            border: none;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }
        
        .table tbody tr {
            min-height: 70px;
            transition: all 0.3s ease;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .table tbody td {
            padding: 15px 12px !important;
            vertical-align: middle !important;
            border-bottom: 1px solid #f0f0f0;
        }
        
        
        #product table {
            table-layout: fixed !important;
            width: 100% !important;
        }
        
        #product table thead th:nth-child(1),
        #product table tbody td:nth-child(1) {
            width: 40px !important;
            min-width: 40px !important;
        }
        
        #product table thead th:nth-child(3),
        #product table tbody td:nth-child(3) {
            width: 100px !important;
            min-width: 100px !important;
        }
        
        #product table thead th:nth-child(4),
        #product table tbody td:nth-child(4) {
            width: 120px !important;
            min-width: 120px !important;
        }
        
        #product table thead th:nth-child(5),
        #product table tbody td:nth-child(5) {
            width: 120px !important;
            min-width: 120px !important;
        }
        
        
        .table thead th {
            padding: 14px 12px !important;
            font-size: 0.85rem;
            background: #F4F6F8 !important;           
            border: none;
            border-bottom: 2px solid #E0E0E0;
            color: #555555 !important;               
            font-weight: 600;
            text-align: center;
            text-transform: none;                    
            letter-spacing: 0;
            box-shadow: none;                        
        }
        
        
        .table thead th:first-child,
        .table tbody td:first-child {
            width: 50px;
            text-align: center;
        }
        
        .table thead th:nth-child(2),
        .table tbody td:nth-child(2) {
            width: auto;
            text-align: left;
            padding-left: 16px !important;
        }
        
        .table thead th:nth-child(3),
        .table tbody td:nth-child(3) {
            width: 100px;
            text-align: center;
        }
        
        .table thead th:nth-child(4),
        .table tbody td:nth-child(4) {
            width: 110px;
            text-align: center;
        }
        
        .table thead th:nth-child(5),
        .table tbody td:nth-child(5) {
            width: 120px;
            text-align: center;
        }

        
        .table tbody tr {
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }
        
        .table tbody tr:last-child {
            border-bottom: none;
        }
        
        
        .table-hover tbody tr:hover {
            background: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
            cursor: pointer;
            border-bottom-color: var(--primary-blue-light);
        }
        
        
        .product-name-cell {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        
        .product-name-text {
            font-weight: 600;
            font-size: 0.95rem;
            color: #2c3e50;
            line-height: 1.4;
        }
        
        .product-name-text:hover {
            color: #DC2626;
        }
        
        
        .product-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .product-tag {
            display: inline-flex;
            align-items: center;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            line-height: 1;
            white-space: nowrap;
        }
        
        .product-tag.tag-2fa { background: #e3f2fd; color: #1976d2; }
        .product-tag.tag-email { background: #e8f5e9; color: #388e3c; }
        .product-tag.tag-cookie { background: #fff3e0; color: #f57c00; }
        .product-tag.tag-token { background: #fce4ec; color: #c2185b; }
        .product-tag.tag-new { background: #f3e5f5; color: #7b1fa2; }
        .product-tag.tag-old { background: #e0f2f1; color: #00796b; }
        .product-tag.tag-api { background: #fff9c4; color: #f57f17; }
        .product-tag.tag-auto { background: #ede7f6; color: #512da8; }
        .product-tag.tag-default { background: #f5f5f5; color: #757575; }
        
        
        .stock-cell {
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .stock-available {
            color: #28a745;
        }
        
        .stock-low {
            color: #ffc107;
        }
        
        .stock-out {
            color: #dc3545;
        }
        
        
        .price-cell {
            font-size: 1.2rem !important;
            font-weight: 800 !important;
            color: var(--price-red) !important;   
            letter-spacing: 0.5px;
        }
        
        
        .btn-purchase {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 8px 12px !important;
            border: none !important;
            border-radius: 8px !important;
            background: linear-gradient(135deg, #FF9900 0%, #e68a00 100%) !important;  
            color: #fff !important;
            font-weight: 600 !important;
            font-size: 0.85rem !important;
            letter-spacing: 0;
            box-shadow: 0 3px 10px rgba(255, 153, 0, 0.35);
            text-shadow: 0 1px 2px rgba(0,0,0,0.15);
            transition: all 0.3s ease !important;
            white-space: nowrap;
            max-width: 100%;
        }
        
        .btn-purchase:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 153, 0, 0.5);
            background: linear-gradient(135deg, #e68a00 0%, #cc7a00 100%) !important;  
        }
        
        .btn-purchase:active {
            transform: translateY(0);
        }
        
        .btn-purchase:disabled {
            background: #e0e0e0 !important;
            color: #9e9e9e !important;
            cursor: not-allowed;
            box-shadow: none;
        }
        
        .btn-purchase i {
            font-size: 1rem;
        }

        
        .table-danger thead,
        .table-light thead {
            background: #F4F6F8 !important;
        }

        .table-danger thead th,
        .table-light thead th {
            color: #555555 !important;
            border-bottom: 2px solid #E0E0E0;
            background: #F4F6F8 !important;
        }

        
        .card-body.bg-light {
            background: var(--bg-white) !important;
        }

        
        @media (max-width: 768px) {
            .header-logo .logo-text {
                font-size: 1.1rem;
            }

            .nav-link {
                font-size: 0.875rem;
                padding: 0.5rem 0.75rem !important;
            }

            .card-header {
                padding: 1rem 1.25rem;
            }

            .card-header h5 {
                font-size: 1.1rem;
            }

            .card-body {
                padding: 1.25rem;
            }

            .btn-lg {
                font-size: 0.95rem;
                padding: 0.75rem 1.25rem;
            }
        }

        
        .text-success {
            color: var(--primary-red) !important;
            font-weight: 700;
        }

        
        a {
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        a:hover {
            color: #DC2626;
            text-decoration: none !important;
        }

        
        
        ::-webkit-scrollbar {
            width: 12px !important;
            height: 12px !important;
        }

        ::-webkit-scrollbar-track {
            background: #f1f5f9 !important;
            border-radius: 10px !important;
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(37, 99, 235, 0.3) !important;  
            border-radius: 10px !important;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(37, 99, 235, 0.5) !important;  
        }
        
        
        * {
            scrollbar-width: thin !important;
            scrollbar-color: rgba(37, 99, 235, 0.3) #f1f5f9 !important;
        }

        
        .login-display {
            padding: 2rem;
            background: var(--bg-gray);
            border-radius: 6px;
        }

        .price_tips {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        .price_tips a {
            color: var(--primary-red) !important;
            text-decoration: underline;
        }

        
        .shopInfoHtml .card-body {
            padding: 1.5rem;
        }

        
        .payment-sidebar {
            z-index: 10;
        }

        @media (max-width: 991px) {
            .payment-sidebar {
                position: relative !important;
                top: 0 !important;
                margin-top: 2rem;
            }
        }

        .payment-sidebar .btn {
            white-space: nowrap;
        }
        
        
        .payment-sidebar .pay_type .btn {
            font-size: 0.8rem !important;
            padding: 6px 10px !important;
        }
        
        .payment-sidebar .buy-now-btn-container .btn {
            font-size: 0.9rem !important;
            padding: 8px 16px !important;
        }
        
        .payment-sidebar .form-control {
            font-size: 0.85rem;
            padding: 6px 10px;
        }
        
        .payment-sidebar label {
            font-size: 0.85rem !important;
        }

        
        .commodity .row {
            margin-bottom: 1rem;
        }

        
        .shopInfoHtml {
            max-width: 100%;
            overflow: visible;
        }

        
        .purchase-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            box-sizing: border-box;
            backdrop-filter: blur(3px);
        }

        .purchase-modal {
            background: #fff;
            border-radius: 16px;
            width: 100%;
            max-width: 900px;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .purchase-modal-header {
            background: var(--primary-blue);
            color: #fff;
            padding: 16px 24px;
            border-radius: 16px 16px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .purchase-modal-header h5 {
            font-weight: 600;
            font-size: 1.1rem;
        }

        .purchase-modal-close {
            background: rgba(255,255,255,0.2);
            border: none;
            color: #fff;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            font-size: 1.1rem;
        }

        .purchase-modal-close:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }

        .purchase-modal-body {
            padding: 24px;
            overflow-y: auto;
            flex: 1;
            max-height: calc(90vh - 70px);
        }

        
        .purchase-modal .row.g-4 {
            margin: 0;
        }

        .purchase-modal .col-lg-7,
        .purchase-modal .col-lg-5 {
            padding: 0;
        }

        .purchase-modal .col-lg-7 {
            padding-right: 20px;
        }

        .purchase-modal .payment-sidebar {
            position: relative !important;
            top: 0 !important;
        }

        
        @media (max-width: 992px) {
            .purchase-modal {
                max-width: 100%;
                max-height: 95vh;
                margin: 10px;
                border-radius: 12px;
            }

            .purchase-modal-header {
                border-radius: 12px 12px 0 0;
                padding: 14px 18px;
            }

            .purchase-modal-body {
                padding: 16px;
                max-height: calc(95vh - 60px);
            }

            .purchase-modal .col-lg-7 {
                padding-right: 0;
                margin-bottom: 20px;
            }

            .purchase-modal .row.g-4 {
                flex-direction: column;
            }
        }
        
        
        @media (max-width: 576px) {
            .purchase-modal {
                margin: 5px;
                max-height: 98vh;
                border-radius: 10px;
            }
            
            .purchase-modal-header {
                padding: 12px 14px;
                border-radius: 10px 10px 0 0;
            }
            
            .purchase-modal-header h5 {
                font-size: 1rem;
            }
            
            .purchase-modal-body {
                padding: 12px;
                max-height: calc(98vh - 50px);
            }
            
            .purchase-modal .productName {
                font-size: 1.1rem !important;
            }
            
            .purchase-modal .pay-method-btn {
                padding: 8px 12px !important;
                font-size: 0.9rem !important;
                margin-right: 0.5rem !important;
                margin-bottom: 0.5rem !important;
            }
            
            .purchase-modal .buy-now-btn {
                padding: 0.6rem !important;
                font-size: 1rem !important;
            }
            
            
            .purchase-modal .form-control-lg {
                font-size: 0.95rem;
                padding: 0.6rem 0.8rem;
            }
            
            .purchase-modal label {
                font-size: 0.9rem;
            }
        }

        
        @media (max-width: 576px) {
            body .layui-layer.purchase-success-layer {
                max-width: 92vw !important;
                max-height: 85vh !important;
            }
            body .layui-layer.purchase-success-layer .layui-layer-content {
                max-height: 85vh !important;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch !important;
            }
            .layui-layer-content .purchase-success-modal {
                padding: 16px !important;
            }
            .layui-layer-content .purchase-success-modal .fa-3x {
                font-size: 2rem !important;
                margin-bottom: 10px !important;
            }
            .layui-layer-content .purchase-success-modal h3 {
                font-size: 1.1rem !important;
            }
            .layui-layer-content .purchase-success-modal textarea {
                min-height: 100px !important;
                padding: 10px !important;
                font-size: 12px !important;
            }
            .layui-layer-content .purchase-success-modal > div:first-child {
                padding: 16px !important;
            }
            .layui-layer-content .purchase-success-modal button {
                padding: 10px 16px !important;
                font-size: 0.9rem !important;
            }
            .layui-layer-content .purchase-success-modal .layui-layer-btn {
                padding: 12px 10px !important;
            }
        }

        
        .purchase-modal .productName {
            font-size: 1.3rem !important;
        }

        .purchase-modal .description {
            font-size: 0.95rem !important;
            max-height: 150px;
            overflow-y: auto;
        }

        
        .description img {
            max-width: 100% !important;
            height: auto !important;
            max-height: 300px;
            object-fit: contain;
            display: block;
            margin: 10px auto;
            border-radius: 8px;
        }

        
        .purchase-modal .description img {
            max-height: 150px;
        }

        
        .shopInfoHtml .description img,
        .commodity .description img {
            max-width: 100% !important;
            max-height: 400px;
            height: auto !important;
        }

        .purchase-modal .form-control-lg {
            font-size: 1rem;
            padding: 0.6rem 1rem;
        }

        .purchase-modal .card-header {
            padding: 12px 16px;
        }

        .purchase-modal .card-body {
            padding: 16px;
        }

        
        .layui-layer {
            border-radius: 14px !important;
            box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
            overflow: visible !important;
            border: none !important;
            background: #ffffff !important;
        }

        .layui-layer-dialog {
            border-radius: 14px !important;
            background: #ffffff !important;
        }

        
        .layui-layer-title {
            background: var(--primary-blue) !important;
            color: #fff !important;
            font-weight: 600 !important;
            border-bottom: none !important;
            height: 46px !important;
            line-height: 46px !important;
            padding: 0 50px 0 16px !important;
            font-size: 15px !important;
            border-radius: 14px 14px 0 0 !important;
            overflow: hidden !important;
        }

        
        .layui-layer-dialog .layui-layer-content {
            color: #334155 !important;
            font-size: 14px !important;
            padding: 25px 20px !important;
            background: #ffffff !important;
            text-align: center !important;
        }

        
        .layui-layer-btn {
            border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
            padding: 12px 15px !important;
            background: #f8fafc !important;
            text-align: center !important;
            border-radius: 0 0 14px 14px !important;
        }

        
        .layui-layer-btn a {
            height: 36px !important;
            line-height: 36px !important;
            padding: 0 24px !important;
            border-radius: 8px !important;
            font-size: 14px !important;
            margin: 0 8px !important;
            display: inline-block !important;
            text-decoration: none !important;
            transition: transform 0.15s ease, box-shadow 0.15s ease !important;
        }
        .layui-layer-btn a:hover {
            transform: translateY(-1px);
        }

        
        .layui-layer-btn .layui-layer-btn0 {
            background: var(--primary-blue) !important;
            border: 1px solid transparent !important;
            color: #fff !important;
            box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22) !important;
        }

        .layui-layer-btn .layui-layer-btn0:hover {
            background: var(--primary-blue-dark) !important;
        }

        
        .layui-layer-btn .layui-layer-btn1 {
            background: #ffffff !important;
            border: 1px solid rgba(15, 23, 42, 0.14) !important;
            color: #475569 !important;
        }

        
        .layui-layer-setwin {
            top: 0 !important;
            right: 0 !important;
        }

        .layui-layer-setwin a {
            width: 44px !important;
            height: 44px !important;
            line-height: 44px !important;
        }

        .layui-layer-setwin .layui-layer-close1,
        .layui-layer-setwin .layui-layer-close2 {
            background: none !important;
            font-size: 20px !important;
            color: #fff !important;
            opacity: 0.8 !important;
            right: 0 !important;
            top: 0 !important;
        }

        
        .layui-layer-msg {
            background: rgba(255, 255, 255, 0.96) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border-radius: 12px !important;
            box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
            border: none !important;
            min-width: 160px !important;
            max-width: 90vw !important;
            overflow: visible !important;
        }

        .layui-layer-msg .layui-layer-content {
            color: #1e293b !important;
            font-size: 1rem !important;
            padding: 16px 30px !important;
            background: transparent !important;
            font-weight: 600 !important;
            
            white-space: normal !important;
            word-break: break-word !important;
            line-height: 1.6 !important;
            overflow: visible !important;
            text-overflow: unset !important;
            min-width: 80px !important;
            text-align: center !important;
        }

        
        .layui-layer-ico,
        .layui-layer-ico1,
        .layui-layer-ico2,
        .layui-layer-ico3,
        .layui-layer-ico4,
        .layui-layer-ico5,
        .layui-layer-ico6,
        .layui-layer-ico7 {
            display: none !important;
        }

        
        .layui-layer .layui-layer-content {
            background: #ffffff !important;
            color: #334155 !important;
        }

        
        .layui-layer-page {
            background: #ffffff !important;
            border: none !important;
            border-radius: 14px !important;
            box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
        }

        .layui-layer-page .layui-layer-content {
            color: #334155 !important;
            border-radius: 14px !important;
        }

        .layui-layer-page .layui-layer-content a {
            color: #2563EB;
        }

        
        .layui-btn-warm,
        .layui-bg-orange,
        .layui-btn-pink,
        .layui-bg-pink {
            background: #2563EB !important;
        }
        
        .hok-gradient-text {
            color: #222222 !important;             
            -webkit-text-fill-color: #222222;      
            background: none;
            font-weight: 800;
            display: inline-block;
            letter-spacing: -0.5px;
        }

        
        :root {
            
            --primary-blue: #2563EB;
            --primary-blue-dark: #1d4ed8;
            --primary-blue-light: #3b82f6;
            --primary-red: #2563EB;
            --primary-red-dark: #1d4ed8;
            --primary-red-hover: #1d4ed8;
            
            --aur-bg-0: #f5f7fc;
            --aur-bg-1: #eef1f9;
            --aur-surface: rgba(255, 255, 255, 0.78);
            --aur-surface-2: #ffffff;
            --aur-border: rgba(15, 23, 42, 0.08);
            --aur-border-strong: rgba(79, 70, 229, 0.35);
            --aur-text: #0f172a;
            --aur-text-2: #475569;
            --aur-text-3: #94a3b8;
            --aur-accent: #2563EB;
            --aur-accent-2: #0ea5e9;
            --aur-cyan: #0891b2;
            --aur-grad: linear-gradient(135deg, #2563EB 0%, #0ea5e9 100%);
            --aur-grad-hover: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
            --aur-price: #e11d48;
            --aur-green: #059669;
            --aur-glow: 0 8px 28px rgba(79, 70, 229, 0.16);
        }

        
        body {
            background-color: var(--aur-bg-0);
            background-image:
                radial-gradient(1100px 520px at 85% -8%, rgba(124, 58, 237, 0.06), transparent 60%),
                radial-gradient(900px 480px at -10% 12%, rgba(59, 130, 246, 0.06), transparent 62%),
                linear-gradient(180deg, #f8fafd 0%, #f4f6fb 45%, #eef1f9 100%);
            background-attachment: fixed;
            color: var(--aur-text);
        }
        .content-wrapper {
            background: transparent;
        }
        ::selection { background: rgba(79, 70, 229, 0.2); color: #1e1b4b; }

        
        .site-header {
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
        }
        .site-header.scrolled {
            background: rgba(255, 255, 255, 0.94);
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(15, 23, 42, 0.05);
        }
        .header-logo .logo-text {
            color: #1e293b;
            background: linear-gradient(120deg, #1e293b 30%, #2563EB 90%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .header-logo:hover .logo-text { color: #1e293b; }
        .search-group {
            border-color: rgba(15, 23, 42, 0.1);
            background: rgba(248, 250, 252, 0.9);
        }
        .search-group:focus-within {
            border-color: var(--aur-accent);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
            background: #fff;
        }
        .search-input { color: var(--aur-text) !important; }
        .search-input::placeholder { color: var(--aur-text-3); }
        .search-btn { border-left-color: rgba(15, 23, 42, 0.08); color: var(--aur-text-2); }
        .search-btn:hover { background: rgba(79, 70, 229, 0.08); color: var(--aur-accent); }
        .header-action-link { color: var(--aur-text-2); }
        .header-action-link:hover { background: rgba(79, 70, 229, 0.08); color: var(--aur-accent); }
        .lang-switcher { background: rgba(15, 23, 42, 0.05); }
        .lang-switcher .lang-btn { color: var(--aur-text-2); }
        .lang-switcher .lang-btn:hover { color: var(--aur-accent); }
        .lang-switcher .lang-btn.active { background: var(--aur-grad); color: #fff; }

        
        .sub-nav {
            background: rgba(255, 255, 255, 0.72);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-top-color: rgba(15, 23, 42, 0.05);
            border-bottom-color: rgba(15, 23, 42, 0.05);
        }
        .sub-nav-link { color: var(--aur-text-2); }
        .sub-nav-link:hover { color: var(--aur-accent); }
        .sub-nav-link.active { color: var(--aur-accent); border-bottom-color: var(--aur-accent); }

        
        .categories-dropdown-menu,
        .categories-dropdown-item .dropdown-submenu,
        .category-submenu,
        .subcategories-container {
            background: #ffffff;
            border-color: var(--aur-border);
            box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.03);
        }
        .categories-dropdown-menu hr { border-color: rgba(15, 23, 42, 0.07); }
        .categories-dropdown-item,
        .dropdown-submenu-item,
        .submenu-item,
        .subcategory-item {
            color: var(--aur-text-2);
        }
        .categories-dropdown-item:hover,
        .dropdown-submenu-item:hover,
        .submenu-item:hover,
        .subcategory-item:hover {
            background: rgba(79, 70, 229, 0.07);
            color: var(--aur-accent);
            border-left-color: var(--aur-accent);
        }
        .subcategory-item.active {
            background: rgba(79, 70, 229, 0.1);
            color: var(--aur-accent);
            border-left-color: var(--aur-accent);
        }
        .categories-dropdown-item .badge.bg-light,
        .subcategory-item .badge.bg-light {
            background: rgba(15, 23, 42, 0.05) !important;
            color: var(--aur-text-2) !important;
        }

        
        .sidebar-categories { border-bottom-color: rgba(15, 23, 42, 0.06); }
        .category-sidebar-item {
            background: linear-gradient(160deg, #ffffff 0%, #f4f6fd 100%);
            border-color: rgba(15, 23, 42, 0.08);
            color: var(--aur-text-2);
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        }
        .category-sidebar-item:hover {
            background: linear-gradient(160deg, #ffffff 0%, #eef0ff 100%);
            color: var(--aur-accent);
            border-color: rgba(79, 70, 229, 0.3);
            box-shadow: 0 6px 16px rgba(79, 70, 229, 0.12);
            transform: translateY(-1px);
        }
        .category-sidebar-item.active {
            background: var(--aur-grad);
            border-color: transparent;
            color: #fff;
            box-shadow: var(--aur-glow);
        }
        .category-sidebar-item i { color: var(--aur-text-3); }
        .category-sidebar-item:hover i { color: var(--aur-accent); }
        .category-sidebar-item .subcategory-toggle { color: var(--aur-text-3); }

        
        
        .cat-intro-wrap { margin: 0 0 10px; }
        .cat-intro-wrap > summary {
            display: inline-flex; align-items: center; gap: 6px;
            cursor: pointer; list-style: none; user-select: none;
            font-size: .82rem; color: #94a3b8; padding: 2px 0;
        }
        .cat-intro-wrap > summary::-webkit-details-marker { display: none; }
        .cat-intro-wrap > summary::after { content: '\25BE'; font-size: .75rem; transition: transform .15s; }
        .cat-intro-wrap[open] > summary::after { transform: rotate(180deg); }
        .cat-intro-wrap > summary:hover { color: var(--aur-accent); }
        .cat-intro-wrap[open] > .category-intro { margin-top: 8px; }
        .category-intro {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 14px 18px;
            margin: 0 0 14px;
            color: #475569;
            font-size: .9rem;
            line-height: 1.75;
            
            white-space: pre-line;
        }

        
        .products-header-title { color: var(--aur-text); }
        .products-header-title i { color: var(--aur-accent); }
        .sort-toolbar .sort-btn {
            background: #ffffff;
            border-color: var(--aur-border);
            color: var(--aur-text-2);
        }
        .sort-toolbar .sort-btn:hover {
            background: rgba(79, 70, 229, 0.06);
            color: var(--aur-accent);
            border-color: rgba(79, 70, 229, 0.3);
        }
        .sort-toolbar .sort-btn.sort-active {
            background: var(--aur-grad);
            border-color: transparent;
            color: #fff;
        }

        
        .product-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(15, 23, 42, 0.07);
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
            transition: transform 0.25s cubic-bezier(.22, 1, .36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
        }
        .product-card:hover {
            border-color: rgba(79, 70, 229, 0.28);
            box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1), 0 6px 18px rgba(79, 70, 229, 0.08);
            transform: translateY(-5px);
        }
        
        @media (min-width: 769px) {
            .product-card .card-section-top { padding: 14px 18px 10px; }
            .product-card .card-section-title { padding: 12px 18px 10px; }
            .product-card .card-product-name { line-height: 1.55; }
            .product-card .card-section-meta { padding: 12px 16px; line-height: 1.6; }
            .product-card .card-section-price { padding: 13px 18px 15px; }
        }
        .card-section-top {
            background: transparent;
            border-bottom-color: rgba(15, 23, 42, 0.05);
        }
        .card-supplier .supplier-label { color: var(--aur-text-3); }
        .card-supplier .supplier-name { color: var(--aur-text-2); }
        .card-pid { color: var(--aur-text-2); background: rgba(148, 163, 184, 0.12); border-color: rgba(15, 23, 42, 0.08); }
        .card-pid:hover { color: var(--aur-accent); border-color: rgba(79, 70, 229, 0.35); }
        .card-pid .pid-label { color: var(--aur-text-3); }
        .card-follow-btn { color: rgba(100, 116, 139, 0.55); }
        .card-follow-btn:hover,
        .card-follow-btn.followed,
        .card-follow-btn.following { color: #e11d48; }
        .card-product-name { color: var(--aur-text); }
        .card-product-name:hover { color: var(--aur-accent); }
        .card-section-meta {
            background-color: rgba(248, 250, 252, 0.8);
            border-color: rgba(15, 23, 42, 0.05);
            color: var(--aur-text-2);
        }
        .card-stock { color: var(--aur-green); }
        .card-stock.out-of-stock { color: #dc2626; }
        .card-sold { color: var(--aur-text-3); }
        .card-wholesale { color: #be185d; }
        .card-section-price { border-top-color: rgba(15, 23, 42, 0.06); }
        .card-price-label { color: var(--aur-text-3); }
        .card-price-value {
            color: var(--aur-price);
            text-shadow: none;
        }

        
        .stock-meter {
            height: 4px;
            border-radius: 99px;
            background: rgba(15, 23, 42, 0.06);
            overflow: hidden;
            margin-top: 6px;
        }
        .stock-meter-fill {
            display: block;
            height: 100%;
            width: 0;
            border-radius: 99px;
            background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
            transition: width 0.8s cubic-bezier(.22, 1, .36, 1);
        }
        .stock-meter-fill.low {
            background: linear-gradient(90deg, #f59e0b 0%, #fb923c 100%);
        }
        .stock-meter-fill.out {
            background: linear-gradient(90deg, rgba(220, 38, 38, 0.35) 0%, rgba(220, 38, 38, 0.15) 100%);
        }

        
        .product-card--skeleton {
            background: rgba(255, 255, 255, 0.7);
            border-color: var(--aur-border);
        }
        .product-card--skeleton .card-section-top { border-bottom-color: rgba(15, 23, 42, 0.04); }
        .sk-block {
            background: linear-gradient(90deg, rgba(15,23,42,0.05) 0%, rgba(15,23,42,0.1) 45%, rgba(15,23,42,0.05) 90%);
            background-size: 220% 100%;
        }

        
        .empty-products {
            background: rgba(255, 255, 255, 0.65);
            border: 1px dashed rgba(15, 23, 42, 0.14);
            color: var(--aur-text-2);
        }
        .products-main-area .text-muted,
        .empty-products .text-muted { color: var(--aur-text-2) !important; }

        
        a:hover { color: var(--aur-accent); }
        ::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.04) !important; }
        ::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, 0.4) !important; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(79, 70, 229, 0.5) !important; }
        * { scrollbar-color: rgba(100, 116, 139, 0.4) rgba(15, 23, 42, 0.04) !important; }

        
        .purchase-modal-overlay {
            background: rgba(15, 23, 42, 0.4);
            backdrop-filter: blur(8px);
        }
        .purchase-modal { box-shadow: 0 32px 80px rgba(15, 23, 42, 0.25); }
        .purchase-modal-header {
            background: var(--primary-blue);
        }

        
        .site-footer {
            background: rgba(255, 255, 255, 0.7) !important;
            border-top: 1px solid rgba(15, 23, 42, 0.06);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .site-footer,
        .site-footer p {
            color: #64748b !important;
        }
        .site-footer h2,
        .site-footer p span {
            color: #0f172a !important;
        }
        .site-footer a {
            color: #475569 !important;
        }
        .site-footer a:hover {
            color: #4f46e5 !important;
        }
        .site-footer .row.mt-4.pt-3 {
            border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
        }

        
        .home-columns {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            width: 100%;
            min-width: 0;
        }
        .home-columns .products-main-area { flex: 1 1 auto; min-width: 0; }
        
        @media (min-width: 1400px) {
            .home-columns .products-main-area { flex: 0 0 calc(100% - clamp(300px, 24vw, 360px) - 18px); max-width: calc(100% - clamp(300px, 24vw, 360px) - 18px); }
        }

        .quick-workspace {
            width: clamp(300px, 24vw, 360px);
            max-width: 360px;
            min-width: 300px;
            flex: 0 0 auto;
            position: sticky;
            top: 125px;
            max-height: calc(100vh - 145px);
            display: flex;
            flex-direction: column;
        }
        .qw-card {
            display: flex;
            flex-direction: column;
            border-radius: 14px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
            overflow: hidden;
            min-height: 0;
        }
        .qw-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 13px 16px 11px;
            background: #ffffff;
            border-bottom: 1px solid #f1f5f9;
            flex-shrink: 0;
        }
        .qw-title {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            font-size: 0.98rem;
            font-weight: 800;
            color: var(--aur-text);
            letter-spacing: 0.2px;
        }
        .qw-title .qw-bolt {
            width: 28px; height: 28px;
            border-radius: 9px;
            display: inline-flex; align-items: center; justify-content: center;
            background: #eff6ff;
            color: var(--primary-blue); font-size: 0.8rem;
            border: 1px solid #dbeafe;
        }
        .qw-close {
            display: none;
            width: 32px; height: 32px;
            border: none;
            border-radius: 50%;
            background: rgba(15, 23, 42, 0.05);
            color: var(--aur-text-2);
            font-size: 1rem;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: background 0.15s ease, transform 0.2s ease;
        }
        .qw-close:hover { background: rgba(15, 23, 42, 0.1); transform: rotate(90deg); }

        .qw-tabs {
            display: flex;
            gap: 6px;
            padding: 9px 12px 0;
            flex-shrink: 0;
        }
        .qw-tab {
            flex: 1;
            border: 1px solid transparent;
            background: transparent;
            color: var(--aur-text-2);
            font-size: 0.82rem;
            font-weight: 600;
            padding: 9px 6px;
            border-radius: 10px 10px 0 0;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            white-space: nowrap;
            position: relative;
            transition: color 0.2s ease, background 0.2s ease;
        }
        .qw-tab i { font-size: 0.78rem; }
        .qw-tab:hover { color: var(--primary-blue); background: #f8fafc; }
        .qw-tab.active { color: var(--primary-blue); background: #eff6ff; }
        .qw-tab::after {
            content: '';
            position: absolute;
            left: 18%; right: 18%;
            bottom: 0;
            height: 2.5px;
            border-radius: 3px;
            background: var(--primary-blue);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
        }
        .qw-tab.active::after { transform: scaleX(1); }

        .qw-body {
            padding: 16px;
            overflow-y: auto;
            min-height: 0;
            border-top: 1px solid #f8fafc;
        }
        .qw-panel { display: none; }
        .qw-panel.active {
            display: block;
            animation: qw-fade-in 0.28s cubic-bezier(.22, 1, .36, 1);
        }
        @keyframes qw-fade-in {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        
        .qw-submit {
            width: 100%;
            height: 44px;
            border: none;
            border-radius: 11px;
            background: var(--primary-blue);
            color: #fff;
            font-size: 0.92rem;
            font-weight: 700;
            letter-spacing: 0.4px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none !important;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
            transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
        }
        .qw-submit:hover { background: var(--primary-blue-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2); color: #fff; }
        .qw-submit:active { transform: translateY(0); }
        .qw-submit:disabled { filter: grayscale(0.4) opacity(0.7); cursor: not-allowed; transform: none; }
        .qw-hint {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.7rem;
            color: var(--aur-text-3);
            margin-top: 8px;
        }

        .qw-rate-bar { display: flex; align-items: center; gap: 8px; width: 100%; margin: 10px 0 0; padding: 9px 12px; border: none; border-radius: 10px; background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; font-size: .92rem; font-weight: 800; text-align: left; cursor: pointer; box-shadow: 0 3px 10px rgba(217,119,6,.25); }
        .qw-rate-bar:hover { filter: brightness(1.05); }
        .qw-rate-bar .qw-rate-caret { margin-left: auto; }
        .qw-rated-bar { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #ecfdf5; color: #047857; font-size: .85rem; font-weight: 700; }
        .qw-rated-bar i { margin-right: 6px; }
        .qw-rated-tag { margin-left: auto; align-self: center; font-size: .75rem; font-weight: 700; color: #047857; white-space: nowrap; }
        .qw-rated-tag i { margin-right: 4px; }
        .qw-order-grid .qw-order-meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; row-gap: 2px; }
        .qw-order-grid .qw-order-meta .v.amount { font-size: .86rem; font-weight: 800; }
        .qw-order-grid .qw-dot { color: #cbd5e1; margin: 0 4px; }
        .qw-order-grid .qw-order-time { margin-right: 0; font-variant-numeric: tabular-nums; }
        .qw-rated { font-size: .82rem; color: #10b981; font-weight: 700; align-self: center; }
        .qw-rated i { margin-right: 4px; }
        .qw-rate-box { margin-top: 8px; padding: 10px; border: 1px dashed #fcd34d; border-radius: 10px; background: #fffdf5; }
        .qw-rate-opts { display: flex; align-items: center; gap: 2px; margin-bottom: 8px; }
        .qw-rate-opt { border: none; background: none; padding: 0 2px; font-size: 1.7rem; line-height: 1; color: #d1d5db; cursor: pointer; }
        .qw-rate-opt.lit { color: #f59e0b; }
        .qw-rate-hint { margin-left: 8px; font-size: .85rem; color: #92400e; font-weight: 600; }
        .qw-rate-guide { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 8px; }
        .qw-rate-q { border: 1px dashed #cbd5e1; background: #f8fafc; color: #475569; border-radius: 14px; padding: 2px 10px; font-size: .78rem; cursor: pointer; }
        .qw-rate-q:hover { border-color: #f59e0b; color: #b45309; background: #fffbeb; }
        .qw-rate-text { width: 100%; min-height: 56px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 8px; font-size: .85rem; margin-bottom: 8px; resize: vertical; }
                
        .qw-orders-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 11px;
        }
        .qw-orders-toolbar .qw-section-title { margin: 0; }
        .qw-refresh-btn {
            border: 1px solid rgba(15, 23, 42, 0.1);
            background: #fff;
            color: var(--aur-text-2);
            font-size: 0.72rem;
            font-weight: 600;
            padding: 5px 11px;
            border-radius: 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
        }
        .qw-refresh-btn:hover { color: var(--primary-blue); border-color: #bfdbfe; background: #eff6ff; }
        .qw-refresh-btn:disabled { opacity: 0.55; cursor: not-allowed; }

        
        .qw-results { margin-top: 2px; }
        .qw-result-empty {
            text-align: center;
            padding: 22px 10px;
            color: var(--aur-text-3);
            font-size: 0.82rem;
            border: 1px dashed rgba(15, 23, 42, 0.14);
            border-radius: 12px;
            background: rgba(248, 250, 252, 0.6);
        }
        .qw-result-empty i { display: block; font-size: 1.6rem; margin-bottom: 8px; color: rgba(100, 116, 139, 0.4); }
        .qw-order {
            border: 1px solid rgba(15, 23, 42, 0.07);
            border-radius: 14px;
            background: #ffffff;
            padding: 13px 14px;
            margin-bottom: 12px;
            animation: qw-fade-in 0.3s ease;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .qw-order:hover { border-color: #bfdbfe; box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06); }
        .qw-order-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 9px;
        }
        .qw-order-name {
            font-size: 0.84rem;
            font-weight: 700;
            color: var(--aur-text);
            line-height: 1.4;
            word-break: break-word;
            min-width: 0;
        }
        .qw-badge {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 3px 10px;
            border-radius: 99px;
            font-size: 0.68rem;
            font-weight: 700;
            white-space: nowrap;
        }
        .qw-badge.paid { background: rgba(5, 150, 105, 0.08); color: #047857; border: 1px solid rgba(5, 150, 105, 0.25); }
        .qw-badge.unpaid { background: rgba(220, 38, 38, 0.06); color: #b91c1c; border: 1px solid rgba(220, 38, 38, 0.22); }
        .qw-badge.shipped { background: #eff6ff; color: var(--primary-blue); border: 1px solid #bfdbfe; }
        .qw-order-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 7px 12px;
            font-size: 0.74rem;
            margin-bottom: 10px;
        }
        .qw-order-grid .k { color: var(--aur-text-3); margin-right: 4px; }
        .qw-order-grid .v { color: var(--aur-text); font-weight: 600; word-break: break-all; }
        .qw-order-grid .v.amount { color: var(--aur-price); }
        .qw-order-grid .full { grid-column: 1 / -1; }
        .qw-order-grid .qw-order-no-row {
            display: flex;
            align-items: center;
            min-width: 0;
        }
        .qw-order-grid .qw-order-no-row .k {
            flex-shrink: 0;
        }
        .qw-order-grid .qw-order-no-row .v {
            flex: 1 1 auto;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            word-break: normal;
        }
        .qw-copy-mini {
            border: none;
            background: #eff6ff;
            color: var(--primary-blue);
            font-size: 0.66rem;
            padding: 2px 8px;
            margin-left: 8px;
            border-radius: 6px;
            cursor: pointer;
            flex-shrink: 0;
            transition: background 0.15s ease;
        }
        .qw-copy-mini:hover { background: #dbeafe; }
        .qw-order-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .qw-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 7px 13px;
            border-radius: 9px;
            border: none;
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none !important;
            transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
            line-height: 1;
        }
        .qw-btn:hover { transform: translateY(-1px); }
        .qw-btn-primary {
            background: var(--primary-blue);
            color: #fff !important;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
        }
        .qw-btn-primary:hover { background: var(--primary-blue-dark); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2); color: #fff !important; }
        .qw-view-secret {
            background: #f8fafc;
            border: 1px solid #dbeafe;
            color: var(--primary-blue) !important;
            box-shadow: none;
        }
        .qw-view-secret:hover {
            background: #eff6ff;
            border-color: #bfdbfe;
            box-shadow: none;
            color: var(--primary-blue-dark) !important;
        }
        .qw-btn-ghost {
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.12);
            color: var(--aur-text-2) !important;
        }
        .qw-btn-ghost:hover { background: #eff6ff; border-color: #bfdbfe; color: var(--primary-blue) !important; }
        .qw-btn-success {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #047857 !important;
            box-shadow: none;
        }
        .qw-btn-success:hover { background: #dcfce7; color: #047857 !important; }
        .qw-secret-box { margin-top: 10px; display: none; }
        .qw-secret-box textarea {
            width: 100%;
            height: 150px;
            resize: vertical;
            border-radius: 10px;
            border: 1px solid rgba(15, 23, 42, 0.1);
            background: #f8fafc;
            color: #0f766e;
            font-family: 'Courier New', Consolas, monospace;
            font-size: 0.74rem;
            line-height: 1.6;
            padding: 10px 12px;
            outline: none;
        }

        
        .qw-section-title {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--aur-text);
            margin: 2px 0 10px;
            display: flex;
            align-items: center;
            gap: 7px;
        }
        .qw-section-title i { color: var(--primary-blue); }
        .qw-info-card {
            border: 1px solid rgba(15, 23, 42, 0.07);
            background: rgba(248, 250, 252, 0.85);
            border-radius: 13px;
            padding: 13px 14px;
            margin-bottom: 12px;
            font-size: 0.78rem;
            color: var(--aur-text-2);
            line-height: 1.7;
        }
        .qw-info-card b { color: var(--aur-text); }
        .qw-action-list { display: flex; flex-direction: column; gap: 9px; }
        .qw-action-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 13px;
            border: 1px solid rgba(15, 23, 42, 0.07);
            background: #ffffff;
            text-decoration: none !important;
            transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
            cursor: pointer;
        }
        .qw-action-item:hover {
            transform: translateX(2px);
            border-color: #bfdbfe;
            background: #f8fafc;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
        }
        .qw-action-item .ai-icon {
            width: 36px; height: 36px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-blue);
            font-size: 0.9rem;
            flex-shrink: 0;
            background: #eff6ff;
            border: 1px solid #dbeafe;
            box-shadow: none;
        }
        .qw-action-item .ai-icon.green { background: #f0fdf4; border-color: #bbf7d0; color: #047857; }
        .qw-action-item .ai-icon.cyan { background: #ecfeff; border-color: #cffafe; color: #0891b2; }
        .qw-action-item .ai-icon.amber { background: #fffbeb; border-color: #fde68a; color: #b45309; }
        .qw-action-item .ai-text { min-width: 0; }
        .qw-action-item .ai-title { font-size: 0.82rem; font-weight: 700; color: var(--aur-text); }
        .qw-action-item .ai-sub { font-size: 0.7rem; color: var(--aur-text-3); margin-top: 1px; }
        .qw-action-item .ai-arrow { margin-left: auto; color: var(--aur-text-3); font-size: 0.72rem; transition: transform 0.18s ease, color 0.18s ease; }
        .qw-action-item:hover .ai-arrow { transform: translateX(3px); color: var(--primary-blue); }

        
        .qw-faq { border: 1px solid rgba(15, 23, 42, 0.07); border-radius: 12px; margin-bottom: 8px; background: #ffffff; overflow: hidden; }
        .qw-faq summary {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 11px 13px;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--aur-text);
            cursor: pointer;
            transition: background 0.15s ease;
            user-select: none;
        }
        .qw-faq summary::-webkit-details-marker { display: none; }
        .qw-faq summary:hover { background: #f8fafc; }
        .qw-faq summary i.q-icon { color: var(--primary-blue); font-size: 0.74rem; flex-shrink: 0; }
        .qw-faq summary .q-chevron { margin-left: auto; color: var(--aur-text-3); font-size: 0.62rem; transition: transform 0.25s ease; flex-shrink: 0; }
        .qw-faq[open] summary .q-chevron { transform: rotate(180deg); }
        .qw-faq .faq-body {
            padding: 2px 13px 12px 34px;
            font-size: 0.74rem;
            color: var(--aur-text-2);
            line-height: 1.75;
            animation: qw-fade-in 0.25s ease;
        }

        
        .qw-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.32);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 10480;
        }
        .workspace-fab {
            display: none;
            position: fixed;
            right: 18px;
            bottom: 92px;
            z-index: 1051;
            border: none;
            border-radius: 99px;
            padding: 13px 19px 13px 15px;
            background: #ffffff;
            color: var(--primary-blue);
            font-size: 0.86rem;
            font-weight: 700;
            letter-spacing: 0.3px;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            border: 1px solid #bfdbfe;
            box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }
        .workspace-fab:hover { background: #eff6ff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14); }
        .workspace-fab:active { transform: scale(0.97); }
        .workspace-fab i { font-size: 0.95rem; }

        @media (max-width: 1399.98px) {
            
            .quick-workspace {
                position: fixed;
                top: 0;
                right: 0;
                bottom: 0;
                width: min(420px, 92vw);
                max-width: none;
                min-width: 0;
                max-height: none;
                height: 100%;
                z-index: 10500;
                transform: translateX(105%);
                transition: transform 0.34s cubic-bezier(.22, 1, .36, 1);
                will-change: transform;
            }
            .quick-workspace.open { transform: translateX(0); }
            .quick-workspace .qw-card {
                height: 100%;
                border-radius: 0;
                border-top: none;
                border-bottom: none;
                border-right: none;
                background: #ffffff;
                box-shadow: -8px 0 28px rgba(15, 23, 42, 0.12);
            }
            .qw-header { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
            .qw-close { display: inline-flex; }
            .qw-overlay.show { opacity: 1; pointer-events: auto; }
            .workspace-fab { display: inline-flex; }
            .qw-body { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
        }
        @media (min-width: 1400px) {
            .qw-overlay { display: none !important; }
            .workspace-fab { display: none !important; }
        }
        body.qw-drawer-open { overflow: hidden; }

        
        #hok-toast-wrap {
            position: fixed;
            top: 18px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2000000000;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            pointer-events: none;
            width: max-content;
            max-width: 92vw;
        }
        .hok-toast {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(15, 23, 42, 0.07);
            box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
            color: #1e293b;
            font-size: 0.88rem;
            font-weight: 600;
            max-width: 92vw;
            pointer-events: auto;
            animation: hok-toast-in 0.32s cubic-bezier(.22, 1, .36, 1);
            transition: opacity 0.28s ease, transform 0.28s ease;
        }
        .hok-toast.hok-toast-hide { opacity: 0; transform: translateY(-12px) scale(0.96); }
        .hok-toast .ht-icon {
            width: 22px; height: 22px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            color: #fff;
            flex-shrink: 0;
        }
        .hok-toast.success .ht-icon { background: linear-gradient(135deg, #059669, #34d399); }
        .hok-toast.error .ht-icon { background: linear-gradient(135deg, #dc2626, #f87171); }
        .hok-toast.warning .ht-icon { background: linear-gradient(135deg, #d97706, #fbbf24); }
        .hok-toast.info .ht-icon { background: var(--primary-blue); }
        .hok-toast .ht-msg { line-height: 1.45; word-break: break-word; }
        @keyframes hok-toast-in {
            from { opacity: 0; transform: translateY(-16px) scale(0.94); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        
        @media (max-width: 992px) {
            .header-row-2 { border-top-color: rgba(15, 23, 42, 0.06); }
        }
        @media (max-width: 380px) {
            .qw-tab { font-size: 0.72rem; padding: 8px 4px; gap: 4px; }
            .qw-title { font-size: 0.9rem; }
            .workspace-fab { padding: 12px 16px 12px 13px; font-size: 0.8rem; }
        }
        .qw-hint a { color: var(--primary-blue); }
        .qw-hint a:hover { color: var(--primary-blue-dark); text-decoration: underline !important; }
        .empty-products i { color: rgba(100, 116, 139, 0.4) !important; }

        
        .sidebar-categories { position: relative; }

        
        @media (prefers-reduced-motion: reduce) {
            .quick-workspace,
            .hok-toast,
            .qw-panel.active,
            .workspace-fab,
            .stock-meter-fill {
                animation: none !important;
                transition: none !important;
            }
        }

        
        .cat-search { position: relative; display: block; width: 100%; margin: 4px 0 16px; }
        .cat-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #2563eb; font-size: 16px; pointer-events: none; }
        .cat-search input { width: 100%; height: 46px; border: 1.5px solid #bfd3f6; border-radius: 12px; padding: 0 16px 0 44px; font-size: 15px; background: #fff; color: #0f172a; outline: none; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06); }
        .cat-search input::placeholder { color: #94a3b8; }
        .cat-search input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
        @media (max-width: 768px) { .cat-search { margin: 2px 0 12px; } .cat-search input { height: 42px; font-size: 14.5px; } }
        
        .hok-subnav, .hok-frow { display: flex; align-items: center; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
        .hok-subnav::-webkit-scrollbar, .hok-fchips::-webkit-scrollbar { display: none; }
        .hok-subnav { min-height: 42px; margin: 2px 0 8px; padding-bottom: 2px; }
        .hok-subnav[hidden], .hok-facets[hidden] { display: none; }
        .hok-subnav .hok-chip { height: 38px; padding: 0 16px; font-size: 15px; font-weight: 600; border-radius: 10px; border: 1.5px solid #bfd3f6; background: #fff; color: #1e3a8a; }
        .hok-subnav .hok-chip.on { background: #2563eb; border-color: #2563eb; color: #fff; }
        .hok-facets { margin: 0 0 10px; padding: 6px 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; }
        .hok-frow { height: 38px; }
        .hok-flabel { flex: 0 0 auto; min-width: 64px; font-size: 13px; font-weight: 600; color: #64748b; }
        .hok-fchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
        .hok-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border: 1px solid #d5deeb; border-radius: 15px; background: #fff; color: #334155; font-size: 13.5px; line-height: 1; cursor: pointer; text-decoration: none; }
        .hok-chip:hover { border-color: #2563eb; color: #1d4ed8; text-decoration: none; }
        .hok-chip .n { font-size: 11.5px; color: #94a3b8; font-weight: 500; }
        .hok-chip.on { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; font-weight: 600; }
        .hok-chip.on .n { color: inherit; }
        .hok-subnav .hok-chip.on .n { color: #dbeafe; }
        .product-card.hok-ft-hidden { display: none !important; }
        .hok-fempty { padding: 24px 0; text-align: center; color: #64748b; }
        .hok-r { display: contents; }
        @media (max-width: 768px) {
            .hok-subnav.hok-2r, .hok-frow.hok-2r .hok-fchips { flex-direction: column; align-items: flex-start; gap: 6px; }
            .hok-2r .hok-r { display: flex; gap: 6px; }
            .hok-subnav.hok-2r .hok-r { gap: 8px; }
            .hok-subnav.hok-2r { min-height: 0; }
            .hok-frow.hok-2r { height: auto; padding: 4px 0; }
        }
        @media (max-width: 768px) { .hok-flabel { min-width: 52px; font-size: 12.5px; } .hok-chip { font-size: 13px; padding: 0 10px; } .hok-subnav .hok-chip { font-size: 14px; padding: 0 13px; height: 36px; } .hok-facets { padding: 4px 8px; } }
        
        .hok-frow { height: auto; align-items: flex-start; overflow: visible; white-space: normal; padding: 4px 0; }
        .hok-frow .hok-flabel { line-height: 30px; }
        .hok-frow .hok-fchips { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; overflow: visible; row-gap: 6px; }
        .hok-frow .hok-r { display: contents !important; }
        @media (max-width: 768px) { .hok-frow.hok-2r .hok-fchips { flex-direction: row; align-items: center; gap: 6px; } .hok-frow.hok-2r { padding: 4px 0; } }
        .hok-facets { background: #ffffff; border-color: #edf0f5; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
        .hok-frow + .hok-frow { border-top: 1px solid #f1f4f8; margin-top: 4px; padding-top: 8px; }
        .hok-frow[data-g] { --fc: #475569; --fb: #ffffff; --fd: #d5deeb; --ft: #334155; }
        .hok-frow[data-g="kind"] { --fc: #1d4ed8; --fb: #eff6ff; --fd: #bfd3f5; --ft: #1f2937; }
        .hok-frow[data-g="age"] { --fc: #047857; --fb: #ecfdf5; --fd: #a9dcc7; --ft: #1f2937; }
        .hok-frow[data-g="country"] { --fc: #c2410c; --fb: #fff7ed; --fd: #f5c9a8; --ft: #1f2937; }
        .hok-frow[data-g="feat"] { --fc: #6d28d9; --fb: #f5f3ff; --fd: #d4c8f3; --ft: #1f2937; }
        .hok-frow[data-g] .hok-flabel { color: var(--fc); position: relative; padding-left: 10px; font-weight: 700; }
        .hok-frow[data-g] .hok-flabel::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 14px; margin-top: -7px; border-radius: 2px; background: var(--fc); }
        .hok-frow[data-g] .hok-chip { background: #ffffff; border-color: var(--fd); color: var(--ft); }
        .hok-frow[data-g] .hok-chip .n { color: #6b7280; opacity: 1; }
        .hok-frow[data-g] .hok-chip:hover { background: var(--fb); border-color: var(--fc); color: var(--fc); }
        .hok-frow[data-g] .hok-chip.on { background: var(--fc); border-color: var(--fc); color: #fff; }
        .hok-frow[data-g] .hok-chip.on .n { color: #fff; opacity: .85; }
        @media (max-width: 768px) {
            .hok-frow[data-g] { flex-direction: column; align-items: stretch; gap: 6px; }
            .hok-frow[data-g] .hok-flabel { line-height: 18px; min-width: 0; font-size: 13px; }
            .hok-frow[data-g] .hok-fchips { width: 100%; }
            .hok-facets .hok-frow[data-g] .hok-chip { height: 30px; padding: 0 11px; font-size: 13px; }
            .hok-facets .hok-frow[data-g] .hok-fchips { gap: 7px; row-gap: 7px; }
        }
        
        @media (min-width: 769px) {
            .products-header { flex-wrap: nowrap; }
            .products-header-title { min-width: 0; flex: 0 1 auto; overflow: hidden; }
            .products-header-title #current-category-name, .products-header-title .h1-kw { white-space: nowrap; }
            .products-header-title .h1-kw { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
            .products-header .sort-toolbar, .products-header .products-count { flex: 0 0 auto; }
        }

        
        .product-card.hs-card { padding: 14px 14px 12px; border: 1.5px solid #dbe4f3; border-radius: 12px; background: #fff; gap: 0; }
        .product-card.hs-card:hover { border-color: #93b4f5; box-shadow: 0 10px 28px rgba(37, 99, 235, 0.10); transform: translateY(-3px); }
        .hs-card .hs-head { display: flex; align-items: center; gap: 6px; min-height: 30px; margin: -2px -2px 6px 0; }
        .hs-card .hs-owner { display: inline-flex; align-items: center; gap: 4px; max-width: 62%; border-radius: 999px; padding: 3px 10px 3px 8px; font-size: 12.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .hs-card .hs-owner i { font-size: 13px; flex: 0 0 auto; }
        .hs-card .hs-owner.self { color: #fff; background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 55%, #7c3aed 100%); box-shadow: 0 2px 8px rgba(37, 99, 235, 0.30); letter-spacing: .02em; }
        .hs-card .hs-owner.seller { color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; font-weight: 600; }
        .hs-card .hs-owner.seller .supplier-name { overflow: hidden; text-overflow: ellipsis; }
        .hs-card .hs-head .card-pid { flex: 0 0 auto; }
        .hs-card .hs-top { display: flex; justify-content: center; align-items: center; height: 76px; margin-bottom: 10px; }
        .hs-card .hs-img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #f5f8ff; display: flex; align-items: center; justify-content: center; }
        .hs-card .hs-img img { width: 72px; height: 72px; object-fit: contain; display: block; }
        .hs-card .hs-follow { margin-left: auto; background: transparent; border: 0; padding: 2px 4px; color: #94a3b8; line-height: 1; cursor: pointer; flex: 0 0 auto; }
        .hs-card .hs-follow .follow-text { display: none; }
        .hs-card .hs-follow.followed, .hs-card .hs-follow.following, .hs-card .hs-follow:hover { color: #e11d48; }
        .hs-card .hs-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; font-size: 17.5px; font-weight: 600; line-height: 1.45; color: #0f172a; margin-bottom: 8px; text-decoration: none; word-break: break-word; }
        .hs-card .hs-title:hover { color: #2563eb; }
        .hs-card .hs-sub { color: #2563eb; font-weight: 700; }
        .hs-card .hs-line { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #334155; line-height: 1.5; margin-bottom: 5px; min-width: 0; }
        .hs-card .hs-line > i { width: 16px; text-align: center; color: #2563eb; font-size: 13.5px; flex: 0 0 auto; }
        .hs-card .hs-rating > i { color: #f59e0b; }
        .hs-card .hs-rating b { font-weight: 700; color: #0f172a; }
        .hs-card .hs-stock > i { color: #94a3b8; }
        .hs-card .hs-muted { color: #64748b; }
        .hs-card .hs-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; margin: 0 1px 0 3px; }
        .hs-card .hs-dot.off { background: #ef4444; }
        .hs-card .card-stock { font-weight: 600; color: #0f172a; font-size: inherit !important; }   
        .hs-card .card-stock.out-of-stock { color: #ef4444; }
        .hs-card .hs-wholesale { font-size: 13px; color: #64748b; }
        .hs-card .hs-stock { flex-wrap: wrap; row-gap: 0; }
        .hs-card .hs-stock > * { white-space: nowrap; }
        
        .hs-card .hs-follow i.fa-heart-o { color: #94a3b8 !important; }
        .hs-card .hs-follow i.fa-heart { color: #e11d48 !important; }
        .hs-card .hs-follow i { font-size: 22px !important; }
        .hs-card .hs-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
        .hs-card .hs-price { font-size: 21px; font-weight: 800; color: #e11d48; white-space: nowrap; }
        .hs-card .hs-btn { flex: 0 0 auto; background: #2563eb; color: #fff; border-radius: 8px; padding: 8px 18px; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
        .hs-card .hs-btn:hover { background: #1d4ed8; color: #fff; }
        @media (max-width: 768px) {
            .product-card.hs-card { padding: 10px 10px 10px; }
            .hs-card .hs-top { height: 60px; margin-bottom: 8px; }
            .hs-card .hs-owner { font-size: 11.5px; padding: 2px 8px 2px 6px; max-width: 78%; }
            .hs-card .hs-head .card-pid { display: none; }
            .hs-card .hs-follow i { font-size: 20px !important; }
            .hs-card .hs-img, .hs-card .hs-img img { width: 56px; height: 56px; }
            .hs-card .hs-title { font-size: 16px; }
            .hs-card .hs-line { font-size: 13px; gap: 5px; }
            .hs-card .hs-stock > i, .hs-card .hs-stock > .hs-muted:first-of-type { display: none; }   
            .hs-card .hs-price { font-size: 18px; }
            .hs-card .hs-btn { padding: 7px 11px; font-size: 13.5px; }
        }
            .hok-more-hidden { display: none !important; }
        .rv-refunded { margin-left: 6px; padding: 1px 7px; border-radius: 8px; background: #f1f5f9; color: #64748b; font-size: .72rem; font-weight: 600; }
        a.hs-owner.seller { text-decoration: none; }
        a.hs-owner.seller:hover .supplier-name { text-decoration: underline; }
        .hs-owner .lv-ic.elite { color: #d97706; }
        .hs-owner .lv-ic.verified { color: #2563eb; }
        .hok-load-more { text-align: center; margin: 18px 0 6px; }
        .hok-load-more button { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 22px; padding: 10px 28px; font-weight: 600; font-size: .95rem; cursor: pointer; }
        .hok-load-more button:hover { border-color: var(--primary-blue, #2563eb); color: var(--primary-blue, #2563eb); }
        .hs-card .hs-warranty { margin-left: auto; font-size: 11px; color: #1d4ed8; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 8px; padding: 0 6px; white-space: nowrap; line-height: 18px; }
        .hs-card .hs-warranty i { margin-right: 3px; color: #2563eb; }
    


        
        @media (max-width: 768px) {
            .category-sidebar-item .category-name { font-size: 0.78rem !important; }
            .card-meta-row span, .card-sold, .card-pid, .pid-label, .card-supplier .supplier-label,
            .card-stock, strong.card-stock, .card-follow-btn .follow-text,
            .sort-toolbar .sort-btn, .qw-action-item .ai-sub, .qw-panel .qw-hint { font-size: 0.75rem !important; }
            .card-pid i { font-size: 0.7rem !important; }
            .gc-fab-sub { font-size: 0.75rem !important; }
        }
    


        .sidebar-categories #sidebar-categories-list {
            display: grid !important;
            grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
            gap: 10px !important;
            align-items: stretch;
        }
        #sidebar-categories-list > .category-sidebar-group { display: block !important; width: 100%; min-width: 0; }
        #sidebar-categories-list .category-sidebar-group > .category-sidebar-item {
            display: flex !important;
            width: 100%;
            height: 54px;
            box-sizing: border-box;
            padding: 0 14px !important;
            gap: 10px !important;
            justify-content: flex-start;
            border-radius: 12px !important;
            white-space: normal !important;
            font-size: .95rem !important;
            min-width: 0;
        }
        #sidebar-categories-list .category-sidebar-item .category-icon,
        #sidebar-categories-list .category-sidebar-item .category-icon-wrap {
            width: 32px !important; height: 32px !important; margin: 0 !important; flex: 0 0 32px; border-radius: 8px;
        }
        
        #sidebar-categories-list .category-sidebar-group .category-name {
            display: -webkit-box !important;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2 !important;
            flex: 1 1 auto; min-width: 0;
            overflow: hidden; white-space: normal; word-break: break-word;
            line-height: 1.2; text-align: left;
        }
        
        #sidebar-categories-list > a.category-sidebar-item[data-category-id="-10"] { display: none !important; }
        
        #sidebar-categories-list > a.category-follow-item {
            grid-column: 1 / -1;
            justify-self: start;
            display: inline-flex !important;
            width: auto !important;
            height: 36px; box-sizing: border-box;
            padding: 0 16px 0 10px !important;
            gap: 6px !important;
            border-radius: 18px !important;
            background: #fff1f2 !important;
            border: 1px solid #fecdd3 !important;
            color: #be123c !important;
            font-size: .9rem !important; font-weight: 600 !important;
            box-shadow: none !important;
        }
        #sidebar-categories-list > a.category-follow-item .category-icon-wrap { width: 22px !important; height: 22px !important; margin: 0 !important; }
        #sidebar-categories-list > a.category-follow-item:hover { background: #ffe4e6 !important; border-color: #fda4af !important; transform: none; }
        #sidebar-categories-list > a.category-follow-item.active { background: #e11d48 !important; border-color: #e11d48 !important; color: #fff !important; }
        #sidebar-categories-list > a.category-follow-item.active .fa-heart { color: #fff !important; }
        @media (max-width: 768px) {
            .sidebar-categories #sidebar-categories-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px !important; }
            #sidebar-categories-list .category-sidebar-group > .category-sidebar-item {
                height: 46px; padding: 0 8px !important; gap: 6px !important; border-radius: 10px !important;
                white-space: normal !important; font-size: .78rem !important;
            }
            #sidebar-categories-list .category-sidebar-item .category-icon,
            #sidebar-categories-list .category-sidebar-item .category-icon-wrap { width: 24px !important; height: 24px !important; flex: 0 0 24px; border-radius: 6px; }
            #sidebar-categories-list .category-sidebar-group .category-name { line-height: 1.2; }
            #sidebar-categories-list > a.category-follow-item {
                height: 32px; font-size: .8rem !important; padding: 0 12px 0 8px !important;
                grid-column: 1 / -1 !important; justify-self: start !important;
                width: max-content !important; max-width: 100% !important;
                white-space: nowrap !important; flex-wrap: nowrap !important; flex-direction: row !important;
            }
            
            #sidebar-categories-list > a.category-follow-item .category-name {
                display: inline !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important;
                flex: 0 0 auto !important; min-width: auto !important; max-width: none !important; width: auto !important;
                -webkit-line-clamp: unset !important; -webkit-box-orient: unset !important;
            }
            #sidebar-categories-list > a.category-follow-item .category-icon-wrap { flex: 0 0 20px; width: 20px !important; height: 20px !important; }
        }
        @media (max-width: 360px) {
            .sidebar-categories #sidebar-categories-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
        }
    


                    
                    .partner-hero-banner {
                        display: flex;
                        align-items: center;
                        gap: 14px;
                        width: 100%;
                        margin: 4px 0 14px;
                        padding: 13px 20px;
                        border-radius: 14px;
                        background: linear-gradient(90deg, var(--primary-blue, #2563eb) 0%, #4f46e5 55%, var(--accent-orange, #f59e0b) 130%);
                        color: #fff;
                        text-decoration: none;
                        box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
                        transition: all 0.2s ease;
                        position: relative;
                        overflow: hidden;
                    }
                    .partner-hero-banner::after {
                        content: '';
                        position: absolute;
                        top: -60%; left: -10%;
                        width: 45%; height: 220%;
                        background: rgba(255, 255, 255, 0.08);
                        transform: rotate(20deg);
                        pointer-events: none;
                    }
                    .partner-hero-banner:hover {
                        transform: translateY(-2px);
                        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
                        color: #fff;
                        text-decoration: none;
                    }
                    .phb-icon {
                        width: 42px; height: 42px;
                        border-radius: 11px;
                        background: rgba(255, 255, 255, 0.18);
                        border: 1px solid rgba(255, 255, 255, 0.25);
                        display: inline-flex; align-items: center; justify-content: center;
                        font-size: 1.25rem;
                        flex-shrink: 0;
                    }
                    .phb-icon img { width: 100%; height: 100%; border-radius: 11px; object-fit: contain; background: #fff; }
                    .phb-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
                    .phb-title { font-size: 1.02rem; font-weight: 800; letter-spacing: 0.2px; line-height: 1.3; }
                    .phb-desc { font-size: 0.82rem; opacity: 0.92; margin-top: 2px; line-height: 1.35; }
                    .phb-cta {
                        flex-shrink: 0;
                        display: inline-flex; align-items: center; gap: 7px;
                        padding: 9px 18px;
                        border-radius: 24px;
                        background: #ffffff;
                        color: var(--primary-blue, #2563eb);
                        font-size: 0.86rem;
                        font-weight: 800;
                        white-space: nowrap;
                        transition: transform 0.2s ease;
                    }
                    .partner-hero-banner:hover .phb-cta { transform: translateX(3px); }
                    
                    .hero-banners { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 4px 0 14px; }
                    .hero-banners .partner-hero-banner { margin: 0; }
                    @media (min-width: 992px) { .hero-banners.two { grid-template-columns: 1fr 1fr; } }
                    .proxy-hero-banner { background: linear-gradient(90deg, #0f766e 0%, #0ea5e9 60%, #6366f1 130%); box-shadow: 0 6px 18px rgba(14, 165, 233, 0.25); }
                    .proxy-hero-banner:hover { box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35); }
                    .proxy-hero-banner .phb-cta { color: #0f766e; }
                    @media (max-width: 768px) {
                        .partner-hero-banner { padding: 11px 14px; gap: 10px; border-radius: 12px; }
                        .phb-icon { width: 36px; height: 36px; font-size: 1.05rem; }
                        .phb-title { font-size: 0.92rem; }
                        .phb-desc { font-size: 0.74rem; }
                        .phb-cta { padding: 7px 12px; font-size: 0.78rem; }
                    }
                    @media (max-width: 480px) {
                        .phb-desc { display: none; }
                    }

                    
                    .qw-partner-tools {
                        margin-top: 14px;
                        background: #ffffff;
                        border: 1px solid #e2e8f0;
                        border-radius: 14px;
                        box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
                        padding: 12px 14px;
                        flex-shrink: 0;
                    }
                    .qw-partner-tools .pt-header,
                    .partner-tools-strip .pts-label {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        font-size: 0.92rem;
                        font-weight: 800;
                        color: var(--aur-text, #0f172a);
                        margin-bottom: 10px;
                    }
                    .qw-partner-tools .pt-header i,
                    .partner-tools-strip .pts-label i {
                        width: 26px; height: 26px;
                        border-radius: 8px;
                        display: inline-flex; align-items: center; justify-content: center;
                        background: #fff7ed;
                        color: #f59e0b;
                        border: 1px solid #fed7aa;
                        font-size: 0.78rem;
                    }
                    .pt-card {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        padding: 10px;
                        border-radius: 10px;
                        border: 1px solid #eef2f7;
                        background: #f8fafc;
                        text-decoration: none;
                        transition: all 0.2s ease;
                    }
                    .qw-partner-tools .pt-card + .pt-card { margin-top: 8px; }
                    .pt-card:hover { border-color: #bfdbfe; background: #eff6ff; transform: translateY(-1px); text-decoration: none; }
                    .pt-icon {
                        width: 34px; height: 34px;
                        border-radius: 9px;
                        background: #eff6ff;
                        color: var(--primary-blue, #2563eb);
                        display: inline-flex; align-items: center; justify-content: center;
                        font-size: 1rem;
                        flex-shrink: 0;
                        border: 1px solid #dbeafe;
                    }
                    .pt-icon-img {
                        width: 34px; height: 34px;
                        border-radius: 9px;
                        object-fit: contain;
                        flex-shrink: 0;
                        background: #fff;
                        border: 1px solid #e2e8f0;
                    }
                    .pt-text { display: flex; flex-direction: column; min-width: 0; }
                    .pt-name { font-size: 0.88rem; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 6px; }
                    .pt-name i { font-size: 0.68rem; color: #94a3b8; }
                    .pt-desc { font-size: 0.76rem; color: #64748b; line-height: 1.35; margin-top: 2px; }
                    
                    .partner-tools-strip { display: none; margin: 4px 0 14px; }
                    .partner-tools-strip .pts-label { margin-bottom: 8px; font-size: 0.88rem; }
                    .partner-tools-strip .pts-inner {
                        display: flex;
                        gap: 10px;
                        overflow-x: auto;
                        padding: 2px 2px 6px;
                        -webkit-overflow-scrolling: touch;
                    }
                    .partner-tools-strip .pt-card { flex: 0 0 auto; max-width: 280px; }
                    @media (max-width: 1399.98px) {
                        .quick-workspace .qw-partner-tools { display: none; }
                        .partner-tools-strip { display: block; }
                    }
                


    
    
    .site-footer .ft-wrap { max-width: 1650px; width: 92%; margin: 0 auto; }
    .site-footer .ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem 4rem; align-items: start; text-align: left; }
    .site-footer .ft-grid > div { min-width: 0; }
    
    .site-footer .ft-col-title { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-bottom: .35rem; padding-top: .35rem; text-align: center; }
    .site-footer .ft-platforms { margin: 1.8rem auto 0; padding-top: 1.1rem; border-top: 1px solid rgba(15,23,42,.08); display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
    .site-footer .ft-platforms-title { font-size: .85rem; font-weight: 700; color: #0f172a; margin-right: .3rem; }
    .site-footer .ft-platforms a { font-size: .85rem; color: #475569; text-decoration: none; white-space: nowrap; }
    .site-footer .ft-platforms a:hover { color: #4f46e5; }

    .site-footer .ft-brand-row { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
    .site-footer .ft-brand-logo { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: linear-gradient(135deg, #2563eb, #6366f1); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25); }
    .site-footer .ft-brand-logo i { color: #fff; font-size: 1.3rem; }
    .site-footer .ft-brand-name { color: #0f172a; font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: 0.01em; }
    .site-footer .ft-brand-slogan { font-size: 0.78rem; color: #94a3b8; margin-top: 0.15rem; }
    .site-footer .ft-desc { font-size: 0.85rem; line-height: 1.7; color: #64748b; margin: 0 0 0.35rem; max-width: 360px; }
    .site-footer .ft-copy { font-size: 0.82rem; color: #94a3b8; margin: 0 0 0.9rem; }
    .site-footer a.ft-tiny { font-size: 0.75rem; color: #94a3b8 !important; text-decoration: none; }
    .site-footer a.ft-tiny:hover { color: #4f46e5 !important; }

    .site-footer .ft-list { display: flex; flex-direction: column; gap: 0.7rem; justify-self: center; width: fit-content; max-width: 100%; }
    .site-footer .ft-list a { text-decoration: none; font-size: 0.92rem; transition: color 0.2s, transform 0.2s; display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .site-footer .ft-list a:hover { transform: translateX(3px); }
    .site-footer .ft-2col { display: flex; gap: 2.2rem; }
    .site-footer .ft-sub { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
    .site-footer .ft-list a i { width: 18px; margin-right: 0.45rem; text-align: center; color: #94a3b8; transition: color 0.2s; }
    .site-footer .ft-list a:hover i { color: #4f46e5; }
    .site-footer .ft-list a.ft-strong { color: #0f172a !important; font-weight: 700; }
    .site-footer .ft-list a.ft-strong i { color: #4f46e5; }
    .site-footer .ft-list a.ft-strong:hover { color: #4f46e5 !important; }

    
    .site-footer .ft-cta { position: relative; padding-left: 26px; margin-top: 2.2rem; }
    .site-footer .ft-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: linear-gradient(135deg, #4f46e5, #6366f1); border-radius: 18px; padding: 1.15rem 1.5rem 1.15rem 2.4rem; color: #fff; line-height: 1.5; box-shadow: 0 12px 30px rgba(79, 70, 229, 0.3); }
    .site-footer .ft-cta-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
    .site-footer .ft-cta-h { font-weight: 800; font-size: 1.12rem; letter-spacing: .01em; color: #fff; }
    .site-footer .ft-cta-s { font-weight: 400; font-size: .9rem; color: rgba(255,255,255,.88); }
    .site-footer a.ft-cta-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: .55rem 1.25rem; font-size: .95rem; font-weight: 700; white-space: nowrap; color: #fff !important; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
    .site-footer a.ft-cta-btn:hover { background: #fff; color: #4f46e5 !important; transform: translateY(-2px); }
    .site-footer .ft-cta-actions { flex: 0 0 auto; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center; }
    .site-footer a.ft-cta-btn-2 { background: rgba(255,255,255,.3); }
    .site-footer a.ft-cta-btn-2:hover { color: #e11d48 !important; }
    .site-footer .ft-cta-badge { position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #e11d48, #f43f5e); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35); pointer-events: none; z-index: 1; }
    .site-footer .ft-cta-badge i { color: #fff; font-size: 1.35rem; }
    
    @media (max-width: 991px) {
        .site-footer .ft-wrap { width: 100%; padding: 0 16px; }
        .site-footer .ft-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem 2rem; }
        .site-footer .ft-brand { grid-column: 1 / -1; }
        .site-footer .ft-2col { gap: 1.2rem; }
    }
    @media (max-width: 575px) {
        .site-footer .ft-grid { grid-template-columns: 1fr; text-align: center; gap: 1.8rem; }
        .site-footer .ft-brand-row { justify-content: center; }
        .site-footer .ft-desc { margin-left: auto; margin-right: auto; }
        .site-footer .ft-list a { margin: 0 auto; }
        .site-footer .ft-2col { justify-content: center; gap: 2rem; }
        .site-footer .ft-cta { max-width: 100%; padding-left: 0; padding-top: 26px; }
        .site-footer .ft-cta-badge { left: 50%; top: 0; transform: translate(-50%, 0) rotate(-8deg); }
        .site-footer .ft-cta-card { flex-direction: column; justify-content: center; text-align: center; padding: 1.6rem 1.3rem 1.35rem; gap: .9rem; }
        .site-footer .ft-cta-text { align-items: center; }
        .site-footer .ft-platforms { justify-content: center; }
    }
    


    
    .products-header-title .h1-kw { font-size: .78em; font-weight: 500; color: #64748b; }
    @media (min-width: 992px) {
        
        .sub-nav-link { padding-top: 17px; padding-bottom: 15px; }
        .sub-nav { top: 58px; }
        .content-wrapper { padding-top: 130px !important; }
    }
    
    @media (max-width: 768px) {
        
        .sidebar-categories #sidebar-categories-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
        #sidebar-categories-list .category-sidebar-group > .category-sidebar-item {
            height: 40px !important; padding: 0 7px !important; gap: 6px !important; border-radius: 9px !important; font-size: .76rem !important;
        }
        #sidebar-categories-list .category-sidebar-item .category-icon,
        #sidebar-categories-list .category-sidebar-item .category-icon-wrap { width: 22px !important; height: 22px !important; flex: 0 0 22px !important; border-radius: 5px; }
        #sidebar-categories-list .category-sidebar-group .category-name { line-height: 1.15 !important; word-break: normal !important; overflow-wrap: normal !important; }
        
        #sidebar-categories-list > a.category-follow-item { grid-column: 1 / -1 !important; justify-self: start !important; }
        .hero-banners { grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin: 2px 0 12px !important; }
        .hero-banners:not(.two) { grid-template-columns: 1fr !important; }
        .hero-banners .partner-hero-banner { padding: 8px 10px !important; gap: 8px !important; border-radius: 10px !important; }
        .hero-banners .phb-icon { width: 30px !important; height: 30px !important; font-size: .95rem !important; border-radius: 8px !important; }
        .hero-banners .phb-icon img { border-radius: 8px; }
        .hero-banners .phb-title { font-size: .8rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .hero-banners .phb-desc, .hero-banners .phb-cta { display: none !important; }
        
        input, select, textarea { font-size: 16px !important; }
        
        .sort-toolbar .sort-btn, .sort-toolbar button, .sort-toolbar a { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
        .card-follow-btn, .hs-follow { min-width: 36px; min-height: 36px; }
        
        body.kb-open .workspace-fab { display: none !important; }
        .hs-card .hs-head .card-pid, .card-pid { display: none !important; }
    }

    
    .hdr-auth-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
    .hdr-login { color: var(--primary-blue); border: 1px solid #bfdbfe; background: #fff; }
    .hdr-login:hover { background: #eff6ff; color: var(--primary-blue); }
    .hdr-register { color: #fff !important; background: var(--primary-blue); border: 1px solid var(--primary-blue); }
    .hdr-register:hover { filter: brightness(1.08); }
    @media (max-width: 768px) {
        .hdr-auth-btn { height: 32px; padding: 0 12px; font-size: .8rem; }
    }
    
    .hu-menu { position: relative; display: inline-flex; }
    .hu-trigger { border: 0; background: none; cursor: pointer; font: inherit; }
    .hu-trigger .hu-caret { margin-left: 4px; font-size: .7rem; opacity: .6; }
    .hu-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.16); padding: 6px; z-index: 1200; }
    .hu-menu.open .hu-dropdown { display: block; }
    
    @media (hover: hover) and (min-width: 992px) {
        .hu-menu:hover .hu-dropdown { display: block; }
        .hu-menu .hu-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
    }
    .hu-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #334155; font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
    .hu-dropdown a:hover { background: #f1f5f9; color: var(--primary-blue); }
    .hu-dropdown a i { width: 16px; text-align: center; color: #64748b; }
    .hu-dropdown .hu-sep { height: 1px; background: #eef2f7; margin: 4px 6px; }
    .hu-dropdown .hu-head { padding: 6px 12px 8px; font-size: .78rem; color: #94a3b8; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    @media (max-width: 768px) {
        .header-row-2 { flex-wrap: nowrap; }
        .header-row-2 .hu-trigger .header-username, #siteMsgBell .header-link-text { display: none !important; }
        .hu-menu { margin-left: auto; }
        .hu-dropdown { position: fixed; right: 10px; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
    }

    
    @media (max-width: 576px) {
        .workspace-fab { right: 80px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); padding: 9px 14px 9px 12px; font-size: .8rem; }
    }
    
    .tools-dropdown { position: relative; cursor: pointer; user-select: none; }
    .tools-dropdown .td-caret { margin-left: 4px; font-size: .7rem; opacity: .6; }
    .tools-dropdown-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 300px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.16); padding: 6px; z-index: 1200; cursor: default; }
    .tools-dropdown.open .tools-dropdown-menu { display: block; }
    @media (hover: hover) and (min-width: 992px) { .tools-dropdown:hover .tools-dropdown-menu { display: block; } }
    .tools-dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; color: #334155; text-decoration: none; white-space: nowrap; }
    .tools-dropdown-menu a:hover { background: #f1f5f9; }
    .tools-dropdown-menu a > i { width: 18px; text-align: center; color: var(--primary-blue); font-size: 1rem; margin: 0; }
    .tools-dropdown-menu a b { display: block; font-size: .88rem; font-weight: 600; color: #0f172a; }
    .tools-dropdown-menu a small { display: block; font-size: .75rem; color: #64748b; }
    .tools-dropdown-menu .td-grp { grid-column: 1 / -1; padding: 8px 12px 2px; font-size: .72rem; font-weight: 700; color: #94a3b8; }
    .tools-dropdown-menu { max-height: calc(100vh - 160px); overflow-y: auto; }
    @media (min-width: 992px) { .tools-dropdown-menu { min-width: 580px; } .tools-dropdown.open .tools-dropdown-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; } .tools-dropdown-menu a.td-all { grid-column: 1 / -1; } }
    @media (hover: hover) and (min-width: 992px) { .tools-dropdown:hover .tools-dropdown-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; } }
    .tools-dropdown-menu a.td-all { justify-content: center; color: var(--primary-blue); font-size: .85rem; font-weight: 600; border-top: 1px solid #eef2f7; margin-top: 4px; border-radius: 0 0 8px 8px; }
    @media (max-width: 991px) {
        .tools-dropdown-menu { position: fixed; left: 10px; right: 10px; top: auto; min-width: 0; max-height: 70vh; overflow-y: auto; }
        .tools-dropdown-menu a { white-space: normal; }
    }
    @media (max-width: 768px) {
        .products-header.has-ci .products-header-title { flex: 1 1 100%; }
        .products-header.has-ci .sort-toolbar { margin-left: auto; }
        .products-header .ci-toggle { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 2px 0; font-size: .78rem; color: #94a3b8; cursor: pointer; white-space: nowrap; }
        .products-header .ci-toggle::after { content: '\25BE'; font-size: .72rem; transition: transform .15s; }
        .products-header .ci-toggle.on::after { transform: rotate(180deg); }
        .cat-intro-wrap.ci-moved > summary { display: none; }
        .cat-intro-wrap.ci-moved { margin: 0; }
        .cat-intro-wrap.ci-moved[open] { margin: 0 0 10px; }
        .cat-intro-wrap.ci-moved[open] > .category-intro { margin-top: 0; }
    }
    @keyframes catFlash { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.45); } 100% { box-shadow: 0 0 0 12px rgba(37,99,235,0); } }
    #sidebar-categories-list.cat-flash { animation: catFlash .9s ease-out 2; border-radius: 12px; }
    .tools-dropdown-menu.td-float { display: none; position: fixed; left: 10px; right: 10px; min-width: 0; overflow-y: auto; z-index: 1300; }
    .tools-dropdown-menu.td-float.show { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
    @media (min-width: 769px) and (max-width: 991px) {
        .tools-dropdown-menu.td-float.show { grid-template-columns: repeat(3, 1fr); }
        .tools-dropdown.open .tools-dropdown-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
        .tools-dropdown-menu a.td-all { grid-column: 1 / -1; }
    }
    @media (max-width: 768px) {
        .tools-dropdown.open .tools-dropdown-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
        .tools-dropdown-menu a { gap: 8px; padding: 8px; align-items: flex-start; }
        .tools-dropdown-menu a > i { margin-top: 2px; }
        .tools-dropdown-menu a b { font-size: .8rem; line-height: 1.3; }
        .tools-dropdown-menu a small { font-size: .7rem; }
        .tools-dropdown-menu a.td-all { grid-column: 1 / -1; align-items: center; }
    }

    
    .sub-nav { border-top: 1px solid #E5E9F0 !important; border-bottom: 1px solid #E5E9F0 !important; }
    @media (max-width: 768px) {
        .sub-nav-link { padding-top: 12px !important; padding-bottom: 10px !important; }
    }

    
    @media (max-width: 575px) {
        .site-footer { padding: 1.4rem 0 5.5rem !important; margin-top: 2rem !important; }
        .site-footer .ft-grid { gap: 0; text-align: left; }
        .site-footer .ft-brand { text-align: center; padding-bottom: .8rem; }
        .site-footer .ft-desc { display: none; }
        .site-footer .ft-copy { margin: .35rem 0 0; font-size: .75rem; }
        .site-footer .ft-list { border-top: 1px solid rgba(15,23,42,.08); }
        .site-footer .ft-list .ft-col-title, .site-footer .ft-platforms .ft-platforms-title { display: flex; justify-content: space-between; align-items: center; text-align: left; margin: 0; padding: .85rem .2rem; font-size: .88rem; letter-spacing: 0; text-transform: none; color: #334155; cursor: pointer; }
        .site-footer .ft-list .ft-col-title::after, .site-footer .ft-platforms .ft-platforms-title::after { content: '\f107'; font-family: FontAwesome; font-weight: normal; color: #94a3b8; transition: transform .2s; }
        .site-footer .ft-open .ft-col-title::after, .site-footer .ft-platforms.ft-open .ft-platforms-title::after { transform: rotate(180deg); }
        .site-footer .ft-list:not(.ft-open) > :not(.ft-col-title) { display: none !important; }
        .site-footer .ft-list.ft-open { padding-bottom: .7rem; }
        .site-footer .ft-list a { margin: 0 !important; justify-content: flex-start; }
        .site-footer .ft-2col { justify-content: flex-start !important; }
        .site-footer .ft-platforms { display: block; margin-top: 0; padding-top: 0; border-top: 1px solid rgba(15,23,42,.08); border-bottom: 1px solid rgba(15,23,42,.08); }
        .site-footer .ft-platforms:not(.ft-open) > :not(.ft-platforms-title) { display: none !important; }
        .site-footer .ft-platforms.ft-open { padding-bottom: .7rem; }
        .site-footer .ft-platforms.ft-open > a { display: inline-block; margin: 0 .9rem .45rem 0; }
        .site-footer .ft-cta { padding-top: 0; margin-top: 1rem; }
        .site-footer .ft-cta-badge, .site-footer .ft-cta-s { display: none; }
        .site-footer .ft-cta-card { padding: .9rem 1rem !important; gap: .6rem !important; }
        .site-footer .ft-cta-h { font-size: .95rem; }
    }
    @media (min-width: 577px) and (max-width: 768px) {
        .sub-nav { top: 107px; }
        .content-wrapper { padding-top: 164px !important; }
    }
    


                        .sms-guide{display:flex;align-items:center;gap:18px;margin:14px 0 16px;padding:18px 24px;border-radius:14px;background:linear-gradient(120deg,#eef4ff 0%,#f3efff 100%);border:1px solid #d9e2ff}
                        .sms-guide-ico{flex:none;width:56px;height:56px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:27px}
                        .sms-guide-txt{flex:1;min-width:0}
                        .sms-guide-txt b{display:block;font-size:19px;line-height:1.4;color:#1e293b}
                        .sms-guide-txt small{display:block;margin-top:5px;font-size:15px;color:#475569}
                        .sms-guide-btn{flex:none;padding:13px 24px;border-radius:12px;background:#2563eb;color:#fff !important;font-weight:700;font-size:16px;text-decoration:none !important;white-space:nowrap}
                        .sms-guide-btn:hover{background:#1d4ed8}
                        @media (max-width:640px){.sms-guide{flex-wrap:wrap;gap:12px;padding:14px 16px}.sms-guide-ico{width:44px;height:44px;font-size:21px}.sms-guide-txt b{font-size:16px}.sms-guide-txt small{font-size:13.5px}.sms-guide-btn{width:100%;text-align:center;padding:11px 16px;font-size:15px}}
                    


    .btn-follow.loading {
        opacity: 0.5 !important;
        pointer-events: none !important;
    }
    .btn-follow.loading i {
        animation: spin 0.8s linear infinite !important;
    }
    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    

.hk-csm{position:absolute;z-index:3000;min-width:260px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 32px rgba(15,23,42,.16);padding:8px}.hk-csm a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;color:#0f172a !important;text-decoration:none !important}.hk-csm a:hover{background:#f1f5ff}.hk-csm i{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:17px}.hk-csm .c1{background:#e8f0fe;color:#2563eb}.hk-csm .c2{background:#fff1ec;color:#ea580c}.hk-csm b{display:block;font-size:15px}.hk-csm small{display:block;font-size:12px;color:#64748b;margin-top:2px}


    .hokpay-layer { border-radius: 16px !important; overflow: hidden; box-shadow: 0 20px 60px rgba(15, 23, 42, .35) !important; }
    .hokpay-x { position: absolute; top: 10px; right: 12px; z-index: 5; width: 32px; height: 32px; border-radius: 50%; background: rgba(15, 23, 42, .06); color: #475569 !important; font-size: 22px; line-height: 32px; text-align: center; cursor: pointer; text-decoration: none !important; }
    .hokpay-x:hover { background: rgba(15, 23, 42, .12); }
    .hokpay-box { padding: 30px 28px 24px; text-align: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #1e293b; }
    .hokpay-logo { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px; background: #1677ff; color: #fff; font-size: 28px; font-weight: 700; line-height: 56px; }
    .hokpay-title { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
    .hokpay-amount { font-size: 30px; font-weight: 800; color: #1677ff; margin: 6px 0 4px; }
    .hokpay-tip { font-size: 14px; line-height: 1.7; color: #64748b; margin: 10px 0 20px; }
    .hokpay-btn { display: block; width: 100%; padding: 13px 0; border: 0; border-radius: 10px; background: #1677ff; color: #fff !important; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none !important; }
    .hokpay-btn:hover { background: #0958d9; }
    .hokpay-wait { display: none; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 6px; padding: 12px; border-radius: 10px; background: #f1f5f9; color: #334155; font-size: 14px; }
    .hokpay-spin { width: 16px; height: 16px; border: 2px solid #cbd5e1; border-top-color: #1677ff; border-radius: 50%; animation: hokpay-rot .8s linear infinite; }
    @keyframes hokpay-rot { to { transform: rotate(360deg); } }
    .hokpay-links { margin-top: 14px; font-size: 13px; color: #94a3b8; }
    .hokpay-links a { color: #64748b; text-decoration: underline; cursor: pointer; margin: 0 8px; }
    .hokpay-note { display: none; margin-top: 12px; font-size: 13px; color: #b45309; line-height: 1.6; }
