@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F7F5;
  --color-text: #1a1a1a;
  --color-text-secondary: #666;
  --color-text-muted: #999;
  --color-accent: #8B7355;
  --color-accent-hover: #6d5a43;
  --color-border: #E8E8E8;
  --color-border-light: #F0F0F0;
  --color-dark: #1a1a1a;
  --color-success: #2d7d46;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1400px;
  --header-height: 60px;
  --announcement-height: 36px;
  --gap: 20px;
  --transition: 0.25s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* ── Reset ─────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Container ─────────────────────────────────── */

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ── Announcement Bar ──────────────────────────── */

.announcement-bar {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.announcement-bar p { white-space: nowrap; }

/* ── Header ────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo__img {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-text);
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--color-text); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.header-actions button:hover { background: var(--color-bg-alt); }
.header-actions svg { width: 20px; height: 20px; }

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-close svg { width: 20px; height: 20px; }

/* ── Search Overlay ────────────────────────────── */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.search-overlay__inner {
  background: #fff;
  width: 90%;
  max-width: 640px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.search-overlay__inner input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 24px;
  font-size: 18px;
  background: transparent;
}
.search-overlay__close {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.search-overlay__close svg { width: 20px; height: 20px; }
.search-results {
  width: 90%;
  max-width: 640px;
  margin-top: 8px;
  background: #fff;
  border-radius: 8px;
  max-height: 50vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.search-results:empty { display: none; }
.search-results a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition);
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--color-bg-alt); }
.search-results img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.search-results .sr-info { flex: 1; }
.search-results .sr-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}
.search-results .sr-name { font-size: 14px; }
.search-results .sr-price {
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Hero Section ──────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px;
}
.hero__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

/* ── Sell Banner ───────────────────────────────── */

.sell-banner {
  position: relative;
  background: #1a1714;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}
.sell-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,23,20,0.95) 0%, rgba(42,36,28,0.85) 50%, rgba(26,23,20,0.92) 100%);
  z-index: 1;
}
.sell-banner__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  color: #fff;
}
.sell-banner__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.sell-banner__title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #f5f0eb;
}
.sell-banner__desc {
  font-size: 16px;
  line-height: 1.7;
  color: #c4b9ab;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.sell-banner__perks {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
  text-align: left;
}
.sell-banner__perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 200px;
}
.sell-banner__perk-icon {
  font-size: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.sell-banner__perk strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #f5f0eb;
  margin-bottom: 4px;
}
.sell-banner__perk p {
  font-size: 12px;
  color: #9a8e80;
  line-height: 1.5;
}
.btn--sell-banner {
  background: var(--color-accent);
  color: #fff;
  padding: 14px 40px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  transition: background var(--transition);
}
.btn--sell-banner:hover {
  background: #8a6d3b;
}

@media (max-width: 768px) {
  .sell-banner { padding: 56px 24px; }
  .sell-banner__title { font-size: 30px; }
  .sell-banner__perks { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .sell-banner__perk { flex-direction: column; align-items: center; text-align: center; }
}

/* ── Reviews Section ──────────────────────────── */

.reviews-section {
  padding: 72px 0 72px;
  background: #fff;
  overflow: hidden;
}
.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviews-scroll 60s linear infinite;
}
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}
@keyframes reviews-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  background: #faf8f5;
  border: 1px solid #ece8e3;
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 340px;
  flex-shrink: 0;
}
.review-card__stars {
  color: var(--color-accent);
  font-size: 15px;
  letter-spacing: 2px;
}
.review-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  flex: 1;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #ece8e3;
}
.review-card__author strong {
  font-size: 13px;
  color: var(--color-text-primary);
}
.review-card__author span {
  font-size: 12px;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .reviews-section { padding: 48px 0; }
  .review-card { width: 280px; }
  .reviews-track { animation-duration: 40s; }
}

/* ── Store Section ─────────────────────────────── */

.store-section {
  background: #f7f4f0;
  padding: 72px 0;
}
.store-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.store-section__hero {
  background: linear-gradient(rgba(18, 15, 12, 0.68), rgba(18, 15, 12, 0.68)),
              url('../assets/IMG_1859.jpeg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  min-height: 420px;
  overflow: hidden;
}
.store-section__hero-content {
  text-align: center;
  color: #fff;
  max-width: 380px;
}
.store-section__hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.store-section__hero-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  color: #f5f0eb;
  margin-bottom: 18px;
}
.store-section__hero-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #a89e92;
  margin-bottom: 32px;
}
.store-section__cta--hero {
  padding: 18px 52px !important;
  font-size: 15px !important;
  letter-spacing: 2.5px !important;
  background: #f5f0eb !important;
  color: #1a1714 !important;
  border: 2px solid #f5f0eb !important;
  font-weight: 700 !important;
  margin-top: 8px;
}
.store-section__cta--hero:hover {
  background: transparent !important;
  color: #f5f0eb !important;
}
.store-section__info {
  background: #fff;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.store-section__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.store-section__name {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}
.store-section__address {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ece8e3;
}
.store-section__meta {
  margin-bottom: 16px;
}
.store-section__meta p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.store-section__note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.store-section__cta {
  display: inline-block;
  padding: 13px 36px;
  border: 1.5px solid var(--color-text-primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  align-self: flex-start;
}
.store-section__cta:hover {
  background: var(--color-text-primary);
  color: #fff;
}

@media (max-width: 900px) {
  .store-section { padding: 48px 20px; }
  .store-section__inner { grid-template-columns: 1fr; }
  .store-section__hero { padding: 40px 28px; }
  .store-section__hero-title { font-size: 28px; }
  .store-section__info { padding: 36px 28px; }
  .store-section__name { font-size: 28px; }
}

/* ── Appointment Modal ────────────────────────── */

.appt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.appt-overlay.open {
  display: flex;
}
.appt-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px;
  position: relative;
}
.appt-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: #999;
}
.appt-modal__close:hover { color: #333; }
.appt-modal__close svg { width: 20px; height: 20px; }
.appt-modal__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}
.appt-modal__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.appt-field {
  margin-bottom: 18px;
}
.appt-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.appt-field label span {
  color: #c00;
}
.appt-field input,
.appt-field select,
.appt-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  background: #fff;
}
/* ── Custom Calendar ─────────────────────────── */
.sc-cal {
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  user-select: none;
}
.sc-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fafaf8;
  border-bottom: 1px solid var(--color-border);
}
.sc-cal__month-year {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--color-text-primary, #1a1a1a);
}
.sc-cal__nav {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: #555;
  transition: background 0.15s, color 0.15s;
  border: 1px solid transparent !important;
  background: transparent !important;
}
.sc-cal__nav:hover:not(:disabled) {
  background: #eee !important;
  color: #1a1a1a;
}
.sc-cal__nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.sc-cal__days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 12px 12px 8px;
  gap: 0;
}
.sc-cal__days-header span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}
.sc-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 4px 12px 14px;
  gap: 4px;
}
.sc-cal__day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: none !important;
  background: transparent !important;
  color: #1a1a1a;
  padding: 0;
}
.sc-cal__day--outside {
  color: #ddd;
  cursor: default;
  pointer-events: none;
}
.sc-cal__day--disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}
.sc-cal__day--today {
  border: 1.5px solid #1a1a1a !important;
}
.sc-cal__day--selected {
  background: #1a1a1a !important;
  color: #fff !important;
}
.sc-cal__day:not(.sc-cal__day--outside):not(.sc-cal__day--disabled):not(.sc-cal__day--selected):hover {
  background: #f0ece8 !important;
}

