:root {
  --concert-color: #000000;
  --icona-color: #962024;
  --seven-color: #233731;
  --whatsapp-green: #25d366;
  --glass-white: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: rgba(0, 0, 0, 0.08);
  --text-dark: #333333;
  --text-light: #666666;
  --button-icon: #c8a97e; /* Color del icono + - */
}

/* ===== MODALES GLASS CLARO ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2); /* Fondo claro translúcido */
  backdrop-filter: blur(15px); /* Borroso claro */
  z-index: 1600;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Contenedor del modal - Glass blanco */
.modal-container {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px var(--glass-shadow);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

/* Botón de cerrar - Arriba a la derecha */
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close-btn:hover {
  background: white;
  transform: rotate(90deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Contenido del modal - 2 columnas en desktop, 1 columna en móvil */
.modal-content-esp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
}

/* ===== COLUMNA IZQUIERDA - SLIDER PORTRAIT (Solo desktop) ===== */
.modal-slider-column {
  position: relative;
  overflow: hidden;
  display: block;
}

/* ===== COLUMNA DERECHA - FORMULARIO ===== */
.modal-form-column {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Slider portrait (Solo desktop) */
.modal-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.slider-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.slider-slide img {
  /* width: 100%; */
  width: 425px;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Controles del slider (Solo desktop) */
.slider-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-slider:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.slider-arrow-prev {
  left: 15px;
}

.slider-arrow-next {
  right: 15px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: all;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider-dot.active {
  background: white;
  transform: scale(1.3);
}

.slider-dot:hover {
  background: white;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  width: 16px;
  text-align: center;
  color: var(--text-light);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.5);
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-input {
  display: flex;
  gap: 10px;
}

.country-code {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--text-dark);
  min-width: 100px;
  flex-shrink: 0;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.flag {
  font-size: 1rem;
}

.phone-input input {
  flex: 1;
}

.price-display {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.price-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Contador de cantidad con botones + y - circulares */
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background: #233731; /*  */
  border: none;
  border-radius: 50%;
  color: var(--button-icon); /* #c8a97e */
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(35, 55, 49, 0.3);
}

.quantity-btn:hover {
  background: #2e4a43; /* Versión más clara para hover */
  color: #d8c09e; /* Versión más clara del dorado para hover */
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(35, 55, 49, 0.4);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-btn:disabled {
  background: rgba(200, 200, 200, 0.5);
  color: rgba(160, 160, 160, 0.7);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quantity-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  min-width: 50px;
  text-align: center;
}

/* Botones del formulario */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-back {
  flex: 1;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.btn-back:hover {
  background: rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
  flex: 2;
  padding: 1rem;
  background: var(--whatsapp-green);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* ===== RESPONSIVE - MÓVIL ===== */
@media (max-width: 768px) {
  .phone-input {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .country-code {
    justify-content: center;
    width: 20%;
    max-width: 30%;
  }

  .phone-input input {
    justify-content: center;
    width: 80%;
    max-width: 80%;
  }

  .buttons-container {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .modal-btn {
    width: 100%;
    max-width: 450px;
  }

  /* EN MÓVIL: SOLO FORMULARIO, SIN SLIDER */
  .modal-content-esp {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }

  /* Ocultar completamente el slider en móvil */
  .modal-slider-column {
    display: none;
  }

  /* Formulario ocupa todo el espacio */
  .modal-form-column {
    padding: 2rem 1.5rem;
    overflow-y: auto;
    max-height: 100%;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-back,
  .btn-whatsapp {
    width: 100%;
  }

  /* Botones de cantidad más grandes en móvil */
  .quantity-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .quantity-value {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .modal-form-column {
    padding: 1.5rem;
  }

  .form-title {
    font-size: 1.3rem;
  }

  .country-code {
    justify-content: center;
    min-width: auto;
    width: 100%;
  }

  .modal-close-btn {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  /* Botones de cantidad aún más grandes en pantallas pequeñas */
  .quantity-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .quantity-value {
    font-size: 2.2rem;
  }
}
