@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Pinyon+Script&display=swap");
@import "tokens.css";

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 92vw); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand-link { display: flex; align-items: center; gap: 0.75rem; }
.brand-link img { height: 52px; width: auto; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav a:hover { opacity: 1; color: var(--red); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 24px rgba(155, 35, 53, 0.25); }
.btn-secondary { background: var(--navy); color: var(--cream); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}
.hero-logo { width: min(520px, 88vw); margin: 0 auto 1.5rem; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.tagline-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem auto 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.tagline-rule::before, .tagline-rule::after {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
}
.hero p.lead {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Virtual aisles */
.section { padding: 3.5rem 0; }
.section-dark { background: var(--navy); color: var(--cream); }
.section-alt { background: var(--cream-dark); }
.section-dark .section-label { color: var(--gold); }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
  color: inherit;
}
.section-intro { max-width: 36rem; color: var(--text-muted); margin-bottom: 2rem; }
.section-dark .section-intro { color: rgba(248, 244, 235, 0.75); }

/* Choose your aisle — navy section, high-contrast cards */
.aisle-section {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep, #061428) 100%);
  color: var(--cream);
}
.aisle-section .section-label { color: var(--gold); }
.aisle-section h2 { color: var(--cream); }
.aisle-section .section-intro { color: rgba(248, 244, 235, 0.82); }

.aisle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.aisle-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(201, 162, 39, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: var(--navy);
}
.aisle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
}
.aisle-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem 0.85rem;
  background: var(--navy);
  color: var(--cream);
}
.aisle-card-head img {
  width: 52px;
  height: 52px;
  padding: 0.5rem;
  background: rgba(248, 244, 235, 0.12);
  border-radius: 12px;
  flex-shrink: 0;
}
.aisle-card-head h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.aisle-card-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.aisle-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}
.aisle-card .aisle-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.aisle-card .aisle-link::after {
  content: "→";
  transition: transform 0.15s;
}
.aisle-card:hover .aisle-link::after { transform: translateX(3px); }

.aisle-card--graded .aisle-card-head { border-bottom: 3px solid var(--gold); }
.aisle-card--singles .aisle-card-head { border-bottom: 3px solid var(--red); }
.aisle-card--new .aisle-card-head { border-bottom: 3px solid #4ade80; }
.aisle-card--pc .aisle-card-head { border-bottom: 3px solid #60a5fa; }

.section-dark .aisle-card {
  background: var(--cream);
  border-color: rgba(201, 162, 39, 0.45);
  color: var(--navy);
}
.section-dark .aisle-card-head { background: var(--navy); }
.section-dark .aisle-card-head h3 { color: var(--cream); }
.section-dark .aisle-card p { color: var(--text); }

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.trust-item { text-align: center; padding: 1rem; }
.trust-item img { width: 44px; height: 44px; margin: 0 auto 0.75rem; }
.trust-item h4 { margin: 0 0 0.35rem; font-size: 1rem; }
.trust-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* Coming soon banner */
.coming-soon {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.coming-soon h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--gold);
}
.notify-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 1rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.notify-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(248, 244, 235, 0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  font-family: inherit;
}
.notify-form input::placeholder { color: rgba(248,244,235,0.5); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(248, 244, 235, 0.8);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--gold); margin: 0 0 0.75rem; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(248, 244, 235, 0.12);
  padding-top: 1rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skyline-divider {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem;
}
.cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav a.active { color: var(--red); opacity: 1; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 31, 68, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,31,68,0.14); }
.product-card-link { display: block; color: inherit; }
.product-image { position: relative; aspect-ratio: 5/7; background: var(--cream-dark); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-badges { position: absolute; top: 0.5rem; left: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}
.badge-grader { background: var(--badge-color, var(--navy)); color: white; }
.badge-raw { background: var(--navy); color: var(--cream); }
.badge-deal { background: var(--gold); color: var(--navy); }
.product-info { padding: 0.85rem 1rem 1rem; }
.product-info h3 { margin: 0 0 0.25rem; font-size: 0.92rem; line-height: 1.35; color: var(--navy); }
.product-meta { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.product-price { margin: 0.35rem 0 0; font-weight: 700; font-size: 1rem; color: var(--red); }

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  align-items: center;
}
.filter-bar select, .filter-bar input {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(10,31,68,0.15);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  background: white;
}
.search-input { flex: 1; min-width: 180px; }
.price-range { display: inline-flex; align-items: center; gap: 0.35rem; }
.price-range input { width: 5.5rem; }
.price-range-sep { color: var(--text-muted); font-size: 0.85rem; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.product-gallery { display: grid; gap: 0.75rem; }
.product-gallery img,
.product-gallery__photo { border-radius: var(--radius); background: var(--cream-dark); cursor: zoom-in; }

/* Photo zoom lightbox */
body.photo-zoom-open { overflow: hidden; }
.photo-zoom {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.photo-zoom[hidden] { display: none; }
.photo-zoom__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.92);
}
.photo-zoom__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1100px, 100vw);
  height: 100vh;
  padding: 1rem 1rem 1.25rem;
  color: var(--cream);
}
.photo-zoom__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(248, 244, 235, 0.12);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.photo-zoom__close:hover { background: rgba(248, 244, 235, 0.22); }
.photo-zoom__toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 0.35rem;
}
.photo-zoom__btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(248, 244, 235, 0.25);
  border-radius: var(--radius);
  background: rgba(248, 244, 235, 0.08);
  color: var(--cream);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.photo-zoom__btn:hover { background: rgba(248, 244, 235, 0.18); }
