/* ═══════════════════════════════════════════════════════════
   MIA PHOENIXX — Luxury Storefront CSS
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:          #050505;
  --bg2:         #0c0c0c;
  --bg3:         #141414;
  --bg4:         #1c1c1c;
  --gold:        #c9a84c;
  --gold-lt:     #e8c96b;
  --gold-dk:     #8a6f1e;
  --gold-grad:   linear-gradient(90deg, #8a6f1e, #c9a84c, #f0d878, #c9a84c, #8a6f1e);
  --pink:        #e91e8c;
  --pink-lt:     #ff4dab;
  --text:        #f0f0f0;
  --text2:       #999;
  --text3:       #555;
  --border:      #222;
  --border-gold: rgba(201,168,76,.25);
  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-elegant:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;
  --ease:        cubic-bezier(.25,.46,.45,.94);
  --ease-out:    cubic-bezier(0,.55,.45,1);
  --shadow-gold: 0 0 40px rgba(201,168,76,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); border-radius: 2px; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Navigation ──────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 48px;
  height: 110px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav.scrolled {
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 110px; width: auto; display: block; mix-blend-mode: screen; }
.footer-logo-img { height: 110px; width: auto; display: block; margin-bottom: 4px; mix-blend-mode: screen; }

.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text2);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn { font-size: .6rem; letter-spacing: .15em; color: var(--text3); padding: 4px 6px; border: 1px solid transparent; border-radius: 2px; transition: color .2s, border-color .2s; }
.lang-btn:hover { color: var(--gold); }
.lang-btn.active { color: var(--gold); border-color: var(--gold); }
.nav-cart {
  position: relative;
  color: var(--text2);
  transition: color .2s;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.nav-cart:hover { color: var(--gold); }
.cart-badge {
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: .6rem;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -8px; right: -10px;
}

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 22px;
}
.nav-burger span {
  display: block; height: 1px;
  background: var(--text);
  transition: .3s;
}

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

.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}

.hero-bg, .hero-grain, .hero-content { position: relative; z-index: 1; }

.hero-phoenix {
  width: 400px; height: auto;
  margin: 0 auto 16px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 20px rgba(201,168,76,.4));
  display: block;
}

@media (max-width: 768px) { .hero-phoenix { display: none; } }

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #120800 0%, #050505 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  opacity: .6;
}
#hero-canvas {
  position: absolute; top: 0; left: 0;
  width: 100%; /* height set by JS to cover hero + featured section */
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
}

.hero-pretitle {
  font-size: .65rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.hero-pretitle::before, .hero-pretitle::after {
  content: ''; display: block;
  width: 40px; height: 1px;
  background: var(--gold-dk);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .02em;
  margin-bottom: 12px;
  background: var(--gold-grad);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.hero-subtitle {
  font-family: var(--ff-elegant);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text2);
  letter-spacing: .08em;
  margin-bottom: 48px;
}

.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 36px;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  font-weight: 500;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: #000;
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.btn-outline-gold:hover {
  background: rgba(201,168,76,.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-pink {
  background: var(--pink);
  color: #fff;
}
.btn-pink:hover {
  background: var(--pink-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(233,30,140,.3);
}

.btn-full { width: 100%; }

/* ── Section layout ───────────────────────────────────────── */

section { padding: 100px 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 48px; }

.section-label {
  font-size: .6rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::after {
  content: ''; flex: 1 1 0;
  max-width: 60px; height: 1px;
  background: var(--gold-dk);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 48px;
}

.section-title em { font-style: italic; color: var(--gold); }

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  position: relative;
  background: var(--bg3);
  overflow: hidden;
  cursor: pointer;
}

.product-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg4);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.product-card-placeholder svg { opacity: .12; }

.product-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-overlay .btn { transform: translateY(10px); transition: all .4s var(--ease); }
.product-card:hover .product-card-overlay .btn { transform: translateY(0); }
.product-card:hover .product-card-overlay .btn:nth-child(2) { transition-delay: .05s; }

.product-card-info {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
}
.product-card-category {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
}
.product-card-name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.product-card-price { color: var(--gold); font-size: .9rem; font-weight: 500; }
.product-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--pink);
  color: #fff;
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 10px;
}

/* ── Featured strip ───────────────────────────────────────── */

.featured-section { background: transparent; }
.featured-section .product-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.featured-section .product-card { border: 1px solid var(--border); }
.featured-section .product-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-gold); }

/* ── Brand story ──────────────────────────────────────────── */

