/* Nav, configurator, pedido — web + panel */
.btn-ghost-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--xn-radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--xn-foreground);
  background: transparent;
  border: none;
  text-decoration: none;
  transition: background var(--xn-transition);
}

.btn-ghost-nav:hover {
  background: var(--xn-surface-muted-hover);
  color: var(--xn-primary);
}

.btn-logout-nav {
  color: hsl(0 78% 72%);
  border: 1px solid hsl(0 55% 42% / 0.45);
  background: hsl(0 45% 12% / 0.55);
}

.btn-logout-nav:hover {
  color: hsl(0 85% 82%);
  background: hsl(0 45% 16% / 0.75);
  border-color: hsl(0 60% 48% / 0.6);
}

.btn-outline-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--xn-radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--xn-primary-foreground);
  background: var(--xn-primary);
  text-decoration: none;
  transition: background var(--xn-transition);
}

.btn-outline-nav:hover {
  background: var(--xn-primary-hover);
}

.text-gradient-hero {
  background: var(--xn-gradient-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.75rem 2.5rem;
  border-radius: var(--xn-radius);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--xn-primary-foreground);
  background: var(--xn-primary);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--xn-transition), box-shadow var(--xn-transition), transform var(--xn-transition);
}

.btn-primary:hover {
  background: var(--xn-primary-hover);
  box-shadow: var(--xn-shadow-primary);
}

.vortex-card {
  background: var(--xn-gradient-card);
  border: 1px solid var(--xn-border);
  border-radius: var(--xn-radius-lg);
  transition: border-color var(--xn-transition), box-shadow var(--xn-transition);
}

.vortex-card:hover {
  border-color: hsl(172 80% 45% / 0.35);
  box-shadow: 0 8px 32px hsl(175 40% 2% / 0.6);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsl(172 80% 45% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--xn-transition);
}

.group:hover .icon-circle {
  background: var(--xn-surface-tick-active);
}

.check-circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--xn-surface-tick-active);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-200 {
  animation-delay: 0.2s;
  opacity: 0;
}

.delay-400 {
  animation-delay: 0.4s;
  opacity: 0;
}

.delay-600 {
  animation-delay: 0.6s;
  opacity: 0;
}

/* VPS Configurator (Vortex-style) */
.config-slider-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--xn-radius-lg);
  background: hsl(175 35% 5% / 0.8);
  border: 1px solid var(--xn-border);
}

.config-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.config-icon-teal {
  background: hsl(172 80% 45% / 0.15);
  color: var(--xn-primary);
}

.config-icon-amber {
  background: hsl(38 92% 50% / 0.15);
  color: hsl(38 92% 55%);
}

.config-slider-wrap {
  margin-bottom: 0.75rem;
}

.config-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
  background: hsl(175 25% 12%);
}

.config-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: hsl(172 80% 45%);
  box-shadow: 0 0 12px hsl(172 80% 45% / 0.5);
  cursor: grab;
}

.config-range-amber::-webkit-slider-thumb {
  background: hsl(38 92% 50%);
  box-shadow: 0 0 12px hsl(38 92% 50% / 0.45);
}

.config-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: hsl(172 80% 45%);
  box-shadow: 0 0 12px hsl(172 80% 45% / 0.5);
  cursor: grab;
}

.config-range-amber::-moz-range-thumb {
  background: hsl(38 92% 50%);
  box-shadow: 0 0 12px hsl(38 92% 50% / 0.45);
}

.config-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--xn-muted);
}

.config-value {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.config-value-teal {
  color: var(--xn-primary);
}

.config-value-amber {
  color: hsl(38 92% 55%);
}

.config-summary {
  padding: 1.5rem;
  border-radius: var(--xn-radius-lg);
  background: hsl(175 35% 5% / 0.6);
  border: 1px solid hsl(172 80% 45% / 0.35);
}

.config-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--xn-foreground);
}

.config-summary-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--xn-muted);
}

.config-summary-label svg {
  opacity: 0.7;
}

.config-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--xn-border);
}

