/* ══════════════════════════════════════════════════════════════════
   VYRAS — Maison de Mode  ·  Luxury Design System
   Inspired by Zegna · Berluti · Tom Ford
══════════════════════════════════════════════════════════════════ */

/* ── RESET ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ───────────────────────────────────────────────────── */
:root {
  --bg:     #080808;
  --s1:     #0d0d0d;
  --s2:     #111;
  --text:   #f0ede6;
  --muted:  rgba(240,237,230,.38);
  --gold:   #c5a46a;
  --gold2:  #d4b47a;
  --border: rgba(197,164,106,.12);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Montserrat', Arial, sans-serif;
  --ease:   cubic-bezier(.25,.1,.25,1);
  --ease-o: cubic-bezier(.22,1,.36,1);
  --t:      0.55s;
}

/* ── BASE ─────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; cursor: none; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: none; }
img { display: block; max-width: 100%; }
button { cursor: none; font-family: var(--sans); border: none; }

/* ── CUSTOM CURSOR ───────────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  left: 0; top: 0;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  left: 0; top: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(197,164,106,.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity .4s, width .5s var(--ease-o), height .5s var(--ease-o),
              border-color .4s, background .4s;
  will-change: transform;
}
body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(197,164,106,.55);
  background: rgba(197,164,106,.04);
}
body.cursor-hover .cursor-dot { opacity: 0; }
body.cursor-click .cursor-ring { width: 24px; height: 24px; }
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  html, body, a, button { cursor: auto; }
}

/* ── ANNOUNCEMENT ────────────────────────────────────────────────── */
.announcement {
  background: var(--gold);
  color: var(--bg);
  text-align: center;
  padding: 8px 16px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  position: relative;
  z-index: 110;
}

/* ── HEADER ──────────────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 33px; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 60px;
  height: 60px;
  transition: top var(--t) var(--ease), background .6s ease, border-color .6s ease;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  top: 0;
  background: rgba(8,8,8,.82);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom-color: var(--border);
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 200;
  letter-spacing: .65em;
  color: var(--text);
  text-align: center;
  justify-self: center;
  transition: color var(--t), letter-spacing var(--t) var(--ease-o);
}
.logo:hover { color: var(--gold); letter-spacing: .75em; }

.nav-desktop {
  display: flex; gap: 40px;
  justify-self: start;
}
.nav-desktop a {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t);
}
.nav-desktop a:hover { color: var(--text); }

.header-actions {
  display: flex; align-items: center; gap: 24px;
  justify-self: end;
}
.icon-btn {
  background: none;
  color: var(--muted);
  transition: color var(--t);
  position: relative;
  display: flex; padding: 4px;
}
.icon-btn:hover { color: var(--text); }

.cart-count {
  position: absolute; top: -2px; right: -5px;
  background: var(--gold); color: var(--bg);
  font-size: 8px; font-weight: 600;
  width: 15px; height: 15px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: opacity var(--t), transform var(--t) var(--ease-o);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

.menu-btn {
  background: none;
  display: none; flex-direction: column;
  gap: 6px; padding: 4px;
}
.menu-btn span {
  display: block; width: 22px; height: 1px;
  background: var(--text); transition: var(--t);
}

/* ── MOBILE NAV ──────────────────────────────────────────────────── */
.nav-mobile {
  position: fixed;
  top: 93px; left: 0; right: 0;
  background: rgba(8,8,8,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  display: flex; flex-direction: column;
  transform: translateY(-108%);
  transition: transform .5s var(--ease-o);
  padding: 36px 60px; gap: 30px;
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile a {
  font-size: 10px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); transition: color var(--t);
}
.nav-mobile a:hover { color: var(--gold); }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  height: 100vh; min-height: 740px;
  position: relative;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 100px 100px;
  background: var(--bg);
  overflow: hidden;
}

/* Very subtle warm glow at bottom */
.hero::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: radial-gradient(ellipse 70% 50% at 20% 100%, rgba(197,164,106,.05) 0%, transparent 100%);
  pointer-events: none;
}

.hero-meta {
  position: absolute; top: 130px; left: 100px;
  display: flex; align-items: center; gap: 22px;
  opacity: 0;
  animation: fadeUp .8s var(--ease-o) forwards .3s;
}
.hero-meta-tag {
  font-size: 8px; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold);
}
.hero-meta-div {
  display: block; width: 48px; height: 1px;
  background: rgba(197,164,106,.3);
}
.hero-meta > span:last-child {
  font-size: 8px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(240,237,230,.25);
}

