.rh-vps-rate {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 4px;
  min-width: 0;
  color: #f1f5ff;
  font-family: var(--rh-font, Inter, system-ui, sans-serif);
}

.rh-vps-rate-current,
.rh-vps-rate-before {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.rh-vps-rate-current strong {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.rh-vps-rate-sale .rh-vps-rate-current strong { color: #ffbc96; }

.rh-vps-rate-current small {
  color: #aabacf;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.rh-vps-rate-before del {
  color: #e1e8f3;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 750;
  line-height: 1.12;
  text-decoration-thickness: 2px;
  text-decoration-color: #ffb185;
  white-space: nowrap;
}

.rh-vps-rate-before { gap: 7px; align-items: center; }

.rh-vps-rate-before b {
  padding: 1px 5px;
  border-radius: 4px;
  background: #ffb185;
  color: #27150f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}



.vps-products .vps-card .rh-vps-windows-buy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, .8fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid rgb(var(--card-rgb, 140 124 242) / .2);
  border-radius: 12px;
  background: #09121f;
}

.vps-products .vps-card .rh-vps-windows-buy:has(.rh-vps-rate-sale) {
  border-color: #a36f58;
  background: linear-gradient(105deg, #261c22, #09121f 70%);
}

.vps-products .cpu-plan-group .rh-vps-windows-buy > .vps-btn {
  grid-column: auto !important;
  height: auto !important;
  min-height: 42px;
}

.vps-products .rs-sf-card .rh-vps-linux-buy {
  min-width: 0;
  padding: 6px 8px;
}

.rh-vps-linux-buy .rh-vps-rate { justify-items: end; }
.rh-vps-linux-buy .rh-vps-rate-current strong { font-size: 23px; }

@media (max-width: 760px) {
  .rh-vps-linux-buy .rh-vps-rate { justify-items: start; }
}

@media (max-width: 350px) {
  .vps-products .vps-card .rh-vps-windows-buy { grid-template-columns: minmax(0, 1fr); }
}

.vps-products .rh-vps-rate .rh-vps-rate-current > strong { color: #f1f5ff !important; }
.vps-products .rh-vps-rate-sale .rh-vps-rate-current > strong { color: #ffbc96 !important; }

@media (max-width: 520px) {
  .vps-products .rs-vps-row .rs-sf-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
