/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
@media (min-width: 768px){
	.rows-heading .e-n-tabs-heading{
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
	}
}
/* === SELECT CPU (Elementor) === */
.elementor-field-group-cpu .elementor-select-wrapper {
  position: relative;
}

.elementor-field-group-cpu select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  height: 44px;

  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;

  padding: 0 44px 0 14px;

  font-size: 14px;
  font-weight: 500;
  color: #111;

  cursor: pointer;
}

/* Hover */
.elementor-field-group-cpu select:hover {
  border-color: #bfbfbf;
}

/* Focus */
.elementor-field-group-cpu select:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 1px rgba(43, 108, 176, 0.25);
} 
.elementor-field-type-select select{
	border: 1px solid #ddd !important;
}
/* === RADIOS COMO BOTONES (FIX DEFINITIVO) === */

.elementor-field-type-radio .elementor-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* OCULTAR radio real (forzado) */
.elementor-field-type-radio input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* Botón visual */
.elementor-field-type-radio .elementor-field-option label {
	font-family: "Titillium Web";
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 78px;


  padding: 0 18px;

  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 12px;

  font-size: 25px;      /* 🔼 texto más grande */
  font-weight: 600;
  color: #000;

  cursor: pointer;
  user-select: none;

  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Hover */
.elementor-field-type-radio .elementor-field-option label:hover {
  border-color: #bfbfbf;
}

/* Seleccionado */
.elementor-field-type-radio input[type="radio"]:checked + label {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.45);
		color: #fff !important
}

/* Focus accesible */
.elementor-field-type-radio input[type="radio"]:focus + label {
  outline: 2px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}


/* === VDS SUMMARY === */
.vds-summary {
  border: 3px solid #0079FE;
  border-radius: 16px;
  padding: 20px 50px;
	margin-bottom: 0px
}

.vds-summary h3 {
  text-align: center;
  color: #0079FE;
  margin-bottom: 24px;
  font-size: 25px;
	font-weight: 700;
}

.vds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vds-grid strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.vds-grid span {
  font-size: 20px;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .vds-grid {
    grid-template-columns: 1fr;
  }
}
/* === PRICE BANNER === */
.price-banner {
  border: 2px solid #0d6efd;
  background: #000;
  border-radius: 6px;
  margin-top: 30px;
}
.price-content h3 {
  color: #0d6efd;
  margin-bottom: 18px;
  font-size: 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #fff;
  font-size: 15px;
}

.price-row strong {
  font-size: 25px;
}

.price-savings {
  margin-top: 10px;
  color: #00c853;
  font-size: 14px;
  font-weight: 600;
}

/* === VDS EXTRA INFO (PUERTO / REGIÓN) === */

.vds-extra-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
	align-items: center;
}

/* CONTENEDOR icono + badge */
.vds-extra-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.vds-extra-item img{
	width: 140px;
	height: 140px;
	object-fit:cover;
	object-position: center;
}
.vds-extra-icon {
  width: 90px;
  height: auto;
}

/* Badge azul */
.vds-extra-badge {
  display: inline-block;
  background: #0d6efd;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 25px;
	text-align: center;
  line-height: 1.2;
  font-weight: 700;
  margin-left: -40px;
}

.vds-extra-badge strong {
  font-weight: 700;
}
.elementor-field-group-field_a60dd1f label{
	font-size: 20px !important;
    font-weight: 400 !important;
    padding-bottom: 10px !important;
}
.elementor-field-group-field_a60dd1f  input{
	box-shadow: 1px 1px 4px 2px rgba(0,0,0,0.25);
}
.vds-link{
	text-align: right;
	margin-top: 10px
}
.vds-link a{
	font-size: 20px;
  font-weight: 700;
	text-decoration:underline;
	color: #0079FE;
}
.form-title{
	color: #000000;
	font-size: 25px;
	font-weight: 700;
	text-align: center;
	margin-bottom:0px;
}

@media (min-width: 1025px) {
  .elementor-field-group-field_5e6908c .elementor-select-wrapper {
    max-width: 400px;
  }
}
/* SOLO el campo RAM */
.elementor-field-group-ram .elementor-field-subgroup {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* 1/8 cada opción */
  gap: 12px;
  width: 100%;
}

