/* ============================================================
   WatchesLuxury.org — Luxury Pre-Owned Watch Marketplace
   Premium Navy / Gold / Cream Theme
   ============================================================ */

/* ----------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  /* Palette — Aligned with Brand Proposal */
  --bg-primary: #0B1220;
  /* Deep Navy */
  --bg-secondary: #0F172A;
  /* Dark Slate */
  --bg-accent: #1E293B;
  /* Lighter Accent */

  --navy: #0B1220;
  --navy-light: #131B2E;
  --navy-dark: #05070A;
  --gold: #D4AF37;
  --gold-light: #FFE066;
  --gold-dark: #AA8C2C;
  --cream: #0B1220;
  /* Darkened to Navy */
  --cream-dark: #0F172A;
  --dark-grey: #F8FAFC;
  /* Off-White for Text */
  --mid-grey: #94A3B8;
  --light-grey: #1E293B;
  /* Slate border */
  --white: #0B1220;
  /* Redefined to Navy as requested */
  --black: #000000;
  /* Deepest Shadow */
  --red: #C0392B;
  --green: #27AE60;
  --blue: #2980B9;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.25);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-fast: 0.15s ease;

  /* Layout */
  --header-height: 72px;
  --sidebar-width: 260px;
  --container-max: 1280px;
}

/* ----------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-grey);
  background: radial-gradient(circle at top right, #131B2E 0%, #0B1220 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition);
}

a:hover {
  color: var(--gold);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
  color: inherit;
  transition: all var(--transition);
}

button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--dark-grey);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

input:disabled,
textarea:disabled,
select:disabled {
  background-color: var(--light-grey);
  cursor: not-allowed;
  opacity: 0.6;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A5A5A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  list-style: none;
}

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

/* ----------------------------------------------------------
   2. UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  box-shadow: var(--shadow-gold);
  color: var(--navy);
}

.btn--gold:active {
  background: var(--gold-dark);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn--danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--danger:hover {
  background: #A93226;
  border-color: #A93226;
}

/* Sections */
.section {
  padding: var(--space-4xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--mid-grey);
  max-width: 600px;
  margin: 0.75rem auto 0;
  line-height: 1.6;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: all var(--transition);
}

.section__link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ----------------------------------------------------------
   3. HEADER / NAV — matches header.php template structure
   ---------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header--scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ── Top bar: currency + sign in ── */
.header__top {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
}

.header__top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.header__top-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.header__currency-label {
  font-size: 0.75rem;
}

.header__currency-select {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.header__currency-select option {
  background: var(--navy);
  color: var(--white);
}

.header__top-right {
  display: flex;
  gap: 1rem;
}

.header__top-right a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  transition: color var(--transition);
}

.header__top-right a:hover {
  color: var(--gold);
}

/* ── Main nav bar ── */
.header__nav {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.header__nav>.container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-icon {
  font-size: 1.5rem;
  color: var(--gold);
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

.header__logo-tld {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
}

.header__logo:hover .header__logo-text {
  color: var(--gold-light);
}

/* Search bar in header */
.header__search {
  flex: 1;
  max-width: 480px;
  margin: 0 1rem;
}

.search-form {
  position: relative;
  display: flex;
}

.search-form__input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.search-form__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-form__input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
}

.search-form__btn {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  display: flex;
}

.search-form__suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem;
  z-index: 100;
}

/* Action buttons */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header__action {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  transition: color var(--transition);
}

.header__action:hover {
  color: var(--gold);
}

.header__action-label {
  display: none;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Brands Mega Menu ── */
.header__mega {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
}

.header__mega.active {
  display: block;
}

.header__mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.header__mega-section h4 {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.header__mega-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.header__mega-section a:hover {
  color: var(--gold);
}

.header__mega-section--cta .btn {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
}

/* ── Sub navigation ── */
.header__sub {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.header__sub .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header__sub .container::-webkit-scrollbar {
  display: none;
}

.header__sub a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.header__sub a:hover,
.header__sub a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
}

.mobile-menu__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--navy);
  z-index: 1002;
  overflow-y: auto;
  padding: 1.5rem;
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.mobile-menu__search {
  margin-bottom: 1rem;
}

.mobile-menu__search input {
  width: 100%;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.875rem;
}

.mobile-menu__search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu__nav a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  padding: 0.75rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.mobile-menu__nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
}

.mobile-menu__nav .btn {
  text-align: center;
  margin-top: 0.5rem;
}

/* ----------------------------------------------------------
   4. HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(13, 27, 42, 0.85) 0%,
      rgba(13, 27, 42, 0.7) 50%,
      rgba(13, 27, 42, 0.9) 100%);
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero__pre-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero__pre-title::before,
.hero__pre-title::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero__title span {
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Hero search */
.hero__search {
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.hero__search-inner {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__search-icon {
  padding: 0 0.5rem 0 1rem;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero__search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.875rem 0.75rem;
  font-size: 1rem;
  background: transparent;
  color: var(--dark-grey);
}

.hero__search-input:focus {
  box-shadow: none;
}

.hero__search-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.hero__search-btn:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  box-shadow: var(--shadow-gold);
}

.hero__popular-searches {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero__popular-searches a {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  font-size: 0.8125rem;
}

.hero__popular-searches a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* ----------------------------------------------------------
   5. STATS BAR
   ---------------------------------------------------------- */
.stats-bar {
  background: var(--navy-light);
  border-top: 1px solid var(--gold);
  padding: 2.5rem 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
}

.stats-bar__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-bar__item {
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--light-grey);
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.stats-bar__label {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ----------------------------------------------------------
   6. LISTING CARDS
   ---------------------------------------------------------- */
.listing-grid {
  display: grid;
  gap: 1.5rem;
}

.listing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.listing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-grey);
  transition: all var(--transition);
  position: relative;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.listing-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}

.listing-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.listing-card:hover .listing-card__image {
  transform: scale(1.05);
}

.listing-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.listing-card__badge--featured {
  background: var(--gold);
  color: var(--navy);
}

.listing-card__badge--cpo {
  background: var(--green);
  color: var(--white);
}

.listing-card__badge--price-drop {
  background: var(--red);
  color: var(--white);
}

.listing-card__body {
  padding: 1.25rem;
}

.listing-card__brand {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.listing-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card__title a {
  color: inherit;
  text-decoration: none;
}

.listing-card__title a:hover {
  color: var(--gold-dark);
}

.listing-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--mid-grey);
}

.listing-card__specs span {
  padding: 0.2rem 0.5rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.listing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-grey);
}

.listing-card__price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.listing-card__price-old {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 0.5rem;
  font-family: var(--font-body);
}

.listing-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.listing-card__wishlist-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--light-grey);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
}

.listing-card__wishlist-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: #FFF5F5;
}

.listing-card__wishlist-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: #FFF5F5;
}

/* ----------------------------------------------------------
   7. BRAND ROW
   ---------------------------------------------------------- */
.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.brand-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all var(--transition);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
}

.brand-row__item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.brand-row__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition);
}

.brand-row__item:hover .brand-row__logo {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-row__name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid-grey);
  transition: color var(--transition);
}

.brand-row__item:hover .brand-row__name {
  color: var(--gold);
}

/* ----------------------------------------------------------
   8. STEP CARDS
   ---------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--light-grey);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.step-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
}

.step-card__text {
  font-size: 0.875rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   9. NEWS CARDS
   ---------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-grey);
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card__image-link {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  position: relative;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image {
  transform: scale(1.05);
}

.news-card__image--placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2rem;
}

.news-card__source {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.news-card__body {
  padding: 1.25rem;
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
}

.news-card__title a:hover {
  color: var(--gold-dark);
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--mid-grey);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--mid-grey);
  font-weight: 500;
}

/* ----------------------------------------------------------
   10. CTA BANNERS
   ---------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.05);
}

.cta-banner--quiz {
  background: linear-gradient(135deg, var(--navy-light), #1E3A5F);
}

.cta-banner--affiliate {
  background: linear-gradient(135deg, #1A1A2E, var(--navy));
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner__title span {
  color: var(--gold-light);
}

.cta-banner__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-banner__illustration {
  flex-shrink: 0;
  max-width: 240px;
  position: relative;
  z-index: 2;
}

.cta-banner__illustration img {
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------------------------
   11. LISTING DETAIL
   ---------------------------------------------------------- */
.listing-detail {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-4xl);
}

.listing-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Gallery */
.listing-detail__gallery {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.listing-detail__gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-grey);
  margin-bottom: 1rem;
}

.listing-detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-detail__gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.listing-detail__gallery-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: var(--white);
}

.listing-detail__gallery-thumb:hover,
.listing-detail__gallery-thumb.active {
  border-color: var(--gold);
}

.listing-detail__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Panel */
.listing-detail__info {
  padding-top: 0.5rem;
}

.listing-detail__brand-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
}

.listing-detail__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.listing-detail__reference {
  font-size: 0.875rem;
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

/* Price block */
.listing-detail__price-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--light-grey);
}

.listing-detail__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.listing-detail__price-indicator {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.listing-detail__price-indicator--fair {
  background: rgba(39, 174, 96, 0.1);
  color: var(--green);
}

.listing-detail__price-indicator--above {
  background: rgba(192, 57, 43, 0.1);
  color: var(--red);
}

.listing-detail__price-indicator--below {
  background: rgba(41, 128, 185, 0.1);
  color: var(--blue);
}

/* Meta grid */
.listing-detail__meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.listing-detail__meta-item {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.listing-detail__meta-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid-grey);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.listing-detail__meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.listing-detail__description {
  font-size: 0.9375rem;
  color: var(--dark-grey);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
}

/* Actions */
.listing-detail__actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.listing-detail__actions .btn {
  flex: 1;
}

.listing-detail__share-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--mid-grey);
}

.listing-detail__share-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--light-grey);
  color: var(--mid-grey);
  transition: all var(--transition);
}

.listing-detail__share-row a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* Seller card */
.listing-detail__seller-card {
  padding: 1.5rem;
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
  margin-bottom: 2rem;
}

.listing-detail__seller-card h4 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mid-grey);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

/* Tabs */
.listing-detail__tabs {
  display: flex;
  border-bottom: 2px solid var(--light-grey);
  margin-bottom: 1.5rem;
  gap: 0;
}

.listing-detail__tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mid-grey);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
}

.listing-detail__tab:hover {
  color: var(--gold);
}

.listing-detail__tab--active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.listing-detail__tab-content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--dark-grey);
}

/* ----------------------------------------------------------
   12. AUTH
   ---------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: transparent;
  padding-top: calc(var(--header-height) + 2rem);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--navy-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-grey);
}

.auth-card__header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-card__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.auth-card__header p {
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.auth-card__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

.form-group__label .required {
  color: var(--red);
}

.form-group__input {
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.03);
}

.form-group__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  outline: none;
}

.form-group__input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-group__error {
  font-size: 0.8125rem;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-group__hint {
  font-size: 0.8125rem;
  color: var(--mid-grey);
}

.auth-card__footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-grey);
  font-size: 0.875rem;
  color: var(--mid-grey);
}

.auth-card__footer a {
  color: var(--gold-dark);
  font-weight: 600;
}

.auth-card__footer a:hover {
  color: var(--gold);
}

.auth-form {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--navy-light);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-grey);
}

/* ----------------------------------------------------------
   13. DASHBOARD
   ---------------------------------------------------------- */
.dashboard {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-4xl);
}

.dashboard__header {
  margin-bottom: 2rem;
}

.dashboard__header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.dashboard__header p {
  color: var(--mid-grey);
  font-size: 1rem;
}

.dashboard__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard__stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--light-grey);
  transition: all var(--transition);
}

.dashboard__stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.dashboard__stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.dashboard__stat-label {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.dashboard__stat-change {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dashboard__stat-change.positive {
  color: var(--green);
}

.dashboard__stat-change.negative {
  color: var(--red);
}

.dashboard__chart-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--light-grey);
  margin-bottom: 2rem;
  min-height: 300px;
}

