/* ==========================================================================
   FURMAN Nails — Dark Luxury Design System
   Mobile-first studio layout with refined gold-powder accents
   ========================================================================== */

:root {
  --bg-deep: #141419;
  --bg-main: #18181D;
  --bg-surface: #1E1E24;
  --bg-elevated: #25252E;
  --bg-glass: rgba(30, 30, 36, 0.82);

  --accent-gold: #D4AF7A;
  --accent-gold-soft: rgba(212, 175, 122, 0.16);
  --accent-powder: #E2B8A8;
  --accent-powder-soft: rgba(226, 184, 168, 0.14);

  --text-primary: #F5F2EE;
  --text-secondary: #B7B2AC;
  --text-muted: #827D78;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 122, 0.34);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 24px rgba(212, 175, 122, 0.18);
  --transition: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #23202A 0%, var(--bg-main) 46%, var(--bg-deep) 100%);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

button,
input,
select {
  font-family: inherit;
  color: inherit;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
}

/* ---------- Header ---------- */

.top-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(24, 24, 29, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: linear-gradient(120deg, #F6E6CE 0%, var(--accent-gold) 48%, var(--accent-powder) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.audience-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.audience-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.audience-btn.is-active {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-powder));
  color: #161414;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(212, 175, 122, 0.28);
}

.switch-arrows {
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 2px;
  user-select: none;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.is-active {
  background: var(--bg-elevated);
  color: var(--accent-gold);
}

/* ---------- Main Layout (Mobile-First -> Studio Two-Column on Desktop) ---------- */

.studio-layout {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px 12px 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.studio-stage-col {
  min-width: 0;
}

@media (min-width: 980px) {
  .header-inner {
    padding: 12px 24px;
  }

  .studio-layout {
    padding: 20px 24px 56px;
    grid-template-columns: minmax(440px, 1fr) minmax(420px, 1fr);
    gap: 22px;
    align-items: start;
  }

  .studio-stage-col {
    position: sticky;
    top: 76px;
  }
}

@media (min-width: 1220px) {
  .studio-layout {
    grid-template-columns: minmax(500px, 1fr) minmax(480px, 1fr);
    gap: 26px;
  }
}

/* ---------- Cards ---------- */

.stage-card,
.panel-card {
  background: linear-gradient(180deg, rgba(35, 35, 43, 0.94) 0%, rgba(27, 27, 33, 0.96) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.panel-card {
  padding: 16px;
}

.studio-panel-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* ---------- Studio 3-Rail Hand Stage (Concept Layout) ---------- */

.stage-tri-rail {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: stretch;
  background: #18181D;
  border-bottom: 1px solid var(--border-subtle);
}

.stage-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px;
  background: rgba(20, 20, 25, 0.75);
  gap: 8px;
}

.stage-rail-left {
  border-right: 1px solid var(--border-subtle);
}

.stage-rail-right {
  border-left: 1px solid var(--border-subtle);
  justify-content: center;
  gap: 9px;
}

/* Vertical Skin Tone Slider (+ / -) */
.skin-vertical-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.rail-step-btn {
  width: 28px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.rail-step-btn:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

.v-slider-box {
  height: 128px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-skin-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 122px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #F6E3D7 0%, #DFB59B 48%, #9B6443 100%);
  transform: rotate(90deg);
  outline: none;
  cursor: pointer;
}

.v-skin-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid #18181D;
  box-shadow: 0 0 0 2px rgba(212, 175, 122, 0.48);
}

.undertone-dots {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.ut-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: var(--ut);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.ut-dot.is-active {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 122, 0.42);
  transform: scale(1.16);
}

.rail-top-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 44px;
  padding: 6px 2px;
  border-radius: 11px;
  border: 1px solid var(--border-gold);
  background: var(--bg-elevated);
  color: var(--accent-gold);
  cursor: pointer;
  transition: var(--transition);
}

.rail-top-btn[data-top-state="matte"] {
  background: var(--accent-gold-soft);
  color: var(--accent-powder);
}

.rail-top-icon {
  font-size: 13px;
  line-height: 1;
}

.rail-top-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.05;
  max-width: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Rail: 5 Nail Shape Silhouette Icons */
.shape-icon-btn {
  width: 40px;
  height: 44px;
  padding: 5px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.shape-icon-btn svg {
  width: 22px;
  height: 30px;
  fill: rgba(245, 242, 238, 0.14);
  stroke: var(--text-secondary);
  stroke-width: 1.7;
  transition: var(--transition);
}

.shape-icon-btn:hover {
  border-color: rgba(212, 175, 122, 0.48);
}

.shape-icon-btn.is-active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
  box-shadow: 0 0 14px rgba(212, 175, 122, 0.28);
}

.shape-icon-btn.is-active svg {
  fill: rgba(212, 175, 122, 0.35);
  stroke: var(--accent-gold);
}

.stage-canvas-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #18181D;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#handCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 460px;
  object-fit: contain;
  cursor: pointer;
}

@media (min-width: 980px) {
  #handCanvas {
    max-height: min(600px, calc(100vh - 230px));
  }
}

@media (min-width: 1220px) {
  #handCanvas {
    max-height: min(660px, calc(100vh - 220px));
  }
}

.active-shade-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 210px);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 6px;
  background: rgba(20, 20, 25, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.badge-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: #C7998A;
}

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

