/* MD Marketplace — premium visual system */

:root,
html[data-tavus-theme="dark"] {
  --tv-gold: #e8c547;
  --tv-gold-deep: #b8942a;
  --tv-primary: #d4af37;
  --tv-bronze: #8b6b3b;
  --tv-accent: #e8c547;
  --tv-bg: #050505;
  --tv-bg-2: #0c0c0e;
  --tv-surface: rgba(18, 18, 22, 0.72);
  --tv-surface-solid: #141418;
  --tv-surface-soft: #1c1c22;
  --tv-text: #f8f6f1;
  --tv-muted: #9a9690;
  --tv-line: rgba(232, 197, 71, 0.14);
  --tv-line-soft: rgba(255, 255, 255, 0.06);
  --tv-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  --tv-shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.35);
  --tv-glow: 0 0 0 1px rgba(232, 197, 71, 0.2);
  --tv-glow-lg: 0 0 48px rgba(232, 197, 71, 0.12);
  --tv-font: "Inter", system-ui, sans-serif;
  --tv-display: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --tv-logo: "Cormorant Garamond", Georgia, serif;
  --tv-container: 1200px;
  --tv-radius: 12px;
  --tv-blur: blur(20px);
  --tv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-tavus-theme="light"] {
  --tv-gold: #1e293b;
  --tv-gold-deep: #0f172a;
  --tv-primary: #334155;
  --tv-accent: #1e293b;
  --tv-btn-bg: linear-gradient(135deg, #475569 0%, #1e293b 100%);
  --tv-btn-text: #ffffff;
  --tv-btn-shadow: 0 8px 28px rgba(30, 41, 59, 0.22);
  --tv-bg: #ffffff;
  --tv-bg-2: #fefefe;
  --tv-surface: rgba(255, 255, 255, 0.96);
  --tv-surface-solid: #ffffff;
  --tv-surface-soft: #fcfcfc;
  --tv-text: #111111;
  --tv-muted: #6b7280;
  --tv-line: rgba(184, 148, 42, 0.16);
  --tv-line-soft: rgba(0, 0, 0, 0.05);
  --tv-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  --tv-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --tv-glow: 0 0 0 1px rgba(184, 148, 42, 0.14);
  --tv-glow-lg: 0 0 28px rgba(212, 175, 55, 0.07);
  --tv-header-bg: 255, 255, 255;
  --tv-catnav-bg: 255, 255, 255;
  --tv-footer-bg: 255, 255, 255;
  --tv-hero-overlay: 255, 255, 255;
}

html[data-tavus-theme="beige"] {
  --tv-gold: #8b6914;
  --tv-gold-deep: #6b4f0f;
  --tv-primary: #9a7518;
  --tv-accent: #7d5a12;
  --tv-btn-bg: linear-gradient(135deg, #b8891a 0%, #7d5a12 100%);
  --tv-btn-text: #fffef8;
  --tv-btn-shadow: 0 8px 28px rgba(125, 90, 18, 0.25);
  --tv-bg: #fdfcfa;
  --tv-bg-2: #faf9f7;
  --tv-surface: rgba(254, 253, 251, 0.96);
  --tv-surface-solid: #fefefd;
  --tv-surface-soft: #fcfbfa;
  --tv-text: #1a1814;
  --tv-muted: #84807a;
  --tv-line: rgba(184, 148, 42, 0.14);
  --tv-line-soft: rgba(26, 24, 20, 0.05);
  --tv-shadow: 0 12px 32px rgba(60, 50, 30, 0.05);
  --tv-shadow-sm: 0 4px 16px rgba(60, 50, 30, 0.035);
  --tv-glow: 0 0 0 1px rgba(184, 148, 42, 0.12);
  --tv-glow-lg: 0 0 28px rgba(212, 175, 55, 0.06);
  --tv-header-bg: 254, 253, 251;
  --tv-catnav-bg: 253, 252, 250;
  --tv-footer-bg: 250, 249, 247;
  --tv-hero-overlay: 254, 253, 251;
}

html[data-tavus-theme="gray"] {
  --tv-gold: #475569;
  --tv-gold-deep: #334155;
  --tv-primary: #64748b;
  --tv-accent: #475569;
  --tv-btn-bg: linear-gradient(135deg, #64748b 0%, #334155 100%);
  --tv-btn-text: #ffffff;
  --tv-btn-shadow: 0 8px 28px rgba(51, 65, 85, 0.22);
  --tv-bg: #f8f9fb;
  --tv-bg-2: #f4f5f7;
  --tv-surface: rgba(255, 255, 255, 0.96);
  --tv-surface-solid: #ffffff;
  --tv-surface-soft: #fafbfc;
  --tv-text: #14171c;
  --tv-muted: #6a717a;
  --tv-line: rgba(184, 148, 42, 0.13);
  --tv-line-soft: rgba(20, 23, 28, 0.05);
  --tv-shadow: 0 12px 32px rgba(20, 30, 50, 0.05);
  --tv-shadow-sm: 0 4px 16px rgba(20, 30, 50, 0.035);
  --tv-glow: 0 0 0 1px rgba(184, 148, 42, 0.11);
  --tv-glow-lg: 0 0 28px rgba(212, 175, 55, 0.05);
  --tv-header-bg: 255, 255, 255;
  --tv-catnav-bg: 248, 249, 251;
  --tv-footer-bg: 244, 246, 248;
  --tv-hero-overlay: 248, 249, 251;
}

html[data-tavus-theme="sky"] {
  --tv-gold: #2563eb;
  --tv-gold-deep: #1d4ed8;
  --tv-primary: #3b82f6;
  --tv-accent: #2563eb;
  --tv-btn-bg: linear-gradient(135deg, #60a5fa 0%, #1d4ed8 100%);
  --tv-btn-text: #ffffff;
  --tv-btn-shadow: 0 8px 28px rgba(37, 99, 235, 0.28);
  --tv-bg: #f8fbff;
  --tv-bg-2: #f5faff;
  --tv-surface: rgba(253, 254, 255, 0.96);
  --tv-surface-solid: #fdfeff;
  --tv-surface-soft: #f9fcff;
  --tv-text: #121820;
  --tv-muted: #6a7a8a;
  --tv-line: rgba(100, 160, 220, 0.12);
  --tv-line-soft: rgba(40, 80, 130, 0.05);
  --tv-shadow: 0 12px 32px rgba(60, 120, 180, 0.05);
  --tv-shadow-sm: 0 4px 16px rgba(60, 120, 180, 0.035);
  --tv-glow: 0 0 0 1px rgba(120, 180, 240, 0.14);
  --tv-glow-lg: 0 0 28px rgba(140, 190, 255, 0.07);
  --tv-header-bg: 253, 254, 255;
  --tv-catnav-bg: 248, 251, 255;
  --tv-footer-bg: 244, 249, 255;
  --tv-hero-overlay: 248, 251, 255;
}

html[data-tavus-theme="dark"] {
  --tv-header-bg: 5, 5, 5;
  --tv-catnav-bg: 5, 5, 5;
  --tv-footer-bg: 5, 5, 5;
  --tv-hero-overlay: 5, 5, 5;
  --tv-btn-bg: linear-gradient(135deg, #f0d060 0%, var(--tv-gold) 40%, var(--tv-gold-deep) 100%);
  --tv-btn-text: #1a1200;
  --tv-btn-shadow: 0 8px 28px rgba(232, 197, 71, 0.35);
}

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

html { scroll-behavior: smooth; }

body.tv-body {
  margin: 0;
  font-family: var(--tv-font);
  color: var(--tv-text);
  background: var(--tv-bg);
  line-height: 1.55;
  transition: background 0.5s var(--tv-ease), color 0.4s var(--tv-ease);
  opacity: 1;
}
body.tv-body.is-loaded { opacity: 1; }

html[data-tavus-theme="dark"] body.tv-body {
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(232, 197, 71, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(80, 50, 120, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(232, 197, 71, 0.04), transparent),
    linear-gradient(180deg, #050505 0%, #0a0a0c 50%, #050505 100%);
  background-attachment: fixed;
}

html[data-tavus-theme="light"] body.tv-body {
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(212, 175, 55, 0.02), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
  background-attachment: fixed;
}

html[data-tavus-theme="beige"] body.tv-body {
  background:
    radial-gradient(ellipse 70% 45% at 20% 0%, rgba(212, 175, 55, 0.025), transparent 55%),
    linear-gradient(180deg, #fdfcfa 0%, #faf9f7 100%);
  background-attachment: fixed;
}

html[data-tavus-theme="gray"] body.tv-body {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(100, 120, 160, 0.025), transparent 50%),
    linear-gradient(180deg, #f8f9fb 0%, #f4f5f7 100%);
  background-attachment: fixed;
}

html[data-tavus-theme="sky"] body.tv-body {
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(180, 215, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(200, 230, 255, 0.1), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #f5faff 45%, #f9fcff 100%);
  background-attachment: fixed;
}

.tv-grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.018;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
html[data-tavus-theme="light"] .tv-grain { opacity: 0.012; mix-blend-mode: multiply; }

a { color: inherit; text-decoration: none; }
.tv-wrap { width: min(var(--tv-container), 100% - 40px); margin-inline: auto; }

/* ── Reveal animation ── */
[data-reveal] {
  opacity: 1;
  transform: none;
}
html.atlas-fx-on [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--tv-ease), transform 0.7s var(--tv-ease);
}
html.atlas-fx-on [data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Header ── */
.tv-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--tv-header-bg, 5, 5, 5), 0.88);
  backdrop-filter: var(--tv-blur);
  -webkit-backdrop-filter: var(--tv-blur);
  border-bottom: 1px solid var(--tv-line-soft);
}

.tv-header__inner {
  display: flex; align-items: center; gap: 20px; padding: 14px 0;
}

.tv-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.3s var(--tv-ease);
}
.tv-logo:hover { transform: scale(1.04); }

.tv-logo__brand {
  font-family: var(--tv-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tv-text);
  line-height: 1;
  padding: 9px 14px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(232,197,71,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(0, 0, 0, 0.25);
}

.tv-logo__mark {
  display: none;
}

.tv-search {
  flex: 1; display: flex; align-items: center; max-width: 480px;
  background: var(--tv-surface-solid);
  border: 1px solid var(--tv-line-soft);
  border-radius: 999px; overflow: visible;
  box-shadow: var(--tv-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color 0.25s, box-shadow 0.25s;
  position: relative;
  z-index: 30;
}
.tv-search:focus-within {
  border-color: rgba(232, 197, 71, 0.35);
  box-shadow: var(--tv-glow-lg), var(--tv-shadow-sm);
}
.tv-search__icon {
  padding-left: 16px; color: var(--tv-muted); font-size: 1.1rem; opacity: 0.7;
}
.tv-search input {
  flex: 1; border: 0; background: transparent; font: inherit;
  color: var(--tv-text); outline: none; padding: 12px 10px; font-size: 0.9rem;
}
.tv-search input::placeholder { color: var(--tv-muted); opacity: 0.7; }
.tv-search select {
  border: 0; border-left: 1px solid var(--tv-line-soft);
  background: rgba(128, 128, 128, 0.08);
  padding: 12px 28px 12px 12px; font: inherit; font-size: 0.78rem; font-weight: 600;
  color: var(--tv-text); cursor: pointer; max-width: 168px; min-width: 112px;
  color-scheme: light;
  -webkit-appearance: menulist;
  appearance: menulist;
  position: relative;
  z-index: 31;
}
.tv-search select option {
  background: #ffffff;
  color: #141414;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 12px;
}
.tv-search select option:checked,
.tv-search select option:hover {
  background: #2563eb;
  color: #ffffff;
}
.tv-search__btn {
  width: 42px; height: 42px; margin: 4px; border: 0; border-radius: 50%;
  cursor: pointer; flex-shrink: 0; font-size: 1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--tv-gold), var(--tv-gold-deep));
  color: #1a1200; box-shadow: 0 4px 16px rgba(232, 197, 71, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tv-search__btn:hover { transform: scale(1.06); box-shadow: 0 6px 24px rgba(232, 197, 71, 0.45); }

.tv-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0; flex-wrap: wrap; }
.tv-nav__link {
  font-size: 0.84rem; color: var(--tv-muted); transition: color 0.2s;
  display: flex; align-items: center; gap: 5px;
}
.tv-nav__link:hover { color: var(--tv-gold); }
.tv-nav__ico { opacity: 0.85; }

/* ── Buttons ── */
.tv-btn {
  border: 0; border-radius: 999px; padding: 11px 20px;
  font-family: var(--tv-display); font-weight: 700; font-size: 0.86rem;
  cursor: pointer; transition: transform 0.2s var(--tv-ease), box-shadow 0.25s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
  position: relative; z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.tv-btn:active { transform: scale(0.97); }
.tv-btn--lg { padding: 14px 28px; font-size: 0.92rem; }
.tv-btn--block { width: 100%; }

.tv-btn--primary {
  background: var(--tv-btn-bg, linear-gradient(135deg, #f0d060 0%, var(--tv-gold) 40%, var(--tv-gold-deep) 100%));
  color: var(--tv-btn-text, #1a1200);
  box-shadow: var(--tv-btn-shadow, 0 8px 28px rgba(232, 197, 71, 0.35)), inset 0 1px 0 rgba(255,255,255,0.25);
}
.tv-btn--primary:hover { filter: brightness(1.06); }
.tv-btn--primary:hover {
  box-shadow: 0 12px 36px rgba(232, 197, 71, 0.5);
  transform: translateY(-2px);
}

.tv-btn--shine {
  position: relative; overflow: hidden;
}
.tv-btn--shine::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: tv-shine 3.5s ease-in-out infinite;
}
@keyframes tv-shine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.tv-btn--outline {
  background: rgba(255,255,255,0.04);
  color: var(--tv-text);
  border: 1.5px solid rgba(232, 197, 71, 0.5);
  backdrop-filter: blur(8px);
}
.tv-btn--outline:hover {
  background: rgba(232, 197, 71, 0.1);
  border-color: var(--tv-gold);
  transform: translateY(-2px);
}
html[data-tavus-theme="light"] .tv-btn--outline,
html[data-tavus-theme="beige"] .tv-btn--outline,
html[data-tavus-theme="gray"] .tv-btn--outline {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(184, 148, 42, 0.45);
  color: var(--tv-text);
}
html[data-tavus-theme="sky"] .tv-btn--outline {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(100, 160, 220, 0.35);
  color: var(--tv-text);
}

.tv-btn--ghost {
  background: var(--tv-surface); color: var(--tv-text);
  border: 1px solid var(--tv-line);
}

/* ── Category nav ── */
.tv-catnav {
  border-bottom: 1px solid var(--tv-line-soft);
  background: rgba(var(--tv-catnav-bg, 5, 5, 5), 0.55);
  backdrop-filter: blur(12px);
}

.tv-catnav__inner {
  display: flex; gap: 2px; overflow-x: auto; padding: 8px 0; scrollbar-width: none;
}
.tv-catnav__inner::-webkit-scrollbar { display: none; }
.tv-catnav__item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 18px; min-width: 84px; border-radius: var(--tv-radius);
  font-size: 0.72rem; font-weight: 500; color: var(--tv-muted);
  transition: all 0.25s var(--tv-ease); white-space: nowrap;
}
.tv-catnav__item:hover {
  color: var(--tv-gold);
  background: rgba(232, 197, 71, 0.08);
}
.tv-catnav__icon { font-size: 1.2rem; transition: transform 0.25s var(--tv-ease); }
.tv-catnav__item:hover .tv-catnav__icon { transform: scale(1.15); }

.tv-catnav__item.is-active {
  color: var(--tv-gold);
  background: rgba(232, 197, 71, 0.12);
  font-weight: 600;
}

.tv-catnav__item.is-active .tv-catnav__icon {
  transform: scale(1.08);
}

/* ── Layout ── */
.tv-page { padding: 24px 0 48px; }
.tv-page__grid {
  display: grid; grid-template-columns: 1fr 290px; gap: 28px; align-items: start;
}
@media (max-width: 960px) { .tv-page__grid { grid-template-columns: 1fr; } }

.tv-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .tv-side { position: static; } }

/* ── Hero ── */
.tv-hero {
  border-radius: 20px; overflow: hidden; position: relative; min-height: 380px;
  background-color: #0a0a0c;
  background-size: cover;
  background-position: center;
  box-shadow: var(--tv-shadow);
}

.tv-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.tv-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  display: block;
  transition: opacity 0.45s var(--tv-ease), transform 0.6s var(--tv-ease);
}

.tv-hero__photo img.is-switching {
  opacity: 0.4;
  transform: scale(1.03);
}

.tv-hero__photo img,
.tv-hero__photo img.is-loaded {
  opacity: 1;
}

html[data-md-hero="4"] .tv-hero__photo img {
  object-position: 54% 62%;
}


.tv-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg,
    rgba(var(--tv-hero-overlay), 0.92) 0%,
    rgba(var(--tv-hero-overlay), 0.72) 38%,
    rgba(var(--tv-hero-overlay), 0.18) 72%,
    rgba(var(--tv-hero-overlay), 0.05) 100%
  );
}
html[data-tavus-theme="light"] .tv-hero::before {
  background: linear-gradient(105deg,
    rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.45) 36%,
    rgba(255,255,255,0.06) 62%, transparent 100%);
}
html[data-tavus-theme="beige"] .tv-hero::before {
  background: linear-gradient(105deg,
    rgba(254,253,251,0.88) 0%, rgba(253,252,250,0.52) 32%,
    rgba(253,252,250,0.1) 58%, transparent 100%);
}
html[data-tavus-theme="gray"] .tv-hero::before {
  background: linear-gradient(105deg,
    rgba(248,249,251,0.88) 0%, rgba(248,249,251,0.52) 32%,
    rgba(248,249,251,0.08) 58%, transparent 100%);
}
html[data-tavus-theme="sky"] .tv-hero::before {
  background: linear-gradient(105deg,
    rgba(248,251,255,0.88) 0%, rgba(245,250,255,0.55) 32%,
    rgba(240,248,255,0.08) 58%, transparent 100%);
}
html[data-tavus-theme="light"] .tv-hero,
html[data-tavus-theme="beige"] .tv-hero,
html[data-tavus-theme="gray"] .tv-hero,
html[data-tavus-theme="sky"] .tv-hero {
  background-position: 72% center;
}

.tv-hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 280px at var(--mx, 30%) var(--my, 50%),
    rgba(232, 197, 71, 0.12), transparent 70%);
  transition: background 0.15s;
}