.dashboard__recent-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
  overflow: hidden;
}

.dashboard__recent-table table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard__recent-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid-grey);
  font-weight: 600;
  background: var(--cream);
  border-bottom: 1px solid var(--light-grey);
}

.dashboard__recent-table td {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--dark-grey);
  border-bottom: 1px solid var(--light-grey);
}

.dashboard__recent-table tr:last-child td {
  border-bottom: none;
}

.dashboard__recent-table tr:hover td {
  background: var(--cream);
}

/* ----------------------------------------------------------
   14. SEARCH PAGE
   ---------------------------------------------------------- */
.search-page {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-4xl);
}

.search-page .container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Filters sidebar */
.search-page__filters {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--light-grey);
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.search-page__results {
  min-width: 0;
}

.filter-group {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--light-grey);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group__options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--dark-grey);
  cursor: pointer;
  padding: 0.25rem 0;
}

.filter-group__options label:hover {
  color: var(--gold);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--light-grey);
  background: var(--white);
  color: var(--dark-grey);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.filter-chip--active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
}

.search-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.search-results__count {
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.search-results__count strong {
  color: var(--navy);
}

.search-results__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--mid-grey);
}

.search-results__sort select {
  width: auto;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------
   15. COLLECTION
   ---------------------------------------------------------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.collection-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-light);
  border: 1px solid var(--light-grey);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.collection-card__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.collection-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-card__cover img {
  transform: scale(1.05);
}

.collection-card__info {
  padding: 1.25rem;
}

.collection-card__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.collection-card__count {
  font-size: 0.8125rem;
  color: var(--mid-grey);
}

/* Collection detail */
.collection-detail {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-4xl);
}

.collection-detail__header {
  margin-bottom: 2rem;
  text-align: center;
}

.collection-detail__header h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.collection-detail__header p {
  color: var(--mid-grey);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.collection-detail__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ----------------------------------------------------------
   16. QUIZ
   ---------------------------------------------------------- */
.quiz-page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.quiz-card {
  width: 100%;
  max-width: 640px;
  background: var(--navy-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-grey);
}

.quiz-card__question {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark-grey);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.35;
}

.quiz-card__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.quiz-card__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9375rem;
  color: var(--dark-grey);
  background: rgba(255, 255, 255, 0.02);
}

.quiz-card__option:hover {
  border-color: var(--gold-light);
  background: rgba(201, 168, 76, 0.03);
}

.quiz-card__option--selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-light);
  font-weight: 600;
}

.quiz-card__progress {
  height: 4px;
  background: var(--light-grey);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.quiz-card__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.5s ease;
}

.quiz-card__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Quiz result */
.quiz-result {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: var(--space-4xl);
  text-align: center;
}

.quiz-result__card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-grey);
}

.quiz-result__card h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.quiz-result__watch {
  max-width: 280px;
  margin: 1.5rem auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.quiz-result__watch img {
  width: 100%;
  height: auto;
}

.quiz-result__share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quiz-result__share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--light-grey);
  color: var(--mid-grey);
  transition: all var(--transition);
}

.quiz-result__share a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ----------------------------------------------------------
   17. COMPARE
   ---------------------------------------------------------- */
.compare-page {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-4xl);
}

.compare-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.compare-column {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.compare-column__header {
  padding: 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-column__header h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
}

.compare-column__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}

.compare-column__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-column__specs {
  padding: 0;
}

.compare-row {
  display: flex;
  flex-direction: column;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--light-grey);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid-grey);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.compare-row__value {
  font-size: 0.9375rem;
  color: var(--dark-grey);
  font-weight: 500;
}

.compare-row__value--winner {
  color: var(--gold-dark);
  font-weight: 700;
  position: relative;
}

.compare-row__value--winner::after {
  content: ' \2605';
  color: var(--gold);
}

/* ----------------------------------------------------------
   18. LEADERBOARD
   ---------------------------------------------------------- */
.leaderboard {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-4xl);
}

.leaderboard h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

.leaderboard__table {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
  overflow: hidden;
}

.leaderboard__table table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard__table th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard__table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--light-grey);
  font-size: 0.9375rem;
}

.leaderboard__table tr:last-child td {
  border-bottom: none;
}

.leaderboard__table tr:hover td {
  background: var(--cream);
}

.leaderboard__rank {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 1.125rem;
  min-width: 40px;
}

/* Top 3 gold styling */
.leaderboard__table tr:nth-child(-n+3) .leaderboard__rank {
  color: var(--gold);
}

.leaderboard__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--dark-grey);
}

.leaderboard__user img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--light-grey);
}

.leaderboard__badges {
  display: flex;
  gap: 0.375rem;
}

.leaderboard__score {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
}

.badge-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  border: 2px solid var(--light-grey);
  background: var(--white);
}

.badge-icon--earned {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-dark);
}

.badge-icon--locked {
  opacity: 0.35;
  filter: grayscale(1);
}

/* ----------------------------------------------------------
   19. ADMIN
   ---------------------------------------------------------- */
.admin-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--header-height);
}

.admin-sidebar {
  width: var(--sidebar-width);
  background: var(--navy);
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
  padding: 1.5rem 0;
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0 0.75rem;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
}

.admin-sidebar__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.admin-sidebar__link--active {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.1);
  font-weight: 600;
}

.admin-sidebar__link--active:hover {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.15);
}

.admin-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2rem;
  background: transparent;
  min-height: calc(100vh - var(--header-height));
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.admin-header h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-card {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--light-grey);
}

.admin-card h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mid-grey);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1rem;
}

.admin-table {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
  overflow: hidden;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: var(--dark-grey);
  border-bottom: 1px solid var(--light-grey);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--cream);
}

/* ----------------------------------------------------------
   20. PRICE CHART
   ---------------------------------------------------------- */
.price-chart {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.price-chart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.price-chart__header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
}

.price-chart__canvas {
  width: 100%;
  min-height: 280px;
  position: relative;
}

.price-chart__canvas canvas {
  width: 100% !important;
  height: 100% !important;
}

.price-chart__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--mid-grey);
}

.price-chart__legend span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.price-chart__legend span::before {
  content: '';
  display: block;
  width: 12px;
  height: 3px;
  border-radius: 2px;
}

.price-alert-form {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-alert-form .form-group {
  flex: 1;
}

.price-alert-form .btn {
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   21. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__col:first-child p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer__heading::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.5rem;
  border-radius: 1px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  padding: 0.125rem 0;
}

.footer__link:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__copyright a {
  color: var(--gold);
}

.footer__copyright a:hover {
  color: var(--gold-light);
}

/* ----------------------------------------------------------
   22. TOAST
   ---------------------------------------------------------- */
.toast {
  position: fixed;
  top: calc(var(--header-height) + 1rem);
  right: 1rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  min-width: 300px;
  max-width: 420px;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.show {
  transform: translateX(0);
}

.toast--success {
  background: var(--green);
}

.toast--error {
  background: var(--red);
}

.toast--info {
  background: var(--blue);
}

.toast__close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  transition: color var(--transition);
}

.toast__close:hover {
  color: var(--white);
}

/* ----------------------------------------------------------
   23. PAGINATION
   ---------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2.5rem;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  border: 1px solid var(--light-grey);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: all var(--transition);
}

.pagination__link:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.05);
}

.pagination__link--active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
}

.pagination__link--active:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy);
}

.pagination__link:disabled,
.pagination__link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ----------------------------------------------------------
   24. WHATSAPP FLOAT
   ---------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

/* ----------------------------------------------------------
   25. MODAL
   ---------------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal--open,
.modal.is-open {
  display: flex;
}

.modal__backdrop,
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__content,
.modal__dialog {
  position: relative;
  z-index: 2;
  background: var(--navy-light);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease;
}

.modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--mid-grey);
  transition: color var(--transition);
}

.modal__close:hover {
  color: var(--dark-grey);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}

.modal__header h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--white);
}

.modal__header button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mid-grey);
  transition: all var(--transition);
}

.modal__header button:hover {
  background: var(--cream);
  color: var(--dark-grey);
}

.modal__body {
  padding: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--dark-grey);
}

.modal__footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ----------------------------------------------------------
   26. EMBED CARD
   ---------------------------------------------------------- */
.embed-watch-card {
  font-family: var(--font-body);
  background: var(--navy-light);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 320px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.embed-watch-card:hover {
  box-shadow: var(--shadow-md);
}

.embed-watch-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.embed-watch-card .embed-body {
  padding: 1rem;
}

.embed-watch-card .embed-brand {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
}

.embed-watch-card .embed-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin: 0.25rem 0 0.5rem;
}

.embed-watch-card .embed-price {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold);
}

.embed-watch-card .embed-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-dark);
  border-bottom: 1px solid transparent;
}

.embed-watch-card .embed-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ----------------------------------------------------------
   27. FORM ELEMENTS (luxury styled)
   ---------------------------------------------------------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-group--radio label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  padding: 0.375rem 0;
}

.form-group--radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-group textarea {
  min-height: 120px;
}

input[type="file"] {
  padding: 0.625rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

input[type="file"]:hover {
  border-color: var(--gold-light);
}

input[type="file"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--light-grey);
  outline: none;
  border: none;
  padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--gold-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--gold-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--light-grey);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.toggle__slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition);
}

.toggle input:checked+.toggle__slider {
  background: var(--gold);
}

.toggle input:checked+.toggle__slider::before {
  transform: translateX(22px);
}

.toggle input:focus+.toggle__slider {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* ----------------------------------------------------------
   28. LOADING
   ---------------------------------------------------------- */

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg,
      var(--light-grey) 25%,
      #F0F0F0 37%,
      var(--light-grey) 63%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
  min-height: 20px;
}

@keyframes skeletonPulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--light-grey);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Spinner sizes */
.spinner--sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.spinner--lg {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

/* ----------------------------------------------------------
   29. RESPONSIVE
   ---------------------------------------------------------- */

/* ---- 1280px and below ---- */
@media (max-width: 1280px) {
  .listing-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  .footer__col:first-child {
    grid-column: 1 / -1;
  }
}

/* ---- 1024px and below (tablet landscape) ---- */
@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .listing-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .listing-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-bar__item:nth-child(2)::after {
    display: none;
  }

  .search-page .container {
    grid-template-columns: 1fr;
  }

  .search-page__filters {
    position: static;
    margin-bottom: 1rem;
  }

  .listing-detail__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .listing-detail__gallery {
    position: static;
  }

  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-detail__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Admin: collapse sidebar */
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
  }

  .cta-banner__illustration {
    max-width: 180px;
  }
}