.badge-code {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.badge-name {
  font-size: 10px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  background: rgba(20, 20, 25, 0.80);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.flash-btn.is-active {
  background: linear-gradient(135deg, #F6E6CE, var(--accent-gold));
  color: #161414;
  box-shadow: 0 0 18px rgba(246, 230, 206, 0.55);
}

.stage-hint {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 16px);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(20, 20, 25, 0.72);
  color: var(--text-secondary);
  font-size: 9.5px;
  text-align: center;
  pointer-events: none;
}

/* ---------- Compact Bottom Strip (Length + Fingers) ---------- */

.stage-bottom-strip {
  padding: 10px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.length-pills {
  display: inline-flex;
  gap: 5px;
}

.skin-status-chip {
  font-size: 10.5px;
  color: var(--accent-powder);
  font-weight: 500;
  white-space: nowrap;
}

.finger-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-bottom: 1px;
}

.finger-pill {
  flex: 0 0 auto;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 9.6px;
  font-weight: 500;
  padding: 4px 6.5px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  white-space: nowrap;
}

.finger-pill.is-active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-weight: 600;
}

.finger-pill .finger-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ctrl-pill {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.ctrl-pill:hover {
  border-color: rgba(212, 175, 122, 0.45);
  color: var(--text-primary);
}

.ctrl-pill.is-active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-weight: 600;
}

/* ---------- Buttons ---------- */

.client-cta-bar {
  padding: 0 12px 12px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.client-cta-bar .btn-pin-variant {
  flex: 0 0 auto;
  padding: 10px 12px;
  font-size: 11.5px;
  white-space: nowrap;
}

.client-cta-bar .btn-pin-variant.is-pinned {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 122, 0.22);
  color: var(--accent-gold);
}

.client-cta-bar .btn-luxury-primary {
  flex: 1 1 auto;
}

.btn-luxury-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #E4C392 0%, var(--accent-gold) 52%, var(--accent-powder) 100%);
  color: #161414;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 22px rgba(212, 175, 122, 0.24);
}

.btn-luxury-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(212, 175, 122, 0.34);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--accent-gold-soft);
}

/* ---------- Panel Headers ---------- */

.panel-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.panel-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
}

.stock-toggle input {
  accent-color: var(--accent-gold);
}

/* ---------- Palette Toolbar & Swatch Grid ---------- */

.palette-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}

#paletteSearch,
#sliderSearch {
  width: 100%;
  padding: 10px 12px 10px 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

#paletteSearch:focus,
#sliderSearch:focus {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.filter-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill.is-active {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(212, 175, 122, 0.22), rgba(226, 184, 168, 0.14));
  color: var(--accent-gold);
  font-weight: 600;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  max-height: 390px;
  overflow-y: auto;
  padding-right: 4px;
}

.palette-grid::-webkit-scrollbar {
  width: 6px;
}

.palette-grid::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 122, 0.25);
  border-radius: var(--radius-pill);
}

.swatch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(20, 20, 25, 0.7);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.swatch-card:hover {
  border-color: rgba(212, 175, 122, 0.5);
  transform: translateY(-1px);
}

.swatch-card.is-selected {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 122, 0.14);
  box-shadow: 0 0 0 1px var(--accent-gold), var(--shadow-glow);
}

