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

:root {
  --cream:     #f7f4ef;
  --ivory:     #fdfbf8;
  --gold:      #c8a97e;
  --gold-dark: #a8895e;
  --charcoal:  #1a1a1a;
  --mid:       #4a4a4a;
  --light:     #9a9a9a;
  --border:    #e8e2d9;
  --white:     #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --header-h: 72px;
  --radius:   2px;

  --ease: cubic-bezier(.25,.46,.45,.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── TYPOGRAPHY ── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
}
em { font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--charcoal);
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: .1em;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.06); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-right { justify-content: flex-end; }

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--charcoal); }
.nav-link.nav-highlight { color: var(--gold); }

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
}
.logo-erc {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--charcoal);
}
.logo-sep {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 18px;
}
.logo-luxury {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--mid);
}

.icon-btn {
  color: var(--mid);
  transition: color .2s;
  position: relative;
  padding: 4px;
}
.icon-btn:hover { color: var(--charcoal); }

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search bar */
.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s;
  border-top: 1px solid transparent;
  background: var(--cream);
}
.search-bar.open {
  max-height: 80px;
  border-color: var(--border);
}
.search-inner {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 20px;
  gap: 12px;
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
}
.search-input::placeholder { color: var(--light); }
.search-close { color: var(--light); font-size: 14px; }

/* ── HERO ── */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h) - 40px);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=1800&q=80');
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,26,26,.65) 0%, rgba(26,26,26,.3) 60%, rgba(26,26,26,.5) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  max-width: 680px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: .9;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .05em;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: .6; }
  50% { transform: scaleY(.6); opacity: 1; }
}

/* ── TRUST BAR ── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 40px;
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .08em;
  padding: 8px 32px;
  white-space: nowrap;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.15);
}

/* ── SECTION LAYOUT ── */
section { padding: 80px 40px; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color .2s;
}
.section-link:hover { color: var(--gold-dark); }

/* ── CATEGORIES ── */
.categories { background: var(--ivory); }
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 340px 280px;
  gap: 12px;
  max-width: 1360px;
  margin: 0 auto;
}
.cat-large {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: var(--radius);
}
.cat-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}
.cat-card:hover .cat-img { transform: scale(1.06); }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
}
.cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
  color: var(--white);
}
.cat-content h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.cat-content span {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── BRANDS MARQUEE ── */
.brands-marquee {
  padding: 32px 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.brands-label {
  text-align: center;
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 20px;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--mid);
  white-space: nowrap;
}
.marquee-inner span:nth-child(even) {
  color: var(--gold);
  font-size: 10px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid var(--border);
  background: transparent;
  transition: all .25s;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

/* ── PRODUCTS GRID ── */
.arrivals { background: var(--ivory); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
}

.product-card {
  cursor: pointer;
  transition: transform .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); }

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 16px;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.product-badge.gold { background: var(--gold); }

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--mid);
  transition: all .2s;
  opacity: 0;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: var(--white); color: #c00; }

.product-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26,26,26,.88);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 14px;
  text-align: center;
  transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.product-card:hover .product-quick-view { transform: translateY(0); }

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-brand {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-condition {
  font-size: 10px;
  color: var(--light);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.product-price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
}
.product-price-retail {
  font-size: 12px;
  color: var(--light);
  text-decoration: line-through;
  margin-left: 8px;
  font-family: var(--font-sans);
  font-weight: 300;
}

/* ── EDITORIAL ── */
.editorial {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.editorial-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,.85) 0%, rgba(10,10,10,.4) 60%, transparent 100%);
}
.editorial-content {
  position: relative;
  color: var(--white);
  max-width: 520px;
  padding: 80px;
}
.editorial-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.editorial-content p {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--cream);
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}
.step-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow .3s;
}
.step-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.08); }
.step-number {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}
.step-icon {
  color: var(--gold);
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

/* ── CONSIGNMENT ── */
.consign {
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.consign-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
}
.consign-text > p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.consign-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.consign-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--mid);
}

/* Consign Form */
.consign-form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 48px 40px;
}
.consign-form-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 32px;
  color: var(--charcoal);
}
.consign-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mid);
}
.form-group input,
.form-group select {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--charcoal);
  outline: none;
  transition: border-color .2s;
  border-radius: var(--radius);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--gold); }