/* ---- 768px and below (tablet portrait) ---- */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section__title {
    font-size: 1.625rem;
  }

  .hero {
    min-height: 480px;
  }

  .hero__container {
    padding: 3rem 1rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__search-inner {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 0.5rem;
  }

  .hero__search-icon {
    display: none;
  }

  .hero__search-input {
    text-align: center;
    padding: 0.75rem;
  }

  .hero__search-btn {
    width: 100%;
    border-radius: var(--radius-md);
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stats-bar__item::after {
    display: none;
  }

  .brand-row {
    gap: 1rem;
  }

  .brand-row__item {
    padding: 0.75rem;
  }

  .brand-row__logo {
    width: 48px;
    height: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__col:first-child {
    grid-column: 1 / -1;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

  .quiz-card {
    padding: 2rem 1.5rem;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .listing-detail__actions {
    flex-direction: column;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal__content {
    max-width: 100%;
    margin: 0 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- 480px and below (mobile) ---- */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 0.875rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    min-height: 420px;
  }

  .hero__title {
    font-size: 1.875rem;
  }

  .hero__pre-title::before,
  .hero__pre-title::after {
    width: 16px;
  }

  .listing-grid--3,
  .listing-grid--4 {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-detail__items {
    grid-template-columns: 1fr;
  }

  .stats-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stats-bar__number {
    font-size: 1.375rem;
  }

  .dashboard__stats-grid {
    grid-template-columns: 1fr;
  }

  .listing-detail__gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .listing-detail__meta-grid {
    grid-template-columns: 1fr;
  }

  .listing-detail__title {
    font-size: 1.5rem;
  }

  .listing-detail__price {
    font-size: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }

  .btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .pagination {
    gap: 0.25rem;
  }

  .pagination__link {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    min-width: auto;
    max-width: none;
  }

  .leaderboard__table {
    overflow-x: auto;
  }

  .leaderboard__table table {
    min-width: 600px;
  }

  .admin-table {
    overflow-x: auto;
  }

  .admin-table table {
    min-width: 600px;
  }

  .dashboard__recent-table {
    overflow-x: auto;
  }

  .dashboard__recent-table table {
    min-width: 500px;
  }

  .cta-banner {
    padding: 2rem 1.5rem;
  }

  .cta-banner__title {
    font-size: 1.375rem;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.375rem;
    bottom: 1rem;
    right: 1rem;
  }
}

/* ----------------------------------------------------------
   25. GALLERY (listing detail)
   ---------------------------------------------------------- */
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.gallery__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.gallery__lightbox-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.9);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery__lightbox-btn:hover {
  background: var(--gold);
  transform: scale(1.1);
}

.gallery__sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 8px;
  text-transform: uppercase;
  z-index: 4;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.gallery__thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: rgba(255, 255, 255, 0.02);
}

.gallery__thumb:hover,
.gallery__thumb--active {
  border-color: var(--gold);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__video {
  margin-top: 1.5rem;
}

.gallery__video h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.gallery__video-embed {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy);
}

.gallery__video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ----------------------------------------------------------
   26. LIGHTBOX
   ---------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  padding: 1rem 0.75rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  z-index: 10;
  transition: all var(--transition);
  line-height: 1;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__prev {
  left: 1rem;
}

.lightbox__next {
  right: 1rem;
}

.lightbox__counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  z-index: 10;
}

body.lightbox-open {
  overflow: hidden;
}

/* ----------------------------------------------------------
   27. BREADCRUMB
   ---------------------------------------------------------- */
.breadcrumb {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.8125rem;
  color: var(--mid-grey);
  list-style: none;
}

.breadcrumb__list li+li::before {
  content: '/';
  margin: 0 0.5rem;
  color: var(--light-grey);
}

.breadcrumb__list a {
  color: var(--mid-grey);
  transition: color var(--transition);
}

.breadcrumb__list a:hover {
  color: var(--gold);
}

.breadcrumb__active {
  color: var(--gold);
  font-weight: 500;
}

/* ----------------------------------------------------------
   28. LISTING DETAIL COMPONENTS
   ---------------------------------------------------------- */
/* Brand label */
.listing-detail__brand {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
}

.listing-detail__ref,
.listing-detail__year {
  font-size: 0.875rem;
  color: var(--mid-grey);
  margin-bottom: 0.25rem;
}

/* Price section */
.listing-detail__price-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.listing-detail__market-badge {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.listing-detail__market-badge--good {
  background: rgba(39, 174, 96, 0.12);
  color: var(--green);
}

.listing-detail__market-badge--high {
  background: rgba(192, 57, 43, 0.12);
  color: var(--red);
}

.listing-detail__market-badge--neutral {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
}

/* Condition badge */
.listing-detail__condition {
  margin-bottom: 1.25rem;
}

.condition-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}

/* Specs table */
.listing-detail__specs {
  margin-bottom: 1.5rem;
}

.listing-detail__section-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  text-align: left;
  border-bottom: 1px solid var(--light-grey);
}

.specs-table th {
  color: var(--mid-grey);
  font-weight: 500;
  width: 40%;
}

.specs-table td {
  color: var(--white);
  font-weight: 600;
}

/* Badge items (box, papers, etc) */
.listing-detail__badges {
  margin-bottom: 1.5rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--light-grey);
  background: var(--navy-light);
  color: var(--mid-grey);
}

.badge-item--active {
  border-color: var(--green);
  color: var(--green);
  background: rgba(39, 174, 96, 0.05);
}

.badge-item--inactive {
  opacity: 0.5;
}

.badge-item--verified {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.08);
  font-weight: 600;
}

.badge-item--cpo {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

/* Seller card */
.listing-detail__seller {
  margin-bottom: 1.5rem;
}

.seller-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.seller-card__avatar {
  flex-shrink: 0;
}

.seller-card__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--light-grey);
}

.seller-card__avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.seller-card__info {
  flex: 1;
}

.seller-card__name {
  font-weight: 600;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.seller-card__since {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-bottom: 0.25rem;
}

.seller-card__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.star {
  color: var(--light-grey);
  font-size: 1rem;
}

.star--filled {
  color: var(--gold);
}

.seller-card__rating-text {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-left: 0.25rem;
}

.seller-card__verified {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  padding: 0.2rem 0.5rem;
  background: rgba(39, 174, 96, 0.1);
  border-radius: var(--radius-sm);
}

.seller-card__actions {
  flex-shrink: 0;
}

/* Buttons */
.btn--block {
  width: 100%;
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  color: var(--white);
}

/* Share section */
.listing-detail__share {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--light-grey);
}

.listing-detail__share h4 {
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--dark-grey);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.share-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.share-btn--x:hover {
  border-color: #1DA1F2;
  color: #1DA1F2;
}

.share-btn--instagram:hover {
  border-color: #E4405F;
  color: #E4405F;
}

.share-btn--reddit:hover {
  border-color: #FF4500;
  color: #FF4500;
}

/* Caption generator */
.listing-detail__caption-gen {
  margin-bottom: 1.5rem;
}

.caption-gen__output {
  margin-top: 0.75rem;
}

.caption-gen__textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  background: var(--navy-light);
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
  resize: vertical;
}

/* Embed code */
.listing-detail__embed {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--navy-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-grey);
}

.embed-code {
  width: 100%;
  padding: 0.75rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  background: var(--navy-dark);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  resize: none;
  color: var(--gold-light);
}

/* Collection dropdown */
.listing-detail__collection-dropdown {
  position: relative;
}

.collection-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-light);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  padding: 0.5rem;
  margin-top: 0.25rem;
  max-height: 240px;
  overflow-y: auto;
}

.collection-dropdown__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.collection-dropdown__item:hover {
  background: var(--cream);
}

.collection-dropdown__new {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--light-grey);
}

.collection-dropdown__new input {
  flex: 1;
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
}

/* Related listings */
.listing-detail__related {
  margin-top: 4rem;
  grid-column: 1 / -1;
}

/* Reviews section */
.listing-detail__reviews {
  margin-top: 3rem;
  grid-column: 1 / -1;
}

.reviews-list {
  margin-bottom: 2rem;
}

.review-item {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.review-item__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.review-item__author {
  font-weight: 600;
  color: var(--gold);
}

.review-item__stars .star {
  font-size: 0.875rem;
}

.review-item__date {
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-left: auto;
}

.review-item__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--dark-grey);
}

.review-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
}

.review-form-wrap h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.review-form__rating {
  margin-bottom: 1rem;
}

.review-form__rating label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
}

.review-form__field {
  margin-bottom: 1rem;
}

.review-form__field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
}

/* Star rating interactive */
.star-rating {
  display: inline-flex;
  gap: 0.25rem;
}

.star-rating__star {
  font-size: 1.5rem;
  color: var(--light-grey);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color var(--transition-fast);
}

.star-rating__star:hover,
.star-rating__star--active {
  color: var(--gold);
}

.star-rating__star--selected {
  color: var(--gold);
}

/* ----------------------------------------------------------
   29. TOAST CONTAINER & MODAL FIXES
   ---------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--navy-light);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  border-left: 4px solid var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left-width: 4px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.toast--dismiss {
  opacity: 0;
  transform: translateX(100%);
}

.toast--success {
  border-left-color: var(--green);
}

.toast--error,
.toast--danger {
  border-left-color: var(--red);
}

.toast--warning {
  border-left-color: var(--gold);
}

.toast--info {
  border-left-color: var(--blue);
}

.toast__close {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--mid-grey);
  line-height: 1;
  margin-left: auto;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.modal__dialog {
  position: relative;
  z-index: 2;
  background: var(--navy);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.modal__header h3 {
  font-size: 1.25rem;
}

.modal__close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--mid-grey);
  cursor: pointer;
  line-height: 1;
}

.modal__close:hover {
  color: var(--gold);
}

body.modal-open {
  overflow: hidden;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* Financing calculator */
.financing-calc {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.financing-calc h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.financing-calc__row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.financing-calc__row label {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 500;
}

.financing-calc__row input,
.financing-calc__row select {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.5rem;
}

.financing-calc__result {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  text-align: center;
}

.financing-calc__monthly {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.financing-calc__note {
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-top: 0.25rem;
}

/* Search suggestions */
.search-form__suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem;
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--light-grey);
}

.search-suggestion__item {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--dark-grey);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.search-suggestion__item:hover {
  background: var(--navy);
  color: var(--gold);
}

/* Listing card extras */
.listing-card__condition {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--white);
  border-radius: var(--radius-sm);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.listing-card__badge--verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--white);
  background: var(--gold);
}

.listing-card__ref {
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-bottom: 0.5rem;
}

.listing-card__views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--mid-grey);
}

.listing-card__wishlist {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--light-grey);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition);
}

.listing-card__wishlist:hover {
  border-color: var(--red);
  color: var(--red);
}

.listing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem 1.25rem;
}

/* Service history */
.listing-detail__service-history {
  margin-bottom: 1.5rem;
}

.service-timeline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--dark-grey);
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

/* Description */
.listing-detail__description {
  margin-bottom: 1.5rem;
}

.listing-detail__description-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--dark-grey);
}

/* ----------------------------------------------------------
   LEGAL PAGES (Privacy, Terms)
   ---------------------------------------------------------- */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-card h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.75rem;
}

.legal-card__updated {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  padding-left: 0.75rem;
  border-left: 3px solid var(--gold);
}

.legal-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--dark-grey);
  margin-bottom: 1rem;
}

.legal-card strong {
  color: var(--gold-dark);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .legal-card h1 {
    font-size: 1.75rem;
  }
}

/* ----------------------------------------------------------
   ERROR PAGES (404, etc.)
   ---------------------------------------------------------- */
.error-page {
  padding: 4rem 0 5rem;
  text-align: center;
}

.error-page__content {
  max-width: 600px;
  margin: 0 auto;
}

.error-page__illustration {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.error-page__illustration svg {
  opacity: 0.8;
}

.error-page__title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.error-page__message {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--mid-grey);
  margin-bottom: 2rem;
}

.error-page__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.error-page__suggestions {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
}

.error-page__suggestions h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.error-page__suggestion-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.error-page__suggestion {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--navy-light);
  color: var(--dark-grey);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid var(--light-grey);
}

.error-page__suggestion:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .error-page__title {
    font-size: 1.75rem;
  }

  .error-page__links {
    flex-direction: column;
    align-items: center;
  }
}

/* ----------------------------------------------------------
   COLLECTION DETAIL ENHANCEMENTS
   ---------------------------------------------------------- */
.collection-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
}

.collection-detail__title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.collection-detail__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.collection-detail__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--mid-grey);
}

.collection-detail__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.collection-detail__header-right {
  display: flex;
  gap: 0.75rem;
}

.collection-detail__empty {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
}

.collection-detail__empty h2 {
  margin: 1rem 0 0.5rem;
}

