/*
Theme Name: Coreturc Premium V6
Theme URI: https://coreturc.com/
Author: Coreturc
Author URI: https://coreturc.com/
Description: Premium VIP WooCommerce tema platformu. Görsel odaklı ürün kartları, 3D demo desteği, interaktif tasarım sihirbazı ve dinamik fiyatlandırma. V6 — Performans iyileştirmeleri, yeni grid sistemi ve mobil optimizasyonlar.
Version: 6.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coreturc
*/

/* ==========================================================================
   0. DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Color Palette (White Editorial Minimalist) */
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAFAFA;
  --color-text: #111111;
  --color-muted: #71717A;
  --color-border: #E4E4E7;
  --color-active: #09090B;
  
  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Layout & Spacing */
  --grid-unit: 20px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
}

/* ==========================================================================
   1. RESET & BASE ELEMENTS
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-muted);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* ==========================================================================
   2. INTERACTIVE COORDINATES GRID
   ========================================================================== */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(113, 113, 122, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 113, 122, 0.03) 1px, transparent 1px);
  background-size: var(--grid-unit) var(--grid-unit);
  z-index: 0;
  pointer-events: none;
}

.coords-display {
  position: fixed;
  bottom: 24px;
  left: 24px;
  font-family: monospace;
  font-size: 11px;
  color: var(--color-muted);
  opacity: 0.6;
  z-index: 10;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  .container {
    padding: 0 20px;
  }
  body {
    padding-bottom: 0 !important;
  }
  
  /* Mobile scale adjustments for sticky header elements */
  .header-container {
    height: 60px !important;
  }
  .coreturc-logo {
    font-size: 18px !important;
  }
  .main-nav ul {
    gap: 16px !important;
  }
  .nav-link {
    font-size: 11px !important;
  }
  
  /* Category filter horizontal scroll block */
  .filter-wrap {
    gap: 10px !important;
  }
  .filter-controls {
    overflow-x: auto !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .filter-controls::-webkit-scrollbar {
    display: none !important;
  }
  .filter-btn {
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
}

/* ==========================================================================
   3. HEADER & MENU NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .header-container {
  height: 60px;
}

/* Brand Logo (Parallax SVG GSAP anim) */
.coreturc-wrap {
  position: relative;
  cursor: pointer;
}

.coreturc-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 2px;
  user-select: none;
}

.coreturc-logo .mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1;
}

.coreturc-logo .letter {
  display: inline-block;
  background: linear-gradient(100deg, var(--color-muted) 0%, var(--color-text) 45%, var(--color-text) 55%, var(--color-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  will-change: transform;
}

.coreturc-logo .e-letter {
  display: inline-flex;
  align-items: center;
  width: 0.62em;
  height: 0.62em;
  margin: 0 0.02em;
}

.coreturc-logo .e-letter svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.coreturc-logo .e-bar-fill {
  fill: var(--color-text);
  opacity: 0;
}

.coreturc-logo .e-bar-line {
  fill: none;
  stroke: var(--color-text);
  stroke-width: 7;
  stroke-linecap: square;
}

.coreturc-sweep {
  position: absolute;
  top: -20%; left: -30%; width: 22%; height: 140%;
  background: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.04) 50%, transparent 100%);
  pointer-events: none;
  transform: skewX(-15deg);
}

/* Nav Menu */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-active);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-text);
}

.cart-badge-count {
  margin-left: 6px;
  font-size: 11px;
  background-color: var(--color-active);
  color: var(--color-bg);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Mobile Nav Styles */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--color-border);
  z-index: 99;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 768px) {
  .mobile-bottom-dock {
    display: flex;
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dock-icon {
  font-size: 20px;
}

.dock-item:hover, .dock-item.active {
  color: var(--color-text);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 1000;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 15px;
}

.overlay-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}

.close-overlay {
  font-size: 36px;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
}

.overlay-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 60px 0;
}

.overlay-menu-item a {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}

.overlay-menu-item .number {
  font-size: 14px;
  font-family: monospace;
  color: var(--color-muted);
  margin-right: 20px;
  opacity: 0.5;
}

.overlay-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 2px;
  color: var(--color-muted);
}