.config-total-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--xn-primary);
  line-height: 1;
}

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.875rem 2.5rem;
  border-radius: var(--xn-radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--xn-foreground);
  background: var(--xn-surface-btn-order);
  border: 1px solid var(--xn-border);
  text-decoration: none;
  transition: border-color var(--xn-transition), background var(--xn-transition);
}

.btn-order:hover {
  border-color: hsl(172 80% 45% / 0.5);
  background: var(--xn-surface-btn-order-hover);
}

.config-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.config-group-head__left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.config-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--xn-primary-foreground);
  background: var(--xn-primary);
  flex-shrink: 0;
}

.config-group-value {
  font-size: 0.875rem;
  color: var(--xn-muted);
}

.config-group-value strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--xn-primary);
}

.config-group-value.config-value-amber strong {
  color: hsl(38 92% 55%);
}

.config-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.config-tick {
  flex: 1 1 auto;
  min-width: 2rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--xn-muted);
  background: var(--xn-surface-tick);
  border: 1px solid var(--xn-border);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color var(--xn-transition), border-color var(--xn-transition), background var(--xn-transition);
}

.config-tick:hover {
  color: var(--xn-foreground);
  border-color: hsl(172 80% 45% / 0.35);
}

.config-tick.is-active {
  color: var(--xn-primary-foreground);
  background: var(--xn-surface-tick-active);
  border-color: hsl(172 80% 45% / 0.6);
}

/* SSD: 40–300 GB en pasos de 20 (más ticks, rejilla compacta) */
.config-ticks--ssd {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.config-ticks--ssd .config-tick {
  flex: unset;
  min-width: 0;
  padding: 0.3rem 0.25rem;
  font-size: 0.625rem;
}

.config-duration-ticks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.config-duration-ticks--billing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.config-duration-tick__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--xn-primary-foreground);
  background: var(--xn-primary);
}

.config-duration-tick__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  line-height: 1.25;
}

.config-duration-tick__note {
  font-size: 0.62rem;
  color: var(--xn-muted);
}

.config-duration-tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--xn-muted);
  background: var(--xn-surface-tick);
  border: 1px solid var(--xn-border);
  border-radius: var(--xn-radius);
  cursor: pointer;
  transition: color var(--xn-transition), border-color var(--xn-transition), background var(--xn-transition);
}

.config-duration-tick:hover {
  color: var(--xn-foreground);
  border-color: hsl(172 80% 45% / 0.35);
}

.config-duration-tick.is-active {
  color: var(--xn-foreground);
  background: var(--xn-surface-tick-active);
  border-color: hsl(172 80% 45% / 0.55);
}

.config-duration-tick--disabled,
.config-duration-tick:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: var(--xn-border);
  background: var(--xn-surface-inset);
}

.config-duration-tick--disabled:hover,
.config-duration-tick:disabled:hover {
  color: var(--xn-muted);
  border-color: var(--xn-border);
  background: var(--xn-surface-inset);
}

.config-duration-tick__note--disabled {
  color: var(--xn-muted);
  font-weight: 600;
}

.dedicated-order__field {
  min-width: 0;
}

#order-locations {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.location-picker--dedicated {
  min-width: 0;
  max-width: 100%;
}

.config-badge {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--xn-badge-discount-text);
  background: var(--xn-badge-discount-bg);
  border: 1px solid var(--xn-badge-discount-border);
  border-radius: 0.25rem;
}

.config-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--xn-foreground);
  background: var(--xn-surface-tick);
  border: 1px solid var(--xn-border);
  border-radius: var(--xn-radius);
  cursor: pointer;
}

.config-select:focus {
  outline: none;
  border-color: hsl(172 80% 45% / 0.5);
}

/* GSK-style custom picker (replaces native select on order page) */
.gsk-picker {
  position: relative;
  width: 100%;
}

.gsk-picker__trigger {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--xn-foreground);
  background: var(--xn-surface-tick);
  border: 1px solid var(--xn-border);
  border-radius: var(--xn-radius);
  cursor: pointer;
  text-align: left;
}

.gsk-picker__trigger:focus-visible {
  outline: none;
  border-color: hsl(172 80% 45% / 0.5);
}

