/* ==========================================================================
   GOLDIAMART – Bespoke Custom Name Jewellery Designer & Personalization Studio
   Brand Identity:
     Primary: #471B7A (Royal Purple)
     Secondary: #AAA456 (Warm Muted Gold / Olive Gold)
     Supporting: #FFFFFF, #FBF9F5 (Warm Ivory), #D4AF37 (Champagne Gold)
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --gm-primary: #471B7A;
  --gm-primary-dark: #35125E;
  --gm-primary-light: #5B249E;
  --gm-primary-glow: rgba(71, 27, 122, 0.12);

  --gm-secondary: #AAA456;
  --gm-secondary-dark: #8E8840;
  --gm-secondary-light: #C2BC6E;

  --gm-gold-champagne: #D4AF37;
  --gm-gold-light: #FBF0C9;
  --gm-gold-glow: rgba(212, 175, 55, 0.25);

  --gm-ivory: #FBF9F5;
  --gm-white: #FFFFFF;
  --gm-cream: #F5F1EA;

  --gm-charcoal: #1C1626;
  --gm-charcoal-light: #2D2638;
  --gm-gray-muted: #645C72;
  --gm-gray-light: #ECE7F4;
  --gm-border: #E5DEEE;

  /* Typography Families */
  --font-cinzel: 'Cinzel', serif;
  --font-marcellus: 'Marcellus SC', serif;
  --font-lora: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-playfair: 'Playfair Display', serif;

  /* Script Font Families for Name Jewelry */
  --font-great-vibes: 'Great Vibes', cursive;
  --font-alex-brush: 'Alex Brush', cursive;
  --font-allura: 'Allura', cursive;
  --font-pinyon: 'Pinyon Script', cursive;
  --font-parisienne: 'Parisienne', cursive;
  --font-italianno: 'Italianno', cursive;
  --font-sacramento: 'Sacramento', cursive;
  --font-arabic: 'Aref Ruqaa', 'Amiri', 'Noto Sans Arabic', serif;

  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(28, 22, 38, 0.04);
  --shadow-md: 0 6px 20px rgba(71, 27, 122, 0.07);
  --shadow-lg: 0 16px 40px rgba(71, 27, 122, 0.12);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.28);
}

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

body {
  font-family: var(--font-sans);
  color: var(--gm-charcoal);
  background-color: #FAF8FC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   Breadcrumb Bar
   ========================================================================== */
.breadcrumb-container {
  background: var(--gm-ivory);
  border-bottom: 1px solid var(--gm-border);
  padding: 10px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  font-size: 12px;
  color: var(--gm-gray-muted);
}

.breadcrumb-list .separator {
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb-list .current {
  color: var(--gm-primary);
  font-weight: 600;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.studio-hero-banner {
  padding: 36px 0 24px;
  background: linear-gradient(180deg, #F9F6FC 0%, #FAF8FC 100%);
  border-bottom: 1px solid rgba(71, 27, 122, 0.06);
}

.hero-sub-badge {
  display: inline-block;
  font-family: var(--font-marcellus);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gm-secondary-dark);
  margin-bottom: 8px;
}

.hero-main-title {
  font-family: var(--font-cinzel);
  font-size: 32px;
  font-weight: 700;
  color: var(--gm-primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 14px;
  color: var(--gm-gray-muted);
}

.studio-journey-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}

.step-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gm-white);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gm-border);
  color: var(--gm-charcoal-light);
  font-weight: 600;
}

.step-badge.active {
  border-color: var(--gm-primary);
  color: var(--gm-primary);
  box-shadow: 0 2px 8px var(--gm-primary-glow);
}

.step-badge .step-num {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--gm-primary);
  color: #FFFFFF;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-arrow {
  color: var(--gm-secondary);
  font-weight: 700;
}

/* ==========================================================================
   MAIN STUDIO LAYOUT (2-COLUMN BALANCED APPLICATION WORKSPACE)
   ========================================================================== */
.designer-studio-main {
  padding: 16px 0 36px;
}

.studio-layout-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 32px;
  align-items: flex-start;
}