/* ==========================================================================
   4. HOME PAGE SHOWCASE (index.php)
   ========================================================================== */
.hero-section {
  padding: 180px 0 100px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto; /* Allow interactions on the canvas */
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
  pointer-events: none; /* Let pointer events drop to canvas */
}

.hero-category {
  font-family: monospace;
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-title span.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-text);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-muted);
  max-width: 700px;
  font-weight: 300;
  line-height: 1.6;
}

/* Gallery and Filtering */
.gallery-section {
  padding: 80px 0 120px 0;
}

.filter-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-controls {
  display: flex;
  gap: 8px;
}

.filter-btn {
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-muted);
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  color: var(--color-text);
  background-color: var(--color-border);
}

.grid-meta {
  font-family: monospace;
  font-size: 11px;
  color: var(--color-muted);
}

/* Asymmetrical Product Grid with Hairline Borders */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 460px;
  }
}

/* Original Minimalist Product Card (Category & Prices Top, Image Bottom) */
.product-card {
  background-color: var(--color-bg);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-content-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 5;
}

.product-card:hover::before {
  border-color: var(--color-active);
}

/* Top details: category & price */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-category {
  font-family: monospace;
  font-size: 10px;
  color: var(--color-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Discount Badge & Price Styles */
.price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.old-price {
  font-size: 11px;
  color: var(--color-muted);
  text-decoration: line-through;
}
.sale-price {
  font-size: 14px;
  font-weight: 700;
  color: #cc1111;
}
.discount-badge {
  background-color: #cc1111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
  animation: discount-pulse 2s infinite ease-in-out;
}
@keyframes discount-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(204, 17, 17, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(204, 17, 17, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(204, 17, 17, 0); }
}

.card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

.product-card:hover .card-title {
  color: var(--color-muted);
}

.card-description {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Taller Image Container to display images fully and catch interest */
.card-image-wrap {
  width: 100%;
  height: 220px; /* Increased from 160px to show model fully */
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  flex-grow: 0;
  flex-shrink: 0;
  margin-top: auto; /* Push image to the bottom so they align perfectly in a row */
}

.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
  filter: grayscale(0%);
}

.product-card:hover .card-image {
  transform: scale(1.04);
}

/* Premium white backdrop overlay on hover */
.card-action-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 4;
}

.product-card:hover .card-action-overlay {
  opacity: 1;
}

.view-details-btn {
  padding: 12px 28px;
  border: 1px solid var(--color-active);
  background-color: var(--color-active);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.view-details-btn:hover {
  background-color: transparent;
  color: var(--color-active);
}




/* ==========================================================================
   5. SINGLE PRODUCT DETAIL PAGE (single-product.php)
   ========================================================================== */
.product-detail-main {
  padding: 160px 0 100px 0;
}

.detail-back {
  margin-bottom: 40px;
}

.back-link {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.back-link:hover {
  color: var(--color-text);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 991px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Gallery Section */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-main-frame {
  aspect-ratio: 16/10;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.main-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
}

.gallery-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sub-image {
  aspect-ratio: 16/10;
  border: 1px solid var(--color-border);
  background-size: cover;
  background-position: center;
}

/* Info Panel */
.detail-info-panel {
  display: flex;
  flex-direction: column;
}

.detail-category-badge {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--color-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.detail-price-box {
  border: 1px solid var(--color-border);
  padding: 24px;
  background-color: var(--color-bg-alt);
  margin-bottom: 30px;
}

.detail-price-box .label {
  font-size: 11px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}

.detail-price-box .value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.detail-description {
  margin-bottom: 30px;
}

.detail-description h2, .detail-features h2 {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.detail-description p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
}

.detail-features {
  margin-bottom: 40px;
}

.detail-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-features li {
  font-size: 14px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-features li span {
  color: var(--color-text);
  font-weight: bold;
}

.btn-purchase-wizard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px;
  background-color: var(--color-active);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: var(--transition-smooth);
}

.btn-purchase-wizard:hover {
  background-color: var(--color-muted);
  transform: translateY(-2px);
}

/* ==========================================================================
   6. DYNAMIC PURCHASE WIZARD PAGE (template-wizard.php)
   ========================================================================== */
.wizard-main {
  padding: 160px 0 100px 0;
}

.wizard-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
}

.wizard-header .header-meta {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--color-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.wizard-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wizard-subtitle {
  color: var(--color-muted);
  font-size: 14px;
}

.wizard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 991px) {
  .wizard-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Progress Stepper indicators */
.step-progress-indicator {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.prog-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.35;
  transition: var(--transition-smooth);
}

.prog-step.active {
  opacity: 1;
}

.prog-step .num {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--color-text);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prog-step.active .num {
  background-color: var(--color-active);
  color: var(--color-bg);
  border-color: var(--color-active);
}

.prog-step .lbl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Form panels */
.steps-forms-container {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 40px;
  margin-bottom: 30px;
  min-height: 380px;
}

.step-form-block {
  display: none;
}

.step-form-block.active {
  display: block;
  animation: fadeIn 0.4s ease-out forwards;
}

.step-form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.step-form-desc {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Custom configurator inputs */
.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.input-with-prefix {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding: 8px 0;
}

.input-with-prefix .prefix {
  color: var(--color-muted);
  font-family: monospace;
  margin-right: 4px;
}

.input-with-prefix input, .form-group input, .wizard-select, .form-group textarea {
  border: none;
  outline: none;
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  font-family: inherit;
  font-size: 15px;
  width: 100%;
}

.input-with-prefix input:focus, .form-group input:focus, .wizard-select:focus, .form-group textarea:focus {
  border-bottom-color: var(--color-active);
}

.validation-error {
  display: none;
  font-size: 12px;
  color: #D32F2F;
  margin-top: 4px;
}

/* Page list manager in Wizard */
.page-list-manager {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.page-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 12px 20px;
  gap: 16px;
}

.page-status-icon {
  font-size: 14px;
  color: var(--color-muted);
}

.page-name-input {
  flex-grow: 1;
  font-weight: 500;
  font-size: 15px;
  border: none !important;
  padding: 0 !important;
}

.remove-page-btn {
  font-size: 20px;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.remove-page-btn:hover:not(:disabled) {
  color: #ff4444;
  opacity: 1;
}

.remove-page-btn:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.add-new-page-btn {
  display: inline-flex;
  padding: 12px 24px;
  border: 1px dashed var(--color-muted);
  background: transparent;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.add-new-page-btn:hover {
  border-color: var(--color-active);
  color: var(--color-active);
}

/* Conditional 3D models input groups */
.model-spec-row {
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  padding: 24px;
  margin-top: 24px;
}

.model-spec-row h3 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.model-description-input {
  min-height: 100px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: 12px !important;
  resize: vertical;
}

/* Step 4: Social contact grids */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Step 5: Upload areas */
.upload-zone {
  border: 2px dashed var(--color-border);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  background-color: var(--color-bg-alt);
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}

.upload-zone:hover {
  border-color: var(--color-active);
}

.upload-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  color: var(--color-muted);
}

.upload-limit {
  font-family: monospace;
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 8px;
  display: block;
}

.uploaded-files-wrapper h3 {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.uploaded-files-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uploaded-files-list .empty-state {
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
}

.uploaded-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.uploaded-file-item .file-name {
  font-size: 13px;
  color: var(--color-muted);
}

.delete-file-btn {
  font-size: 18px;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
}

.delete-file-btn:hover {
  color: #ff4444;
}

/* Step 6: Confirmation box styling */
.review-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.review-section {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 20px;
}

.review-section h4 {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
}

.review-section p {
  font-size: 14px;
  line-height: 1.6;
}

/* Wizard navigation actions buttons */
.step-navigation-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-step-prev, .btn-step-next {
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: var(--transition-smooth);
}

.btn-step-prev {
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

.btn-step-prev:hover:not(:disabled) {
  border-color: var(--color-active);
  color: var(--color-text);
}

.btn-step-prev:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.btn-step-next {
  background-color: var(--color-active);
  color: var(--color-bg);
  border: 1px solid var(--color-active);
}

.btn-step-next:hover {
  background-color: var(--color-muted);
  border-color: var(--color-muted);
}

/* Sidebar calculations tracker summary */
.wizard-summary-sidebar {
  position: sticky;
  top: 120px;
}

.summary-card {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 30px;
}

.summary-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.summary-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 20px 0;
}

.summary-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}

.summary-row .label {
  color: var(--color-muted);
}

.summary-row .value {
  font-family: var(--font-display);
  font-weight: 700;
}

.summary-total-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 10px 0;
}

.summary-total-box .total-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.summary-total-box .total-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.summary-disclosure {
  font-size: 10px;
  color: var(--color-muted);
  line-height: 1.4;
  margin-top: 24px;
  opacity: 0.8;
  text-align: center;
}

/* ==========================================================================
   7. FOOTER STYLING
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-col ul a:hover {
  color: var(--color-text);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  font-family: monospace;
}

/* ==========================================================================
   10. WOOCOMMERCE CUSTOM STYLING OVERRIDES (MINIMAL & QUIET LUXURY)
   ========================================================================== */
.woocommerce-cart, .woocommerce-checkout {
  padding-top: 140px;
  padding-bottom: 100px;
}

.woocommerce-cart .entry-title, .woocommerce-checkout .entry-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* Shop Table styling */
.woocommerce table.shop_table {
  border: none !important;
  border-radius: 0 !important;
  border-collapse: collapse !important;
  margin-bottom: 40px;
}

.woocommerce table.shop_table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border) !important;
  padding: 16px 12px !important;
}

.woocommerce table.shop_table td {
  border-top: none !important;
  border-bottom: 1px solid var(--color-border) !important;
  padding: 24px 12px !important;
  font-size: 14px;
}

.woocommerce-cart-form__cart-item .product-name a {
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.woocommerce-cart-form__cart-item .product-name a:hover {
  color: var(--color-active);
}

/* WooCommerce Buttons */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background-color: var(--color-active) !important;
  color: var(--color-bg) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  border: 1px solid var(--color-active) !important;
  border-radius: 0 !important;
  padding: 16px 32px !important;
  transition: var(--transition-smooth) !important;
  cursor: pointer;
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: var(--color-muted) !important;
  border-color: var(--color-muted) !important;
  color: var(--color-bg) !important;
}

/* Form fields customization */
.woocommerce-billing-fields input[type="text"],
.woocommerce-billing-fields input[type="email"],
.woocommerce-billing-fields input[type="tel"],
.woocommerce-billing-fields select,
.woocommerce-billing-fields textarea,
.woocommerce-checkout #order_comments {
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  background-color: var(--color-bg-alt) !important;
  padding: 12px !important;
  font-size: 14px;
  width: 100%;
  transition: var(--transition-smooth);
}

.woocommerce-billing-fields input:focus,
.woocommerce-billing-fields textarea:focus {
  border-color: var(--color-active) !important;
  outline: none;
}

/* Cart collaterals & Totals */
.cart-collaterals {
  margin-top: 40px;
}

.cart_totals {
  width: 100% !important;
  max-width: 480px;
  float: right;
  background-color: var(--color-bg-alt);
  padding: 30px;
  border: 1px solid var(--color-border);
}

.cart_totals h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}

/* Coupon code layout */
.coupon {
  display: flex;
  gap: 10px;
}

.coupon input[type="text"] {
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  padding: 10px 15px !important;
}

/* Checkout Form Layout grid */
.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .col2-set {
    grid-template-columns: 1fr;
  }
}

#order_review_heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 40px;
  margin-bottom: 20px;
}

#payment {
  background-color: var(--color-bg-alt) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  padding: 20px !important;
}

/* ==========================================================================
   10. NEURON GAME & REWARD MODAL
   ========================================================================== */
.neuron-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  pointer-events: none; /* Passes mouse events to elements below */
}

.neuron-reward-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
}

.neuron-reward-modal.active {
  pointer-events: auto;
}

.neuron-modal-content {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 50px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(40px) scale(0.95);
  opacity: 0;
}

.neuron-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--color-text);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.neuron-modal-close:hover {
  opacity: 0.7;
}

.neuron-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.neuron-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.neuron-desc {
  color: var(--color-platinum);
  font-size: 16px;
  margin-bottom: 30px;
}

.neuron-code-box {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-platinum);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', monospace;
  font-size: 20px;
  font-weight: 600;
}

.neuron-copy-btn {
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.neuron-copy-btn:hover {
  background: var(--color-platinum);
}
