/* ZYRON — Maison Nocturne. Cinematic luxury system. */

:root {
  /* Palette — deep blacks with warm undertone, gold as light */
  --ink-000: #050404;          /* deepest */
  --ink-050: #0a0807;
  --ink-100: #110e0c;
  --ink-200: #181513;
  --ink-300: #221d1a;
  --ink-400: #2c2521;
  --ink-500: #3a322c;

  --bone: #f4ede2;             /* warm white */
  --bone-soft: #ddd3c2;
  --mute: #8a7f72;
  --mute-dim: #5a5147;

  /* Gold — calibrated luminous, not yellow */
  --gold: #c9a35c;
  --gold-bright: #e6c483;
  --gold-deep: #8a6d35;
  --gold-glow: rgba(230, 196, 131, 0.18);

  --hairline: rgba(201, 163, 92, 0.14);
  --hairline-strong: rgba(201, 163, 92, 0.32);
  --hairline-bone: rgba(244, 237, 226, 0.08);

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Motion — slow & contemplative */
  --ease-cinema: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-slow: 1.2s;
  --dur-med: 0.6s;
  --dur-fast: 0.32s;

  --max: 1440px;
  --pad: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink-000);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: var(--gold); color: var(--ink-000); }

button, input, select, textarea { font-family: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============ AMBIENT ============ */
.ambient-bg {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}
.ambient-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(201, 163, 92, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(138, 109, 53, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-000) 0%, var(--ink-050) 50%, var(--ink-000) 100%);
}
.ambient-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: screen;
}
.ambient-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, transparent 50%, rgba(0,0,0,0.5) 100%);
}

#root { position: relative; z-index: 1; }

/* ============ TYPE ============ */
.t-display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.92;
}
.t-display em { font-style: italic; font-weight: 300; color: var(--gold-bright); }
.t-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.t-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mute);
}
.t-meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.t-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ============ LAYOUT ============ */
.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 120px 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
}
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--gold-bright); font-weight: 300; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--dur-med) var(--ease-cinema);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .btn-arrow {
  transition: transform var(--dur-med) var(--ease-cinema);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-gold {
  background: var(--gold);
  color: var(--ink-000);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 12px 40px -8px var(--gold-glow), 0 0 0 1px var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--hairline-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 163, 92, 0.04);
}

.btn-link {
  padding: 12px 0;
  color: var(--gold);
  border-bottom: 1px solid var(--hairline-strong);
}
.btn-link:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 4, 4, 0.78);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  transition: background var(--dur-med) var(--ease-soft);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--bone);
  line-height: 1;
}
.brand-mark .ampersand { color: var(--gold); font-style: italic; font-weight: 300; }
.brand-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--mute-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav-item {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-soft);
  cursor: pointer;
  position: relative;
  padding: 8px 0;
  transition: color var(--dur-fast) var(--ease-soft);
}
.nav-item::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: all var(--dur-med) var(--ease-cinema);
  transform: translateX(-50%);
}
.nav-item:hover { color: var(--gold-bright); }
.nav-item:hover::after { width: 24px; }
.nav-item.active { color: var(--gold); }
.nav-item.active::after { width: 24px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.lang-toggle button {
  color: var(--mute);
  padding: 6px 4px;
  text-transform: uppercase;
  transition: color var(--dur-fast);
}
.lang-toggle button.active { color: var(--gold); }
.lang-toggle button:hover { color: var(--bone); }
.lang-sep { color: var(--mute-dim); }

.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone-soft);
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-soft);
  border-radius: 0;
}
.icon-btn:hover,
.icon-btn.is-open { color: var(--gold); border-color: var(--hairline-strong); }
.icon-btn .user-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 6px var(--gold-glow);
}

/* USER DROPDOWN */
.user-menu-wrap { position: relative; }
.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--ink-050);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 8px;
  z-index: 60;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}