/* ==========================================================================
   A. LIVE DESIGN / PREVIEW AREA (LEFT STICKY PANEL)
   ========================================================================== */
.preview-column {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  height: calc(100vh - 110px);
  max-height: 720px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}

.preview-sticky-card {
  background: var(--gm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gm-border);
  box-shadow: 0 10px 32px rgba(71, 27, 122, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

/* Preview Toolbar */
.preview-toolbar {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #FCFAFF;
  border-bottom: 1px solid var(--gm-border);
}

.mode-toggles {
  display: flex;
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  padding: 3px;
  border-radius: var(--radius-full);
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--gm-gray-muted);
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: var(--gm-primary);
  color: #FFFFFF;
}

.stage-bg-selector {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bg-swatch {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--gm-border);
  transition: transform 0.2s;
}

.bg-swatch:hover {
  transform: scale(1.15);
}

.bg-swatch.active {
  box-shadow: 0 0 0 2px var(--gm-primary);
}

.bg-swatch[data-bg="lilac"] {
  background: linear-gradient(135deg, #FFFFFF 0%, #EDE6F7 100%);
}

.bg-swatch[data-bg="studio"] {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F2EC 100%);
}

.bg-swatch[data-bg="velvet"] {
  background: radial-gradient(circle, #2E1B46 0%, #150A24 100%);
}

/* Interactive SVG Stage */
.interactive-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 280px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F5F0FB 70%, #ECE4F6 100%);
  perspective: 1200px;
  overflow: hidden;
  transition: background 0.4s ease;
}

/* Background Atmosphere Variations */
.interactive-stage.bg-studio {
  background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #F8F6F0 75%, #EFECE3 100%);
}

.interactive-stage.bg-velvet {
  background: radial-gradient(circle at 50% 45%, #2D1A45 0%, #180D26 65%, #0F071A 100%);
}

.interactive-stage.bg-velvet .stage-watermark {
  color: rgba(255, 255, 255, 0.25);
}

.interactive-stage.bg-velvet .pendant-bevel-layer {
  fill: #000000;
  opacity: 0.7;
}

.stage-watermark {
  position: absolute;
  top: 14px;
  left: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(71, 27, 122, 0.25);
  pointer-events: none;
}

/* SVG Rendering */
.jewellery-svg-canvas {
  width: 100%;
  height: 100%;
  max-width: 620px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.jewellery-svg-canvas.tilt-3d {
  transform: rotateX(16deg) rotateY(-22deg) scale(1.06);
}

.jewellery-svg-canvas.zoom-active {
  transform: scale(1.22);
}

/* SVG Layer Classes */
.pendant-bevel-layer {
  font-family: var(--font-great-vibes);
  font-size: 84px;
  fill: #3A2300;
  opacity: 0.45;
  transition: all 0.25s ease;
}

.pendant-face-layer {
  font-family: var(--font-great-vibes);
  font-size: 84px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.shimmer-star {
  animation: shineAnimation 4.5s infinite ease-in-out;
}

@keyframes shineAnimation {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 0.95; transform: scale(1.2); }
}

.svg-swash-hidden,
.svg-symbol-hidden,
.svg-diamonds-hidden,
.blueprint-rulers-hidden {
  display: none;
}

/* Stage Control Strip */
.stage-control-strip {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--gm-white);
  border-top: 1px solid var(--gm-border);
}

.stage-specs-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gm-primary);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.stage-actions {
  display: flex;
  gap: 8px;
}

.stage-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  background: var(--gm-ivory);
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-full);
  color: var(--gm-charcoal);
  transition: all 0.2s ease;
}

.stage-btn:hover {
  background: var(--gm-primary);
  color: #FFFFFF;
  border-color: var(--gm-primary);
}

.stage-btn.active {
  background: var(--gm-primary);
  color: #FFFFFF;
}