@media (max-width: 480px) {
  .sc-cal__grid { padding: 4px 6px 10px; gap: 2px; }
  .sc-cal__days-header { padding: 10px 6px 6px; }
  .sc-cal__day { font-size: 13px; }
}
.appt-field input:focus,
.appt-field select:focus,
.appt-field textarea:focus {
  border-color: var(--color-accent);
}
.appt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.appt-error {
  color: #c00;
  font-size: 13px;
  margin-bottom: 14px;
}
.appt-submit {
  width: 100%;
  padding: 14px;
  background: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.appt-submit:hover {
  background: #333 !important;
}
.appt-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.appt-success {
  text-align: center;
  padding: 20px 0;
}
.appt-success svg {
  color: var(--color-accent);
  margin-bottom: 16px;
}
.appt-success h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.appt-success p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Appointment location toggle */
.appt-location-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.appt-loc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.appt-loc-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}
.appt-loc-btn.active {
  border-color: var(--color-accent);
  background: rgba(139,115,85,0.06);
  color: var(--color-accent);
}
.appt-loc-btn svg { flex-shrink: 0; }

.appt-store-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #f9f8f6;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.appt-store-info__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139,115,85,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-top: 2px;
}
.appt-store-info strong {
  color: var(--color-text);
  font-size: 14px;
}

.appt-home-fields {
  margin-bottom: 4px;
}
.appt-home-fields .appt-row {
  display: grid;
  grid-template-columns: 1fr 80px 100px;
  gap: 10px;
}
.appt-home-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: -8px;
  margin-bottom: 18px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .appt-modal { padding: 28px 20px; }
  .appt-row { grid-template-columns: 1fr; }
  .appt-home-fields .appt-row { grid-template-columns: 1fr 1fr; }
  .appt-home-fields .appt-row .appt-field:first-child { grid-column: 1 / -1; }
}

/* ── Buttons ───────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 0;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--color-dark);
  color: #fff;
}
.btn--primary:hover { background: #333; }
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-text);
}
.btn--outline:hover {
  background: var(--color-text);
  color: #fff;
}
.btn--accent {
  background: var(--color-accent);
  color: #fff;
}
.btn--accent:hover { background: var(--color-accent-hover); }
.btn--sm { padding: 10px 24px; font-size: 12px; }

/* ── Section Titles ────────────────────────────── */

.section { padding: 72px 0; }
.section--alt { background: var(--color-bg-alt); }
.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
}
.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.section__link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ── Product Grid ──────────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* ── Product Card ──────────────────────────────── */

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}
.product-card:hover { transform: translateY(-4px); }
.product-card__image {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-alt);
  overflow: hidden;
  margin-bottom: 12px;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }

/* Wishlist heart button */
.wishlist-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wishlist-heart:hover {
  background: #fff;
  transform: scale(1.1);
}
.wishlist-heart__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wishlist-heart__icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.wishlist-heart.active .wishlist-heart__icon svg {
  color: #e53935;
}
.wishlist-heart--loading {
  opacity: 0.5;
  pointer-events: none;
}
.wishlist-heart--lg {
  width: 42px;
  height: 42px;
}
.wishlist-heart--lg .wishlist-heart__icon svg {
  width: 22px;
  height: 22px;
}

.product-card__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.product-card__name {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__condition {
  display: inline-block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card__price {
  font-size: 15px;
  font-weight: 700;
}
.product-card__min-price {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Loading shimmer card */
.product-card--loading { pointer-events: none; }
.product-card--loading .product-card__image { background: var(--color-border-light); }
.shimmer {
  background: linear-gradient(90deg, var(--color-border-light) 25%, #e8e8e8 50%, var(--color-border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
.shimmer-line {
  height: 14px;
  margin-bottom: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Brand Grid ────────────────────────────────── */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.brand-card:hover {
  border-color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.brand-card img {
  width: 80px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}
.brand-card span {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

/* ── Category Cards ────────────────────────────── */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.category-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  z-index: 1;
}
.category-card__name {
  position: relative;
  z-index: 2;
  padding: 24px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

/* ── Horizontal Scroll Row ─────────────────────── */

.scroll-row {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

/* ── Shop Page Layout ──────────────────────────── */

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 40px 0 80px;
}
.shop-header {
  padding: 40px 0 0;
}
.shop-header h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
}
.shop-header p {
  color: var(--color-text-secondary);
  margin-top: 8px;
  font-size: 15px;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.shop-toolbar__count {
  font-size: 14px;
  color: var(--color-text-secondary);
}
.shop-toolbar select {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  color: var(--color-text);
  cursor: pointer;
  outline: none;
}
.mobile-filter-toggle {
  display: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1.5px solid var(--color-text);
  background: transparent;
}

/* ── Filters Sidebar ───────────────────────────── */

.filters-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 8px;
}
.filter-group {
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.filter-group:last-child { border-bottom: none; margin-bottom: 0; }
.filter-group__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.filter-group__title svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.filter-group.collapsed .filter-group__title svg { transform: rotate(-90deg); }
.filter-group.collapsed .filter-group__options { display: none; }
.filter-group__options { display: flex; flex-direction: column; gap: 8px; }
.filter-group__options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color var(--transition);
}
.filter-group__options label:hover { color: var(--color-text); }
.filter-group__options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-dark);
  cursor: pointer;
  flex-shrink: 0;
}
.price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}
.price-inputs input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.price-inputs input:focus { border-color: var(--color-text); }
.price-inputs span { color: var(--color-text-muted); font-size: 13px; }

.filter-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* ── Load More ─────────────────────────────────── */

.load-more-wrap {
  text-align: center;
  padding: 40px 0;
}

/* ── Product Detail ────────────────────────────── */

.product-detail {
  padding: 40px 0 80px;
}
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-gallery { position: sticky; top: calc(var(--header-height) + 20px); }
.product-gallery__main {
  aspect-ratio: 3 / 4;
  background: var(--color-bg-alt);
  overflow: hidden;
  margin-bottom: 12px;
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.product-gallery__thumb {
  width: 72px;
  height: 96px;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  background: var(--color-bg-alt);
  transition: border-color var(--transition);
}
.product-gallery__thumb.active,
.product-gallery__thumb:hover { border-color: var(--color-text); }
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.product-info__breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--transition);
}
.product-info__breadcrumb a:hover { color: var(--color-text); }
.product-info__breadcrumb span { font-size: 10px; }
.product-info__brand {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.product-info__brand a { transition: color var(--transition); }
.product-info__brand a:hover { color: var(--color-accent-hover); }
.product-info__name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}
.product-info__price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-info__price-range {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.product-info__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 24px 0;
}
.product-info__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-info__meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.product-info__meta-label { color: var(--color-text-secondary); }
.product-info__meta-value { font-weight: 500; }

.product-info__section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  margin-top: 32px;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.auth-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 10px 14px;
  background: var(--color-bg-alt);
  border-radius: 4px;
}
.auth-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.auth-item--yes svg { color: var(--color-success); }
.auth-item--no svg { color: var(--color-text-muted); }

.related-section { padding: 60px 0 80px; }
.related-section h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 32px;
  text-align: center;
}

/* ── Brand Page ────────────────────────────────── */

.brand-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 48px 0 32px;
}
.brand-hero__logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
}
.brand-hero__name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
}