.hero-content {
  position: relative; z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.hero-display {
  display: flex; flex-direction: column;
  gap: 0;
}
.hd-line {
  display: block;
  font-family: var(--serif);
  font-weight: 200;
  line-height: .88;
  letter-spacing: -.03em;
  color: var(--text);
  opacity: 0;
}
.hd1 {
  font-size: clamp(80px, 12vw, 160px);
  animation: fadeUp 1.3s var(--ease-o) forwards .55s;
}
.hd2 {
  font-size: clamp(76px, 11.5vw, 152px);
  animation: fadeUp 1.3s var(--ease-o) forwards .75s;
}
.hd2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 200;
}

.hero-side {
  flex-shrink: 0; max-width: 260px;
  padding-bottom: 12px;
  opacity: 0;
  animation: fadeUp .9s var(--ease-o) forwards .92s;
}
.hero-desc {
  font-size: 12px; font-weight: 300;
  color: rgba(240,237,230,.42);
  letter-spacing: .05em;
  line-height: 2.1; margin-bottom: 32px;
}

.hero-scroll {
  position: absolute; bottom: 100px; right: 100px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  z-index: 1; opacity: 0;
  animation: fadeUp .8s var(--ease-o) forwards 1.35s;
}
.hero-scroll span {
  font-size: 8px; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(240,237,230,.2); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(197,164,106,.5), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  46%  { transform-origin: bottom; }
  90%  { transform: scaleY(0); transform-origin: bottom; opacity: .4; }
  100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
}

/* ── HERO KEYFRAMES ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TEXT LINKS ──────────────────────────────────────────────────── */
.text-link {
  display: inline-block;
  font-size: 9px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(197,164,106,.3);
  padding-bottom: 6px;
  transition: color var(--t), border-color var(--t);
}
.text-link:hover { color: var(--gold); border-color: var(--gold); }

.text-link-sm {
  display: inline-block;
  font-size: 8px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing var(--t) var(--ease-o), color var(--t);
}
.text-link-sm:hover { letter-spacing: .34em; }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--bg);
  padding: 14px 38px;
  font-size: 9px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  transition: background var(--t);
}
.btn-primary:hover { background: var(--gold2); }
.w-full { width: 100%; }

.btn-outline-lg {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
  padding: 14px 52px;
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  transition: color var(--t), border-color var(--t);
}
.btn-outline-lg:hover { color: var(--text); border-color: rgba(240,237,230,.28); }

/* ── BAND ─────────────────────────────────────────────────────────── */
.band {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--s1);
}
.band-inner {
  display: flex; gap: 44px; align-items: center;
  white-space: nowrap;
  animation: bandScroll 38s linear infinite;
  width: max-content;
}
.band-inner span {
  font-size: 9px; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(240,237,230,.25);
  font-weight: 400;
}
.band-dot { color: var(--gold) !important; opacity: .5; }
@keyframes bandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION ─────────────────────────────────────────────────────── */
.section { padding: 160px 100px; }
.section-dark { background: var(--s1); }

.section-header { margin-bottom: 96px; }

.section-label {
  font-size: 8px; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
  display: flex; align-items: center; gap: 18px;
}
.section-label::before {
  content: '';
  display: inline-block; width: 24px; height: 1px;
  background: var(--gold); opacity: .4;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 90px);
  font-weight: 200; line-height: .95;
  color: var(--text); letter-spacing: -.03em;
}

/* ── COLLECTIONS ─────────────────────────────────────────────────── */
.collections-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-rows: 640px;
  gap: 2px;
}
.collection-card.large { grid-row: 1; }
.collection-card {
  position: relative; overflow: hidden;
  background: var(--s1);
}
.collection-img {
  width: 100%; height: 100%;
  position: relative; overflow: hidden;
}
.collection-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1.1s var(--ease-o);
}
.collection-card:hover .collection-img img { transform: scale(1.04); }

.col-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.92) 0%, rgba(8,8,8,.35) 45%, transparent 70%);
  transition: background var(--t) ease;
}
.collection-card:hover .col-overlay {
  background: linear-gradient(to top, rgba(8,8,8,.96) 0%, rgba(8,8,8,.55) 55%, rgba(8,8,8,.06) 80%);
}

.collection-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 44px;
  transform: translateY(6px);
  transition: transform .6s var(--ease-o);
}
.collection-card:hover .collection-info { transform: translateY(0); }

