/* ============================================================================
   HYBRIDMKT — DESIGN SYSTEM
   Premium marketplace theme on top of Bootstrap 5.
   Light + dark via [data-theme] on <html>. Toggle persists in localStorage.
   ============================================================================ */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  /* Light theme (default) */
  --bg: #F2F3F5;
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --header: #14181F;
  --header-2: #1E2430;
  --text: #14181F;
  --text-2: #6B7280;
  --text-3: #9CA3AF;
  --border: #E7E8EC;
  --border-2: #EDEEF1;

  --accent: #FF6B2C;
  --accent-soft: #FFE9DD;
  --accent-hover: #E8581C;
  --accent2: #4F46E5;
  --accent2-soft: #EBE9FE;

  --green: #16A34A;
  --green-soft: #E7F6EC;
  --red: #E0292E;
  --red-soft: #FDEAEA;
  --amber: #F2A93B;
  --amber-soft: #FFF4E0;
  --gold: #F2A93B;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20,24,31,.04);
  --shadow-md: 0 4px 16px rgba(20,24,31,.06);
  --shadow-lg: 0 12px 32px rgba(20,24,31,.10);
}

[data-theme="dark"] {
  --bg: #0B0E14;
  --surface: #161A24;
  --surface-2: #1D222F;
  --header: #070910;
  --header-2: #10141F;
  --text: #F3F4F6;
  --text-2: #9CA3AF;
  --text-3: #6B7280;
  --border: #252A38;
  --border-2: #1E232F;

  --accent: #FF7A3D;
  --accent-soft: #2A1B12;
  --accent-hover: #FF8F5C;
  --accent2: #7C7AFF;
  --accent2-soft: #1E1B3D;

  --green: #34D399;
  --green-soft: #103326;
  --red: #F87171;
  --red-soft: #3A1818;
  --amber: #F2A93B;
  --amber-soft: #2E2310;
  --gold: #F2A93B;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.5);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
html { color-scheme: light dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--accent2); opacity: .85; }
.text-muted { color: var(--text-2) !important; }
.text-faint { color: var(--text-3) !important; }
.tabular { font-variant-numeric: tabular-nums; }

/* ── Page transition / loading ─────────────────────────────────────────── */
#page-loader {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 9999; transition: width .3s ease, opacity .3s ease;
  opacity: 0;
}
#page-loader.active { opacity: 1; }