/* Stage Quality Row */
.stage-assurance-row {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 16px;
  background: #FAF7FD;
  border-top: 1px solid var(--gm-border);
  font-size: 10.5px;
  color: var(--gm-charcoal-light);
  font-weight: 500;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   B. CUSTOMIZATION PANEL (RIGHT COLUMN - INDEPENDENT SCROLLING)
   ========================================================================== */
.configurator-column {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  height: calc(100vh - 110px);
  max-height: 720px;
  min-height: 540px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: var(--gm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gm-border);
  box-shadow: var(--shadow-md);
  padding: 24px 26px 36px;

  /* Sleek, subtle scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 27, 122, 0.25) rgba(71, 27, 122, 0.04);
}

.configurator-column::-webkit-scrollbar {
  width: 6px;
}

.configurator-column::-webkit-scrollbar-track {
  background: rgba(71, 27, 122, 0.04);
  border-radius: 9999px;
  margin: 8px 0;
}

.configurator-column::-webkit-scrollbar-thumb {
  background: rgba(71, 27, 122, 0.22);
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}

.configurator-column:hover::-webkit-scrollbar-thumb {
  background: rgba(71, 27, 122, 0.45);
}

/* Header inside Panel */
.header-pre-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.category-tag {
  font-family: var(--font-marcellus);
  font-size: 10.5px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gm-secondary-dark);
}

.ref-id-tag {
  font-size: 10.5px;
  color: var(--gm-gray-muted);
}

.ref-id-tag strong {
  color: var(--gm-primary);
}

.studio-product-name {
  font-family: var(--font-cinzel);
  font-size: 24px;
  font-weight: 700;
  color: var(--gm-primary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.studio-ratings-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 20px;
}

.star-rating {
  color: #F59E0B;
  letter-spacing: 1px;
}

.rating-num {
  font-weight: 700;
}

.reviews-count {
  color: var(--gm-gray-muted);
}

.dispatch-badge {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gm-secondary-dark);
  background: rgba(170, 164, 86, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Studio Pricing Card */
.studio-pricing-card {
  background: linear-gradient(135deg, #FBF8FF 0%, #F6F0FC 100%);
  border: 1px solid rgba(71, 27, 122, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.price-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-figures {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.currency-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--gm-primary);
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--gm-charcoal);
  letter-spacing: -0.5px;
}

.usd-equivalent {
  font-size: 13px;
  color: var(--gm-gray-muted);
  margin-left: 4px;
}

.price-badge-saving {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gm-secondary-dark);
  background: #FFFDF4;
  border: 1px solid rgba(170, 164, 86, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.installment-row {
  font-size: 11px;
  color: var(--gm-gray-muted);
  margin-top: 6px;
}

.installment-row strong {
  color: var(--gm-primary);
}

/* ==========================================================================
   CONFIGURATOR STEPS CARDS
   ========================================================================== */
.studio-form-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: #FFFFFF;
  transition: border-color 0.2s ease;
}

.step-card:hover {
  border-color: rgba(71, 27, 122, 0.3);
}

.step-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
}

.step-pill {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--gm-primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title-text {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gm-charcoal);
  letter-spacing: 0.3px;
}

.char-limit-indicator,
.selected-font-indicator,
.selected-metal-indicator {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gm-primary);
}

.optional-tag {
  margin-left: auto;
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--gm-gray-muted);
  background: var(--gm-ivory);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

/* STEP 1: Name Input Styling */
.name-input-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.main-name-input {
  width: 100%;
  padding: 9px 38px 9px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gm-charcoal);
  border: 1.5px solid var(--gm-border);
  border-radius: var(--radius-md);
  background: #FCFAFF;
  transition: all 0.2s ease;
}

.main-name-input:focus {
  outline: none;
  border-color: var(--gm-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px var(--gm-primary-glow);
}

.btn-clear-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--gm-gray-light);
  color: var(--gm-gray-muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--gm-ivory);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 12px;
}

.lang-label {
  font-weight: 600;
  color: var(--gm-charcoal);
}

.lang-dropdown {
  background: #FFFFFF;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gm-primary);
  cursor: pointer;
}

.quick-samples-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-samples-label {
  font-size: 11px;
  color: var(--gm-gray-muted);
}

