.aqm-payment-page { padding-block: clamp(48px, 6vw, 98px) clamp(74px, 9vw, 130px); }
.aqm-payment-heading { padding-bottom: clamp(34px, 5vw, 65px); }
.aqm-payment-heading .aqm-title { margin-top: .65rem; }
.aqm-payment-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .75fr); align-items: start; gap: clamp(25px, 4vw, 70px); }
.aqm-payment-card { background: var(--aqm-white); border: 1px solid var(--aqm-line); box-shadow: 0 17px 55px rgba(16, 59, 82, .065); padding: clamp(23px, 4.5vw, 62px); }
.aqm-payment-card-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 25px; margin-bottom: 30px; border-bottom: 1px solid var(--aqm-line); }
.aqm-payment-step { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: var(--aqm-blue); }
.aqm-payment-section-title { margin-top: .6rem !important; font-family: var(--aqm-display); font-size: clamp(1.7rem, 2.7vw, 2.6rem); font-weight: 500; letter-spacing: -.025em; color: var(--aqm-deep); }
.aqm-payment-lock { display: inline-flex; align-items: center; padding: .35rem .55rem; background: var(--aqm-ice); color: var(--aqm-deep); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.aqm-payment-form { gap: 1.55rem; }
.aqm-payment-form .aqm-form-label { font-size: .78rem; }
.aqm-payment-form .aqm-form-input, .aqm-payment-form .aqm-form-select { min-height: 52px; }
.aqm-payment-amount-field { position: relative; }
.aqm-payment-amount-field > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--aqm-blue); font-weight: 700; }
.aqm-payment-amount-field > .aqm-form-input { padding-left: 34px; }
.aqm-payment-methods { min-width: 0; border: 0; margin: 0; padding: 4px 0 0; }
.aqm-payment-methods > legend { padding: 0 0 .65rem; }
.aqm-payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aqm-payment-option { position: relative; display: block; cursor: pointer; min-width: 0; }
.aqm-payment-option > input { position: absolute; top: 15px; right: 15px; width: 18px; height: 18px; accent-color: var(--aqm-blue); }
.aqm-payment-option-content { display: flex; align-items: center; gap: 12px; min-height: 100px; padding: 18px 36px 18px 16px; border: 1px solid var(--aqm-line); background: var(--aqm-white); transition: background .18s ease, border-color .18s ease; }
.aqm-payment-option > input:checked + .aqm-payment-option-content { border-color: var(--aqm-blue); background: var(--aqm-ice); box-shadow: inset 0 0 0 1px var(--aqm-blue); }
.aqm-payment-option > input:focus-visible + .aqm-payment-option-content { outline: 3px solid var(--aqm-blue); outline-offset: 3px; }
.aqm-payment-option-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; background: var(--aqm-blue-soft); color: var(--aqm-navy); font-size: 1.25rem; }
.aqm-payment-option strong { display: block; line-height: 1.35; color: var(--aqm-deep); font-size: .9rem; }
.aqm-payment-option small { display: block; margin-top: 4px; line-height: 1.3; color: var(--aqm-muted); font-size: .74rem; }
.aqm-payment-gateway-preview { display: grid; gap: 1rem; border: 1px solid var(--aqm-line); background: #f7fafb; padding: clamp(18px, 2.5vw, 27px); }
.aqm-payment-gateway-preview[hidden] { display: none; }
.aqm-payment-preview-head { display: flex; gap: 14px; align-items: center; justify-content: space-between; color: var(--aqm-deep); font-weight: 700; font-size: .84rem; }
.aqm-payment-preview-head > span:last-child { color: var(--aqm-muted); font-size: .7rem; font-weight: 500; }
.aqm-payment-gateway-preview input:disabled, .aqm-payment-gateway-preview select:disabled { background: #eef3f3; color: #82939a; border-color: #d7e0e1; cursor: not-allowed; }
.aqm-payment-gateway-notice { margin: -12px 0 0 !important; max-width: 75ch; font-size: .8rem; line-height: 1.65; color: var(--aqm-muted); }
.aqm-payment-section-break { padding: 8px 0 4px; border-bottom: 1px solid var(--aqm-line); }
.aqm-payment-section-break .aqm-payment-step { padding-bottom: 10px; }
.aqm-payment-submit-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 5px; }
.aqm-payment-submit-bar > button { min-height: 56px; padding-inline: 28px; }
.aqm-payment-submit-bar > button:disabled { opacity: .62; cursor: wait; }
.aqm-payment-submit-note { font-size: .8rem; color: var(--aqm-muted); }
.aqm-payment-form .aqm-form-status { padding: 14px 17px; background: var(--aqm-ice); }
.aqm-payment-form .aqm-form-status[data-state="error"] { background: #fff0ef; }
.aqm-payment-aside { position: sticky; top: 35px; }
.aqm-payment-image { overflow: hidden; min-height: 420px; background: var(--aqm-blue-soft); }
.aqm-payment-image img { width: 100%; height: 420px; object-fit: cover; }
.aqm-payment-help { padding: 36px; background: var(--aqm-deep); color: #fff; }
.aqm-payment-help .aqm-overline { color: var(--aqm-sun); }
.aqm-payment-help h2 { margin: 12px 0 22px; font-family: var(--aqm-display); font-weight: 500; font-size: clamp(1.65rem, 2.1vw, 2.3rem); }
.aqm-payment-help a { display: block; overflow-wrap: anywhere; color: #fff; text-decoration-color: var(--aqm-sun); text-underline-offset: 3px; font-size: .9rem; margin-top: 10px; }
@media (max-width: 1100px) { .aqm-payment-layout { grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 25px; } .aqm-payment-aside { position: static; } }
@media (max-width: 860px) { .aqm-payment-layout { grid-template-columns: 1fr; } .aqm-payment-aside { display: grid; grid-template-columns: 1fr 1fr; } .aqm-payment-image, .aqm-payment-image img { height: 280px; min-height: 0; } .aqm-payment-help { display: flex; flex-direction: column; justify-content: center; } }
@media (max-width: 560px) { .aqm-payment-page { padding-top: 48px; } .aqm-payment-card-head { flex-direction: column; } .aqm-payment-options { grid-template-columns: 1fr; } .aqm-payment-option-content { min-height: 74px; } .aqm-payment-preview-head { flex-direction: column; align-items: start; gap: 3px; } .aqm-payment-aside { grid-template-columns: 1fr; } .aqm-payment-image, .aqm-payment-image img { height: 230px; } .aqm-payment-help { padding: 28px; } .aqm-payment-submit-bar > button { width: 100%; } }