.gsk-picker.is-open .gsk-picker__trigger {
  border-color: hsl(172 80% 45% / 0.55);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.gsk-picker__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsk-picker__price {
  font-size: 0.78rem;
  color: var(--xn-muted);
  white-space: nowrap;
}

.gsk-picker__chevron {
  display: inline-flex;
  color: var(--xn-muted);
  transition: transform var(--xn-transition);
}

.gsk-picker.is-open .gsk-picker__chevron {
  transform: rotate(180deg);
}

.gsk-picker__menu {
  display: none;
  position: absolute;
  z-index: 40;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: var(--xn-surface-card);
  border: 1px solid var(--xn-border);
  border-top: none;
  border-radius: 0 0 var(--xn-radius) var(--xn-radius);
  box-shadow: var(--xn-shadow-md, 0 8px 24px hsl(175 50% 2% / 0.45));
}

html[data-theme='dark'] .gsk-picker__menu {
  background: hsl(175 25% 7%);
  border-color: hsl(172 80% 45% / 0.55);
  box-shadow: 0 8px 24px hsl(175 50% 2% / 0.45);
}

.gsk-picker.is-open .gsk-picker__menu {
  display: block;
}

.gsk-picker__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.875rem;
  border: none;
  background: transparent;
  color: var(--xn-foreground);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}

.gsk-picker__option:hover,
.gsk-picker__option.is-selected {
  background: var(--xn-surface-tick-hover, hsl(175 25% 12%));
}

html[data-theme='dark'] .gsk-picker__option:hover,
html[data-theme='dark'] .gsk-picker__option.is-selected {
  background: hsl(175 25% 12%);
}

.gsk-picker__option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsk-picker__option-price {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--xn-muted);
  white-space: nowrap;
}

.config-notes .config-note + .config-note {
  margin-top: 0.5rem;
}

.config-note {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--xn-muted);
  padding: 0.5rem 0.625rem;
  border-left: 2px solid hsl(172 80% 45% / 0.35);
  background: var(--xn-surface-note);
  border-radius: 0 0.25rem 0.25rem 0;
}

.config-summary-row--cpu {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

/* ——— Resumen estilo GSK ——— */
.config-summary--gsk {
  padding: 0;
  overflow: hidden;
}

.config-summary__head {
  padding: 1rem 1.15rem;
  background: hsl(172 80% 45% / 0.12);
  border-bottom: 1px solid hsl(172 80% 45% / 0.25);
}

.config-summary__head-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--xn-muted);
  margin-bottom: 0.35rem;
}

.config-summary__head-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.config-summary__head-unit {
  font-size: 0.8125rem;
  color: var(--xn-muted);
}

.config-summary__specs {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.config-summary-spec {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  row-gap: 0.1rem;
  align-items: center;
  font-size: 0.8125rem;
}

.config-summary-spec__icon {
  grid-column: 1;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--xn-primary);
  opacity: 0.85;
}

.config-summary-spec__body {
  display: contents;
}

.config-summary-spec__label {
  grid-column: 2;
  grid-row: 1;
  color: var(--xn-muted);
}

.config-summary-spec__value {
  grid-column: 2;
  grid-row: 2;
  font-weight: 600;
  color: var(--xn-foreground);
  text-align: left;
}

.config-summary-spec__price {
  grid-column: 3;
  grid-row: 2;
  font-weight: 600;
  color: var(--xn-foreground);
  text-align: right;
  white-space: nowrap;
  align-self: center;
}

.config-summary__billing {
  margin: 0;
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--xn-border);
  display: grid;
  gap: 0.4rem;
}

.config-summary__billing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--xn-muted);
}

.config-summary__billing-row > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 0.25rem;
}

.config-summary__billing-row > span:last-child {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
}

.config-summary__billing-row[hidden] {
  display: none !important;
}

.config-summary__billing-row strong,
.config-summary__billing-row span:last-child {
  color: var(--xn-foreground);
  font-weight: 600;
}

.config-summary__billing-row--discount span:last-child {
  color: hsl(142 55% 42%);
}

