*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.07), transparent 18%),
    radial-gradient(circle at 15% 8%, rgba(59, 130, 246, 0.08), transparent 18%),
    linear-gradient(180deg, #070b14 0%, #0b1020 58%, #0c1222 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  transition: background var(--transition-base), color var(--transition-base);
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.04), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
}

img {
  max-width: 100%;
  display: block;
}

.logo { height: 30px; }

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  font-size: 14px;
}

small,
.text-small,
.text-meta {
  font-size: 13px;
}

.page-title {
  font-size: 29px;
  line-height: 1.15;
  font-weight: 800;
}

.section-title {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

.card-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  font-family: var(--font-heading);
}

.text-soft {
  color: var(--text-soft);
}

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

.container-main {
  width: 100%;
  max-width: 2100px;
  margin-inline: auto;
  padding-inline: 32px; /* optional: a bit more breathing room */
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}

.page-section {
  padding: 24px 0;
}

.page-section-lg {
  padding: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  color: #171717;
  box-shadow:
    0 12px 28px rgba(250, 204, 21, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.38);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #fef08a 0%, #facc15 100%);
  box-shadow:
    0 16px 30px rgba(250, 204, 21, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.46);
}

html[data-theme="light"] .btn-primary {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  color: #171717;
  box-shadow:
    0 12px 28px rgba(250, 204, 21, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.38);
}

html[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(180deg, #fef08a 0%, #facc15 100%);
  box-shadow:
    0 16px 30px rgba(250, 204, 21, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.46);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}

html[data-theme="light"] .btn-secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  border-color: rgba(148, 163, 184, 0.24);
  color: #111827;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

html[data-theme="light"] .btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.34);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.06);
  color: #edf3ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  font-size: 11px; padding-right: 20px;
}

.btn-ghost:hover {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  border-color: rgba(250, 204, 21, 0.45);
  color: #171717;
  box-shadow:
    0 12px 26px rgba(250, 204, 21, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-icon {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.input-base,
.select-base {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 1px 0 rgba(0,0,0,0.1);
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

html[data-theme="light"] .input-base,
html[data-theme="light"] .select-base {
  border-color: rgba(148, 163, 184, 0.26);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  color: #111827;
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

.input-base {
  padding: 0 16px;
}

.select-base {
  padding: 0 40px 0 14px;
  appearance: none;
}

.input-base::placeholder {
  color: #8190ab;
  font-size: 13px;
}
html[data-theme="light"] .input-base::placeholder {
  color: #94a3b8;
}

.input-base:focus,
.select-base:focus {
  outline: none;
  border-color: rgba(250, 204, 21, 0.42);
  box-shadow:
    0 0 0 4px rgba(250, 204, 21, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.search-field {
  position: relative;
}

.search-field__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #8ea0be;
  pointer-events: none;
  font-size: 14px;
}

html[data-theme="light"] .search-field__icon {
  color: #64748b;
}

.search-field .input-base {
  
}

.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  box-shadow:
    0 20px 44px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.045);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

html[data-theme="light"] .panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

.panel:hover {
  transform: none;
}

.panel-link {
  display: block;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.panel-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.11);
  box-shadow:
    0 24px 50px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

html[data-theme="light"] .panel-link:hover {
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow:
    0 20px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

.glow-border::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;

}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.badge-green {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
}

.badge-red {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(244, 63, 94, 0.24);
}

.badge-blue {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.22);
}

.badge-yellow {
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.22);
}

@media (max-width: 760px) {
  .container-main {
    padding-inline: 16px;
  }

  .page-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 19px;
  }
}

/* FIX: dropdown options in dark mode */
select,
select option {
  background-color: #0f172a; /* dark bg */
  color: #e5edf8; /* light text */
}

/* optional: hover/selected feel */
select option:checked {
  background-color: #1e293b;
}
/* =========================
   UNIVERSAL EMPTY STATE
========================= */

/* force full-width inside ANY grid */
.themes-empty {
  grid-column: 1 / -1 !important;
  width: 100%;
}

/* center the box itself */
.themes-empty.panel {
  max-width: 720px;
  margin: 40px auto;
  padding: 32px;
}

/* PERFECT centered layout inside */
.themes-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-align: center;
  min-height: 160px;
}

/* icon */
.themes-empty__icon {
  font-size: 34px;
  line-height: 1;
  margin: 0;
}

/* title */
.themes-empty__title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

/* description */
.themes-empty p {
  margin: 0;
}

.toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(380px, calc(100vw - 24px));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(18, 24, 40, 0.96), rgba(10, 14, 24, 0.96));
  box-shadow:
    0 18px 40px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.05);
  color: #eef2ff;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition:
    opacity .2s ease,
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

