/*
Theme Name: FundedBadge
Theme URI: https://fundedbadge.com
Author: Mateusz
Description: Premium funded trader plaque e-commerce theme with WooCommerce integration.
Version: 2.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: fundedbadge
*/
/* ===== CSS VARIABLES ===== */
:root {
  --black: #080808;
  --dark: #0f0f0f;
  --card: #141414;
  --border: #1e1e1e;
  --gold: #C9A84C;
  --gold-light: #e2c46a;
  --gold-pale: rgba(201,168,76,0.12);
  --white: #F7F3EC;
  --grey: #888;
  --grey-dark: #707070;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
  --radius: 4px;
  --transition: 0.3s ease;
  --glow: 0 0 40px rgba(201,168,76,0.15);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  /* Tabular lining figures: numbers always occupy equal width so
     prices and counts don't shift layout when digits change */
  font-variant-numeric: tabular-nums lining-nums;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===== SELECTION ===== */
::selection { background: var(--gold); color: var(--black); }

/* ===== UTILITY ===== */
.container {max-width: 1200px;margin: 0 auto;padding: 0 24px;}
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.gold { color: var(--gold); }
.italic { font-style: italic; }
.text-center { text-align: center; }

/* ===== GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='https://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8,8,8,0.97);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-signin {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
  padding: 8px 0;
}
.btn-signin:hover { color: var(--white); }
.btn-cart {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.cart-count {
  position: absolute;
  top: -2px; right: -4px;
  width: 16px; height: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.btn-menu {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--white);
}
.btn-menu span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 85vw);
  background: #0d0d0d;
  border-left: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 72px 28px 40px;
  gap: 6px;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateX(0); }
/* Dark overlay behind the drawer */
.mobile-menu::before {
  content: '';
  position: fixed;
  inset: 0;
  right: min(300px, 85vw);
  background: rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.open::before { opacity: 1; }
.mobile-menu a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover, .mobile-menu a.nav-active { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 1.2rem;
  color: var(--grey);
  cursor: pointer;
  background: none; border: none;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-close:hover { color: var(--gold); border-color: var(--gold); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { box-shadow: 0 0 32px rgba(201,168,76,0.4); }
.btn-primary span { position: relative; z-index: 1; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== HERO ===== */
#hero {
  height: 100vh;  /* Fallback for older browsers */
  min-height: calc(100dvh - 72px);
  height: 100dvh;  /* Modern browsers: dynamic height accounting for UI */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  height: 100%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 40px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2vh;
  margin-top: 1vh;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--grey);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-stat {
  display: flex;
  gap: 40px;
  margin-top: 4vh;
  padding-top: 5vh;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plaque-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.plaque-main {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), var(--glow);
  position: relative;
  z-index: 0;
}
.template-photo {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  border: 2px dashed #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 6px;
  position: relative;
}
.template-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  text-align: center;
  padding: 0 20px;
}
.template-icon {
  width: 48px; height: 48px;
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
}
/* Plaque frame effect */
.plaque-frame {
  position: absolute;
  inset: -3px;
  border: 3px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #7a5f1e, var(--gold)) border-box;
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.floating-badge {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floating-badge.badge-1 { top: 10%; left: -20%; animation-delay: 0s; }
.floating-badge.badge-2 { bottom: 15%; right: -18%; animation-delay: 2s; }
.badge-icon { font-size: 1.4rem; }
.badge-text strong { display: block; font-weight: 500; font-size: 0.8rem; }
.badge-text small { color: var(--grey); font-size: 0.7rem; }

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 20px;
}
.marquee-track { display: flex; gap: 0;}
.marquee-inner {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  padding-right: 64px;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.firm-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-dark);
  transition: color var(--transition);
  text-transform: uppercase;
}
.firm-logo:hover { color: var(--gold); }

/* ===== HOW IT WORKS ===== */
#home { background: var(--dark); }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 540px;
  margin: 0 auto 60px;
  line-height: 1.8;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
}
.step-card {
  background: var(--card);
  padding: 48px 36px;
  position: relative;
  transition: background var(--transition);
}
.step-card:hover { background: #181818; }
.step-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.step-card:hover .step-num { color: rgba(201,168,76,0.25); }
.step-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-desc { font-size: 0.92rem; color: var(--grey); line-height: 1.7; }
.step-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  z-index: 2;
  font-size: 1.2rem;
}
.step-card:last-child .step-arrow { display: none; }

.hiw-cta { text-align: center; }

#how-it-works { background: var(--black); height: 100vh; height: 100dvh; padding: 0; align-content: center;}

/* ===== SHOP / PRODUCTS ===== */
#shop { background: var(--black); height: 100vh; height: 100dvh; padding: 0; align-content: center;}
.products-grid {
  display: flex;
  gap: 30px;
  gap: 0px;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  margin-left: calc(100%/14);
  margin-right: calc(100%/14);
}
#shop > div { max-width: 90% }
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  margin-bottom: 10px;
  scroll-snap-align: center;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: 10px;
}

.product-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow);
}
.product-card.featured { border-color: var(--gold); }
.product-badge-wrap { position: relative; }
.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}
.product-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: #1c1c1c;
  border: 2px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.product-img-label {
  font-size: 1rem;
  color: #444;
  text-align: center;
  letter-spacing: 0.08em;
  padding: 0 16px;
  line-height: 1.5;
}
.product-img-icon {
  color: #333;
  font-size: 4rem;
}
.product-info { padding: 20px 20px 24px; }
.product-size {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-desc { font-size: 0.9rem; color: var(--grey); margin-bottom: 16px; line-height: 1.6; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}
.product-price span { font-size: 0.75rem; color: var(--grey); font-family: var(--font-body); }
.btn-add {
  padding: 8px 18px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-add:hover { background: var(--gold-light); box-shadow: 0 0 16px rgba(201,168,76,0.3); }

/* Shopify placeholder notice */
.shopify-notice {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 20px 28px;
  font-size: 0.82rem;
  color: var(--grey);
  text-align: center;
  margin-top: 12px;
}
.shopify-notice strong { color: var(--gold); }

/* ===== UPLOAD SECTION ===== */
#upload { background: var(--dark); display: none;}        /*DISPLAY DISABLED*/
.upload-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.upload-visual { position: relative; }
.upload-zone {
  border: 2px dashed rgba(201,168,76,0.3);
  border-radius: 12px;
  background: rgba(201,168,76,0.03);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201,168,76,0.06), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.upload-zone:hover { border-color: var(--gold); }
.upload-zone:hover::before { opacity: 1; }
.upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.upload-icon { font-size: 3.5rem; margin-bottom: 16px; display: block; }
.upload-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 8px; }
.upload-hint { font-size: 1rem; color: var(--grey); margin-bottom: 20px; }
.upload-formats {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.format-tag {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}
#file-input { display: none; }
.upload-preview {
  margin-top: 16px;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--card);
  border-radius: 6px;
  border: 1px solid rgba(201,168,76,0.2);
}
.upload-preview.visible { display: flex; }
.preview-name { font-size: 0.82rem; flex: 1; }
.preview-remove {
  color: var(--grey);
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.preview-remove:hover { color: #e05; }

.size-selector { margin: 32px 0; }
.size-label { font-size: 0.88rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  background: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.size-btn:hover { border-color: var(--gold); color: var(--white); }
.size-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.format-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  background: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  margin-bottom: 12px;
}
.format-btn:hover { border-color: var(--gold); color: var(--white); }
.format-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.material-selector { margin-bottom: 32px; }
.material-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.material-btn {
  padding: 14px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.material-btn:hover { border-color: var(--gold); }
.material-btn.active { border-color: var(--gold); background: var(--gold-pale); }
.material-icon { font-size: 1.4rem; display: block; margin-bottom: 4px; }
.material-name { font-size: 0.90rem; font-weight: 500; color: var(--white); display: block; }
.material-price { font-size: 0.65rem; color: var(--gold); display: block; margin-top: 2px; }

.order-summary {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--card);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.90rem;
  padding: 6px 0;
  color: var(--grey);
}
.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  color: var(--white);
  font-weight: 500;
  font-size: 1.3rem;
}
.summary-row.total span:last-child { color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; }

/* ===== WHY PROPPROOF ===== */
#why { background: var(--black)}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.feature-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { border-color: rgba(201,168,76,0.2); }
.feature-ico { font-size: 2rem; margin-bottom: 20px; display: block; }
.feature-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.feature-desc { font-size: 1rem; color: var(--grey); line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--dark); display: none;}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all var(--transition);
}
.review-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-3px); }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { font-size: 0.92rem; color: var(--grey); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
}
.reviewer-name { font-size: 0.82rem; font-weight: 500; }
.reviewer-firm { font-size: 0.78rem; color: var(--grey); }

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 243, 236, 0.4);
  opacity: 1;
}