.swatch-card.is-oos {
  opacity: 0.58;
}

.swatch-card-actions {
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

.swatch-icon-btn {
  pointer-events: auto;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 18, 24, 0.68);
  color: var(--text-primary);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.swatch-icon-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.swatch-icon-btn.is-fav {
  color: #F0627B;
  border-color: rgba(240, 98, 123, 0.6);
}

/* Dense Square Luxury Swatch Tile */
.swatch-disc {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

/* Glossy studio specular streak on square tile */
.swatch-disc::after {
  content: "";
  position: absolute;
  top: -12%;
  left: 10%;
  width: 34%;
  height: 120%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0) 68%);
  transform: rotate(14deg);
  pointer-events: none;
}

.swatch-disc.finish-matte::after {
  opacity: 0.08;
}

.swatch-disc.finish-shimmer::before,
.swatch-disc.finish-reflective::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 24% 32%, rgba(255, 255, 255, 0.92) 1px, transparent 2px),
    radial-gradient(circle at 68% 42%, rgba(255, 245, 220, 0.88) 1px, transparent 2px),
    radial-gradient(circle at 46% 72%, rgba(255, 255, 255, 0.88) 1.2px, transparent 2.4px),
    radial-gradient(circle at 76% 74%, rgba(255, 255, 255, 0.8) 1px, transparent 2px),
    radial-gradient(circle at 32% 62%, rgba(255, 235, 210, 0.82) 0.9px, transparent 2px);
  pointer-events: none;
}

.swatch-disc.finish-reflective::before {
  filter: drop-shadow(0 0 2px #fff);
}

.swatch-disc.finish-cat_eye::before {
  content: "";
  position: absolute;
  inset: -4px;
  background: linear-gradient(125deg, transparent 32%, rgba(255, 248, 225, 0.68) 50%, transparent 68%);
  pointer-events: none;
}

.swatch-code {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
}

.swatch-name {
  display: none;
}

.swatch-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  font-size: 9.5px;
  color: var(--text-muted);
  padding: 0 2px 1px;
}

.swatch-price {
  color: var(--text-primary);
  font-weight: 600;
}

.swatch-tag {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--accent-powder-soft);
  color: var(--accent-powder);
}

.palette-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px 12px;
  color: var(--text-muted);
}

/* ---------- Recipe Constructor ---------- */

.detail-switch {
  display: inline-flex;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.detail-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.detail-btn.is-active {
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-weight: 600;
}

.recipe-options-bar {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: rgba(20, 20, 25, 0.55);
  border: 1px solid var(--border-subtle);
}

.repair-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-primary);
}

.repair-toggle input {
  display: none;
}

.toggle-track {
  width: 36px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: #343440;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: var(--transition);
}

.repair-toggle input:checked + .toggle-track {
  background: var(--accent-gold);
}

.repair-toggle input:checked + .toggle-track::after {
  transform: translateX(16px);
  background: #161414;
}

.recipe-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recipe-step {
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(20, 20, 25, 0.55);
  border: 1px solid var(--border-subtle);
}

.recipe-step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.step-tip {
  margin: 0 0 8px 30px;
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.step-note-2in1 {
  margin-left: 30px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--accent-powder-soft);
  border: 1px dashed rgba(226, 184, 168, 0.35);
  color: var(--accent-powder);
  font-size: 11.5px;
}

.recipe-item-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 30px;
}

.recipe-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  background: rgba(37, 37, 46, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.recipe-item-check {
  accent-color: var(--accent-gold);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.recipe-item-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.recipe-item-info {
  flex: 1;
  min-width: 140px;
}

.recipe-item-name {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.recipe-item-sku {
  font-size: 10px;
  color: var(--text-muted);
}

.volume-select {
  background: var(--bg-deep);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 3px 6px;
  font-size: 11px;
  color: var(--accent-gold);
  cursor: pointer;
}

.recipe-item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
}

.recipe-item-link {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  white-space: nowrap;
  transition: var(--transition);
}

.recipe-item-link:hover {
  background: var(--accent-gold);
  color: #161414;
}

.recipe-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.recipe-total-block {
  display: flex;
  flex-direction: column;
}

.recipe-total-label {
  font-size: 11px;
  color: var(--text-muted);
}

.recipe-total-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.05;
}

.recipe-footer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recipe-footer-actions .btn-luxury-primary {
  width: auto;
  padding: 10px 16px;
}

/* ---------- Client Soft Promo Bridge ---------- */

.client-bridge-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 122, 0.12), rgba(226, 184, 168, 0.08));
  border: 1px solid var(--border-gold);
}