.user-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.user-menu-head {
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 6px;
}
.user-menu-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.user-menu-email {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--bone-soft);
  word-break: break-all;
  line-height: 1.3;
}
.user-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-soft);
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-soft);
  text-align: left;
}
.user-menu-item:hover {
  color: var(--gold);
  border-color: var(--hairline);
  background: rgba(201, 163, 92, 0.04);
}
.user-menu-item svg { color: var(--gold); flex-shrink: 0; }
.user-menu-item.danger:hover {
  color: #e88;
  border-color: rgba(196, 80, 80, 0.4);
  background: rgba(180, 80, 80, 0.06);
}
.user-menu-item.danger:hover svg { color: #e88; }
.user-menu-sep {
  height: 1px;
  background: var(--hairline);
  margin: 6px 0;
}

@media (max-width: 520px) {
  .user-menu { right: -8px; min-width: 220px; }
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(17, 14, 12, 0.6);
  border: 1px solid var(--hairline);
  width: 200px;
  transition: all var(--dur-med) var(--ease-soft);
}
.search-shell:focus-within {
  border-color: var(--gold);
  width: 260px;
  background: var(--ink-100);
}
.search-shell input {
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.search-shell input::placeholder { color: var(--mute-dim); letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; }

/* SEARCH DROPDOWN */
.search-wrap { position: relative; }
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--ink-050);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  z-index: 70;
  max-height: 480px;
  overflow-y: auto;
  min-width: 360px;
}
.search-empty {
  padding: 24px 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.search-result {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  background: transparent;
  transition: background var(--dur-fast) var(--ease-soft);
  cursor: pointer;
}
.search-result:last-child { border-bottom: none; }
.search-result.is-active,
.search-result:hover {
  background: rgba(201, 163, 92, 0.06);
}
.search-result-img {
  width: 56px; height: 56px;
  background: var(--ink-100);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-img .ph {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.search-result-info { min-width: 0; }
.search-result-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.search-result-name {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--bone);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-price {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .search-dropdown { min-width: 280px; right: -40px; }
}
@media (max-width: 520px) {
  .search-dropdown {
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;
    min-width: 0;
  }
}

/* ============ MARQUEE ============ */
.marquee {
  background: linear-gradient(90deg, transparent 0%, rgba(201, 163, 92, 0.04) 50%, transparent 100%);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink-000), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink-000), transparent); }
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--bone-soft);
  text-transform: uppercase;
}
.marquee-item .star {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-frame {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 80px var(--pad) 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}
.hero-meta-row .line {
  width: 56px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.hero-title .it {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-bright);
  display: inline-block;
}
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(40%); animation: heroWordIn 1.2s var(--ease-cinema) forwards; }
.hero-title .word:nth-child(1) { animation-delay: 0.15s; }
.hero-title .word:nth-child(2) { animation-delay: 0.3s; }
.hero-title .word:nth-child(3) { animation-delay: 0.45s; }
.hero-title .word:nth-child(4) { animation-delay: 0.6s; }
.hero-title .word:nth-child(5) { animation-delay: 0.75s; }

@keyframes heroWordIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone-soft);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-cinema) 0.9s forwards;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-cinema) 1.05s forwards;
}
.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  opacity: 0;
  animation: fadeUp 1s var(--ease-cinema) 1.2s forwards;
}
.hero-stat .num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat .lbl {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

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

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  opacity: 0;
  animation: fadeIn 1.4s var(--ease-cinema) 0.4s forwards;
}
.hero-visual-frame {
  position: absolute;
  inset: -8px;
  border: 1px solid var(--hairline-strong);
  pointer-events: none;
}
.hero-visual-frame::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px;
  width: 24px; height: 24px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero-visual-frame::after {
  content: '';
  position: absolute;
  bottom: -4px; right: -4px;
  width: 24px; height: 24px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.hero-visual-img-stack {
  position: absolute; inset: 0;
  transform: translateY(var(--py, 0));
  will-change: transform;
}
.hero-visual-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(1.08) saturate(0.85) brightness(0.95);
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.2s cubic-bezier(0.5, 0.05, 0.2, 1),
    transform 9s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.hero-visual-img.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-visual-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(5,4,4,0.6) 100%),
    linear-gradient(135deg, transparent 60%, rgba(201, 163, 92, 0.18) 100%);
}
.hero-visual-corner {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--ink-000);
  border: 1px solid var(--gold);
  padding: 18px 22px;
  z-index: 3;
  min-width: 180px;
}
.hero-visual-corner .label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-visual-corner .name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 4px;
}
.hero-visual-corner .price {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--bone-soft);
  letter-spacing: 0.05em;
}
.hero-visual-corner .price b { color: var(--gold-bright); font-weight: 600; }

.hero-side-meta {
  position: absolute;
  right: -8px;
  top: 12px;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--mute);
  text-transform: uppercase;
}
.hero-side-meta .gold { color: var(--gold); }