/* ── Footer ────────────────────────────────────── */

.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-logo {
  font-family: var(--font-serif) !important;
  font-size: 22px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase;
}
.footer-logo-img {
  height: 200px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  filter: invert(1);
}
.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.newsletter-form {
  display: flex;
  margin-top: 12px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: none;
  border-right: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--color-accent);
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--color-accent-hover); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ── No Results / Empty State ──────────────────── */

.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* ── Image Zoom Modal ──────────────────────────── */

.zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  cursor: zoom-out;
}
.zoom-modal.open { opacity: 1; pointer-events: auto; }
.zoom-modal img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

/* ── Responsive ────────────────────────────────── */

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --gap: 14px;
  }
  .container { padding: 0 16px; }

  .mobile-menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    z-index: 150;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lg);
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .main-nav a { font-size: 15px; }
  .mobile-nav-close { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__bg { max-height: 360px; }
  .hero__content { padding: 40px 24px; }
  .hero__title { font-size: 34px; }
  .hero__subtitle { font-size: 15px; }

  .section { padding: 48px 0; }
  .section__title { font-size: 28px; }

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

  .shop-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .filters-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 150;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    max-height: 100vh;
  }
  .filters-sidebar.open { transform: translateX(0); }
  .mobile-filter-toggle { display: block; }

  .product-detail__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-gallery { position: static; }

  .product-info__name { font-size: 24px; }
  .product-info__price { font-size: 24px; }

  .brand-hero { padding: 32px 0 16px; }
  .brand-hero__name { font-size: 28px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 28px; }
  .scroll-row .product-card { flex: 0 0 200px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-grid { grid-template-columns: 1fr; }
}

/* ── Sidebar Overlay (mobile) ──────────────────── */

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 280px;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 160;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Sell Popup Modal ──────────────────────────── */

.sell-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 24px;
}
.sell-popup-overlay.open { opacity: 1; pointer-events: auto; }

.sell-popup {
  background: #fff;
  width: 100%;
  max-width: 620px;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
}
.sell-popup-overlay.open .sell-popup {
  transform: translateY(0) scale(1);
}
.sell-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  z-index: 2;
  transition: background var(--transition);
}
.sell-popup__close:hover { background: var(--color-border); }
.sell-popup__close svg { width: 16px; height: 16px; }
.sell-popup__accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #c5a882 100%);
}
.sell-popup__body { padding: 40px 40px 36px; }
.sell-popup__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.sell-popup__eyebrow svg { width: 20px; height: 20px; }
.sell-popup__title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}
.sell-popup__title span { color: var(--color-accent); }
.sell-popup__desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}
.sell-popup__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.sell-popup__feature {
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.sell-popup__feature:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(139,115,85,0.1);
}
.sell-popup__feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 14px;
}
.sell-popup__feature h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.sell-popup__feature p {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.sell-popup__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sell-popup__actions .btn--accent {
  padding: 14px 32px;
}
.sell-popup__actions a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.sell-popup__actions a:not(.btn):hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

@media (max-width: 768px) {
  .sell-popup-overlay { padding: 12px; align-items: flex-end; }
  .sell-popup { max-width: 100%; border-radius: 16px 16px 0 0; max-height: 90vh; overflow-y: auto; }
  .sell-popup__body { padding: 24px 20px 20px; }
  .sell-popup__title { font-size: 24px; margin-bottom: 8px; }
  .sell-popup__desc { font-size: 13px; margin-bottom: 18px; }
  .sell-popup__eyebrow { font-size: 11px; margin-bottom: 10px; }
  .sell-popup__features { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
  .sell-popup__feature { padding: 10px 12px; }
  .sell-popup__feature h4 { font-size: 12px; }
  .sell-popup__feature p { font-size: 11px; }
  .sell-popup__feature-icon { width: 22px; height: 22px; font-size: 11px; margin-bottom: 6px; }
  .sell-popup__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .sell-popup__actions .btn--accent { padding: 12px 24px; text-align: center; font-size: 14px; }
  .sell-popup__actions a:not(.btn) { text-align: center; }
  .sell-popup__close { top: 10px; right: 10px; }
}
@media (max-width: 380px) {
  .sell-popup__title { font-size: 20px; }
  .sell-popup__features { grid-template-columns: 1fr; gap: 6px; }
  .sell-popup__body { padding: 20px 16px 16px; }
}

/* ── Auth Pages (Login / Signup) ──────────────── */

.auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 24px 120px;
  min-height: calc(100vh - var(--header-height) - var(--announcement-height));
  background: #fff;
}
.auth-card {
  width: 100%;
  max-width: 460px;
}
.auth-card__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.auth-card__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 40px;
  letter-spacing: 0.2px;
}
.auth-card__footer {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}
.auth-card__footer a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-card__footer a:hover { color: var(--color-accent); }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background var(--transition), border-color var(--transition);
}
.btn-google:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text);
}
.btn-google svg { flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
  color: var(--color-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-field {
  margin-bottom: 24px;
}
.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}
.auth-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 15px;
  outline: none;
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition);
}
.auth-field input::placeholder {
  color: var(--color-text-muted);
  font-size: 14px;
}
.auth-field input:focus {
  border-color: var(--color-text);
}
.auth-field input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-bg-alt);
}
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auth-error {
  display: none;
  background: transparent;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.auth-success {
  display: none;
  background: transparent;
  color: #166534;
  border: 1px solid #86efac;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
}

/* ── Phone Number Modal ───────────────────────── */

.phone-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.phone-modal-overlay.open { opacity: 1; pointer-events: auto; }

.phone-modal {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
.phone-modal-overlay.open .phone-modal { transform: translateY(0); }
.phone-modal h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}
.phone-modal p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.phone-modal__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.phone-modal__actions .btn--primary { flex: 1; }

/* ── Profile Page Layout ──────────────────────── */

.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 48px 0 96px;
  min-height: calc(100vh - var(--header-height) - var(--announcement-height) - 200px);
}

