/* ═══════════════════════════════════════════════════════════════════
   IMPERIAL TRADE — Clean Light Design
   Aesthetic: Apple-inspired minimalism
   Font: DM Sans (display) + Fraunces (accent numerals)
   Palette: Pure white · Off-white · Near-black · Subtle grays
═══════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;
  --bg-card:   #ffffff;
  --bg-hover:  #fafafa;

  --tx-1:      #1d1d1f;
  --tx-2:      #6e6e73;
  --tx-3:      #86868b;
  --tx-4:      #aeaeb2;

  --bdr:       #d2d2d7;
  --bdr-lt:    #e8e8ed;

  --accent:    #1d1d1f;
  --accent-h:  #3a3a3c;
  --on-accent: #ffffff;

  --ff-disp:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius:    14px;
  --radius-sm:  8px;
  --radius-pill: 980px;

  --shadow:    0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hov:0 2px 8px rgba(0,0,0,.06), 0 12px 40px rgba(0,0,0,.1);

  --ease:      cubic-bezier(.25,.46,.45,.94);
  --t:         .3s var(--ease);
  --t-fast:    .18s ease;
}

/* ── Dark mode overrides ───────────────────────────────────────── */
[data-theme="dark"] {
  --bg:        #0a0a0b;
  --bg-alt:    #111113;
  --bg-card:   #161618;
  --bg-hover:  #1c1c1f;

  --tx-1:      #f5f5f7;
  --tx-2:      #ababaf;
  --tx-3:      #6e6e73;
  --tx-4:      #48484a;

  --bdr:       #38383a;
  --bdr-lt:    #2c2c2e;

  --accent:    #f0f0f2;
  --accent-h:  #d8d8da;
  --on-accent: #1d1d1f;

  --shadow:    0 1px 3px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.5);
  --shadow-hov:0 2px 8px rgba(0,0,0,.5), 0 12px 40px rgba(0,0,0,.65);
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--bg);
  color: var(--tx-1);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
button { font-family: var(--ff-body); cursor: pointer; }

/* ── Logo ──────────────────────────────────────────────────────── */
.logo-imperial {
  font-family: var(--ff-disp);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--tx-1);
  display: block;
  line-height: 1;
}
.logo-trade {
  font-family: var(--ff-disp);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .45em;
  color: var(--tx-3);
  display: block;
  margin-top: 3px;
}

/* ── Shared labels ─────────────────────────────────────────────── */
.section-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.section-title {
  font-family: var(--ff-disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--tx-1);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.section-rule { display: none; }
.section-head {
  padding: 5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Empty state ────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 6rem 2rem; max-width: 380px; margin: 0 auto; }
.empty-icon  { font-size: 2.5rem; color: var(--tx-4); margin-bottom: 1.2rem; }
.empty-state p { font-size: 1.1rem; font-weight: 500; color: var(--tx-2); }
.empty-sub { font-size: .82rem; color: var(--tx-3); margin-top: .4rem; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 200;
  padding: 0 2.5rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--bdr-lt);
  transition: background var(--t), border-color var(--t);
}
[data-theme="dark"] .nav {
  background: rgba(10,10,11,.85);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 2rem;
}
.nav-logo { line-height: 1; justify-self: start; }

/* Center categories */
.nav-cats {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-cat {
  font-size: .78rem;
  font-weight: 500;
  color: var(--tx-2);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-cat:hover { color: var(--tx-1); background: var(--bg-alt); }
.nav-cat.active { color: var(--tx-1); font-weight: 600; background: var(--bg-alt); }

/* Right side */
.nav-links {
  display: flex;
  list-style: none;
  gap: .5rem;
  align-items: center;
  justify-self: end;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  color: var(--tx-2);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--tx-1); background: var(--bg-alt); }

.nav-btn {
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  padding: .5rem 1.1rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  transition: background var(--t-fast) !important;
}
.nav-btn:hover { background: var(--accent-h) !important; }
.nav-btn--solid {
  background: var(--bg-alt) !important;
  color: var(--tx-1) !important;
  border: 1px solid var(--bdr) !important;
}
.nav-btn--solid:hover { background: var(--bdr-lt) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  justify-self: end;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--tx-1);
  border-radius: 2px;
  transition: var(--t-fast);
}

/* ═══════════════════════════════════════════════════════════════
   FLASH MESSAGES
═══════════════════════════════════════════════════════════════ */
.flashes {
  position: fixed; top: 80px; right: 1.5rem; z-index: 500;
  display: flex; flex-direction: column; gap: .5rem;
}
.flash {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  box-shadow: var(--shadow);
  color: var(--tx-1);
  padding: .85rem 1.4rem;
  font-size: .78rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  animation: slideIn .3s var(--ease);
}
@keyframes slideIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Apple-style typographic
═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 2.5rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--bdr-lt);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Subtle background gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,0,0,.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .6s var(--ease) .1s forwards;
}

