:root {
  --order-ink: #183342;
  --order-ink-soft: #526a75;
  --order-line: #dce5e8;
  --order-surface: #ffffff;
  --order-canvas: #f3f6f7;
  --order-green: #08a889;
  --order-green-deep: #057961;
  --order-cyan: #0c8fab;
  --order-gold: #d69524;
  --order-danger: #be4a46;
  --order-shadow: 0 12px 30px rgba(24, 51, 66, 0.09);
}

.order-page {
  min-width: 320px;
  margin: 0;
  color: var(--order-ink);
  background: var(--order-canvas);
}

.order-page button,
.order-page input,
.order-page select,
.order-page textarea {
  font: inherit;
}

.order-page button,
.order-page a,
.order-page select,
.order-page input[type="checkbox"] {
  -webkit-tap-highlight-color: transparent;
}

.order-page button:focus-visible,
.order-page a:focus-visible,
.order-page input:focus-visible,
.order-page textarea:focus-visible,
.order-page select:focus-visible {
  outline: 3px solid rgba(12, 143, 171, 0.35);
  outline-offset: 3px;
}

.order-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--order-line);
  background: var(--order-surface);
}

.order-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1200px, calc(100% - 40px));
  min-height: 80px;
  margin: 0 auto;
}

.order-brand {
  display: inline-flex;
  align-items: center;
  width: 144px;
}

.order-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.order-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
}

.order-nav a {
  color: var(--order-ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.order-nav a:hover {
  color: var(--order-green-deep);
}

.order-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--order-green);
  border-radius: 6px;
  color: var(--order-green-deep);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.order-login:hover {
  color: #fff;
  background: var(--order-green-deep);
}

.order-intro {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  color: #fff;
  background: var(--order-ink);
}

.order-intro__image {
  position: absolute;
  inset: 0;
  background-image: url("../images/homepage-datacenter-real.jpg");
  background-position: center 52%;
  background-size: cover;
}

.order-intro::after {
  position: absolute;
  inset: 0;
  background: rgba(14, 31, 38, 0.76);
  content: "";
}

.order-intro__content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  padding: 24px 0 30px;
  margin: 0 auto;
}

.order-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.order-crumbs a {
  color: inherit;
}

.order-crumbs a:hover {
  color: #fff;
}

.order-eyebrow {
  margin: 25px 0 5px;
  color: #7ee5d0;
  font-size: 14px;
  font-weight: 700;
}

.order-intro h1 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.35;
}

.order-intro__lead {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.9;
}

.order-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.order-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

.order-highlights i {
  color: #7ee5d0;
  font-size: 19px;
}

.order-workspace {
  width: min(1200px, calc(100% - 40px));
  margin: 34px auto 52px;
}

.order-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  align-items: start;
  gap: 28px;
}

.order-builder__main {
  display: grid;
  gap: 18px;
}

.order-selected-plan {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #92d7c7;
  border-radius: 7px;
  color: #125449;
  background: #edf9f6;
}

.order-selected-plan[hidden],
.preset-list[hidden] {
  display: none;
}

.order-selected-plan > i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--order-green-deep);
  font-size: 22px;
}

.order-selected-plan strong {
  color: #125449;
  font-size: 15px;
}

.order-selected-plan p {
  margin: 4px 0 0;
  color: #47766d;
  font-size: 13px;
  line-height: 1.75;
}

.order-section {
  padding: 26px 28px;
  border: 1px solid var(--order-line);
  border-radius: 8px;
  background: var(--order-surface);
  box-shadow: 0 2px 5px rgba(24, 51, 66, 0.025);
}

.order-section__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.order-section__number {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--order-ink);
  font-size: 15px;
  font-weight: 700;
}

.order-section__heading p {
  margin: 0 0 2px;
  color: var(--order-green-deep);
  font-size: 13px;
  font-weight: 700;
}

.order-section__heading h2 {
  margin: 0;
  color: var(--order-ink);
  font-size: 20px;
  line-height: 1.45;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.location-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--order-line);
  border-radius: 7px;
  color: var(--order-ink);
  text-align: right;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.location-option:hover {
  border-color: #9fc5cf;
  background: #fbfefe;
}

