/* ══════════════════════════════════════════════════════════════════
   .CONECTA v17.2 Fase 13c — Wallpaper personalizado
   ══════════════════════════════════════════════════════════════════
   Selectores con prefijo .wp- para no chocar con app.css.
   ══════════════════════════════════════════════════════════════════ */

.wp-section {
  padding: 3.5rem 1.5rem 2rem;
  position: relative;
  z-index: 5;
}

.wp-container {
  max-width: 640px;
  margin: 0 auto;
}

.wp-card {
  background: linear-gradient(180deg,
    rgba(20, 10, 16, 0.92) 0%,
    rgba(40, 22, 32, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.wp-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: .4rem;
  filter: drop-shadow(0 4px 10px rgba(201, 168, 76, 0.3));
}

.wp-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: #C9A84C;
  letter-spacing: .06em;
  margin: 0 0 .4rem;
  font-weight: 500;
}

.wp-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: #C0B79A;
  margin: 0 0 1.2rem;
}

/* ── Selector de templates ── */
.wp-templates {
  display: inline-flex;
  gap: .25rem;
  padding: .25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.wp-template-btn {
  background: transparent;
  border: none;
  color: rgba(245, 237, 216, 0.5);
  padding: .45rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: all .2s ease;
}
.wp-template-btn:hover {
  color: #F5EDD8;
}
.wp-template-btn.active {
  background: #C9A84C;
  color: #0A0608;
}

/* ── Previews canvas ── */
.wp-preview-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
  margin: .5rem 0 1.5rem;
  flex-wrap: wrap;
}
.wp-preview-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wp-preview-label {
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .2em;
  color: rgba(201, 168, 76, 0.6);
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.wp-canvas {
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: #0A0608;
}
.wp-canvas-celular {
  max-height: 380px;
}
.wp-canvas-compu {
  max-height: 230px;
}
/* Canvas vacío (antes del primer click): mostrar placeholder */
.wp-canvas:not([width]),
.wp-canvas[width="0"] {
  width: 200px;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(201, 168, 76, 0.15);
}

/* ── Botones ── */
.wp-btn {
  display: inline-block;
  background: transparent;
  color: #C9A84C;
  border: 1px solid #C9A84C;
  border-radius: 999px;
  padding: .9rem 1.8rem;
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  font-weight: 500;
}
.wp-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.wp-btn-primary {
  background: #C9A84C;
  color: #0A0608;
  display: block;
  width: 100%;
  margin-top: .5rem;
}
.wp-btn-primary:hover:not(:disabled) {
  background: #B89640;
  transform: translateY(-1px);
}
.wp-btn-secondary:hover:not(:disabled) {
  background: rgba(201, 168, 76, 0.1);
}

/* ── Form ── */
.wp-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  text-align: left;
}
.wp-form-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: #C0B79A;
  margin: 0 0 .8rem;
  text-align: center;
}
.wp-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: .85rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  color: #F5EDD8;
  margin-bottom: .7rem;
  outline: none;
  transition: border-color .2s ease;
}
.wp-input::placeholder {
  color: rgba(245, 237, 216, 0.35);
}
.wp-input:focus {
  border-color: #C9A84C;
}
.wp-error {
  color: #ff8080;
  font-size: .8rem;
  margin: .5rem 0 0;
  min-height: 1em;
  text-align: center;
}
.wp-aviso {
  font-size: .8rem;
  color: rgba(245, 237, 216, 0.5);
  margin: .8rem 0 0;
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

/* ── Thanks ── */
.wp-thanks {
  padding: 1.5rem 0;
}
.wp-thanks-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #C9A84C;
  margin: .5rem 0 .6rem;
  letter-spacing: .05em;
}
.wp-thanks-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #C0B79A;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .wp-section { padding: 2.5rem 1rem 1.5rem; }
  .wp-card { padding: 1.5rem 1.2rem; }
  .wp-title { font-size: 1.2rem; }
  .wp-preview-wrap { gap: .7rem; }
  .wp-canvas-celular { max-height: 280px; }
  .wp-canvas-compu { max-height: 170px; }
}

/* v17.3 — Efectos de botón (mismos 4 de Mundo 1) */
.wp-btn-efecto-fill { transition: all .3s ease; }
.wp-btn-efecto-fill:hover { background: var(--wp-accent, #C9A84C) !important; color: #0A0608 !important; }
.wp-btn-efecto-glow { transition: all .3s ease; }
.wp-btn-efecto-glow:hover { box-shadow: 0 0 18px rgba(201,168,76,0.6); }
.wp-btn-efecto-outline { transition: all .3s ease; }
.wp-btn-efecto-outline:hover { transform: translateY(-1px); }
.wp-btn-efecto-none { transition: none; }
.wp-btn-efecto-none:hover { opacity: .85; }