html[data-tavus-theme="sky"] .tv-hero__glow {
  background: radial-gradient(circle 280px at var(--mx, 30%) var(--my, 50%),
    rgba(140, 190, 255, 0.1), transparent 70%);
}
html[data-tavus-theme="sky"] .tv-hero__eyebrow {
  color: #4a8ec4;
  background: rgba(140, 190, 255, 0.12);
  border-color: rgba(120, 180, 240, 0.28);
}
html[data-tavus-theme="sky"] .tv-trust__item span { color: #4a8ec4; }
html[data-tavus-theme="sky"] .tv-theme-swatch.is-active { border-color: #5a9fd4; }
html[data-tavus-theme="sky"] .tv-theme-swatch.is-active span { color: #3d7ab8; }

.tv-hero__content { position: relative; z-index: 2; padding: 52px 44px; max-width: 580px; }

.tv-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tv-gold); margin-bottom: 16px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(232, 197, 71, 0.1); border: 1px solid rgba(232, 197, 71, 0.25);
}

.tv-hero__content h1 {
  font-family: var(--tv-display); font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.03em; font-weight: 700;
}
.tv-hero__content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #fff5c8, var(--tv-gold), #c9a030);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-tavus-theme="light"] .tv-hero__content h1 em,
html[data-tavus-theme="beige"] .tv-hero__content h1 em,
html[data-tavus-theme="gray"] .tv-hero__content h1 em {
  background: linear-gradient(135deg, #a08020, var(--tv-gold-deep), #7a6010);
  -webkit-background-clip: text; background-clip: text;
}
html[data-tavus-theme="sky"] .tv-hero__content h1 em {
  background: linear-gradient(135deg, #5a90c8, #3d7ab8, #2a6098);
  -webkit-background-clip: text; background-clip: text;
}

.tv-hero__content p { margin: 0 0 28px; color: var(--tv-muted); font-size: 1.02rem; max-width: 440px; }
.tv-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.tv-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.tv-trust__item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500; color: var(--tv-muted);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--tv-line-soft);
}
html[data-tavus-theme="light"] .tv-trust__item,
html[data-tavus-theme="beige"] .tv-trust__item,
html[data-tavus-theme="gray"] .tv-trust__item {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--tv-line-soft);
}
html[data-tavus-theme="sky"] .tv-trust__item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(120, 180, 240, 0.15);
}
.tv-trust__item span { color: var(--tv-gold); }