/* hero scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 5;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--mute);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -24px; left: 0;
  width: 1px; height: 24px;
  background: var(--gold-bright);
  animation: scrollCue 2.4s var(--ease-cinema) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); }
  100% { transform: translateY(72px); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ CATEGORIES ============ */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.cat-card {
  position: relative;
  padding: 60px 40px 48px;
  background: var(--ink-050);
  cursor: pointer;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--dur-med) var(--ease-soft);
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--gold-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-cinema);
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover { background: var(--ink-100); }
.cat-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  position: relative;
}
.cat-name {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-top: 24px;
  margin-bottom: 12px;
  position: relative;
  transition: transform var(--dur-slow) var(--ease-cinema);
}
.cat-card:hover .cat-name { transform: translateX(8px); }
.cat-name em { font-style: italic; color: var(--gold-bright); font-weight: 300; }
.cat-count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  position: relative;
}
.cat-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: auto;
}
.cat-bottom .arrow {
  color: var(--gold);
  transition: transform var(--dur-med) var(--ease-cinema);
}
.cat-card:hover .cat-bottom .arrow { transform: translateX(12px); }
.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-tag {
  font-family: var(--mono);
  font-size: 9px;
  padding: 4px 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-soft);
  border: 1px solid var(--hairline);
}

/* ============ PRODUCT GRID ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 56px 32px;
}
.product {
  cursor: pointer;
  position: relative;
}
.product-media {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink-100);
  overflow: hidden;
  border: 1px solid var(--hairline);
  margin-bottom: 18px;
  transition: border-color var(--dur-med) var(--ease-soft);
}
.product:hover .product-media { border-color: var(--hairline-strong); }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-cinema), filter var(--dur-med) var(--ease-soft);
  filter: contrast(1.04) saturate(0.9);
}
.product:hover .product-media img { transform: scale(1.06); }
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,4,4,0.3) 100%);
  pointer-events: none;
}
.product-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(201, 163, 92, 0.04) 16px, rgba(201, 163, 92, 0.04) 17px),
    linear-gradient(135deg, var(--ink-100) 0%, var(--ink-200) 100%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--mute-dim);
  text-transform: uppercase;
}
.product-placeholder .ph-mark {
  font-family: var(--serif);
  font-size: 42px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  font-weight: 500;
}

.product-quick-view {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(5, 4, 4, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px;
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--dur-med) var(--ease-cinema);
  pointer-events: none;
}
.product:hover .product-quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-badges {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
}
.badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 9px;
  font-weight: 500;
}
.badge-discount { background: var(--gold); color: var(--ink-000); }
.badge-new { background: var(--bone); color: var(--ink-000); }
.badge-best { background: rgba(5,4,4,0.85); color: var(--gold); border: 1px solid var(--gold); backdrop-filter: blur(8px); display: inline-flex; align-items: center; justify-content: center; padding: 6px 8px; }
.badge-best svg { display: block; }

.product-out {
  position: absolute; inset: 0;
  background: rgba(5, 4, 4, 0.7);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  z-index: 3;
}

.product-stock-warning {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(5,4,4,0.85);
  backdrop-filter: blur(12px);
  color: var(--gold-bright);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold-deep);
  z-index: 2;
  transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}
.product:hover .product-stock-warning {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.product-cat {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transition: color var(--dur-fast) var(--ease-soft);
}
.product:hover .product-name { color: var(--gold-bright); }
.product-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.product-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
}
.product-old {
  font-size: 13px;
  color: var(--mute);
  text-decoration: line-through;
  font-family: var(--sans);
}

/* ============ FILTERS ============ */
.filters-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.chip {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--hairline-strong);
  color: var(--bone-soft);
  background: transparent;
  transition: all var(--dur-fast) var(--ease-soft);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--gold); color: var(--ink-000); border-color: var(--gold); }
.price-range {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.price-range input {
  width: 84px;
  padding: 8px 10px;
  background: var(--ink-100);
  border: 1px solid var(--hairline);
  color: var(--bone);
  font-size: 12px;
  font-family: var(--sans);
}
.price-range input:focus { border-color: var(--gold); outline: none; }

/* ============ EDITORIAL FEATURE ============ */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.editorial-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: contrast(1.05);
}
.editorial-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(5,4,4,0.4));
}
.editorial-num {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--bone);
  text-transform: uppercase;
  z-index: 2;
}
.editorial-text .eyebrow { color: var(--gold); }
.editorial-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 18px 0 28px;
}
.editorial-title em { font-style: italic; color: var(--gold-bright); font-weight: 300; }
.editorial-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-soft);
  max-width: 480px;
  margin-bottom: 32px;
}