.combined-viewport-container {
  min-height: 100vh; 
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin-bottom: 10vh;
  /* No padding here, let the sections handle internal spacing */
}

#faq, #contact {
  flex: 1; /* Each takes 50% height */
  display: flex;
  align-items: center; /* Vertically centers the .container inside the 50% height */
  width: 100%;
}

#faq .container, 
#contact .container {
  /* This ensures the content matches your 1200px max-width defined in your utility classes */
  width: 100%; 
}

/* ===== FAQ ===== */
#faq { background: var(--black); padding-top: 20px; height: auto; min-height: min-content;}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.faq-aside p { color: var(--grey); font-size: 1rem; line-height: 1.8; margin-bottom: 24px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
  gap: 16px;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 0.75rem;
  color: var(--grey);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: rotate(45deg);
}
.faq-a {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.8;
  padding-bottom: 20px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ===== CONTACT ===== */
#contact { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}



.contact-info p { font-size: 0.92rem; color: var(--grey); line-height: 1.8; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-detail-text span { font-size: 0.85rem; color: var(--grey); }


.contact-form .form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.88rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: rgba(201,168,76,0.5); }
.form-control::placeholder { color: #444; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; }

/* ===== NEWSLETTER BANNER ===== */
.newsletter-banner {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  margin: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.newsletter-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.06), transparent 70%);
}
.newsletter-title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin-bottom: 8px; }
.newsletter-sub { font-size: 0.88rem; color: var(--grey); margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.88rem;
  outline: none;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: #555; }
.newsletter-form input:focus { border-color: var(--gold); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 24px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {font-size: 0.9rem;color: var(--grey);line-height: 1.8;max-width: 240px;margin-bottom: 20px;}
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--grey);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.icon {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 0.84rem;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--grey-dark);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--grey-dark); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10000;

  display: none;              /* 🔥 KEY FIX */
  align-items: center;
  justify-content: center;

  padding: 24px;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  display: flex;              /* 🔥 only active when open */
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition);
  padding-left: 15px;
  padding-right: 15px;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-lg { max-width: 1100px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.modal-close {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
  background: none;
}
.modal-close:hover { border-color: var(--gold); color: var(--white); }
.modal-body { padding: 28px; }
.modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.modal-tab {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  font-family: var(--font-body);
}
.modal-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; padding: 28px; }
.tab-content.active { display: block; }
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 0.72rem;
  color: var(--grey);
}
.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  background: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.btn-google:hover { border-color: var(--gold); }
.modal-legal { padding: 4px 0 0; }
.modal-legal p { font-size: 1rem; color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.modal-legal h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; color: var(--white); }
.modal-legal ul { padding-left: 18px; color: var(--grey); font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.modal-legal ul li { margin-bottom: 6px; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--card);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  z-index: 20000;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.2rem; }