.brand-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.brand-text p {
  color: var(--text2);
  margin-bottom: 20px;
  font-size: .95rem;
  line-height: 1.9;
}
.brand-stat {
  display: flex; gap: 48px; margin-top: 40px;
}
.brand-stat-item { text-align: left; }
.brand-stat-num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.brand-stat-label { font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text3); }

.brand-img-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.brand-img-item {
  aspect-ratio: 3/4;
  background: var(--bg3);
  overflow: hidden;
  border: 1px solid var(--border);
}
.brand-img-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Materials section ────────────────────────────────────── */

.materials-section { background: var(--bg); }
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
}
.material-card {
  background: var(--bg3);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: border-color .3s, transform .3s var(--ease);
  text-align: center;
}
.material-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.material-swatches {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 20px;
}
.swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .2s;
  cursor: default;
  flex-shrink: 0;
}
.swatch:hover { transform: scale(1.3); }
.material-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  margin-bottom: 8px;
}
.material-desc { font-size: .8rem; color: var(--text2); line-height: 1.6; }
.material-price { font-size: .7rem; color: var(--gold); margin-top: 12px; letter-spacing: .1em; }

/* ── Custom order CTA ─────────────────────────────────────── */

.custom-cta-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.custom-cta-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
}
.custom-cta-inner .section-title { margin-bottom: 16px; }
.custom-cta-text { color: var(--text2); font-size: .95rem; margin-bottom: 32px; line-height: 1.8; }
.custom-cta-features {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.custom-cta-feature {
  display: flex; align-items: flex-start; gap: 12px;
}
.cta-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: .75rem;
}
.cta-feature-text { font-size: .8rem; color: var(--text2); line-height: 1.5; }
.cta-feature-text strong { color: var(--text); display: block; margin-bottom: 2px; }

.custom-cta-visual {
  width: 320px; flex-shrink: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.cta-swatch-block {
  aspect-ratio: 1;
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* ── Shop filters ─────────────────────────────────────────── */

.shop-hero {
  padding: 160px 0 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.filter-bar {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 72px; z-index: 10;
  background: rgba(5,5,5,.95);
  backdrop-filter: blur(8px);
}
.filter-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.filter-label { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text3); }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.filter-pill {
  padding: 6px 18px;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text2);
  cursor: pointer;
  transition: all .2s;
  background: transparent;
}
.filter-pill:hover, .filter-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.06);
}
.filter-search {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  font-size: .8rem;
  width: 200px;
  outline: none;
  transition: border-color .2s;
}
.filter-search:focus { border-color: var(--gold-dk); }

/* ── Product detail page ──────────────────────────────────── */

.product-detail { padding: 120px 0 80px; }
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}

.product-gallery-main {
  aspect-ratio: 3/4;
  background: var(--bg3);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
  display: flex; gap: 8px; margin-top: 12px;
}
.gallery-thumb {
  width: 72px; height: 96px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  opacity: .6; transition: opacity .2s, border-color .2s;
}
.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1; border-color: var(--gold);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { padding-top: 8px; }
.product-detail-category {
  font-size: .6rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.product-detail-name {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}
.product-detail-price {
  font-size: 1.6rem; color: var(--gold); font-weight: 500;
  margin-bottom: 28px;
}
.product-detail-desc {
  color: var(--text2);
  font-size: .9rem; line-height: 1.85;
  margin-bottom: 36px;
  white-space: pre-line;
}
.product-detail-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

.option-label {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 12px; display: block;
}
.option-label span { color: var(--gold); margin-left: 6px; }

.material-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.material-option {
  padding: 8px 18px;
  border: 1px solid var(--border);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text2); cursor: pointer;
  transition: all .2s; background: transparent;
}
.material-option:hover, .material-option.selected {
  border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.06);
}
.material-option.disabled { opacity: .3; cursor: not-allowed; }