.location-option.is-selected {
  border-color: var(--order-green);
  box-shadow: inset 0 0 0 1px var(--order-green);
  background: #f4fcfa;
}

.location-option__flag {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #fff;
  direction: ltr;
  font-size: 12px;
  font-weight: 700;
}

.location-option__flag--iran {
  background: #00745a;
}

.location-option__flag--sweden {
  color: #143f70;
  background: #f5cc20;
}

.location-option__flag--uk {
  background: #385c8c;
}

.location-option__text {
  display: grid;
  gap: 1px;
}

.location-option__text strong {
  font-size: 16px;
}

.location-option__text small {
  color: var(--order-ink-soft);
  font-size: 13px;
}

.location-option__status {
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--order-green-deep);
  background: #e8f7f3;
  font-size: 11px;
  font-weight: 700;
}

.service-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
  gap: 0;
  padding: 4px;
  border: 1px solid var(--order-line);
  border-radius: 7px;
  background: #f3f6f7;
}

.service-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  color: var(--order-ink-soft);
  background: transparent;
  cursor: pointer;
}

.service-switch__item i {
  font-size: 18px;
}

.service-switch__item.is-selected {
  color: var(--order-ink);
  background: #fff;
  box-shadow: 0 2px 4px rgba(24, 51, 66, 0.1);
  font-weight: 700;
}

.service-switch__item:disabled {
  color: #9aaab0;
  cursor: not-allowed;
}

.preset-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.preset-option {
  min-height: 88px;
  padding: 15px;
  border: 1px solid var(--order-line);
  border-radius: 7px;
  color: var(--order-ink);
  text-align: right;
  background: #fff;
  cursor: pointer;
}

.preset-option:hover {
  border-color: #9fc5cf;
}

.preset-option.is-selected {
  border-color: var(--order-cyan);
  box-shadow: inset 0 0 0 1px var(--order-cyan);
  background: #f5fbfd;
}

.preset-option__title,
.preset-option__detail {
  display: block;
}

.preset-option__title {
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 700;
}

.preset-option__detail {
  color: var(--order-ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.resource-list {
  border-top: 1px solid var(--order-line);
}

.resource-empty {
  padding: 16px 0 2px;
  margin: 0;
  color: var(--order-ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.resource-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  border-bottom: 1px solid var(--order-line);
}

.resource-row__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.resource-row__label > i {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: var(--order-cyan);
  background: #eaf7fa;
  font-size: 20px;
}

.resource-row__label div {
  display: grid;
  gap: 1px;
}

.resource-row__label strong {
  font-size: 15px;
}

.resource-row__label small {
  color: var(--order-ink-soft);
  font-size: 12px;
}

.stepper {
  display: grid;
  grid-template-columns: 36px minmax(34px, auto) auto 36px;
  align-items: center;
  gap: 7px;
  direction: ltr;
}

.stepper__button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--order-line);
  border-radius: 5px;
  color: var(--order-green-deep);
  background: #fff;
  cursor: pointer;
}

.stepper__button:hover:not(:disabled) {
  border-color: var(--order-green);
  background: #effbf8;
}

.stepper__button:disabled {
  color: #aebdc2;
  cursor: not-allowed;
}

.stepper__value {
  min-width: 34px;
  color: var(--order-ink);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.stepper__unit {
  color: var(--order-ink-soft);
  direction: rtl;
  font-size: 13px;
  white-space: nowrap;
}

.select-field {
  position: relative;
  width: min(100%, 360px);
  min-width: 220px;
}

.select-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 13px 0 36px;
  border: 1px solid var(--order-line);
  border-radius: 5px;
  color: var(--order-ink);
  background: #fff;
  appearance: none;
  cursor: pointer;
}

.select-field i {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--order-ink-soft);
  font-size: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}

.resource-row--fixed {
  grid-template-columns: 1fr minmax(220px, 360px);
}

