/* =========================================================
   UM CONNECTS — Design System
   Brand: UM Navy + Gold, serif display + modern body
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
  /* UM Brand */
  --um-navy:        #002654;
  --um-navy-deep:   #001a3a;
  --um-navy-soft:   #1a3a6b;
  --um-gold:        #F5B82E;
  --um-gold-light:  #FCE9A8;
  --um-gold-deep:   #C99019;

  /* Neutrals */
  --cream:          #FAF7F2;
  --cream-deep:     #F2EDE2;
  --white:          #FFFFFF;
  --ink:            #0A0A0A;
  --ink-2:          #2B2B2B;
  --muted:          #6B6B6B;
  --subtle:         #9A9A9A;
  --border:         #E8E4DC;
  --border-light:   #F0EDE6;
  --bg-tint:        #FBFAF7;

  /* Semantic */
  --danger:         #DC2626;
  --success:        #059669;
  --info:           #2563EB;

  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 38, 84, 0.05);
  --shadow-sm: 0 2px 6px rgba(0, 38, 84, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 38, 84, 0.08);
  --shadow-lg: 0 18px 40px rgba(0, 38, 84, 0.10);

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --nav-h: 68px;
}

/* ---------- Base typography ---------- */
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { color: var(--ink-2); }

.serif { font-family: var(--font-display); }
.italic { font-style: italic; }

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
}

/* ---------- Logo / brand mark ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--um-navy);
  text-decoration: none;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--um-navy);
  color: var(--um-gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(245, 184, 46, 0.25), transparent 50%);
  pointer-events: none;
}
.brand-name { font-weight: 500; }
.brand-name strong { font-weight: 600; color: var(--um-navy); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-h);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 32px;
}
.nav-links a {
  font-size: 0.93rem;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--um-navy); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1;
  transition: all 180ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--um-navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--um-navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-gold {
  background: var(--um-gold);
  color: var(--um-navy-deep);
}
.btn-gold:hover {
  background: var(--um-gold-deep);
  color: var(--white);
}
.btn-ghost {
  color: var(--ink-2);
}
.btn-ghost:hover { color: var(--um-navy); background: var(--cream); }
.btn-outline {
  border: 1.5px solid var(--um-navy);
  color: var(--um-navy);
}
.btn-outline:hover { background: var(--um-navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* ---------- Form controls ---------- */
.field { display: block; }
.field + .field { margin-top: 18px; }
.label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.input,
.textarea,
.select {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input::placeholder, .textarea::placeholder { color: var(--subtle); }
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--um-navy);
  box-shadow: 0 0 0 4px rgba(0, 38, 84, 0.10);
}
.help {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Badges & pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  background: var(--cream);
  color: var(--ink-2);
  white-space: nowrap;
}
.pill-navy   { background: var(--um-navy);  color: var(--white); }
.pill-gold   { background: var(--um-gold-light); color: var(--um-gold-deep); }
.pill-success{ background: #DCFCE7; color: #166534; }
.pill-outline{ background: transparent; border: 1px solid var(--border); }
.pill-tiny   { padding: 3px 8px; font-size: 0.7rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card-pad { padding: 24px; }

/* ---------- Listing card (Carousell-style with UM twist) ---------- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.listing-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: block;
  position: relative;
}
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.listing-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}
.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.listing-card:hover .listing-card-img img {
  transform: scale(1.04);
}

.listing-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: all 180ms ease;
  cursor: pointer;
}
.listing-fav:hover { background: var(--white); color: var(--danger); }
.listing-fav.active { color: var(--danger); }
.listing-fav svg { width: 18px; height: 18px; }

.listing-faculty-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 38, 84, 0.92);
  color: var(--um-gold);
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.listing-body {
  padding: 12px 14px 16px;
}
.listing-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.listing-title {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  min-height: 2.4em;
}
.listing-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}
.listing-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--subtle);
  border-radius: 50%;
}
.listing-condition {
  font-weight: 600;
  color: var(--um-navy);
}

/* ---------- Hero (landing) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 10%, rgba(245, 184, 46, 0.12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0, 38, 84, 0.06), transparent 45%),
    var(--cream);
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 64px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--um-navy);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .accent {
  position: relative;
  font-style: italic;
  color: var(--um-navy);
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: var(--um-gold);
  opacity: 0.7;
  z-index: -1;
  border-radius: 3px;
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero visual: marketplace preview tiles */
.hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
}
.hero-tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
  position: relative;
}
.hero-tile:nth-child(1) { transform: rotate(-2deg) translateY(8px); }
.hero-tile:nth-child(2) { transform: rotate(1deg); }
.hero-tile:nth-child(3) { transform: rotate(1.5deg); }
.hero-tile:nth-child(4) { transform: rotate(-1deg) translateY(-8px); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-tile-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--um-navy);
  color: var(--um-gold);
  border-radius: var(--r-pill);
}
.hero-tile-price {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-xs);
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--um-navy);
  color: var(--white);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--um-gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