/* ===== FADE IN ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
  border: none;
}
.back-top.visible { opacity: 1; }
.back-top:hover { transform: translateY(-3px); }

/* ====================================================== SHOP ============================================= */

  /* ===== SHOP PAGE EXTRAS ===== */

  /* Particle canvas */
  #shop-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
  }

  /* Shop hero banner */
  .shop-hero {
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
    z-index: 1;
  }
  .shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .shop-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeSlideUp 0.7s ease forwards 0.1s;
  }
  .shop-hero-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    animation: pulse 2s infinite;
  }
  .shop-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeSlideUp 0.7s ease forwards 0.25s;
  }
  .shop-hero p {
    color: var(--grey);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeSlideUp 0.7s ease forwards 0.4s;
  }
  .shop-trust-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 0.7s ease forwards 0.55s;
  }
  .shop-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--grey);
  }
  .shop-trust-item span:first-child { font-size: 1rem; }

  /* Filter bar */
  .filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 48px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }
  .filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--grey);
    border-radius: 100px;
    padding: 8px 22px;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
  }
  .filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
  }
  .filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 16px rgba(201,168,76,0.35);
  }

  /* Product card shimmer effect */
  .product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
    margin-right: 5px;
    margin-left: 5px;
  }
  .product-card::before {
    content: '';
    position: absolute;
    top: -70%;
    left: -70%;
    width: 40%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(201,168,76,0.12) 50%, transparent 60%);
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
  }
  .product-card:hover::before {
    left: 130%;
  }
  .product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.2), 0 0 30px rgba(201,168,76,0.08);
  }
  .product-card.featured:hover {
    box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.4), 0 0 40px rgba(201,168,76,0.15);
  }

  /* Card reveal animation */
  .product-card {
    opacity: 0;
    transform: translateY(30px);
  }
  .product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    flex-basis: 320px;
    width: 320px;
    flex-shrink: 0;
  }
  .product-card.visible:hover {
    transform: translateY(-8px) scale(1.01);
    flex-shrink: 0;
  }

  /* Price shimmer */
  .product-price {
    position: relative;
    display: inline-block;
  }
  .product-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
  }
  .product-card:hover .product-price::after {
    width: 100%;
  }

  /* Add to cart button pulse on hover */
  .btn-add {
    position: relative;
    overflow: hidden;
  }
  .btn-add::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(201,168,76,0.5);
    transition: box-shadow 0.3s ease;
  }
  .btn-add:hover::after {
    box-shadow: 0 0 0 6px rgba(201,168,76,0);
    animation: cartPulse 0.6s ease;
  }
  @keyframes cartPulse {
    0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(201,168,76,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
  }

  /* Gold glow divider */
  .shop-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 0px;
  }

  /* Upload section - shop page enhanced */
  #upload {
    position: relative;
    z-index: 1;
  }
  .upload-zone {
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  }
  .upload-zone:hover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.04);
    box-shadow: 0 0 24px rgba(201,168,76,0.1);
  }

  /* Floating gold orbs */
  .gold-orb {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat linear infinite;
  }
  @keyframes orbFloat {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
    33%  { transform: translateY(-40px) translateX(20px) scale(1.05); opacity: 0.4; }
    66%  { transform: translateY(-15px) translateX(-15px) scale(0.97); opacity: 0.7; }
    100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
  }

  /* Products section z-index */
  #shop { position: relative; z-index: 1; }
  .products-grid { position: relative; z-index: 1; }

  /* Breadcrumb */
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--grey);
    margin-bottom: 0;
    justify-content: center;
    opacity: 0;
    animation: fadeSlideUp 0.5s ease forwards 0.05s;
  }
  .breadcrumb a { color: var(--grey); text-decoration: none; transition: color 0.2s; }
  .breadcrumb a:hover { color: var(--gold); }
  .breadcrumb span { color: var(--border); }

  /* Scroll-reveal for upload section */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.23,1,0.32,1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Section label accent */
  .section-accent {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
  }

  @keyframes fadeSlideUp {
    from { opacity:0; transform: translateY(18px); }
    to   { opacity:1; transform: translateY(0); }
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 6px var(--gold); }
    50%       { box-shadow: 0 0 14px var(--gold); }
  }

  /* Filter hidden products */
  .product-card.hidden-by-filter {
    display: none;
  }