/* ── Stats strip ── */
.tv-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px;
}
@media (max-width: 640px) { .tv-stats { grid-template-columns: repeat(2, 1fr); } }

.tv-stat {
  text-align: center; padding: 18px 12px; border-radius: var(--tv-radius);
  background: var(--tv-surface-solid);
  border: 1px solid var(--tv-line-soft);
  box-shadow: var(--tv-shadow-sm);
  transition: transform 0.25s var(--tv-ease), border-color 0.25s;
}
.tv-stat:hover { transform: translateY(-3px); border-color: var(--tv-line); }
.tv-stat strong {
  display: block; font-family: var(--tv-display); font-size: 1.35rem; font-weight: 800;
  background: linear-gradient(135deg, var(--tv-gold), #fff5c8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-tavus-theme="light"] .tv-stat strong,
html[data-tavus-theme="beige"] .tv-stat strong,
html[data-tavus-theme="gray"] .tv-stat strong {
  background: linear-gradient(135deg, var(--tv-gold-deep), var(--tv-gold));
  -webkit-background-clip: text; background-clip: text;
}
html[data-tavus-theme="sky"] .tv-stat strong {
  background: linear-gradient(135deg, #4a8ec4, #7eb8e8);
  -webkit-background-clip: text; background-clip: text;
}
.tv-stat span { font-size: 0.72rem; color: var(--tv-muted); margin-top: 2px; display: block; }

/* ── Sections ── */
.tv-section { margin-top: 36px; }
.tv-section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 18px; gap: 12px;
}
.tv-section__label {
  display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--tv-gold); margin-bottom: 4px; opacity: 0.85;
}
.tv-section__head h2 {
  margin: 0; font-family: var(--tv-display); font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em;
}
.tv-link-arrow {
  font-size: 0.84rem; font-weight: 600; color: var(--tv-gold);
  display: flex; align-items: center; gap: 4px; transition: gap 0.2s;
}
.tv-link-arrow::after { content: "→"; transition: transform 0.2s; }
.tv-link-arrow:hover { gap: 8px; }
.tv-link-arrow:hover::after { transform: translateX(3px); }

/* ── Categories ── */
.tv-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 768px) { .tv-cats { grid-template-columns: repeat(2, 1fr); } }