.hero-headline {
  font-family: var(--ff-disp);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--tx-1);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease) .25s forwards;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--tx-2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  letter-spacing: -.01em;
  opacity: 0;
  animation: fadeUp .7s var(--ease) .45s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: .85rem 1.8rem;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), transform var(--t-fast);
  opacity: 0;
  animation: fadeUp .7s var(--ease) .6s forwards;
}
.hero-cta:hover { background: var(--accent-h); transform: scale(1.02); }
.hero-cta svg { transition: transform var(--t-fast); }
.hero-cta:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════════════ */
.section { padding: 0 2.5rem 7rem; }
.section:nth-of-type(even) { background: var(--bg-alt); }

/* ── Featured grid ──────────────────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.feat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t);
}
.feat-card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-3px);
}

.feat-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.feat-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.feat-card:hover .feat-card__img img { transform: scale(1.05); }

.feat-card__tag {
  position: absolute; bottom: .75rem; left: .75rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-1);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--bdr-lt);
  padding: .28rem .7rem;
  border-radius: var(--radius-pill);
}
[data-theme="dark"] .feat-card__tag {
  background: rgba(22,22,24,.88);
}

.feat-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}
.feat-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: .3rem;
  color: var(--tx-1);
}
.feat-card__year {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--tx-3);
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.feat-card__price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-bottom: .4rem;
}
.feat-card__loc {
  font-size: .72rem;
  color: var(--tx-3);
  margin-top: .3rem;
}

/* Price */
.price-cur {
  font-size: .68rem;
  font-weight: 600;
  color: var(--tx-3);
  letter-spacing: .05em;
}
.price-val {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--tx-1);
}

/* ── Image placeholder ──────────────────────────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.img-placeholder__pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--bdr-lt) 1px, transparent 1px),
    linear-gradient(90deg, var(--bdr-lt) 1px, transparent 1px);
  background-size: 28px 28px;
}
.img-placeholder span,
.img-placeholder__icon {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tx-4);
  z-index: 1;
}

/* ── Filter bar ─────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.filter-row--sub {
  display: none;
  padding-top: .85rem;
  margin-top: .6rem;
  border-top: 1px solid var(--bdr-lt);
  animation: fadeUp .2s ease;
}
.filter-row--sub.visible { display: flex; }

.filter-btn {
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 500;
  color: var(--tx-2);
  background: none;
  border: 1.5px solid var(--bdr);
  padding: .45rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
  cursor: pointer;
}
.filter-btn:hover { color: var(--tx-1); border-color: var(--tx-3); }
.filter-btn.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}
.filter-btn--sub {
  font-size: .7rem;
  padding: .38rem .95rem;
  border-color: var(--bdr-lt);
  color: var(--tx-3);
}
.filter-btn--sub:hover { color: var(--tx-1); border-color: var(--bdr); }
.filter-btn--sub.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}
.filter-cnt { font-size: .65rem; opacity: .55; margin-left: .2rem; }

/* ── Items grid ─────────────────────────────────────────────────── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

.item-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t);
}
.item-card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-2px);
}
.item-card.hidden { display: none; }

.item-card__img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-alt);
}
.item-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.item-card:hover .item-card__img img { transform: scale(1.05); }

.item-badge {
  position: absolute; top: .65rem; left: .65rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  padding: .22rem .65rem;
  border-radius: var(--radius-pill);
}

.item-card__body {
  padding: 1rem 1.1rem 1.2rem;
}
.item-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .4rem;
}
.item-cat {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.item-year {
  font-size: .62rem;
  font-weight: 500;
  color: var(--tx-4);
}
.item-card__title {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
  margin-bottom: .35rem;
  color: var(--tx-1);
}
.item-card__desc {
  font-size: .76rem;
  font-weight: 400;
  color: var(--tx-2);
  line-height: 1.6;
  margin-bottom: .85rem;
}
.item-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--bdr-lt);
  padding-top: .7rem;
  margin-top: .7rem;
}
.item-price {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--tx-1);
}
.item-loc {
  font-size: .65rem;
  color: var(--tx-3);
}

/* ── Theme toggle button ────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--bdr);
  background: none;
  color: var(--tx-2);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--tx-1);
  background: var(--bg-alt);
  border-color: var(--tx-3);
}
.theme-toggle__sun  { display: none; }
.theme-toggle__moon { display: block; }
[data-theme="dark"] .theme-toggle__sun  { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--bdr-lt);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Top row */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--bdr-lt);
  align-items: start;
}
.footer-brand { max-width: 320px; }
.footer-logo-link { display: inline-block; margin-bottom: .8rem; }
.footer-logo-link .logo-imperial { font-size: .9rem; }
.footer-tagline {
  font-size: .82rem;
  font-weight: 400;
  color: var(--tx-3);
  line-height: 1.7;
  margin-top: .5rem;
}

.footer-cols {
  display: flex;
  gap: 4rem;
}
.footer-col {}
.footer-col__title {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .82rem;
  font-weight: 400;
  color: var(--tx-2);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--tx-1); }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}