html[data-theme="light"] .toast {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.20);
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.toast__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.toast__text {
  min-width: 0;
  flex: 1 1 auto;
}

.toast__title {
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 4px;
}

.toast__message {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}

.toast__close {
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: inherit;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .18s ease, transform .18s ease;
}

.toast__close:hover {
  transform: scale(1.04);
  background: rgba(255,255,255,0.10);
}

html[data-theme="light"] .toast__close {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(148, 163, 184, 0.16);
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.28);
}

.toast-success .toast__title {
  color: #4ade80;
}

.toast-error {
  border-color: rgba(244, 63, 94, 0.28);
}

.toast-error .toast__title {
  color: #fb7185;
}

.toast-info {
  border-color: rgba(59, 130, 246, 0.28);
}

.toast-info .toast__title {
  color: #60a5fa;
}

@media (max-width: 760px) {
  .toast-stack {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0;
    gap: 8px;
  }

  .toast {
    width: 100%;
    border-radius: 0 0 18px 18px;
    border-left: 0;
    border-right: 0;
  }

  .toast__content {
    padding: 14px 16px;
  }
}

/* =========================
   TOAST COLORS
========================= */

.toast-success {
  border-color: rgba(34, 197, 94, 0.35);
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(18, 24, 40, 0.96), rgba(10, 14, 24, 0.96));
}

.toast-success .toast__title {
  color: #4ade80;
}

.toast-warning {
  border-color: rgba(250, 204, 21, 0.35);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(18, 24, 40, 0.96), rgba(10, 14, 24, 0.96));
}

.toast-warning .toast__title {
  color: #facc15;
}

.toast-error {
  border-color: rgba(244, 63, 94, 0.35);
  background:
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(18, 24, 40, 0.96), rgba(10, 14, 24, 0.96));
}