.col-num {
  font-size: 8px; letter-spacing: .38em;
  color: rgba(197,164,106,.45);
  margin-bottom: 12px; font-weight: 500;
  text-transform: uppercase;
}
.collection-info h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 200; margin-bottom: 8px;
  letter-spacing: -.01em; color: var(--text);
}
.col-sub {
  font-size: 9px; color: var(--muted);
  letter-spacing: .18em; margin-bottom: 24px; text-transform: uppercase;
}

/* ── FILTERS ─────────────────────────────────────────────────────── */
.filters {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-bottom: 72px;
}
.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 8px 20px;
  font-size: 8px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  transition: color var(--t), border-color var(--t);
}
.filter-btn:hover { color: var(--text); border-color: rgba(240,237,230,.12); }
.filter-btn.active { color: var(--gold); border-color: var(--border); }

/* ── PRODUCTS ────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.product-card {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  animation: cardIn .65s var(--ease-o) backwards;
  animation-delay: calc(var(--card-i, 0) * 55ms);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-img {
  aspect-ratio: 2/3;
  position: relative; overflow: hidden;
}
.product-thumb {
  width: 100%; height: 100%;
  transition: transform 1s var(--ease-o);
}
.product-card:hover .product-thumb { transform: scale(1.04); }
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--bg);
  font-size: 7px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 10px; z-index: 2;
}
.product-badge.sale { background: #8a2222; color: #f5eeee; }

.product-info { padding: 22px 20px 28px; }
.product-category {
  font-size: 8px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px; font-weight: 500;
}
.product-name {
  font-family: var(--serif);
  font-size: 20px; font-weight: 300;
  margin-bottom: 12px; color: var(--text);
  line-height: 1.2; letter-spacing: -.01em;
}
.product-price { display: flex; align-items: baseline; gap: 10px; }
.product-price .price {
  font-family: var(--serif); font-size: 17px;
  font-weight: 300; color: var(--text);
}
.product-price .old-price { font-size: 12px; color: var(--muted); text-decoration: line-through; }

/* Quick-add row slides up on hover */
.product-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 0 0;
  transform: translateY(100%);
  transition: transform .5s var(--ease-o);
  z-index: 3;
}
.product-card:hover .product-actions { transform: translateY(0); }
.product-action-btn {
  width: 100%; background: rgba(8,8,8,.92);
  backdrop-filter: blur(8px);
  color: var(--text); padding: 13px;
  font-size: 8px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  border-top: 1px solid var(--border);
  transition: background var(--t), color var(--t);
}
.product-action-btn:hover { background: var(--gold); color: var(--bg); }

.load-more-wrap { text-align: center; margin-top: 96px; }

/* ── EDITORIAL BANNER ────────────────────────────────────────────── */
.editorial-banner {
  padding: 160px 100px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.editorial-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 80% 50%, rgba(197,164,106,.04) 0%, transparent 100%);
  pointer-events: none;
}
.editorial-inner { max-width: 600px; position: relative; }
.editorial-inner h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 200; line-height: 1.05;
  margin: 24px 0 32px;
  letter-spacing: -.025em; color: var(--text);
}
.editorial-inner h2 em { font-style: italic; color: var(--gold); font-weight: 200; }
.editorial-desc {
  color: var(--muted); font-size: 14px;
  line-height: 2; margin-bottom: 44px;
}

/* ── BOUTIQUES ───────────────────────────────────────────────────── */
.boutiques-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}
.boutique-card {
  background: var(--s1);
  transition: background var(--t);
  overflow: hidden; position: relative;
}
.boutique-card:hover { background: var(--s2); }

.boutique-photo {
  width: 100%; height: 190px;
  overflow: hidden; position: relative;
}
.boutique-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
  transition: transform .9s var(--ease-o);
}
.boutique-card:hover .boutique-photo img { transform: scale(1.04); }

.boutique-body { padding: 28px; }
.boutique-score {
  font-size: 36px; font-family: var(--serif);
  color: var(--gold); font-weight: 200;
  margin-bottom: 4px; line-height: 1;
}
.boutique-name {
  font-size: 12px; font-weight: 400;
  margin-bottom: 4px; color: var(--text); letter-spacing: .03em;
}
.boutique-location {
  font-size: 9px; color: var(--muted);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px;
}
.score-bar { height: 1px; background: rgba(197,164,106,.1); overflow: hidden; }
.score-fill {
  height: 100%;
  background: linear-gradient(to right, rgba(197,164,106,.3), var(--gold));
  transition: width 1.5s var(--ease-o);
}