.resource-row__fixed {
  max-width: 360px;
  padding: 10px 13px;
  border: 1px solid var(--order-line);
  border-radius: 5px;
  color: var(--order-ink-soft);
  background: #f6f9fa;
  font-size: 13px;
  line-height: 1.65;
}

.order-subsection h3 {
  margin: 0 0 13px;
  color: var(--order-ink);
  font-size: 15px;
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.os-option {
  display: grid;
  gap: 2px;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--order-line);
  border-radius: 6px;
  color: var(--order-ink);
  text-align: right;
  background: #fff;
  cursor: pointer;
}

.os-option strong {
  font-size: 13px;
}

.os-option span {
  color: var(--order-ink-soft);
  font-size: 11px;
}

.os-option:hover {
  border-color: #9fc5cf;
}

.os-option.is-selected {
  border-color: var(--order-green);
  box-shadow: inset 0 0 0 1px var(--order-green);
  background: #f4fcfa;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.toggle-option {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 13px;
  border: 1px solid var(--order-line);
  border-radius: 6px;
  cursor: pointer;
}

.toggle-option input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.toggle-option__control {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 22px;
  border-radius: 20px;
  background: #c6d3d7;
  transition: background-color 160ms ease;
}

.toggle-option__control::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 160ms ease;
}

.toggle-option input:checked + .toggle-option__control {
  background: var(--order-green);
}

.toggle-option input:checked + .toggle-option__control::after {
  transform: translateX(-16px);
}

.toggle-option > span:last-child {
  display: grid;
  gap: 1px;
}

.toggle-option strong {
  font-size: 14px;
}

.toggle-option small {
  color: var(--order-ink-soft);
  font-size: 11px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.text-field {
  display: grid;
  gap: 7px;
}

.text-field > span:first-child {
  color: var(--order-ink);
  font-size: 14px;
  font-weight: 700;
}

.text-field input,
.text-field textarea {
  width: 100%;
  border: 1px solid var(--order-line);
  border-radius: 5px;
  color: var(--order-ink);
  background: #fff;
}

.text-field input {
  min-height: 43px;
  padding: 0 12px;
}

.text-field textarea {
  min-height: 86px;
  padding: 11px 12px;
  resize: vertical;
}

.text-field small {
  color: var(--order-ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.text-field--wide {
  grid-column: 1 / -1;
}

.billing-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--order-line);
  border-radius: 6px;
  background: #f3f6f7;
}

.billing-option {
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  color: var(--order-ink-soft);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.billing-option.is-selected {
  color: var(--order-ink);
  background: #fff;
  box-shadow: 0 1px 3px rgba(24, 51, 66, 0.12);
  font-weight: 700;
}

.order-summary {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid #b9d2d5;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--order-shadow);
}

.order-summary__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--order-line);
  background: #f7fbfb;
}

.order-summary__top p {
  margin: 0 0 3px;
  color: var(--order-green-deep);
  font-size: 12px;
  font-weight: 700;
}

.order-summary__top h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.summary-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-top: 3px;
  color: var(--order-green-deep);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.summary-live > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--order-green);
}

.summary-list {
  display: grid;
  padding: 9px 20px;
  margin: 0;
}

.summary-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-height: 35px;
  border-bottom: 1px dashed #e3eaec;
}

.summary-list > div:last-child {
  border-bottom: 0;
}

.summary-list dt {
  color: var(--order-ink-soft);
  font-size: 12px;
  font-weight: 400;
}