/* Cada opción ocupa exactamente una columna */
.elementor-field-group-ram .elementor-field-option {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Ajuste visual del label */
.elementor-field-group-ram .elementor-field-option label {
  width: 100%;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
}

/* Ocultar el radio nativo */
.elementor-field-group-ram input[type="radio"] {
  display: none;
}

/* Estado seleccionado */
.elementor-field-group-ram input[type="radio"]:checked + label {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}
/* ===============================
   RAM – RESPONSIVE CORRECTO
   =============================== */

/* Desktop */
@media (min-width: 769px) {
  .elementor-field-group-ram .elementor-field-subgroup {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    width: 100%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .elementor-field-group-ram .elementor-field-subgroup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
  }
}

/* Móvil */
@media (max-width: 480px) {
  .elementor-field-group-ram .elementor-field-subgroup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }
}

/* SOLO el campo ALMACENAMIENTO */
.elementor-field-group-storage .elementor-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px;
}
@media (min-width: 768px) {
  .elementor-field-group-storage .elementor-field-subgroup {
    max-width: 390px !important;
  }
}
/* Opciones (2 columnas equilibradas) */
.elementor-field-group-storage .elementor-field-option {
  flex: 1 1 calc(50% - 12px);
  display: flex;
}

/* Estilo tipo botón */
.elementor-field-group-storage .elementor-field-option label {
  width: 100%;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
}

/* Ocultar radio */
.elementor-field-group-storage input[type="radio"] {
  display: none;
}

/* Seleccionado */
.elementor-field-group-storage input[type="radio"]:checked + label {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}
/* ===============================
   DURACIÓN DEL CONTRATO
   =============================== */
.elementor-field-group-duration > label{
	margin-bottom: 10px
}
/* Contenedor */
.elementor-field-group-duration .elementor-field-subgroup {
  display: flex;
  width: 100%;
  gap: 12px;
}

/* Cada opción ocupa 1/3 */
.elementor-field-group-duration .elementor-field-option {
    display: flex;
  position: relative;
}
@media (min-width: 468px) {
  .elementor-field-group-duration .elementor-field-option {
    flex: 1 1 calc(33.333% - 12px) !important;
  }
}
/* Botón */
.elementor-field-group-duration .elementor-field-option label {
  width: 100%;
  text-align: center;
  padding: 14px 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  transition: all 0.25s ease;
}

/* Ocultar radio */
.elementor-field-group-duration input[type="radio"] {
  display: none;
}

/* Seleccionado */
.elementor-field-group-duration input[type="radio"]:checked + label {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* ===============================
   BADGES "AHORRA"
   =============================== */

/* Badge base */
.elementor-field-group-duration .elementor-field-option::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 16px;
  background: #16a34a; /* verde */
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  display: none; /* por defecto oculto */
}

/* 6 meses → Ahorra 5% */
.elementor-field-group-duration
.elementor-field-option:nth-child(2)::before {
  content: "Ahorra un 5%";
  display: inline-block;
}

/* 12 meses → Ahorra 10% */
.elementor-field-group-duration
.elementor-field-option:nth-child(3)::before {
  content: "Ahorra un 10%";
  display: inline-block;
}

/* ===============================
   SISTEMA OPERATIVO (OS)
   =============================== */

/* Grid de 2 columnas */
.elementor-field-group-os .elementor-field-subgroup {
	align-items: center;
	justify-content:center
}

/* Cada opción es relativa (para icono flotante) */
.elementor-field-group-os .elementor-field-option {
  position: relative;
	    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Ocultar radio nativo */
.elementor-field-group-os input[type="radio"] {
  display: none;
}

/* Botón (solo rectángulo inferior) */
.elementor-field-group-os .elementor-field-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s ease;
  background: #fff;
  margin-top: 60px; 
	height: auto;
	width: 300px
}

/* Hover */
.elementor-field-group-os .elementor-field-option label:hover {
  border-color: #0d6efd;
}