.fade-in { animation: hmFadeIn .25s ease both; }
@keyframes hmFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.skeleton {
  background: linear-gradient(90deg, var(--border-2) 25%, var(--surface-2) 50%, var(--border-2) 75%);
  background-size: 200% 100%;
  animation: hmShimmer 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes hmShimmer { to { background-position: -200% 0; } }

/* ── Cards & surfaces ───────────────────────────────────────────────────── */
.hm-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.hm-card-head {
  padding: .875rem 1.125rem;
  border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.hm-card-head h2, .hm-card-head h3, .hm-card-head p {
  font-size: 13px; font-weight: 600; color: var(--text); margin: 0;
}
.hm-card-body { padding: 1.125rem; }

.hm-surface-2 { background: var(--surface-2); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-hm-primary {
  background: var(--accent); border: none; color: #fff;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 13px;
  padding: .5rem 1.1rem; transition: background .15s, transform .1s;
}
.btn-hm-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-hm-primary:active { transform: scale(.98); }
.btn-hm-primary:disabled { opacity: .6; }

.btn-hm-secondary {
  background: var(--accent2); border: none; color: #fff;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 13px;
  padding: .5rem 1.1rem; transition: background .15s, transform .1s;
}
.btn-hm-secondary:hover { background: var(--accent2); opacity: .9; color: #fff; }
.btn-hm-secondary:active { transform: scale(.98); }

.btn-hm-ghost {
  background: var(--surface); border: 0.5px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); font-weight: 500; font-size: 13px;
  padding: .5rem 1rem; transition: all .15s;
}
.btn-hm-ghost:hover { border-color: var(--accent); color: var(--text); background: var(--surface-2); }

.btn-hm-danger {
  background: var(--red-soft); border: none; color: var(--red);
  border-radius: var(--radius-sm); font-weight: 600; font-size: 13px;
  padding: .5rem 1rem; transition: all .15s;
}
.btn-hm-danger:hover { background: var(--red); color: #fff; }

.btn-hm-sm { padding: .3rem .7rem; font-size: 12px; }
.btn-hm-icon {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0.5px solid var(--border); background: var(--surface); color: var(--text);
  transition: all .15s; position: relative;
}
.btn-hm-icon:hover { border-color: var(--accent); color: var(--accent); }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge-hm {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 20px;
  line-height: 1.4;
}
.badge-green  { background: var(--green-soft); color: var(--green); }
.badge-red    { background: var(--red-soft); color: var(--red); }
.badge-amber  { background: var(--amber-soft); color: var(--amber); }
.badge-purple { background: var(--accent2-soft); color: var(--accent2); }
.badge-orange { background: var(--accent-soft); color: var(--accent); }
.badge-neutral{ background: var(--surface-2); color: var(--text-2); border: 0.5px solid var(--border); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: hmPulse 2s ease infinite; }
.live-dot.amber { background: var(--amber); }
.live-dot.red { background: var(--red); animation: none; }
.live-dot.static { animation: none; }
@keyframes hmPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-control, .form-select {
  background: var(--surface); border: 0.5px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); font-size: 13px; padding: .55rem .8rem;
}
.form-control:focus, .form-select:focus {
  background: var(--surface); color: var(--text); border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-control::placeholder { color: var(--text-3); }
.form-label { font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.form-text { font-size: 11.5px; color: var(--text-2); }
.input-group-text { background: var(--surface-2); border: 0.5px solid var(--border); color: var(--text-2); }

.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-switch .form-check-input:checked { background-color: var(--accent2); border-color: var(--accent2); }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.hm-table { width: 100%; font-size: 13px; }
.hm-table thead th {
  font-size: 10.5px; font-weight: 600; color: var(--text-2); letter-spacing: .04em;
  text-transform: uppercase; background: var(--surface-2);
  border-bottom: 0.5px solid var(--border); padding: .6rem 1rem; white-space: nowrap;
}
.hm-table tbody td { padding: .7rem 1rem; border-bottom: 0.5px solid var(--border-2); vertical-align: middle; color: var(--text); }
.hm-table tbody tr:last-child td { border-bottom: none; }
.hm-table tbody tr { transition: background .1s; }
.hm-table tbody tr:hover { background: var(--surface-2); }

/* ── Avatars ────────────────────────────────────────────────────────────── */
.hm-avatar {
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; flex-shrink: 0; background: var(--accent2-soft); color: var(--accent2);
}

/* ── Progress ───────────────────────────────────────────────────────────── */
.hm-progress { height: 5px; background: var(--border); border-radius: 4px; overflow: hidden; }
.hm-progress .fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-hover)); transition: width .4s ease; }
.hm-progress .fill.purple { background: linear-gradient(90deg, var(--accent2), #7C76F0); }
.hm-progress .fill.green { background: var(--green); }

/* ── Metric cards ───────────────────────────────────────────────────────── */
.hm-metric { border-radius: var(--radius-md); padding: 1rem 1.125rem; position: relative; overflow: hidden; }
.hm-metric.dark   { background: #1A1730; color: #fff; }
.hm-metric.purple { background: #2D2475; color: #fff; }
.hm-metric.teal   { background: #0A4A3A; color: #fff; }
.hm-metric.amber  { background: #3D2600; color: #fff; }
.hm-metric.light  { background: var(--surface); border: 0.5px solid var(--border); color: var(--text); }
.hm-metric .m-label { font-size: 10px; opacity: .6; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.hm-metric .m-value { font-size: 22px; font-weight: 700; margin-top: 6px; letter-spacing: -.02em; }
.hm-metric .m-delta { font-size: 11px; margin-top: 5px; opacity: .75; display: flex; align-items: center; gap: 3px; }
.hm-metric .m-delta.up { color: #5DCAA5; }
.hm-metric .m-delta.down { color: #F0997B; }
.hm-metric .m-icon { position: absolute; right: 12px; top: 12px; opacity: .15; font-size: 32px; }
.hm-metric.light .m-delta.up { color: var(--green); }
.hm-metric.light .m-delta.down { color: var(--red); }

/* ── Product cards ──────────────────────────────────────────────────────── */
.hm-pcard {
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: all .15s; display: flex; flex-direction: column; height: 100%;
}
.hm-pcard:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hm-pcard .thumb {
  height: 110px; display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--surface-2); flex-shrink: 0;
}
.hm-pcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-pcard .body { padding: .875rem; display: flex; flex-direction: column; flex: 1; }
.hm-pcard .title {
  font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px;
}
.hm-pcard .seller { font-size: 11px; color: var(--text-2); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.hm-pcard .rating { display: flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 11px; color: var(--text-2); }
.hm-pcard .price-row { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 6px; }
.hm-pcard .price { font-size: 15px; font-weight: 700; color: var(--text); }
.hm-pcard .price-old { font-size: 11px; color: var(--text-3); text-decoration: line-through; }
.hm-pcard .wishlist {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-2); border: none; cursor: pointer; transition: all .15s;
}
[data-theme="dark"] .hm-pcard .wishlist { background: rgba(0,0,0,.4); color: #fff; }
.hm-pcard .wishlist:hover { color: var(--red); }
.hm-pcard .wishlist.active { color: var(--red); }
.hm-pcard .discount-badge {
  position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
}
.hm-pcard .stock-badge { font-size: 10px; font-weight: 600; margin-top: 4px; }
.hm-pcard .stock-badge.low { color: var(--amber); }
.hm-pcard .stock-badge.out { color: var(--red); }
.hm-pcard .add-cart-btn {
  width: 100%; margin-top: 8px; background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: .45rem; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 5px; transition: background .15s;
}
.hm-pcard .add-cart-btn:hover { background: var(--accent-hover); color: #fff; }
.hm-pcard .add-cart-btn:disabled { background: var(--border); color: var(--text-3); cursor: not-allowed; }
.hm-pcard .add-cart-btn.added { background: var(--green); }

/* ── Tags ───────────────────────────────────────────────────────────────── */
.hm-tag {
  font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 2px;
}
.tag-protected { background: var(--accent2-soft); color: var(--accent2); }
.tag-bestseller { background: var(--gold); color: #fff; }
.tag-new { background: var(--green-soft); color: var(--green); }
.tag-physical { background: var(--amber-soft); color: var(--amber); }
.tag-digital { background: var(--accent2-soft); color: var(--accent2); }

/* ── Toasts ─────────────────────────────────────────────────────────────── */
.hm-toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 10050; display: flex; flex-direction: column; gap: .5rem; }
.hm-toast {
  background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: .75rem 1rem; min-width: 280px; max-width: 360px;
  display: flex; align-items: flex-start; gap: .6rem; animation: hmToastIn .25s ease;
  border-left: 3px solid var(--accent2);
}
.hm-toast.success { border-left-color: var(--green); }
.hm-toast.error { border-left-color: var(--red); }
.hm-toast.warning { border-left-color: var(--amber); }
.hm-toast .icon { font-size: 18px; flex-shrink: 0; }
.hm-toast.success .icon { color: var(--green); }
.hm-toast.error .icon { color: var(--red); }
.hm-toast.warning .icon { color: var(--amber); }
.hm-toast .content { flex: 1; font-size: 12.5px; color: var(--text); }
.hm-toast .close { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 14px; }
@keyframes hmToastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.hm-toast.removing { animation: hmToastOut .2s ease forwards; }
@keyframes hmToastOut { to { opacity: 0; transform: translateX(20px); } }

/* ── Theme toggle ───────────────────────────────────────────────────────── */
.theme-toggle-btn {
  background: rgba(255,255,255,.1); border: 0.5px solid rgba(255,255,255,.15); color: #fff;
  border-radius: 20px; padding: 5px 12px; font-size: 11px; cursor: pointer;
  display: flex; align-items: center; gap: 5px; transition: background .15s;
}
.theme-toggle-btn:hover { background: rgba(255,255,255,.18); }

/* ── Sidebar (dashboard layout) ─────────────────────────────────────────── */
.hm-sidebar { background: var(--header); display: flex; flex-direction: column; height: 100vh; position: sticky; top: 0; }
.hm-sidebar .sb-logo { padding: 1.1rem 1.1rem .8rem; display: flex; align-items: center; gap: 10px; border-bottom: 0.5px solid rgba(255,255,255,.06); }
.hm-sidebar .sb-logo-mark { width: 30px; height: 30px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.hm-sidebar .sb-section { padding: .875rem .875rem .25rem; font-size: 9px; font-weight: 600; color: rgba(255,255,255,.25); letter-spacing: .1em; text-transform: uppercase; }
.hm-sidebar .sb-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin: 1px .5rem;
  border-radius: 8px; font-size: 12.5px; color: rgba(255,255,255,.5); cursor: pointer;
  transition: all .15s; position: relative; text-decoration: none;
}
.hm-sidebar .sb-item:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.05); }
.hm-sidebar .sb-item.active { color: #fff; background: rgba(255,107,44,.18); }
.hm-sidebar .sb-item.active::before { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 2.5px; background: var(--accent); border-radius: 0 2px 2px 0; }
.hm-sidebar .sb-item i { font-size: 15px; width: 18px; flex-shrink: 0; }
.hm-sidebar .sb-badge { margin-left: auto; background: var(--accent); color: #fff; border-radius: 10px; font-size: 10px; padding: 1px 6px; min-width: 18px; text-align: center; }
.hm-sidebar .sb-badge.red { background: var(--red); }
.hm-sidebar .sb-bottom { margin-top: auto; padding: .875rem; border-top: 0.5px solid rgba(255,255,255,.06); }
.hm-sidebar .sb-user { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-decoration: none; color: inherit; }
.hm-sidebar .sb-user:hover { background: rgba(255,255,255,.05); }
.hm-sidebar .sb-nav-scroll { flex: 1; overflow-y: auto; padding: .5rem 0; }
.hm-sidebar .sb-nav-scroll::-webkit-scrollbar { width: 4px; }
.hm-sidebar .sb-nav-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }

/* ── Topbar (dashboard layout) ──────────────────────────────────────────── */
.hm-topbar {
  background: var(--surface); border-bottom: 0.5px solid var(--border);
  padding: .75rem 1.25rem; display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 100;
}
.hm-search-bar {
  display: flex; align-items: center; gap: 8px; background: var(--surface-2);
  border: 0.5px solid var(--border); border-radius: 8px; padding: 7px 12px; max-width: 320px; flex: 1;
}
.hm-search-bar input { border: none; background: none; outline: none; font-size: 12px; color: var(--text); flex: 1; }
.hm-search-bar input::placeholder { color: var(--text-3); }
.hm-kbd { font-size: 10px; color: var(--text-3); background: var(--border-2); padding: 1px 5px; border-radius: 4px; }

/* ── Storefront header ──────────────────────────────────────────────────── */
.hm-storefront-header { background: var(--header); padding: .875rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; }
.hm-logo { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.hm-logo span { color: var(--accent); }
.hm-storefront-search { flex: 1; display: flex; max-width: 640px; position: relative; }
.hm-storefront-search input { flex: 1; border: none; padding: 10px 14px; font-size: 13px; border-radius: 6px 0 0 6px; outline: none; background: #fff; color: #14181F; }
.hm-storefront-search button { background: var(--accent); border: none; border-radius: 0 6px 6px 0; padding: 0 18px; cursor: pointer; color: #fff; font-size: 15px; }
.hm-header-actions { display: flex; align-items: center; gap: 1.5rem; color: #fff; font-size: 12px; margin-left: auto; }
.hm-header-actions .item {
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
  opacity: .85; transition: opacity .15s; text-decoration: none; color: #fff; position: relative;
}
.hm-header-actions .item:hover { opacity: 1; color: #fff; }
.hm-header-actions .item i { font-size: 19px; }
.hm-cart-badge {
  position: absolute; top: -4px; right: -8px; background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700; border-radius: 10px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.hm-sell-btn { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 8px 16px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.hm-sell-btn:hover { background: var(--accent-hover); color: #fff; }

/* ── Category nav ───────────────────────────────────────────────────────── */
.hm-catnav { background: var(--header-2); padding: 0 1.5rem; display: flex; gap: 1.75rem; overflow-x: auto; color: #D8DAE3; }
.hm-catnav .cat { padding: 9px 0; font-size: 12.5px; white-space: nowrap; cursor: pointer; display: flex; align-items: center; gap: 5px; border-bottom: 2px solid transparent; transition: all .15s; text-decoration: none; color: #D8DAE3; }
.hm-catnav .cat:hover, .hm-catnav .cat.active { color: #fff; border-color: var(--accent); }
.hm-catnav::-webkit-scrollbar { height: 0; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.hm-footer { background: var(--header); color: #9CA3AF; padding: 2rem 1.5rem; font-size: 12px; }
.hm-footer h4 { color: #fff; font-size: 12px; margin-bottom: .625rem; font-weight: 600; }
.hm-footer a { color: #9CA3AF; display: block; margin-bottom: 6px; text-decoration: none; }
.hm-footer a:hover { color: #fff; }
.hm-footer .bottom { border-top: 0.5px solid rgba(255,255,255,.08); margin-top: 1.5rem; padding-top: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ── Cart drawer ────────────────────────────────────────────────────────── */
.hm-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 380px; max-width: 100vw;
  background: var(--surface); border-left: 0.5px solid var(--border); box-shadow: var(--shadow-lg);
  z-index: 10040; transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.hm-cart-drawer.open { transform: translateX(0); }
.hm-cart-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 10030;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.hm-cart-backdrop.open { opacity: 1; visibility: visible; }

/* ── Empty states ───────────────────────────────────────────────────────── */
.hm-empty { text-align: center; padding: 3rem 1.5rem; }
.hm-empty .icon { font-size: 48px; color: var(--text-3); margin-bottom: 1rem; }
.hm-empty h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.hm-empty p { font-size: 13px; color: var(--text-2); margin-bottom: 1rem; }

/* ── Pills / filters ────────────────────────────────────────────────────── */
.hm-pill {
  padding: 5px 14px; border-radius: 20px; border: 0.5px solid var(--border); background: var(--surface);
  cursor: pointer; font-size: 12px; color: var(--text); transition: all .15s; text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.hm-pill:hover { background: var(--surface-2); color: var(--text); }
.hm-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hm-sidebar { position: fixed; left: 0; top: 0; z-index: 1050; width: 240px; transform: translateX(-100%); transition: transform .25s; }
  .hm-sidebar.open { transform: translateX(0); }
  .hm-storefront-search { display: none; }
  .hm-header-actions .item span.label { display: none; }
}