.collection-detail__empty p {
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

.collection-detail__add-section {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
}

.collection-detail__add-section h3 {
  margin-bottom: 1rem;
}

.collection-detail__add-row {
  display: flex;
  gap: 1rem;
}

.collection-detail__add-row .form-control {
  flex: 1;
}

.listing-card-wrap {
  position: relative;
}

.collection-detail__remove-form {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 5;
}

.collection-detail__remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: rgba(192, 57, 43, 0.9);
  color: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.collection-detail__remove-btn:hover {
  background: var(--red);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .collection-detail__header {
    flex-direction: column;
  }

  .collection-detail__add-row {
    flex-direction: column;
  }
}

/* ----------------------------------------------------------
   FILTER SIDEBAR ENHANCEMENTS
   ---------------------------------------------------------- */
.listings-page__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-sidebar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.filter-sidebar__title {
  font-size: 1.125rem;
  font-weight: 700;
}

.filter-sidebar__clear {
  font-size: 0.8125rem;
  color: var(--red);
}

.filter-sidebar__close {
  display: none;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.filter-group__select {
  width: 100%;
  padding: 0.625rem 2rem 0.625rem 0.75rem;
  font-size: 0.875rem;
}

.filter-group__input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
}

.filter-group__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group__row .filter-group__input {
  flex: 1;
  min-width: 0;
}

.filter-group__separator {
  color: var(--mid-grey);
  font-weight: 600;
}

.filter-group__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  cursor: pointer;
}

.filter-group__checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.filter-group__check-indicator {
  width: 16px;
  height: 16px;
  border: 2px solid var(--light-grey);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.filter-group__checkbox input:checked+.filter-group__check-indicator {
  background: var(--gold);
  border-color: var(--gold);
}

.listings-page__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.listings-page__count {
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.listings-page__filter-toggle {
  display: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.active-filters__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.75rem;
  background: var(--cream-dark);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--dark-grey);
}

.active-filters__remove {
  font-size: 1rem;
  color: var(--red);
  line-height: 1;
}

@media (max-width: 1024px) {
  .listings-page__layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    z-index: 1000;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform var(--transition);
    overflow-y: auto;
    padding-top: 1rem;
  }

  .filter-sidebar.active {
    transform: translateX(0);
  }

  .filter-sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .listings-page__filter-toggle {
    display: inline-flex;
  }
}

/* ----------------------------------------------------------
   SEARCH PAGE ENHANCEMENTS
   ---------------------------------------------------------- */
.search-page__header {
  text-align: center;
  margin-bottom: 2rem;
}

.search-page__title {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.search-page__form {
  max-width: 600px;
  margin: 0 auto;
}

.search-page__input-wrap {
  display: flex;
  gap: 0.75rem;
}

.search-page__input {
  flex: 1;
}

.search-page__results-info {
  font-size: 0.9375rem;
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

.search-page__no-results {
  text-align: center;
  padding: 3rem 1.5rem;
}

.search-page__no-results h2 {
  margin: 1rem 0 0.5rem;
}

.search-page__no-results p {
  color: var(--mid-grey);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.search-page__suggestions {
  margin-bottom: 2rem;
}

.search-page__suggestions h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.search-page__suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--navy-light);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--dark-grey);
  transition: all var(--transition);
}

.tag:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

@media (max-width: 480px) {
  .search-page__input-wrap {
    flex-direction: column;
  }
}

/* ----------------------------------------------------------
   NEWSLETTER FORM
   ---------------------------------------------------------- */
.footer__newsletter {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.footer__newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer__newsletter p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.footer__newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.875rem;
}

.footer__newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 480px) {
  .footer__newsletter-form {
    flex-direction: column;
  }
}

/* ----------------------------------------------------------
   LISTING FORM ENHANCEMENTS
   ---------------------------------------------------------- */
.listing-form__section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.listing-form__section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.listing-form__section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.listing-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.listing-form__grid--narrow {
  max-width: 500px;
}

.listing-form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.listing-form__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1rem 0;
}

@media (max-width: 768px) {
  .listing-form__grid {
    grid-template-columns: 1fr;
  }

  .listing-form__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ----------------------------------------------------------
   PHOTO UPLOAD ENHANCEMENTS
   ---------------------------------------------------------- */
.photo-upload__dropzone {
  border: 2px dashed var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--cream);
}

.photo-upload__dropzone:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.photo-upload__input {
  display: none;
}

.photo-upload__text {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.photo-upload__browse {
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
}

.photo-upload__hint {
  font-size: 0.8125rem;
  color: #999;
  margin-top: 0.5rem;
}

.photo-upload__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.photo-upload__existing-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
}

.photo-upload__existing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.photo-upload__existing-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--light-grey);
}

.photo-upload__existing-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-upload__existing-delete {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.9);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  font-size: 0.75rem;
}

.photo-upload__existing-primary {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(201, 168, 76, 0.9);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  padding: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ----------------------------------------------------------
   30. PRINT STYLES
   ---------------------------------------------------------- */
@media print {

  .header,
  .footer,
  .mobile-nav,
  .mobile-menu-toggle,
  .whatsapp-float,
  .toast,
  .modal,
  .admin-sidebar,
  .pagination {
    display: none !important;
  }

  body {
    background: var(--white);
    color: var(--black);
    font-size: 12pt;
  }

  .listing-detail {
    padding-top: 0;
  }

  .admin-content {
    margin-left: 0;
  }

  .listing-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  a {
    color: var(--dark-grey);
    text-decoration: underline;
  }

  .btn {
    border: 1px solid var(--dark-grey);
    background: transparent;
    color: var(--dark-grey);
    box-shadow: none;
  }
}

/* ----------------------------------------------------------
   31. ACCESSIBILITY
   ---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus ring for keyboard users */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------
   32. MISCELLANEOUS HELPERS
   ---------------------------------------------------------- */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

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

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

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

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.w-100 {
  width: 100%;
}

.rounded {
  border-radius: var(--radius-md);
}

.shadow {
  box-shadow: var(--shadow-md);
}

.overflow-hidden {
  overflow: hidden;
}

/* Status / tag pills */
.status {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status--active {
  background: rgba(39, 174, 96, 0.1);
  color: var(--green);
}

.status--pending {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
}

.status--sold {
  background: rgba(192, 57, 43, 0.1);
  color: var(--red);
}

.status--draft {
  background: rgba(90, 90, 90, 0.1);
  color: var(--mid-grey);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--light-grey);
  margin: 1.5rem 0;
  border: none;
}

/* Avatar */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--light-grey);
}

.avatar--sm {
  width: 28px;
  height: 28px;
}

.avatar--lg {
  width: 56px;
  height: 56px;
}

.avatar--gold {
  border-color: var(--gold);
}

/* Tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: #C0C0C0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A0A0A0;
}

/* Body offset for fixed header */
.page-content {
  padding-top: var(--header-height);
}


/* --- LUXURY UI ENHANCEMENTS --- */

/* Glassmorphism Cards & Containers */
.card,
.dashboard-card,
.listing-card,
.leaderboard-card,
.auth-card,
.step-card {
  background: rgba(21, 26, 40, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  border-radius: var(--radius-lg);
}

.card:hover,
.listing-card:hover,
.leaderboard-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-gold);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Dynamic Luxury Buttons */
.btn--gold,
button[type="submit"] {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  background-size: 200% 200%;
  animation: shine 4s infinite linear;
  color: var(--navy-dark);
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes shine {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn--gold:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  filter: brightness(1.1);
}

/* Header & Navigation */
.header {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav__link {
  color: var(--dark-grey);
  font-weight: 500;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--gold);
}

/* Content Sections */
.section {
  background: transparent;
  padding: var(--space-3xl) 0;
}

.section__title {
  color: var(--white);
  font-family: var(--font-heading);
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-xl);
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Typography Polish */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--white);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

p,
span,
div {
  color: inherit;
}

/* Global Transitions */
.main,
.section {
  animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

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

/* Form Elements */
input,
textarea,
select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: all var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  outline: none;
}

/* --- FEATURED BRANDS CARDS --- */
.brand-card {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.brand-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 12, 21, 0.9) 0%, rgba(8, 12, 21, 0.4) 100%);
  transition: background 0.3s ease;
}

.brand-card__name {
  position: relative;
  z-index: 10;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.brand-card:hover .brand-card__name {
  color: var(--white);
  transform: scale(1.05);
}

/* ============================================================
   AFFILIATE PARTNERS - REFINED UI
   ============================================================ */

/* ── Homepage Trusted Partners Row ── */
.section--partners {
  background: var(--navy-dark) !important;
  padding: 3rem 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.partners-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2rem !important;
  flex-wrap: wrap !important;
}

.partners-row__item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  transition: all 0.3s ease !important;
  min-width: 140px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.partners-row__item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--gold) !important;
  transform: translateY(-4px) !important;
}

.partners-row__logo {
  height: 24px !important;
  width: auto !important;
  opacity: 0.7 !important;
  transition: all 0.3s ease !important;
}

.partners-row__item:hover .partners-row__logo {
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

.partners-row__name {
  font-size: 0.65rem !important;
  color: var(--mid-grey) !important;
  margin-top: 5px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* ── Partners Page ── */
.partners-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
  padding: 4rem 0 !important;
}

.partner-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  margin-bottom: 2rem !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px) !important;
}

.partner-card__header {
  padding: 1.5rem 2rem !important;
  border-left: 4px solid var(--gold) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.partner-card__logo {
  max-height: 35px !important;
}

.partner-card__commission {
  color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.1) !important;
}

/* ── Listing Detail: 'Also Available On' Section ── */
.listing-detail__compare-prices {
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.compare-prices__grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin-top: 15px !important;
}

.compare-prices__link {
  display: flex !important;
  align-items: center !important;
  padding: 12px 15px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.compare-prices__link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--gold) !important;
  transform: translateX(4px) !important;
}

.compare-prices__logo {
  height: 20px !important;
  width: auto !important;
  margin-right: 12px !important;
  filter: brightness(1.2) !important;
}

.compare-prices__name {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: #fff !important;
}

.compare-prices__action {
  font-size: 0.7rem !important;
  color: var(--mid-grey) !important;
  display: block !important;
}

/* ── Fix contrast for Specifications table ── */
.listing-detail__specs table {
  background: rgba(0, 0, 0, 0.2) !important;
  margin-bottom: 20px !important;
}

.listing-detail__specs th {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #D4AF37 !important;
  text-align: left !important;
  padding: 12px 15px !important;
}

.listing-detail__specs td {
  color: #f1f5f9 !important;
  /* Brighter slate for better contrast */
  padding: 12px 15px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* ── Footer Partner Logos ── */
.footer__partners {
  padding: 1.5rem 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin-top: 2rem !important;
}

.footer__partners-row {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  opacity: 0.6 !important;
  transition: opacity 0.3s ease !important;
}

.footer__partners-row:hover {
  opacity: 1 !important;
}

.footer__partner-logo img {
  height: 18px !important;
  filter: grayscale(100%) brightness(2) !important;
  transition: all 0.3s ease !important;
}

.footer__partner-logo:hover img {
  filter: grayscale(0%) brightness(1.5) !important;
  transform: scale(1.1) !important;
}

/* Responsive Fixes */
@media (max-width: 600px) {
  .compare-prices__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   MISSING CSS — All Gaps Fixed
   ============================================================ */

/* ----------------------------------------------------------
   BRANDS PAGE — Grid, Search, Alphabet Filter
   ---------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.brand-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--mid-grey);
  font-size: 1.0625rem;
}

.brands-page__filters {
  margin-bottom: 2rem;
}

.brands-page__search {
  position: relative;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

.brands-page__search .form-control {
  width: 100%;
  padding-left: 2.5rem;
}

.brands-page__search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid-grey);
  pointer-events: none;
}

.brands-page__alphabet {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.brands-page__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid-grey);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all var(--transition);
}

.brands-page__letter:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.brands-page__letter--active {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  font-weight: 700;
}

/* Brand card on brands page (overrides for grid layout) */
.brand-grid .brand-card {
  height: 220px;
  flex-direction: column;
}

.brand-card__logo-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 10;
}

.brand-card__logo-wrap .brand-card__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(1.5);
}

