/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  background: #fefefe;
  color: #111;
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-left .logo {
  width: 140px;
  height: 55px;
  cursor: pointer;
}
.nav-menu a {
  margin: 0 1rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: #0071e3;
}
.header-right {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.cart-icon {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  transition: color 0.3s;
  user-select: none;
}
.cart-icon:hover {
  color: #0071e3;
}
#cart-total {
  min-width: 50px;
  text-align: left;
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #fff, #f7f9fc);
  align-items: center;
}
.hero-left {
  max-width: 400px;
  text-align: center;
}
.hero-logo {
  width: 140px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.15));
}
.hero-left p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
.revendedor {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #888;
}
.apple-logo {
  width: 60px;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.25));
}
.hero-right {
  flex-shrink: 0;
}
.hero-img {
  max-width: 360px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.hero-img:hover {
  transform: scale(1.05);
}

/* Productos Section */
.productos-section {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}
.productos-section h2 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: calc(4 * 220px + 3 * 1.5rem); /* Limitar ancho máximo para 4 columnas */
  margin: 0 auto; /* Centrar el grid en la página */
}
.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}
.product-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.product-images {
  display: flex;
  gap: 6px;
  margin-bottom: 0.7rem;
  cursor: pointer;
}
.product-images img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid transparent;
  object-fit: cover;
  transition: border-color 0.3s ease;
}
.product-images img.selected {
  border-color: #0071e3;
  box-shadow: 0 0 5px #0071e3;
}
.product-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.product-desc {
  font-size: 0.85rem;
  color: #555;
  flex-grow: 1;
  margin-bottom: 0.8rem;
}
.price {
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.options {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.options select {
  min-width: 90px;
  flex: 1 1 auto;
  margin-right: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 8px 26px 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3csvg fill='%233399ff' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

/* Para que el último elemento no tenga margen */
.options select:last-of-type,
.options .button-cart:last-of-type {
  margin-right: 0;
}

.options select:hover,
.options select:focus {
  border-color: #3399ff;
  box-shadow: 0 0 5px rgba(51, 153, 255, 0.4);
}

/* Botón carrito moderno */
.options .button-cart {
  background-image: none; /* Quitar la flecha del select */
  min-width: 48px;
  padding: 8px 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #222;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
}

.options .button-cart:hover {
  border-color: #3399ff;
  color: #3399ff;
}

.buy-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.buy-btn:hover {
  background: #0071e3;
}
.buy-btn svg {
  stroke: #fff;
  width: 16px;
  height: 16px;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 1.5rem;
}
.pagination button {
  border: none;
  background: #0071e3;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  margin: 0 0.3rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.pagination button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.pagination button:hover:not(:disabled) {
  background: #005bb5;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}
.faq-section h3 {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 0.5rem;
}
.faq-btn {
  background: none;
  border: none;
  padding: 0.7rem 0;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111;
  transition: color 0.3s ease;
}
.faq-btn:hover {
  color: #0071e3;
}
.faq-content {
  display: none;
  padding: 0.5rem 0 1rem 0;
  font-size: 0.9rem;
  color: #555;
}
.faq-content.show {
  display: block;
}
.arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.arrow.rotate {
  transform: rotate(-180deg);
}

.badge-free {
  display: inline-block;
  background-color: #28a745; /* verde */
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  user-select: none;
}
/* Footer */
.footer {
  background: #111;
  color: #ddd;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  user-select: none;
}
.footer a {
  color: #58a6ff;
}
.footer a:hover {
  text-decoration: underline;
}
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ddd;
  text-decoration: none;
}
.footer-instagram svg {
  stroke: #ddd;
}

/* Animación para icono carrito */
.cart-icon.animate {
  animation: cart-bounce 0.3s ease;
}
@keyframes cart-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Checkout Styles */

/* Reducir márgenes laterales en checkout */
.checkout-main {
  max-width: 1200px; /* más ancho */
  margin: 2rem auto 4rem;
  padding: 0 1rem;
  font-family: 'Arial', sans-serif;
}

/* Contenedor checkout más ancho y con menos gap */
.checkout-container {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto 4rem;
  gap: 1.5rem; /* menos espacio entre columnas */
  padding: 0 1rem;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* Resumen del pedido - columna izquierda */
.order-summary {
  flex: 1 1 40%;
  background: #f8f8f8;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.order-summary h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0071e3;
  padding-bottom: 0.5rem;
}

.order-items {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.order-items p {
  font-style: italic;
  color: #777;
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.2rem;
  border-top: 1px solid #ccc;
  padding-top: 0.8rem;
  margin-bottom: 0.5rem;
}

.order-summary small {
  color: #555;
  font-size: 0.85rem;
}

/* Formulario de datos - columna derecha */
.shipping-details {
  flex: 1 1 60%;
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.shipping-details h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0071e3;
  padding-bottom: 0.5rem;
}

.shipping-details small {
  margin-bottom: 1rem;
  color: #666;
}

/* Form inputs */
#checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Contenedores para filas de dos inputs */
.form-row {
  display: flex;
  gap: 1rem;
}

/* Cada input de la fila toma 50% del ancho */
.form-row > div {
  flex: 1;
}

/* Inputs dentro de .form-row se expanden a todo el ancho */
.form-row input,
.form-row select {
  width: 100%;
}

#checkout-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #222;
}

/* Ajustes para inputs individuales fuera de filas */
#checkout-form > label,
#checkout-form > input,
#checkout-form > select {
  width: 100%;
  margin-bottom: 0.8rem;
}

#checkout-form input[type="text"],
#checkout-form input[type="email"],
#checkout-form select {
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

#checkout-form input[type="text"]:focus,
#checkout-form input[type="email"]:focus,
#checkout-form select:focus {
  border-color: #0071e3;
  outline: none;
}

fieldset {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

fieldset legend {
  font-weight: 700;
  padding: 0 10px;
  color: #0071e3;
}

fieldset label {
  font-weight: normal;
  margin-bottom: 0.7rem;
  display: block;
  cursor: pointer;
}

fieldset input[type="radio"] {
  margin-right: 8px;
  cursor: pointer;
}

/* Botones */
button#next-step-btn,
button#buy-btn,
button#reset-btn {
  background-color: #1E1E1E;
  color: #FFFFFF;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

button#next-step-btn:hover,
button#buy-btn:hover,
button#reset-btn:hover {
  background-color: #333333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Ocultos */
.hidden {
  display: none !important;
}

#thank-you h2 {
  color: #0071e3;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 850px) {
  .checkout-container {
    flex-direction: column;
    padding: 0 1rem;
  }
  .order-summary,
  .shipping-details {
    flex: 1 1 100%;
  }
  .form-row {
    flex-direction: column;
  }
}
/* Header base */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-left .logo {
  width: 140px;
  height: 55px;
  cursor: pointer;
}

/* Menú Desktop */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}
.nav-menu a {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
}
.nav-menu a:hover {
  color: #0071e3;
}

/* Botón menú hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

/* Header right (carrito) */
.header-right {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.cart-icon {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  transition: color 0.3s;
  user-select: none;
}
.cart-icon:hover {
  color: #0071e3;
}
#cart-total {
  min-width: 50px;
  text-align: left;
}

/* Media query para móviles */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    display: none; /* oculto por defecto */
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 10px 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 1.1rem;
    width: 100%;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
  }
  #menu-toggle {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .hero {
    flex-direction: column !important; /* Apila verticalmente */
    padding: 2rem 1rem !important;
    align-items: center !important;
  }
  
  .hero-left {
    max-width: 100% !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-logo {
    max-width: 140px !important;
    margin-bottom: 1rem !important;
  }

  .hero-right {
    max-width: 100% !important;
    width: 100% !important;
  }

  .hero-img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    object-fit: contain !important; /* Para que no se corte */
    transition: none !important;
  }
  
  .hero-img:hover {
    transform: none !important; /* Quitamos zoom en hover en móvil */
  }
}
/* ===== Correcciones para vista móvil ===== */
@media (max-width: 767px) {
  /* Ocultar menú hamburguesa */
  .menu-hamburguesa {
    display: none !important;
  }

  /* Mostrar sólo logo y carrito */
  .logo, .carrito {
    display: inline-block !important;
  }

  /* Ajustar header para centrar logo y carrito */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  /* Hero vertical */
  .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
  }

  /* Hijos del hero ocupan 100% ancho y margen inferior */
  .hero > * {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* Ajuste logo */
  .logo img {
    max-width: 120px;
    height: auto;
  }

  /* Ajuste carrito */
  .carrito {
    font-size: 1.2rem;
  }
}
.form-row {
  margin-bottom: 0.5rem; /* espacio entre filas */
}