.config-summary__tax-note {
  margin: 0.35rem 0 0;
  padding: 0 1.15rem 0.75rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--xn-muted);
}

.config-summary__tax-note[hidden] {
  display: none !important;
}

.billing-period-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .billing-period-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.billing-period-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.75rem 0.7rem;
  text-align: left;
  border: 2px solid var(--xn-border);
  border-radius: var(--xn-radius);
  background: var(--xn-surface-tick);
  cursor: pointer;
  transition: border-color var(--xn-transition), background var(--xn-transition), opacity var(--xn-transition);
}

.billing-period-card:hover:not(:disabled) {
  border-color: hsl(172 80% 45% / 0.35);
}

.billing-period-card.is-active {
  border-color: hsl(172 80% 45% / 0.55);
  background: var(--xn-surface-tick-active);
}

.billing-period-card--disabled,
.billing-period-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.billing-period-card__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--xn-foreground);
}

.billing-period-card__monthly {
  font-size: 0.72rem;
  color: var(--xn-muted);
}

.billing-period-card__badge {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  color: hsl(142 55% 38%);
  background: hsl(142 55% 42% / 0.12);
  border: 1px solid hsl(142 55% 42% / 0.25);
}

.billing-period-card__badge--muted {
  color: var(--xn-muted);
  background: var(--xn-surface-inset);
  border-color: var(--xn-border);
}

.billing-period-card__divider {
  height: 1px;
  background: var(--xn-border);
  margin: 0.15rem 0;
}

.billing-period-card__subtotal {
  font-size: 0.68rem;
  color: var(--xn-muted);
  text-decoration: line-through;
}

.billing-period-card__total {
  font-size: 0.95rem;
  font-weight: 800;
  color: hsl(32 95% 58%);
}

html[data-theme='light'] .billing-period-card__total {
  color: hsl(32 90% 50%);
}

.billing-period-card__note {
  font-size: 0.62rem;
  color: var(--xn-muted);
  line-height: 1.35;
}

.config-summary__highlights {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--xn-border);
  display: grid;
  gap: 0.45rem;
}

.config-summary__highlights li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--xn-muted);
}

.config-summary__highlights svg {
  flex-shrink: 0;
  color: var(--xn-primary);
  opacity: 0.8;
}

.config-summary__fineprint {
  margin: 0;
  padding: 0.75rem 1.15rem 1rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--xn-muted);
  border-top: 1px solid var(--xn-border);
}

.config-summary__notes {
  padding: 0.65rem 1.15rem;
  border-top: 1px solid var(--xn-border);
  display: grid;
  gap: 0.45rem;
}

.config-summary__notes .config-note {
  margin: 0;
  padding: 0.45rem 0.55rem;
  font-size: 0.625rem;
}

.config-summary-spec--wide {
  grid-template-columns: 1.25rem minmax(0, 1fr) auto;
}

.config-summary-spec__value--wrap {
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: left;
}

/* ——— Navbar móvil ——— */
.site-header.is-nav-open {
  border-color: hsl(172 80% 45% / 0.2);
}

/* FAQ/Blog (Blade) no dependen de Tailwind SiteShell para el header */
#site-header .site-nav-main {
  display: none;
}

#site-header .site-nav-tools {
  display: none;
}

#site-header .site-nav-auth--login {
  display: none;
}

#site-header .site-nav-auth--register,
#site-header .site-nav-auth--panel,
#site-header .site-nav-auth--logout {
  display: none;
}

.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--xn-border);
  border-radius: var(--xn-radius);
  background: var(--xn-surface-tick);
  color: var(--xn-foreground);
  cursor: pointer;
  transition: border-color var(--xn-transition), background var(--xn-transition);
}

@media (min-width: 768px) {
  #site-header .site-nav-main {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  #site-header .site-nav-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  #site-header .site-nav-auth--login {
    display: inline-flex;
  }

  #site-header .site-nav-auth--register,
  #site-header .site-nav-auth--panel,
  #site-header .site-nav-auth--logout {
    display: inline-flex;
  }

  #site-header .nav-menu-btn {
    display: none !important;
  }

  #site-header .nav-mobile-panel {
    display: none !important;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  #site-header .site-nav-auth--login {
    display: inline-flex;
  }
}

