html {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.howtobuy-page {
  height: auto;
  min-height: 100%;
  overflow-x: visible;
  overflow-y: visible;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 21, 205, 0.12), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(35, 213, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff8fd 47%, #f4fdff 100%);
  color: #211a2c;
}

.how-order-page,
.how-order-page * {
  box-sizing: border-box;
}

.how-order-page * {
  min-width: 0;
  white-space: normal;
}

body.howtobuy-page .phone-value-nav {
  overflow: hidden;
}

body.howtobuy-page .how-order-primary.phone-value-nav {
  margin: 0;
}

body.howtobuy-page .how-order-primary.phone-value-nav::before {
  display: none;
}

.how-order-page {
  width: min(calc(100% - 48px), 1360px);
  margin: 30px auto 46px;
}

.how-order-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #6d6277;
  font-size: 15px;
  font-weight: 700;
}

.how-order-crumbs a {
  color: #211a2c;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.how-order-crumbs a:hover {
  color: #f000c7;
  transform: translateY(-1px);
}

.how-order-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 28px;
  min-height: 430px;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 70, 204, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(28, 13, 43, 0.78) 0%, rgba(37, 19, 58, 0.58) 43%, rgba(255, 255, 255, 0.08) 100%),
    url("../img/batuts.webp") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(255, 23, 194, 0.16), 0 16px 52px rgba(14, 178, 220, 0.12);
}

.how-order-hero::before {
  content: "";
  position: absolute;
  inset: 20px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
}

.how-order-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 41, 193, 0.42), rgba(255, 111, 63, 0.2) 46%, transparent 70%);
  filter: blur(2px);
}

.how-order-hero-content,
.how-order-hero-card {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.how-order-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #f000c7;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.how-order-kicker::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff12d0, #ff7748);
  box-shadow: 0 0 0 6px rgba(255, 19, 208, 0.12);
}

.how-order-hero .how-order-kicker {
  color: #fff;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}

.how-order-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 58px;
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.how-order-hero-content > p:not(.how-order-kicker) {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.how-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  max-width: 680px;
  margin-top: 30px;
}

.how-order-primary,
.how-order-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 950;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.35s ease, border-color 0.25s ease;
  overflow: hidden;
}

.how-order-primary {
  color: #fff;
  background: linear-gradient(120deg, #ff10cb 0%, #ff236d 52%, #ff8b42 100%);
  background-size: 180% 100%;
  box-shadow: 0 18px 34px rgba(255, 24, 185, 0.34), 0 8px 18px rgba(255, 118, 62, 0.22);
}

.how-order-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 0;
  box-shadow: 0 22px 44px rgba(255, 24, 185, 0.42), 0 12px 28px rgba(255, 118, 62, 0.3);
}

.how-order-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.how-order-secondary:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 18px 34px rgba(0, 0, 0, 0.16);
}

.how-order-primary svg,
.how-order-secondary svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.how-order-primary span,
.how-order-secondary span {
  color: inherit;
  white-space: nowrap;
}

.how-order-primary svg path {
  fill: currentColor;
}

.how-order-secondary svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-order-hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 253, 0.78));
  box-shadow: 0 24px 50px rgba(19, 6, 31, 0.2);
  backdrop-filter: blur(14px);
}

.how-order-hero-logo {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(255, 21, 205, 0.2);
}

.how-order-hero-logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.how-order-hero-card ul,
.how-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-order-hero-card li,
.how-check-list li {
  position: relative;
  padding-left: 30px;
  color: #413949;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.how-order-hero-card li::before,
.how-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.1 10.2 8.3 13.4 15 6.6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
    linear-gradient(135deg, #ff12d0, #ff7748);
  box-shadow: 0 8px 18px rgba(255, 25, 196, 0.24);
}

.how-order-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.how-step {
  position: relative;
  min-height: 248px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 70, 204, 0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 253, 0.88));
  box-shadow: 0 20px 48px rgba(255, 21, 205, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.how-step::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -64px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 214, 255, 0.28), transparent 68%);
}

.how-step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 28, 203, 0.5);
  box-shadow: 0 26px 58px rgba(255, 21, 205, 0.18), 0 16px 36px rgba(22, 205, 238, 0.12);
}

.how-step-icon,
.how-panel-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff14ce 0%, #ff5b57 62%, #21ceff 100%);
  box-shadow: 0 16px 34px rgba(255, 23, 194, 0.24);
}