/* ============ CREDO / TRUST ============ */
.credo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.credo-item {
  background: var(--ink-050);
  padding: 48px 32px;
  text-align: left;
}
.credo-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 24px;
}
.credo-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.credo-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute);
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  border-top: 1px solid var(--hairline);
  margin-top: 80px;
  padding: 80px 0 32px;
  background: linear-gradient(180deg, var(--ink-000) 0%, var(--ink-100) 100%);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-mark {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 180px);
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  margin-bottom: 60px;
  user-select: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col p, .footer-col a {
  font-size: 13px;
  color: var(--bone-soft);
  line-height: 1.85;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-soft);
}
.footer-col a { display: block; }
.footer-col a:hover { color: var(--gold); }
.footer-newsletter {
  display: flex;
  border-bottom: 1px solid var(--hairline-strong);
  margin-top: 14px;
}
.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 0;
  font-size: 13px;
  color: var(--bone);
}
.footer-newsletter input::placeholder { color: var(--mute-dim); }
.footer-newsletter button {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.footer-newsletter button:hover { color: var(--gold-bright); }

.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute-dim);
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-cinema);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--ink-050);
  border: 1px solid var(--hairline-strong);
  width: 100%;
  max-width: 460px;
  padding: 48px;
  position: relative;
  margin: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--dur-slow) var(--ease-cinema);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mute);
  font-size: 22px;
  line-height: 1;
  transition: color var(--dur-fast);
}
.modal-close:hover { color: var(--gold); }
.modal-eyebrow { color: var(--gold); margin-bottom: 8px; }
.modal h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.05;
}
.modal h2 em { font-style: italic; color: var(--gold-bright); font-weight: 300; }
.modal-sub { color: var(--mute); font-size: 13px; margin-bottom: 32px; }

