@font-face {
  font-family: Vazirmatn;
  src: url("./assets/Vazirmatn-Arabic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Hanken;
  src: url("./assets/hanken-grotesk-normal-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Vazirmatn, Hanken, system-ui, sans-serif;
  color: #0b1220;
  background: #f7f8fb;
  font-synthesis: none;
  --blue: #315fdb;
  --muted: #64748b;
  --border: #e3e8f1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button,
input {
  min-height: 48px;
}
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid #3b6df0;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
.skip-link {
  border: 0;
  border-radius: 8px;
  color: #0b1220;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: white;
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  max-width: 1160px;
  margin: auto;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand > span:first-of-type {
  font-family: Hanken, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-divider {
  width: 1px;
  height: 23px;
  background: #d7deea;
  margin: 0 5px;
}
.brand-product {
  font:
    500 16px Hanken,
    sans-serif;
  color: #52617a;
}
.header-caption {
  font-size: 13px;
  color: var(--muted);
}
main {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 0 24px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  direction: rtl;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 60px #12204407;
}
.summary {
  background: #0b1429;
  color: white;
  padding: 48px 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.09em;
  color: var(--blue);
}
.summary > .eyebrow {
  color: #99b7ff;
  letter-spacing: 0.16em;
  align-self: flex-start;
}
.summary h1 {
  font-size: 35px;
  font-weight: 650;
  line-height: 1.65;
  margin-top: 18px;
  letter-spacing: -0.8px;
}
.summary-intro {
  font-size: 14px;
  color: #b5c1d8;
  line-height: 2;
  margin-top: 14px;
}
.amount-block {
  margin-top: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ffffff23;
}
.amount-block > span:first-child {
  color: #b5c1d8;
  font-size: 13px;
}
#amount {
  font-family: Hanken, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -1.5px;
  text-align: right;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.currency-caption {
  font-size: 12px;
  color: #b5c1d8;
}
.summary-details {
  margin: 24px 0 0;
  font-size: 13px;
  display: grid;
  gap: 16px;
}
.summary-details > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.summary-details dt {
  color: #b5c1d8;
}
.summary-details dd {
  margin: 0;
  text-align: left;
  overflow-wrap: anywhere;
}
.summary-note {
  margin-top: auto;
  padding-top: 42px;
  font-size: 12px;
  line-height: 1.9;
  color: #c7d4ec;
  max-width: 280px;
  display: flex;
  gap: 12px;
}
.summary-note > span {
  font: 24px Hanken;
  color: #99b7ff;
}
.summary-art {
  position: absolute;
  z-index: -1;
  opacity: 0.07;
  bottom: -110px;
  left: -85px;
  transform: rotate(-20deg);
  width: 370px;
  height: 370px;
  pointer-events: none;
}
.payment-panel {
  padding: 36px 40px;
  min-width: 0;
}
.steps {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #596b85;
  font-size: 11px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.steps li > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #dce3ef;
  border-radius: 50%;
  font-size: 11px;
}
.steps [aria-current="step"] {
  color: var(--blue);
  font-weight: 650;
}
.steps [aria-current="step"] > span {
  border-color: var(--blue);
  background: #f0f4ff;
}
.steps .complete > span {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.panel-heading h2 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 650;
  margin-top: 8px;
}
.panel-heading > p:last-child {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 8px;
}
.status-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f5f7fb;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  padding: 13px 14px;
  margin: 22px 0;
  font-size: 12px;
  line-height: 1.9;
  color: #4d607d;
}
.status-icon {
  flex-shrink: 0;
  font-family: Hanken, sans-serif;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  font-size: 12px;
}
.status-box[data-tone="success"] {
  background: #edf8f3;
  border-color: #c7e9d9;
  color: #196143;
}
.status-box[data-tone="warning"] {
  background: #fff8ed;
  border-color: #f0dfc1;
  color: #78571b;
}
.status-box[data-tone="error"] {
  background: #fff2f1;
  border-color: #f0d5d2;
  color: #943e37;
}
.methods {
  margin: 0 0 25px;
  padding: 0;
  border: 0;
}
.methods legend,
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.method-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.method-card {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  padding: 14px 12px;
  min-width: 0;
  cursor: pointer;
  position: relative;
  min-height: 82px;
}
.method-card:has(input:checked) {
  border-color: var(--blue);
  background: #f5f8ff;
  box-shadow: 0 0 0 1px var(--blue);
}
.method-card:has(input:focus-visible) {
  outline: 3px solid #3b6df0;
  outline-offset: 4px;
}
.method-card:has(input:disabled) {
  background: #fafbfc;
  color: #738095;
  cursor: default;
}
.method-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
}
.method-brand {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 44px;
}
.method-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.method-monogram {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #eaf0ff;
  color: var(--blue);
  border-radius: 9px;
  font:
    750 10px Hanken,
    sans-serif;
  letter-spacing: -0.3px;
}
.method-card:has(input:disabled) .method-monogram {
  background: #eef0f4;
  color: #778498;
}
.method-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.method-name {
  font-size: 13px;
  line-height: 1.6;
}
.method-detail {
  font-size: 10px;
  color: #61718b;
  font-weight: 400;
}
.method-check {
  margin-inline-start: auto;
  width: 14px;
  height: 14px;
  border: 1px solid #b8c6df;
  border-radius: 50%;
  flex-shrink: 0;
}
.method-card:has(input:checked) .method-check {
  border: 4px solid var(--blue);
}
input:not([type="radio"]) {
  width: 100%;
  height: 52px;
  padding: 12px 14px;
  border: 1px solid #cad4e4;
  border-radius: 10px;
  background: white;
  color: #0b1220;
  font-family: Hanken, Vazirmatn, sans-serif;
  font-size: 17px;
  transition: border-color 0.15s;
}
input::placeholder {
  color: #7a879b;
  font-size: 14px;
}
.field-help {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 9px 0 23px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid transparent;
  background: var(--blue);
  color: white;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
}
.primary:hover {
  background: #244ebf;
}
.primary:disabled {
  opacity: 0.6;
}
.primary > span:last-child {
  font-family: Hanken, sans-serif;
  font-size: 22px;
}
.action-note {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 11px;
  line-height: 1.8;
}
.panel-footer {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.text-button > span {
  font: 21px Hanken;
}
.panel-footer > p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.confirmation-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.confirmation-heading h3 {
  font-size: 15px;
  font-weight: 600;
}
.confirmation-heading p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 5px;
}
.phone-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eff4ff;
  color: var(--blue);
  font-size: 23px;
}
input.otp {
  letter-spacing: 0.65em;
  text-align: center;
  font: 500 25px Hanken;
  letter-spacing: 0.6em;
  padding-inline-start: 30px;
}
.environment {
  background: #fff7e6;
  border: 1px solid #eddbb7;
  color: #755522;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.site-footer {
  padding: 25px 4px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6a778b;
  font-size: 11px;
}
.site-footer > span {
  font-family: Hanken;
  font-size: 12px;
}
.noscript {
  background: #fff2f1;
  color: #943e37;
  padding: 15px;
  border-radius: 10px;
  font-size: 13px;
}
@media (min-width: 760px) {
  .payment-panel {
    min-height: 665px;
  }
}
@media (max-width: 759px) {
  .site-header {
    padding: 22px 20px;
  }
  .header-caption {
    font-size: 11px;
  }
  main {
    margin-top: 10px;
    padding: 0 16px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .summary {
    padding: 25px 24px;
  }
  .summary h1,
  .summary-intro,
  .summary-note,
  .summary-details > div:first-child {
    display: none;
  }
  .summary > .eyebrow {
    font-size: 10px;
  }
  .amount-block {
    margin-top: 16px;
    padding-bottom: 18px;
  }
  #amount {
    font-size: 35px;
    margin-top: 3px;
  }
  .summary-details {
    margin-top: 16px;
    font-size: 12px;
  }
  .summary-art {
    bottom: -185px;
    left: -20px;
  }
  .payment-panel {
    padding: 25px 24px;
  }
  .steps {
    margin-bottom: 26px;
  }
  .panel-heading h2 {
    font-size: 23px;
  }
  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .panel-footer > p {
    margin-bottom: 4px;
  }
  .method-card {
    display: grid;
    justify-items: start;
    align-content: start;
    padding: 14px 12px;
    gap: 10px;
    min-height: 122px;
  }
  .method-name {
    font-size: 12px;
  }
  .method-detail {
    font-size: 9px;
  }
  .method-monogram {
    width: 30px;
    height: 30px;
  }
  .method-check {
    position: absolute;
    inset-inline-end: 12px;
    top: 16px;
    width: 12px;
    height: 12px;
  }
  .site-footer {
    padding: 22px 4px 26px;
  }
  .environment {
    font-size: 11px;
    padding: 12px 16px;
  }
}
@media (max-width: 359px) {
  .payment-panel {
    padding: 22px 18px;
  }
  .method-options {
    grid-template-columns: 1fr;
  }
  .brand-product {
    font-size: 13px;
  }
  .header-caption {
    display: none;
  }
  .steps {
    gap: 7px;
    font-size: 10px;
  }
  .steps li {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