.color-options { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.color-option {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid rgba(255,255,255,.1);
  cursor: pointer; transition: transform .2s, border-color .2s;
}
.color-option:hover { transform: scale(1.15); }
.color-option.selected { border-color: var(--gold); outline-color: var(--gold); }

.size-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.size-option {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  font-size: .75rem; letter-spacing: .05em;
  color: var(--text2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; background: transparent;
}
.size-option:hover, .size-option.selected {
  border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.06);
}
.size-option.out-of-stock {
  opacity: .3; cursor: not-allowed;
  text-decoration: line-through;
}

.stock-indicator {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; color: var(--text2);
  margin-bottom: 28px;
}
.stock-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
}
.stock-dot.low { background: #f59e0b; }
.stock-dot.out { background: #ef4444; }

.product-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.qty-ctrl {
  display: flex; align-items: center;
  border: 1px solid var(--border);
}
.qty-btn {
  width: 40px; height: 40px;
  color: var(--text);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.qty-btn:hover { color: var(--gold); }
.qty-input {
  width: 52px; height: 40px;
  border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  background: transparent; color: var(--text);
  text-align: center; font-size: .9rem;
  outline: none;
}

.lead-time {
  font-size: .72rem; color: var(--text3);
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px;
}

/* ── Custom Order Wizard ──────────────────────────────────── */

.custom-order-page { padding: 120px 0 80px; }

.wizard {
  max-width: 860px; margin: 0 auto;
}

.wizard-steps {
  display: flex; gap: 0;
  margin-bottom: 60px;
  border: 1px solid var(--border);
}
.wizard-step {
  flex: 1;
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
}
.wizard-step:last-child { border-right: none; }
.wizard-step-num {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--text3);
  margin-bottom: 4px;
}
.wizard-step-label { font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text3); }
.wizard-step.active .wizard-step-num { color: var(--gold); }
.wizard-step.active .wizard-step-label { color: var(--gold); }
.wizard-step.active { background: rgba(201,168,76,.04); }
.wizard-step.done .wizard-step-num { color: var(--text2); }
.wizard-step.done .wizard-step-num::before { content: '✓ '; font-size: 1rem; }

.wizard-panel { display: none; animation: fadeUp .35s var(--ease); }
.wizard-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wizard-panel-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.wizard-panel-sub { color: var(--text2); font-size: .85rem; margin-bottom: 36px; }

.product-type-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 40px;
}
.product-type-card {
  border: 1px solid var(--border);
  padding: 24px 16px; text-align: center;
  cursor: pointer; transition: all .25s;
  background: var(--bg3);
}
.product-type-card:hover, .product-type-card.selected {
  border-color: var(--gold); background: rgba(201,168,76,.06);
}
.product-type-card .icon {
  font-size: 2rem; margin-bottom: 12px;
  display: block;
}
.product-type-card .label {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text2);
}
.product-type-card.selected .label { color: var(--gold); }

.material-selector-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.material-selector-card {
  border: 1px solid var(--border);
  padding: 20px 20px 16px;
  cursor: pointer; transition: all .25s;
  background: var(--bg3);
}
.material-selector-card:hover, .material-selector-card.selected {
  border-color: var(--gold); background: rgba(201,168,76,.05);
}
.msc-name {
  font-family: var(--ff-display);
  font-size: 1.05rem; margin-bottom: 4px;
}
.msc-desc { font-size: .75rem; color: var(--text2); line-height: 1.5; margin-bottom: 12px; }
.msc-price { font-size: .68rem; color: var(--gold); letter-spacing: .1em; }

.color-selector-grid {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.color-selector-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer;
}
.color-selector-swatch {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid rgba(255,255,255,.1);
  transition: transform .2s, border-color .2s;
}
.color-selector-item:hover .color-selector-swatch { transform: scale(1.1); }
.color-selector-item.selected .color-selector-swatch { border-color: var(--gold); outline-color: var(--gold); }
.color-selector-name { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); }
.color-selector-item.selected .color-selector-name { color: var(--gold); }
.color-selector-item.out-of-stock { opacity: .3; pointer-events: none; }

.upload-zone {
  border: 1px dashed var(--border);
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  margin-bottom: 24px;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--gold); }
.upload-zone-icon { font-size: 2rem; margin-bottom: 12px; color: var(--text3); }
.upload-zone-text { font-size: .8rem; color: var(--text2); }

.wizard-notes {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px;
  font-size: .85rem;
  resize: vertical;
  min-height: 120px;
  outline: none;
  transition: border-color .2s;
}
.wizard-notes:focus { border-color: var(--gold-dk); }

.price-estimate {
  background: var(--bg3);
  border: 1px solid var(--border-gold);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.price-estimate-row {
  display: flex; justify-content: space-between;
  font-size: .85rem; margin-bottom: 8px;
  color: var(--text2);
}
.price-estimate-row.total {
  border-top: 1px solid var(--border);
  padding-top: 12px; margin-top: 8px;
  font-size: 1rem; color: var(--text);
  font-weight: 500;
}
.price-estimate-row.total span:last-child { color: var(--gold); }

.wizard-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ── Cart ─────────────────────────────────────────────────── */

.cart-page { padding: 120px 0 80px; }
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }

