.ch-checkout { background: #f4f6fc; }
.ch-checkout-main { max-width: 1080px; min-height: min(690px, 78vh); padding-block: 15px 42px; }
.ch-order-path { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-block: 0 13px; font-size: .86rem; color: var(--ch-muted); }
.ch-order-path a, .ch-order-text-link { text-underline-offset: 4px; }
.ch-order-hero {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 24px;
  padding: clamp(15px, 4vw, 29px); border-radius: 20px;
  background: radial-gradient(ellipse at 12% 12%, #8d6cdf3d, transparent 65%), linear-gradient(130deg, #12162e, #19213d);
  color: #fff; box-shadow: 0 15px 36px #151d3a20;
}
.ch-order-hero h1 { margin: 0; font-size: clamp(1.43rem, 3.7vw, 2.15rem); line-height: 1.5; }
.ch-order-hero p { margin: 3px 0 0; color: #d5daf4; font-size: .93rem; }
.ch-order-steps { display: flex; flex-wrap: wrap; gap: 7px 13px; margin: 0; list-style: none; padding: 0; }
.ch-order-steps li { display: flex; align-items: center; gap: 5px; color: #e0e3f5; font-size: .78rem; font-weight: 650; }
.ch-order-steps li span {
  display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #a9abd18a;
  background: #ffffff0a; border-radius: 50%; font-size: .78rem;
}
.ch-order-steps li[aria-current="step"] { color: #fff; font-weight: 900; }
.ch-order-steps li[aria-current="step"] span { color: #231645; background: #dfd2ff; border-color: #dfd2ff; }
.ch-order-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(235px, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
.ch-order-layout--single { grid-template-columns: minmax(0, 1fr); }
.ch-order-panel, .ch-order-summary {
  min-width: 0; padding: clamp(14px, 3vw, 24px); border-radius: 18px; border: 1px solid #e1e5f1;
  background: #fff; box-shadow: 0 7px 25px #20264d0a;
}
.ch-order-panel h2, .ch-order-summary h2 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.55; }
.ch-order-panel > p { margin: 0 0 14px; color: var(--ch-muted); font-size: .93rem; }
.ch-order-summary { background: linear-gradient(155deg, #fff 40%, #f3f0fc); }
.ch-order-product {
  padding: 10px; margin-top: 12px; display: flex; align-items: center; gap: 10px;
  min-width: 0; border-radius: 13px; border: 1px solid #e2dcf5; background: #f5f1fc;
}
.ch-order-product img { display: block; width: 58px; height: 58px; border-radius: 12px; object-fit: contain; flex: none; }
.ch-order-product small { display: block; color: var(--ch-muted); font-size: .79rem; margin-top: 2px; }
.ch-order-facts { margin: 12px 0; display: grid; gap: 6px; }
.ch-order-facts > div, .ch-order-total { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.ch-order-facts dt { color: #57516d; font-size: .86rem; }
.ch-order-facts dd { margin: 0; font-size: .86rem; font-weight: 750; }
.ch-order-total { margin-top: 12px; padding-top: 9px; border-top: 1px solid #ded8ef; }
.ch-order-total > span { font-size: .88rem; }
.ch-order-total b { color: #3e287f; font-size: 1.26rem; }
.ch-order-total b small { font-size: .82rem; }
.ch-order-summary-link { display: inline-flex; gap: 6px; margin-top: 13px; }
.ch-order-summary-link, .ch-order-links a, .ch-order-text-link, .ch-order-note a, .ch-order-terms a {
  color: #4e2c99 !important; font-size: .87rem; font-weight: 750; text-underline-offset: 4px;
}
.ch-order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px 16px; }
.ch-checkout .ch-android-btn { font-family: inherit; cursor: pointer; gap: 8px; }
.ch-checkout .ch-order-button-soft { color: #412984; border-color: #dcd2ef; background: #f5f0fe; }
.ch-checkout .ch-order-button-soft:hover { background: #ece4fb; }
.ch-order-panel .ch-order-notice, .ch-order-panel .ch-order-note, .ch-order-account {
  padding: 9px 11px; background: #f3f0fc; color: #382e62; border: 1px solid #e2daf5;
  border-radius: 10px; margin-block: 0 12px;
}
.ch-order-panel .ch-order-notice--error { color: #8c2636; background: #fff1f3; border-color: #f3c7d0; }
.ch-order-panel .ch-order-note { margin-block: 16px 0; }
.ch-order-account { display: grid; gap: 2px; font-size: .88rem; }
.ch-order-account bdi { font-weight: 800; overflow-wrap: anywhere; justify-self: start; }
.ch-order-links { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #e7e7f0; }
.ch-order-form { display: grid; gap: 9px; margin-block: 12px 0; }
.ch-order-form--register { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.ch-order-full { grid-column: 1 / -1; }
.ch-order-field { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.ch-order-field small { color: #5c5570; font-size: .75rem; font-weight: 600; }
.ch-order-form label, .ch-order-form legend { font-size: .89rem; font-weight: 800; }
.ch-order-form input:not([type="radio"], [type="checkbox"], [type="hidden"]) {
  min-width: 0; width: 100%; min-height: 46px; padding: 8px 11px;
  border: 1px solid #cbc6dc; border-radius: 9px; color: #201b39; background: #fff; font: inherit; font-size: 1rem;
}
.ch-order-form :is(input, button):focus-visible { outline: 3px solid #8c68f0; outline-offset: 3px; }
.ch-order-form .ch-android-btn { margin-top: 3px; }
.ch-order-forgot { justify-self: end; margin-block: 1px 3px; }
.ch-order-consent { display: flex; gap: 7px; align-items: flex-start; }
.ch-order-consent input { flex: none; margin-top: 6px; }
.ch-order-form :is(input[type="radio"], input[type="checkbox"]) { width: 17px; height: 17px; accent-color: #5731ab; }
.ch-order-gateways { min-width: 0; border: 0; padding: 0; margin: 2px 0; display: flex; flex-wrap: wrap; gap: 7px; }
.ch-order-gateways legend { padding: 0; margin-bottom: 5px; }
.ch-order-gateway {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; flex: 1 1 125px;
  border: 1px solid #ded8ef; border-radius: 9px; padding: 6px 10px; cursor: pointer;
}
.ch-order-gateway:has(input:checked) { border-color: #7750cc; background: #f2ecfe; }
.ch-order-terms { margin: 0; color: var(--ch-muted); font-size: .84rem; }
@media (max-width: 660px) {
  .ch-order-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ch-order-hero { border-radius: 15px; gap: 10px; }
  .ch-order-steps { gap: 5px 9px; }
  .ch-order-steps li { font-size: .74rem; }
  .ch-order-panel, .ch-order-summary { border-radius: 14px; }
}
@media (max-width: 400px) {
  .ch-order-form--register { grid-template-columns: minmax(0, 1fr); }
  .ch-order-actions { display: grid; }
}