.brand-card__logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.brand-card__body {
  position: relative;
  z-index: 10;
  text-align: center;
}

.brand-card__country {
  display: block;
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-top: 0.15rem;
}

.brand-card__count {
  display: block;
  font-size: 0.6875rem;
  color: var(--gold-dark);
  margin-top: 0.35rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brands-page__alphabet {
    gap: 0.15rem;
  }

  .brands-page__letter {
    min-width: 28px;
    height: 28px;
    font-size: 0.6875rem;
  }
}

/* ----------------------------------------------------------
   BRAND DETAIL — Hero Section
   ---------------------------------------------------------- */
.brand-hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-hero__layout {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand-hero__logo-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-hero__logo {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  filter: brightness(1.5);
}

.brand-hero__logo-placeholder {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.brand-hero__info {
  flex: 1;
}

.brand-hero__name {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.brand-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.brand-hero__meta-item {
  font-size: 0.875rem;
  color: var(--mid-grey);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-hero__description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 600px;
}

@media (max-width: 768px) {
  .brand-hero__layout {
    flex-direction: column;
    text-align: center;
  }

  .brand-hero__name {
    font-size: 1.75rem;
  }

  .brand-hero__meta {
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   AUTH PAGES — Form Controls, Alerts, Input Wraps
   ---------------------------------------------------------- */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  padding-top: calc(var(--header-height) + 2rem);
}

.auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.auth-card__subtitle {
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.auth-card__alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  border: 1px solid;
}

.auth-card__alert--error {
  background: rgba(192, 57, 43, 0.1);
  color: var(--red);
  border-color: rgba(192, 57, 43, 0.2);
}

.auth-card__alert--success {
  background: rgba(39, 174, 96, 0.1);
  color: var(--green);
  border-color: rgba(39, 174, 96, 0.2);
}

.form-control {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  transition: all var(--transition);
  font-family: var(--font-body);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  outline: none;
  background: rgba(255, 255, 255, 0.07);
}

.form-control::placeholder {
  color: var(--mid-grey);
}

.form-group--error .form-control,
.form-group--error .form-group__input {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-group__input-wrap {
  position: relative;
}

.form-group__input-wrap .form-control,
.form-group__input-wrap input {
  padding-left: 2.75rem;
}

.form-group__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid-grey);
  pointer-events: none;
  z-index: 1;
}

.form-group--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.form-group__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.form-group__checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--gold);
}

.form-group__check-indicator {
  width: 16px;
  height: 16px;
  border: 2px solid var(--light-grey);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.auth-card__forgot-link {
  font-size: 0.8125rem;
  color: var(--gold-dark);
  font-weight: 500;
  transition: color var(--transition);
}

.auth-card__forgot-link:hover {
  color: var(--gold);
}

.auth-card__link {
  color: var(--gold-dark);
  font-weight: 600;
}

.auth-card__link:hover {
  color: var(--gold);
}

/* ----------------------------------------------------------
   PROFILE PAGE — Layout, Sidebar, Stats, Avatar
   ---------------------------------------------------------- */
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-layout__sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.profile-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.profile-sidebar__avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.profile-sidebar__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.profile-sidebar__avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border: 3px solid var(--gold);
}

.profile-sidebar__avatar-form {
  position: absolute;
  bottom: 0;
  right: 0;
}

.profile-sidebar__avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  border: 2px solid var(--navy);
  transition: all var(--transition);
}

.profile-sidebar__avatar-btn:hover {
  transform: scale(1.1);
}

.profile-sidebar__name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.profile-sidebar__email {
  font-size: 0.875rem;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
}

.profile-sidebar__member-since {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.profile-sidebar__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  margin-bottom: 1.25rem;
}

.profile-sidebar__stat {
  text-align: center;
}

.profile-sidebar__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold);
}

.profile-sidebar__stat-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}

.profile-sidebar__badges {
  padding-top: 0.5rem;
}

.profile-sidebar__badges-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.profile-sidebar__badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
}

.profile-form-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-form-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.profile-form__divider {
  border: none;
  height: 1px;
  background: var(--light-grey);
  margin: 1.5rem 0;
}

.profile-form__section-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.profile-form__section-hint {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-layout__sidebar {
    position: static;
  }
}

/* ----------------------------------------------------------
   WISHLIST PAGE — Empty State, Remove Button
   ---------------------------------------------------------- */
.listing-card-wrap--wishlist {
  position: relative;
}

.wishlist-remove-form {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 5;
}

.wishlist-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  background: rgba(192, 57, 43, 0.9);
  color: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.wishlist-remove-btn:hover {
  background: var(--red);
  transform: scale(1.05);
}

.wishlist-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
}

.wishlist-empty h2 {
  margin: 1.25rem 0 0.5rem;
  color: var(--white);
}

.wishlist-empty p {
  color: var(--mid-grey);
  max-width: 450px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   COLLECTIONS — Card Images, Overlays, Meta, Empty
   ---------------------------------------------------------- */
.collection-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.collection-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-card__image {
  transform: scale(1.05);
}

.collection-card__image--placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-card__image-wrap .collection-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.collection-card__body {
  padding: 1.25rem;
}

.collection-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-top: 0.25rem;
}

.collection-card__owner {
  color: var(--mid-grey);
}

.collection-card__value {
  color: var(--gold-dark);
  font-weight: 600;
}

.collection-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
}

.collection-grid__empty h2 {
  margin: 1.25rem 0 0.5rem;
  color: var(--white);
}

.collection-grid__empty p {
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Section header left/right layout */
.section__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.section__header-left {
  flex: 1;
}

.section__header-right {
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   FOOTER — Trust Badges, Tagline, Partners Title
   ---------------------------------------------------------- */
.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  background: rgba(39, 174, 96, 0.1);
  color: var(--green);
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.trust-badge--small {
  font-size: 0.625rem;
  padding: 0.25rem 0.625rem;
}

.trust-badge--cpo {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.2);
}

.footer__partners-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ----------------------------------------------------------
   LISTING DETAIL — Model Label, Compare Hints
   ---------------------------------------------------------- */
.listing-detail__model-label {
  color: var(--mid-grey);
  font-weight: 400;
  font-size: 0.6875rem;
}

.compare-prices__hint {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-bottom: 0.5rem;
}

.compare-prices__label {
  display: flex;
  flex-direction: column;
}

.collection-dropdown__loading {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--mid-grey);
  text-align: center;
}

/* ----------------------------------------------------------
   LISTING GRID — Empty State, Card Link
   ---------------------------------------------------------- */
.listing-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.listing-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
}

.listing-grid__empty h3 {
  margin: 1rem 0 0.5rem;
  color: var(--white);
}

.listing-grid__empty p {
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

/* ----------------------------------------------------------
   PAGINATION — Ellipsis
   ---------------------------------------------------------- */
.pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--mid-grey);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ----------------------------------------------------------
   HEADER — Ensure nav shows on desktop when fixed
   ---------------------------------------------------------- */
.header__nav .container {
  position: relative;
}

/* Body offset for fixed header */
body {
  padding-top: var(--header-height);
}

/* ----------------------------------------------------------
   LISTING DETAIL — Wishlist active state
   ---------------------------------------------------------- */
.listing-detail__wishlist--active {
  border-color: var(--red);
  color: var(--red);
}

/* ----------------------------------------------------------
   NEWS PAGE — Index styles
   ---------------------------------------------------------- */
.news-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--mid-grey);
}

/* ============================================================
   AFFILIATE DASHBOARD
   ============================================================ */
.affiliate-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.affiliate-header__left {
  flex: 1;
}

.affiliate-header__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.affiliate-header__welcome {
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.affiliate-header__actions {
  display: flex;
  gap: 0.75rem;
}

.affiliate-link-gen {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.affiliate-link-gen__inner {
  margin-bottom: 0.75rem;
}

.affiliate-link-gen__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.affiliate-link-gen__note {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-top: 0.5rem;
}

.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.affiliate-stats__card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.affiliate-stats__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  flex-shrink: 0;
}

.affiliate-stats__value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.affiliate-stats__label {
  font-size: 0.75rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.affiliate-chart {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.affiliate-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.affiliate-chart__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
}

.affiliate-chart__range {
  display: flex;
  gap: 0.5rem;
}

.affiliate-chart__canvas-wrap {
  min-height: 280px;
}

.affiliate-activity {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.affiliate-activity__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.affiliate-activity__empty {
  text-align: center;
  padding: 2rem;
  color: var(--mid-grey);
}

/* Shared table styles */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 0.875rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.data-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: var(--dark-grey);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge--active {
  background: rgba(39, 174, 96, 0.1);
  color: var(--green);
}

.status-badge--pending {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
}

.status-badge--inactive {
  background: rgba(90, 90, 90, 0.1);
  color: var(--mid-grey);
}

.form-control--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .affiliate-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .affiliate-stats {
    grid-template-columns: 1fr;
  }

  .affiliate-link-gen__row {
    flex-direction: column;
  }

  .affiliate-header {
    flex-direction: column;
  }
}

/* ============================================================
   NEWS INDEX PAGE
   ============================================================ */
.news-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--light-grey);
}

.news-tabs__tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mid-grey);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
}

.news-tabs__tab:hover {
  color: var(--gold);
}

.news-tabs__tab--active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.news-hero {
  margin-bottom: 2rem;
}

.news-hero__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.news-hero__link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.news-hero__image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.news-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-hero__link:hover .news-hero__image {
  transform: scale(1.05);
}

.news-hero__image--placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
}

.news-hero__source {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.news-hero__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-hero__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-hero__excerpt {
  font-size: 0.9375rem;
  color: var(--mid-grey);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.news-hero__date {
  font-size: 0.8125rem;
  color: var(--mid-grey);
}

.news-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .news-hero__link {
    grid-template-columns: 1fr;
  }

  .news-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .news-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LEADERBOARD — Podium, Tabs, Table
   ============================================================ */
.leaderboard-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--light-grey);
}

.leaderboard-tabs__tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mid-grey);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
}

.leaderboard-tabs__tab:hover {
  color: var(--gold);
}

.leaderboard-tabs__tab--active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.leaderboard-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.leaderboard-podium__place {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
  width: 160px;
}

.leaderboard-podium__avatar-wrap {
  position: relative;
  margin-bottom: 0.75rem;
}

.leaderboard-podium__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.leaderboard-podium__place--first .leaderboard-podium__avatar {
  width: 88px;
  height: 88px;
  border-width: 4px;
}

.leaderboard-podium__avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 3px solid var(--gold);
}

.leaderboard-podium__place--first .leaderboard-podium__avatar-placeholder {
  width: 88px;
  height: 88px;
  font-size: 1.75rem;
  border-width: 4px;
}

.leaderboard-podium__rank {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
}

.leaderboard-podium__crown {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
}

.leaderboard-podium__name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}

.leaderboard-podium__score {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.leaderboard-podium__badges {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.leaderboard-podium__pedestal {
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  font-size: 2rem;
}

.leaderboard-podium__pedestal--gold {
  height: 120px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.leaderboard-podium__pedestal--silver {
  height: 90px;
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.15) 0%, rgba(192, 192, 192, 0.05) 100%);
  border: 1px solid rgba(192, 192, 192, 0.2);
}

.leaderboard-podium__pedestal--bronze {
  height: 70px;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.05) 100%);
  border: 1px solid rgba(205, 127, 50, 0.2);
}

.leaderboard-table-wrap {
  margin-bottom: 2rem;
}

.leaderboard-table {
  width: 100%;
}

.leaderboard-table__rank-col {
  width: 60px;
}

.leaderboard-table__score-col {
  width: 100px;
  text-align: right;
}

.leaderboard-table__row--current td {
  background: rgba(212, 175, 55, 0.05);
}