.photo-zoom__level {
  min-width: 3.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(248, 244, 235, 0.85);
}
.photo-zoom__hint {
  margin: 0 auto 0.65rem;
  font-size: 0.78rem;
  color: rgba(248, 244, 235, 0.65);
  text-align: center;
}
.photo-zoom__viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.photo-zoom__viewport.is-dragging { cursor: grabbing; }
.photo-zoom__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  will-change: transform;
}
.photo-zoom__img {
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.photo-zoom__thumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.photo-zoom__thumbs[hidden] { display: none; }
.photo-zoom__thumb {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(248, 244, 235, 0.25);
  border-radius: 999px;
  background: rgba(248, 244, 235, 0.08);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.photo-zoom__thumb.is-active,
.photo-zoom__thumb:hover {
  background: var(--red);
  border-color: var(--red);
}

.product-detail h1 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.product-detail .price { font-size: 1.75rem; font-weight: 700; color: var(--red); margin: 0.5rem 0; }
.trust-note { background: var(--cream-dark); border-radius: var(--radius); padding: 1rem; font-size: 0.88rem; margin: 1rem 0; }
.cert-link { color: var(--red); font-weight: 600; }
.comp-links { font-size: 0.82rem; margin: 0.75rem 0 0; line-height: 1.55; }
.comp-links a { color: var(--red); font-weight: 600; margin-right: 0.85rem; }
.comp-links-empty { color: var(--text-muted); }
.product-comp-links { margin-top: 0.5rem; }

/* Cart */
.cart-layout { display: grid; gap: 1.5rem; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td, .cart-table th { padding: 0.75rem; text-align: left; border-bottom: 1px solid rgba(10,31,68,0.08); }
.cart-checkout { display: grid; gap: 1.25rem; }
@media (min-width: 860px) {
  .cart-checkout { grid-template-columns: 1fr minmax(280px, 360px); align-items: start; }
}
.checkout-panel, .cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.cart-summary { align-self: start; }
.checkout-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}
.checkout-heading:not(:first-child) { margin-top: 1.1rem; }
.ship-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(10,31,68,0.12);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ship-option:has(input:checked) {
  border-color: var(--red);
  background: rgba(196, 30, 58, 0.04);
}
.ship-option input { margin-top: 0.2rem; accent-color: var(--red); }
.ship-option strong { display: block; font-size: 0.92rem; color: var(--navy); }
.ship-option small { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }
.ship-address-panel input,
.ship-address-panel select,
.checkout-panel > input[type="email"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(10,31,68,0.12);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
}
.ship-address-panel select { border-radius: 10px; }
.ship-row {
  display: grid;
  grid-template-columns: 1fr 88px 108px;
  gap: 0.45rem;
}
@media (max-width: 520px) {
  .ship-row { grid-template-columns: 1fr 1fr; }
  .ship-row input:last-child { grid-column: 1 / -1; }
}
.checkout-note { font-size: 0.8rem; color: var(--text-muted); margin: 0.5rem 0 0; line-height: 1.45; }

/* Light-background forms (account, checkout, vault) */
.form-input,
.ship-address-panel input,
.ship-address-panel select,
.checkout-panel > input[type="email"],
.vault-form input,
.vault-form select {
  color: var(--navy);
  background: var(--white);
}
.form-input::placeholder,
.ship-address-panel input::placeholder,
.checkout-panel > input[type="email"]::placeholder,
.vault-form input::placeholder {
  color: var(--text-muted);
}
.account-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  max-width: 100%;
}
.account-form .form-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(10, 31, 68, 0.2);
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
}
.magic-success {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
}
.magic-success p { margin: 0 0 0.75rem; color: var(--navy); }