.form-row > div {
  margin-bottom: 0.5rem; /* espacio entre inputs y etiquetas internas */
}

label {
  display: block;
  margin-bottom: 0.3rem; /* espacio entre label y su input */
}
.prev-step {
  /* float: right;  <-- elimina o comenta esta línea */
  margin-bottom: 0.5rem;
  background: none;
  border: none;
  color: #007bff;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}
.prev-step:hover {
  text-decoration: underline;
}
.prev-step-container {
  display: flex;
  justify-content: flex-end; /* Alinea el botón a la derecha */
  margin-bottom: 1rem; /* Espacio debajo del botón */
}

#prev-step-btn {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  padding: 4px 8px;
  background: transparent;
  border: none;
  color: #0071e3;
  font-weight: 600;
  cursor: pointer;
  text-align: left;   /* texto normal alineado a la izquierda */
  width: max-content; /* ancho ajustado al contenido */
  float: none;
  margin-left: auto;  /* empuja el botón a la derecha dentro del contenedor */
}
#prev-step-btn:hover {
  text-decoration: underline;
}

#options-container {
  margin-top: 0;
  padding-left: 0.5rem;  /* para separar un poco de la izquierda */
}

#options-container label {
  display: block;
  margin-bottom: 0.5rem;
}
.checkout-form-container {
  flex: 1 1 80%;      /* Ocupa aproximadamente 60% del ancho */
  min-width: 400px;   /* No se achica menos de 400px */
  max-width: 750px;   /* No crece demasiado */
  display: flex;
  flex-direction: column;
}

