:root {
  --bg: #fbfaf7;
  --surface: rgba(20, 22, 24, 0.045);
  --surface-2: rgba(20, 22, 24, 0.06);
  --text: rgba(14, 16, 18, 0.92);
  --muted: rgba(14, 16, 18, 0.66);
  --line: rgba(14, 16, 18, 0.11);
  --accent: #1a1d22;
  --accent-2: #2e6b5d;
  --shadow: 0 18px 60px rgba(0,0,0,0.08);
  --radius: 18px;
  --max: 1180px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(214,185,138,0.10), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(159,211,199,0.08), transparent 55%),
    linear-gradient(180deg, #0b0d0c, #0f1110);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.hidden { display: none !important; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(15, 17, 16, 0.65);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 14px; height: 14px; border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), rgba(214,185,138,0.25));
  box-shadow: 0 0 0 4px rgba(214,185,138,0.10);
}
.brand-text { font-weight: 700; letter-spacing: 0.2px; }
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.nav-admin { opacity: 0.75; }
.hero { padding: 44px 0 22px; }
.hero-inner {
  display: grid; grid-template-columns: 1.35fr 0.65fr;
  gap: 18px; align-items: stretch;
}
.hero h1 { font-size: clamp(1.75rem, 3vw, 2.6rem); margin: 0 0 10px; }
.hero-ctas { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,0.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 999px;
  border: 1px solid rgba(214,185,138,0.35);
  background: rgba(214,185,138,0.10);
  font-weight: 700; font-size: 0.9rem;
}
.hero-card-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.stat { padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.15); }
.stat-num { font-weight: 800; font-size: 1.15rem; }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.section { padding: 26px 0 44px; }
.section-alt { border-top: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px; margin-bottom: 14px;
}
.section-head h2 { margin: 0; font-size: 1.35rem; }
.controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.input, .select, .textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}
.input::placeholder { color: rgba(255,255,255,0.45); }
.select { width: 220px; }
.input { width: 280px; }
.textarea { resize: vertical; min-height: 120px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,0.03));
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}
.product { overflow: hidden; }
.product-media {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 240ms ease;
}
.product-media:hover img { transform: scale(1.06); }
.img-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.18);
}
.img-placeholder.tall { min-height: 420px; }
.product-body { padding: 14px; display: grid; gap: 10px; }
.product-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.product-title { margin: 0; font-size: 1.05rem; }
.product-price { font-weight: 800; color: rgba(214,185,138,0.95); }
.product-desc { margin: 0; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 0.82rem; padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.12);
}
.pill-soft {
  border-color: rgba(214,185,138,0.25);
  background: rgba(214,185,138,0.08);
}
.product-actions { display: flex; gap: 10px; margin-top: 4px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid rgba(214,185,138,0.40);
  background: rgba(214,185,138,0.16);
  color: var(--text); font-weight: 800; cursor: pointer;
  transition: transform 120ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(214,185,138,0.65); background: rgba(214,185,138,0.22); }
.btn:active { transform: translateY(0px); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,0.05); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.empty-state {
  margin-top: 14px; padding: 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.72);
}
.contact-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 16px; align-items: start;
}
.contact-notes { display: grid; gap: 10px; margin-top: 14px; }
.note {
  padding: 12px; border: 1px solid var(--line);
  border-radius: 12px; background: rgba(0,0,0,0.12);
}
.note-title { font-weight: 800; }
.label { display: grid; gap: 8px; font-weight: 700; color: rgba(255,255,255,0.88); }
.form { padding: 14px; display: grid; gap: 12px; }
.pad { padding: 16px; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  background: rgba(0,0,0,0.12);
}
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-page { margin-top: 12px; }
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 12px;
}
.product-detail-media { overflow: hidden; }
.product-detail-media img { width: 100%; height: auto; }
.thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 8px; padding: 10px; border-top: 1px solid var(--line);
}
.thumb {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0; overflow: hidden;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-detail-body { padding: 6px 0; }
.product-detail-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product-detail-top h1 { margin: 0; font-size: 1.6rem; }
.price { font-weight: 900; color: rgba(214,185,138,0.95); font-size: 1.2rem; }
.detail-notes { display: grid; gap: 10px; margin: 14px 0; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .input { width: 100%; }
  .select { width: 100%; }
  .product-actions { flex-direction: column; }
}

/* Typography */
h1, h2, h3, .brand-text { font-family: var(--font-display); letter-spacing: 0.2px; }


/* Empty state conversion */
.empty-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;}
.recently-sold{margin-top:16px;display:grid;gap:10px;}
.recently-sold-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;}


/* Product image hover (2nd photo) */
.media-stack { position: relative; width: 100%; height: 100%; }
.media-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-stack .img-secondary { opacity: 0; transition: opacity 220ms ease; }
.media-stack .img-primary { opacity: 1; transition: opacity 220ms ease; }
.product-media:hover .img-secondary { opacity: 1; }
.product-media:hover .img-primary { opacity: 0; }

/* Small separators */
.dot { display: inline-block; margin: 0 6px; opacity: 0.55; }

/* Post-actions link row */
.product-footlinks { margin-top: 10px; }
.link { text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--text); }


/* === SZN theme overrides === */

body{ background: linear-gradient(180deg, #ffffff, var(--bg)); }
.site-header{ background: rgba(251,250,247,0.82); }
.hero h1{ line-height: 1.06; letter-spacing: -0.3px; }
.grid{ gap: 16px; }
.card{ border-radius: 20px; }
.product-media img{ transform:none; }
.product-media:hover img{ transform:none; }
.btn{
  border-color: rgba(26,29,34,0.22);
  background: rgba(26,29,34,0.10);
  color: rgba(14,16,18,0.92);
}
.btn-ghost{ background: rgba(255,255,255,0.85); }
.badge{ border-color: rgba(26,29,34,0.22); background: rgba(26,29,34,0.06); }
.pill-soft{ border-color: rgba(46,107,93,0.25); background: rgba(46,107,93,0.08); }


/* --- SZN Clothing: Form readability patch (applies across themes) --- */
.form label { color: var(--text); }
.form input, .form textarea, .form select{
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.form input::placeholder, .form textarea::placeholder{ color: var(--muted); }
.form input:focus, .form textarea:focus, .form select:focus{
  outline: none;
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 15%, transparent);
}
.form button, .form [type="submit"]{
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.form button:hover, .form [type="submit"]:hover{
  filter: brightness(1.05);
}