.footer-copy {
  font-size: .72rem;
  font-weight: 400;
  color: var(--tx-4);
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: .72rem;
  font-weight: 400;
  color: var(--tx-4);
  transition: color var(--t-fast);
}
.footer-legal-links a:hover { color: var(--tx-2); }
.footer-admin-link {
  color: var(--tx-4) !important;
  opacity: .4;
}
.footer-admin-link:hover { opacity: 1; }

/* Legacy / unused */
.footer-rule { display: none; }
.footer-nav { display: none; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════════ */
.contact-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--bdr-lt);
  padding: 64px 2.5rem 0;
}
.contact-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
  max-width: 640px;
}
.contact-title {
  font-family: var(--ff-disp);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--tx-1);
  margin: .7rem 0 1.2rem;
}
.contact-subtitle {
  font-size: .95rem;
  color: var(--tx-2);
  line-height: 1.75;
  font-weight: 400;
  max-width: 520px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
  align-items: start;
}

/* Left info column */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-right: 4rem;
  border-right: 1px solid var(--bdr-lt);
  position: sticky;
  top: 96px;
}
.contact-info__label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: .5rem;
}
.contact-info__text {
  font-size: .86rem;
  color: var(--tx-2);
  line-height: 1.7;
}
.contact-info__text a {
  color: var(--tx-1);
  font-weight: 500;
}
.contact-info__text a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Right form */
.contact-form-wrap {
  padding-left: 4rem;
}
.contact-form .form-grid {
  margin-bottom: 0;
}
.contact-privacy-note {
  font-size: .74rem;
  color: var(--tx-3);
  line-height: 1.6;
}
.contact-privacy-note a {
  color: var(--tx-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form .form-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bdr-lt);
  justify-content: flex-start;
}
.contact-form .btn-gold {
  padding: .9rem 2rem;
  font-size: .8rem;
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 400;
  width: calc(100% - 3rem);
  max-width: 680px;
  background: #1d1d1f;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  transition: transform .45s var(--ease);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  opacity: 1;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
}
.cookie-banner__text {
  flex: 1;
  font-size: .78rem;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
}
.cookie-banner__text strong { color: #fff; font-weight: 600; }
.cookie-banner__text a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__text a:hover { color: #fff; }
.cookie-banner__actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .5rem 1.1rem;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all var(--t-fast);
}
.cookie-btn--ghost {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
}
.cookie-btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.cookie-btn--solid { background: #fff; color: var(--tx-1); }
.cookie-btn--solid:hover { background: var(--bg-alt); }

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════════════════════════ */
.legal-page {}

.legal-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--bdr-lt);
  padding: 64px 2.5rem 0;
}
.legal-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 0 3.5rem;
}
.legal-title {
  font-family: var(--ff-disp);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--tx-1);
  margin: .7rem 0 .6rem;
}
.legal-date {
  font-size: .78rem;
  color: var(--tx-3);
}

.legal-body {
  padding: 4rem 2.5rem 6rem;
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-intro {
  font-size: 1rem;
  color: var(--tx-2);
  line-height: 1.8;
  margin-bottom: 3rem;
  font-weight: 400;
  border-bottom: 1px solid var(--bdr-lt);
  padding-bottom: 2.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--bdr-lt);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; }
.legal-section h2 {
  font-family: var(--ff-disp);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--tx-1);
  margin-bottom: 1rem;
}
.legal-section p {
  font-size: .9rem;
  color: var(--tx-2);
  line-height: 1.8;
  margin-bottom: .85rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  margin: .75rem 0 .85rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.legal-section li {
  font-size: .9rem;
  color: var(--tx-2);
  line-height: 1.7;
}
.legal-section a { color: var(--tx-1); text-decoration: underline; text-underline-offset: 3px; }
.legal-section a:hover { color: var(--tx-2); }
.legal-section strong { color: var(--tx-1); font-weight: 600; }
.legal-section code {
  font-family: ui-monospace, monospace;
  font-size: .78rem;
  background: var(--bg-alt);
  border: 1px solid var(--bdr-lt);
  padding: .1rem .4rem;
  border-radius: 4px;
  color: var(--tx-2);
}

/* Cookie table */
.cookie-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bdr-lt);
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.cookie-table th {
  text-align: left;
  padding: .75rem 1rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--bdr-lt);
}
.cookie-table td {
  padding: .85rem 1rem;
  vertical-align: top;
  color: var(--tx-2);
  border-bottom: 1px solid var(--bdr-lt);
  line-height: 1.6;
}
.cookie-table tr:last-child td { border-bottom: none; }