/* ============================================================
   FAN WIZARD – INLINE STYLES
   ============================================================ */

/* ── Wizard section wrapper ── */
#shop-wizard {
  position: relative;
  padding: 0 0 120px;
  z-index: 1;
}

/* ── Step progress indicator ── */
.step-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
  margin-top: 52px;
  position: relative;
}
.step-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  cursor: default;
}
.step-nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 13px;
  left: calc(50% + 13px);
  width: calc(100% - 0px);
  height: 1px;
  background: #222;
  z-index: 0;
}
.step-nav-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #868686;
  background: #111;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}
.step-nav-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #838383;
  transition: color 0.4s ease;
  white-space: nowrap;
}
.step-nav-connector {
  width: 100px;
  height: 2px;
  background: #1e1e1e;
  margin-top: 12px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.step-nav-connector-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 1s cubic-bezier(0.77, 0, 0.175, 1);
}
.step-nav-item.completed .step-nav-dot,
.step-nav-item.active .step-nav-dot {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 0 14px rgba(201,168,76,0.4);
}
.step-nav-item.completed .step-nav-label,
.step-nav-item.active .step-nav-label {
  color: var(--gold);
}
.step-nav-item.completed .step-nav-dot {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  box-shadow: none;
}

/* ── Fan Viewport ── */
#fan-viewport {
  position: relative;
  overflow: hidden;
  transition: height 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  border-radius: 20px;
  background-color: transparent;
}

