/* webhosting.css — listado standalone de planes por tipo (Fase Catálogo).
   Tokens de Figma (file XhcZLjtE2ZAqFmPu85togi, --section_services-plans). */

.nx-wh-section {
  background: #e9e8e7;
  padding: 96px 0 120px;
}

/* ─── Header ─── */
.nx-wh-header {
  max-width: 768px;
  margin: 0 auto 64px;
  text-align: center;
}
.nx-wh-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #06162b;
  margin: 0 0 12px;
}
.nx-wh-subtitle {
  font-size: 1.25rem;
  color: #212e3f;
  line-height: 1.5;
  margin: 0 0 24px;
}

/* ─── Toggle período ─── */
.nx-wh-periodo {
  display: inline-flex;
  gap: 8px;
  background: #354457;
  padding: 6px;
  border-radius: 9999px;
}
/* Los botones de período que un tipo no ofrece se ocultan vía [hidden] desde el JS. */
.nx-wh-periodo-btn[hidden] { display: none; }
.nx-wh-periodo-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  height: 44px;
  min-width: 101px;
  padding: 8px 12px;
  border-radius: 9999px;
  background: transparent;
  color: #d2dae6;
  font-weight: 600;
  font-size: 1rem;
  transition: background .15s, color .15s;
}
.nx-wh-periodo-btn.is-active {
  background: #0f1a28;
  color: #f6fd60;
}

/* ─── Grid de cards ─── */
.nx-wh-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}
.nx-wh-grid-item {
  flex: 1 1 320px;
  max-width: 384px;
  min-width: 320px;
  display: flex;
}
/* Plan sin variante del período activo → oculto (el JS lo marca). */
.nx-wh-grid-item.is-hidden-period { display: none !important; }
/* Planes "mas" (más allá de los 3 visibles) ocultos hasta "Mostrar todos". */
.nx-wh-grid-item.is-mas { display: none; }
.nx-wh-grid.is-showing-all .nx-wh-grid-item.is-mas:not(.is-hidden-period) { display: flex; }

/* ─── Card ─── */
.nx-wh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #b6bfcd;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(15,26,40,0.1), 0 1px 2px -1px rgba(15,26,40,0.1);
}
.nx-wh-card.is-destacado {
  border-color: #0f1a28;
  box-shadow: 0 12px 16px -4px rgba(15,26,40,0.08), 0 4px 6px -2px rgba(15,26,40,0.03);
}

/* Cinta "Más Vendido" (decisión de producto, no de Figma) — replica dominios/hosting. */
.nx-wh-ribbon {
  position: absolute;
  top: -11px;
  right: 24px;
  padding: 4px 14px;
  background: #f6fd60;
  color: #0f1a28;
  border: 1px solid #0f1a28;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(15,26,40,.1);
  z-index: 1;
}