.profile-sidebar {
  border: 1px solid var(--color-border);
  overflow: hidden;
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.profile-sidebar__header {
  text-align: center;
  padding: 40px 24px 32px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.profile-sidebar__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
}
.profile-sidebar__avatar svg { width: 36px; height: 36px; color: var(--color-text-muted); }
.profile-sidebar__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-sidebar__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}
.profile-sidebar__email {
  font-size: 13px;
  color: var(--color-text-muted);
}

.profile-sidebar__nav {
  display: flex;
  flex-direction: column;
}
.profile-sidebar__nav a {
  display: block;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition), color var(--transition);
}
.profile-sidebar__nav a:last-child { border-bottom: none; }
.profile-sidebar__nav a:hover { background: var(--color-bg-alt); }
.profile-sidebar__nav a.active {
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-text);
}

.profile-content {
  padding-top: 8px;
}
.profile-panel {
  display: none;
}
.profile-panel.active { display: block; }
.profile-panel h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}
.profile-panel__intro {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  font-size: 15px;
}
.app-version {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  padding: 24px 0 8px;
  letter-spacing: 0.5px;
}
.profile-panel__note {
  color: var(--color-text-secondary);
  font-size: 14px;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
}

.profile-form {
  max-width: 520px;
  margin-top: 28px;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dash-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
}
.dash-card:hover { border-color: var(--color-text); }
.dash-card__number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 8px;
}
.dash-card__label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── My Products list ────────────────────────── */

.my-products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.my-product-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  background: #fff;
  transition: border-color var(--transition);
}
.my-product-card:hover { border-color: var(--color-border); }

.my-product-card__img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--color-bg-alt);
}

.my-product-card__info {
  min-width: 0;
}
.my-product-card__title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.my-product-card__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.my-product-card__status {
  flex-shrink: 0;
}

.status-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 3px;
  white-space: nowrap;
}
.status-badge--pending {
  background: #fef3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
.status-badge--review {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}
.status-badge--processing {
  background: #e2e3f1;
  color: #383d6e;
  border: 1px solid #c8cbe9;
}
.status-badge--approved {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.status-badge--rejected {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.status-badge--listed {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

@media (max-width: 600px) {
  .my-product-card {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }
  .my-product-card__status {
    grid-column: 1 / -1;
  }
}

/* ── Header account link ──────────────────────── */

/* Cart icon in header */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}
.header-cart:hover { color: var(--color-text); }
.header-cart svg { width: 20px; height: 20px; }
.header-cart__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* Add to Bag button */
.btn--add-to-bag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--color-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
  margin-top: 20px;
}
.btn--add-to-bag:hover { background: #222; }
.btn--add-to-bag:disabled {
  opacity: 0.5;
  cursor: default;
}
.btn--add-to-bag svg { width: 18px; height: 18px; }
.btn--add-to-bag.added {
  background: var(--color-success);
  pointer-events: none;
}
.btn--sold {
  background: #8b0000 !important;
  opacity: 1 !important;
  pointer-events: none;
}
.btn--reserved {
  background: #b8860b !important;
  opacity: 1 !important;
  pointer-events: none;
}

/* Sold badge on product cards */
.product-card__sold-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #8b0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 3px;
  z-index: 2;
}

/* Cart page */
.cart-page {
  min-height: calc(100vh - var(--header-height) - var(--announcement-height) - 200px);
  padding: 40px 0;
}
.cart-page__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 32px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border-light);
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item__img {
  width: 100px;
  height: 130px;
  object-fit: cover;
  background: var(--color-bg-alt);
  border-radius: 4px;
}
.cart-item__info { min-width: 0; }
.cart-item__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.cart-item__name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item__name a {
  color: var(--color-text);
  transition: color var(--transition);
}
.cart-item__name a:hover { color: var(--color-accent); }
.cart-item__meta {
  font-size: 12px;
  color: var(--color-text-muted);
}
.cart-item__price {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}
.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 8px;
  transition: color var(--transition);
}
.cart-item__remove:hover { color: var(--color-text); }
.cart-item__remove svg { width: 18px; height: 18px; }

.cart-summary {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--color-dark);
  display: flex;
  justify-content: flex-end;
}
.cart-summary__inner {
  width: 100%;
  max-width: 360px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary__row--total {
  font-size: 18px;
  font-weight: 600;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--color-border-light);
}
.cart-summary__row--total span:last-child {
  font-family: var(--font-serif);
  font-size: 22px;
}

/* Fulfillment options */
.cart-fulfillment {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.cart-fulfillment__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.cart-fulfillment__options {
  display: flex;
  gap: 12px;
}
.cart-fulfillment__opt {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.cart-fulfillment__opt:has(input:checked) {
  border-color: #1a1a1a;
  background: #fafaf8;
}
.cart-fulfillment__opt input[type="radio"] {
  accent-color: #1a1a1a;
  width: 16px;
  height: 16px;
  margin: 0;
}

/* Pickup form in cart */
.cart-pickup-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.cart-pickup-form__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 80px 1fr auto;
    gap: 12px;
  }
  .cart-item__remove {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: -8px;
  }
}

.header-wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}
.header-wishlist:hover { color: var(--color-text); }
.header-wishlist svg { width: 20px; height: 20px; }

.header-account {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}
.header-account:hover { color: var(--color-text); }
.header-account svg { width: 20px; height: 20px; }
.header-account__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .auth-page { padding: 48px 20px 80px; }
  .auth-form-row { grid-template-columns: 1fr; }
  .auth-card__title { font-size: 26px; }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 64px;
  }
  .profile-sidebar {
    position: static;
  }
  .profile-sidebar__nav a.active { border-left: none; }
  .dashboard-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .auth-card__title { font-size: 24px; }
  .auth-card { max-width: 100%; }
  .phone-modal { padding: 32px 24px; }
  .phone-modal__actions { flex-direction: column; }
  .phone-modal__actions .btn { width: 100%; }
}

