/* ══════════════════════════════════════════════════════
   Mythic Instruments — Main Stylesheet
   Palette: Navy #0D1B3E | Gold #C9A84C | White #FFFFFF
   ══════════════════════════════════════════════════════ */

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

:root {
  --navy: #0D1B3E;
  --navy-deep: #060D1F;
  --navy-mid: #162347;
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-muted: rgba(139,115,53,0.35);
  --white: #FFFFFF;
  --off-white: #FAF8F3;
  --text-dark: #1a1a2e;
  --text-muted: #6b6b8a;
  --border: rgba(139,115,53,0.2);
  --radius: 4px;
  --transition: 0.3s ease;
  --shadow: 0 8px 32px rgba(6,13,31,0.18);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', 'Source Serif 4', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* ── Containers ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-align: center;
}
.btn--full { width: 100%; }

.btn-gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn-gold-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--gold-light); border-color: rgba(232,213,163,0.5); }
.btn-outline-light:hover { background: rgba(201,168,76,0.15); border-color: var(--gold-light); color: var(--gold-light); }

/* ── Header / Nav ───────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: rgba(6, 13, 31, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.logo-text { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--white); letter-spacing: 0.08em; }
.logo-fallback { display: flex; align-items: center; }

.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orbs { position: absolute; inset: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #1a3a7a, transparent); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--gold), transparent); bottom: -100px; right: -50px; animation-delay: -7s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #0d2b6e, transparent); top: 40%; right: 20%; animation-delay: -14s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-geometry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: auto;
  animation: spin-slow 120s linear infinite;
}
@keyframes spin-slow { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 2rem 6rem;
  max-width: 900px;
}

.hero-logo-wrap { margin-bottom: 2rem; }
.hero-logo { width: min(420px, 80vw); height: auto; margin: 0 auto; filter: drop-shadow(0 0 40px rgba(201,168,76,0.6)); }

.hero-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--gold)); }
.scroll-text { font-family: 'Raleway', sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ── Section Dividers ───────────────────────────────── */
.section-divider { line-height: 0; margin: -1px 0; }
.section-divider svg { width: 100%; display: block; }
.section-divider--dark { background: var(--navy-deep); }
.section-divider--dark-to-light { background: var(--navy-deep); }
.section-divider--light { background: var(--white); }
.section-divider--gold-accent { background: var(--white); padding: 0; }
.gold-rule { border: none; border-top: 1px solid var(--gold-muted); margin: 0; }

/* ── Sections ───────────────────────────────────────── */
.section { padding: 6rem 0; position: relative; overflow: hidden; }
.section--dark { background: var(--navy); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-label { color: var(--gold); }
.section--dark p, .section--dark .section-intro { color: var(--gold-light); }

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--gold-light); }

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.section-title--light { color: var(--white); }

.section-intro {
  max-width: 600px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.section-intro--light { color: var(--gold-light); }

.section-cta { text-align: center; margin-top: 3rem; }

/* ── Philosophy Section ─────────────────────────────── */
.section--philosophy { background: var(--off-white); overflow: visible; }
.philosophy-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: center;
}
.philosophy-symbol { display: flex; justify-content: center; }
.sacred-symbol { width: 160px; height: 160px; animation: spin-slow 80s linear infinite reverse; }
.philosophy-text h2 { margin-bottom: 1rem; }
.philosophy-text p { color: var(--text-dark); line-height: 1.85; margin-bottom: 1.25rem; }
.philosophy-text .btn { margin-top: 0.5rem; }
.philosophy-geo-accent {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  opacity: 0.4;
  pointer-events: none;
}

/* ── Instrument Cards ───────────────────────────────── */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.instruments-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.instruments-grid--related { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.instrument-card {
  background: var(--navy);
  border: 1px solid var(--gold-muted);
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.instrument-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold), var(--shadow);
  border-color: rgba(201,168,76,0.5);
}

.card-image-link { display: block; position: relative; }
.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #fff;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.instrument-card:hover .card-image { transform: scale(1.05); }

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
}
.card-image-placeholder svg { width: 80px; height: 80px; opacity: 0.4; }

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,13,31,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.instrument-card:hover .card-overlay { opacity: 1; }
.card-view-btn {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold);
  transition: all var(--transition);
}
.card-view-btn:hover { background: var(--gold); color: var(--navy-deep); }