.name-pill-chip {
  font-size: 11px;
  padding: 3px 10px;
  background: #F4EEFC;
  border: 1px solid rgba(71, 27, 122, 0.15);
  border-radius: var(--radius-full);
  color: var(--gm-primary);
  font-weight: 600;
  transition: all 0.2s ease;
}

.name-pill-chip:hover {
  background: var(--gm-primary);
  color: #FFFFFF;
}

/* STEP 2: Font Library Grid (11 Styles) */
.font-library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.font-option-card {
  border: 1.5px solid var(--gm-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  background: #FFFFFF;
}

.font-option-card input[type="radio"] {
  display: none;
}

.font-option-card:hover {
  border-color: var(--gm-primary);
  background: #FAF7FE;
}

.font-option-card.active {
  border-color: var(--gm-primary);
  background: #F8F3FD;
  box-shadow: 0 0 0 1px var(--gm-primary);
}

.font-preview-line {
  font-size: 24px;
  color: var(--gm-charcoal);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Font Preview Specific Families */
.font-great-vibes { font-family: var(--font-great-vibes); font-size: 28px; }
.font-alex-brush { font-family: var(--font-alex-brush); font-size: 27px; }
.font-allura { font-family: var(--font-allura); font-size: 26px; }
.font-pinyon { font-family: var(--font-pinyon); font-size: 25px; }
.font-jakarta { font-family: var(--font-sans); font-size: 19px; font-weight: 600; letter-spacing: 1px; }
.font-playfair { font-family: var(--font-playfair); font-style: italic; font-size: 21px; }
.font-cinzel { font-family: var(--font-cinzel); font-size: 16px; font-weight: 700; letter-spacing: 2px; }
.font-parisienne { font-family: var(--font-parisienne); font-size: 24px; }
.font-italianno { font-family: var(--font-italianno); font-size: 32px; }
.font-arabic { font-family: var(--font-arabic); font-size: 22px; direction: rtl; }
.font-sacramento { font-family: var(--font-sacramento); font-size: 28px; }

.font-meta {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
}

.font-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gm-charcoal);
}

.font-sub {
  font-size: 9.5px;
  color: var(--gm-gray-muted);
}

/* Advanced Creative Styling Accordion */
.creative-customization-accordion,
.customer-info-accordion {
  margin-top: 14px;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  background: var(--gm-ivory);
}