.cookie-badge {
  display: inline-block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.cookie-badge--essential { background: rgba(52,199,89,.12); color: #1a8a35; }
.cookie-badge--functional { background: var(--bg-alt); color: var(--tx-3); border: 1px solid var(--bdr); }

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════════════════════════════ */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-grain { display: none; }

/* Left decorative panel */
.login-wrap::before {
  content: '';
  background: var(--bg-alt);
  border-right: 1px solid var(--bdr-lt);
}
.login-glow { display: none; }

.login-card {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  animation: fadeUp .6s var(--ease) .1s both;
}

.login-logo { margin-bottom: 3rem; }
.login-logo .logo-imperial { font-size: 1.1rem; }

.login-rule {
  width: 32px;
  height: 2px;
  background: var(--bdr);
  margin-bottom: 2rem;
  border-radius: 2px;
}
.login-title {
  font-family: var(--ff-disp);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: .5rem;
  color: var(--tx-1);
}
.login-title em { font-style: normal; color: var(--tx-3); }
.login-sub {
  font-size: .82rem;
  font-weight: 400;
  color: var(--tx-3);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.login-form { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 1.5rem; }

/* Field atoms */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-2);
}
.field__input {
  background: var(--bg-alt);
  border: 1.5px solid var(--bdr);
  color: var(--tx-1);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 400;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  width: 100%;
}
.field__input:focus {
  border-color: var(--tx-1);
  background: var(--bg-card);
}
.field__input::placeholder { color: var(--tx-4); }
.field__select { appearance: none; cursor: pointer; }
.field__textarea { resize: vertical; min-height: 110px; line-height: 1.7; }

.login-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  padding: 1rem 1.4rem;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
  margin-top: .4rem;
}
.login-submit:hover { background: var(--accent-h); }
.login-arrow { font-size: 1.1rem; font-weight: 300; }

.login-back {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--tx-3);
  transition: color var(--t-fast);
}
.login-back:hover { color: var(--tx-1); }

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════════════════════════════ */
.dash {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 2.5rem 5rem;
}
.dash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--bdr-lt);
}
.dash-title {
  font-family: var(--ff-disp);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.03em;
  margin-top: .5rem;
  color: var(--tx-1);
}
.dash-title em { font-style: normal; color: var(--tx-3); }

/* Stats */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.stat {
  background: var(--bg-alt);
  border: 1px solid var(--bdr-lt);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--tx-1);
  line-height: 1;
}
.stat-lbl {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx-3);
}

/* Table */
.dash-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.dash-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}
.dash-table th {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx-3);
  text-align: left;
  padding: .9rem 1.2rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--bdr-lt);
}
.dash-table td {
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--bdr-lt);
  font-size: .84rem;
  color: var(--tx-1);
  vertical-align: middle;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr { transition: background var(--t-fast); }
.dash-table tbody tr:hover { background: var(--bg-alt); }
.dash-table tr.row--hidden { opacity: .4; }

.row-item { display: flex; align-items: center; gap: .75rem; }
.row-thumb {
  width: 50px; height: 36px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--bdr-lt);
  flex-shrink: 0;
}
.row-thumb--empty {
  width: 50px; height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--bdr-lt);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--tx-4); flex-shrink: 0;
}
.row-title { font-size: .9rem; font-weight: 600; letter-spacing: -.01em; color: var(--tx-1); }
.row-cat { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.row-subcat { display: block; font-size: .6rem; font-weight: 400; color: var(--tx-4); margin-top: .15rem; }
.row-price { font-size: .9rem; font-weight: 600; white-space: nowrap; color: var(--tx-1); }

/* Badges */
.badge {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  display: inline-block;
  border-radius: var(--radius-pill);
}
.badge--on   { background: rgba(52,199,89,.12); color: #1a8a35; }
.badge--off  { background: rgba(0,0,0,.06); color: var(--tx-3); }
.badge--feat { background: var(--accent); color: var(--on-accent); }
.badge--none { color: var(--tx-4); }

/* Row actions */
.row-actions { display: flex; gap: .4rem; align-items: center; }
.act-btn {
  font-family: var(--ff-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1.5px solid var(--bdr);
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--tx-2);
  transition: all var(--t-fast);
  cursor: pointer;
}
.act-btn:hover { border-color: var(--tx-3); color: var(--tx-1); background: var(--bg-alt); }
.act-btn--del { color: #c0392b; border-color: rgba(192,57,43,.25); }
.act-btn--del:hover { border-color: rgba(192,57,43,.5); background: rgba(192,57,43,.06); color: #c0392b; }

/* Shared buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  padding: .72rem 1.4rem;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast);
  cursor: pointer;
}
.btn-gold:hover { background: var(--accent-h); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: none;
  color: var(--tx-2);
  border: 1.5px solid var(--bdr);
  padding: .72rem 1.4rem;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--tx-3); color: var(--tx-1); background: var(--bg-alt); }

/* ═══════════════════════════════════════════════════════════════
   ADD / EDIT ITEM
═══════════════════════════════════════════════════════════════ */
.form-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 2.5rem 5rem;
}
.form-page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--bdr-lt);
}
.back-link {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--tx-3);
  margin-top: .7rem;
  transition: color var(--t-fast);
}
.back-link:hover { color: var(--tx-1); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.field.full { grid-column: 1 / -1; }

/* Upload */
.upload-zone {
  border: 2px dashed var(--bdr);
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), background var(--t-fast);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--tx-3);
  background: var(--bg-card);
}
.upload-input {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-prompt { text-align: center; padding: 2rem; pointer-events: none; }
.upload-icon { font-size: 1.6rem; color: var(--tx-4); margin-bottom: .6rem; }
.upload-prompt p { font-size: .8rem; color: var(--tx-2); font-weight: 400; }
.upload-link { color: var(--tx-1); font-weight: 600; }
.upload-hint { font-size: .68rem; color: var(--tx-3); margin-top: .3rem; }

.upload-preview { position: relative; width: 100%; }
.upload-preview img { width: 100%; max-height: 260px; object-fit: cover; display: block; border-radius: var(--radius); }
.upload-clear {
  position: absolute; top: .5rem; right: .5rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--bdr);
  color: var(--tx-1);
  width: 28px; height: 28px;
  font-size: .7rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--t-fast);
}
.upload-clear:hover { background: #fff; }
[data-theme="dark"] .upload-clear { background: rgba(22,22,24,.9); }
[data-theme="dark"] .upload-clear:hover { background: rgba(30,30,32,1); }
.current-img { font-size: .65rem; color: var(--tx-3); margin-top: .5rem; font-style: italic; }

/* Checkbox */
.checkbox-label {
  display: flex; align-items: center; gap: .7rem;
  cursor: pointer; font-size: .84rem; font-weight: 400; color: var(--tx-2);
}
.checkbox-input { display: none; }
.checkbox-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid var(--bdr);
  background: var(--bg-alt);
  border-radius: 5px;
  position: relative;
  transition: all var(--t-fast);
}
.checkbox-input:checked + .checkbox-box { background: var(--accent); border-color: var(--accent); }
.checkbox-input:checked + .checkbox-box::after {
  content: '✓';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  font-size: .65rem; color: var(--on-accent);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bdr-lt);
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR FILTER SYSTEM
═══════════════════════════════════════════════════════════════ */
.col-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 60vh;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  border-right: 1px solid var(--bdr-lt);
  padding: 2rem 1.5rem;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: var(--bdr) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--bdr); border-radius: 2px; }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bdr-lt);
}
.sidebar-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx-1);
}
.sidebar-reset {
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 500;
  color: var(--tx-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--t-fast);
}
.sidebar-reset:hover { color: var(--tx-1); }