/* Checkbox Comparar — oculto hasta "Mostrar todos". */
.nx-wh-compare { display: none; align-items: center; gap: 12px; cursor: pointer; }
.nx-wh-grid.is-showing-all .nx-wh-compare { display: inline-flex; }
.nx-wh-compare-input {
  appearance: none;
  width: 20px; height: 20px;
  border: 1px solid #0f1a28;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nx-wh-compare-input:checked {
  background: #898ef2;
  border-color: #898ef2;
}
.nx-wh-compare-input:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.nx-wh-compare-label { font-weight: 500; color: #212e3f; font-size: 1rem; }

/* Reserva 2 líneas para el nombre → precio/botones alineados entre cards. */
.nx-wh-card-nombre { font-size: 1.5rem; font-weight: 600; color: #06162b; margin: 0 0 4px; line-height: 1.25; min-height: 2.5em; }
.nx-wh-card-desc { font-size: 0.875rem; color: #212e3f; margin: 0; }

.nx-wh-card-precio-line { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.nx-wh-card-precio-amount { font-size: 3rem; font-weight: 700; line-height: 1.2; letter-spacing: -1px; color: #06162b; }
.nx-wh-card-precio-suffix { font-size: 1rem; font-weight: 600; color: #354457; }
.nx-wh-card-precio-renueva { font-size: 0.875rem; color: #354457; margin: 4px 0 0; min-height: 21px; }
.nx-wh-card-no-disponible { font-size: 0.875rem; color: #6b7280; margin: 0; }

.nx-wh-card-actions { display: flex; flex-direction: column; gap: 16px; }

/* Contratar — skeuomorphic (igual que "Buscar"/"Agregar"): border navy + bg
   amarillo + shadow-xs-skeuomorphic. (compra.css NO se carga en /webhosting.) */
.nx-wh-card .nx-btn-contratar,
.nx-wh-cmp-col-head .nx-btn-contratar {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 9999px;
  border: 1px solid #0F1A28;
  background: #f6fd60;
  color: #06162b;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    0 1px 2px 4px rgba(15, 26, 40, 0.05),
    inset 0 -2px 0 0 rgba(250, 255, 69, 0.14),
    inset 0 0 0 1px rgba(127, 140, 247, 0.18);
  transition: box-shadow 0.18s ease, padding 0.18s ease, filter 0.18s ease;
}
.nx-wh-card .nx-btn-contratar:hover:not(:disabled),
.nx-wh-cmp-col-head .nx-btn-contratar:hover:not(:disabled) {
  padding-top: 10px;
  padding-bottom: 14px;
  box-shadow: inset 0 -4px 0 0 #0f1a28;
}
.nx-wh-card .nx-btn-contratar:disabled,
.nx-wh-cmp-col-head .nx-btn-contratar:disabled { opacity: .5; cursor: not-allowed; }

/* Contratar destacado — gradiente Figma (yellow → verde → lila) + border navy. */
.nx-wh-card .nx-btn-contratar.is-gradient {
  background: linear-gradient(90deg, #f6fd60 0%, #c2f9c6 50%, #898ef2 100%);
  box-shadow: 0 12px 16px -4px rgba(250, 255, 69, 0.14), 0 4px 6px -2px rgba(250, 255, 69, 0.08);
}
.nx-wh-card .nx-btn-contratar.is-gradient:hover:not(:disabled) {
  filter: brightness(1.03);
  padding-top: 10px;
  padding-bottom: 14px;
  box-shadow: inset 0 -4px 0 #898ef2;
}

.nx-wh-card-contacto { text-align: center; color: #354457; font-weight: 600; text-decoration: none; }
.nx-wh-card-contacto:hover { color: #0f1a28; text-decoration: underline; text-underline-offset: 4px; }

.nx-wh-card-divider { border: 0; height: 1px; background: #e5e7eb; margin: 0; }

.nx-wh-card-incluye-title { font-weight: 600; color: #06162b; margin: 0 0 4px; }
.nx-wh-card-features { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nx-wh-card-feature { display: flex; gap: 12px; align-items: flex-start; color: #354457; }
.nx-wh-card-check { flex-shrink: 0; color: #898ef2; }

/* ─── Bottom actions ─── */
.nx-wh-bottom-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}
.nx-wh-link-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #354457;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 9999px;
  cursor: pointer;
}
.nx-wh-link-btn:hover { color: #0f1a28; background: rgba(15, 26, 40, 0.06); }
.nx-btn-outline-light {
  background: #ffffff;
  border: 1px solid #354457;
  color: #212e3f;
  box-shadow: 0 1px 2px rgba(15,26,40,0.05);
}
.nx-btn-outline-light:hover {
  padding-top: 10px; padding-bottom: 14px;
  box-shadow: inset 0 -4px 0 0 rgba(15,26,40,0.35);
}

/* ─── Comparativa INLINE ─── */
.nx-wh-cmp-inline { background: #e9e8e7; padding: 8px 0 96px; }

/* Scroll-box SIN barras visibles; el desplazamiento se indica con flechas flotantes. */
/* Gutters laterales para alojar las flechas horizontales FUERA del box. */
.nx-wh-cmp-scroll-wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 52px; }
.nx-wh-cmp-scroll {
  overflow: auto;
  max-height: 80vh;
  border: 1px solid #e2e4e9;
  border-radius: 20px;
  background: #fff;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nx-wh-cmp-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Flechas flotantes de desplazamiento (reemplazan las barras). */
.nx-wh-cmp-arrow {
  position: absolute; z-index: 6;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 9999px;
  background: #0f1a28; color: #ffffff; cursor: pointer;
  box-shadow: 0 6px 16px -4px rgba(15, 26, 40, 0.45);
  transition: opacity .2s ease, transform .15s ease, background .15s ease;
}
.nx-wh-cmp-arrow[hidden] { display: none; }
.nx-wh-cmp-arrow:hover { background: #1d2b3f; }
/* Vertical: FIJA debajo de la tabla (no se mueve); solo gira el sentido ↓/↑. */
.nx-wh-cmp-arrow-v { top: 100%; left: 50%; transform: translate(-50%, 10px); }
.nx-wh-cmp-arrow-v:hover { transform: translate(-50%, 10px) scale(1.08); }
.nx-wh-cmp-arrow-v.is-up svg { transform: rotate(180deg); }
/* Horizontal: una sola FIJA en el gutter derecho; solo gira el sentido →/←. */
.nx-wh-cmp-arrow-h { right: 2px; top: 50%; transform: translateY(-50%); }
.nx-wh-cmp-arrow-h:hover { transform: translateY(-50%) scale(1.08); }
.nx-wh-cmp-arrow-h.is-left svg { transform: rotate(180deg); }

/* Dots de navegación (estilo carrusel): un punto por columna/zona; indican que la tabla
   se desliza para ver más. Los genera cmp-dots.js solo cuando hay scroll horizontal (móvil). */
.nx-wh-cmp-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 7px; margin-top: 14px;
}
.nx-wh-cmp-dots[hidden] { display: none; }
.nx-wh-cmp-dot {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 9999px;
  background: rgba(15, 26, 40, 0.22); cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.nx-wh-cmp-dot:hover { background: rgba(15, 26, 40, 0.42); }
.nx-wh-cmp-dot.is-active { background: #0f1a28; transform: scale(1.35); }
.nx-wh-cmp-dot.is-hidden { display: none; }
.nx-wh-cmp-dot.is-edge { transform: scale(0.55); opacity: .6; }
.nx-wh-cmp-dot.is-edge.is-active { transform: scale(1.35); opacity: 1; }

.nx-wh-cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; }

/* Sticky: header de planes arriba; columna de etiquetas a la izquierda. */
.nx-wh-cmp-table thead th { position: sticky; top: 0; z-index: 3; background: #ffffff; }
.nx-wh-cmp-label,
.nx-wh-cmp-grupo-label { position: sticky; left: 0; z-index: 2; }
/* El corner (esquina sticky de la columna fija) debe quedar SOBRE los headers de plan
   (z-index 3) para que al desplazar horizontal los planes pasen por detrás, no encima. */
.nx-wh-cmp-corner { position: sticky; top: 0; left: 0; z-index: 5; width: 230px; min-width: 230px; border: 0; background: #fff; }

/* Cada columna de plan delimitada con un borde sutil para alinear visualmente. */
.nx-wh-cmp-head-cell,
.nx-wh-cmp-cell,
.nx-wh-cmp-grupo-cell { border-left: 1px solid #edeff3; }

.nx-wh-cmp-head-cell { padding: 24px 20px; vertical-align: bottom; text-align: center; min-width: 220px; border-bottom: 1px solid #e2e4e9; }
.nx-wh-cmp-col-head { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.nx-wh-cmp-col-nombre { font-size: 1.125rem; font-weight: 600; color: #06162b; margin: 0; line-height: 1.3; min-height: 2.6em; }
.nx-wh-cmp-col-precio { display: flex; flex-direction: column; margin-bottom: 4px; }
.nx-wh-cmp-precio-amount { font-size: 1.875rem; font-weight: 700; letter-spacing: -.5px; color: #06162b; }
.nx-wh-cmp-precio-suffix { font-size: .8125rem; color: #354457; font-weight: 600; }

/* Grupos de características. */
.nx-wh-cmp-grupo-label { text-align: left; padding: 22px 20px 10px; font-weight: 700; color: #06162b; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; background: #f1f3f7; }
.nx-wh-cmp-grupo-cell { background: #f1f3f7; }

/* Filas con zebra suave. La columna de etiquetas hereda el bg de su fila (sticky opaca). */
.nx-wh-cmp-fila.is-even { background: #f7f9fc; }
.nx-wh-cmp-fila.is-odd  { background: #ffffff; }
.nx-wh-cmp-fila.is-even .nx-wh-cmp-label { background: #f7f9fc; }
.nx-wh-cmp-fila.is-odd  .nx-wh-cmp-label { background: #ffffff; }
.nx-wh-cmp-label { text-align: left; font-weight: 500; color: #212e3f; padding: 14px 20px; width: 230px; min-width: 230px; font-size: .95rem; }
.nx-wh-cmp-cell { text-align: center; padding: 14px 20px; color: #354457; min-width: 220px; font-size: .95rem; }
.nx-wh-cmp-check { display: inline-block; vertical-align: middle; }
.nx-wh-cmp-dash { color: #aab2bf; font-size: 1.1rem; }

/* Columna oculta (plan no marcado o sin variante del período). */
.is-col-hidden { display: none !important; }

/* "Contáctanos" en las CARDS = ghost (sin fondo; hover gris claro). Igual estilo
   para "Mostrar todos los planes". */
.nx-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  color: #354457;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.nx-btn-ghost:hover { background: rgba(15, 26, 40, 0.06); color: #0f1a28; }

/* "Contáctanos" en la TABLA = outline blanco + borde navy; hover gris + borde
   grueso navy abajo + texto sube (igual que Contratar, pero fondo blanco). */
.nx-btn-contactanos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 9999px;
  border: 1px solid #0f1a28;
  background: #fff;
  color: #0f1a28;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .18s ease, padding .18s ease, background .18s ease;
}
.nx-btn-contactanos:hover {
  background: #eef0f3;
  padding-top: 10px;
  padding-bottom: 14px;
  box-shadow: inset 0 -4px 0 0 #0f1a28;
}

/* ─── Hero por-tipo ─── */
.nx-wh-hero { position: relative; background: #0f1a28; overflow: hidden; }
.nx-wh-hero-bg { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(250,255,69,0.10), rgba(194,249,198,0.07) 50%, rgba(127,140,247,0.16)); }
.nx-wh-hero-inner { position: relative; display: flex; align-items: stretch; gap: 64px; min-height: 560px; }
.nx-wh-hero-content { flex: 1 1 0; max-width: 768px; padding: 96px 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }
.nx-wh-hero-badge { display: inline-flex; align-items: center; padding: 4px 12px; background: #d2dae6; border: 1px solid #9aa5b4; border-radius: 9999px; color: #212e3f; font-weight: 600; font-size: 0.875rem; }
.nx-wh-hero-title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -1.2px; color: #ffffff; margin: 0; }
.nx-wh-hero-subtitle { font-size: 1.25rem; line-height: 1.5; color: #d2dae6; max-width: 480px; margin: 0; }
.nx-wh-hero-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 8px; padding: 12px 22px; border-radius: 9999px;
  border: 1px solid #0F1A28; background: #f6fd60; color: #06162b;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  box-shadow: 0 1px 2px 4px rgba(15,26,40,0.05), inset 0 -2px 0 0 rgba(250,255,69,0.14), inset 0 0 0 1px rgba(127,140,247,0.18);
  transition: box-shadow 0.18s ease, padding 0.18s ease;
}
.nx-wh-hero-cta:hover { padding-top: 10px; padding-bottom: 14px; box-shadow: inset 0 -4px 0 0 #0f1a28; }
.nx-wh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nx-wh-hero-actions .nx-wh-hero-cta { margin-top: 0; }
.nx-wh-hero-cta.is-outline { background: transparent; border-color: #f6fd60; color: #f6fd60; box-shadow: none; }
.nx-wh-hero-cta.is-outline:hover { background: #f6fd60; color: #06162b; box-shadow: inset 0 -4px 0 0 #0f1a28; }
.nx-wh-hero-visual { flex: 1 1 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, rgba(137,142,242,0.45), rgba(137,142,242,0) 82%); }
.nx-wh-hero-icon { width: 240px; height: 240px; }
#planes { scroll-margin-top: 80px; }

/* ─── Sección value (imágenes) ─── */
.nx-wh-value { background: #7f8cf7; padding: 80px 0; }
.nx-wh-value-list { display: flex; flex-direction: column; gap: 24px; max-width: 1080px; margin: 0 auto; }
.nx-wh-value-card { display: flex; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 24px -4px rgba(10,13,18,0.08), 0 8px 8px -4px rgba(10,13,18,0.03); }
.nx-wh-value-img { flex: 0 0 38%; min-height: 220px; background-size: cover; background-position: center; }
.nx-wh-value-text { flex: 1 1 0; padding: 32px 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.nx-wh-value-title { font-size: 1.5rem; font-weight: 700; color: #06162b; margin: 0; }
.nx-wh-value-desc { font-size: 1rem; line-height: 1.6; color: #354457; margin: 0; }

/* ─── Recomendaciones (otras opciones de hosting) ─── */
.nx-wh-rec { background: #e9e8e7; padding: 80px 0 96px; }
.nx-wh-rec-list { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; max-width: 1280px; margin: 0 auto; }
.nx-wh-rec-card { flex: 1 1 320px; max-width: 384px; display: flex; flex-direction: column; background: #0f1a28; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 24px -4px rgba(10,13,18,0.12); }
.nx-wh-rec-icon { height: 200px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(137,142,242,0.35), rgba(15,26,40,0) 65%); }
.nx-wh-rec-icon img { width: 120px; height: 120px; }
.nx-wh-rec-body { padding: 28px 24px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-top: 2px solid #2b2f63; }
.nx-wh-rec-badge { display: inline-flex; padding: 4px 12px; background: #f6fd60; border-radius: 9999px; color: #0f1a28; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.03em; }
.nx-wh-rec-title { font-size: 1.5rem; font-weight: 600; color: #fff; margin: 0; }
.nx-wh-rec-desc { font-size: 0.95rem; line-height: 1.5; color: #d2dae6; margin: 0; }
.nx-wh-rec-btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 9999px; background: #fff; color: #0f1a28; font-weight: 600; text-decoration: none; transition: box-shadow 0.18s ease, padding 0.18s ease; }
.nx-wh-rec-btn:hover { padding-top: 8px; padding-bottom: 12px; box-shadow: inset 0 -4px 0 0 rgba(15,26,40,0.3); }

/* ─── Flexible: oferta única ─── */
.nx-wh-flex { background: #e9e8e7; padding: 96px 0 96px; }
.nx-wh-flex-grid { display: flex; gap: 48px; align-items: center; max-width: 1080px; margin: 0 auto; }
.nx-wh-flex-bullets { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; }
.nx-wh-flex-bullet { display: flex; gap: 16px; align-items: flex-start; }
.nx-wh-flex-bullet-icon { flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #b6bfcd; border-radius: 12px; color: #0f1a28; background: #fff; }
.nx-wh-flex-bullet-title { font-size: 1.125rem; font-weight: 600; color: #06162b; margin: 0 0 4px; }
.nx-wh-flex-bullet-desc { font-size: 0.95rem; line-height: 1.5; color: #354457; margin: 0; }
.nx-wh-flex-card { flex: 0 0 384px; max-width: 384px; gap: 16px; }
.nx-wh-flex-card-desc { font-size: 0.9rem; line-height: 1.5; color: #354457; margin: 0; }
.nx-wh-flex-card-regalo { font-size: 1.25rem; line-height: 1.3; color: #06162b; margin: 8px 0 0; }
.nx-wh-flex-card-equiv { font-size: 0.8125rem; font-style: italic; color: #354457; margin: 4px 0 0; }
.nx-wh-flex-actions { display: flex; justify-content: center; margin-top: 48px; }

/* ─── Flexible: tabla de tarifas (reusa la comparativa, sin scroll vertical) ─── */
.nx-wh-tarifas-scroll { max-height: none; }
.nx-wh-tarifas-zona { vertical-align: top; }
.nx-wh-tarifas-zona-titulo { display: block; font-size: 1rem; font-weight: 600; color: #06162b; }
.nx-wh-tarifas-zona-comentario { display: block; max-width: 260px; margin: 4px auto 0; font-size: 0.78rem; font-style: italic; font-weight: 400; line-height: 1.35; color: #5a6776; }

@media (max-width: 767px) {
  .nx-wh-flex-grid { flex-direction: column; gap: 32px; }
  .nx-wh-flex-card { flex-basis: auto; width: 100%; max-width: 100%; }
}

@media (max-width: 767px) {
  .nx-wh-section, .nx-wh-flex { padding: 56px 0 80px; }
  .nx-wh-header { margin-bottom: 40px; }
  .nx-wh-grid { gap: 20px; }
  .nx-wh-bottom-actions { flex-direction: column; }
  .nx-wh-hero-inner { flex-direction: column; gap: 0; min-height: 0; }
  .nx-wh-hero-content { padding: 56px 0 32px; }
  .nx-wh-hero-visual { padding: 0 0 48px; }
  .nx-wh-hero-icon { width: 160px; height: 160px; }
  .nx-wh-value-card { flex-direction: column; }
  .nx-wh-value-img { flex-basis: auto; min-height: 180px; }
  .nx-wh-value-text { padding: 24px; }
  .nx-wh-cmp-scroll-wrap { padding: 0; }
  .nx-wh-cmp-arrow-h { display: none; }
  /* Letra ~2px más chica en las tablas comparativas/tarifas en móvil. */
  .nx-wh-cmp-label, .nx-wh-cmp-cell { font-size: .82rem; }
  .nx-wh-tarifas-zona-titulo { font-size: .875rem; }
  /* Columnas más angostas en móvil: caben la columna de recurso (sticky) + una zona COMPLETA
     (el valor ya no se corta), y asoma la siguiente para invitar a deslizar. Menos padding. */
  .nx-wh-cmp-corner,
  .nx-wh-cmp-label,
  .nx-wh-cmp-grupo-label { width: 128px; min-width: 128px; padding-left: 12px; padding-right: 10px; }
  /* Cada zona llena TODO el espacio disponible (var la fija cmp-dots.js = ancho visible − columna
     sticky). Así se ve UNA zona completa por vista, sin que asome la siguiente cortada. */
  .nx-wh-cmp-head-cell,
  .nx-wh-cmp-cell,
  .nx-wh-cmp-grupo-cell {
    padding-left: 12px; padding-right: 12px;
  }
  /* Tarifa flexible: una zona llena la vista (comportamiento actual). */
  [data-cmp-mode="zone"] .nx-wh-cmp-head-cell,
  [data-cmp-mode="zone"] .nx-wh-cmp-cell,
  [data-cmp-mode="zone"] .nx-wh-cmp-grupo-cell {
    min-width: var(--cmp-zone-w, 176px);
    width: var(--cmp-zone-w, 176px);
  }
  /* Comparadores: 2-3 columnas por vista (var la fija cmp-dots.js). */
  [data-cmp-mode="compare"] .nx-wh-cmp-head-cell,
  [data-cmp-mode="compare"] .nx-wh-cmp-cell,
  [data-cmp-mode="compare"] .nx-wh-cmp-grupo-cell {
    min-width: var(--cmp-col-w, 160px);
    width: var(--cmp-col-w, 160px);
  }
  .nx-wh-tarifas-zona-comentario { max-width: none; }
  /* Encaje firme a cada zona al deslizar (la zona queda justo después de la columna sticky). */
  .nx-wh-cmp-scroll { scroll-snap-type: x mandatory; scroll-padding-left: 128px; }
  .nx-wh-cmp-head-cell, .nx-wh-cmp-cell { scroll-snap-align: start; }
}

/* ─── Dedicado: configurador SDA ─── */
.nx-ded { background: #e9e8e7; padding: 8px 0 64px; }
.nx-ded-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; max-width: 1280px; margin: 0 auto; }
.nx-ded-controls { flex: 1 1 520px; min-width: 320px; display: flex; flex-direction: column; gap: 28px; background: #fff; border: 1px solid #e2e6ec; border-radius: 16px; padding: 28px; }
.nx-ded-resumen { flex: 1 1 360px; max-width: 420px; min-width: 300px; }
/* En desktop, el resumen "Servidor a la medida" sigue el scroll (como el Resumen de /compra)
   para no perder el monto en configuradores largos. Cubre VPS y Dedicado (clase compartida).
   Solo en 2 columnas: bajo ~1024px el layout se apila y sticky no aplica. */
@media (min-width: 1024px) {
  .nx-ded-resumen { position: sticky; top: 24px; align-self: flex-start; }
}

.nx-ded-item-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.nx-ded-item-label { font-size: 1rem; font-weight: 600; color: #06162b; }
/* Título de item con icono de recurso a la izquierda + subtítulo */
.nx-ded-item-titulo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nx-ded-item-icon { flex-shrink: 0; color: #06162b; }
.nx-ded-item-labelwrap { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.nx-ded-item-sub { font-size: .78rem; font-weight: 400; color: #5a6776; }
.nx-ded-item-fijo { display: flex; justify-content: space-between; align-items: center; }
.nx-ded-item-valor { font-size: .95rem; color: #354457; }
.nx-ded-item-valor strong { color: #06162b; font-size: 1.05rem; }
.nx-ded-item-precio { font-weight: 400; color: #5a6776; font-size: .85rem; }

/* Slider — track relleno (lila) hasta el thumb + thumb pill lila + marcas de salto (Figma) */
.nx-ded-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 9999px; outline: none; --fill: 0%; background: linear-gradient(to right, #898ef2 0 var(--fill), #d7dde6 var(--fill) 100%); }
.nx-ded-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 18px; border-radius: 9999px; background: #898ef2; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15,26,40,.25); cursor: pointer; }
.nx-ded-range::-moz-range-thumb { width: 26px; height: 18px; border-radius: 9999px; background: #898ef2; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15,26,40,.25); cursor: pointer; }
.nx-ded-ticks { display: flex; justify-content: space-between; align-items: flex-start; margin: 7px 11px 0; }
.nx-ded-ticks span { width: 2px; height: 7px; background: #c2c9d4; border-radius: 1px; }

/* Selector (WHM por tramo) */
.nx-ded-select { width: 100%; height: 44px; border: 1px solid #b6bfcd; border-radius: 12px; padding: 0 12px; font-size: 1rem; color: #06162b; background: #fff; }
.nx-ded-select:focus { border-color: #0f1a28; outline: none; }

/* Soporte — cards seleccionables con icono + precio por opción (Figma) */
.nx-ded-soporte-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #06162b; }
.nx-ded-soporte-icon { flex-shrink: 0; }
.nx-ded-soporte-cards { display: flex; gap: 8px; }
.nx-ded-sop-card { flex: 1 1 0; min-width: 0; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid #9aa5b4; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.nx-ded-sop-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.nx-ded-sop-radio { position: relative; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; border: 2px solid #b6bfcd; border-radius: 50%; background: #fff; transition: border-color .15s, background .15s; }
.nx-ded-sop-card input:checked ~ .nx-ded-sop-radio { border-color: #6973ff; background: #6973ff; }
.nx-ded-sop-card input:checked ~ .nx-ded-sop-radio::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.nx-ded-sop-card:has(input:checked) { border-color: #6973ff; box-shadow: 0 0 0 1px #6973ff; }
.nx-ded-sop-card input:focus-visible ~ .nx-ded-sop-radio { box-shadow: 0 0 0 3px rgba(105,115,255,.35); }
.nx-ded-sop-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; justify-content: center; }
.nx-ded-sop-body .nx-ded-radio-label { font-size: 1rem; font-weight: 500; color: #06162b; }

/* Servicios incluidos — toggles bloqueados en ON */
.nx-ded-incluidos { display: flex; flex-direction: column; gap: 16px; }
.nx-ded-incluidos-title { font-size: .8125rem; font-weight: 700; color: #06162b; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.nx-ded-switch.is-locked { cursor: default; }

/* Toggle (IP adicional) */
.nx-ded-item-toggle { display: flex; justify-content: space-between; align-items: center; }
.nx-ded-switch { position: relative; display: inline-block; width: 48px; height: 28px; cursor: pointer; }
.nx-ded-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.nx-ded-switch-track { position: absolute; inset: 0; background: #b6bfcd; border-radius: 9999px; transition: background .18s; }
.nx-ded-switch-track::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .18s; box-shadow: 0 1px 3px rgba(15,26,40,.3); }
.nx-ded-switch input:checked + .nx-ded-switch-track { background: #1f9d57; }
.nx-ded-switch input:checked + .nx-ded-switch-track::before { transform: translateX(20px); }

.nx-ded-ip-fija { font-size: .95rem; color: #354457; margin: 0; }

/* Resumen */
.nx-ded-precio { display: flex; flex-direction: column; margin-top: 8px; }
.nx-ded-precio-amount { font-size: 2rem; font-weight: 700; color: #06162b; letter-spacing: -.5px; }
.nx-ded-precio-suffix { font-size: .8125rem; font-weight: 600; color: #354457; }
.nx-ded-precio-normal { font-size: .9rem; color: #5a6776; margin: 4px 0 4px; }
.nx-ded-precio-normal [data-ded-normal] { text-decoration: line-through; }
.nx-ded-descto { color: #1f9d57; font-weight: 600; margin-left: 6px; }
.nx-ded-precio-nota { font-size: .78rem; color: #5a6776; margin: 0 0 16px; line-height: 1.35; }
.nx-ded-resumen .nx-btn-contratar { width: 100%; }
.nx-ded-contactanos { display: block; text-align: center; margin-top: 12px; color: #354457; font-weight: 600; text-decoration: none; }
.nx-ded-contactanos:hover { text-decoration: underline; }
.nx-ded-config-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; color: #354457; }
.nx-ded-config-list li { display: flex; align-items: flex-start; gap: 8px; }
.nx-ded-config-check { flex-shrink: 0; margin-top: 1px; color: #898ef2; }

@media (max-width: 767px) { .nx-ded-grid { gap: 20px; } .nx-ded-controls { padding: 20px; } }