.how-step-icon svg,
.how-panel-icon svg {
  width: 34px;
  height: 34px;
}

.how-step-icon svg path,
.how-panel-icon svg path,
.how-doc-grid svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-step > span {
  display: inline-flex;
  margin-top: 20px;
  color: #ff17cc;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.how-step h2 {
  margin: 8px 0 10px;
  color: #251d31;
  font-size: 23px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}

.how-step p {
  margin: 0;
  color: #62586d;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.43;
}

.how-order-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.how-order-panel,
.how-order-docs,
.how-order-cta {
  border: 1px solid rgba(255, 70, 204, 0.22);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 253, 0.78) 48%, rgba(238, 252, 255, 0.88));
  box-shadow: 0 22px 58px rgba(255, 21, 205, 0.1), 0 14px 42px rgba(38, 207, 244, 0.08);
}

.how-order-panel {
  padding: 30px;
}

.how-panel-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.how-panel-head .how-order-kicker {
  margin-bottom: 7px;
}

.how-panel-head h2,
.how-order-docs h2,
.how-order-cta h2 {
  margin: 0;
  color: #231c2e;
  font-size: 32px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}

.how-order-panel > p,
.how-order-docs p,
.how-order-cta p {
  margin: 0;
  color: #5f556a;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.52;
}

.how-order-panel > p {
  margin-bottom: 18px;
}

.how-order-docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 34px;
}

.how-order-docs-content p:last-child {
  max-width: 690px;
  margin-top: 16px;
}

.how-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.how-doc-grid div {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 70, 204, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.how-doc-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 21, 205, 0.46);
  box-shadow: 0 18px 34px rgba(255, 21, 205, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.how-doc-grid svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 9px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #ff13cd, #42cfff);
  box-shadow: 0 13px 26px rgba(255, 21, 205, 0.18);
}

.how-doc-grid span {
  color: #2c2437;
  font-size: 16px;
  font-weight: 950;
}

.how-order-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 34px;
  background:
    linear-gradient(120deg, rgba(255, 18, 208, 0.12), rgba(255, 122, 68, 0.12) 44%, rgba(35, 213, 255, 0.15)),
    #fff;
}

.how-order-cta .how-order-kicker {
  margin-bottom: 10px;
}

.how-order-cta p:last-child {
  max-width: 760px;
  margin-top: 12px;
}

.how-order-cta .how-order-primary {
  min-width: 230px;
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .how-order-page {
    width: min(calc(100% - 32px), 1040px);
  }

  .how-order-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px;
  }

  .how-order-hero h1 {
    font-size: 48px;
  }

  .how-order-hero-card {
    max-width: 520px;
  }

  .how-order-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-order-docs {
    grid-template-columns: 1fr;
  }

  .how-doc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .how-order-page {
    width: calc(100% - 24px);
    margin-top: 18px;
  }

  .how-order-crumbs {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .how-order-hero {
    padding: 26px 18px;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(28, 13, 43, 0.76) 0%, rgba(37, 19, 58, 0.62) 58%, rgba(27, 16, 40, 0.44) 100%),
      url("../img/batuts.webp") center / cover no-repeat;
  }

  .how-order-hero::before {
    inset: 12px;
    border-radius: 17px;
  }

  .how-order-hero h1 {
    font-size: 36px;
    line-height: 1.02;
  }

  .how-order-hero-content > p:not(.how-order-kicker) {
    margin-top: 16px;
    font-size: 16px;
  }

  .how-order-actions,
  .how-order-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .how-order-primary,
  .how-order-secondary {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .how-order-hero-card {
    padding: 18px;
    border-radius: 20px;
  }

  .how-order-flow,
  .how-order-details,
  .how-doc-grid {
    grid-template-columns: 1fr;
  }

  .how-step {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .how-order-panel,
  .how-order-docs,
  .how-order-cta {
    padding: 22px;
    border-radius: 22px;
  }

  .how-panel-head {
    align-items: flex-start;
  }

  .how-panel-head h2,
  .how-order-docs h2,
  .how-order-cta h2 {
    font-size: 26px;
  }

  .how-doc-grid div {
    min-height: 76px;
  }

  .how-order-cta .how-order-primary {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .how-order-hero h1 {
    font-size: 32px;
  }

  .how-order-kicker {
    font-size: 12px;
  }

  .how-step h2 {
    font-size: 21px;
  }
}