/* ── Sell Landing Page ────────────────────────── */

.sell-landing {
  min-height: calc(100vh - var(--header-height) - var(--announcement-height));
}

.sell-landing__hero {
  background: #1a1714;
  text-align: center;
  padding: 72px 24px 56px;
}
.sell-landing__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.sell-landing__title {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 400;
  color: #f5f0eb;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.sell-landing__desc {
  font-size: 17px;
  color: #a89e92;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.sell-landing__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: -40px auto 0;
  padding: 0 24px 64px;
  position: relative;
  z-index: 2;
}

.sell-option-card {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.sell-option-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.sell-option-card--primary {
  border-color: var(--color-dark);
}
.sell-option-card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 14px;
  background: var(--color-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
}
.sell-option-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
}
.sell-option-card h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
}
.sell-option-card > p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.sell-option-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.sell-option-card li {
  font-size: 14px;
  color: var(--color-text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.sell-option-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
  font-size: 13px;
}
.sell-option-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition);
}
.sell-option-card:hover .sell-option-card__cta {
  color: var(--color-accent-hover);
}

.sell-landing__trust {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 48px 24px 72px;
  background: var(--color-bg-alt);
}
.sell-landing__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.sell-landing__trust-item strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text);
}
.sell-landing__trust-item span {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .sell-landing__hero { padding: 56px 20px 44px; }
  .sell-landing__title { font-size: 32px; }
  .sell-landing__desc { font-size: 15px; }
  .sell-landing__options {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-top: -28px;
    gap: 20px;
  }
  .sell-option-card { padding: 32px 24px; }
  .sell-option-card h2 { font-size: 22px; }
  .sell-landing__trust {
    flex-wrap: wrap;
    gap: 28px 40px;
    padding: 36px 20px 56px;
  }
  .sell-landing__trust-item strong { font-size: 22px; }
}

@media (max-width: 480px) {
  .sell-landing__title { font-size: 28px; }
  .sell-landing__trust { gap: 20px 32px; }
}

/* ── Sell Wizard ──────────────────────────────── */

.sell-wizard {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 0;
  min-height: calc(100vh - var(--header-height) - var(--announcement-height));
  display: flex;
  flex-direction: column;
}

.wizard-progress {
  margin-bottom: 0;
  position: sticky;
  top: var(--header-height);
  z-index: 10;
  background: #fff;
  padding: 16px 40px 12px;
  border-bottom: 1px solid var(--color-border-light);
}
.wizard-progress__bar {
  height: 6px;
  background: var(--color-border-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.wizard-progress__fill {
  height: 100%;
  background: var(--color-dark);
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 16.66%;
}
.wizard-progress__steps {
  display: flex;
  justify-content: space-between;
}
.wizard-progress__steps span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.wizard-progress__steps span.active {
  color: var(--color-text);
  font-weight: 600;
}
.wizard-progress__steps span.done {
  color: var(--color-text-secondary);
}

.wizard-step {
  display: none;
  background: var(--color-bg-alt);
  padding: 40px;
  animation: wizardFadeIn 0.3s ease;
  flex: 1;
  padding-bottom: 100px;
}
.wizard-step.active { display: block; }
.wizard-step__inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.wizard-step__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 24px;
}
.wizard-step__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.wizard-step__hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

/* Wizard card grid */
.wizard-card-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}
.wizard-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.wizard-card-grid--7 { grid-template-columns: repeat(7, 1fr); }

.wizard-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background: #fff;
  border: 2px solid var(--color-border-light);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: center;
}
.wizard-card:hover {
  border-color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
}
.wizard-card.selected {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.wizard-card img {
  width: 100%;
  max-width: 100px;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 4px;
}
.wizard-card__cat-img {
  background: #fff;
  border-radius: 6px;
  padding: 8px;
}
.wizard-card span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text);
}

/* Search input */
.wizard-search {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: #fff;
  margin-bottom: 20px;
  transition: border-color var(--transition);
}
.wizard-search:focus { border-color: var(--color-accent); }

/* Size step */
.wizard-size-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
  align-items: start;
}
.wizard-size-image {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
}
.wizard-size-image img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.wizard-size-picker { padding-top: 8px; }


.wizard-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition);
}
.wizard-select:focus { border-color: var(--color-accent); }

.wizard-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: border-color var(--transition);
}
.wizard-input:focus { border-color: var(--color-accent); }

/* Condition buttons */
.wizard-condition-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 24px;
}
.wizard-condition-btn {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
  flex: 1;
  min-width: 110px;
  text-align: center;
}
.wizard-condition-btn:first-child { border-radius: 4px 0 0 4px; }
.wizard-condition-btn:last-child { border-radius: 0 4px 4px 0; }
.wizard-condition-btn + .wizard-condition-btn { border-left: none; }
.wizard-condition-btn:hover { background: var(--color-bg-alt); }
.wizard-condition-btn.selected {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}
.wizard-condition-btn.selected + .wizard-condition-btn { border-left-color: var(--color-dark); }

/* Detail rows */
.wizard-detail-section { margin-bottom: 28px; }
.wizard-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Checkboxes */
.wizard-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.wizard-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.wizard-checkbox:hover { border-color: var(--color-text-muted); }
.wizard-checkbox:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(139,115,85,0.05);
}
.wizard-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-dark);
  cursor: pointer;
}

/* Photo uploads */
.wizard-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wizard-photo-upload {
  position: relative;
}
.wizard-photo-upload input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}
.wizard-photo-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  min-height: 120px;
  text-align: center;
}
.wizard-photo-label:hover {
  border-color: var(--color-accent);
  background: rgba(139,115,85,0.03);
}
.wizard-photo-label.has-file {
  border-color: var(--color-success);
  border-style: solid;
  background: rgba(45,125,70,0.04);
}
.wizard-photo-label svg {
  width: 28px;
  height: 28px;
  color: var(--color-text-muted);
}
.wizard-photo-label.has-file svg { color: var(--color-success); }
.wizard-photo-label span {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1.3;
}
.wizard-photo-label .wizard-photo-filename {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Textarea */
.wizard-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: #fff;
  resize: vertical;
  font-family: inherit;
  transition: border-color var(--transition);
}
.wizard-textarea:focus { border-color: var(--color-accent); }

/* Navigation */
.wizard-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: #fff;
  border-top: 1px solid var(--color-border);
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