/* ── ABOUT ───────────────────────────────────────────────────────── */
.about-section {
  padding: 160px 100px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 120px; align-items: center;
}
.about-visual { position: relative; height: 600px; }
.about-frame {
  position: absolute;
  border: 1px solid var(--border);
}
.about-frame.a1 {
  width: 310px; height: 450px; top: 0; left: 0;
  background: linear-gradient(150deg, rgba(197,164,106,.05) 0%, transparent 70%);
}
.about-frame.a2 {
  width: 260px; height: 330px; bottom: 0; right: 20px;
  background: linear-gradient(150deg, rgba(197,164,106,.03) 0%, transparent 70%);
}
.about-quote {
  position: absolute; bottom: 100px; left: 18px; right: 44px;
  font-family: var(--serif);
  font-size: 18px; font-weight: 200; font-style: italic;
  color: var(--gold); line-height: 1.6;
  padding: 28px 28px 28px 32px;
  background: rgba(8,8,8,.94);
  border-left: 1px solid rgba(197,164,106,.35);
}
.about-text .section-label { margin-bottom: 20px; display: block; }
.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 200; line-height: 1.08;
  margin-bottom: 40px; letter-spacing: -.02em; color: var(--text);
}
.about-text p { color: var(--muted); line-height: 2; margin-bottom: 22px; font-size: 14px; }