.nav-menu-btn:hover {
  border-color: hsl(172 80% 45% / 0.4);
  background: var(--xn-surface-btn-order-hover);
}

.nav-menu-icon--close {
  display: none;
}

.site-header.is-nav-open .nav-menu-icon--open {
  display: none;
}

.site-header.is-nav-open .nav-menu-icon--close {
  display: flex;
}

.nav-menu-icon--open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.nav-menu-icon--open span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
}

.nav-mobile-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--xn-bg-nav);
  padding: 0.75rem 1rem 1rem;
  animation: nav-slide-down 0.2s ease-out;
}

@keyframes nav-slide-down {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.nav-mobile-link {
  display: block;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--xn-foreground);
  text-decoration: none;
  border-radius: var(--xn-radius);
  transition: background var(--xn-transition);
}

.nav-mobile-link:hover {
  background: var(--xn-surface-muted-hover);
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--xn-border);
}

body.nav-menu-open {
  overflow: hidden;
}

.btn-order--block {
  display: flex;
  width: 100%;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .btn-order--block {
    display: inline-flex;
    width: auto;
    max-width: none;
  }
}

/* ——— Responsive: móvil vs escritorio ——— */
@media (max-width: 767px) {
  .config-slider-card {
    padding: 1rem 1.125rem;
  }

  .config-group-head {
    margin-bottom: 0.75rem;
  }

  .config-ticks--vcpu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .config-ticks--ram {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .config-ticks--ssd {
    grid-template-columns: repeat(4, 1fr);
  }

  .config-tick {
    flex: unset;
    min-width: 0;
    min-height: 2.25rem;
    padding: 0.45rem 0.25rem;
    font-size: 0.6875rem;
  }

  .config-duration-tick {
    padding: 0.55rem 0.25rem;
    font-size: 0.6875rem;
  }

  .config-duration-ticks--billing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .config-total-price {
    font-size: 1.75rem;
  }

  .config-note {
    font-size: 0.625rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 20rem;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}

@media (min-width: 640px) {
  .config-duration-ticks--billing {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .config-ticks--ssd {
    grid-template-columns: repeat(7, 1fr);
  }

  .config-ticks--ram {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1024px) {
  .config-ticks--vcpu,
  .config-ticks--ram {
    display: flex;
    flex-wrap: wrap;
  }

  .config-ticks--ssd {
    grid-template-columns: repeat(7, 1fr);
  }
}
.btn-ghost-nav:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-outline-nav { border: none; cursor: pointer; }
.btn-outline-nav:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-order { border: none; cursor: pointer; }
.btn-order:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-order:hover:not(:disabled) {
  border-color: hsl(172 80% 45% / 0.5);
  background: var(--xn-surface-btn-order-hover);
}
.nav-mobile-panel[hidden] { display: none !important; }

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: hsl(175 20% 8% / 0.96);
  border-top: 1px solid var(--xn-border);
  backdrop-filter: blur(8px);
}

.cookie-notice__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.cookie-notice__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--xn-muted-foreground);
}

.cookie-notice__text a {
  color: var(--xn-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice__text a:hover {
  color: var(--xn-primary-hover);
}

.cookie-notice__btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: var(--xn-radius);
  border: 1px solid var(--xn-border);
  background: var(--xn-primary);
  color: var(--xn-primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--xn-transition);
}

.cookie-notice__btn:hover {
  background: var(--xn-primary-hover);
}

@media (max-width: 640px) {
  .cookie-notice__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-notice__btn {
    width: 100%;
  }
}

/* OS picker (OVH-style cards in panel order flow) */
.os-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .os-picker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.os-picker-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 2px solid var(--xn-border);
  border-radius: var(--xn-radius);
  background: var(--xn-surface-card);
  cursor: pointer;
  transition: border-color var(--xn-transition), box-shadow var(--xn-transition), background var(--xn-transition);
  overflow: hidden;
}

.os-picker-card:hover {
  border-color: hsl(172 80% 45% / 0.35);
  background: var(--xn-surface-hover-row);
}

.os-picker-card.is-selected {
  border-color: hsl(214 100% 56%);
  box-shadow: 0 0 0 1px hsl(214 100% 56% / 0.25);
  background: var(--xn-surface-hover-row-strong);
}

.os-picker-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.85rem 0.65rem;
}