/* PRODUCT FULLSCREEN */
.product-overlay {
  position: fixed; inset: 0;
  background: rgba(5, 4, 4, 0.96);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-cinema);
  overflow-y: auto;
}
.product-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.product-fs {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100vh;
  position: relative;
}
.product-fs-close {
  position: fixed;
  top: 28px; right: 28px;
  width: 48px; height: 48px;
  border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--bone);
  font-size: 22px;
  line-height: 1;
  background: rgba(5,4,4,0.6);
  backdrop-filter: blur(8px);
  transition: all var(--dur-fast) var(--ease-soft);
  z-index: 5;
}
.product-fs-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.product-fs-back {
  position: fixed;
  top: 28px; left: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  z-index: 5;
  transition: color var(--dur-fast);
}
.product-fs-back:hover { color: var(--gold); }
.product-fs-media {
  position: relative;
  background: var(--ink-100);
  border-right: 1px solid var(--hairline);
  overflow: hidden;
  min-height: 70vh;
  transform: translateX(-30px);
  opacity: 0;
  animation: fsMediaIn 1s var(--ease-cinema) 0.15s forwards;
}
.product-fs-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}
.product-fs-info {
  padding: 100px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  transform: translateX(20px);
  opacity: 0;
  animation: fsInfoIn 1s var(--ease-cinema) 0.3s forwards;
}
@keyframes fsMediaIn {
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fsInfoIn {
  to { transform: translateX(0); opacity: 1; }
}
.product-fs-cat { color: var(--gold); margin-bottom: 16px; }
.product-fs-name {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.product-fs-name em { font-style: italic; color: var(--gold-bright); font-weight: 300; }
.product-fs-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-soft);
  margin-bottom: 32px;
  max-width: 480px;
}
.product-fs-prices {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 8px;
}
.product-fs-price {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.product-fs-old {
  font-size: 18px;
  color: var(--mute);
  text-decoration: line-through;
}
.product-fs-installments {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.product-fs-stock {
  background: rgba(201, 163, 92, 0.08);
  border-left: 2px solid var(--gold);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  text-transform: uppercase;
}
.product-fs-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.product-fs-buy {
  background: var(--gold);
  color: var(--ink-000);
  padding: 22px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: all var(--dur-med) var(--ease-cinema);
}
.product-fs-buy:hover {
  background: var(--gold-bright);
  box-shadow: 0 16px 48px -12px var(--gold-glow);
}
.product-fs-buy.disabled {
  background: var(--ink-300);
  color: var(--mute);
  cursor: not-allowed;
}
.product-fs-buy.disabled:hover { background: var(--ink-300); box-shadow: none; }
.product-fs-buy.has-market { letter-spacing: 0.18em; }
.product-fs-buy.market-shopee { background: #ee4d2d; color: #fff; }
.product-fs-buy.market-shopee:hover { background: #ff5e3e; box-shadow: 0 16px 48px -12px rgba(238, 77, 45, 0.4); }
.product-fs-buy.market-ml { background: #fff159; color: #181513; }
.product-fs-buy.market-ml:hover { background: #ffe73d; box-shadow: 0 16px 48px -12px rgba(255, 241, 89, 0.4); }
.product-fs-buy.market-amazon { background: #ff9900; color: #181513; }
.product-fs-buy.market-amazon:hover { background: #ffb133; box-shadow: 0 16px 48px -12px rgba(255, 153, 0, 0.4); }
.product-fs-buy.market-magalu { background: #0086ff; color: #fff; }
.product-fs-buy.market-magalu:hover { background: #2098ff; box-shadow: 0 16px 48px -12px rgba(0, 134, 255, 0.4); }
.product-fs-buy.market-americanas { background: #e60014; color: #fff; }
.product-fs-buy.market-americanas:hover { background: #ff1c30; box-shadow: 0 16px 48px -12px rgba(230, 0, 20, 0.4); }
.product-fs-buy.market-aliexpress { background: #ff4747; color: #fff; }
.product-fs-buy.market-aliexpress:hover { background: #ff6363; }
.product-fs-buy.market-ebay { background: #fff; color: #181513; border: 1px solid #181513; }
.product-fs-buy.market-netshoes { background: #ffe200; color: #181513; }
.product-fs-buy.market-centauro { background: #15171a; color: #fff; border: 1px solid var(--gold); }
.product-fs-buy.market-other { background: var(--gold); color: var(--ink-000); }

.product-fs-share {
  width: 64px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--bone-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-soft);
}
.product-fs-share:hover {
  border-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 520px) {
  .product-fs-share { width: 56px; }
}

.product-fs-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-soft);
  text-transform: uppercase;
}
.product-fs-trust > div {
  display: flex; align-items: center; gap: 10px;
}
.product-fs-trust svg { color: var(--gold); flex-shrink: 0; }

/* ============ FORMS ============ */
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--ink-100);
  border: 1px solid var(--hairline);
  color: var(--bone);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
  transition: border-color var(--dur-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--bone-soft); }
.field-check input { width: auto; accent-color: var(--gold); }

/* ============ DASHBOARD ============ */
.dash {
  padding: 60px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}
.dash-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.dash-title em { font-style: italic; color: var(--gold-bright); font-weight: 300; }

.dash-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}
.dash-tab {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 16px 24px;
  border-bottom: 1px solid transparent;
  transition: all var(--dur-fast);
  margin-bottom: -1px;
}
.dash-tab:hover { color: var(--bone); }
.dash-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.stat {
  background: var(--ink-050);
  border: 1px solid var(--hairline);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 1px;
  background: var(--gold);
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.stat-val {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.dash-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.dash-toolbar .spacer { flex: 1; }

.dash-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ink-050);
  border: 1px solid var(--hairline);
}
.dash-table th {
  text-align: left;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--ink-100);
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
}
.dash-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--ink-100); }
.dash-table img {
  width: 56px; height: 56px;
  object-fit: cover;
  border: 1px solid var(--hairline);
}
.dash-img-ph {
  width: 56px; height: 56px;
  background: var(--ink-200);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
}
.pill-active { color: var(--gold); border-color: var(--gold-deep); background: rgba(201, 163, 92, 0.08); }
.pill-out { color: #d49595; border-color: #6a3a3a; background: rgba(180, 80, 80, 0.08); }
.pill-inactive { color: var(--mute); border-color: var(--ink-400); background: rgba(60, 50, 45, 0.4); }

/* SITE SETTINGS */
.site-settings { max-width: 920px; }
.settings-block {
  background: var(--ink-050);
  border: 1px solid var(--hairline);
  padding: 28px 24px;
  margin-bottom: 24px;
}
.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}
.settings-head h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.settings-hint {
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 18px;
  line-height: 1.5;
  max-width: 600px;
}
.settings-empty {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 16px 0;
}
.settings-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
}
.settings-row-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 28px;
}
.settings-row-fields { min-width: 0; }
.settings-row-fields .field { margin-bottom: 0; }
.settings-row-fields .field-row { gap: 12px; }
.settings-row-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
}
.settings-row-actions .row-btn {
  width: 32px; height: 28px;
}
@media (max-width: 720px) {
  .settings-row { grid-template-columns: 1fr auto; }
  .settings-row-num { grid-column: 1 / -1; padding-top: 0; }
  .settings-row-actions { flex-direction: row; padding-top: 0; }
}
button.pill { font-family: inherit; cursor: pointer; transition: all var(--dur-fast) var(--ease-soft); }
button.pill:hover { transform: scale(1.04); }
button.pill.pill-active:hover { background: rgba(201, 163, 92, 0.16); }
button.pill.pill-inactive:hover { color: var(--bone-soft); border-color: var(--gold-deep); }

.row-actions {
  display: flex;
  gap: 6px;
}
.row-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--hairline);
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}
.row-btn:hover { border-color: var(--gold); color: var(--gold); }
.row-btn.danger:hover { border-color: #c45050; color: #e88; }

.gallery-edit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  padding: 10px;
  background: var(--ink-100);
  border: 1px solid var(--hairline);
  margin-bottom: 6px;
  min-height: 60px;
}
.gallery-empty {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 18px 8px;
  text-align: center;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-200);
  border: 1px solid var(--hairline);
}
.gallery-item.is-cover { border-color: var(--gold); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cover-tag {
  position: absolute;
  top: 4px; left: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink-000);
  padding: 3px 6px;
}
.gallery-item-actions {
  position: absolute;
  bottom: 4px; left: 4px; right: 4px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-soft);
}
.gallery-item:hover .gallery-item-actions { opacity: 1; }
.gallery-item-actions button {
  flex: 1;
  background: rgba(5, 4, 4, 0.85);
  border: 1px solid var(--hairline);
  color: var(--bone-soft);
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}
.gallery-item-actions button:hover { color: var(--gold); border-color: var(--gold); }
.gallery-item-actions button.danger:hover { color: #e88; border-color: rgba(196, 80, 80, 0.5); }
.gallery-item-actions button:disabled { opacity: 0.3; cursor: not-allowed; }
.gallery-item-actions svg { display: block; margin: 0 auto; }

/* Public gallery in product overlay */
.product-fs-media {
  position: relative;
}
.product-fs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(5, 4, 4, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
  opacity: 0.6;
  transition: all var(--dur-fast) var(--ease-soft);
}
.product-fs-nav.prev { left: 16px; }
.product-fs-nav.next { right: 16px; }
.product-fs-nav:hover { opacity: 1; border-color: var(--gold); color: var(--gold); }

.product-fs-thumbs {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(5, 4, 4, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  z-index: 4;
  max-width: calc(100% - 32px);
  overflow-x: auto;
}
.product-fs-thumb {
  width: 56px; height: 56px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.55;
  transition: all var(--dur-fast) var(--ease-soft);
}
.product-fs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-fs-thumb:hover { opacity: 0.85; }
.product-fs-thumb.is-active { opacity: 1; border-color: var(--gold); }

.product-fs-counter {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--bone-soft);
  background: rgba(5, 4, 4, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  padding: 6px 10px;
  z-index: 4;
}

@media (max-width: 820px) {
  .product-fs-nav { width: 40px; height: 40px; }
  .product-fs-thumb { width: 48px; height: 48px; }
}

.image-tabs {
  display: flex;
  margin-bottom: 10px;
}
.image-tab {
  flex: 1;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--mute);
  padding: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.image-tab.active { color: var(--gold); border-color: var(--gold); background: rgba(201, 163, 92, 0.06); }
.image-preview {
  margin-top: 12px;
  border: 1px dashed var(--hairline-strong);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.image-preview img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}
.image-preview .ph {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--ink-100);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--dur-med) var(--ease-cinema);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px var(--hairline-strong);
}
.toast.open { transform: translateY(0); opacity: 1; }

/* ============ GUIDE ============ */
.guide-section { margin-bottom: 80px; }
.guide-section h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.guide-section h3 em { font-style: italic; color: var(--gold-bright); font-weight: 300; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ink-050);
  border: 1px solid var(--hairline);
  margin-bottom: 16px;
}
.guide-table th, .guide-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  font-size: 13px;
}
.guide-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--ink-100);
}
.guide-table tr:last-child td { border-bottom: none; }
.guide-tip {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--ink-050);
  border-left: 2px solid var(--gold);
  font-size: 13px;
  line-height: 1.7;
  color: var(--bone-soft);
}
.guide-tip .icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-cinema), transform 1.1s var(--ease-cinema);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ EMPTY ============ */
.empty {
  text-align: center;
  padding: 100px 24px;
  color: var(--mute);
}
.empty h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 10px;
}
.empty p { font-size: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .nav { gap: 20px; }
  .search-shell { width: 160px; }
  .search-shell:focus-within { width: 200px; }
  .hero-frame { gap: 48px; padding: 60px var(--pad) 48px; }
  .editorial { gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --pad: 24px; }
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
    width: 100%;
    flex-wrap: wrap;
  }
  .search-shell { display: none; }
  .hero-frame { grid-template-columns: 1fr; gap: 64px; padding: 60px var(--pad) 48px; }
  .hero-visual { max-width: 420px; }
  .hero-stats { gap: 24px; }
  .cats-grid { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .credo { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-fs { grid-template-columns: 1fr; }
  .product-fs-info { padding: 60px 32px; }
  .product-fs-media { min-height: 50vh; border-right: none; border-bottom: 1px solid var(--hairline); }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; }
  .modal { padding: 32px 24px; max-width: 560px; }
  .modal h2 { font-size: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash { padding: 40px var(--pad); }
  .dash-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dash-title { font-size: 36px; }
  .dash-tabs { overflow-x: auto; }
  .dash-tab { padding: 14px 18px; white-space: nowrap; }
  .dash-toolbar { gap: 10px; }
  .dash-toolbar .btn { font-size: 11px; padding: 12px 18px; }
  .dash-table-wrap, .dash-table { display: block; }
  .dash-table { overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 520px) {
  .modal-overlay { padding: 12px; }
  .modal { padding: 28px 18px; }
  .modal h2 { font-size: 26px; }
  .modal-close { top: 10px; right: 10px; width: 32px; height: 32px; }
  .image-tab { padding: 10px 6px; font-size: 9px; letter-spacing: 0.14em; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px; }
  .stat-val { font-size: 36px; }
  .dash-toolbar { flex-direction: column; align-items: stretch; }
  .dash-toolbar .btn { width: 100%; justify-content: center; }
}


/* ============ HERO SHOWCASE — Rolex-inspired ============ */
.rxs {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink-000);
  border: 1px solid var(--hairline-strong);
}

.rxs-stage { position: absolute; inset: 0; }

.rxs-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.4s cubic-bezier(0.5, 0.05, 0.2, 1),
    transform 9s cubic-bezier(0.2, 0.6, 0.3, 1);
  filter: contrast(1.05) saturate(0.92) brightness(0.92);
  will-change: opacity, transform;
}
.rxs-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* cinematic overlays */
.rxs-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 40%, transparent 0%, transparent 50%, rgba(5,4,4,0.55) 100%);
  pointer-events: none;
}
.rxs-bottom-grad {
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(5,4,4,0.0) 30%,
    rgba(5,4,4,0.55) 70%,
    rgba(5,4,4,0.92) 100%);
  pointer-events: none;
}
.rxs-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}