.leaderboard-table__rank {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 1rem;
}

.leaderboard-table__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.leaderboard-table__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--light-grey);
}

.leaderboard-table__avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.leaderboard-table__username {
  font-weight: 600;
  color: var(--white);
}

.leaderboard-table__badges {
  display: flex;
  gap: 0.25rem;
}

.leaderboard-table__badge-more {
  font-size: 0.6875rem;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
}

.leaderboard-table__score {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}

.leaderboard-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--mid-grey);
}

.badge-icon--sm {
  width: 24px;
  height: 24px;
  font-size: 0.625rem;
}

.badge-icon--xs {
  width: 20px;
  height: 20px;
  font-size: 0.5rem;
}

@media (max-width: 768px) {
  .leaderboard-podium {
    gap: 0.75rem;
    padding: 0;
  }

  .leaderboard-podium__place {
    width: 100px;
  }

  .leaderboard-podium__avatar,
  .leaderboard-podium__avatar-placeholder {
    width: 56px;
    height: 56px;
  }

  .leaderboard-podium__place--first .leaderboard-podium__avatar,
  .leaderboard-podium__place--first .leaderboard-podium__avatar-placeholder {
    width: 68px;
    height: 68px;
  }
}

/* ============================================================
   QUIZ PAGE — Progress, Steps, Options
   ============================================================ */
.quiz-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.quiz__progress {
  margin-bottom: 2rem;
}

.quiz__progress-bar {
  height: 4px;
  background: var(--light-grey);
  border-radius: 2px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.quiz__progress-steps {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.quiz__step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-grey);
  transition: all var(--transition);
}

.quiz__step-dot--active {
  background: var(--gold);
  transform: scale(1.2);
}

.quiz__step {
  display: none;
}

.quiz__step--active {
  display: block;
  animation: fadeUp 0.4s ease forwards;
}

.quiz__step-content {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz__step-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.quiz__step-subtitle {
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.quiz__options--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.quiz__options--multi {
  flex-direction: column;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9375rem;
  color: var(--dark-grey);
  background: rgba(255, 255, 255, 0.02);
}

.quiz__option:hover {
  border-color: var(--gold-light);
  background: rgba(201, 168, 76, 0.03);
}

.quiz__option--selected,
.quiz__option.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-light);
  font-weight: 600;
}

.quiz__option--checkbox {
  cursor: pointer;
}

.quiz__option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
}

.quiz__option-card--sm {
  padding: 1rem;
}

.quiz__option-label {
  font-weight: 600;
  color: var(--white);
}

.quiz__option-desc {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-top: 0.25rem;
}

.quiz__option-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.quiz__next-btn,
.quiz__prev-btn {
  min-width: 120px;
}