/* Phase 3 — collector experience */
.onboarding-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.onboarding-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(10, 31, 68, 0.04);
  color: var(--text-muted);
  font-size: 0.92rem;
}
.onboarding-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(10, 31, 68, 0.1);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.onboarding-step.done { color: var(--navy); }
.onboarding-step.done span { background: var(--gold); color: var(--navy-deep); }
.onboarding-step.active { border: 1px solid rgba(201, 162, 39, 0.5); background: rgba(201, 162, 39, 0.08); color: var(--navy); font-weight: 600; }
.loyalty-tiers { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.88rem; }
.loyalty-earn-callout {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.85rem;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--navy);
  display: inline-block;
}
.pricing-explainer { margin-top: 1rem; padding: 1rem 1.15rem; text-align: left; }
.personalize-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--navy);
}
.personalize-clear {
  border: none;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.vault-summary .vault-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.vault-stats div { display: flex; flex-direction: column; gap: 0.15rem; }
.vault-stats strong { font-size: 1.5rem; color: var(--navy); }
.vault-stats span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; }
.vault-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.vault-card-img { width: 100%; max-height: 160px; object-fit: contain; border-radius: 8px; margin-bottom: 0.5rem; background: var(--cream); }
.order-success-wrap { text-align: center; max-width: 560px; }
.order-success-icon { margin: 0 auto 1rem; opacity: 0.85; display: block; }
.order-success-id { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.04em; }
.order-items-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.order-items-list li { padding: 0.65rem 0; border-bottom: 1px solid rgba(10,31,68,0.06); }
.order-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.order-item-title { font-weight: 600; }
.order-item-price { font-weight: 600; white-space: nowrap; }
.order-item-desc { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.4; }
.order-item-sku { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.02em; }
.checkout-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.75rem 0;
  padding: 0.65rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(10,31,68,0.08);
}
.trust-strip-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.trust-strip-item img { flex-shrink: 0; }
.payment-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.25rem 0 0.5rem; }
.payment-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(10,31,68,0.06);
  color: var(--navy);
}
.checkout-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(248,244,235,0.96);
  border-top: 1px solid rgba(10,31,68,0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 -8px 24px rgba(10,31,68,0.08);
}
.checkout-sticky-bar[hidden] { display: none; }
.checkout-sticky-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.checkout-sticky-total { display: flex; flex-direction: column; gap: 0.1rem; }
.checkout-sticky-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; }
#checkout-sticky-amount { font-size: 1.15rem; font-weight: 700; color: var(--red); }
#checkout-sticky-btn { min-height: 44px; padding: 0.65rem 1.25rem; white-space: nowrap; }
.product-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.55rem 0 calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(248,244,235,0.96);
  border-top: 1px solid rgba(10,31,68,0.1);
  backdrop-filter: blur(8px);
}
.product-sticky-bar[hidden] { display: none; }
.product-sticky-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.product-sticky-meta { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.product-sticky-price { font-weight: 700; color: var(--red); font-size: 1rem; }
.product-sticky-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}
.product-sticky-bar .btn { min-height: 44px; flex-shrink: 0; }
.wishlist-share-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.share-url-fallback { margin-top: 0.5rem; font-size: 0.82rem; }
.personalize-banner--nudge a { color: var(--red); font-weight: 700; }
@media (min-width: 860px) {
  .checkout-sticky-bar,
  .product-sticky-bar { display: none !important; }
}
.checkout-msg { color: var(--red); font-weight: 600; }
.fee-line { display: flex; justify-content: space-between; margin: 0.35rem 0; font-size: 0.9rem; }
.fee-total { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--gold); padding-top: 0.5rem; margin-top: 0.5rem; }