.card-status-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.card-status-badge--available { background: rgba(74,192,74,0.85); color: #fff; }
.card-status-badge--sold { background: rgba(180,40,40,0.85); color: #fff; }
.card-status-badge--reserved { background: rgba(200,140,30,0.85); color: #fff; }
.card-status-badge--inquire { background: rgba(70,100,200,0.85); color: #fff; }

.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-category {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--gold); }
.card-desc { font-size: 0.85rem; color: rgba(232,213,163,0.7); line-height: 1.6; margin-bottom: 1rem; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.card-price {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 500;
}
.card-status {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.card-status--available { background: rgba(74,192,74,0.15); color: #6fcf6f; }
.card-status--sold { background: rgba(180,40,40,0.15); color: #e07070; }
.card-status--reserved { background: rgba(200,140,30,0.15); color: #c9a84c; }
.card-link { font-family: 'Raleway', sans-serif; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; }
.card-link:hover { color: var(--gold-light); }

/* ── Pillars ────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}
.pillar { text-align: center; }
.pillar-icon { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.pillar-icon svg { width: 72px; height: 72px; }
.pillar h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; }
.pillar--dark h3 { color: var(--white); }
.pillar p { color: var(--gold-light); font-size: 0.95rem; line-height: 1.8; }
.pillar-latin { color: var(--gold); font-style: italic; }
.pillar-roman {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* ── CTA Band ───────────────────────────────────────── */
.section--cta-band { padding: 5rem 0; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-text h2 { font-size: 2rem; color: var(--white); margin-bottom: 0.5rem; }
.cta-band-text p { color: var(--gold-light); font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── Page Hero ──────────────────────────────────────── */
.page-hero {
  padding: 10rem 0 8rem;
  position: relative;
  overflow: hidden;
}
.page-hero--dark { background: var(--navy-deep); }
.page-hero--short { padding: 9rem 0 5rem; }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-geometry { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}
.page-hero-subtitle { color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic; max-width: 600px; line-height: 1.8; }

/* ── Catalog ────────────────────────────────────────── */
.section--catalog { background: var(--white); }
.catalog-filters {
  padding: 2rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 2rem;
}
.filter-form { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.filter-search { position: relative; flex: 1; min-width: 200px; }
.filter-input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition);
}
.filter-input:focus { outline: none; border-color: var(--gold); }
.filter-search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
}
.filter-search-btn svg { width: 16px; height: 16px; }
.filter-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.filter-cat-btn {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  color: var(--text-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-cat-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-cat-btn.active { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.filter-status { display: flex; align-items: center; gap: 0.5rem; }
.filter-label { font-family: 'Raleway', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.filter-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  background: var(--white);
  color: var(--text-dark);
}
.filter-select:focus { outline: none; border-color: var(--gold); }

.catalog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.catalog-count { font-family: 'Raleway', sans-serif; font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; }
.catalog-clear { font-family: 'Raleway', sans-serif; font-size: 0.8rem; color: var(--gold); text-decoration: underline; }
.catalog-clear:hover { color: var(--gold-light); }

.catalog-empty { text-align: center; padding: 6rem 2rem; color: var(--text-muted); }
.empty-icon { font-size: 4rem; opacity: 0.3; margin-bottom: 1rem; }
.catalog-empty h3 { font-family: 'Cinzel', serif; color: var(--navy); margin-bottom: 0.5rem; }

/* ── Instrument Detail ──────────────────────────────── */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.breadcrumb-nav a { font-size: 0.78rem; color: var(--text-muted); font-family: 'Raleway', sans-serif; }
.breadcrumb-nav a:hover { color: var(--gold); }
.breadcrumb-nav span[aria-hidden] { font-size: 0.78rem; color: var(--text-muted); }
.breadcrumb-current { font-size: 0.78rem; color: var(--text-dark); font-family: 'Raleway', sans-serif; font-weight: 600; }

.instrument-detail { padding: 6rem 0 6rem; }
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.gallery-main {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-deep);
  aspect-ratio: 4/3;
}
.gallery-main-img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-placeholder svg { width: 100px; height: 100px; opacity: 0.3; }
.gallery-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}
.gallery-status-badge--available { background: rgba(74,192,74,0.9); color: #fff; }
.gallery-status-badge--sold { background: rgba(180,40,40,0.9); color: #fff; }
.gallery-status-badge--reserved { background: rgba(200,140,30,0.9); color: #fff; }
.gallery-status-badge--inquire { background: rgba(70,100,200,0.9); color: #fff; }

.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  padding: 0;
  background: none;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-category {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.detail-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.detail-sku { font-family: 'Raleway', sans-serif; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.25rem; letter-spacing: 0.05em; }
.detail-price-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.detail-price {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 600;
}
.detail-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.detail-status--available { color: #4abf4a; }
.detail-status--available .status-dot { background: #4abf4a; box-shadow: 0 0 6px #4abf4a; }
.detail-status--sold { color: #c94040; }
.detail-status--sold .status-dot { background: #c94040; }
.detail-status--reserved { color: var(--gold); }
.detail-status--reserved .status-dot { background: var(--gold); }
.detail-short-desc { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.detail-inquiry-btn { margin-bottom: 2rem; }
.detail-sold-notice { font-size: 0.9rem; color: var(--text-muted); padding: 1rem; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 2rem; }
.detail-sold-notice a { color: var(--gold); }

.detail-specs { margin-top: 2rem; }
.specs-title { font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td { padding: 0.6rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.specs-table th { font-family: 'Raleway', sans-serif; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; width: 40%; }
.specs-table td { color: var(--text-dark); }

.detail-description { max-width: 1000px; margin: 0 auto; }
.description-divider { text-align: center; margin: 3rem 0; }
.divider-ornament { font-size: 1.2rem; color: var(--gold); letter-spacing: 0.5em; }
.description-cols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.description-main h2 { font-family: 'Cinzel', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 1.5rem; }
.description-body p { line-height: 1.85; margin-bottom: 1rem; color: var(--text-dark); }
.description-body .desc-bullet { padding-left: 0.5rem; color: var(--navy-mid); }

.philosophy-card {
  background: var(--navy);
  border: 1px solid var(--gold-muted);
  border-radius: 6px;
  padding: 2rem;
  position: relative;
}
.philosophy-card-icon { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.philosophy-card-icon svg { width: 48px; height: 48px; }
.philosophy-card h3 { font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.philosophy-card p { color: var(--gold-light); font-size: 0.9rem; line-height: 1.8; }
.philosophy-card--light { background: var(--off-white); border-color: var(--border); }
.philosophy-card--light h4 { font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.75rem; }
.philosophy-card--light p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }

.detail-related { margin-top: 4rem; }
.detail-related h2 { font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 2rem; }

/* ── About ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-image-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.about-image { width: 100%; height: 320px; object-fit: cover; object-position: top; }
.about-image-frame.no-img { min-height: 200px; background: var(--off-white); }
.about-image-caption { padding: 0.75rem 1rem; font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; font-style: italic; color: var(--text-muted); background: var(--off-white); border-top: 1px solid var(--border); }
.about-text-col h2 { font-size: 2rem; color: var(--navy); margin-bottom: 1rem; }
.about-lead { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--navy); margin-bottom: 1.5rem; line-height: 1.7; }
.about-text-col p { color: var(--text-dark); line-height: 1.85; margin-bottom: 1.25rem; }

.section--mission { background: var(--off-white); }
.mission-block { max-width: 800px; margin: 0 auto; text-align: center; }
.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.9;
  padding: 2.5rem 3rem;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  background: var(--white);
  margin-top: 1.5rem;
  position: relative;
}

.section--pythagoras { background: var(--white); }
.pythagoras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.pythagoras-text h2 { color: var(--navy); margin-bottom: 1.25rem; }
.pythagoras-text p { color: var(--text-dark); line-height: 1.85; margin-bottom: 1.25rem; }
.pythagoras-image-col { display: flex; flex-direction: column; gap: 1rem; }

/* ── Contact ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-intro { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-detail-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon { font-size: 1.2rem; color: var(--gold); min-width: 28px; }
.contact-detail-label { font-family: 'Raleway', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-detail-value { color: var(--text-dark); font-size: 0.95rem; }
.contact-detail-value a { color: var(--navy); }
.contact-detail-value a:hover { color: var(--gold); }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-family: 'Raleway', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.required { color: var(--gold); }
.form-input, .form-textarea, .form-select-pub {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--gold); }
.form-textarea { resize: vertical; }

.form-success {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.success-icon { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.form-success h3 { font-family: 'Cinzel', serif; color: var(--navy); margin-bottom: 0.75rem; }
.form-success p { color: var(--text-muted); margin-bottom: 2rem; }
.form-error-banner {
  background: rgba(180,40,40,0.1);
  border: 1px solid rgba(180,40,40,0.3);
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #c94040;
  font-size: 0.9rem;
}

/* ── FAQ ────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--navy);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 1.5rem; color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; }
.faq-answer ul { margin: 0.5rem 0 0 1.25rem; }
.faq-answer li { margin-bottom: 0.4rem; }
.faq-answer a { color: var(--gold); }
.faq-item.open .faq-answer { display: block; }

/* ── Variations ─────────────────────────────────────── */
.variations-selector { margin-bottom: 1.5rem; }
.variations-label { font-family: 'Raleway', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.variations-list { display: flex; flex-direction: column; gap: 0.5rem; }
.variation-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--white); cursor: pointer; text-align: left;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.variation-btn:hover:not(:disabled) { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.variation-btn.active { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.variation-btn--soldout { opacity: 0.5; cursor: not-allowed; }
.var-name { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }
.var-price { font-family: 'Cinzel', serif; color: var(--navy); font-size: 0.95rem; font-weight: 500; }
.var-stock { font-size: 0.72rem; font-family: 'Raleway', sans-serif; color: #4abf4a; letter-spacing: 0.05em; }
.var-soldout { font-size: 0.72rem; font-family: 'Raleway', sans-serif; color: #c94040; letter-spacing: 0.05em; }

/* ── Not Found ──────────────────────────────────────── */
.not-found { padding: 8rem 0; text-align: center; background: var(--navy-deep); min-height: 100vh; display: flex; align-items: center; }
.not-found h1 { font-family: 'Cinzel', serif; font-size: 2.5rem; color: var(--white); margin: 1.5rem 0 1rem; }
.not-found p { color: var(--gold-light); margin-bottom: 2.5rem; font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.not-found-symbol { margin: 0 auto 1rem; max-width: 200px; }
.not-found-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--gold-light); margin-top: 0; }
.footer-cosmos { line-height: 0; }
.footer-wave { width: 100%; display: block; transform: rotate(180deg); margin-top: -1px; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand {}
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; opacity: 0.85; }
.footer-tagline { font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-philosophy { font-size: 0.85rem; color: rgba(232,213,163,0.6); line-height: 1.8; max-width: 320px; }
.footer-nav h4, .footer-contact h4 { font-family: 'Cinzel', serif; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-nav a, .footer-contact a { display: block; color: rgba(232,213,163,0.7); font-size: 0.9rem; margin-bottom: 0.6rem; transition: color var(--transition); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-nav-wholesale { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid rgba(201,168,76,0.15); font-size: 0.78rem !important; color: rgba(232,213,163,0.45) !important; }
.footer-contact p { color: rgba(232,213,163,0.7); font-size: 0.9rem; margin-bottom: 0.6rem; }
.footer-divider { border-top: 1px solid var(--gold-muted); margin: 1rem 0; }
.footer-note { font-size: 0.8rem; color: rgba(232,213,163,0.5); font-style: italic; }
.footer-bottom {
  border-top: 1px solid rgba(139,115,53,0.2);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(232,213,163,0.45); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(232,213,163,0.45); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-symbol { display: none; }
  .about-grid, .pythagoras-grid { grid-template-columns: 1fr; }
  .description-cols { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; gap: 0; position: fixed; top: 80px; left: 0; right: 0; background: rgba(6,13,31,0.98); padding: 1rem 0; z-index: 999; border-top: 1px solid var(--gold-muted); }
  .main-nav.open { display: flex; }
  .nav-link { padding: 1rem 2rem; font-size: 0.85rem; text-align: center; }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }

  .hero-cta { flex-direction: column; align-items: center; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }
  .pillars-grid { gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .filter-form { flex-direction: column; }
  .instruments-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 4rem 0; }
  .hero-title { font-size: 2rem; }
  .page-hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .mission-quote { padding: 1.5rem; font-size: 1.05rem; }
  .instruments-grid { grid-template-columns: 1fr; }
}

/* ── Nav Cart Icon ──────────────────────────────────── */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  padding: 0 0.5rem;
  transition: color var(--transition);
  text-decoration: none;
  margin-left: 0.5rem;
}
.nav-cart:hover, .nav-cart.active { color: var(--gold); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -2px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.6rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Cart Toast ─────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold-muted);
  padding: 0.75rem 1.25rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 9999;
  max-width: 320px;
}
.cart-toast--visible { opacity: 1; transform: translateY(0); }

/* ── Variation Dropdown ─────────────────────────────── */
.variations-selector { margin-bottom: 1.25rem; }
.variations-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.variation-dropdown {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--white);
  border: 1px solid var(--gold-muted);
  color: var(--navy);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: var(--white);
  padding-right: 2.5rem;
}
.variation-dropdown option { background: var(--white); color: var(--navy); }
.variation-dropdown:focus { outline: none; border-color: var(--gold); }
#variation-actions { margin-top: 1rem; }
.detail-inquiry-link {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-inquiry-link:hover { color: var(--gold); }

/* ── Cart Page ──────────────────────────────────────── */
.section--cart { padding: 4rem 0 6rem; }
.cart-empty { text-align: center; padding: 5rem 2rem; }
.cart-empty .empty-icon { font-size: 3rem; opacity: 0.3; margin-bottom: 1rem; }
.cart-empty h3 { font-family: 'Cinzel', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 0.75rem; }
.cart-empty p { color: var(--text-muted); margin-bottom: 2rem; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}
.cart-col-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}
.cart-col-header h2 { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--navy); }
.cart-clear-btn {
  background: none;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
}
.cart-clear-btn:hover { color: var(--danger); }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img { width: 72px; height: 72px; overflow: hidden; border-radius: 3px; background: #f5f5f5; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-muted); background: var(--off-white); }
.cart-item-name { font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--navy); font-weight: 600; display: block; margin-bottom: 0.2rem; }
.cart-item-name:hover { color: var(--gold-dark); }
.cart-item-variation { font-size: 0.78rem; color: var(--text-muted); font-family: 'Raleway', sans-serif; }
.cart-item-price { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--navy); margin-top: 0.25rem; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 3px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-dark);
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.qty-value { font-family: 'Cinzel', serif; font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: var(--text-muted); line-height: 1;
  padding: 0.25rem;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--navy);
  border-top: 2px solid var(--navy);
  margin-top: 0.5rem;
}
.cart-total-note { font-size: 0.72rem; color: var(--text-muted); font-family: 'Raleway', sans-serif; margin-top: 0.5rem; }
.cart-form-col {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.cart-form-col h2 { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; }
.cart-form-intro { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; font-family: 'Raleway', sans-serif; }
.cart-form-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; font-family: 'Raleway', sans-serif; }
.form-optional { font-size: 0.72rem; color: var(--text-muted); font-weight: 400; font-style: italic; }
.cart-success-banner {
  background: #f0faf0; border: 1px solid #aaddaa; border-radius: 6px;
  padding: 1rem 1.5rem; margin-bottom: 2rem;
  font-family: 'Raleway', sans-serif; font-size: 0.9rem; color: #2a6a2a;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.cart-error-banner {
  background: #fff5f5; border: 1px solid #f5c6cb; border-radius: 6px;
  padding: 1rem 1.5rem; margin-bottom: 2rem;
  font-family: 'Raleway', sans-serif; font-size: 0.9rem; color: #a00;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-form-col { position: static; }
}

/* ── Wholesale Page ──────────────────────────────────── */
.wholesale-notice {
  background: var(--off-white); border: 1px solid var(--border);
  border-left: 4px solid var(--gold); border-radius: 4px;
  padding: 1rem 1.25rem; margin-bottom: 2.5rem;
  font-family: 'Raleway', sans-serif; font-size: 0.88rem; color: var(--text-dark);
}
.wholesale-notice a { color: var(--gold); text-decoration: underline; }

.wholesale-category { margin-bottom: 3rem; }
.wholesale-cat-title {
  font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase;
  padding-bottom: 0.5rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.wholesale-table {
  width: 100%; border-collapse: collapse; font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
}
.wholesale-table thead th {
  text-align: left; padding: 0.5rem 0.75rem;
  background: var(--navy); color: var(--gold-light);
  font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
}
.wholesale-table thead th.wt-order,
.wholesale-table thead th.wt-avail { text-align: center; }
.wholesale-table tbody tr { border-bottom: 1px solid rgba(139,115,53,0.1); }
.wholesale-table tbody tr:hover { background: rgba(201,168,76,0.03); }
.wholesale-table td { padding: 0.65rem 0.75rem; vertical-align: middle; color: var(--text-dark); }
.wt-img { width: 60px; padding: 0.4rem 0.5rem; }
.wt-thumb { width: 52px; height: 52px; object-fit: contain; border-radius: 2px; }
.wt-name-link { font-weight: 600; color: var(--navy); text-decoration: none; }
.wt-name-link:hover { color: var(--gold); }
.wt-sku-small { font-size: 0.72rem; color: var(--text-muted); font-family: monospace; margin-top: 0.15rem; }
.wt-retail { color: var(--text-muted); white-space: nowrap; }
.wt-wholesale--price { font-weight: 700; color: var(--navy); font-size: 1rem; white-space: nowrap; }
.wt-avail { text-align: center; }

/* Parent row for variable products */
.wt-row--parent { background: rgba(13,27,62,0.03); }
.wt-parent-label { padding: 0.6rem 0.75rem; }
.wt-parent-note { font-size: 0.75rem; color: var(--text-muted); margin-left: 0.5rem; font-style: italic; }

/* Variation sub-rows */
.wt-row--variation .wt-var-indent { padding-left: 1.5rem; }
.wt-var-name { font-weight: 500; color: var(--text-dark); }
.wt-var-name::before { content: '— '; color: var(--gold); }

/* Order column */
.wt-order { text-align: center; }
.wt-order-inner { display: flex; align-items: center; gap: 0.4rem; justify-content: center; flex-wrap: nowrap; }
.wt-qty-input {
  width: 56px; padding: 0.3rem 0.4rem; border: 1px solid var(--border);
  border-radius: 3px; font-size: 0.88rem; text-align: center;
  background: var(--white); color: var(--navy);
  font-family: 'Raleway', sans-serif;
}
.wt-qty-input:focus { outline: none; border-color: var(--gold); }
.btn-ws-add {
  padding: 0.35rem 0.8rem; background: var(--gold); color: var(--navy);
  border: none; border-radius: 3px; font-family: 'Cinzel', serif;
  font-size: 0.72rem; letter-spacing: 0.04em; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.btn-ws-add:hover { background: #b8922d; color: var(--white); }
.wt-min-note { font-size: 0.68rem; color: var(--text-muted); text-align: center; margin-top: 0.2rem; }

.wholesale-footer {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
  font-family: 'Raleway', sans-serif; font-size: 0.88rem; color: var(--text-muted);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.wholesale-footer a { color: var(--gold); }

/* Cart wholesale badge */
.cart-item--wholesale { border-left: 3px solid var(--gold); }
.cart-item-ws-badge {
  display: inline-block; font-size: 0.65rem; font-family: 'Cinzel', serif;
  letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600;
  background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
  border-radius: 3px; padding: 0.1rem 0.45rem; margin-left: 0.4rem; vertical-align: middle;
}
.cart-item-minqty { font-size: 0.72rem; color: var(--text-muted); margin-left: 0.35rem; }

@media (max-width: 768px) {
  .wholesale-table { font-size: 0.78rem; }
  .wt-retail { display: none; }
  .wt-order-inner { flex-direction: column; gap: 0.25rem; }
  .wholesale-footer { flex-direction: column; }
}