.tv-cat {
  position: relative; padding: 24px 16px; text-align: center; border-radius: 16px;
  background: var(--tv-surface); backdrop-filter: var(--tv-blur);
  border: 1px solid var(--tv-line-soft);
  transition: transform 0.3s var(--tv-ease), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.tv-cat::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232,197,71,0.12), transparent 70%);
  transition: opacity 0.3s;
}
.tv-cat:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 197, 71, 0.3);
  box-shadow: var(--tv-glow-lg), var(--tv-shadow-sm);
}
.tv-cat:hover::before { opacity: 1; }

.tv-cat__icon-wrap {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.45rem;
  background: rgba(232, 197, 71, 0.08);
  border: 1px solid rgba(232, 197, 71, 0.2);
  transition: transform 0.3s var(--tv-ease), box-shadow 0.3s;
}
.tv-cat:hover .tv-cat__icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.2);
}
.tv-cat.is-active {
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.2);
}
.tv-cat.is-active .tv-cat__name { color: var(--tv-gold); }
.tv-cat__name { font-weight: 700; font-size: 0.86rem; display: block; position: relative; }
.tv-cat__count { font-size: 0.72rem; color: var(--tv-muted); margin-top: 5px; display: block; position: relative; }

/* ── Listing cards ── */
.tv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .tv-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tv-cards { grid-template-columns: 1fr; } }