.about-stats {
  display: flex; gap: 56px;
  margin-top: 56px; padding-top: 52px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-n {
  font-family: var(--serif);
  font-size: 60px; font-weight: 200; color: var(--gold); line-height: 1;
}
.stat-l {
  font-size: 8px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}

/* ── NEWSLETTER ──────────────────────────────────────────────────── */
.newsletter {
  background: var(--s1);
  border-top: 1px solid var(--border);
  padding: 160px 100px;
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 120%, rgba(197,164,106,.055) 0%, transparent 100%);
  pointer-events: none;
}
.newsletter-inner {
  max-width: 540px; margin: 0 auto;
  text-align: center; position: relative;
}
.newsletter-inner .section-label { justify-content: center; margin-bottom: 24px; }
.newsletter-inner h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 200; margin-bottom: 22px; letter-spacing: -.025em;
}
.newsletter-inner > p {
  color: var(--muted); margin-bottom: 52px;
  font-size: 14px; line-height: 2;
}
.newsletter-form { margin-bottom: 24px; }
.newsletter-field {
  display: flex;
  border-bottom: 1px solid var(--border);
  transition: border-color var(--t);
  max-width: 440px; margin: 0 auto;
}
.newsletter-field:focus-within { border-color: rgba(197,164,106,.45); }
.newsletter-field input {
  flex: 1; background: transparent; border: none;
  color: var(--text); padding: 14px 0;
  font-family: var(--sans); font-size: 13px; font-weight: 300;
  outline: none; letter-spacing: .02em;
}
.newsletter-field input::placeholder { color: var(--muted); }
.newsletter-field button {
  background: none;
  color: var(--gold); padding: 14px 0 14px 24px;
  font-size: 8px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  transition: color var(--t);
}
.newsletter-field button:hover { color: var(--gold2); }
.newsletter-note {
  font-size: 9px; color: rgba(240,237,230,.18); letter-spacing: .08em;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--s1);
  border-top: 1px solid var(--border);
  padding: 100px 100px 52px;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 100px; margin-bottom: 80px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 32px; font-weight: 200;
  letter-spacing: .45em; color: var(--text); margin-bottom: 20px;
}
.footer-brand p { color: var(--muted); font-size: 12px; line-height: 2; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 {
  font-size: 8px; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--text); margin-bottom: 10px;
}
.footer-col a { font-size: 12px; color: var(--muted); transition: color var(--t); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 36px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 10px; color: rgba(240,237,230,.16); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a {
  font-size: 10px; color: rgba(240,237,230,.16); transition: color var(--t);
}
.footer-legal a:hover { color: var(--muted); }

/* ── OVERLAYS ────────────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .5s ease;
  backdrop-filter: blur(4px);
}
.overlay.visible { opacity: 1; pointer-events: all; }
.overlay-dark { background: rgba(0,0,0,.85); }

/* ── CART DRAWER ─────────────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 92vw;
  background: rgba(10,10,10,.97);
  backdrop-filter: blur(28px);
  border-left: 1px solid var(--border);
  z-index: 201;
  transform: translateX(101%);
  transition: transform .52s var(--ease-o);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-shrink: 0;
}
.cart-header h3 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 200; letter-spacing: .04em;
}

.close-btn {
  background: none;
  color: var(--muted); font-size: 14px;
  transition: color var(--t); padding: 4px;
}
.close-btn:hover { color: var(--text); }
.close-abs { position: absolute; top: 20px; right: 24px; z-index: 10; }

.cart-items { flex: 1; overflow-y: auto; padding: 28px 32px; }
.cart-items::-webkit-scrollbar { width: 1px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--border); }
.cart-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%; min-height: 200px; gap: 18px;
  color: var(--muted);
}
.cart-empty p { font-size: 12px; letter-spacing: .08em; }
.cart-item {
  display: flex; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid rgba(197,164,106,.06);
}
.cart-item-img {
  width: 72px; height: 90px;
  overflow: hidden; flex-shrink: 0; background: var(--s2);
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: var(--serif);
  font-size: 17px; font-weight: 200;
  margin-bottom: 5px; color: var(--text); line-height: 1.3;
}
.cart-item-meta {
  font-size: 8px; color: var(--muted);
  letter-spacing: .14em; margin-bottom: 14px; text-transform: uppercase;
}
.cart-item-actions { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--text); width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: border-color var(--t);
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-val { font-size: 13px; width: 20px; text-align: center; }
.cart-item-price {
  font-family: var(--serif); font-size: 16px;
  color: var(--text); margin-left: auto;
}
.remove-btn {
  background: none; color: var(--muted);
  font-size: 11px; transition: color var(--t);
}
.remove-btn:hover { color: #c93030; }

.cart-footer {
  padding: 24px 32px 36px;
  border-top: 1px solid var(--border); flex-shrink: 0;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.cart-total span:first-child {
  font-size: 8px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
#cartTotal { font-family: var(--serif); font-size: 24px; font-weight: 200; }
.cart-note { text-align: center; font-size: 9px; color: var(--muted); margin-top: 16px; }

/* ── TOAST ────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 110px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(8,8,8,.95);
  border: 1px solid var(--border); color: var(--text);
  padding: 12px 28px; font-size: 11px;
  letter-spacing: .06em; z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease-o);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── SIZE MODAL ──────────────────────────────────────────────────── */
.size-modal {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(8,8,8,.98);
  border-top: 1px solid var(--border); z-index: 301;
  padding: 48px 56px; max-width: 640px; margin: 0 auto;
  transform: translateY(100%);
  transition: transform .5s var(--ease-o);
}
.size-modal.open { transform: translateY(0); }
.size-modal h3 {
  font-family: var(--serif);
  font-size: 24px; font-weight: 200; margin-bottom: 6px;
}
.modal-sub {
  font-size: 8px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 30px;
}
.size-grid { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.size-opt {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 11px 22px;
  font-size: 11px; font-weight: 400; letter-spacing: .08em;
  transition: all var(--t) var(--ease-o);
}
.size-opt:hover { border-color: rgba(240,237,230,.28); color: var(--text); }
.size-opt.selected { border-color: var(--gold); color: var(--gold); background: rgba(197,164,106,.06); }

/* ── PRODUCT DETAIL MODAL ────────────────────────────────────────── */
.product-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(.96);
  width: min(980px, 94vw); max-height: 92vh;
  background: #0c0c0c;
  border: 1px solid var(--border); z-index: 401;
  display: grid; grid-template-columns: 1fr 1fr;
  opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease-o), opacity .4s ease;
  overflow: hidden;
}
.product-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; pointer-events: auto;
}
.pm-left {
  position: relative; overflow: hidden;
  background: var(--bg); min-height: 520px;
}
.pm-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center; display: block;
  transition: transform .7s var(--ease-o);
  transform-origin: 50% 50%; min-height: 520px;
}
.pm-left:hover .pm-img { transform: scale(1.55); }
.pm-zoom-hint {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: rgba(8,8,8,.88);
  border: 1px solid var(--border); color: var(--muted);
  font-size: 8px; letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 16px; white-space: nowrap;
  transition: opacity .3s; pointer-events: none;
}
.pm-left:hover .pm-zoom-hint { opacity: 0; }
.pm-right {
  padding: 52px 44px 44px;
  overflow-y: auto; display: flex; flex-direction: column;
}
.pm-right::-webkit-scrollbar { width: 1px; }
.pm-right::-webkit-scrollbar-thumb { background: var(--border); }
.pm-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pm-badge-pill {
  background: var(--gold); color: var(--bg);
  font-size: 7px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; padding: 4px 11px;
}
.pm-badge-pill.sale { background: #8a2222; color: #f5eeee; }
.pm-category-lbl {
  font-size: 8px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.pm-name {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 200; line-height: 1.1;
  color: var(--text); margin-bottom: 22px; letter-spacing: -.015em;
}
.pm-price-row { display: flex; align-items: baseline; gap: 14px; }
.pm-price { font-family: var(--serif); font-size: 28px; font-weight: 200; color: var(--text); }
.pm-old-price { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.pm-sep { height: 1px; background: var(--border); margin: 26px 0; }
.pm-size-label {
  font-size: 8px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.pm-sizes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.pm-size-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  transition: all var(--t) var(--ease-o);
  display: flex; align-items: center; justify-content: center;
}
.pm-size-btn:hover { border-color: rgba(240,237,230,.28); color: var(--text); }
.pm-size-btn.selected { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 600; }
.pm-features {
  list-style: none; display: flex;
  flex-direction: column; gap: 9px; margin-bottom: 32px;
}
.pm-features li {
  font-size: 11px; color: var(--muted); letter-spacing: .04em;
  padding-left: 14px; position: relative;
}
.pm-features li::before {
  content: '—';
  position: absolute; left: 0; color: var(--gold); opacity: .5; font-size: 9px;
}
.pm-btn { margin-top: auto; }
.pm-contact { margin-top: 16px; font-size: 9px; color: rgba(240,237,230,.2); text-align: center; }
.pm-contact a { color: var(--gold); }

/* ── CHAT ─────────────────────────────────────────────────────────── */
.chat-fab {
  position: fixed; bottom: 36px; right: 36px; z-index: 1200;
  display: flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--bg);
  padding: 13px 20px 13px 16px;
  font-size: 9px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  transition: background var(--t), transform .4s var(--ease-o);
  box-shadow: 0 6px 28px rgba(197,164,106,.22);
}
.chat-fab:hover { background: var(--gold2); transform: translateY(-2px); }

.chat-overlay {
  position: fixed; inset: 0; z-index: 1299;
  opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.chat-overlay.visible { opacity: 1; pointer-events: auto; }
.chat-drawer {
  position: fixed; bottom: 100px; right: 36px;
  width: 360px; max-height: 520px; z-index: 1300;
  background: rgba(8,8,8,.98);
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transform: translateY(16px) scale(.97);
  opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-o), opacity .3s;
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
}
.chat-drawer.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--bg);
  font-family: var(--serif); font-size: 16px; font-weight: 400;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-title { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--text); }