.bridge-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.bridge-title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.bridge-text {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.bridge-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bridge-link {
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  background: rgba(20, 20, 25, 0.55);
  color: var(--accent-gold);
  transition: var(--transition);
}

.bridge-link:hover {
  background: var(--accent-gold);
  color: #161414;
}

/* Audience Mode Visibility Helpers */
body[data-audience="client"] .master-only {
  display: none !important;
}

body[data-audience="master"] .client-only,
body[data-audience="master"] #clientBridgeCard {
  display: none !important;
}

/* ---------- Modals ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 2;
}

.photo-modal-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
}

.photo-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.swatch-mini-chip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.photo-modal-code {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
}

.photo-modal-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.photo-modal-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.photo-modal-actions,
.share-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.share-modal-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent-gold);
}

.share-preview-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  background: #141419;
}

.share-preview-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
}

.share-summary {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: pre-line;
  margin-bottom: 12px;
}

/* ---------- Footer & Toast ---------- */

.site-footer {
  text-align: center;
  padding: 16px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  background: #25252E;
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

/* ---------- Stage 2: Movable Sliders, Macro Zoom & Decal Editor ---------- */

.stage-top-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stage-top-actions .flash-btn {
  position: static;
}

.stage-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 20, 26, 0.80);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.stage-float-btn:hover {
  border-color: var(--border-gold);
  color: var(--accent-gold);
}

.stage-float-btn.is-active {
  border-color: var(--accent-gold);
  background: rgba(20, 20, 26, 0.92);
  color: var(--accent-gold);
  box-shadow: 0 0 14px rgba(212, 175, 122, 0.34);
}

#handCanvas.is-dragging {
  cursor: grabbing;
}

#handCanvas.can-drag {
  cursor: grab;
}

/* Panel Mode Switcher: Colors Palette vs FURMAN Sliders */
.panel-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
}

.panel-mode-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.panel-mode-btn:hover {
  color: var(--text-primary);
}

.panel-mode-btn.is-active {
  background: linear-gradient(135deg, rgba(212, 175, 122, 0.22), rgba(212, 175, 122, 0.08));
  border-color: var(--border-gold);
  color: var(--accent-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Slider Sheet Cards Grid */
.sliders-sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.slider-sheet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  transition: var(--transition);
}

.slider-sheet-card:hover {
  border-color: rgba(212, 175, 122, 0.45);
  transform: translateY(-1px);
}

.slider-sheet-card.is-selected {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 122, 0.12);
  box-shadow: 0 0 0 1px rgba(212, 175, 122, 0.35);
}

.slider-sheet-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-sheet-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-sheet-eye {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 18, 24, 0.78);
  color: #f5f2ee;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-sheet-eye:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.slider-sheet-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.slider-sheet-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-sheet-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(212, 175, 122, 0.16);
  color: var(--accent-gold);
  text-transform: uppercase;
}

.slider-sheet-price {
  font-size: 10.5px;
  color: var(--accent-powder);
  font-weight: 600;
}

/* Sliced Sticker Elements Tray (checkerboard dark/neutral surface for high legibility) */
.slider-elements-tray {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: linear-gradient(180deg, rgba(34, 34, 44, 0.96), rgba(22, 22, 30, 0.96));
}

.slider-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.slider-tray-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.slider-tray-meta strong {
  font-size: 12.5px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-tray-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
}

.slider-tray-actions {
  display: inline-flex;
  gap: 5px;
  flex-shrink: 0;
}

.slider-tray-hint {
  margin: 0 0 8px;
  font-size: 10.5px;
  color: var(--text-muted);
}

.slider-elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
  max-height: 156px;
  overflow-y: auto;
  padding-right: 2px;
}

