/* GlyphForge Icon Sizes */

img.gf { display:inline-block; vertical-align:middle; flex-shrink:0; }

.gf-xs { width:12px; height:12px; }

.gf-sm { width:16px; height:16px; }

.gf-md { width:24px; height:24px; }

.gf-lg { width:32px; height:32px; }

.gf-xl { width:48px; height:48px; }




/* ============================================================================

   HORIZONMART - Decentralized Marketplace

   NeuraWeb Commerce Engine Skin

   ============================================================================ */

.horizonmart-shell-container { width:100%; height:100%; overflow:hidden; }

.horizonmart-app { height:100%; }

.horizonmart-layout { display:flex; height:100%; overflow:hidden; }



/* --- Sidebar --- */

.horizonmart-sidebar { width:220px; min-width:220px; background:var(--bg-secondary); border-right:1px solid var(--border); display:flex; flex-direction:column; overflow-y:auto; }

.horizonmart-sidebar-header { padding:16px; border-bottom:1px solid var(--border); }

.horizonmart-sidebar-header h2 { font-size:16px; font-weight:700; display:flex; align-items:center; gap:8px; margin:0; color:var(--text-primary); }

.horizonmart-nav { flex:1; padding:8px; display:flex; flex-direction:column; gap:2px; }

.horizonmart-nav-item { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:8px; color:var(--text-secondary); text-decoration:none; font-size:13px; font-weight:500; transition:all 0.15s ease; cursor:pointer; }

.horizonmart-nav-item:hover { background:var(--bg-hover); color:var(--text-primary); }