.chat-subtitle { font-size: 8px; color: var(--gold); letter-spacing: .06em; margin-top: 2px; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 1px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); }
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble { max-width: 85%; padding: 10px 14px; font-size: 12px; line-height: 1.65; }
.chat-msg.user .chat-bubble { background: var(--gold); color: var(--bg); }
.chat-msg.assistant .chat-bubble {
  background: rgba(255,255,255,.035); color: var(--text);
  border: 1px solid var(--border);
}
.chat-typing .chat-bubble { display: flex; gap: 5px; align-items: center; padding: 14px 18px; }
.chat-typing .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: .4;
  animation: chatDot 1.3s infinite;
}
.chat-typing .dot:nth-child(2) { animation-delay: .2s; }
.chat-typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes chatDot {
  0%,80%,100% { opacity: .4; transform: scale(1); }
  40%          { opacity: 1; transform: scale(1.2); }
}
.chat-input-row { display: flex; border-top: 1px solid var(--border); flex-shrink: 0; }
.chat-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: var(--sans);
  font-size: 12px; padding: 14px 16px; font-weight: 300;
}
.chat-input::placeholder { color: var(--muted); }
.chat-send {
  background: none; border-left: 1px solid var(--border);
  color: var(--gold); padding: 14px 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t);
}
.chat-send:hover { background: rgba(197,164,106,.07); }