.os-picker-card__radio {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 2px solid hsl(175 20% 35%);
  flex-shrink: 0;
  position: relative;
}

.os-picker-card__radio.is-checked {
  border-color: hsl(214 100% 56%);
}

.os-picker-card__radio.is-checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 9999px;
  background: hsl(214 100% 56%);
}

.os-picker-card__icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.os-picker-card__icon img,
.os-picker-card__icon-inline svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.os-picker-card__name {
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--xn-foreground);
}

.os-picker-card__controls {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0 0.85rem 0.75rem;
  flex: 1;
}

.os-picker-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.os-picker-card__field-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--xn-muted);
}

.os-picker-card__select {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: calc(var(--xn-radius) - 2px);
  border: 1px solid var(--xn-border);
  background: var(--xn-surface-input);
  color: var(--xn-foreground);
  font-size: 0.82rem;
}

.os-picker-card__footer {
  margin-top: auto;
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--xn-muted);
  background: var(--xn-os-picker-footer);
  border-top: 1px solid var(--xn-border);
}

.os-picker-card__footer.is-selected {
  color: hsl(172 72% 42%);
  background: hsl(172 80% 45% / 0.12);
  border-top-color: hsl(172 80% 45% / 0.25);
}

/* Location picker (VPS region cards) */
.location-picker__hint {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  color: var(--xn-muted);
}

.location-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.location-picker-grid--dedicated {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .location-picker-grid--dedicated {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.location-picker-grid--dedicated .location-picker-card {
  min-height: auto;
}

.location-picker-grid--dedicated .location-picker-card__head {
  padding: 0.65rem 0.7rem 0.45rem;
}

.location-picker-grid--dedicated .location-picker-card__name {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-picker-grid--dedicated .location-picker-card__region {
  padding: 0 0.7rem 0.4rem;
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-picker-card__on-request {
  display: inline-flex;
  align-items: center;
  margin: 0 0.7rem 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--xn-muted);
  background: var(--xn-surface-stock-bto);
  border: 1px solid var(--xn-border);
  align-self: flex-start;
}

.location-picker-grid--dedicated .location-picker-card__footer {
  padding: 0.4rem 0.6rem;
  font-size: 0.7rem;
  gap: 0.35rem;
}

html[data-theme='light'] .location-picker-grid--dedicated .location-picker-card__footer {
  background: hsl(175 25% 94% / 0.9);
}

@media (min-width: 640px) {
  .location-picker-grid:not(.location-picker-grid--dedicated) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.location-picker-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 2px solid var(--xn-border);
  border-radius: var(--xn-radius);
  background: var(--xn-surface-card);
  cursor: pointer;
  transition: border-color var(--xn-transition), box-shadow var(--xn-transition), background var(--xn-transition);
  overflow: hidden;
}

.location-picker-card:hover {
  border-color: hsl(172 80% 45% / 0.35);
  background: var(--xn-surface-hover-row);
}

.location-picker-card.is-selected {
  border-color: hsl(214 100% 56%);
  box-shadow: 0 0 0 1px hsl(214 100% 56% / 0.25);
  background: var(--xn-surface-hover-row-strong);
}

.location-picker-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.85rem 0.65rem;
}

.location-picker-card__radio {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 2px solid hsl(175 20% 35%);
  flex-shrink: 0;
  position: relative;
}

.location-picker-card__radio.is-checked {
  border-color: hsl(214 100% 56%);
}

.location-picker-card__radio.is-checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 9999px;
  background: hsl(214 100% 56%);
}

.location-picker-card__flag {
  font-size: 1.35rem;
  line-height: 1;
}

.location-picker-card__name {
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--xn-foreground);
}