.horizonmart-nav-item.active { background:rgba(14,165,233,0.1); color:#0ea5e9; }

.horizonmart-nav-item.active .gf { filter:brightness(0) saturate(100%) invert(56%) sepia(69%) saturate(2072%) hue-rotate(167deg) brightness(99%) contrast(97%); }

.horizonmart-sidebar-footer { padding:8px; border-top:1px solid var(--border); }

.hm-temp-icon { opacity:0.5; }



/* --- Content Area --- */

.horizonmart-content { flex:1; display:flex; flex-direction:column; overflow:hidden; min-width:0; }

.horizonmart-content-header { display:flex; align-items:center; justify-content:space-between; padding:12px 20px; border-bottom:1px solid var(--border); background:var(--bg-secondary); gap:16px; flex-shrink:0; }

.horizonmart-content-header h1 { font-size:16px; font-weight:600; margin:0; white-space:nowrap; color:var(--text-primary); }

.horizonmart-header-actions { display:flex; align-items:center; gap:10px; }

.horizonmart-search-box { display:flex; align-items:center; gap:8px; background:var(--bg-tertiary); border:1px solid var(--border); border-radius:8px; padding:6px 12px; min-width:240px; }

.horizonmart-search-box input { background:none; border:none; outline:none; color:var(--text-primary); font-size:13px; width:100%; }

.horizonmart-search-box input::placeholder { color:var(--text-muted); }

.horizonmart-cart-btn { position:relative; background:var(--bg-tertiary); border:1px solid var(--border); border-radius:8px; padding:7px 10px; cursor:pointer; display:flex; align-items:center; gap:6px; transition:all 0.15s ease; }

.horizonmart-cart-btn:hover { border-color:#0ea5e9; background:rgba(14,165,233,0.08); }

.cart-count { font-size:11px; font-weight:700; background:#0ea5e9; color:#fff; border-radius:10px; padding:1px 6px; min-width:18px; text-align:center; }

#horizonmart-content-area { flex:1; overflow-y:auto; padding:20px; }



/* --- Right Panel --- */

.horizonmart-panel { width:340px; min-width:340px; background:var(--bg-secondary); border-left:1px solid var(--border); display:flex; flex-direction:column; overflow:hidden; }

.horizonmart-panel-header { padding:12px 16px; border-bottom:1px solid var(--border); }

.horizonmart-panel-header h3 { margin:0; font-size:14px; font-weight:600; color:var(--text-primary); }

#horizonmart-detail-area { flex:1; overflow-y:auto; padding:16px; }

.horizonmart-panel-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; gap:12px; color:var(--text-muted); text-align:center; }

.horizonmart-panel-empty p { font-size:13px; }



/* --- Welcome Screen --- */

.horizonmart-welcome { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:400px; text-align:center; gap:16px; }

.horizonmart-welcome-icon { width:72px; height:72px; background:rgba(14,165,233,0.1); border-radius:20px; display:flex; align-items:center; justify-content:center; }

.horizonmart-welcome h2 { font-size:22px; font-weight:700; margin:0; color:var(--text-primary); }

.horizonmart-welcome p { font-size:14px; color:var(--text-secondary); max-width:420px; margin:0; }

.horizonmart-stats { display:flex; gap:32px; margin-top:12px; }

.stat-item { display:flex; flex-direction:column; align-items:center; gap:4px; }

.stat-value { font-size:28px; font-weight:800; color:#0ea5e9; font-variant-numeric:tabular-nums; }

.stat-label { font-size:10px; font-weight:600; letter-spacing:0.08em; color:var(--text-muted); text-transform:uppercase; }




/* --- Filter Bar --- */

.hm-filters { display:flex; align-items:center; gap:8px; margin-bottom:16px; flex-wrap:wrap; }

.hm-filter-btn { padding:6px 14px; border-radius:20px; border:1px solid var(--border); background:var(--bg-secondary); color:var(--text-secondary); font-size:12px; font-weight:500; cursor:pointer; transition:all 0.15s ease; white-space:nowrap; }

.hm-filter-btn:hover { border-color:var(--text-muted); color:var(--text-primary); }

.hm-filter-btn.active { background:#0ea5e9; border-color:#0ea5e9; color:#fff; }

.hm-filter-select { padding:6px 12px; border-radius:8px; border:1px solid var(--border); background:var(--bg-secondary); color:var(--text-primary); font-size:12px; cursor:pointer; outline:none; }

.hm-filter-select:focus { border-color:#0ea5e9; }

.hm-results-count { font-size:12px; color:var(--text-muted); margin-left:auto; }



/* --- Product Grid --- */

.hm-product-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:14px; }

.hm-product-card { background:var(--bg-secondary); border:1px solid var(--border); border-radius:10px; overflow:hidden; cursor:pointer; transition:all 0.2s ease; position:relative; }

.hm-product-card:hover { border-color:rgba(14,165,233,0.4); transform:translateY(-2px); box-shadow:0 4px 16px rgba(0,0,0,0.08); }

.hm-product-card.selected { border-color:#0ea5e9; box-shadow:0 0 0 2px rgba(14,165,233,0.2); }

.hm-card-image { width:100%; aspect-ratio:1; background:var(--bg-tertiary); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }

.hm-card-image img { width:100%; height:100%; object-fit:cover; }

.hm-card-image .hm-no-image { color:var(--text-muted); font-size:11px; }

.hm-card-badge { position:absolute; top:8px; left:8px; display:flex; gap:4px; flex-wrap:wrap; }

.hm-badge { padding:2px 8px; border-radius:4px; font-size:10px; font-weight:600; letter-spacing:0.03em; }

.hm-badge-new { background:rgba(14,165,233,0.15); color:#0ea5e9; }

.hm-badge-used { background:rgba(245,158,11,0.15); color:#f59e0b; }

.hm-badge-refurb { background:rgba(16,185,129,0.15); color:#10b981; }

.hm-badge-offer { background:rgba(236,72,153,0.12); color:#ec4899; }

.hm-badge-verified { background:rgba(16,185,129,0.15); color:#10b981; }

.hm-card-body { padding:10px 12px 12px; }

.hm-card-title { font-size:13px; font-weight:500; color:var(--text-primary); margin:0 0 6px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

.hm-card-price { font-size:16px; font-weight:700; color:var(--text-primary); margin:0 0 6px; }

.hm-card-price .hm-msrp { font-size:11px; font-weight:400; color:var(--text-muted); text-decoration:line-through; margin-left:6px; }

.hm-card-meta { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }

.hm-card-seller { font-size:11px; color:var(--text-secondary); display:flex; align-items:center; gap:4px; }

.hm-card-seller .hm-seller-rating { color:#f59e0b; font-weight:600; }

.hm-card-shipping { font-size:10px; padding:2px 6px; border-radius:4px; background:rgba(16,185,129,0.1); color:#10b981; font-weight:500; }



/* --- Category Grid --- */

.hm-category-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:12px; }

.hm-category-card { background:var(--bg-secondary); border:1px solid var(--border); border-radius:10px; padding:20px 16px; display:flex; flex-direction:column; align-items:center; gap:10px; cursor:pointer; transition:all 0.2s ease; text-align:center; }

.hm-category-card:hover { border-color:rgba(14,165,233,0.4); transform:translateY(-2px); background:rgba(14,165,233,0.03); }

.hm-category-icon { width:44px; height:44px; background:rgba(14,165,233,0.1); border-radius:12px; display:flex; align-items:center; justify-content:center; }

.hm-category-name { font-size:13px; font-weight:600; color:var(--text-primary); margin:0; }

.hm-category-count { font-size:11px; color:var(--text-muted); }

.hm-subcategory-list { margin-top:16px; }

.hm-subcategory-list h3 { font-size:14px; font-weight:600; margin:0 0 10px; color:var(--text-primary); display:flex; align-items:center; gap:8px; }

.hm-subcategory-list h3 .hm-back-btn { font-size:12px; color:#0ea5e9; cursor:pointer; font-weight:500; }

.hm-subcategory-chips { display:flex; flex-wrap:wrap; gap:8px; }

.hm-subcategory-chip { padding:6px 14px; border-radius:20px; border:1px solid var(--border); background:var(--bg-secondary); color:var(--text-secondary); font-size:12px; cursor:pointer; transition:all 0.15s ease; }

.hm-subcategory-chip:hover { border-color:#0ea5e9; color:#0ea5e9; }



/* --- Deals View --- */

.hm-deals-banner { background:linear-gradient(135deg, rgba(14,165,233,0.08), rgba(236,72,153,0.06)); border:1px solid rgba(14,165,233,0.15); border-radius:12px; padding:20px 24px; margin-bottom:16px; display:flex; align-items:center; gap:16px; }

.hm-deals-banner h3 { margin:0; font-size:16px; font-weight:700; color:var(--text-primary); }

.hm-deals-banner p { margin:4px 0 0; font-size:13px; color:var(--text-secondary); }



/* --- Fee Comparison Banner --- */

.hm-fee-compare { background:var(--bg-tertiary); border:1px solid var(--border); border-radius:10px; padding:14px 18px; margin-bottom:16px; display:flex; align-items:center; gap:20px; }

.hm-fee-item { text-align:center; flex:1; }

.hm-fee-item .hm-fee-platform { font-size:10px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-muted); margin-bottom:4px; }

.hm-fee-item .hm-fee-rate { font-size:18px; font-weight:800; }

.hm-fee-item .hm-fee-rate.hm-competitor { color:var(--error); text-decoration:line-through; }

.hm-fee-item .hm-fee-rate.hm-ours { color:#10b981; }

.hm-fee-vs { font-size:12px; color:var(--text-muted); font-weight:600; }

.hm-fee-savings { background:rgba(16,185,129,0.1); color:#10b981; padding:4px 10px; border-radius:6px; font-size:12px; font-weight:700; }




/* --- Detail Panel Content --- */

.hm-detail-image { width:100%; aspect-ratio:1; background:var(--bg-tertiary); border-radius:8px; overflow:hidden; margin-bottom:12px; display:flex; align-items:center; justify-content:center; }

.hm-detail-image img { width:100%; height:100%; object-fit:cover; }

.hm-detail-title { font-size:16px; font-weight:700; color:var(--text-primary); margin:0 0 4px; line-height:1.3; }

.hm-detail-subtitle { font-size:12px; color:var(--text-secondary); margin:0 0 12px; }

.hm-detail-price-row { display:flex; align-items:baseline; gap:10px; margin-bottom:12px; }

.hm-detail-price { font-size:24px; font-weight:800; color:var(--text-primary); }

.hm-detail-msrp { font-size:13px; color:var(--text-muted); text-decoration:line-through; }

.hm-detail-savings { font-size:12px; font-weight:600; color:#10b981; background:rgba(16,185,129,0.1); padding:2px 8px; border-radius:4px; }

.hm-detail-actions { display:flex; gap:8px; margin-bottom:16px; }

.hm-btn { padding:9px 16px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; transition:all 0.15s ease; border:none; display:flex; align-items:center; justify-content:center; gap:6px; }

.hm-btn-primary { background:#0ea5e9; color:#fff; flex:1; }

.hm-btn-primary:hover { background:#0284c7; }

.hm-btn-secondary { background:var(--bg-tertiary); color:var(--text-primary); border:1px solid var(--border); }

.hm-btn-secondary:hover { border-color:#0ea5e9; color:#0ea5e9; }

.hm-btn-sm { padding:6px 12px; font-size:12px; }

.hm-btn-danger { background:rgba(239,68,68,0.1); color:#ef4444; border:1px solid rgba(239,68,68,0.2); }

.hm-btn-danger:hover { background:rgba(239,68,68,0.2); }

.hm-detail-info { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }

.hm-info-row { display:flex; justify-content:space-between; align-items:center; font-size:12px; padding:6px 0; border-bottom:1px solid var(--border); }

.hm-info-label { color:var(--text-muted); }

.hm-info-value { color:var(--text-primary); font-weight:500; }

.hm-trust-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border-radius:6px; font-size:11px; font-weight:600; }

.hm-trust-high { background:rgba(16,185,129,0.1); color:#10b981; }

.hm-trust-mid { background:rgba(245,158,11,0.1); color:#f59e0b; }

.hm-trust-new { background:rgba(14,165,233,0.1); color:#0ea5e9; }



/* --- Seller Info in Detail --- */

.hm-seller-card { background:var(--bg-tertiary); border-radius:8px; padding:12px; margin-bottom:16px; }

.hm-seller-row { display:flex; align-items:center; gap:10px; margin-bottom:8px; }

.hm-seller-avatar { width:36px; height:36px; border-radius:8px; background:rgba(14,165,233,0.1); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:#0ea5e9; }

.hm-seller-name { font-size:13px; font-weight:600; color:var(--text-primary); }

.hm-seller-une { font-size:11px; color:var(--text-muted); font-family:var(--font-mono, monospace); }

.hm-seller-stats { display:flex; gap:12px; }

.hm-seller-stat { font-size:11px; color:var(--text-secondary); }

.hm-seller-stat strong { color:var(--text-primary); }



/* --- NI Verified Badge --- */

.hm-ni-badge { display:flex; align-items:center; gap:8px; padding:10px 12px; background:rgba(16,185,129,0.06); border:1px solid rgba(16,185,129,0.2); border-radius:8px; margin-bottom:16px; }

.hm-ni-badge-icon { width:28px; height:28px; background:rgba(16,185,129,0.15); border-radius:6px; display:flex; align-items:center; justify-content:center; }

.hm-ni-badge-text { font-size:11px; color:#10b981; font-weight:600; }

.hm-ni-badge-sub { font-size:10px; color:var(--text-muted); }



/* --- Escrow Timeline --- */

.hm-escrow-timeline { display:flex; align-items:center; gap:0; margin:16px 0; padding:12px; background:var(--bg-tertiary); border-radius:8px; }

.hm-escrow-step { flex:1; text-align:center; position:relative; }

.hm-escrow-dot { width:24px; height:24px; border-radius:50%; border:2px solid var(--border); background:var(--bg-secondary); margin:0 auto 6px; display:flex; align-items:center; justify-content:center; font-size:10px; }

.hm-escrow-dot.active { border-color:#0ea5e9; background:rgba(14,165,233,0.1); color:#0ea5e9; }

.hm-escrow-dot.done { border-color:#10b981; background:#10b981; color:#fff; }

.hm-escrow-label { font-size:9px; color:var(--text-muted); font-weight:500; text-transform:uppercase; letter-spacing:0.04em; }

.hm-escrow-line { flex:0 0 20px; height:2px; background:var(--border); margin-bottom:18px; }

.hm-escrow-line.done { background:#10b981; }



/* --- Cart Flyout --- */

.hm-cart-flyout { position:fixed; top:0; right:-400px; width:380px; height:100vh; background:var(--bg-secondary); border-left:1px solid var(--border); z-index:1000; transition:right 0.3s ease; display:flex; flex-direction:column; box-shadow:-4px 0 24px rgba(0,0,0,0.1); }

.hm-cart-flyout.open { right:0; }

.hm-cart-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.3); z-index:999; opacity:0; pointer-events:none; transition:opacity 0.3s ease; }

.hm-cart-overlay.open { opacity:1; pointer-events:auto; }

.hm-cart-header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid var(--border); }

.hm-cart-header h3 { margin:0; font-size:15px; font-weight:600; color:var(--text-primary); }

.hm-cart-close { background:none; border:none; color:var(--text-muted); cursor:pointer; font-size:18px; padding:4px; }

.hm-cart-close:hover { color:var(--text-primary); }

.hm-cart-items { flex:1; overflow-y:auto; padding:12px 16px; }

.hm-cart-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); }

.hm-cart-item-img { width:56px; height:56px; border-radius:6px; background:var(--bg-tertiary); flex-shrink:0; overflow:hidden; display:flex; align-items:center; justify-content:center; }

.hm-cart-item-img img { width:100%; height:100%; object-fit:cover; }

.hm-cart-item-info { flex:1; min-width:0; }

.hm-cart-item-title { font-size:12px; font-weight:500; color:var(--text-primary); margin-bottom:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.hm-cart-item-price { font-size:13px; font-weight:700; color:var(--text-primary); }

.hm-cart-item-qty { display:flex; align-items:center; gap:8px; margin-top:6px; }

.hm-qty-btn { width:24px; height:24px; border-radius:4px; border:1px solid var(--border); background:var(--bg-tertiary); cursor:pointer; font-size:14px; display:flex; align-items:center; justify-content:center; color:var(--text-primary); }

.hm-qty-btn:hover { border-color:#0ea5e9; }

.hm-qty-val { font-size:13px; font-weight:600; min-width:20px; text-align:center; color:var(--text-primary); }

.hm-cart-item-remove { font-size:11px; color:var(--error); cursor:pointer; margin-top:4px; }

.hm-cart-item-remove:hover { text-decoration:underline; }

.hm-cart-footer { padding:16px 20px; border-top:1px solid var(--border); }

.hm-cart-totals { margin-bottom:12px; }

.hm-cart-total-row { display:flex; justify-content:space-between; font-size:13px; margin-bottom:6px; }

.hm-cart-total-row.total { font-weight:700; font-size:15px; color:var(--text-primary); padding-top:8px; border-top:1px solid var(--border); }

.hm-cart-checkout-btn { width:100%; padding:12px; background:#0ea5e9; color:#fff; border:none; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; transition:background 0.15s ease; }

.hm-cart-checkout-btn:hover { background:#0284c7; }

.hm-cart-fee-note { font-size:10px; color:var(--text-muted); text-align:center; margin-top:8px; }



/* --- Create Listing Form --- */

.hm-form { max-width:600px; }

.hm-form-section { margin-bottom:20px; }

.hm-form-section h3 { font-size:14px; font-weight:600; margin:0 0 12px; color:var(--text-primary); padding-bottom:8px; border-bottom:1px solid var(--border); }

.hm-form-group { margin-bottom:14px; }

.hm-form-label { display:block; font-size:12px; font-weight:500; color:var(--text-secondary); margin-bottom:4px; }

.hm-form-input { width:100%; padding:8px 12px; border:1px solid var(--border); border-radius:6px; background:var(--bg-tertiary); color:var(--text-primary); font-size:13px; outline:none; transition:border-color 0.15s ease; box-sizing:border-box; }

.hm-form-input:focus { border-color:#0ea5e9; }

.hm-form-textarea { min-height:100px; resize:vertical; font-family:inherit; }

.hm-form-row { display:flex; gap:12px; }

.hm-form-row .hm-form-group { flex:1; }

.hm-form-hint { font-size:11px; color:var(--text-muted); margin-top:4px; }

.hm-form-checkbox { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text-primary); cursor:pointer; }

.hm-form-checkbox input { accent-color:#0ea5e9; }

.hm-fee-preview { background:rgba(16,185,129,0.06); border:1px solid rgba(16,185,129,0.15); border-radius:8px; padding:12px 16px; margin-top:12px; }

.hm-fee-preview-row { display:flex; justify-content:space-between; font-size:12px; margin-bottom:4px; color:var(--text-secondary); }

.hm-fee-preview-row.net { font-weight:700; font-size:14px; color:#10b981; border-top:1px solid rgba(16,185,129,0.15); padding-top:8px; margin-top:4px; }



/* --- Orders View --- */

.hm-order-list { display:flex; flex-direction:column; gap:10px; }

.hm-order-card { display:flex; align-items:center; gap:14px; padding:14px 16px; background:var(--bg-secondary); border:1px solid var(--border); border-radius:10px; cursor:pointer; transition:all 0.15s ease; }

.hm-order-card:hover { border-color:rgba(14,165,233,0.3); }

.hm-order-img { width:48px; height:48px; border-radius:6px; background:var(--bg-tertiary); flex-shrink:0; overflow:hidden; }

.hm-order-img img { width:100%; height:100%; object-fit:cover; }

.hm-order-info { flex:1; min-width:0; }

.hm-order-title { font-size:13px; font-weight:500; color:var(--text-primary); margin-bottom:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.hm-order-number { font-size:11px; color:var(--text-muted); font-family:var(--font-mono, monospace); }

.hm-order-right { text-align:right; }

.hm-order-amount { font-size:14px; font-weight:700; color:var(--text-primary); margin-bottom:2px; }

.hm-status-pill { display:inline-block; padding:2px 8px; border-radius:4px; font-size:10px; font-weight:600; letter-spacing:0.03em; text-transform:uppercase; }

.hm-status-pending { background:rgba(245,158,11,0.1); color:#f59e0b; }

.hm-status-shipped { background:rgba(59,130,246,0.1); color:#3b82f6; }

.hm-status-delivered { background:rgba(16,185,129,0.1); color:#10b981; }

.hm-status-disputed { background:rgba(239,68,68,0.1); color:#ef4444; }

.hm-status-active { background:rgba(14,165,233,0.1); color:#0ea5e9; }



/* --- My Store / Seller View --- */

.hm-store-header { display:flex; align-items:center; gap:16px; margin-bottom:20px; padding:16px; background:var(--bg-secondary); border:1px solid var(--border); border-radius:10px; }

.hm-store-avatar { width:56px; height:56px; border-radius:14px; background:rgba(14,165,233,0.1); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; color:#0ea5e9; }

.hm-store-info h3 { margin:0; font-size:16px; font-weight:700; color:var(--text-primary); }

.hm-store-info p { margin:2px 0 0; font-size:12px; color:var(--text-muted); }

.hm-store-stats { display:flex; gap:16px; margin-left:auto; }

.hm-store-stat { text-align:center; }

.hm-store-stat-val { font-size:18px; font-weight:700; color:var(--text-primary); display:block; }

.hm-store-stat-label { font-size:10px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.05em; }

.hm-tab-bar { display:flex; gap:0; margin-bottom:16px; border-bottom:2px solid var(--border); }

.hm-tab { padding:8px 16px; font-size:13px; font-weight:500; color:var(--text-muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all 0.15s ease; }

.hm-tab:hover { color:var(--text-primary); }

.hm-tab.active { color:#0ea5e9; border-bottom-color:#0ea5e9; }



/* --- Seller Registration --- */

.hm-register-card { max-width:480px; margin:40px auto; text-align:center; }

.hm-register-card h3 { font-size:18px; font-weight:700; margin:0 0 8px; color:var(--text-primary); }

.hm-register-card p { font-size:13px; color:var(--text-secondary); margin:0 0 20px; }

.hm-register-benefits { display:flex; flex-direction:column; gap:10px; margin-bottom:24px; text-align:left; }

.hm-register-benefit { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--text-primary); }

.hm-register-benefit .hm-check { width:20px; height:20px; background:rgba(16,185,129,0.15); color:#10b981; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; flex-shrink:0; }



/* --- Empty States --- */

.hm-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:200px; gap:10px; text-align:center; }

.hm-empty-icon { width:56px; height:56px; background:var(--bg-tertiary); border-radius:14px; display:flex; align-items:center; justify-content:center; }

.hm-empty h4 { font-size:14px; font-weight:600; margin:0; color:var(--text-primary); }

.hm-empty p { font-size:12px; color:var(--text-muted); margin:0; max-width:280px; }



/* --- Loading --- */

.hm-loading { display:flex; align-items:center; justify-content:center; padding:40px; }

.hm-spinner { width:28px; height:28px; border:3px solid var(--border); border-top-color:#0ea5e9; border-radius:50%; animation:hm-spin 0.7s linear infinite; }

@keyframes hm-spin { to { transform:rotate(360deg); } }



/* --- Pagination --- */

.hm-pagination { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:20px; }

.hm-page-btn { padding:6px 12px; border-radius:6px; border:1px solid var(--border); background:var(--bg-secondary); color:var(--text-secondary); font-size:12px; cursor:pointer; transition:all 0.15s ease; }

.hm-page-btn:hover { border-color:#0ea5e9; color:#0ea5e9; }

.hm-page-btn.active { background:#0ea5e9; border-color:#0ea5e9; color:#fff; }

.hm-page-btn:disabled { opacity:0.4; cursor:default; }



/* --- Animations --- */

.hm-fade-in { animation:hmFadeIn 0.2s ease; }

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




/* === Skin Switcher (shared across skins) === */

.hm-skin-switcher { position: relative; }

.hm-skin-trigger {

    background: none; border: 1px solid var(--border-primary, #333);

    border-radius: 6px; padding: 6px 8px; cursor: pointer;

    display: flex; align-items: center; gap: 4px; opacity: 0.7;

    transition: opacity .15s;

}

.hm-skin-trigger:hover { opacity: 1; border-color: var(--accent-primary, #0891b2); }

.hm-skin-dropdown {

    display: none; position: absolute; top: calc(100% + 6px); right: 0;

    background: var(--bg-secondary, #1a1a2e); border: 1px solid var(--border-primary, #333);

    border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.4); width: 220px; z-index: 100;

    overflow: hidden;

}

.hm-skin-dropdown.open { display: block; }

.hm-skin-dropdown-title {

    padding: 10px 14px; font-size: 13px; font-weight: 600;

    border-bottom: 1px solid var(--border-primary, #333);

    color: var(--text-secondary, #aaa);

}

.hm-skin-option {

    display: flex; align-items: center; gap: 10px; padding: 10px 14px;

    text-decoration: none; color: var(--text-primary, #eee); font-size: 13px;

    transition: background .1s;

}

.hm-skin-option:hover { background: rgba(255,255,255,.06); text-decoration: none; color: var(--text-primary, #eee); }

.hm-skin-option.active { background: rgba(255,255,255,.1); }

.hm-skin-swatch {

    width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;

    border: 2px solid transparent;

}

.hm-skin-option.active .hm-skin-swatch { border-color: #fff; }