.summary-list dd {
  min-width: 0;
  margin: 0;
  color: var(--order-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: anywhere;
}

.summary-price {
  padding: 17px 20px;
  border-top: 1px solid var(--order-line);
  background: #f7fafb;
}

.summary-price > span {
  display: block;
  margin-bottom: 2px;
  color: var(--order-ink-soft);
  font-size: 12px;
}

.summary-price strong {
  color: var(--order-ink);
  font-size: 22px;
}

.summary-price small {
  color: var(--order-ink-soft);
  font-size: 12px;
  font-weight: 400;
}

.summary-price p {
  margin: 5px 0 0;
  color: var(--order-ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.summary-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 40px);
  min-height: 50px;
  padding: 0 16px;
  margin: 18px 20px 9px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--order-green);
  box-shadow: 0 7px 14px rgba(8, 168, 137, 0.22);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.summary-checkout:hover {
  background: var(--order-green-deep);
}

.summary-checkout i {
  font-size: 20px;
}

.summary-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 0 20px 19px;
  margin: 0;
  color: var(--order-ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.summary-note i {
  margin-top: 2px;
  color: var(--order-cyan);
  font-size: 14px;
}

.order-footer {
  color: #d9e5e8;
  background: #142d39;
}

.order-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  width: min(1200px, calc(100% - 40px));
  min-height: 112px;
  margin: 0 auto;
}

.order-footer img {
  display: block;
  width: 118px;
  height: auto;
}

.order-footer p {
  margin: 6px 0 0;
  color: #bcd0d4;
  font-size: 12px;
}

.order-footer__contact {
  display: grid;
  gap: 3px;
}

.order-footer__contact span {
  color: #a6c0c6;
  font-size: 12px;
}

.order-footer__contact a {
  color: #fff;
  direction: ltr;
  font-size: 18px;
  font-weight: 700;
}

.order-footer__copyright {
  white-space: nowrap;
}

.order-price-feeds {
  display: none;
}

@media (max-width: 1030px) {
  .order-builder {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
  }

  .order-section {
    padding: 23px;
  }

  .location-grid,
  .preset-list {
    grid-template-columns: 1fr;
  }

  .location-option,
  .preset-option {
    min-height: 68px;
  }

  .os-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .order-header__inner {
    grid-template-columns: auto 1fr;
    gap: 14px;
    min-height: 70px;
  }

  .order-brand {
    width: 125px;
  }

  .order-nav {
    display: none;
  }

  .order-login {
    justify-self: end;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .order-builder {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .order-selected-plan {
    padding: 14px 16px;
  }

  .location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .location-option {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 110px;
  }

  .location-option__status {
    position: absolute;
    opacity: 0;
  }

  .preset-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-footer__inner {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 22px 0;
  }

  .order-footer__copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .order-header__inner,
  .order-intro__content,
  .order-workspace,
  .order-footer__inner {
    width: min(100% - 28px, 1200px);
  }

  .order-brand {
    width: 112px;
  }

  .order-login span {
    display: none;
  }

  .order-login {
    width: 38px;
    padding: 0;
  }

  .order-intro {
    min-height: 270px;
  }

  .order-intro__content {
    padding: 20px 0 26px;
  }

  .order-eyebrow {
    margin-top: 20px;
  }

  .order-intro h1 {
    font-size: 27px;
  }

  .order-intro__lead {
    font-size: 14px;
  }

  .order-highlights {
    gap: 8px 14px;
  }

  .order-highlights li {
    font-size: 12px;
  }

  .order-workspace {
    margin-top: 18px;
  }

  .order-section {
    padding: 20px 16px;
  }

  .order-selected-plan {
    gap: 10px;
    padding: 14px;
  }

  .order-selected-plan strong {
    font-size: 14px;
  }

  .order-section__heading {
    gap: 10px;
    margin-bottom: 18px;
  }

  .order-section__heading h2 {
    font-size: 17px;
  }

  .location-grid,
  .preset-list,
  .os-grid,
  .network-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .location-option {
    grid-template-columns: auto 1fr auto;
    min-height: 66px;
  }

  .location-option__status {
    position: static;
    opacity: 1;
  }

  .preset-list {
    gap: 8px;
  }

  .preset-option {
    min-height: 70px;
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 16px 0;
  }

  .stepper,
  .select-field {
    width: 100%;
  }

  .stepper {
    grid-template-columns: 42px 1fr auto 42px;
  }

  .stepper__button {
    width: 42px;
    height: 40px;
  }

  .text-field--wide {
    grid-column: auto;
  }

  .order-footer__inner {
    grid-template-columns: 1fr;
  }

  .order-footer__copyright {
    grid-column: auto;
  }
}