/* Brand mark */
.rxs-mark {
  position: absolute; top: 22px; left: 24px; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--bone);
  text-transform: uppercase;
}
.rxs-mark-star {
  color: var(--gold-bright);
  font-size: 10px;
  letter-spacing: 0;
}

/* Chapter index */
.rxs-chapter {
  position: absolute; top: 22px; right: 24px; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.rxs-chapter-num { color: var(--gold-bright); font-weight: 500; }
.rxs-chapter-line { width: 28px; height: 1px; background: rgba(244, 237, 226, 0.35); }
.rxs-chapter-tot { color: rgba(244, 237, 226, 0.55); }

/* Caption */
.rxs-caption {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 56px;
  z-index: 4;
  color: var(--bone);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.rxs-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 14px;
  animation: rxs-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.15s;
  opacity: 0;
}
.rxs-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0 0 12px 0;
  color: var(--bone);
  animation: rxs-up 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.25s;
  opacity: 0;
}
.rxs-meta {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(244, 237, 226, 0.78);
  animation: rxs-up 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.35s;
  opacity: 0;
}
@keyframes rxs-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Progress bars */
.rxs-progress {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 24px;
  display: flex;
  gap: 6px;
  z-index: 4;
}
.rxs-bar {
  flex: 1;
  height: 2px;
  background: rgba(244, 237, 226, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-fast);
}
.rxs-bar:hover { background: rgba(244, 237, 226, 0.32); }
.rxs-bar.is-done { background: rgba(230, 196, 131, 0.55); }
.rxs-bar-fill {
  position: absolute;
  inset: 0;
  background: var(--gold-bright);
  transform-origin: left center;
  transform: scaleX(0);
}
.rxs-bar.is-on .rxs-bar-fill {
  animation: rxs-fill linear forwards;
}
@keyframes rxs-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 720px) {
  .rxs-caption { left: 20px; right: 20px; bottom: 44px; }
  .rxs-name { font-size: 32px; }
  .rxs-progress { left: 20px; right: 20px; bottom: 18px; }
  .rxs-mark, .rxs-chapter { top: 16px; }
  .rxs-mark { left: 18px; }
  .rxs-chapter { right: 18px; }
}