.accordion-summary {
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gm-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-summary::after {
  content: '▼';
  font-size: 9px;
  transition: transform 0.2s;
}

details[open] .accordion-summary::after {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 14px;
  border-top: 1px solid var(--gm-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sub-control-dropdown {
  padding: 6px 10px;
  font-size: 11.5px;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  color: var(--gm-charcoal);
  background: #FFFFFF;
}

/* STEP 3: Metal Category Tabs & Stack */
.metal-family-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.metal-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gm-border);
  background: #F9F8FB;
  font-size: 12px;
  font-weight: 700;
  color: var(--gm-charcoal);
  transition: all 0.2s ease;
}

.metal-tab.active {
  background: var(--gm-primary);
  color: #FFFFFF;
  border-color: var(--gm-primary);
}

.metal-disc {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.gold-disc { background: linear-gradient(135deg, #FFEEB3, #D4AF37); }
.silver-disc { background: linear-gradient(135deg, #FFFFFF, #94A3B8); }
.platinum-disc { background: linear-gradient(135deg, #FFFFFF, #64748B); }

.metal-options-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hidden-container {
  display: none !important;
}

.metal-select-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gm-border);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.metal-select-card input[type="radio"] {
  display: none;
}

.metal-select-card:hover {
  border-color: var(--gm-primary);
}

.metal-select-card.active {
  border-color: var(--gm-primary);
  background: #FAF6FD;
  box-shadow: 0 0 0 1px var(--gm-primary);
}

.metal-swatch-disc {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.swatch-18k-yg { background: linear-gradient(135deg, #FFF5D1 0%, #D4AF37 50%, #8F6200 100%); }
.swatch-18k-rg { background: linear-gradient(135deg, #FFEAE6 0%, #E89B92 50%, #8D3A32 100%); }
.swatch-18k-wg { background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 50%, #64748B 100%); }
.swatch-14k-yg { background: linear-gradient(135deg, #FFF9E0 0%, #E2C572 50%, #A3822B 100%); }
.swatch-silver-925 { background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 50%, #475569 100%); }
.swatch-silver-rhodium { background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 45%, #334155 100%); }
.swatch-platinum-950 { background: linear-gradient(135deg, #FFFFFF 0%, #ADC1D2 50%, #3B4B58 100%); }

.metal-card-content {
  flex: 1;
}

.metal-name-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gm-charcoal);
}

.metal-name-sub {
  font-size: 10.5px;
  color: var(--gm-gray-muted);
}

.metal-card-price {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gm-primary);
}

/* STEP 4: Diamond Grid */
.diamond-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.diamond-card-btn {
  border: 1.5px solid var(--gm-border);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all 0.2s ease;
}

.diamond-card-btn input[type="radio"] {
  display: none;
}

.diamond-card-btn:hover {
  border-color: var(--gm-primary);
}

.diamond-card-btn.active {
  border-color: var(--gm-primary);
  background: #FAF6FD;
  box-shadow: 0 0 0 1px var(--gm-primary);
}

.diamond-card-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gm-charcoal);
}

.diamond-card-sub {
  font-size: 9.5px;
  color: var(--gm-gray-muted);
  margin: 3px 0;
  line-height: 1.3;
}

.diamond-cost {
  font-size: 11px;
  font-weight: 700;
  color: var(--gm-primary);
  margin-top: auto;
}

.gemstone-accent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 11px;
  flex-wrap: wrap;
}

.gem-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gm-border);
  background: #FFFFFF;
  cursor: pointer;
}

.gem-chip input {
  display: none;
}

.gem-chip.active {
  border-color: var(--gm-primary);
  background: #FAF6FD;
}

.gem-color-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.white-diamond-dot { background: #0284C7; box-shadow: 0 0 4px #7DD3FC; }
.emerald-dot { background: #059669; }
.sapphire-dot { background: #2563EB; }
.ruby-dot { background: #DC2626; }

/* STEP 5: Creative Emblems & Chains */
.sub-step-block {
  margin-bottom: 14px;
}

.sub-step-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gm-charcoal);
  margin-bottom: 8px;
}

.symbols-chips-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.symbol-chip {
  padding: 5px 12px;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.2s;
}

.symbol-chip input {
  display: none;
}

.symbol-chip.active {
  background: var(--gm-primary);
  color: #FFFFFF;
  border-color: var(--gm-primary);
}

.chain-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.chain-type-card {
  border: 1.5px solid var(--gm-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

.chain-type-card input {
  display: none;
}

.chain-type-card.active {
  border-color: var(--gm-primary);
  background: #FAF6FD;
}

.chain-type-name {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gm-charcoal);
}

.chain-type-sub {
  display: block;
  font-size: 9.5px;
  color: var(--gm-gray-muted);
}

.chain-length-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.length-chip {
  border: 1.5px solid var(--gm-border);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.length-chip input {
  display: none;
}

.length-chip.active {
  border-color: var(--gm-primary);
  background: #FAF6FD;
}

.length-chip strong {
  font-size: 11.5px;
  color: var(--gm-charcoal);
}

.length-chip span {
  font-size: 9px;
  color: var(--gm-gray-muted);
}

.back-engraving-field {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gm-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

/* Customer Fields Accordion */
.customer-fields-grid {
  padding: 14px;
  border-top: 1px solid var(--gm-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 11.5px;
}

.customer-fields-grid .field-full {
  grid-column: span 2;
}

.customer-fields-grid label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.customer-fields-grid input,
.customer-fields-grid textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
}

/* ==========================================================================
   WHATSAPP SUBMISSION & EXCEL CTAs
   ========================================================================== */
.studio-submission-ctas {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-whatsapp-submit {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.wa-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.wa-btn-main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.wa-btn-sub {
  font-size: 10.5px;
  opacity: 0.9;
}

.wa-btn-price {
  font-size: 16px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.18);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* Secondary Export Buttons */
.exports-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-export-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--gm-white);
  border: 1.5px solid var(--gm-border);
  color: var(--gm-charcoal);
  transition: all 0.2s;
}

.btn-export-secondary:hover {
  border-color: var(--gm-primary);
  background: var(--gm-ivory);
  color: var(--gm-primary);
}

.workflow-notice-box {
  display: flex;
  gap: 10px;
  background: #F8F5FD;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 11px;
  color: var(--gm-charcoal-light);
  line-height: 1.5;
}

/* ==========================================================================
   METALLURGY DEEP MATRIX SECTION
   ========================================================================== */
.metals-deep-guide-section {
  padding: 70px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--gm-border);
}

.section-title-wrap {
  margin-bottom: 44px;
}

.atelier-sub {
  font-family: var(--font-marcellus);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gm-secondary-dark);
  display: block;
  margin-bottom: 6px;
}

.atelier-heading {
  font-family: var(--font-cinzel);
  font-size: 28px;
  font-weight: 700;
  color: var(--gm-primary);
  margin-bottom: 8px;
}

.atelier-subtext {
  font-size: 13.5px;
  color: var(--gm-gray-muted);
  max-width: 600px;
  margin: 0 auto;
}

.metals-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.matrix-card {
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: #FAF8FD;
  transition: all 0.25s ease;
}

.matrix-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gm-primary);
}

.hallmark-stamp {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #FFF3D6;
  color: #926300;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.silver-stamp { background: #E2E8F0; color: #334155; }
.plat-stamp { background: #E5E7EB; color: #1F2937; }

.matrix-header h3 {
  font-family: var(--font-cinzel);
  font-size: 17px;
  color: var(--gm-primary);
  margin-bottom: 2px;
}

.metal-subtitle {
  font-size: 11px;
  color: var(--gm-secondary-dark);
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
}

.matrix-desc {
  font-size: 11.5px;
  color: var(--gm-gray-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.matrix-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  border-top: 1px solid var(--gm-border);
  padding-top: 12px;
}

.matrix-features strong {
  color: var(--gm-charcoal);
}

/* ==========================================================================
   CLIENT REVIEWS SECTION
   ========================================================================== */
.atelier-reviews-section {
  padding: 60px 0;
  background: #FAF8FC;
  border-top: 1px solid var(--gm-border);
}

.reviews-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-quote-card {
  background: #FFFFFF;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #F59E0B;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.quote-text {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 14px;
  color: var(--gm-charcoal);
  line-height: 1.6;
  margin-bottom: 16px;
}

.quote-signature strong {
  display: block;
  font-size: 12px;
  color: var(--gm-primary);
}

.quote-signature span {
  font-size: 10.5px;
  color: var(--gm-gray-muted);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.studio-faq-section {
  padding: 60px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--gm-border);
}

.faq-narrow-container {
  max-width: 820px;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: #FAF9FD;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-accordion-item[open] {
  background: #FFFFFF;
  border-color: var(--gm-primary);
  box-shadow: var(--shadow-sm);
}

.faq-accordion-summary {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gm-charcoal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-accordion-summary::after {
  content: '+';
  font-size: 18px;
  color: var(--gm-primary);
}

.faq-accordion-item[open] .faq-accordion-summary::after {
  content: '−';
}

.faq-accordion-content {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--gm-gray-muted);
  line-height: 1.6;
}

/* ==========================================================================
   GOOGLE FONTS SELECTOR BAR & CUSTOM WRITE-IN
   ========================================================================== */
.google-fonts-bar {
  margin-top: 14px;
  padding: 12px 14px;
  background: #F8F5FC;
  border: 1px dashed var(--gm-border);
  border-radius: var(--radius-md);
}

.google-fonts-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.g-fonts-label {
  font-size: 11.5px;
  color: var(--gm-charcoal);
}

.g-fonts-tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(71, 27, 122, 0.08);
  color: var(--gm-primary);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.google-fonts-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.google-font-dropdown {
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  color: var(--gm-charcoal);
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.google-font-dropdown:focus {
  border-color: var(--gm-primary);
}

.custom-font-input-wrap {
  display: flex;
  gap: 6px;
}

.custom-font-input {
  flex: 1;
  padding: 7px 10px;
  font-size: 12px;
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  color: var(--gm-charcoal);
  outline: none;
}

.custom-font-input:focus {
  border-color: var(--gm-primary);
}

.btn-apply-font {
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--gm-primary);
  color: var(--gm-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-apply-font:hover {
  background: var(--gm-primary-light);
}

/* ==========================================================================
   HOMEPAGE TEASER CARD (.gm-f-studio-teaser)
   Single-display viewport (~480px - 520px), compact luxury thumbnail presentation
   ========================================================================== */
.gm-f-studio-teaser {
  padding: 44px 0;
  background: linear-gradient(180deg, #F9F6FC 0%, #FFFFFF 100%);
  border-top: 1px solid rgba(71, 27, 122, 0.06);
  border-bottom: 1px solid rgba(71, 27, 122, 0.06);
}

.gm-f-studio-card {
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 32px rgba(71, 27, 122, 0.07);
  padding: 22px 26px;
  max-width: 1280px;
  margin: 0 auto;
}

.gm-f-studio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gm-border);
  margin-bottom: 16px;
}

.gm-f-studio-pill {
  display: inline-block;
  font-family: var(--font-marcellus);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gm-secondary-dark);
  margin-bottom: 4px;
}

.gm-f-studio-title {
  font-family: var(--font-cinzel);
  font-size: 21px;
  font-weight: 700;
  color: var(--gm-primary);
  line-height: 1.25;
  margin-bottom: 4px;
}

.gm-f-studio-desc {
  font-size: 12px;
  color: var(--gm-gray-muted);
  line-height: 1.5;
  max-width: 720px;
}

.gm-f-studio-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--gm-primary);
  border-radius: var(--radius-full);
  color: var(--gm-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.gm-f-studio-full-btn:hover {
  background: var(--gm-primary);
  color: var(--gm-white);
}

.gm-f-studio-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 26px;
  align-items: center;
}

.gm-f-stage-wrap {
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FCFAFF;
}

.gm-f-stage-wrap .interactive-stage {
  height: 290px;
}

.gm-f-stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: #FFFFFF;
  border-top: 1px solid var(--gm-border);
}

.gm-f-specs-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--gm-gray-muted);
}

.gm-f-studio-controls {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.gm-f-ctrl-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gm-f-ctrl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gm-f-ctrl-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gm-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gm-f-char-count {
  font-size: 10px;
  color: var(--gm-gray-muted);
}

.gm-f-metal-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.gm-f-metal-row .metal-select-card {
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-sm);
  background: var(--gm-white);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.gm-f-metal-row .metal-select-card.active {
  border-color: var(--gm-primary);
  background: rgba(71, 27, 122, 0.04);
  box-shadow: 0 0 0 1px var(--gm-primary);
}

.gm-f-metal-row .metal-short-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--gm-charcoal);
}

.gm-f-metal-row .metal-swatch-disc {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.gm-f-studio-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  background: #FBF9FD;
  border: 1px solid var(--gm-border);
  border-radius: var(--radius-md);
  margin-top: 3px;
  gap: 12px;
}

.gm-f-price-col {
  display: flex;
  flex-direction: column;
}

.gm-f-price-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gm-gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gm-f-price-val {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.gm-f-price-val strong {
  font-size: 19px;
  color: var(--gm-primary);
  font-family: var(--font-cinzel);
}

.gm-f-price-val small {
  font-size: 10.5px;
  color: var(--gm-gray-muted);
}

.gm-f-cta-col {
  flex: 1;
  text-align: right;
}

.gm-f-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--gm-primary) 0%, var(--gm-primary-light) 100%);
  color: var(--gm-white);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(71, 27, 122, 0.22);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gm-f-launch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(71, 27, 122, 0.32);
  color: var(--gm-white);
}

.gm-f-studio-perks {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--gm-gray-muted);
  padding: 0 4px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET STICKY PREVIEW & SCROLLABLE CONFIGURATOR)
   ========================================================================== */
@media (max-width: 1024px) {
  .studio-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Half-screen sticky preview column on mobile & tablet */
  .preview-column {
    position: -webkit-sticky;
    position: sticky;
    top: 56px; /* directly underneath WoodMart sticky header */
    z-index: 850;
    height: auto;
    max-height: none;
    min-height: 0;
    background: #FAF8FC;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .preview-sticky-card {
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(71, 27, 122, 0.12);
    height: auto;
  }

  /* Height constrained to 220px for half-screen visibility */
  .interactive-stage {
    flex: none;
    height: 220px;
    min-height: 220px;
  }

  .stage-control-strip {
    padding: 8px 12px;
  }

  /* Hide guarantees row inside mobile sticky card to keep preview compact */
  .stage-assurance-row {
    display: none;
  }

  /* Configurator column scrolls naturally underneath the sticky preview */
  .configurator-column {
    position: static;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow-y: visible;
    padding: 20px 16px;
  }

  .metals-matrix-grid,
  .reviews-tri-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gm-f-studio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gm-f-stage-wrap .interactive-stage {
    height: 240px;
  }
  .gm-f-studio-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .gm-f-studio-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .gm-f-cta-col {
    text-align: center;
  }
  .gm-f-launch-btn {
    width: 100%;
  }
  .gm-f-studio-perks {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .preview-column {
    top: 50px;
    padding-bottom: 6px;
  }

  .interactive-stage {
    height: 200px;
  }

  .stage-watermark {
    font-size: 8px;
    top: 8px;
    left: 10px;
  }

  .metals-matrix-grid,
  .reviews-tri-grid {
    grid-template-columns: 1fr;
  }

  .font-library-grid,
  .chain-type-grid,
  .exports-action-row,
  .customer-fields-grid {
    grid-template-columns: 1fr;
  }

  .diamond-options-grid {
    grid-template-columns: 1fr;
  }

  .gm-f-metal-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   1-SCREEN iOS-INSPIRED STUDIO LAYOUT
   ========================================================================== */
.gm-studio-one-screen {
  padding: 18px 0 28px;
  background: #f5f3f7;
}

.gm-studio-one-screen .studio-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: start;
}

.gm-studio-one-screen .canvas-sticky-column {
  position: sticky;
  top: 84px;
}

.gm-studio-one-screen .canvas-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(58, 22, 66, 0.08);
  box-shadow: 0 10px 28px rgba(32, 16, 40, 0.06);
  padding: 16px;
}

.gm-studio-one-screen .interactive-stage,
.gm-studio-one-screen #interactiveStage {
  height: 380px;
  min-height: 320px;
  border-radius: 14px;
}

.gm-studio-one-screen .controls-panel-column {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(58, 22, 66, 0.08);
  box-shadow: 0 10px 28px rgba(32, 16, 40, 0.06);
  padding: 16px;
}

.studio-ios-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #f1edf5;
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.studio-ios-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: #4a3a54;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-ios-tab.active,
.studio-ios-tab[aria-selected="true"] {
  background: #ffffff;
  color: #3a1642;
  box-shadow: 0 2px 8px rgba(32, 16, 40, 0.1);
}

.gm-studio-one-screen .step-card {
  display: none;
  border-radius: 18px;
  margin-bottom: 12px;
  box-shadow: none;
  border: 1px solid rgba(58, 22, 66, 0.08);
}

.gm-studio-one-screen .step-card.studio-step-active {
  display: block;
}

@media (max-width: 991px) {
  .gm-studio-one-screen {
    padding: 10px 0 86px;
  }

  .gm-studio-one-screen .studio-workspace-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gm-studio-one-screen .canvas-sticky-column {
    position: relative;
    top: 0;
  }

  .gm-studio-one-screen .canvas-card,
  .gm-studio-one-screen .controls-panel-column {
    padding: 12px;
    border-radius: 18px;
  }

  .gm-studio-one-screen .interactive-stage,
  .gm-studio-one-screen #interactiveStage {
    height: 220px;
    min-height: 200px;
  }

  .studio-ios-tab {
    font-size: 12px;
    padding: 9px 4px;
  }
}