/* ── Individual panels ── */
.fan-panel {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  border-radius: 20px;
  background: #111213;
  border: 1px solid rgba(201,168,76, 0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
  will-change: transform, opacity;
  /* Default: hidden to the right */
  transform: translateX(110%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.75s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.55s ease,
    box-shadow 0.4s ease;
}

/* 3‑D perspective container for tilt */
.fan-panel-perspective {
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

/* States */
.fan-panel.state-active {
  transform: translateX(0) scale(1) rotateX(0deg) rotateY(0deg);
  opacity: 1;
  pointer-events: all;
  z-index: 10;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 40px rgba(201,168,76,0.06), 0 0 0 1px rgba(201,168,76,0.12);
  height: 100%;
  min-height: 100%;
}
.fan-panel.state-prev-1 {
  transform: translateX(-88%) scale(0.97);
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
  z-index: 6;
}
.fan-panel.state-prev-2 {
  transform: translateX(-93%) scale(0.94);
  opacity: 0.8;
  pointer-events: none;
  z-index: 5;
}
.fan-panel.state-prev-3 {
  transform: translateX(-97%) scale(0.91);
  opacity: 0.5;
  pointer-events: none;
  z-index: 4;
}
.fan-panel.state-next {
  transform: translateX(110%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  height: 100%;
  min-height: 100%;
}

/* Peek overlay on prev panels */
.fan-panel.state-prev-1::after,
.fan-panel.state-prev-2::after,
.fan-panel.state-prev-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,8,8, 0.55);
  border-radius: 20px;
  pointer-events: none;
  z-index: 20;
}

/* ── Gold corner lights ── */
.corner-light {
  position: absolute;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fan-panel.state-active .corner-light { opacity: 1; }
.corner-tl { top: 0; left: 0;
  background: radial-gradient(circle at 0% 0%, rgba(201,168,76,0.1) 0%, transparent 70%); }
.corner-tr { top: 0; right: 0;
  background: radial-gradient(circle at 100% 0%, rgba(201,168,76,0.1) 0%, transparent 70%); }
.corner-bl { bottom: 0; left: 0;
  background: radial-gradient(circle at 0% 100%, rgba(201,168,76,0.1) 0%, transparent 70%); }
.corner-br { bottom: 0; right: 0;
  background: radial-gradient(circle at 100% 100%, rgba(201,168,76,0.1) 0%, transparent 70%); }

/* Peek strip (right edge of prev panels) */
.panel-peek-strip {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-left: 1px solid rgba(201,168,76,0.1);
  pointer-events: none;
  z-index: 25;
  opacity: 0;
  transition: opacity 0.4s ease 0.15s;
}
.fan-panel.state-prev-1 .panel-peek-strip { opacity: 1; }
.fan-panel.state-prev-2 .panel-peek-strip { opacity: 0.6; }
.peek-step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: rgba(201,168,76,0.5);
  line-height: 1;
}
.peek-step-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.4);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.peek-back-hint {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.3);
  margin-top: 8px;
}