.condition-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all .2s;
}
.pill.active, .pill:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--cream); text-align: center; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  text-align: left;
  transition: box-shadow .3s;
}
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card > p {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--mid);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
}
.testimonial-author span { font-size: 11px; color: var(--light); }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--charcoal);
  text-align: center;
}
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter .section-eyebrow { color: var(--gold); }
.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.newsletter > .newsletter-inner > p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 36px;
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,.2);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--white);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form .btn { border: none; padding: 16px 28px; white-space: nowrap; }
.newsletter-note {
  margin-top: 16px;
  font-size: 10px;
  color: rgba(255,255,255,.3);
  letter-spacing: .08em;
}

/* ── FOOTER ── */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.55);
  padding: 72px 40px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 56px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.footer-brand .logo-erc { color: var(--white); }
.footer-brand .logo-luxury { color: rgba(255,255,255,.4); }
.footer-brand > p { font-size: 12px; line-height: 1.8; margin-bottom: 24px; }

.social-links { display: flex; gap: 16px; }
.social-links a { color: rgba(255,255,255,.4); transition: color .2s; }
.social-links a:hover { color: var(--gold); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  transition: color .2s;
  line-height: 1.6;
}
.footer-col a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.25); }
.payment-icons { display: flex; gap: 8px; }
.payment-badge {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
}

/* ── CART DRAWER ── */
.cart-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cart-drawer.open { pointer-events: all; }
.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity .3s;
}
.cart-drawer.open .cart-overlay { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
}
.cart-header-count { color: var(--light); font-size: 16px; }
.cart-header button { font-size: 16px; color: var(--light); }
.cart-items { flex: 1; overflow-y: auto; padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.cart-item { display: flex; gap: 16px; align-items: flex-start; }
.cart-item-img {
  width: 80px;
  height: 100px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: var(--cream);
}
.cart-item-info { flex: 1; }
.cart-item-brand { font-size: 9px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.cart-item-name { font-family: var(--font-serif); font-size: 15px; margin-bottom: 8px; }
.cart-item-price { font-size: 15px; font-weight: 400; }
.cart-item-remove { color: var(--light); font-size: 12px; margin-top: 2px; }
.cart-footer { padding: 20px 28px 28px; border-top: 1px solid var(--border); }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
}
.cart-subtotal strong { font-family: var(--font-serif); font-size: 20px; }
.cart-continue {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--light);
  text-decoration: underline;
}

/* ── QUICK VIEW MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-panel {
  background: var(--white);
  max-width: 880px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: translateY(20px);
  transition: transform .35s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-panel { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  font-size: 16px;
  color: var(--mid);
}
.modal-img {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
}
.modal-info { padding: 40px; display: flex; flex-direction: column; }
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f7f0;
  color: #2d7a2d;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 20px;
  width: fit-content;
}
.modal-brand { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.modal-title { font-family: var(--font-serif); font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.modal-condition { font-size: 11px; letter-spacing: .1em; color: var(--light); margin-bottom: 16px; }
.modal-price { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin-bottom: 20px; }
.modal-details { font-size: 12px; color: var(--mid); line-height: 1.9; margin-bottom: 28px; flex: 1; }
.modal-actions { display: flex; gap: 8px; margin-bottom: 16px; }
.wishlist-btn { width: 48px; flex-shrink: 0; border: 1px solid var(--border); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.wishlist-btn:hover { background: #fff5f5; border-color: #f0b0b0; color: #c00; }
.modal-returns { font-size: 10px; color: var(--light); letter-spacing: .06em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s var(--ease) both; }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--mid);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .2s;
  border-radius: var(--radius);
}
.lang-btn:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.lang-current { min-width: 20px; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  min-width: 148px;
  z-index: 200;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.lang-menu.open { display: flex; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--mid);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
  border-bottom: 1px solid var(--border);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: var(--cream); color: var(--charcoal); }
.lang-option.active {
  background: var(--cream);
  color: var(--charcoal);
  font-weight: 500;
}
.lang-flag { font-size: 16px; line-height: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-rows: 280px 240px; }
  .consign { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 20px; }
  .header-inner { padding: 0 20px; }
  .nav-left { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .cat-large { grid-row: auto; grid-column: auto; }
  .steps-grid { grid-template-columns: 1fr; max-width: 360px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .trust-bar { gap: 0; }
  .trust-divider { display: none; }
  .trust-item { padding: 6px 16px; width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .editorial-content { padding: 40px 20px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-img { aspect-ratio: 4/3; }
  .cart-panel { width: 100%; }
}
