/* ═══════════════════════════════════════════════════════════════
   КАСТОМИЗАЦИЯ ROCKY
   ═══════════════════════════════════════════════════════════════ */

.customize-overlay {
  position: fixed; inset: 0;
  background: rgba(5, 3, 10, 0.95);
  backdrop-filter: blur(12px);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: equip-fade 0.35s ease;
}

.customize-box {
  width: min(900px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  background: linear-gradient(180deg, rgba(28, 18, 38, 0.98), rgba(15, 8, 22, 0.98));
  border: 1.5px solid rgba(200, 140, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.9), 0 0 60px rgba(160, 100, 230, 0.2);
  overflow-y: auto;
}

.customize-headline {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.55em;
  color: rgba(220, 180, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.customize-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.25em;
  color: #f0e0ff;
  text-shadow: 0 0 18px rgba(220, 180, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.customize-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(220, 180, 255, 0.6);
  margin-bottom: 28px;
}

/* ── основной макет ── */
.customize-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  width: 100%;
  align-items: start;
}

/* ── превью Rocky ── */
.customize-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.preview-frame {
  width: 160px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, rgba(80, 40, 130, 0.3) 0%, transparent 70%),
    rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(200, 140, 255, 0.25);
  border-radius: 6px;
  overflow: hidden;
}
.preview-frame svg {
  width: 130px;
  height: 160px;
}
.preview-name {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(220, 180, 255, 0.7);
  text-transform: uppercase;
}

/* ── панель выбора ── */
.customize-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.option-group label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(220, 180, 255, 0.55);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* цветовые свотчи */
.theme-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.theme-swatch {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.theme-swatch:hover { transform: translateY(-2px); }
.theme-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,0.4);
}
.swatch-body {
  flex: 1;
}
.swatch-aura {
  height: 12px;
}
.swatch-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(220, 180, 255, 0.7);
  white-space: nowrap;
  text-transform: uppercase;
}

/* ── кнопка подтверждения ── */
.customize-confirm {
  margin-top: 28px;
  padding: 14px 48px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.35em;
  color: #fff;
  background: linear-gradient(180deg, rgba(160, 80, 220, 0.4), rgba(100, 40, 160, 0.6));
  border: 1.5px solid rgba(200, 140, 255, 0.6);
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(160, 100, 230, 0.3);
}
.customize-confirm:hover {
  background: linear-gradient(180deg, rgba(180, 100, 240, 0.5), rgba(120, 60, 180, 0.7));
  box-shadow: 0 0 30px rgba(200, 130, 255, 0.5);
  transform: translateY(-1px);
}
