/* FOLLAR — Customizer premium (sur-mesure) */
.customizer {
  position: relative;
  overflow: hidden;
}
.customizer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201,160,106,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(91,126,168,.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.customizer > .container { position: relative; z-index: 1; }

.customizer__grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .customizer__grid { grid-template-columns: 1fr; gap: 28px; }
}

.customizer__preview {
  position: sticky;
  top: 96px;
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(160deg, #f8f5ee 0%, #ece6d8 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 30px 60px -20px rgba(30,24,12,.25),
    0 8px 16px -8px rgba(30,24,12,.12);
  border: 1px solid rgba(255,255,255,.5);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.customizer__preview:hover { transform: translateY(-4px); }
.customizer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(17,17,16,.88);
  color: #f6f4ef;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.customizer__preview-meta strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.customizer__preview-meta span { color: var(--muted, #6f685c); font-size: 13px; }

.customizer__form {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(17,17,16,.06);
  border-radius: 28px;
  padding: 36px 34px;
  box-shadow: 0 24px 48px -24px rgba(17,17,16,.18);
  display: grid;
  gap: 22px;
}
.customizer__form .form-row { display: grid; gap: 8px; }
.customizer__form .form-row.grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
@media (max-width: 600px) {
  .customizer__form .form-row.grid-2 { grid-template-columns: 1fr; }
  .customizer__form { padding: 24px 20px; }
}
.customizer__form label {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3, #2a2a27);
  font-weight: 600;
}
.customizer__form input,
.customizer__form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(17,17,16,.12);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink, #111110);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  box-shadow: 0 1px 0 rgba(17,17,16,.04);
}
.customizer__form select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111110' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
  font-weight: 500;
}
.customizer__form input:focus,
.customizer__form select:focus {
  outline: none;
  border-color: var(--accent, #c9a06a);
  box-shadow: 0 0 0 4px rgba(201,160,106,.18);
}
.customizer__form select:hover,
.customizer__form input:hover {
  border-color: rgba(17,17,16,.24);
}
.customizer__form input::placeholder { color: rgba(17,17,16,.35); }

/* Color select: swatch via option text already contains hex; enhance container */
.customizer__form select#custom-color {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: .02em;
}

.customizer__file {
  border-style: dashed !important;
  background: #faf8f3 !important;
  padding: 18px !important;
  text-align: center;
  cursor: pointer;
}
.customizer__file:hover { border-color: var(--accent, #c9a06a) !important; background: #fff !important; }

.customizer__upload-preview {
  margin-top: 10px;
  border-radius: 14px;
  max-height: 160px;
  object-fit: cover;
  box-shadow: 0 8px 20px -10px rgba(17,17,16,.25);
}

.customizer__hint {
  font-size: 11.5px;
  color: var(--muted, #6f685c);
  line-height: 1.5;
}

.customizer__form button[type="submit"] {
  margin-top: 6px;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(135deg, #111110 0%, #2a2a27 100%);
  box-shadow: 0 12px 28px -12px rgba(17,17,16,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.customizer__form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(17,17,16,.6);
}

/* Native select options styling (best-effort) */
.customizer__form select option {
  padding: 10px 12px;
  background: #fff;
  color: var(--ink, #111110);
}
.customizer__form select option:checked {
  background: rgba(201,160,106,.18);
  color: var(--ink, #111110);
}