/* Success state */
.wizard-success {
  text-align: center;
  padding: 60px 20px;
}
.wizard-success svg {
  color: var(--color-success);
  margin-bottom: 24px;
}
.wizard-success h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.wizard-success p {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Wizard responsive */
@media (max-width: 768px) {
  .wizard-progress { padding: 12px 16px 8px; }
  .wizard-step { padding: 28px 16px 100px; }
  .wizard-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .wizard-card-grid--7 { grid-template-columns: repeat(3, 1fr); }
  .wizard-size-layout { grid-template-columns: 1fr; }
  .wizard-detail-row { grid-template-columns: 1fr; }
  .wizard-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-condition-grid { flex-wrap: wrap; }
  .wizard-condition-btn {
    flex: 0 0 auto;
    border-radius: 4px !important;
    border: 1px solid var(--color-border) !important;
  }
  .wizard-condition-btn.selected { border-color: var(--color-dark) !important; }
  .wizard-progress__steps span { font-size: 9px; }
  .wizard-nav { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .wizard-card-grid--7 { grid-template-columns: repeat(2, 1fr); }
  .wizard-photo-grid { grid-template-columns: 1fr; }
}

/* ── Instant Quote Page ──────────────────────── */

.quote-page {
  min-height: calc(100vh - var(--header-height) - var(--announcement-height));
}

.quote-hero {
  background: #1a1714;
  padding: 64px 0;
  text-align: center;
}
.quote-hero__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.quote-hero__title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  color: #f5f0eb;
  margin-bottom: 16px;
}
.quote-hero__desc {
  font-size: 16px;
  color: #a89e92;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

.quote-flow {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 96px;
}

.quote-step {
  display: none;
  animation: wizardFadeIn 0.35s ease;
}
.quote-step.active { display: block; }

.quote-step__inner {
  position: relative;
}
.quote-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.quote-step__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}
.quote-step__desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
.quote-step__action {
  margin-top: 24px;
  padding: 14px 36px;
}

/* Upload zone */
.quote-upload-zone {
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-upload-zone:hover,
.quote-upload-zone.dragover {
  border-color: var(--color-accent);
  background: rgba(139,115,85,0.03);
}
.quote-upload-zone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.quote-upload-zone__content svg {
  color: var(--color-text-muted);
}
.quote-upload-zone__content span {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.quote-upload-zone__hint {
  font-size: 12px !important;
  color: var(--color-text-muted) !important;
  font-weight: 400 !important;
}
.quote-upload-zone__preview {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
}

/* Scan Overlay */
.quote-scan-overlay {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}
.quote-scan-overlay__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b7355, transparent);
  box-shadow: 0 0 20px 4px rgba(139,115,85,0.5);
  animation: quoteScanLine 2s ease-in-out infinite;
}
@keyframes quoteScanLine {
  0% { top: 5%; }
  50% { top: 92%; }
  100% { top: 5%; }
}
.quote-scan-overlay__corners span {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #8b7355;
  border-style: solid;
}
.quote-scan-overlay__corners span:nth-child(1) {
  top: 8px; left: 8px;
  border-width: 3px 0 0 3px;
}
.quote-scan-overlay__corners span:nth-child(2) {
  top: 8px; right: 8px;
  border-width: 3px 3px 0 0;
}
.quote-scan-overlay__corners span:nth-child(3) {
  bottom: 8px; left: 8px;
  border-width: 0 0 3px 3px;
}
.quote-scan-overlay__corners span:nth-child(4) {
  bottom: 8px; right: 8px;
  border-width: 0 3px 3px 0;
}
.quote-scan-overlay__label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  animation: quotePulseLabel 1.5s ease-in-out infinite;
}
@keyframes quotePulseLabel {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Loader */
.quote-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
}
.quote-loader p {
  font-size: 14px;
  color: var(--color-text-secondary);
}
.quote-loader__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-dark);
  border-radius: 50%;
  animation: quoteSpinner 0.7s linear infinite;
}
@keyframes quoteSpinner {
  to { transform: rotate(360deg); }
}

/* Error */
.quote-error {
  margin-top: 20px;
  padding: 14px 18px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #b91c1c;
  font-size: 14px;
  line-height: 1.5;
}
.quote-error a { text-decoration: underline; }

/* Match cards */
.quote-matches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.quote-match-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 2px solid var(--color-border-light) !important;
  border-radius: 8px;
  background: #fff !important;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: left;
}
.quote-match-card:hover {
  border-color: var(--color-text-muted) !important;
  box-shadow: var(--shadow-sm);
}
.quote-match-card.selected {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 1px var(--color-accent);
}
.quote-match-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}
.quote-match-card__no-img {
  width: 72px;
  height: 72px;
  background: var(--color-bg-alt);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.quote-match-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.quote-match-card__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  font-weight: 600;
}
.quote-match-card__model {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quote-match-card__style {
  font-size: 12px;
  color: var(--color-text-secondary);
}
.quote-no-match {
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
  padding: 8px 0;
}
.quote-no-match a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Variant cards */
.quote-variants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quote-variant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border: 2px solid var(--color-border-light) !important;
  border-radius: 8px;
  background: #fff !important;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.quote-variant-card:hover {
  border-color: var(--color-text-muted) !important;
}
.quote-variant-card.selected {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 1px var(--color-accent);
}
.quote-variant-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
}
.quote-variant-card span {
  font-size: 14px;
  font-weight: 600;
}

/* Condition cards */
.quote-conditions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.quote-condition-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border: 2px solid var(--color-border-light) !important;
  border-radius: 8px;
  background: #fff !important;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.quote-condition-card:hover {
  border-color: var(--color-text-muted) !important;
}
.quote-condition-card.selected {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 1px var(--color-accent);
}
.quote-condition-card strong {
  font-size: 15px;
  font-weight: 600;
}
.quote-condition-card span {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Product summary */
.quote-summary {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  margin-bottom: 32px;
}
.quote-summary__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  flex-shrink: 0;
}
.quote-summary__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-summary__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  font-weight: 600;
}
.quote-summary__model {
  font-size: 16px;
  font-weight: 500;
}
.quote-summary__style,
.quote-summary__size,
.quote-summary__condition {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Offer cards */
.quote-offer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.quote-offer-card {
  padding: 32px 28px;
  border: 2px solid var(--color-border-light);
  border-radius: 10px;
  position: relative;
  background: #fff;
}
.quote-offer-card--buyout {
  border-color: var(--color-dark);
}
.quote-offer-card__badge {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 3px 12px;
  background: var(--color-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
}
.quote-offer-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.quote-offer-card__price {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 8px;
  color: var(--color-text);
}
.quote-offer-card__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.quote-offer-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quote-offer-card li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-left: 18px;
  position: relative;
}
.quote-offer-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}
.quote-offer-card--clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: left;
  font: inherit;
}
.quote-offer-card--clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.quote-offer-card--clickable:active {
  transform: translateY(0);
}
.quote-offer-card--clickable:disabled {
  cursor: not-allowed;
}
.quote-offer-card__cta {
  display: block;
  margin-top: 20px;
  padding: 12px 0;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--color-border-light);
  color: var(--color-dark);
}