/* Filter sections */
.filter-section {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--bdr-lt);
}
.filter-section--last { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-section__title {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: .85rem;
}

/* Sort select */
.sort-select {
  width: 100%;
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 400;
  color: var(--tx-1);
  background: var(--bg-alt);
  border: 1.5px solid var(--bdr);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2386868b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.2rem;
  transition: border-color var(--t-fast);
}
.sort-select:focus { border-color: var(--tx-1); }

/* Subcategory radios */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.filter-options--scroll { max-height: 180px; overflow-y: auto; }

.filter-radio {
  display: flex;
  align-items: center;
  padding: .42rem .7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 400;
  color: var(--tx-2);
  transition: background var(--t-fast), color var(--t-fast);
  user-select: none;
}
.filter-radio input { display: none; }
.filter-radio:hover { background: var(--bg-alt); color: var(--tx-1); }
.filter-radio:has(input:checked) {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
}

/* Price / Year range inputs */
.range-inputs {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
}
.range-field { flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.range-field__label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-4);
}
.range-field__input {
  width: 100%;
  font-family: var(--ff-body);
  font-size: .82rem;
  color: var(--tx-1);
  background: var(--bg-alt);
  border: 1.5px solid var(--bdr);
  border-radius: var(--radius-sm);
  padding: .55rem .7rem;
  outline: none;
  transition: border-color var(--t-fast);
  -moz-appearance: textfield;
}
.range-field__input::-webkit-inner-spin-button,
.range-field__input::-webkit-outer-spin-button { appearance: none; }
.range-field__input:focus { border-color: var(--tx-1); background: var(--bg); }
.range-field__input::placeholder { color: var(--tx-4); }
.range-sep { font-size: .8rem; color: var(--tx-4); padding-bottom: .6rem; flex-shrink: 0; }

/* Country checkboxes */
.filter-check {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .38rem .5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--t-fast);
}
.filter-check:hover { background: var(--bg-alt); }
.filter-check input { display: none; }
.filter-check__box {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--bdr);
  border-radius: 4px;
  background: var(--bg);
  position: relative;
  transition: all var(--t-fast);
}
.filter-check input:checked + .filter-check__box {
  background: var(--accent);
  border-color: var(--accent);
}
.filter-check input:checked + .filter-check__box::after {
  content: '';
  position: absolute;
  left: 4px; top: 2px;
  width: 5px; height: 8px;
  border: 1.5px solid var(--on-accent);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.filter-check__lbl { font-size: .82rem; color: var(--tx-2); }

/* Featured toggle (iOS style) */
.filter-toggle {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
}
.filter-toggle input { display: none; }
.filter-toggle__track {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: var(--bdr);
  flex-shrink: 0;
  position: relative;
  transition: background var(--t-fast);
}
.filter-toggle__track::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--on-accent);
  top: 2px; left: 2px;
  transition: transform var(--t-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.filter-toggle input:checked ~ .filter-toggle__track { background: var(--accent); }
.filter-toggle input:checked ~ .filter-toggle__track::after { transform: translateX(16px); }
.filter-toggle__label { font-size: .82rem; font-weight: 400; color: var(--tx-2); }

/* Main content area */
.col-main {
  padding: 2.5rem 2.5rem 5rem;
  min-width: 0;
}

/* 3-col grid variant */
.items-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* No results block */
.no-results {
  text-align: center;
  padding: 5rem 2rem;
}
.no-results .empty-icon { font-size: 2rem; color: var(--tx-4); margin-bottom: 1rem; }
.no-results p { font-size: 1rem; font-weight: 500; color: var(--tx-2); }

/* Mobile filter button */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  color: var(--tx-1);
  background: var(--bg-alt);
  border: 1.5px solid var(--bdr);
  border-radius: var(--radius-pill);
  padding: .55rem 1.1rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: background var(--t-fast);
}
.mobile-filter-btn:hover { background: var(--bdr-lt); }