.tv-card {
  border-radius: 16px; overflow: hidden; display: block;
  background: var(--tv-surface-solid);
  border: 1px solid var(--tv-line-soft);
  box-shadow: var(--tv-shadow-sm);
  transition: box-shadow 0.35s var(--tv-ease), border-color 0.35s;
  will-change: transform;
}
.tv-card:hover {
  border-color: rgba(232, 197, 71, 0.25);
  box-shadow: var(--tv-glow-lg), var(--tv-shadow);
}

.tv-card__img {
  aspect-ratio: 16/10; background-size: cover; background-position: center;
  background-color: #1a1a1e; position: relative;
  transition: transform 0.65s var(--tv-ease);
}
.tv-card:hover .tv-card__img { transform: scale(1.06); }
.tv-card { overflow: hidden; }

.tv-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  pointer-events: none;
}

.tv-card__body { padding: 14px 16px 16px; position: relative; }
.tv-card__price {
  font-family: var(--tv-display); font-size: 1.05rem; font-weight: 800;
  color: var(--tv-gold); margin: 0 0 5px;
}
html[data-tavus-theme="light"] .tv-card__price,
html[data-tavus-theme="beige"] .tv-card__price,
html[data-tavus-theme="gray"] .tv-card__price {
  color: var(--tv-gold-deep);
}
html[data-tavus-theme="sky"] .tv-card__price {
  color: #2a6098;
}
.tv-card__title { margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--tv-text); }
.tv-card__meta { margin-top: 6px; font-size: 0.74rem; color: var(--tv-muted); }

.tv-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 0.6rem; font-weight: 800; padding: 5px 10px; border-radius: 6px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.tv-badge--featured {
  background: linear-gradient(135deg, var(--tv-gold), #f0d060);
  color: #1a1200; box-shadow: 0 4px 12px rgba(232,197,71,0.4);
}
.tv-badge--new { background: #fff; color: #111; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.tv-badge--free { background: #22c55e; color: #fff; }
.tv-badge--wanted { background: #818cf8; color: #fff; }

/* ── Widgets ── */
.tv-widget {
  border-radius: 16px; padding: 20px;
  background: var(--tv-surface-solid);
  border: 1px solid var(--tv-line-soft);
  box-shadow: var(--tv-shadow-sm);
  transition: transform 0.3s var(--tv-ease), box-shadow 0.3s;
}
.tv-widget:hover { box-shadow: var(--tv-shadow); }

.tv-widget h3 {
  margin: 0 0 8px; font-family: var(--tv-display); font-size: 0.95rem; font-weight: 700;
}

.tv-widget--premium {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(30,25,15,0.95) 0%, rgba(18,18,22,0.95) 100%);
  border-color: rgba(232, 197, 71, 0.3);
}
.tv-widget--premium::before {
  content: ""; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=500&q=80') center/cover;
  opacity: 0.12; pointer-events: none;
}
.tv-widget--premium::after {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,197,71,0.25), transparent 70%);
}
.tv-widget--premium > * { position: relative; z-index: 1; }
.tv-widget__crown { font-size: 1.6rem; margin-bottom: 4px; }
.tv-widget--premium .tv-btn { margin-top: 16px; }