/* Seleccionado */
.elementor-field-group-os input[type="radio"]:checked + label {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Icono flotante (FUERA del botón) */
.elementor-field-group-os .elementor-field-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Linux */
.elementor-field-group-os .elementor-field-option:nth-child(1)::before {
  background-image: url("https://itdindi.pucahost.com/wp-content/uploads/2026/01/linux.png");
}

/* Windows */
.elementor-field-group-os .elementor-field-option:nth-child(2)::before {
  background-image: url("https://itdindi.pucahost.com/wp-content/uploads/2026/01/win11.png");
}

/* Responsive: una opción por fila en móvil */
@media (max-width: 480px) {
  .elementor-field-group-os .elementor-field-subgroup {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   PRICE BANNER – LAYOUT FINAL
   =============================== */

.price-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px 32px;
}

/* Columna izquierda y centro */
.price-content {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 60px;
  row-gap: 8px;
  align-items: center;
}

/* Título */
.price-content h3 {
  grid-column: 1 / 2;
  color: #0d6efd;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* Ahorro */
.price-savings {
  grid-column: 2 / 3;
  color: #00c853;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

/* Filas de precio */
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 20px;
  color: #fff;
	margin-bottom: 0
}

.price-row span {
  opacity: 0.9;
}

.price-row strong {
  font-weight: 700;
	font-size: 20px
}

/* Botón a la derecha */
.price-banner .inside-price-banner {
  flex-shrink: 0;
}

/* Botón NEXT */
.e-form__buttons__wrapper__button-next {
  background: #00b92d;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 185, 45, 0.35);
  white-space: nowrap;
}

.e-form__buttons__wrapper__button-next:hover {
  background: #00a528;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {
  .price-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .price-content {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .price-content h3,
  .price-savings {
    grid-column: 1 / -1;
    text-align: center;
  }

  .price-row {
    justify-content: space-between;
  }

  .inside-price-banner {
    width: 100%;
  }

  .e-form__buttons__wrapper__button-next {
    width: 100%;
  }
}
.price-banner .e-form__buttons{
	width: 200px
}
.elementor-field-type-next{
	margin: 0 !important
}
.elementor-field-type-previous{
	display: none
}
.price-save{
    font-size: 15px;
	font-weight: 700;
    color: #00B73A;
}.price-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

body.has-price-banner {
  padding-bottom: 125px;
}

@media (max-width: 768px) {
  body.has-price-banner {
    padding-bottom: 200px;
  }
}


/* En móvil, un poco más */
@media (max-width: 768px) {
  body {
    padding-bottom: 200px;
  }
}
/* ===============================
   SUBMIT estilo PAYPAL
   =============================== */

/* Contenedor del submit */
.elementor-field-type-submit.e-form__buttons__wrapper {
  display: flex;
  justify-content: center;
}

/* Botón como CARD */
.elementor-field-type-submit .e-form__buttons__wrapper__button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  min-width: 240px;
  background: #ffffff;
  border: 2px solid #d9d9d9;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Quitar estilos nativos */
.elementor-field-type-submit .e-form__buttons__wrapper__button:focus {
  outline: none;
  box-shadow: none;
}

/* Hover */
.elementor-field-type-submit .e-form__buttons__wrapper__button:hover {
  border-color: #0070ba; /* azul PayPal */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Texto ENVIAR */
.elementor-field-type-submit button {
    background: #fff !important;
    max-width: 400px;
	box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
border: none !important;
	margin-bottom: 20px
}

/* ===============================
   LOGO PAYPAL
   =============================== */

/* Logo arriba */
.elementor-field-type-submit .e-form__buttons__wrapper__button::before {
  content: "";
  width: 250px;
  height: 60px;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/b/b5/PayPal.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
/* Permitir que el texto salga del card */
.elementor-field-type-submit .e-form__buttons__wrapper__button {
  position: relative;
  overflow: visible;
	margin-bottom: 70px
}

/* Mensaje fuera del sombreado */
.elementor-field-type-submit .e-form__buttons__wrapper__button::after {
  content: "¡Gracias por confiar en nosotros!";
  position: absolute;
  bottom: -50px; /* controla distancia */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 28px;
  font-weight: 700;
  color: #000;
  text-align: center;
}