.toast-error .toast__title {
  color: #fb7185;
}
html[data-theme="light"] .toast-success {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

html[data-theme="light"] .toast-warning {
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

html[data-theme="light"] .toast-error {
  background:
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}
.toast-success::before {
  background: linear-gradient(180deg, #22c55e, #4ade80);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.toast-warning::before {
  background: linear-gradient(180deg, #eab308, #facc15);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

.toast-error::before {
  background: linear-gradient(180deg, #ef4444, #f87171);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.wishlist-picker {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.wishlist-picker__lists {
  display: grid;
  gap: 10px;
}

.wishlist-picker__item {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

html[data-theme="light"] .wishlist-picker__item {
  border-color: rgba(148,163,184,0.22);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.wishlist-picker__item-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wishlist-picker__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #facc15;
}

.wishlist-picker__item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wishlist-picker__item-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.wishlist-picker__item-meta {
  margin-top: 3px;
  font-size: 12px;
  color: #94a3b8;
}

html[data-theme="light"] .wishlist-picker__item-meta {
  color: #64748b;
}

.wishlist-picker__create {
  display: grid;
  gap: 8px;
}

.wishlist-picker__create-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.wishlist-picker__create-row .btn {
  min-width: 110px;
}

.wishlist-picker__empty {
  padding: 18px;
  border-radius: 18px;
  text-align: center;
}

.wishlist-picker__empty-title {
  font-size: 14px;
  font-weight: 800;
}

.wishlist-picker__empty-text {
  margin-top: 4px;
  font-size: 13px;
  color: #94a3b8;
}
/* toggle buttons */
.view-toggle {
    display: flex;
    gap: 6px;
}

.view-toggle button {
    background: #1f2937;
    border: 1px solid #374151;
    color: #9ca3af;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.view-toggle button:hover {
    color: #fff;
    border-color: #4b5563;
}

.view-toggle button.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

html[data-theme="light"] .view-toggle {
  background: transparent;
}

html[data-theme="light"] .view-toggle button {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #64748b;
  box-shadow: none;
}

html[data-theme="light"] .view-toggle button:hover {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.34);
  color: #0f172a;
}

html[data-theme="light"] .view-toggle button.active {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  border-color: #3b82f6;
  color: #ffffff;
}
html[data-theme="light"] .btn-ghost {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(148, 163, 184, 0.24);
  color: #0f172a;
}
.lang-selector::after {
  content: "▾";
  font-size: 11px;
  opacity: 0.7;
}
.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.view-toggle button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.view-toggle button:hover {
  color: #e2e8f0;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.view-toggle button.active {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow:
    0 10px 22px rgba(59, 130, 246, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.view-toggle button svg,
.view-toggle button i,
.view-toggle button span {
  pointer-events: none;
}

html[data-theme="light"] .view-toggle {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

html[data-theme="light"] .view-toggle button {
  color: #64748b;
}

html[data-theme="light"] .view-toggle button:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .view-toggle button.active {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  border-color: #3b82f6;
  color: #ffffff;
}

@media (max-width: 640px) {
  .view-toggle {

    justify-content: flex-end;
  }

  .view-toggle button {
    width: 42px;
    height: 42px;
  }
}
.shop-show-control {
  min-width: 88px;
}

.shop-show-control__label {
  display: none;
}

.shop-show-control .select-base {
  min-width: 88px;
  height: 48px;
  padding: 0 38px 0 16px;
  border-radius: 16px;
  font-weight: 800;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2394A3B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right 14px center;
  background-size: auto, 16px 16px;
}

html[data-theme="light"] .shop-show-control .select-base {
  background-image:
    linear-gradient(180deg, #ffffff, #f8fafc),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* =========================================
   MOBILE SEARCH / FILTER COLLAPSE
   No HTML changes needed
========================================= */

.mobile-filters-toggle {
  display: none;
}

@media (max-width: 760px) {
  .wishlist-hero__filters,
  .sets-results__filters,
  .discovery-filters,
  .collection-filters,
  .shop-filters,
  .shops-page .container-main,
  .shops-filters {
    position: relative;
  }

  .mobile-filters-toggle {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    color: var(--text);
    box-shadow:
      0 12px 24px rgba(0,0,0,0.18),
      inset 0 1px 0 rgba(255,255,255,0.04);
    cursor: pointer;
    font-weight: 800;
  }

  html[data-theme="light"] .mobile-filters-toggle {
    border-color: rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #0f172a;
    box-shadow:
      0 10px 24px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255,255,255,0.96);
  }

  .mobile-filters-toggle__left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mobile-filters-toggle__label {
    white-space: nowrap;
  }

  .mobile-filters-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(250, 204, 21, 0.14);
    border: 1px solid rgba(250, 204, 21, 0.22);
    color: #facc15;
  }

  html[data-theme="light"] .mobile-filters-toggle__count {
    background: rgba(250, 204, 21, 0.12);
    border-color: rgba(250, 204, 21, 0.24);
    color: #a16207;
  }

  .mobile-filters-toggle__chevron {
    transition: transform 0.2s ease;
    opacity: 0.9;
    flex: 0 0 auto;
  }

  .mobile-filters-host.is-open .mobile-filters-toggle__chevron {
    transform: rotate(180deg);
  }

  .mobile-filters-host > .sets-filters-bar,
  .mobile-filters-host > .shops-filters-bar,
  .mobile-filters-host > .price-guide-filters,
  .mobile-filters-host > .alert-filter-row,
  .mobile-filters-host > .alert-history-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height 0.28s ease,
      opacity 0.2s ease,
      margin-top 0.2s ease,
      padding-top 0.2s ease,
      padding-bottom 0.2s ease;
  }

  .mobile-filters-host.is-open > .sets-filters-bar,
  .mobile-filters-host.is-open > .shops-filters-bar,
  .mobile-filters-host.is-open > .price-guide-filters,
  .mobile-filters-host.is-open > .alert-filter-row,
  .mobile-filters-host.is-open > .alert-history-tools {
    max-height: 2000px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-filters-host:not(.is-open) > .sets-filters-bar,
  .mobile-filters-host:not(.is-open) > .shops-filters-bar,
  .mobile-filters-host:not(.is-open) > .price-guide-filters,
  .mobile-filters-host:not(.is-open) > .alert-filter-row,
  .mobile-filters-host:not(.is-open) > .alert-history-tools {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    box-shadow: none;
  }

  .mobile-filters-host > .sets-filters-bar .sets-filters-bar__group,
  .mobile-filters-host > .shops-filters-bar .shops-filters-bar__group,
  .mobile-filters-host > .price-guide-filters .price-guide-filter {
    width: 100%;
  }

  .mobile-filters-host > .sets-filters-bar .sets-filters-bar__group--search,
  .mobile-filters-host > .sets-filters-bar .sets-filters-bar__group--search .input-base {
    width: 100%;
  }
}
/* Mobile dropdown filters: shared full-width controls */
@media (max-width: 760px) {
  .mobile-filters-host > .shops-filters-bar .input-base,
  .mobile-filters-host > .shops-filters-bar .select-base,
  .mobile-filters-host > .price-guide-filters .input-base,
  .mobile-filters-host > .price-guide-filters .select-base,
  .mobile-filters-host > .alert-filter-row .alert-filter-wrap,
  .mobile-filters-host > .alert-filter-row .input-base,
  .mobile-filters-host > .alert-history-tools .input-base,
  .mobile-filters-host > .alert-history-tools .select-base {
    width: 100%;
  }
}