/* ── SCROLL REVEAL ───────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1.1s var(--ease-o), transform 1.1s var(--ease-o);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="left"] { opacity: 0; transform: translateX(-36px); transition: opacity 1.1s var(--ease-o), transform 1.1s var(--ease-o); }
[data-reveal="right"] { opacity: 0; transform: translateX(36px); transition: opacity 1.1s var(--ease-o), transform 1.1s var(--ease-o); }
[data-reveal].revealed,
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { opacity: 1; transform: translate(0); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .boutiques-grid { grid-template-columns: repeat(4, 1fr); }
  .collections-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 540px 540px; }
  .collection-card.large { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 1024px) {
  .section { padding: 120px 60px; }
  .about-section { padding: 120px 60px; }
  .editorial-banner { padding: 120px 60px; }
  .newsletter { padding: 120px 60px; }
  .footer { padding: 80px 60px 44px; }
  #header { padding: 0 36px; }
  .hero { padding: 0 60px 80px; }
  .hero-meta { left: 60px; }
  .hero-scroll { right: 60px; bottom: 80px; }
  .about-section { grid-template-columns: 1fr; gap: 72px; }
  .about-visual { height: 360px; }
}
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .nav-desktop { display: none; }
  #header { grid-template-columns: auto auto auto; }
  .logo { justify-self: center; }
  .section { padding: 96px 32px; }
  .about-section { padding: 96px 32px; }
  .editorial-banner { padding: 96px 32px; }
  .newsletter { padding: 96px 32px; }
  .footer { padding: 80px 32px 44px; }
  .hero { padding: 0 32px 72px; }
  .hero-meta { left: 32px; top: 100px; }
  .hero-scroll { right: 32px; bottom: 72px; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero-side { max-width: 100%; }
  .collections-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .collection-card { height: 380px; }
  .collection-card.large { grid-column: 1; grid-row: auto; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .boutiques-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 52px; }
  .newsletter-field { flex-direction: column; }
  .newsletter-field input { padding: 14px 0; }
  .newsletter-field button { padding: 14px 0; border-top: 1px solid var(--border); }
  .nav-mobile { padding: 36px 32px; top: 93px; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .boutiques-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .about-stats { gap: 32px; }
  .hd1, .hd2 { font-size: clamp(56px, 16vw, 96px); }
  .hero { padding: 0 24px 72px; }
  .hero-meta { left: 24px; }
  .hero-scroll { right: 24px; }
  .chat-drawer { width: calc(100vw - 20px); right: 10px; bottom: 88px; }
  .chat-fab { right: 16px; bottom: 18px; }
}
@media (max-width: 760px) {
  .product-modal { grid-template-columns: 1fr; max-height: 96vh; width: 98vw; }
  .pm-left { min-height: 280px; }
  .pm-img { min-height: 280px; }
  .pm-right { padding: 28px 24px; }
  .size-modal { max-width: none; padding: 36px 28px; }
}

/* ── LOYALTY HEADER BUTTON ───────────────────────────────────────── */
.loyalty-btn { position: relative; }
.loyalty-count {
  position: absolute;
  top: -4px; right: -6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--gold);
  color: var(--bg);
  font-size: 8px; font-weight: 700;
  letter-spacing: .04em;
  border-radius: 8px;
  display: none;
  align-items: center; justify-content: center;
  line-height: 1;
}
.loyalty-count.visible { display: flex; }

/* ── LOYALTY MODAL ───────────────────────────────────────────────── */
.loyalty-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: min(520px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  background: var(--s1);
  border: 1px solid var(--border);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-o), transform .35s var(--ease-o);
}
.loyalty-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.loyalty-modal::-webkit-scrollbar { width: 2px; }
.loyalty-modal::-webkit-scrollbar-thumb { background: var(--border); }

.lm-panel { padding: 48px 44px 44px; display: flex; flex-direction: column; gap: 20px; }
.lm-panel.hidden { display: none; }