@media (max-width: 480px) {
  .quiz__options--grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   QUIZ RESULT — Recommendations
   ============================================================ */
.quiz-result__header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-result__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.quiz-result__subtitle {
  font-size: 1rem;
  color: var(--mid-grey);
}

.quiz-result__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.quiz-result__card-logo {
  max-height: 40px;
}

.quiz-result__card-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.quiz-result__recommendations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-result__rec {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.quiz-result__rec:hover {
  border-color: var(--gold);
}

.quiz-result__rec-rank {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.quiz-result__rec-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.quiz-result__rec-info {
  flex: 1;
}

.quiz-result__rec-brand {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  margin-bottom: 0.15rem;
}

.quiz-result__rec-title {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.quiz-result__rec-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
}

.quiz-result__browse {
  margin-top: 1.5rem;
  text-align: center;
}

.quiz-result__browse-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.quiz-result__retake {
  text-align: center;
  margin-top: 1.5rem;
}

/* ============================================================
   COMPARE PAGE — Selector, Table, Narrative
   ============================================================ */
.compare-selector {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.compare-selector__row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.compare-selector__field {
  flex: 1;
}

.compare-selector__vs {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
  padding-bottom: 0.75rem;
  flex-shrink: 0;
}

.compare-selector__btn {
  flex-shrink: 0;
}

.compare-table {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.compare-table__header {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table__label-col {
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
}

.compare-table__watch-col {
  padding: 1rem 1.25rem;
  text-align: center;
}

.compare-table__image-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.compare-table__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-table__watch-brand {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
}

.compare-table__watch-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin: 0.15rem 0;
}

.compare-table__ref {
  font-size: 0.75rem;
  color: var(--mid-grey);
}

.compare-table__body {
  display: contents;
}

.compare-table__row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-table__row:last-child {
  border-bottom: none;
}

.compare-table__cell {
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--dark-grey);
}

.compare-table__cell:first-child {
  color: var(--mid-grey);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-table__cell--winner {
  color: var(--gold);
  font-weight: 700;
}

.compare-narrative {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.compare-narrative__header {
  margin-bottom: 1rem;
}

.compare-narrative__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
}

.compare-narrative__text {
  font-size: 0.9375rem;
  color: var(--dark-grey);
  line-height: 1.7;
}

.compare-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
}

.compare-empty h2 {
  margin: 1rem 0 0.5rem;
  color: var(--white);
}

.compare-empty p {
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .compare-selector__row {
    flex-direction: column;
  }

  .compare-table__header,
  .compare-table__row {
    grid-template-columns: 120px 1fr 1fr;
  }

  .compare-table__image-wrap {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .compare-table {
    overflow-x: auto;
  }

  .compare-table__header,
  .compare-table__row {
    min-width: 500px;
  }
}

/* ============================================================
   AFFILIATE PARTNERS PAGE
   ============================================================ */
.partners-hero__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.partners-hero__badge {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  margin-bottom: 1rem;
}

.partners-hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.partners-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.partner-card__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.partner-card__logo-wrap {
  flex-shrink: 0;
}

.partner-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.partner-card__tagline {
  font-size: 0.875rem;
  color: var(--mid-grey);
}

.partner-card__body {
  padding: 1.5rem 2rem;
}

.partner-card__description {
  font-size: 0.9375rem;
  color: var(--dark-grey);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.partner-card__why {
  font-size: 0.875rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

.partner-card__actions {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.disclosure-box {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .partners-hero__title {
    font-size: 1.75rem;
  }
}

/* ============================================================
   ADMIN — Dashboard, Layout, Activity
   ============================================================ */
.admin-layout__main {
  flex: 1;
  padding: 2rem;
  min-height: calc(100vh - var(--header-height));
}

.admin-layout__header {
  margin-bottom: 2rem;
}

.admin-layout__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.admin-layout__subtitle {
  font-size: 0.9375rem;
  color: var(--mid-grey);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-stats__card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-stats__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stats__icon--listings {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.admin-stats__icon--users {
  background: rgba(41, 128, 185, 0.1);
  color: var(--blue);
}

.admin-stats__icon--revenue {
  background: rgba(39, 174, 96, 0.1);
  color: var(--green);
}

.admin-stats__icon--reviews {
  background: rgba(142, 68, 173, 0.1);
  color: #8E44AD;
}

.admin-stats__info {
  flex: 1;
}

.admin-stats__value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.admin-stats__label {
  font-size: 0.75rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-chart {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.admin-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-chart__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
}

.admin-chart__canvas-wrap {
  min-height: 280px;
}

.admin-activity {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-activity__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.admin-activity__feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-activity__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-activity__item:last-child {
  border-bottom: none;
}

.admin-activity__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.admin-activity__dot--default {
  background: var(--mid-grey);
}

.admin-activity__content {
  flex: 1;
}

.admin-activity__text {
  font-size: 0.875rem;
  color: var(--dark-grey);
}

.admin-activity__time {
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-top: 0.15rem;
}

.admin-activity__empty {
  text-align: center;
  padding: 2rem;
  color: var(--mid-grey);
}

/* Admin Sidebar extras */
.admin-sidebar__header {
  padding: 0 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.admin-sidebar__logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.admin-sidebar__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid-grey);
  padding: 0.75rem 1rem 0.25rem;
  font-weight: 600;
}

.admin-sidebar__link-icon {
  display: flex;
  flex-shrink: 0;
}

.admin-sidebar__link-label {
  flex: 1;
}

.admin-sidebar__link--logout {
  color: var(--red);
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.admin-sidebar__link--logout:hover {
  background: rgba(192, 57, 43, 0.1);
  color: var(--red);
}

.admin-sidebar__footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--mid-grey);
}

@media (max-width: 1024px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-layout__main {
    padding: 1rem;
  }
}

/* ============================================================
   FINANCING CALCULATOR — Extra Fields
   ============================================================ */
.financing-calc__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.financing-calc__price {
  font-size: 0.875rem;
  color: var(--mid-grey);
  margin-bottom: 1rem;
}

.financing-calc__field {
  margin-bottom: 0.75rem;
}

.financing-calc__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--dark-grey);
}

.financing-calc__slider {
  width: 100%;
  margin-top: 0.25rem;
}

.financing-calc__term-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-top: 0.25rem;
}

.financing-calc__term-display {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 0.25rem;
}

.financing-calc__rate {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
}

.financing-calc__result-label {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-bottom: 0.25rem;
}

.financing-calc__result-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.financing-calc__disclaimer {
  font-size: 0.6875rem;
  color: var(--mid-grey);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ============================================================
   PRICE CHART — Range Toggle, Canvas Wrap, Note
   ============================================================ */
.price-chart__range-toggle {
  display: flex;
  gap: 0.25rem;
}

.price-chart__range-btn {
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--light-grey);
  background: transparent;
  color: var(--mid-grey);
  cursor: pointer;
  transition: all var(--transition);
}

.price-chart__range-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.price-chart__range-btn.active,
.price-chart__range-btn--active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.price-chart__canvas-wrap {
  min-height: 280px;
  position: relative;
}

.price-chart__canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.price-chart__note {
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-top: 0.75rem;
  text-align: center;
}

/* ============================================================
   AUTH — Wide Card, Form Optional/Required Labels
   ============================================================ */
.auth-card--wide {
  max-width: 580px;
}

.form-group__required {
  color: var(--red);
  margin-left: 0.15rem;
}

.form-group__optional {
  font-size: 0.75rem;
  color: var(--mid-grey);
  font-weight: 400;
  margin-left: 0.25rem;
}

/* ============================================================
   COLLECTION DETAIL — Owner, Count, Value Meta
   ============================================================ */
.collection-detail__owner {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mid-grey);
}

.collection-detail__count {
  color: var(--mid-grey);
}

.collection-detail__value {
  color: var(--gold-dark);
  font-weight: 600;
}

.collection-detail__add-form {
  display: flex;
  gap: 0.75rem;
}

/* ============================================================
   MISC — Header nav display fix for desktop
   ============================================================ */
@media (min-width: 1025px) {
  .header__nav {
    display: block;
  }

  .header__hamburger {
    display: none;
  }
}

/* ============================================================
   FINAL PATCH — Remaining missing selectors
   ============================================================ */

/* --- show.php: review-form base --- */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- show.php: share-btn--copy --- */
.share-btn--copy:hover {
  background: #6c757d;
  color: #fff;
}

/* --- leaderboard.php: podium 2nd / 3rd place --- */
.leaderboard-podium__place--second {
  order: -1;
}
.leaderboard-podium__place--second .leaderboard-podium__bar {
  height: 100px;
  background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%);
}
.leaderboard-podium__place--second .leaderboard-podium__rank {
  background: #c0c0c0;
  color: #1a1a2e;
}
.leaderboard-podium__place--third {
  order: 1;
}
.leaderboard-podium__place--third .leaderboard-podium__bar {
  height: 70px;
  background: linear-gradient(180deg, #cd7f32 0%, #a0622a 100%);
}
.leaderboard-podium__place--third .leaderboard-podium__rank {
  background: #cd7f32;
  color: #fff;
}

/* --- admin: toolbar --- */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.admin-toolbar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-toolbar__search {
  position: relative;
}
.admin-toolbar__search input {
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
  min-width: 220px;
}
.admin-toolbar__search input:focus {
  outline: none;
  border-color: var(--gold);
}
.admin-toolbar__search svg {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* --- admin: tabs --- */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.admin-tabs__tab {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.admin-tabs__tab:hover {
  color: var(--gold);
}
.admin-tabs__tab--active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* --- admin: bulk actions --- */
.admin-bulk {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.admin-bulk__select-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.admin-bulk__select-all input[type="checkbox"] {
  accent-color: var(--gold);
}
.admin-bulk__action {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}
.admin-bulk__action:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* --- admin: table sub-elements --- */
.admin-table__check-col {
  width: 40px;
  text-align: center;
}
.admin-table__check-col input[type="checkbox"] {
  accent-color: var(--gold);
}
.admin-table__thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.admin-table__actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.admin-table__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  font-size: 0.85rem;
}
.admin-table__action:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.admin-table__action-form {
  display: inline;
}
.admin-table__action-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.admin-table__action-form button:hover {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}
.admin-table__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.admin-table__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.admin-table__avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* --- admin: role badges --- */
.role-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.role-badge--admin {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}
.role-badge--seller {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}
.role-badge--buyer {
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
}

/* --- admin: status-badge--sold --- */
.status-badge--sold {
  background: rgba(108, 117, 125, 0.12);
  color: #6c757d;
}

/* ═══════════════════════════════════════════════════════════════════
   VIRAL FEATURES — Social Sharing, Referral, Chatbot, Social Proof
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Header Invite Button ──────────────────────────────────────── */
.header__action--invite {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.header__action--invite:hover {
  background: var(--gold);
  color: var(--bg-primary);
}
.header__action--invite svg {
  flex-shrink: 0;
}

/* ─── Referral Modal ────────────────────────────────────────────── */
.referral-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.referral-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.referral-modal__dialog {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 40px;
  animation: modalSlideIn 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.referral-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.referral-modal__close:hover { color: white; }
.referral-modal__header {
  text-align: center;
  margin-bottom: 30px;
}
.referral-modal__icon {
  margin-bottom: 16px;
}
.referral-modal__header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.referral-modal__header p {
  color: var(--mid-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}
.referral-modal__header strong {
  color: var(--gold);
}

/* Link Box */
.referral-modal__link-box {
  margin-bottom: 24px;
}
.referral-modal__link-box label {
  display: block;
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 8px;
  font-weight: 500;
}
.referral-modal__link-row {
  display: flex;
  gap: 8px;
}
.referral-modal__link-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.referral-modal__link-row .btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Share Grid */
.referral-modal__share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.referral-modal__share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
}
.referral-modal__share-btn:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}
.referral-modal__share-btn--whatsapp:hover { border-color: #25D366; background: rgba(37, 211, 102, 0.1); color: #25D366; }
.referral-modal__share-btn--telegram:hover { border-color: #0088cc; background: rgba(0, 136, 204, 0.1); color: #0088cc; }
.referral-modal__share-btn--facebook:hover { border-color: #1877F2; background: rgba(24, 119, 242, 0.1); color: #1877F2; }
.referral-modal__share-btn--twitter:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.referral-modal__share-btn--email:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); color: var(--gold); }

/* Stats */
.referral-modal__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.referral-modal__stat {
  text-align: center;
}
.referral-modal__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}
.referral-modal__stat-label {
  font-size: 0.75rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Enhanced Share Buttons ────────────────────────────────────── */
.share-subtitle {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 12px;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: #ccc;
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.share-btn:hover {
  transform: translateY(-1px);
}
.share-btn--whatsapp:hover { background: rgba(37, 211, 102, 0.15); color: #25D366; border-color: #25D366; }
.share-btn--telegram:hover { background: rgba(0, 136, 204, 0.15); color: #0088cc; border-color: #0088cc; }
.share-btn--facebook:hover { background: rgba(24, 119, 242, 0.15); color: #1877F2; border-color: #1877F2; }
.share-btn--pinterest:hover { background: rgba(230, 0, 35, 0.15); color: #E60023; border-color: #E60023; }
.share-btn--x:hover, .share-btn--twitter:hover { background: rgba(255, 255, 255, 0.08); color: white; border-color: white; }
.share-btn--reddit:hover { background: rgba(255, 69, 0, 0.15); color: #FF4500; border-color: #FF4500; }
.share-btn--copy:hover { background: rgba(212, 175, 55, 0.15); color: var(--gold); border-color: var(--gold); }
.share-btn--linkedin:hover { background: rgba(0, 119, 181, 0.15); color: #0077B5; border-color: #0077B5; }
.share-btn--email:hover { background: rgba(212, 175, 55, 0.15); color: var(--gold); border-color: var(--gold); }
.share-btn--sm {
  padding: 6px 10px;
  font-size: 0.78rem;
}

/* ─── Live Viewers Badge ────────────────────────────────────────── */
.viral-live-viewers {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #25D366;
  margin-bottom: 16px;
}
.viral-live-viewers__pulse {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}
.viral-live-viewers__count {
  font-weight: 700;
}

/* ─── Social Proof Notifications ────────────────────────────────── */
.social-proof-container {
  position: fixed;
  bottom: 100px;
  left: 20px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}
.social-proof-notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s ease;
  min-width: 280px;
}
.social-proof-notification--visible {
  opacity: 1;
  transform: translateX(0);
}
.social-proof-notification--hiding {
  opacity: 0;
  transform: translateX(-30px);
}
.social-proof-notification__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.social-proof-notification__content {
  flex: 1;
  min-width: 0;
}
.social-proof-notification__message {
  font-size: 0.85rem;
  color: white;
  line-height: 1.4;
  margin: 0;
}
.social-proof-notification__time {
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-top: 4px;
  display: block;
}
.social-proof-notification__close {
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

/* ─── Exit Intent Popup ─────────────────────────────────────────── */
.exit-intent-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-intent-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.exit-intent-popup__dialog {
  position: relative;
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  animation: exitPopIn 0.4s ease;
  text-align: center;
}
@keyframes exitPopIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.exit-intent-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 1.8rem;
  cursor: pointer;
}
.exit-intent-popup__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}
.exit-intent-popup__content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1.3;
}
.exit-intent-popup__content > p {
  color: var(--mid-grey);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.exit-intent-popup__content strong {
  color: white;
}
.exit-intent-popup__form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.exit-intent-popup__input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.exit-intent-popup__input::placeholder {
  color: var(--mid-grey);
}
.exit-intent-popup__social {
  margin-top: 16px;
}
.exit-intent-popup__social p {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 10px;
}
.exit-intent-popup__social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.exit-intent-popup__social-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.exit-intent-popup__social-btn--whatsapp {
  background: #25D366;
  color: white;
}
.exit-intent-popup__social-btn--whatsapp:hover {
  background: #128C7E;
}
.exit-intent-popup__social-btn--telegram {
  background: #0088cc;
  color: white;
}
.exit-intent-popup__social-btn--telegram:hover {
  background: #006699;
}
.exit-intent-popup__dismiss {
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 8px;
  margin-top: 8px;
  transition: color 0.2s;
}
.exit-intent-popup__dismiss:hover {
  color: white;
}

/* ─── Floating Share & Earn Button ──────────────────────────────── */
.viral-floating-share {
  position: fixed;
  right: 20px;
  bottom: 160px;
  z-index: 8999;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.4s ease;
  pointer-events: none;
}
.viral-floating-share--visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.viral-floating-share__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.viral-floating-share__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.45);
}
.viral-floating-share__btn svg {
  stroke: var(--bg-primary);
}

/* ─── Viral Share Prompt (After Action) ─────────────────────────── */
.viral-share-prompt {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9500;
  max-width: 340px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.viral-share-prompt--visible {
  opacity: 1;
  transform: translateY(0);
}
.viral-share-prompt__content {
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xl);
}
.viral-share-prompt__content p {
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.5;
  margin-bottom: 14px;
}
.viral-share-prompt__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.viral-share-prompt__dismiss {
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px;
}
.viral-share-prompt__dismiss:hover {
  color: white;
}

/* ─── Viral Engagement Banner (Scroll-triggered) ────────────────── */
.viral-engagement-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9200;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.viral-engagement-banner--visible {
  transform: translateY(0);
}
.viral-engagement-banner__content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--bg-secondary), #1a2640);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}
.viral-engagement-banner__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.viral-engagement-banner__content p {
  flex: 1;
  font-size: 0.9rem;
  color: var(--mid-grey);
  margin: 0;
}
.viral-engagement-banner__content strong {
  color: white;
}
.viral-engagement-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.viral-engagement-banner__close {
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

/* ─── AI Chatbot Widget ─────────────────────────────────────────── */
.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 80px;
  z-index: 9100;
}
.chatbot-widget__trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2640, var(--bg-secondary));
  border: 2px solid var(--gold);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}
.chatbot-widget__trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.2);
}
.chatbot-widget__trigger--active {
  background: var(--gold);
}
.chatbot-widget__trigger--active svg {
  fill: var(--bg-primary);
}
.chatbot-widget__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

/* Chatbot Window */
.chatbot-widget__window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  height: 520px;
  background: var(--bg-primary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatWindowIn 0.3s ease;
}
@keyframes chatWindowIn {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chatbot-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--bg-secondary), #1a2640);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.chatbot-widget__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-widget__header-info strong {
  font-size: 0.9rem;
  color: white;
}
.chatbot-widget__status {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  animation: livePulse 2s infinite;
}
.chatbot-widget__close {
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Messages */
.chatbot-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbot-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  line-height: 1.5;
}
.chatbot-msg p {
  margin: 0 0 6px 0;
}
.chatbot-msg p:last-child {
  margin-bottom: 0;
}
.chatbot-msg--bot {
  background: rgba(255, 255, 255, 0.06);
  color: var(--dark-grey);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chatbot-msg--user {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chatbot-msg a {
  color: var(--gold);
  text-decoration: underline;
}
.chatbot-msg--user a {
  color: var(--bg-primary);
}

/* Typing indicator */
.chatbot-typing {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.chatbot-typing span {
  width: 8px;
  height: 8px;
  background: var(--mid-grey);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite both;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Suggestions */
.chatbot-widget__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chatbot-widget__suggestion {
  padding: 6px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}
.chatbot-widget__suggestion:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

/* Input Area */
.chatbot-widget__input-area {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-secondary);
}
.chatbot-widget__input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-full);
  color: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.chatbot-widget__input::placeholder {
  color: var(--mid-grey);
}
.chatbot-widget__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: var(--bg-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chatbot-widget__send:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

/* ─── Viral CTA Banner (Homepage) ───────────────────────────────── */
.section--viral-cta {
  padding: var(--space-3xl) 0;
}
.viral-cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.viral-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06), transparent 70%);
  pointer-events: none;
}
.viral-cta-banner__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.viral-cta-banner__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}
.viral-cta-banner__text {
  color: var(--mid-grey);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.viral-cta-banner__text strong {
  color: var(--gold);
}
.viral-cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.viral-cta-banner__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Social proof avatars */
.viral-cta-banner__proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.viral-cta-banner__avatars {
  display: flex;
}
.viral-cta-banner__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}
.viral-cta-banner__avatar:first-child {
  margin-left: 0;
}
.viral-cta-banner__proof-text {
  font-size: 0.85rem;
  color: var(--mid-grey);
}

/* Floating icons animation */
.viral-cta-banner__visual {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}
.viral-cta-banner__float-icon {
  position: absolute;
  font-size: 2rem;
  animation: floatIcon 6s ease-in-out infinite;
}
.viral-cta-banner__float-icon--1 { top: 10%; left: 20%; animation-delay: 0s; }
.viral-cta-banner__float-icon--2 { top: 30%; right: 10%; animation-delay: 1s; }
.viral-cta-banner__float-icon--3 { top: 60%; left: 10%; animation-delay: 2s; }
.viral-cta-banner__float-icon--4 { bottom: 10%; left: 40%; animation-delay: 3s; }
.viral-cta-banner__float-icon--5 { top: 10%; right: 30%; animation-delay: 4s; }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ─── Recently Viewed Section ───────────────────────────────────── */
.recently-viewed-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.recently-viewed-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.recently-viewed-scroll::-webkit-scrollbar {
  height: 4px;
}
.recently-viewed-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
.recently-viewed-card {
  flex: 0 0 180px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}
.recently-viewed-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}
.recently-viewed-card__image {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: var(--bg-primary);
}
.recently-viewed-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recently-viewed-card__info {
  padding: 10px;
}
.recently-viewed-card__brand {
  display: block;
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.recently-viewed-card__title {
  display: block;
  font-size: 0.8rem;
  color: white;
  margin-bottom: 4px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recently-viewed-card__price {
  display: block;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

/* ─── Footer Social Buttons ─────────────────────────────────────── */
.footer__social {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 24px;
}
.footer__social .footer__heading {
  margin-bottom: 16px;
}
.footer__social-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer__social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mid-grey);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.footer__social-btn:hover {
  transform: translateY(-3px);
}
.footer__social-btn--whatsapp:hover { background: rgba(37, 211, 102, 0.15); border-color: #25D366; color: #25D366; }
.footer__social-btn--telegram:hover { background: rgba(0, 136, 204, 0.15); border-color: #0088cc; color: #0088cc; }
.footer__social-btn--facebook:hover { background: rgba(24, 119, 242, 0.15); border-color: #1877F2; color: #1877F2; }
.footer__social-btn--twitter:hover { background: rgba(255, 255, 255, 0.1); border-color: white; color: white; }
.footer__social-btn--referral { border-color: var(--gold); color: var(--gold); }
.footer__social-btn--referral:hover { background: rgba(212, 175, 55, 0.15); }
.footer__social-cta {
  font-size: 0.85rem;
  color: var(--mid-grey);
}
.footer__share-earn-link {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-decoration: underline;
}
.footer__share-earn-link:hover {
  color: var(--gold-light);
}

/* ─── Viral Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .referral-modal__dialog {
    padding: 28px 20px;
  }
  .referral-modal__share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .referral-modal__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .referral-modal__stat-value {
    font-size: 1.1rem;
  }

  .viral-cta-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .viral-cta-banner__visual {
    display: none;
  }
  .viral-cta-banner__title {
    font-size: 1.5rem;
  }
  .viral-cta-banner__actions {
    flex-direction: column;
  }
  .viral-cta-banner__actions .btn {
    justify-content: center;
  }

  .chatbot-widget {
    right: 16px;
    bottom: 16px;
  }
  .chatbot-widget__window {
    width: calc(100vw - 32px);
    height: calc(100vh - 140px);
    right: -16px;
    bottom: 68px;
  }
  .chatbot-widget__trigger {
    width: 52px;
    height: 52px;
  }

  .social-proof-container {
    left: 10px;
    right: 10px;
    max-width: none;
    bottom: 80px;
  }

  .viral-floating-share {
    right: 16px;
    bottom: 80px;
  }
  .viral-floating-share__btn span {
    display: none;
  }

  .viral-engagement-banner__content {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 10px;
  }
  .viral-engagement-banner__actions {
    width: 100%;
    justify-content: center;
  }

  .exit-intent-popup__dialog {
    padding: 32px 24px;
  }
  .exit-intent-popup__form {
    flex-direction: column;
  }
  .exit-intent-popup__content h2 {
    font-size: 1.3rem;
  }

  .header__action--invite span {
    display: none;
  }
  .header__action--invite {
    padding: 6px 8px;
    border-radius: 50%;
  }

  .share-buttons {
    gap: 6px;
  }
  .share-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .recently-viewed-card {
    flex: 0 0 150px;
  }
  .recently-viewed-card__image {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .referral-modal__share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .referral-modal__header h2 {
    font-size: 1.4rem;
  }
  .chatbot-widget__window {
    height: calc(100vh - 120px);
  }
  .viral-cta-banner {
    padding: 24px 16px;
  }
  .viral-cta-banner__title {
    font-size: 1.3rem;
  }
}

/* ─── Mobile Menu Viral CTA ─────────────────────────────────────── */
.mobile-menu__viral-cta {
  padding: 16px 0;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__share-earn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-menu__share-earn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
}
.mobile-menu__share-earn svg {
  stroke: var(--gold);
  flex-shrink: 0;
}

/* ─── Viral Button Copied State ─────────────────────────────────── */
.viral-btn--copied {
  background: rgba(37, 211, 102, 0.15) !important;
  border-color: #25D366 !important;
  color: #25D366 !important;
}

/* ─── User Badges Page ──────────────────────────────────────────── */
.badges-user__profile {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}
.badges-user__avatar img,
.badges-user__avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.badges-user__avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-primary);
  font-size: 1.5rem;
  font-weight: 700;
}
.badges-user__info h2 {
  font-family: var(--font-heading);
  color: white;
  margin-bottom: 4px;
}
.badges-user__info p {
  color: var(--mid-grey);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.badges-user__count {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.badge-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}
.badge-card--earned {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
}
.badge-card--locked {
  opacity: 0.6;
}
.badge-card__icon img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.badge-card__emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.badge-card__name {
  font-family: var(--font-heading);
  color: white;
  font-size: 1rem;
  margin-bottom: 6px;
}
.badge-card__desc {
  font-size: 0.82rem;
  color: var(--mid-grey);
  line-height: 1.4;
  margin-bottom: 8px;
}
.badge-card__date {
  font-size: 0.75rem;
  color: var(--gold);
}
.badge-card__status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-card__status--earned {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}
.badge-card__status--locked {
  background: rgba(148, 163, 184, 0.12);
  color: var(--mid-grey);
}

/* ─── Quiz Share Page ───────────────────────────────────────────── */
.quiz-share-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  margin: var(--space-2xl) auto;
}
.quiz-share-card__header {
  margin-bottom: 32px;
}
.quiz-share-card__icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.quiz-share-card__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
}
.quiz-share-card__result {
  margin-bottom: 32px;
}
.quiz-share-card__score {
  margin-bottom: 16px;
}
.quiz-share-card__percentage {
  display: block;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.quiz-share-card__label {
  display: block;
  font-size: 0.9rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.quiz-share-card__rank-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}
.quiz-share-card__user {
  color: var(--mid-grey);
  margin-top: 12px;
}
.quiz-share-card__user strong {
  color: white;
}
.quiz-share-card__cta {
  margin-bottom: 32px;
}
.quiz-share-card__cta p {
  color: var(--mid-grey);
  margin-bottom: 16px;
}
.quiz-share-card__share {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.quiz-share-card__share p {
  color: var(--mid-grey);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.quiz-share-card__share .share-buttons {
  justify-content: center;
}

@media (max-width: 480px) {
  .quiz-share-card {
    padding: 32px 20px;
  }
  .quiz-share-card__percentage {
    font-size: 3rem;
  }
  .badges-user__profile {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── Footer Channel Badges (Seamless Affiliate) ───────────────── */
.footer__channel-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.footer__partner-logo:hover .footer__channel-badge {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

/* ─── Homepage Marketplace Badges ───────────────────────────────── */
.partners-row__badge {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.partners-row__item:hover .partners-row__badge {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ======================================================================
   TYPEFORM-STYLE QUIZ
   Full-screen, one-question-at-a-time, keyboard navigation
   ====================================================================== */

.page-quiz--typeform .main { padding: 0; }
.page-quiz--typeform .site-header,
.page-quiz--typeform .site-footer,
.page-quiz--typeform .whatsapp-float,
.page-quiz--typeform .exit-intent-popup,
.page-quiz--typeform .referral-modal { display: none !important; }

.tf-quiz {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* Progress Bar */
.tf-quiz__progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.08);
  z-index: 10001;
}
.tf-quiz__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #D4AF37, #F4D03F);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 2px 2px 0;
}

/* Header */
.tf-quiz__header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  z-index: 10000;
}
.tf-quiz__logo {
  color: #D4AF37;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.tf-quiz__counter {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

/* Slides */
.tf-quiz__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tf-quiz__slide--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tf-quiz__slide--exit {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}
.tf-quiz__slide-inner {
  max-width: 680px;
  width: 100%;
  padding: 80px 32px;
}
.tf-quiz__slide-inner--center {
  text-align: center;
}

/* Welcome Screen */
.tf-quiz__welcome-icon {
  margin-bottom: 32px;
  animation: tf-pulse 2s ease-in-out infinite;
}
@keyframes tf-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}
.tf-quiz__welcome-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.tf-quiz__welcome-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.tf-quiz__start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #D4AF37;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.tf-quiz__start-btn:hover {
  background: #F4D03F;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}
.tf-quiz__welcome-hint {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
}
.tf-quiz__welcome-hint kbd {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
}

/* Question Number */
.tf-quiz__q-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #D4AF37;
}
.tf-quiz__q-number span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(212,175,55,0.15);
  border-radius: 6px;
  font-weight: 700;
}

/* Question Text */
.tf-quiz__question {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 40px;
  color: #fff;
}

/* Options */
.tf-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tf-quiz__option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: 'Inter', sans-serif;
}
.tf-quiz__option:hover {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.4);
  transform: translateX(4px);
}
.tf-quiz__option--selected {
  background: rgba(212,175,55,0.15) !important;
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 1px #D4AF37;
}
.tf-quiz__option-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.tf-quiz__option:hover .tf-quiz__option-key,
.tf-quiz__option--selected .tf-quiz__option-key {
  background: #D4AF37;
  color: #0a0a0a;
  border-color: #D4AF37;
}
.tf-quiz__option-text {
  flex: 1;
}

/* Navigation Footer */
.tf-quiz__footer {
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 4px;
  padding: 20px 32px;
  z-index: 10000;
}
.tf-quiz__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tf-quiz__nav-btn:hover:not(:disabled) {
  background: rgba(212,175,55,0.15);
  border-color: #D4AF37;
}
.tf-quiz__nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

/* Loading Screen */
.tf-quiz__loader {
  margin-bottom: 32px;
}
.tf-quiz__loading-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #D4AF37;
  margin-bottom: 12px;
}
.tf-quiz__loading-desc {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

/* About Page Styles */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content__block { margin-bottom: 48px; }
.about-content__block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #D4AF37;
  margin-bottom: 16px;
}
.about-content__block p { color: #ccc; line-height: 1.8; margin-bottom: 12px; }
.about-content__list { list-style: none; padding: 0; margin: 16px 0; }
.about-content__list li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: #ccc;
  line-height: 1.6;
}
.about-content__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: #D4AF37;
  border-radius: 50%;
}
.about-content__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.about-content__brand-tag {
  padding: 6px 14px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #D4AF37;
}
.about-content__trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.about-content__trust-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}
.about-content__trust-icon { margin-bottom: 16px; }
.about-content__trust-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}
.about-content__trust-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.about-content__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.about-content__stat { text-align: center; }
.about-content__stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #D4AF37;
  font-family: 'Playfair Display', serif;
}
.about-content__stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* Responsive Typeform Quiz */
@media (max-width: 768px) {
  .tf-quiz__slide-inner { padding: 100px 20px 80px; }
  .tf-quiz__question { font-size: 1.4rem; margin-bottom: 28px; }
  .tf-quiz__option { padding: 14px 16px; font-size: 0.95rem; }
  .tf-quiz__header { padding: 12px 20px; }
  .tf-quiz__footer { padding: 16px 20px; }
  .tf-quiz__welcome-title { font-size: 1.8rem; }
  .tf-quiz__welcome-desc { font-size: 1rem; }
  .about-content__stats { grid-template-columns: repeat(2, 1fr); }
}