/* Policy pages */
.policy-page { padding: 2rem 0 4rem; max-width: 720px; }
.policy-page h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.policy-page h2 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: var(--navy); }
.policy-page p, .policy-page li { color: var(--text-muted); font-size: 0.95rem; }
.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); }

/* Homepage sections */
.home-products { margin-top: 1rem; }
.section-header-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.section-header-row a { font-size: 0.85rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }

/* Aisle cards clickable */
.aisle-card { cursor: pointer; }
.aisle-card a { color: inherit; }

/* Notify success */
.notify-success { color: var(--gold); font-weight: 600; }

/* Phase 2 pages */
.player-grid, .sets-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.player-card, .set-card, .blog-card, .account-card, .vault-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 31, 68, 0.06);
  color: inherit;
  display: block;
}
.player-card:hover, .set-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,31,68,0.14); transition: transform 0.2s, box-shadow 0.2s; }
.player-card h3, .set-card h3, .blog-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--navy); }
.player-count { font-size: 0.82rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }
.account-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .account-grid { grid-template-columns: 1fr 1fr; } }
.account-links { list-style: none; padding: 0; margin: 0; }
.account-links li { margin-bottom: 0.5rem; }
.account-links a { color: var(--red); font-weight: 600; }
.loyalty-badge { font-size: 1.1rem; color: var(--navy); margin: 0; }
.loyalty-badge strong { color: var(--gold); font-size: 1.4rem; }
.vault-form { display: grid; gap: 0.5rem; max-width: 480px; }
.vault-form input { padding: 0.6rem 0.75rem; border: 1px solid rgba(10,31,68,0.12); border-radius: 999px; font-family: inherit; }
.vault-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.checklist-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.checklist-table th, .checklist-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid rgba(10,31,68,0.08); }
.checklist-table tr.in-stock { background: rgba(235, 173, 33, 0.08); }
.text-muted { color: var(--text-muted); }
.blog-body p { color: var(--text-muted); line-height: 1.7; }
.ship-fieldset { border: none; padding: 0; margin: 0; }
.ship-fieldset legend { padding: 0; }