/* Connexion */
.lm-intro { text-align: center; }
.lm-star { color: var(--gold); margin-bottom: 14px; }
.lm-title { font-family: var(--serif); font-size: 28px; font-weight: 200; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lm-desc { font-size: 12px; color: var(--muted); line-height: 1.9; max-width: 340px; margin: 0 auto; }
.lm-perks { display: flex; flex-direction: column; gap: 10px; background: rgba(197,164,106,.04); border: 1px solid var(--border); padding: 18px 22px; }
.lm-perk { font-size: 11px; color: var(--muted); letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.lm-perk-icon { color: var(--gold); font-size: 10px; flex-shrink: 0; }
.lm-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--sans); font-size: 13px; font-weight: 300;
  outline: none;
  transition: border-color var(--t);
}
.lm-input:focus { border-color: rgba(197,164,106,.4); }
.lm-input::placeholder { color: var(--muted); }
.lm-btn-primary {
  background: var(--gold); color: var(--bg);
  padding: 14px;
  font-family: var(--sans); font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background var(--t);
}
.lm-btn-primary:hover { background: var(--gold2); }
.lm-btn-primary:disabled { opacity: .5; cursor: default; }
.lm-error { font-size: 11px; color: #e05555; min-height: 14px; text-align: center; }

/* Tableau de bord */
.lm-balance-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border: 1px solid var(--border);
  padding: 24px 28px;
}
.lm-bal-num {
  font-family: var(--serif); font-size: 56px; font-weight: 200;
  color: var(--gold); line-height: 1;
}
.lm-bal-lbl { font-size: 8px; font-weight: 600; letter-spacing: .32em; color: var(--muted); margin-top: 4px; }
.lm-badge {
  padding: 6px 14px;
  font-size: 8px; font-weight: 700; letter-spacing: .22em;
  border: 1px solid; border-radius: 0;
}
.lm-badge-bronze { border-color: rgba(205,127,50,.4); color: #cd7f32; background: rgba(205,127,50,.06); }
.lm-badge-silver { border-color: rgba(192,192,192,.4); color: #c8c8c8; background: rgba(192,192,192,.06); }
.lm-badge-or     { border-color: rgba(197,164,106,.5); color: var(--gold); background: rgba(197,164,106,.08); }
.lm-prog-bar { height: 2px; background: rgba(197,164,106,.1); position: relative; }
.lm-prog-fill { height: 100%; background: var(--gold); transition: width .8s var(--ease-o); }
.lm-prog-hint { font-size: 10px; color: var(--muted); letter-spacing: .04em; text-align: center; }
.lm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lm-act {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; background: transparent;
  border: 1px solid var(--border); color: var(--muted);
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: all var(--t);
}
.lm-act:hover { border-color: rgba(197,164,106,.3); color: var(--text); }
.lm-act-gold { border-color: rgba(197,164,106,.25); color: var(--gold); }
.lm-act-gold:hover { border-color: var(--gold); background: rgba(197,164,106,.06); }

/* Historique */
.lm-history-wrap { border-top: 1px solid var(--border); padding-top: 18px; }
.lm-hist-title { font-size: 8px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.lm-hist-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(197,164,106,.05); font-size: 11px; }
.lm-hist-desc { flex: 1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-hist-pts { font-family: var(--serif); font-size: 14px; font-weight: 300; flex-shrink: 0; }
.hist-earn   { color: #6dbf8a; }
.hist-redeem { color: #e07070; }
.lm-hist-date { font-size: 9px; color: rgba(240,237,230,.25); flex-shrink: 0; }
.lm-muted { font-size: 11px; color: var(--muted); }
.lm-signout { background: none; border: none; color: rgba(240,237,230,.2); font-family: var(--sans); font-size: 10px; letter-spacing: .1em; cursor: pointer; text-align: center; transition: color var(--t); }
.lm-signout:hover { color: var(--muted); }

/* Earn panel */
.lm-back { background: none; border: none; color: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: .08em; cursor: pointer; text-align: left; transition: color var(--t); padding: 0; }
.lm-back:hover { color: var(--text); }
.lm-earn-top { text-align: center; }
.lm-earn-icon { font-size: 40px; font-weight: 200; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.lm-earn-top h3 { font-family: var(--serif); font-size: 22px; font-weight: 200; letter-spacing: .1em; color: var(--text); margin-bottom: 8px; }
.lm-earn-top p { font-size: 11px; color: var(--muted); line-height: 1.8; }
.lm-preview { font-family: var(--serif); font-size: 20px; font-weight: 200; color: var(--gold); text-align: center; min-height: 28px; }
.lm-section-title { font-family: var(--serif); font-size: 22px; font-weight: 200; letter-spacing: .1em; }

/* Redeem panel */
.lm-redeem-grid { display: flex; flex-direction: column; gap: 8px; }
.lm-redeem-opt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border);
  cursor: pointer; transition: all var(--t);
}
.lm-redeem-opt:hover:not(.lm-opt-disabled) { border-color: rgba(197,164,106,.4); background: rgba(197,164,106,.04); }
.lm-opt-disabled { opacity: .35; cursor: default; }
.lm-opt-tokens { font-family: var(--serif); font-size: 18px; font-weight: 200; color: var(--text); }
.lm-opt-tokens span { font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: .2em; color: var(--muted); margin-left: 4px; }
.lm-opt-arrow { color: var(--border); }
.lm-opt-discount { font-family: var(--serif); font-size: 22px; font-weight: 200; color: var(--gold); }
.lm-code-box { border: 1px solid rgba(197,164,106,.25); background: rgba(197,164,106,.04); padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.lm-code-label { font-size: 9px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.lm-code-val { font-family: var(--serif); font-size: 28px; font-weight: 200; color: var(--gold); letter-spacing: .12em; }
.lm-copy-btn { background: var(--gold); color: var(--bg); padding: 10px 24px; font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; border: none; cursor: pointer; transition: background var(--t); }
.lm-copy-btn:hover { background: var(--gold2); }
.lm-code-exp { font-size: 10px; color: var(--muted); }

@media (max-width: 560px) {
  .lm-panel { padding: 44px 24px 36px; }
  .lm-bal-num { font-size: 44px; }
  .lm-actions { grid-template-columns: 1fr; }
}