/* ---------- Features ---------- */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title .eyebrow { margin-bottom: 16px; }
.section-title p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all 200ms ease;
}
.feature-card:hover {
  border-color: var(--um-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--um-navy);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

/* ---------- Categories ---------- */
.cat-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto;
  padding: 9px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
}
.cat-chip:hover { border-color: var(--um-navy); }
.cat-chip.active { background: var(--um-navy); color: var(--white); border-color: var(--um-navy); }

/* ---------- Footer ---------- */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--muted); }
.footer-links a:hover { color: var(--um-navy); }
.footer-tag { font-size: 0.92rem; color: var(--muted); max-width: 280px; margin-top: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
@media (max-width: 640px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* ---------- Auth page ---------- */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 880px) { .auth-page { grid-template-columns: 1fr; } }

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--white);
}
.auth-form-wrap {
  width: 100%;
  max-width: 420px;
}
.auth-form-wrap .brand { margin-bottom: 48px; }
.auth-form-wrap h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.auth-form-wrap .sub {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.auth-visual-side {
  background: var(--um-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 56px;
}
@media (max-width: 880px) { .auth-visual-side { display: none; } }
.auth-visual-side::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 46, 0.18), transparent 60%);
  top: -200px;
  right: -200px;
}
.auth-visual-side::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 46, 0.1), transparent 60%);
  bottom: -150px;
  left: -100px;
}
.auth-quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 80px;
}
.auth-quote .quote-mark {
  color: var(--um-gold);
  font-size: 4rem;
  line-height: 0.5;
  display: inline-block;
  vertical-align: -0.3em;
  margin-right: 8px;
}
.auth-quote-author {
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}
.auth-quote-author strong { color: var(--um-gold); font-weight: 600; display: block; }
.auth-visual-foot {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-foot {
  text-align: center;
  margin-top: 32px;
  font-size: 0.92rem;
  color: var(--muted);
}
.auth-foot a { color: var(--um-navy); font-weight: 600; }

/* ---------- Browse page ---------- */
.browse-shell { background: var(--bg-tint); min-height: 100vh; }

.search-bar {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 11px 16px 11px 44px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.93rem;
  transition: all 150ms ease;
}
.search-bar input:focus {
  background: var(--white);
  border-color: var(--um-navy);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 38, 84, 0.08);
}
.search-bar svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.browse-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.filter-row .label-inline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.filter-row .select {
  width: auto;
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: var(--r-pill);
}
.filter-row .sort-right { margin-left: auto; }

.browse-main {
  padding: 32px 0 72px;
}
.browse-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.browse-header h2 {
  font-size: 1.6rem;
  font-weight: 400;
}
.browse-count {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Listing detail ---------- */
.detail-shell { background: var(--bg-tint); min-height: 100vh; }
.detail-main { padding: 32px 0 72px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; gap: 28px; } }

.detail-gallery { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 980px) { .detail-gallery { position: static; } }

.detail-img-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 12px;
}
.detail-img-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.detail-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 150ms ease;
}
.detail-thumb.active { border-color: var(--um-navy); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
}
.detail-pills { display: flex; gap: 6px; margin-bottom: 18px; }
.detail-title {
  font-size: 1.7rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
.detail-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--um-navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.detail-desc {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 24px;
  white-space: pre-line;
}

.detail-attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.attr-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.attr-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.seller-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.seller-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--um-navy);
  color: var(--um-gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.seller-name {
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.seller-name .verify {
  color: var(--um-navy);
}
.seller-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Sell / form layout ---------- */
.sell-shell { background: var(--bg-tint); min-height: 100vh; }
.sell-main { padding: 40px 0 80px; }
.sell-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 980px) { .sell-grid { grid-template-columns: 1fr; } }
.sell-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
}
.sell-card h3 { margin-bottom: 6px; }
.sell-card .sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.upload-box {
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 150ms ease;
  background: var(--bg-tint);
}
.upload-box:hover {
  border-color: var(--um-navy);
  background: var(--cream);
}
.upload-box svg {
  width: 36px;
  height: 36px;
  color: var(--um-navy);
  margin: 0 auto 12px;
}
.upload-box strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.upload-box span { color: var(--muted); font-size: 0.85rem; }

.tip-card {
  background: var(--um-navy);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
}
.tip-card h4 {
  color: var(--um-gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.tip-list li {
  padding-left: 22px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}
.tip-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--um-gold);
  font-weight: 700;
}

/* ---------- Misc ---------- */
.shimmer-link {
  color: var(--um-navy);
  font-weight: 600;
  position: relative;
}
.shimmer-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--um-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.shimmer-link:hover::after { transform: scaleX(1); }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background 150ms ease;
}
.icon-btn:hover { background: var(--cream); color: var(--um-navy); }
.icon-btn svg { width: 20px; height: 20px; }

.fade-in {
  animation: fadeUp 600ms ease backwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* staggered animation delays */
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }

/* mobile nav drawer */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--cream);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) {
  .mobile-menu-btn { display: inline-flex; }
}