/* ── Panel inner content ── */
.panel-inner {
  padding: 52px 56px 56px;
  position: relative;
  z-index: 2;
}
.panel-header { margin-bottom: 10px; }
.panel-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.panel-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.panel-title em { font-style: italic; color: var(--gold); }
.panel-sub {
  font-size: 0.94rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}

/* ── Back button ── */
.wiz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px solid #222;
  border-radius: 100px;
  padding: 7px 16px;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
  transition: all 0.25s;
  margin-bottom: 28px;
}
.wiz-back-btn:hover {
  border-color: rgba(201,168,76,0.4);
  color: var(--gold);
}
.wiz-back-btn svg { transition: transform 0.25s; }
.wiz-back-btn:hover svg { transform: translateX(-3px); }

/* ── STEP 1: Shape selector ── */
.shape-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.shape-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--white);
  text-align: left;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.shape-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(201,168,76,0.08);
}
.shape-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201,168,76,0.15), 0 20px 50px rgba(0,0,0,0.5);
}
.shape-card-img {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.shape-card-img img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.7);
}
.shape-card:hover .shape-card-img img { transform: scale(1.05); }
.shape-card-body {
  padding: 24px 26px 28px;
}
.shape-card-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.shape-card-desc {
  font-size: 0.94rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 14px;
}
.shape-card-from {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.shape-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 100px;
  color: var(--gold);
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(4px);
}
.shape-card-choose {
  position: absolute;
  bottom: 28px; right: 26px;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  transition: color 0.25s, transform 0.25s;
  display: flex; align-items: center; gap: 5px;
}
.shape-card:hover .shape-card-choose {
  color: var(--gold);
  transform: translateX(3px);
}

/* ── STEP 2: Size selector ── */
.size-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.size-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--white);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.size-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateX(4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 16px rgba(201,168,76,0.06);
}
.size-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201,168,76,0.12), 0 12px 40px rgba(0,0,0,0.4);
}
.size-card-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  align-self: stretch;
}
.size-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: transform 0.5s ease;
}
.size-card:hover .size-card-thumb img { transform: scale(1.07); }
.size-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.size-card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.size-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2px 0 3px;
}
.size-card-dim {
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.08em;
}
.size-card-desc {
  font-size: 0.8rem;
  color: #696969;
  line-height: 1.6;
  margin-top: 3px;
}
.size-card-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 16px;
}
.size-card-price span { font-size: 0.72rem; color: var(--grey); font-family: var(--font-body); margin-left: 3px; }
.size-card-popular {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 100px;
  color: var(--gold);
  background: rgba(8,8,8,0.8);
}