/* Mobile overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 150;
  opacity: 0;
  transition: opacity var(--t);
}
.sidebar-overlay.visible { display: block; opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   COLLECTION HERO (category page header)
═══════════════════════════════════════════════════════════════ */
.col-hero {
  padding: 64px 2.5rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--bdr-lt);
}
.col-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 0 3.5rem;
}
.col-hero__back {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  color: var(--tx-3);
  margin-bottom: 2rem;
  transition: color var(--t-fast);
}
.col-hero__back:hover { color: var(--tx-1); }
.col-hero__title {
  font-family: var(--ff-disp);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--tx-1);
  margin: .6rem 0 .5rem;
}
.col-hero__count {
  font-size: .82rem;
  color: var(--tx-3);
  font-weight: 400;
}
.col-section { padding-top: 3rem; }

/* ═══════════════════════════════════════════════════════════════
   CATEGORY BROWSE GRID (homepage)
═══════════════════════════════════════════════════════════════ */
.section--alt { background: var(--bg-alt); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--bdr-lt);
  border: 1px solid var(--bdr-lt);
  border-radius: var(--radius);
  overflow: hidden;
}

.cat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  transition: background var(--t-fast);
  position: relative;
}
.cat-card:hover { background: var(--bg-hover); }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); opacity: 1; }

.cat-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.cat-card__body { flex: 1; min-width: 0; }
.cat-card__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--tx-1);
  margin-bottom: .2rem;
}
.cat-card__sub {
  font-size: .72rem;
  color: var(--tx-3);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.cat-card__count {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tx-4);
}
.cat-card__arrow {
  font-size: 1.1rem;
  color: var(--tx-3);
  flex-shrink: 0;
  transition: transform var(--t-fast), opacity var(--t-fast);
  opacity: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION (homepage)
═══════════════════════════════════════════════════════════════ */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}
.about-title {
  font-family: var(--ff-disp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--tx-1);
  margin: .8rem 0 1.5rem;
}
.about-text {
  font-size: .92rem;
  color: var(--tx-2);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 400;
}
.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bdr-lt);
  border: 1px solid var(--bdr-lt);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: center;
}
.about-stat {
  background: var(--bg-alt);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.about-stat__num {
  font-family: var(--ff-disp);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--tx-1);
  line-height: 1;
}
.about-stat__lbl {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER NAV
═══════════════════════════════════════════════════════════════ */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.footer-nav a {
  font-size: .75rem;
  color: var(--tx-3);
  font-weight: 500;
  padding: .3rem .6rem;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.footer-nav a:hover { color: var(--tx-1); background: var(--bdr-lt); }

/* ── feat-card link wrapper ─────────────────────────────────────── */
.feat-card__link {
  display: block;
  color: inherit;
}

/* ── item-card as <a> ───────────────────────────────────────────── */
.item-card { display: block; }

/* ── Field hint (label suffix) ──────────────────────────────────── */
.field__hint {
  font-weight: 400;
  font-size: .6rem;
  color: var(--tx-4);
  letter-spacing: normal;
  text-transform: none;
  margin-left: .35rem;
}

/* ── Specs form grid (add/edit item) ────────────────────────────── */
.specs-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Existing images grid (edit mode) ───────────────────────────── */
.img-existing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.img-existing-item {
  position: relative;
  width: 100px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--bdr);
}
.img-existing-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.img-existing-del {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,.55);
  border: none;
  color: #fff;
  width: 22px; height: 22px;
  font-size: .62rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--t-fast);
}
.img-existing-del:hover { background: rgba(192,57,43,.85); }

/* ── Multi-image upload previews ────────────────────────────────── */
.upload-zone--multi { min-height: 120px; }
.upload-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem;
  width: 100%;
}
.img-preview-item {
  width: 90px; height: 66px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--bdr-lt);
}
.img-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── Image thumbnail strip (detail page) ───────────────────────── */
.img-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .6rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: none;
}
.img-thumbs::-webkit-scrollbar { display: none; }
.img-thumb {
  flex-shrink: 0;
  width: 70px; height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color var(--t-fast), opacity var(--t-fast);
  opacity: .55;
}
.img-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-thumb:hover { opacity: .85; }
.img-thumb.active { border-color: var(--accent); opacity: 1; }