/* Consignment */
.consign-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: var(--cream); padding: 3rem 0; text-align: center; }
.consign-hero h1 { color: var(--cream); margin: 0.5rem 0; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.consign-hero .lead { color: rgba(248,244,235,0.85); max-width: 560px; margin: 0 auto 1.5rem; }
.consign-steps { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.consign-step-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(248,244,235,0.25); transition: background 0.2s; }
.consign-step-dot.active { background: var(--gold); }
.consign-step-dot.done { background: var(--cream); }
.consign-panel { display: none; max-width: 560px; margin: 0 auto; }
.consign-panel.active { display: block; }
.consign-how { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 2rem 0; }
.consign-how-card { background: white; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); text-align: center; }
.consign-how-card strong { display: block; font-size: 1.75rem; color: var(--gold); margin-bottom: 0.25rem; }
.consign-form-grid { display: grid; gap: 0.65rem; }
.consign-form-grid label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.consign-form-grid input, .consign-form-grid select, .consign-form-grid textarea {
  padding: 0.65rem 0.85rem; border: 1px solid rgba(10,31,68,0.12); border-radius: 10px; font-family: inherit; width: 100%;
}
.consign-form-grid textarea { min-height: 80px; border-radius: 10px; resize: vertical; }
.consign-row-2 { display: grid; gap: 0.65rem; grid-template-columns: 1fr 1fr; }
.consign-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.consign-terms { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; background: var(--cream); padding: 1rem; border-radius: var(--radius); margin: 1rem 0; }
.consign-check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; margin-top: 1rem; }
.consign-check input { width: auto; margin-top: 0.2rem; }
.consign-status { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 4px; letter-spacing: 0.04em; }
.consign-status-submitted, .consign-status-under_review { background: #fef3c7; color: #92400e; }
.consign-status-approved, .consign-status-active { background: #d8f3dc; color: #1b4332; }
.consign-status-payout_pending { background: #dbeafe; color: #1e40af; }
.consign-status-paid_out, .consign-status-sold { background: #e2e8f0; color: #334155; }
.consign-status-rejected, .consign-status-returned, .consign-status-expired { background: #fde8e8; color: var(--red); }
.consign-card { background: white; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem; border: 1px solid rgba(10,31,68,0.06); }
.consign-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.consign-timeline { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 2px solid rgba(10,31,68,0.1); padding-left: 1rem; }
.consign-timeline li { margin-bottom: 0.65rem; font-size: 0.88rem; color: var(--text-muted); }
.consign-timeline strong { color: var(--navy); display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.consign-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.consign-stat { background: white; border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); min-width: 120px; }
.consign-stat strong { display: block; font-size: 1.5rem; color: var(--navy); }
.consign-stat span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; }
.consign-photo-section { margin-top: 0.35rem; }
.consign-photo-tips { margin: 0.5rem 0 0.75rem; background: var(--cream); border-radius: 10px; border: 1px solid rgba(10,31,68,0.08); }
.consign-photo-tips summary { cursor: pointer; font-size: 0.82rem; font-weight: 700; color: var(--navy); padding: 0.65rem 0.85rem; list-style: none; }
.consign-photo-tips summary::-webkit-details-marker { display: none; }
.consign-photo-tips summary::after { content: " +"; float: right; color: var(--text-muted); font-weight: 400; }
.consign-photo-tips[open] summary::after { content: " −"; }
.consign-photo-tips-body { padding: 0 0.85rem 0.85rem; font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; }
.consign-photo-tips-body p { margin: 0.5rem 0 0.25rem; color: var(--navy); font-size: 0.78rem; }
.consign-photo-tips-body ul { margin: 0.15rem 0 0.5rem; padding-left: 1.15rem; }
.consign-photo-tips-body li { margin-bottom: 0.2rem; }
.consign-photo-grid { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0.5rem 0; }
.consign-photo-grid-review { margin-top: 0.75rem; }
.consign-photo-slot { position: relative; width: 88px; height: 110px; border-radius: 10px; overflow: hidden; background: var(--cream); border: 1px solid rgba(10,31,68,0.08); }
.consign-photo-slot.uploading { opacity: 0.7; }
.consign-photo-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.consign-photo-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; color: var(--navy); background: rgba(248,244,235,0.82); text-align: center; padding: 0.25rem; }
.consign-photo-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: none; border-radius: 50%; background: rgba(6,20,40,0.72); color: white; font-size: 1rem; line-height: 1; cursor: pointer; padding: 0; }
.consign-photo-remove:disabled { opacity: 0.4; cursor: not-allowed; }
.consign-photo-add { display: inline-block; margin-top: 0.25rem; cursor: pointer; }
.consign-photo-add input { display: none; }
.consign-photo-inline { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(10,31,68,0.08); }
.profile-form { max-width: 420px; }
.profile-form input, .profile-form select { width: 100%; padding: 0.5rem; margin: 0.25rem 0 0.65rem; border: 1px solid rgba(10,31,68,0.15); border-radius: 8px; font-family: inherit; }
.profile-form .ship-row { display: grid; gap: 0.5rem; grid-template-columns: 1fr 1fr 1fr; }
.profile-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248,244,235,0.98);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(10,31,68,0.08);
    gap: 0.75rem;
  }
  .nav.open { display: flex; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-link img { height: 42px; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}