.location-picker-card__region {
  margin: 0;
  padding: 0 0.85rem 0.55rem;
  font-size: 0.72rem;
  color: var(--xn-muted);
}

.location-picker-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--xn-muted);
  background: hsl(175 25% 10% / 0.85);
  border-top: 1px solid var(--xn-border);
}

.location-picker-card__footer.is-selected {
  color: hsl(214 100% 68%);
  background: hsl(214 100% 56% / 0.12);
  border-top-color: hsl(214 100% 56% / 0.25);
}

.location-picker-card__ping-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}

.location-picker-card__ping-value--good {
  color: hsl(142 70% 55%);
}

.location-picker-card__ping-value--ok {
  color: hsl(45 90% 55%);
}

.location-picker-card__ping-value--high {
  color: hsl(0 70% 60%);
}

.location-picker-card__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.75;
}

.location-picker-card__refresh:hover {
  opacity: 1;
}

/* Language switcher (panel + landing) */
.lang-switcher {
  position: relative;
}

.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid var(--xn-border-input);
  background: var(--xn-surface-glass);
  color: var(--xn-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--xn-transition), background var(--xn-transition);
}

.lang-switcher__trigger:hover {
  border-color: hsl(172 80% 45% / 0.35);
  background: var(--xn-surface-dropdown-hover);
}

.lang-switcher__flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-switcher__code {
  letter-spacing: 0.04em;
}

.lang-switcher__chevron {
  opacity: 0.7;
  transition: transform var(--xn-transition);
}

.lang-switcher__chevron.is-open {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 60;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid var(--xn-border-input);
  background: var(--xn-surface-dropdown);
  box-shadow: var(--xn-shadow-dropdown);
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--xn-foreground);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: background var(--xn-transition);
}

.lang-switcher__option:hover,
.lang-switcher__option.is-active {
  background: var(--xn-surface-dropdown-hover);
}

.lang-switcher__label {
  flex: 1;
  font-weight: 600;
}

.lang-switcher__current {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xn-muted);
}

.lang-switcher--block {
  width: 100%;
}

.lang-switcher--block .lang-switcher__trigger {
  width: 100%;
  justify-content: center;
}

.lang-switcher--block .lang-switcher__menu {
  left: 0;
  right: 0;
}

@media (max-width: 767px) {
  .site-header__actions > .lang-switcher:not(.lang-switcher--block) {
    display: none;
  }

  .site-header__actions > .currency-switcher:not(.currency-switcher--block) {
    display: none;
  }
}

.nav-mobile-lang {
  width: 100%;
  margin-bottom: 0.35rem;
}

/* Currency switcher (USD/EUR — independent from language) */
.currency-switcher {
  position: relative;
}

.currency-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid var(--xn-border-input);
  background: var(--xn-surface-glass);
  color: var(--xn-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--xn-transition), background var(--xn-transition);
}

.currency-switcher__trigger:hover {
  border-color: hsl(172 80% 45% / 0.35);
  background: var(--xn-surface-dropdown-hover);
}

.currency-switcher__symbol {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  min-width: 0.85rem;
  text-align: center;
}

.currency-switcher__code {
  letter-spacing: 0.04em;
}

.currency-switcher__chevron {
  opacity: 0.7;
  transition: transform var(--xn-transition);
}

.currency-switcher__chevron.is-open {
  transform: rotate(180deg);
}

.currency-switcher__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 60;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid var(--xn-border-input);
  background: var(--xn-surface-dropdown);
  box-shadow: var(--xn-shadow-dropdown);
}

.currency-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--xn-foreground);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.currency-switcher__option:hover,
.currency-switcher__option.is-active {
  background: var(--xn-surface-dropdown-hover);
}

.currency-switcher__label {
  flex: 1;
  min-width: 0;
}

.currency-switcher__current {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--xn-primary);
}

.currency-switcher--block {
  width: 100%;
}

.currency-switcher--block .currency-switcher__trigger {
  width: 100%;
  justify-content: space-between;
}

.currency-switcher--block .currency-switcher__menu {
  left: 0;
  right: 0;
  width: 100%;
}