.order-summary {
  flex: 1 1 35%;      /* Ocupa aproximadamente 35% del ancho */
  min-width: 350px;   /* No se achica menos de 300px */
  max-width: 450px;   /* No crece demasiado */
  background: #f8f8f8;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}
#options-container {
  display: flex;
  flex-direction: column; /* cambia a columna */
  gap: 1rem;              /* espacio entre opciones */
  margin-top: 1rem;
}

/* Ocultar radios originales */
input[type="radio"][id^="optionstep2"] {
  display: none;
}

/* Estilo para las etiquetas (labels) asociadas */
input[type="radio"][id^="optionstep2"] + label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
  color: #333;
  transition: color 0.3s ease;
}

/* Círculo personalizado */
input[type="radio"][id^="optionstep2"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2.5px solid #0071e3;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Punto interior cuando está seleccionado */
input[type="radio"][id^="optionstep2"]:checked + label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #0071e3;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

/* Cambiar color del label cuando está seleccionado */
input[type="radio"][id^="optionstep2"]:checked + label {
  color: #0071e3;
}

/* Hover efecto en círculo */
input[type="radio"][id^="optionstep2"] + label:hover::before {
  border-color: #005bb5;
}

/* Foco para accesibilidad */
input[type="radio"][id^="optionstep2"]:focus + label::before {
  box-shadow: 0 0 0 3px rgba(0,113,227,0.3);
}
.spinner {
  margin: 0 auto;
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #0071e3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animación giro */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.transfer-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #000;
}

.transfer-instruction {
  font-weight: 600;
  font-size: 0.95rem;
  color: #666;
  max-width: 420px;
  margin: 0 auto 1.5rem auto; /* margen abajo agregado */
  line-height: 1.4;
}

.highlight {
  font-weight: 700;
  background-color: #f0f4ff;
  padding: 3px 8px;
  border-radius: 6px;
  margin: 0 4px;
  display: inline-block;
  font-family: monospace, monospace;
  border: 1px solid #a8b8ff; /* borde azul claro */
}
.transfer-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 10px 20px;
  font-weight: 700;
  color: #0071e3;
  border: 2px solid #0071e3;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,113,227,0.2);
}

.transfer-link:hover {
  background: #0071e3;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,113,227,0.4);
  text-decoration: none;
}
/* Estilo para el botón "Siguiente paso" */
button.siguiente-paso {
  background-color: #1E1E1E;
  color: #FFFFFF;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button.siguiente-paso:hover {
  background-color: #333333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.page-title {
  text-align: center;
}
/* Loader estilo texto con animación */
.loader {
  font-weight: 700;
  font-size: 1.2rem;
  color: #007bff;
  margin-top: 10px;
  text-align: center;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

/* Contenedor de mensaje */
.message-container {
  margin-top: 10px;
  font-weight: 700;
  color: #d9534f; /* rojo suave para error */
  text-align: center;
}
#cuotas-section {
  margin-top: 0.5rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: #222;
  max-width: 350px;
  user-select: none;
}