/* hero frame fade-in on banner change */
.hero-frame { animation: heroFade 1s var(--ease-cinema); }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ============ HERO CAROUSEL — TEXT REVEAL ============ */
.hero[data-dir="fwd"] .hero-text { animation: heroTxtFwd 0.95s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hero[data-dir="bwd"] .hero-text { animation: heroTxtBwd 0.95s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes heroTxtFwd {
  0%   { opacity: 0; transform: translateX(28px); filter: blur(4px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}
@keyframes heroTxtBwd {
  0%   { opacity: 0; transform: translateX(-28px); filter: blur(4px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}
.hero-text .hero-meta-row { animation: heroLine 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.05s; }
.hero-text .hero-title    { animation: heroLine 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.12s; }
.hero-text .hero-sub      { animation: heroLine 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.22s; }
.hero-text .hero-cta      { animation: heroLine 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.32s; }
.hero-text .hero-stats    { animation: heroLine 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.42s; }
@keyframes heroLine {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* corner card re-anima por troca */
.hero-visual-corner {
  animation: heroCorner 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes heroCorner {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}


/* ============ HERO BANNER CAROUSEL — overlay UI ============ */
/* Setas grandes nas laterais do visual; só visíveis no hover do hero */
.hv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7;
  width: 44px; height: 64px;
  display: grid; place-items: center;
  background: rgba(5, 4, 4, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline-strong);
  color: rgba(244, 237, 226, 0.85);
  font-family: var(--serif);
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease, background 0.25s, border-color 0.25s, color 0.25s, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 0;
}
.hv-nav-prev { left: -22px; }
.hv-nav-next { right: -22px; }
.hero:hover .hv-nav { opacity: 1; }
.hv-nav:hover {
  background: rgba(5, 4, 4, 0.78);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.hv-nav-prev:hover { transform: translate(-3px, -50%); }
.hv-nav-next:hover { transform: translate(3px, -50%); }
.hv-nav-icon { display: block; line-height: 1; transform: translateY(-1px); }

/* Indicador discreto no canto SUPERIOR DIREITO do visual */
.hv-progress {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 6;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 12px;
  background: rgba(5, 4, 4, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline-strong);
}
.hv-count {
  display: inline-flex; align-items: baseline; gap: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(244, 237, 226, 0.7);
}
.hv-count b { color: var(--gold-bright); font-weight: 500; }
.hv-count i { color: var(--mute-dim); font-style: normal; padding: 0 1px; }

.hv-bars {
  display: flex; align-items: center; gap: 6px;
}
.hv-bar {
  position: relative;
  width: 22px; height: 2px;
  background: rgba(244, 237, 226, 0.18);
  border: 0; padding: 0; cursor: pointer;
  overflow: hidden;
  transition: background 0.25s, width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hv-bar:hover { background: rgba(244, 237, 226, 0.4); }
.hv-bar.is-past { background: rgba(212, 165, 92, 0.55); }
.hv-bar.is-on { width: 36px; }
.hv-bar-fill {
  position: absolute; inset: 0;
  background: var(--gold-bright);
  transform-origin: left;
  transform: scaleX(0);
}
.hv-bar.is-on .hv-bar-fill {
  animation: hv-fill linear forwards;
}
@keyframes hv-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .hv-nav { width: 38px; height: 54px; font-size: 18px; opacity: 1; }
  .hv-nav-prev { left: -10px; }
  .hv-nav-next { right: -10px; }
  .hv-progress { top: 14px; right: 14px; gap: 10px; padding: 6px 10px; }
  .hv-bar { width: 16px; }
  .hv-bar.is-on { width: 26px; }
}

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