.slider-element-btn {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #2f333f;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.09) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.09) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.09) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.09) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-element-btn:hover {
  border-color: var(--accent-gold);
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.slider-element-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Decal Editor Bar below Finger Bar */
.decal-editor-bar {
  margin-top: 2px;
  padding: 8px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 122, 0.32);
  background: rgba(24, 24, 32, 0.88);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.decal-editor-bar[hidden] {
  display: none;
}

.decal-editor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.decal-slot-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.decal-slot-pill {
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.decal-slot-pill.is-active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
}

.decal-slot-pill img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.decal-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.decal-mini-btn {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  white-space: nowrap;
}

.decal-mini-btn:hover {
  border-color: var(--border-gold);
  color: var(--accent-gold);
}

.decal-mini-btn.is-active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
}

.decal-mini-btn.is-danger:hover {
  border-color: rgba(235, 95, 95, 0.7);
  color: #ff8c8c;
}

.decal-sliders-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.decal-range-field {
  flex: 1 1 115px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--text-secondary);
}

.decal-range-field input[type="range"] {
  flex: 1;
  min-width: 55px;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.decal-range-field strong {
  min-width: 32px;
  text-align: right;
  font-size: 10px;
  color: var(--accent-gold);
}

.decal-drag-note {
  font-size: 9.5px;
  color: var(--text-muted);
  text-align: center;
}

.recipe-item-thumb {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 122, 0.45);
  flex-shrink: 0;
}

/* ---------- Stage 2 Part 2: All-in-One Branded Postcard & Vote Modal ---------- */

.share-modal-card {
  max-width: 460px;
  width: calc(100vw - 24px);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
}

.share-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
}

.share-mode-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.share-mode-btn:hover {
  color: var(--text-primary);
}

.share-mode-btn.is-active {
  background: linear-gradient(135deg, rgba(212, 175, 122, 0.22), rgba(212, 175, 122, 0.08));
  border-color: var(--border-gold);
  color: var(--accent-gold);
}

.share-postcard-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 122, 0.35);
  margin-bottom: 10px;
  background: #121218;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-postcard-wrap[hidden] {
  display: none;
}

.share-postcard-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54vh;
  object-fit: contain;
}

.vote-notice-box {
  padding: 18px 16px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(212, 175, 122, 0.45);
  background: rgba(24, 24, 32, 0.85);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vote-notice-box[hidden] {
  display: none;
}

.vote-notice-box p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.vote-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.vote-toolbar[hidden] {
  display: none;
}

.share-primary-action {
  margin-bottom: 8px;
}

.share-primary-action .btn-luxury-primary {
  width: 100%;
  justify-content: center;
  font-size: 13.5px;
  padding: 12px 16px;
}

.share-primary-action .btn-luxury-primary:disabled,
.share-modal-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- Scalable 2000+ Sliders Catalog Additions ---------- */

.slider-tray-stats {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

.slider-tray-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  font-size: 11.5px;
  color: var(--accent-gold);
}

.slider-tray-loading[hidden] {
  display: none;
}

.slider-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 122, 0.25);
  border-top-color: var(--accent-gold);
  animation: furmanSpin 0.65s linear infinite;
}

@keyframes furmanSpin {
  to {
    transform: rotate(360deg);
  }
}

.sliders-load-more-wrap {
  padding-top: 10px;
  display: flex;
  justify-content: center;
}

.sliders-load-more-wrap[hidden] {
  display: none;
}

.sliders-load-more-btn {
  width: 100%;
  justify-content: center;
  padding: 8px 14px;
  font-size: 11.5px;
}

.slider-sheet-card.is-oos {
  opacity: 0.8;
}

.slider-sheet-oos-badge {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(24, 24, 30, 0.86);
  border: 1px solid rgba(226, 184, 168, 0.45);
  color: var(--accent-powder);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.1;
  pointer-events: none;
}

/* Slider Subcategory Selector + Always-Open Wrapped Pill Cloud */
.slider-cat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-cat-select {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.slider-cat-select:focus,
.slider-cat-select.has-filter {
  border-color: var(--border-gold);
  color: var(--accent-gold);
}

.slider-cat-select option {
  background: #1c1c23;
  color: #f5f2ee;
}

.slider-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 6px;
  position: static;
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 9px;
  margin-bottom: 2px;
  border-radius: var(--radius-sm);
  background: rgba(20, 20, 26, 0.72);
  border: 1px solid rgba(212, 175, 122, 0.22);
}

.slider-filter-chips .filter-pill {
  font-size: 11px;
  line-height: 1.25;
  padding: 5px 9px;
}