#cuotas-section strong {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}

#cuotas-section small {
  display: block;
  margin-top: 2px;
  margin-bottom: 8px;
  color: #666;
  font-weight: 500;
  font-size: 0.75rem;
}

#cuotas-section label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  margin-bottom: 6px;
  padding: 0.3rem 0.5rem;
  font-weight: 600;
  color: #000;
  font-size: 0.9rem; /* Corregido font-size a visible */
  gap: 6px; /* espacio entre radio y texto izquierdo */
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

#cuotas-section label:hover {
  background-color: #f0f8ff;
}

#cuotas-section input[type="radio"] {
  margin: 0;
  padding: 0;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  accent-color: #3399ff;
  display: inline-block;
  vertical-align: middle;
}

#cuotas-section .left-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #000;
  flex-grow: 1;
  user-select: none;
}

#cuotas-section .sin-interes {
  color: #28a745;
  font-weight: 500;
  font-style: italic;
  font-size: 0.75rem;
}

#cuotas-section .right-text {
  min-width: 100px;
  text-align: right;
  color: black;
  font-weight: 700;
  font-size: 0.9rem;
  user-select: none;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

#cuotas-section .cuotas-multiplo {
  font-weight: normal;
}

#cuotas-section .cuotas-precio {
  font-weight: 700;
}
.titulo-privacidad {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
      font-weight: 700;
      font-size: 2rem; /* tamaño similar a un h1 */
      line-height: 1.2;
      margin-bottom: 1rem;
      color: #222;
	  }
	  ul {
  padding-left: 1.5rem; /* o el valor que prefieras */
}

li {
  margin-left: 1rem; /* opcional, para separar más el texto */
}
/* Ajuste para checkout-main en móviles */
@media (max-width: 850px) {
  main.checkout-main {
    max-width: 100vw !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Que checkout-container apile verticalmente en móvil */
  .checkout-container {
    flex-direction: column !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  /* Que cada sección del checkout ocupe 100% */
  .checkout-container > section {
    width: 100% !important;
    margin-bottom: 2rem;
  }

  /* Ajustar inputs y divs internos para que no excedan ancho */
  .form-row > div {
    flex: 1 1 100% !important; /* Ocupan todo el ancho y apilan */
    max-width: 100% !important;
  }

  /* Inputs, selects, buttons y textos que no excedan ancho */
  input, select, button, textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 850px) {
  fieldset {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.8rem !important;
    align-items: center !important;
  }

  fieldset label {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    white-space: normal !important; /* Permite que texto divida */
    flex: 1 1 45% !important;
    min-width: 150px !important;
    box-sizing: border-box !important;
  }

  fieldset label:last-child {
    margin-right: 0 !important;
  }

  fieldset input[type="radio"] {
    margin-right: 0.25rem !important; /* Menor espacio */
    width: auto !important;
    height: auto !important;
  }

  fieldset label strong {
    margin-left: 0.3rem !important;
    font-weight: 700 !important;
  }

  .badge-free {
    font-size: 0.7rem !important;
  }
}
#options-container {
  display: flex;
  flex-direction: column; /* opciones apiladas verticalmente */
  gap: 1rem;              /* espacio entre opciones */
  padding-left: 0.5rem;   /* separación de la izquierda */
  margin-top: 1rem;
  align-items: flex-start; /* alinear a la izquierda */
}

#options-container label {
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;    /* evitar que se dividan las palabras */
}

#options-container label input[type="radio"] {
  margin-right: 0.5rem;
  cursor: pointer;
}

#options-container label i {
  margin-right: 0.4rem;
  font-size: 1.2rem;
  vertical-align: middle;
}
@media (max-width: 850px) {
  #cuotas-section label {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  #cuotas-section label input[type="radio"] {
    flex: 0 0 20px !important; /* ancho fijo */
    width: 20px !important;
    height: 20px !important;
    margin-right: 0.75rem !important;
  }

  #cuotas-section .left-text {
    flex: 1 1 auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #cuotas-section .right-text {
    flex-shrink: 0 !important;
    margin-left: 1rem !important;
    white-space: nowrap !important;
  }
}