.tv-recent { display: flex; flex-direction: column; gap: 4px; }
.tv-recent__item {
  display: flex; gap: 12px; align-items: center; padding: 10px 8px;
  border-radius: 10px; transition: background 0.2s;
  position: relative; z-index: 2; cursor: pointer;
  text-decoration: none; color: inherit;
  touch-action: manipulation;
}
.tv-recent__item:hover { background: rgba(232,197,71,0.06); }
.tv-recent__thumb {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  background-size: cover; background-position: center;
  border: 1px solid var(--tv-line-soft);
}
.tv-recent__title { font-weight: 600; font-size: 0.82rem; display: block; color: var(--tv-text); }
.tv-recent__meta { color: var(--tv-muted); font-size: 0.72rem; }

.tv-widget--review { border-color: rgba(232,197,71,0.15); }
.tv-review { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; }
.tv-review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--tv-gold-deep), var(--tv-gold));
  display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; color: #1a1200;
  box-shadow: 0 4px 12px rgba(232,197,71,0.3);
}
.tv-stars { color: var(--tv-gold); font-size: 0.78rem; letter-spacing: 2px; margin: 0 0 6px; }
.tv-quote { font-size: 0.82rem; color: var(--tv-muted); font-style: italic; margin: 0 0 6px; line-height: 1.5; }
.tv-review__name { font-size: 0.78rem; font-weight: 700; color: var(--tv-text); }

/* ── How it works ── */
.tv-how {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 40px; padding: 32px 24px; border-radius: 20px;
  background: var(--tv-surface); border: 1px solid var(--tv-line-soft);
  backdrop-filter: var(--tv-blur);
}
@media (max-width: 600px) { .tv-how { grid-template-columns: 1fr; } }

.tv-how__step { text-align: center; padding: 8px; }