/* ── STEP 3: Upload ── */
.upload-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.upload-zone {
  border: 1.5px dashed rgba(201,168,76,0.25);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(201,168,76,0.02);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: rgba(201,168,76,0.6);
  background: rgba(201,168,76,0.05);
}
.upload-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.upload-title { font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; }
.upload-hint { font-size: 0.9rem; color: var(--grey); margin-bottom: 14px; }
.upload-formats { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.format-tag {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: #555;
}
#file-input-wiz { display: none; }
.upload-preview-bar {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  font-size: 0.82rem;
}
.upload-preview-bar.visible { display: flex; }
.preview-remove-btn {
  margin-left: auto;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  font-family: var(--font-body);
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 3px 9px;
  transition: all 0.2s;
}
.preview-remove-btn:hover { border-color: #c0392b; color: #c0392b; }
.cert-preview-box {
  margin-top: 14px;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
}
.cert-preview-header {
  padding: 8px 14px;
  background: #1f1f1f;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7e7e7;
}

.cert-preview-area {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(8, 8, 8, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cert-preview-area img { width: 100%; height: 100%; object-fit: scale-down; }
.cert-placeholder-icon { font-size: 2rem; color: #2222227a; }
.cert-placeholder-text { font-size: 1.4rem; color: #3d3d3d; letter-spacing: 0.08em; text-align: center; line-height: 1.6; }

.upload-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.upload-info-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.upload-info-desc {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.8;
}
.upload-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.upload-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: #666;
  line-height: 1.6;
}
.upload-checklist li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.7;
}
.upload-continue-wrap { margin-top: 8px; }
.upload-continue-btn {
  width: 100%;
  padding: 16px 24px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.upload-continue-btn:disabled {
  background: #1e1e1e;
  color: #3a3a3a;
  cursor: not-allowed;
}
.upload-continue-btn:not(:disabled):hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
  transform: translateY(-1px);
}
.upload-note { font-size: 0.78rem; color: #444; text-align: center; margin-top: 10px; line-height: 1.5; }

/* ── STEP 4: Review ── */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  align-items: start;
}
.review-summary {
  background: rgba(48, 48, 48, 0.226);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  grid-row: 1;
  grid-column: 2;
}
.review-summary-header {
  padding: 16px 24px;
  background: #1f1f1f;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e7e7e7;
}
.review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #141414;
  font-size: 0.9rem;
}
.review-row:last-child { border-bottom: none; }
.review-row-label { color: var(--grey); font-size: 0.9rem; }
.review-row-value { font-weight: 500; }
.review-row.total {
  background: rgba(88, 73, 31, 0.04);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.review-row.total .review-row-label {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}
.review-row.total .review-row-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}
.review-cert-preview {
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  grid-row: 1;
  grid-column: 1;
  height: 595px;
  border-color: transparent;
}
.review-cert-header {
  padding: 8px 14px;
  background: #1f1f1f;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7e7e7;
}
#review-cert-area {
  width: 100%;
  background: #090909;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius:4px;
  border:1px solid var(--border);
}

#review-cert-area img { width: 100%; height: 100%; object-fit: scale-down; }

.review-notes {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.review-notes-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b6b6b6;
  margin-bottom: 10px;
}
.review-notes textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 12px 14px;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color 0.25s;
  line-height: 1.6;
}
.review-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  grid-column: 2;
  grid-row: 2;
}
#order-notes {
  font-size: 0.82rem;
}

.review-notes textarea:focus { border-color: rgba(201,168,76,0.3); }
.review-notes textarea::placeholder { color: #333; }
.checkout-btn {
  width: 100%;
  padding: 18px 24px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.checkout-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 40px rgba(201,168,76,0.35);
  transform: translateY(-2px);
}
.checkout-secure {
  font-size: 0.7rem;
  color: #444;
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}
.checkout-secure span { color: var(--gold); }
.review-guarantee {
  display: flex; /* FLEX */
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 8px;
  margin-top: 12px;
}
.review-guarantee-text { font-size: 0.72rem; color: #666; line-height: 1.5; }
.review-guarantee-icon { font-size: 1.2rem; flex-shrink: 0; }

body > footer > div > div.footer-top > div.footer-brand > div > a > img { filter:invert(1) brightness(0.77)}

#shop-wizard .container {
  max-width: 70%;
}
.hero-title em {
  display: block;
}