.quote-offer-market {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.quote-offer-market span { font-weight: 500; }

.quote-high-value {
  text-align: center;
  padding: 40px 32px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
}
.quote-high-value h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.quote-high-value p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}
.quote-high-value__market {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-text);
}

.quote-manual-review {
  text-align: center;
  padding: 20px 0 8px;
  border-top: 1px solid var(--color-border-light);
  margin-top: 16px;
}
.quote-manual-review p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.quote-offer-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-style: italic;
}

/* Stripe onboarding status */
.quote-stripe-status {
  padding: 20px 24px;
  border-radius: 6px;
  text-align: left;
}
.quote-stripe-status--done {
  background: #d4edda;
  color: #155724;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.quote-stripe-status--pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}
.quote-stripe-status--pending p { margin-bottom: 8px; font-size: 14px; line-height: 1.5; }
.quote-stripe-status--pending .btn { margin-top: 8px;
}

.quote-no-offers {
  text-align: center;
  padding: 32px;
  color: var(--color-text-secondary);
}
.quote-no-offers a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .quote-hero { padding: 48px 0; }
  .quote-hero__title { font-size: 30px; }
  .quote-flow { padding: 32px 0 64px; }
  .quote-matches { grid-template-columns: 1fr; }
  .quote-variants { grid-template-columns: repeat(2, 1fr); }
  .quote-conditions { grid-template-columns: 1fr; }
  .quote-offer-cards { grid-template-columns: 1fr; }
  .quote-step__title { font-size: 24px; }
}

@media (max-width: 480px) {
  .quote-hero__title { font-size: 26px; }
  .quote-hero__desc { font-size: 14px; }
}

/* ── Admin Dashboard ─────────────────────────── */

.admin-page {
  padding: 32px 0 60px;
  min-height: calc(100vh - var(--header-height) - var(--announcement-height));
}
.admin-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.admin-page__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
}
.admin-page__count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.admin-filter-btn {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  border-radius: 3px;
  transition: all var(--transition);
}
.admin-filter-btn:hover { border-color: var(--color-text-muted); }
.admin-filter-btn.active {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
  padding: 12px 14px;
  border-bottom: 2px solid var(--color-dark);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--color-bg-alt); }
.admin-table__img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--color-bg-alt);
}
.admin-table__name {
  font-weight: 500;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-table__user {
  font-size: 12px;
  color: var(--color-text-secondary);
}
.admin-table__date {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.admin-status-select {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition);
}
.admin-status-select:focus { border-color: var(--color-accent); outline: none; }

.admin-detail-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  border-radius: 3px;
  transition: all var(--transition);
}
.admin-detail-btn:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

/* Admin detail modal */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.admin-modal-overlay.open { opacity: 1; pointer-events: auto; }
.admin-modal {
  background: #fff;
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.admin-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.admin-modal__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}
.admin-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
}
.admin-modal__close:hover { color: var(--color-text); }
.admin-modal__close svg { width: 20px; height: 20px; }
.admin-modal__section {
  margin-bottom: 20px;
}
.admin-modal__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.admin-modal__value {
  font-size: 14px;
  color: var(--color-text);
}
.admin-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-modal__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.admin-modal__photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border-light);
  cursor: pointer;
}
.admin-modal__photos img:hover { opacity: 0.8; }
.admin-modal__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-modal__check {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 3px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
}
.admin-modal__check--yes { background: #d4edda; color: #155724; border-color: #c3e6cb; }
.admin-modal__check--no { background: #f8f9fa; color: #999; }

/* Admin tabs */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-tab {
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.admin-tab:hover { color: var(--color-text); }
.admin-tab.active {
  color: var(--color-dark);
  border-bottom-color: var(--color-dark);
}
.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }

.admin-panel__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Admin tags */
.admin-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
}
.admin-tag--quote {
  background: #e8f0fe;
  color: #1a56db;
}
.admin-tag--manual {
  background: #f3f4f6;
  color: #6b7280;
}

/* Admin JSON view */
.admin-json-view {
  background: #f8f9fa;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  padding: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  line-height: 1.6;
  max-height: 400px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: #333;
}

/* Admin back button */
.admin-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.admin-back-btn:hover { color: var(--color-dark); }

/* Admin detail full page */
.admin-detail-page { padding-bottom: 40px; }
.admin-detail-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border-light);
}
.admin-detail-page__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}
.admin-detail-page__sub {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Detail photos */
.admin-detail-photos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.admin-detail-photo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.admin-detail-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--color-border-light);
  transition: opacity var(--transition);
}
.admin-detail-photo:hover img { opacity: 0.8; }
.admin-detail-photo span {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  text-transform: capitalize;
}

/* Detail cards grid */
.admin-detail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.admin-detail-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  padding: 20px;
}
.admin-detail-card__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
}

/* Detail rows (label + value) */
.admin-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
  gap: 12px;
}
.admin-detail-row + .admin-detail-row {
  border-top: 1px solid #f5f5f5;
}
.admin-detail-row__label {
  color: var(--color-text-muted);
  flex-shrink: 0;
  font-size: 13px;
}
.admin-detail-row__value {
  text-align: right;
  color: var(--color-text);
  word-break: break-all;
}

/* Dev toggle */
.admin-dev-toggle {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  border-radius: 3px;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.admin-dev-toggle:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text-muted);
}

/* Vision matches list */
.admin-vision-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.admin-vision-match {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  background: #fff;
}

/* Mini table (for market estimates) */
.admin-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.admin-mini-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  padding: 6px 8px;
  border-bottom: 1px solid var(--color-border-light);
}
.admin-mini-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #f5f5f5;
}

/* Trendful load items (inside sell detail) */
.admin-trendful-load-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-trendful-load-item {
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  overflow: hidden;
}
.admin-trendful-load-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--color-bg-alt);
}
.admin-trendful-load-item__body:not(:empty) {
  padding: 0 16px 16px;
}