a.tv-how__step--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
}
.tv-how__icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: rgba(232, 197, 71, 0.1);
  border: 1.5px solid rgba(232, 197, 71, 0.35);
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.08);
  transition: transform 0.3s var(--tv-ease), box-shadow 0.3s;
}
.tv-how__step:hover .tv-how__icon {
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(232, 197, 71, 0.2);
}
.tv-how__step strong { display: block; font-family: var(--tv-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.tv-how__step p { margin: 0; font-size: 0.78rem; color: var(--tv-muted); }

/* ── Footer ── */
.tv-footer {
  margin-top: 48px; padding: 36px 0 0;
  border-top: 1px solid var(--tv-line-soft);
  background: rgba(var(--tv-footer-bg, 5, 5, 5), 0.65);
  backdrop-filter: blur(12px);
}

.tv-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
  font-size: 0.84rem; padding-bottom: 28px;
}
@media (max-width: 768px) { .tv-footer__grid { grid-template-columns: 1fr 1fr; } }
.tv-footer h4 { margin: 0 0 12px; font-family: var(--tv-display); font-size: 0.88rem; font-weight: 700; }
.tv-footer a { color: var(--tv-muted); display: block; padding: 4px 0; transition: color 0.2s; }
.tv-footer a:hover { color: var(--tv-gold); }
.tv-footer__brand {
  font-family: var(--tv-logo); font-weight: 700; font-size: 1.5rem;
  color: var(--tv-gold); margin-bottom: 10px; letter-spacing: 0.06em;
}
.tv-footer__tagline { margin: 0; color: var(--tv-muted); font-size: 0.82rem; line-height: 1.65; }
.tv-footer__bottom {
  padding: 16px 0 28px; text-align: center;
  font-size: 0.75rem; color: var(--tv-muted); opacity: 0.7;
  border-top: 1px solid var(--tv-line-soft);
}

/* ── Theme toggle ── */
html[data-tavus-theme="light"] .tv-detail__price,
html[data-tavus-theme="beige"] .tv-detail__price,
html[data-tavus-theme="gray"] .tv-detail__price {
  color: var(--tv-gold-deep);
}
html[data-tavus-theme="sky"] .tv-detail__price {
  color: #2a6098;
}

/* ── 5-theme picker ── */
.tv-theme-picker {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  padding: 12px 14px; border-radius: 16px;
  background: var(--tv-surface-solid);
  border: 1px solid var(--tv-line-soft);
  box-shadow: var(--tv-shadow);
  backdrop-filter: var(--tv-blur);
}
.tv-theme-picker__label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tv-muted); width: 100%; text-align: center;
}
.tv-theme-picker__swatches { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 220px; }
.tv-theme-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 2px solid transparent; border-radius: 10px; padding: 6px 8px;
  background: transparent; cursor: pointer; transition: border-color 0.2s, transform 0.2s;
  font: inherit;
}
.tv-theme-swatch i {
  display: block; width: 28px; height: 28px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.15);
}
.tv-theme-swatch span {
  font-size: 0.62rem; font-weight: 600; color: var(--tv-muted);
}
.tv-theme-swatch.is-active { border-color: var(--tv-gold); transform: scale(1.05); }
.tv-theme-swatch.is-active span { color: var(--tv-gold); }
.tv-theme-swatch--dark i { background: linear-gradient(145deg, #1a1a1a, #000); }
.tv-theme-swatch--light i { background: linear-gradient(145deg, #ffffff, #fafafa); }
.tv-theme-swatch--beige i { background: linear-gradient(145deg, #fefefd, #f7f6f4); }
.tv-theme-swatch--gray i { background: linear-gradient(145deg, #fafbfc, #eef0f2); }
.tv-theme-swatch--sky i { background: linear-gradient(145deg, #f8fbff, #e8f2fa); }
.tv-theme-swatch:hover { transform: scale(1.08); }

html[data-tavus-theme="light"] .tv-widget--premium,
html[data-tavus-theme="beige"] .tv-widget--premium,
html[data-tavus-theme="gray"] .tv-widget--premium {
  background: linear-gradient(160deg, #fff9eb 0%, var(--tv-surface-solid) 100%);
  border-color: rgba(184, 148, 42, 0.28);
}
html[data-tavus-theme="light"] .tv-search,
html[data-tavus-theme="beige"] .tv-search,
html[data-tavus-theme="gray"] .tv-search {
  background: var(--tv-surface-solid);
  border-color: var(--tv-line-soft);
}
html[data-tavus-theme="light"] .tv-search select,
html[data-tavus-theme="beige"] .tv-search select,
html[data-tavus-theme="gray"] .tv-search select {
  border-left-color: var(--tv-line-soft);
  background: var(--tv-bg-2);
}
html[data-tavus-theme="sky"] .tv-widget--premium {
  background: linear-gradient(160deg, #eef6ff 0%, var(--tv-surface-solid) 100%);
  border-color: rgba(120, 180, 240, 0.28);
}
html[data-tavus-theme="sky"] .tv-search {
  background: var(--tv-surface-solid);
  border-color: var(--tv-line-soft);
}
html[data-tavus-theme="sky"] .tv-search select {
  border-left-color: var(--tv-line-soft);
  background: var(--tv-bg-2);
}
html[data-tavus-theme="sky"] .tv-section__label { color: #4a8ec4; }
html[data-tavus-theme="sky"] .tv-link-arrow { color: #3d7ab8; }
html[data-tavus-theme="sky"] .tv-catnav__item:hover { background: rgba(140, 190, 255, 0.12); color: #3d7ab8; }

.tv-mode-toggle { display: none; }

/* ── Inner pages ── */
.tv-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.tv-page-head { padding: 28px 0 12px; position: relative; }
.tv-page-head h1 { font-family: var(--tv-display); font-weight: 800; margin: 0 0 6px; font-size: 1.75rem; letter-spacing: -0.02em; }
.tv-page-head p { margin: 0; color: var(--tv-muted); }
.tv-form-note {
  margin-top: 10px !important;
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(240, 208, 96, 0.08);
  border: 1px solid rgba(240, 208, 96, 0.2);
  color: var(--tv-muted);
}
.tv-site-code {
  margin: 0;
  font-size: 0.72rem;
  color: var(--tv-muted);
  opacity: 0.85;
}

.tv-filters {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
  background: var(--tv-surface); border: 1px solid var(--tv-line-soft);
  border-radius: var(--tv-radius); padding: 16px; backdrop-filter: var(--tv-blur);
}
.tv-filters label { font-size: 0.76rem; color: var(--tv-muted); display: block; margin-bottom: 4px; }
.tv-filters select {
  border: 1px solid var(--tv-line-soft); border-radius: var(--tv-radius);
  padding: 8px 12px; font: inherit; font-weight: 500;
  background: var(--tv-bg); color: var(--tv-text);
  cursor: pointer;
  color-scheme: light;
  -webkit-appearance: menulist;
  appearance: menulist;
  min-width: 160px;
}
.tv-filters select option {
  background: #ffffff;
  color: #141414;
  font-weight: 500;
}
.tv-filters select option:checked {
  background: #2563eb;
  color: #ffffff;
}

.tv-type-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tv-type-tabs a {
  padding: 9px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--tv-line-soft); background: var(--tv-surface); color: var(--tv-text);
  transition: all 0.2s;
}
.tv-type-tabs a.is-active {
  background: linear-gradient(135deg, var(--tv-gold), var(--tv-gold-deep));
  color: #1a1200; border-color: transparent;
}

.tv-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px 0; }
@media (max-width: 768px) { .tv-detail { grid-template-columns: 1fr; } }
.tv-detail__gallery img {
  width: 100%; border-radius: 16px; aspect-ratio: 4/3; object-fit: cover;
  box-shadow: var(--tv-shadow); border: 1px solid var(--tv-line-soft);
}
.tv-detail__info h1 { font-family: var(--tv-display); font-weight: 800; margin: 12px 0; font-size: 1.65rem; }
.tv-detail__price { font-family: var(--tv-display); font-size: 2rem; font-weight: 800; color: var(--tv-gold); margin: 0; }
.tv-detail__loc { color: var(--tv-muted); font-size: 0.88rem; }
.tv-detail__desc { margin: 16px 0; line-height: 1.7; color: var(--tv-muted); }
.tv-detail__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.tv-detail__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tv-tag {
  font-size: 0.74rem; padding: 5px 12px; border-radius: 999px;
  background: rgba(232,197,71,0.08); border: 1px solid var(--tv-line);
}
.tv-tag--vip { background: rgba(232,197,71,0.15); border-color: var(--tv-gold); color: var(--tv-gold); }

.tv-form { max-width: 560px; margin: 0 auto; }
.tv-form--wide { max-width: 720px; }
.tv-field { margin-bottom: 16px; }
.tv-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.tv-field input, .tv-field select, .tv-field textarea {
  width: 100%; border: 1px solid var(--tv-line-soft); border-radius: var(--tv-radius);
  padding: 13px 16px; font: inherit; background: var(--tv-surface-solid); color: var(--tv-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tv-field input:focus, .tv-field select:focus, .tv-field textarea:focus {
  outline: none; border-color: rgba(232,197,71,0.4);
  box-shadow: 0 0 0 3px rgba(232,197,71,0.1);
}
.tv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .tv-form-grid { grid-template-columns: 1fr; } }

.tv-auth-box {
  max-width: 420px; margin: 48px auto; padding: 32px;
  background: var(--tv-surface); backdrop-filter: var(--tv-blur);
  border: 1px solid var(--tv-line-soft); border-radius: 20px;
  box-shadow: var(--tv-shadow);
}
.tv-auth-box h1 { font-family: var(--tv-display); font-weight: 800; margin: 0 0 8px; font-size: 1.45rem; text-align: center; }
.tv-auth-box p { text-align: center; color: var(--tv-muted); font-size: 0.88rem; margin: 0 0 24px; }

.tv-contact-form textarea {
  width: 100%; border: 1px solid var(--tv-line-soft); border-radius: var(--tv-radius);
  padding: 12px; font: inherit; margin-bottom: 8px;
  background: var(--tv-surface-solid); color: var(--tv-text);
  min-height: 110px; resize: vertical;
}
.tv-contact-form__label {
  display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 8px;
  color: var(--tv-text);
}
.tv-contact-form.is-open textarea {
  border-color: rgba(232, 197, 71, 0.35);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.12);
}
.tv-detail__gallery--interactive {
  position: relative; cursor: pointer; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--tv-line-soft);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tv-detail__gallery--interactive:hover {
  box-shadow: var(--tv-shadow-sm);
  transform: translateY(-2px);
}
.tv-detail__gallery-hint {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.62); color: #f5f3ef;
  font-size: 0.78rem; font-weight: 600; text-align: center;
  backdrop-filter: blur(8px);
}
.tv-detail__seller-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; margin: 16px 0 8px;
  border-radius: 14px; background: var(--tv-bg-2);
  border: 1px solid var(--tv-line-soft);
}
.tv-detail__seller-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--tv-display); font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--tv-gold), var(--tv-gold-deep));
  color: #1a1200; flex-shrink: 0;
}
.tv-detail__seller-meta { display: flex; flex-direction: column; gap: 2px; }
.tv-detail__seller-meta strong { font-size: 0.95rem; }
.tv-detail__seller-meta span { font-size: 0.76rem; color: var(--tv-muted); }
.tv-msg {
  background: var(--tv-surface); border: 1px solid var(--tv-line-soft);
  border-radius: var(--tv-radius); padding: 16px; margin-bottom: 10px;
}
.tv-empty { text-align: center; color: var(--tv-muted); padding: 48px 20px; }
.tv-empty a { color: var(--tv-gold); font-weight: 600; }

.tv-toast {
  position: fixed; bottom: 88px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--tv-gold), var(--tv-gold-deep));
  color: #1a1200; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem; opacity: 0; transition: opacity 0.3s; z-index: 300;
  box-shadow: 0 8px 32px rgba(232,197,71,0.4);
}
.tv-toast--show { opacity: 1; }

.tv-premium-hero {
  text-align: center; padding: 48px 24px; border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(var(--tv-hero-overlay), 0.88), rgba(var(--tv-hero-overlay), 0.55)),
    url('https://images.unsplash.com/photo-1496442226666-8d0d0e62e903?w=1400&q=85') center/cover;
  border: 1px solid var(--tv-line-soft); margin: 24px 0;
  box-shadow: var(--tv-shadow);
}
.tv-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tv-price-card {
  background: var(--tv-surface); border: 1px solid var(--tv-line-soft);
  border-radius: 16px; padding: 28px; text-align: center;
  transition: transform 0.3s var(--tv-ease);
}
.tv-price-card:hover { transform: translateY(-4px); }
.tv-price-card--featured { border-color: var(--tv-gold); box-shadow: var(--tv-glow-lg); }
.tv-price-card .tv-price { font-size: 2.2rem; font-weight: 800; color: var(--tv-gold); margin: 12px 0; }
.tv-price-card ul { list-style: none; padding: 0; margin: 16px 0; font-size: 0.82rem; color: var(--tv-muted); text-align: left; }
.tv-price-card li::before { content: "✓ "; color: var(--tv-gold); font-weight: 700; }

.tv-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tv-feature { display: flex; gap: 12px; background: var(--tv-surface); border: 1px solid var(--tv-line-soft); border-radius: var(--tv-radius); padding: 16px; }
.tv-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.tv-step { background: var(--tv-surface); border: 1px solid var(--tv-line-soft); border-radius: var(--tv-radius); padding: 20px; text-align: center; }
.tv-cta { border-radius: 16px; padding: 32px; text-align: center; background: var(--tv-surface); border: 1px solid var(--tv-line-soft); }

.tv-cat__icon-wrap .tv-cat__icon { margin: 0; font-size: 1.45rem; display: block; }