.cart-items { display: flex; flex-direction: column; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 20px; align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 80px; height: 108px;
  background: var(--bg3);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--ff-display); font-size: 1rem; margin-bottom: 6px; }
.cart-item-meta { font-size: .72rem; color: var(--text2); line-height: 1.8; }
.cart-item-price { color: var(--gold); font-size: .95rem; font-weight: 500; text-align: right; }
.cart-item-remove {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text3); margin-top: 8px; cursor: pointer; transition: color .2s;
}
.cart-item-remove:hover { color: #ef4444; }
.cart-empty { text-align: center; padding: 80px 0; color: var(--text2); }
.cart-empty h2 { font-family: var(--ff-display); font-size: 2rem; margin-bottom: 16px; font-weight: 400; }

.cart-summary {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 32px;
  position: sticky; top: 96px;
}
.cart-summary-title {
  font-family: var(--ff-display);
  font-size: 1.2rem; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: .85rem; margin-bottom: 12px;
  color: var(--text2);
}
.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 16px; margin-top: 8px;
  font-size: 1.05rem; color: var(--text);
  font-weight: 500;
}
.summary-row.total span:last-child { color: var(--gold); }
.summary-note { font-size: .7rem; color: var(--text3); margin-top: 12px; line-height: 1.6; }

/* ── Checkout ─────────────────────────────────────────────── */

.checkout-page { padding: 120px 0 80px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start; }

.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 10px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  font-size: .88rem;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-dk);
}
.form-input::placeholder { color: var(--text3); }
.form-select option { background: var(--bg3); }
.form-textarea { resize: vertical; min-height: 100px; }

.checkout-section-title {
  font-family: var(--ff-display);
  font-size: 1.2rem; font-weight: 400;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.payment-info {
  background: rgba(201,168,76,.04);
  border: 1px solid var(--border-gold);
  padding: 20px;
  margin-bottom: 24px;
}
.payment-info p { font-size: .82rem; color: var(--text2); line-height: 1.7; }
.payment-info strong { color: var(--gold); }

/* ── Order success ────────────────────────────────────────── */

.success-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 48px;
  text-align: center;
}
.success-icon {
  width: 72px; height: 72px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  font-size: 1.8rem; color: var(--gold);
}
.success-title { font-family: var(--ff-display); font-size: 2.5rem; margin-bottom: 16px; font-weight: 400; }
.success-order { color: var(--gold); font-size: 1rem; letter-spacing: .1em; margin-bottom: 24px; }
.success-text { color: var(--text2); max-width: 480px; margin: 0 auto 40px; line-height: 1.8; }
.success-note {
  background: var(--bg3); border: 1px solid var(--border);
  padding: 20px 28px; text-align: left; max-width: 480px; margin: 0 auto 40px;
}
.success-note p { font-size: .82rem; color: var(--text2); line-height: 1.7; }
.success-note strong { color: var(--gold); display: block; margin-bottom: 6px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }

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

.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.3rem; color: var(--gold);
  margin-bottom: 16px;
}
.footer-tagline { font-size: .8rem; color: var(--text2); line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); font-size: .75rem;
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-size: .6rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: .82rem; color: var(--text2); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: .7rem; color: var(--text3); }
.footer-credit { font-size: .7rem; color: var(--text3); }

/* ── Toast notification ───────────────────────────────────── */

#toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast-item {
  background: var(--bg4);
  border: 1px solid var(--border-gold);
  padding: 14px 20px;
  font-size: .82rem;
  min-width: 240px;
  transform: translateX(120%);
  transition: transform .35s var(--ease-out);
  pointer-events: all;
}
.toast-item.show { transform: translateX(0); }
.toast-item.success { border-left: 3px solid #22c55e; }
.toast-item.error { border-left: 3px solid #ef4444; }
.toast-item.info { border-left: 3px solid var(--gold); }

/* ── Animations ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Mobile nav ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(5,5,5,.98);
    padding: 40px 24px;
    border-bottom: 1px solid var(--border);
    gap: 24px;
  }
  .container { padding: 0 24px; }
  .container-sm { padding: 0 24px; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .cart-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .brand-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .custom-cta-inner { grid-template-columns: 1fr; }
  .custom-cta-visual { display: none; }
  section { padding: 64px 0; }
  .product-type-grid { grid-template-columns: repeat(2, 1fr); }
  .material-selector-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-stat { gap: 24px; flex-wrap: wrap; }
}