/* ── Product Detail Accordions ──────────────────── */
.pd-accordion {
  border-top: 1px solid var(--color-border-light);
}
.pd-accordion:last-of-type {
  border-bottom: 1px solid var(--color-border-light);
}
.pd-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-sans);
}
.pd-accordion__chevron {
  transition: transform 0.25s ease;
}
.pd-accordion__trigger.open .pd-accordion__chevron {
  transform: rotate(180deg);
}
.pd-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}
.pd-accordion__body.open {
  max-height: 600px;
  padding-bottom: 20px;
}
.pd-desc-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}
.pd-details-grid {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-secondary);
}
.pd-details-grid strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ── Product Condition Scale ───────────────────── */
.pd-cond-scale {
  padding: 8px 0 16px;
}
.pd-cond-scale__track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding-top: 8px;
}
.pd-cond-scale__line {
  position: absolute;
  top: 16px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #ddd;
}
.pd-cond-scale__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}
.pd-cond-scale__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
  margin-bottom: 8px;
  transition: all 0.2s;
}
.pd-cond-scale__dot--active {
  width: 18px;
  height: 18px;
  background: var(--color-text);
  box-shadow: 0 0 0 2px var(--color-text);
}
.pd-cond-scale__label {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.pd-cond-scale__step--active .pd-cond-scale__label {
  color: var(--color-text);
  font-weight: 700;
}
.pd-cond-detail {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 4px 0 12px;
}
.pd-cond-detail strong {
  color: var(--color-text);
}
.pd-cond-learn {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pd-cond-learn:hover {
  color: var(--color-text);
}
.pd-auth-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}
.pd-auth-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 14px;
}

/* ── Condition Guide Modal ─────────────────────── */
.cond-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cond-modal-overlay.open {
  display: flex;
}
.cond-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
}
.cond-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
}
.cond-modal__close:hover { color: var(--color-text); }
.cond-modal__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.cond-modal__intro {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.cond-modal__grade {
  margin-bottom: 20px;
}
.cond-modal__grade h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cond-modal__grade p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.cond-modal__note {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  font-style: italic;
}

@media (max-width: 768px) {
  .pd-cond-scale__label { font-size: 10px; }
  .cond-modal { padding: 24px; margin: 12px; }
}

/* Add Product form */
.admin-add-product-form {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 32px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.admin-form-col {}
.admin-form-section-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
}
.admin-form-field {
  margin-bottom: 16px;
}
.admin-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.admin-form-field label .req {
  color: #e74c3c;
}
.admin-form-field input[type="text"],
.admin-form-field input[type="number"],
.admin-form-field select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.2s;
}
.admin-form-field input:focus,
.admin-form-field select:focus {
  outline: none;
  border-color: var(--color-text);
}
.admin-form-field select:disabled {
  background: #f9f9f9;
  color: #bbb;
  cursor: not-allowed;
}
.admin-form-field input[type="file"] {
  font-size: 13px;
  padding: 8px 0;
}
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.admin-form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  color: var(--color-text);
}
.admin-form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.admin-form-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.admin-form-preview__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border-light);
}
.admin-form-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}
.admin-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .admin-modal { padding: 20px; max-width: 100%; }
  .admin-modal__grid { grid-template-columns: 1fr; }
  .admin-modal__photos { grid-template-columns: repeat(3, 1fr); }
  .admin-tabs { gap: 0; }
  .admin-tab { padding: 10px 14px; font-size: 11px; }
  .admin-form-grid { grid-template-columns: 1fr; gap: 24px; }
  .admin-add-product-form { padding: 20px; }
  .admin-form-row { grid-template-columns: 1fr; }
}

/* ── Auth Modal (inline sign-in/sign-up) ───────── */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-modal-overlay.open {
  display: flex;
}
.auth-modal-box {
  background: #fff;
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
}
.auth-modal-box__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
}
.auth-modal-box__close:hover { color: var(--color-text); }
.auth-modal-box__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.auth-modal-box__sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}
.auth-modal-box__footer {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 20px;
}
.auth-modal-box__footer a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-modal-box .btn-google {
  width: 100%;
  margin-bottom: 0;
}
.auth-modal-box .auth-divider {
  margin: 16px 0;
}
.auth-modal-box .auth-field {
  margin-bottom: 14px;
}
.auth-modal-box .auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .auth-modal-box { padding: 24px 20px; margin: 8px; }
  .auth-modal-box .auth-form-row { grid-template-columns: 1fr; }
}

/* ── How It Works Page ─────────────────────────── */
.hiw-hero {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: 640px;
  margin: 0 auto;
}
.hiw-hero__title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 16px;
}
.hiw-hero__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.hiw-steps {
  padding: 40px 0 60px;
  max-width: 680px;
  margin: 0 auto;
}
.hiw-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step__number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--color-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px;
}
.hiw-step__content h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}
.hiw-step__content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.hiw-options {
  background: var(--color-bg-alt);
  padding: 60px 0;
}
.hiw-options__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 36px;
}
.hiw-options__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.hiw-option-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hiw-option-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-text);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 3px;
}
.hiw-option-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.hiw-option-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.hiw-option-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.hiw-option-card li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.hiw-option-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-text);
  font-weight: 600;
}

.hiw-faq {
  padding: 60px 0;
  max-width: 680px;
  margin: 0 auto;
}
.hiw-faq__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 36px;
}
.hiw-faq-item {
  border-bottom: 1px solid var(--color-border-light);
}
.hiw-faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  font-family: var(--font-sans);
}
.hiw-faq-item__q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform 0.2s;
}
.hiw-faq-item.open .hiw-faq-item__q::after {
  content: '−';
}
.hiw-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.hiw-faq-item.open .hiw-faq-item__a {
  max-height: 300px;
}
.hiw-faq-item__a p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding-bottom: 18px;
}

.hiw-cta {
  background: var(--color-bg-alt);
  padding: 60px 24px;
}
.hiw-cta h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.hiw-cta p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hiw-hero { padding: 60px 20px 32px; }
  .hiw-hero__title { font-size: 28px; }
  .hiw-options__grid { grid-template-columns: 1fr; }
  .hiw-step { gap: 16px; }
  .hiw-step__number { width: 36px; height: 36px; min-width: 36px; font-size: 15px; }
  .hiw-step__content h2 { font-size: 17px; }
}

/* ═══ Legal Pages (Privacy, Terms) ═══════════ */

.legal-page {
  padding: 100px 0 60px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.legal-page__updated {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-page p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}
.legal-page ul {
  margin: 0 0 16px 20px;
  padding: 0;
}
.legal-page ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.legal-page a {
  color: var(--color-accent, #1a1a1a);
  text-decoration: underline;
}
.legal-page a:hover {
  opacity: 0.7;
}
.legal-contact {
  list-style: none;
  margin-left: 0 !important;
}
.legal-contact li {
  margin-bottom: 4px !important;
}
.footer-legal-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.footer-legal-links a {
  font-size: 12px;
  color: var(--color-text-secondary);
  text-decoration: none;
  opacity: 0.75;
}
.footer-legal-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

@media (max-width: 768px) {
  .legal-page { padding: 80px 20px 40px; }
  .legal-page h1 { font-size: 28px; }
  .legal-page h2 { font-size: 18px; }
}