/* ── Specs grid (detail page) ───────────────────────────────────── */
.item-detail__specs { display: flex; flex-direction: column; gap: .6rem; }
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bdr-lt);
  border: 1px solid var(--bdr-lt);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.spec-item {
  background: var(--bg-alt);
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.spec-item__label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.spec-item__value {
  font-size: .88rem;
  font-weight: 500;
  color: var(--tx-1);
}

/* ═══════════════════════════════════════════════════════════════
   ITEM DETAIL PAGE
═══════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.item-detail__crumb {
  padding: 64px 2.5rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--bdr-lt);
}
.item-detail__crumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 0;
}
.item-detail__back {
  font-size: .82rem;
  font-weight: 500;
  color: var(--tx-3);
  transition: color var(--t-fast);
}
.item-detail__back:hover { color: var(--tx-1); }

/* Two-column layout */
.item-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
  gap: 5rem;
  align-items: start;
}

/* LEFT: sticky image */
.item-detail__media {
  position: sticky;
  top: 80px;
}
.item-detail__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--bdr-lt);
}
.item-detail__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.item-detail__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 4/3;
}
.item-detail__img--empty span {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tx-4);
  z-index: 1;
}

/* RIGHT: info panel */
.item-detail__panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Tags */
.item-detail__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.item-detail__tag {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--bdr);
  color: var(--tx-3);
}
.item-detail__tag--sub { color: var(--tx-2); }
.item-detail__tag--feat {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

/* Title */
.item-detail__title {
  font-family: var(--ff-disp);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--tx-1);
  margin-bottom: .5rem;
}
.item-detail__year {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx-3);
}

/* Price block */
.item-detail__price-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--bdr-lt);
  border-bottom: 1px solid var(--bdr-lt);
}
.item-detail__price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.item-detail__currency {
  font-size: .9rem;
  font-weight: 600;
  color: var(--tx-3);
  letter-spacing: .05em;
}
.item-detail__amount {
  font-family: var(--ff-disp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--tx-1);
  line-height: 1;
}

/* Meta rows */
.item-detail__meta { display: flex; flex-direction: column; gap: .6rem; }
.item-detail__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.item-detail__meta-key {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx-3);
  flex-shrink: 0;
}
.item-detail__meta-val {
  font-size: .88rem;
  font-weight: 400;
  color: var(--tx-2);
  text-align: right;
}

/* Description */
.item-detail__desc-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: .75rem;
}
.item-detail__desc-text {
  font-size: .95rem;
  color: var(--tx-2);
  line-height: 1.85;
  white-space: pre-line;
}

/* CTA */
.item-detail__cta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: .25rem;
}
.item-detail__cta-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: .85rem;
}

/* Related items */
.item-related {
  background: var(--bg-alt);
  border-top: 1px solid var(--bdr-lt);
  padding: 0 2.5rem 5rem;
}
.item-related__head {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item-related__all {
  font-size: .78rem;
  font-weight: 500;
  color: var(--tx-3);
  transition: color var(--t-fast);
}
.item-related__all:hover { color: var(--tx-1); }
.item-related .items-grid {
  max-width: 1280px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}

.reveal-card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .items-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px) {
  .nav-cats { gap: 0; }
  .nav-cat  { padding: .4rem .55rem; font-size: .72rem; }
}
@media (max-width: 960px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-stats    { grid-template-columns: repeat(2, 1fr); }
  .nav-cats      { display: none; }
}
@media (max-width: 900px) {
  .login-wrap    { grid-template-columns: 1fr; }
  .login-wrap::before { display: none; }
  .login-card    { grid-column: 1; padding: 2.5rem 1.5rem; padding-top: 7rem; }
}
@media (max-width: 1024px) {
  .col-layout { grid-template-columns: 240px 1fr; }
  .items-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .about-wrap { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav { padding: 0 1.25rem; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: .25rem;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--bdr-lt);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: background var(--t);
  }
  [data-theme="dark"] .nav-links {
    background: rgba(10,10,11,.97);
  }
  .nav-links.open { display: flex; }
  .nav-cats-mobile {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-bottom: .75rem;
    margin-bottom: .75rem;
    border-bottom: 1px solid var(--bdr-lt);
  }
  .nav-burger { display: flex; }

  .hero { padding: 64px 1.25rem 0; }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 5rem); }

  .section { padding: 0 1.25rem 5rem; }
  .section-head { padding: 3.5rem 0 2rem; }
  .featured-grid, .items-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }

  .dash { padding: 85px 1.25rem 4rem; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .dash-stats { grid-template-columns: 1fr 1fr; }

  .form-page { padding: 85px 1.25rem 4rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cookie-banner__actions { width: 100%; justify-content: flex-end; }
  .legal-hero { padding: 64px 1.25rem 0; }
  .legal-body { padding: 3rem 1.25rem 4rem; }
  .contact-hero { padding: 64px 1.25rem 0; }
  .contact-layout { grid-template-columns: 1fr; padding: 3rem 1.25rem 4rem; }
  .contact-info { position: static; border-right: none; border-bottom: 1px solid var(--bdr-lt); padding-right: 0; padding-bottom: 2.5rem; }
  .contact-form-wrap { padding-left: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .about-right { grid-template-columns: 1fr 1fr; }

  /* Sidebar becomes a slide-in drawer on mobile */
  .col-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 300px;
    height: 100%;
    z-index: 160;
    transform: translateX(-100%);
    transition: transform var(--t);
    box-shadow: var(--shadow-hov);
    border-right: none;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: none; }
  .sidebar-overlay.visible { display: block; }
  .col-main { padding: 1.5rem 1.25rem 4rem; }
  .mobile-filter-btn { display: inline-flex; }
  .items-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .items-grid { grid-template-columns: 1fr; }
  .items-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .item-detail__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.25rem 4rem;
  }
  .item-detail__media { position: static; }
  .item-related { padding: 0 1.25rem 4rem; }
  .item-related__head { padding: 2.5rem 0 2rem; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-form-grid { grid-template-columns: 1fr; }
}

/* ── Crop modal ────────────────────────────────────────────────── */
.crop-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.75);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.crop-modal__inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: min(680px, 100%);
  max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.crop-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.crop-modal__title {
  font-size: .9rem; font-weight: 600;
  color: var(--text);
}
.crop-modal__counter {
  font-size: .8rem; color: var(--text-muted);
}
.crop-modal__body {
  flex: 1; overflow: hidden;
  min-height: 0;
  padding: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
}
.crop-modal__body img {
  max-width: 100%; max-height: 100%;
  display: block;
}
.crop-modal__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 1.25rem;
  border-top: 1px solid var(--border);
  gap: .75rem;
  flex-shrink: 0;
}
.crop-ratio-btns {
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.crop-ratio-btn {
  padding: .3rem .65rem;
  font-size: .78rem; font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 980px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.crop-ratio-btn.active,
.crop-ratio-btn:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.crop-modal__actions { display: flex; gap: .5rem; }

/* Drag-reorder: existing images */
.img-existing-grid {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 1rem;
}
.img-existing-item {
  position: relative; width: 110px; height: 82px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  cursor: grab;
  transition: border-color .2s, opacity .2s, box-shadow .2s;
}
.img-existing-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.img-existing-item.dragging {
  opacity: .4; cursor: grabbing;
}
.img-existing-item.drag-over-before {
  border-left-color: var(--accent);
  box-shadow: -3px 0 0 0 var(--accent);
}
.img-existing-item.drag-over-after {
  border-right-color: var(--accent);
  box-shadow: 3px 0 0 0 var(--accent);
}
.img-existing-item:first-child::after {
  content: 'Cover';
  position: absolute; bottom: 4px; left: 4px;
  background: var(--accent); color: var(--on-accent);
  font-size: .65rem; font-weight: 700; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 4px;
}
.img-existing-del {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,.55); color: #fff;
  border: none; border-radius: 50%;
  font-size: .7rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s;
}
.img-existing-item:hover .img-existing-del { opacity: 1; }

/* ── Country multi-select dropdown ────────────────────────────── */
.filter-multiselect {
  position: relative;
}
.filter-multiselect__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: .5rem .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .85rem;
  cursor: pointer;
  transition: border-color .15s;
  gap: .5rem;
}
.filter-multiselect__trigger:hover,
.filter-multiselect__trigger.open {
  border-color: var(--accent);
}
.filter-multiselect__trigger svg {
  flex-shrink: 0;
  transition: transform .2s;
}
.filter-multiselect__trigger.open svg {
  transform: rotate(180deg);
}
.filter-multiselect__panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px); left: 0; right: 0;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  overflow: hidden;
}
.filter-multiselect__panel.open {
  display: block;
}
.filter-multiselect__search {
  width: 100%;
  padding: .5rem .75rem;
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: .82rem;
  outline: none;
}
.filter-multiselect__search::placeholder { color: var(--text-muted); }
.filter-multiselect__list {
  max-height: 220px;
  overflow-y: auto;
  padding: .35rem 0;
}
.filter-multiselect__list .filter-check {
  padding: .3rem .75rem;
}
.filter-multiselect__list .filter-check:hover {
  background: var(--bg-alt);
}

/* ── Inline field (input + small unit select) ──────────────────── */
.field__inline {
  display: flex;
  gap: .4rem;
}
.field__inline .field__input:first-child {
  flex: 1;
}
.field__select--unit {
  flex: 0 0 80px;
  width: 80px !important;
  padding-left: .5rem;
  padding-right: .5rem;
}

/* ── Footer social links ───────────────────────────────────────── */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.25rem;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .82rem;
  transition: color .15s;
}
.footer-social__link:hover {
  color: var(--text);
}
