@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  --bg: #f6f7fb;
  --panel: rgba(255, 255, 255, 0.94);
  --text: #171a24;
  --muted: #777d8d;
  --muted-2: #a3a8b5;
  --line: #e8eaf0;
  --line-strong: #dcdee7;
  --primary: #5c5ce9;
  --primary-dark: #4848d2;
  --primary-soft: #eeeeff;
  --success: #208865;
  --success-soft: #eaf8f2;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(41, 44, 67, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(119, 117, 247, 0.07), transparent 25rem),
    radial-gradient(circle at 95% 42%, rgba(82, 202, 178, 0.06), transparent 24rem),
    var(--bg);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(64, 67, 89, 0.12) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  opacity: 0.19;
  content: '';
  mask-image: linear-gradient(to bottom, black, transparent 52%);
}

button, input { font: inherit; }
button, label, input[type='radio'], input[type='checkbox'] { -webkit-tap-highlight-color: transparent; }
button, label { cursor: pointer; }
a { color: inherit; }
svg { display: block; fill: currentColor; }

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.page-glow--one { top: -220px; left: -160px; width: 480px; height: 480px; border: 1px solid rgba(92, 92, 233, 0.12); }
.page-glow--two { right: -160px; top: 310px; width: 360px; height: 360px; border: 1px solid rgba(56, 176, 143, 0.11); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(219, 221, 230, 0.72);
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: white; border-radius: 11px; background: var(--text); box-shadow: 0 7px 18px rgba(24, 26, 36, 0.14); }
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { font: 700 21px/1 'Manrope', sans-serif; letter-spacing: -0.8px; }

.header-meta { display: flex; align-items: center; gap: 23px; font-size: 13px; }
.secure-label { display: flex; align-items: center; gap: 7px; color: #626877; }
.secure-label svg { width: 17px; height: 17px; color: var(--success); }
.order-ref { padding-left: 23px; color: var(--muted); border-left: 1px solid var(--line-strong); }
.order-ref strong { margin-left: 5px; color: var(--text); }

.page-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 64px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 35px; }
.eyebrow { display: block; margin-bottom: 11px; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.page-heading h1 { margin: 0; font: 600 clamp(30px, 3vw, 42px)/1.13 'Manrope', sans-serif; letter-spacing: -1.7px; }
.page-heading p { margin: 11px 0 0; color: var(--muted); font-size: 15px; }
.step-indicator { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.step-indicator__number { display: grid; width: 40px; height: 40px; place-items: center; color: var(--primary); font-weight: 700; border: 1px solid #dcdcfb; border-radius: 50%; background: rgba(255,255,255,.72); }
.step-indicator strong, .step-indicator small { display: block; }
.step-indicator strong { font-size: 13px; }
.step-indicator small { margin-top: 2px; color: var(--muted-2); font-size: 11px; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 352px; align-items: start; gap: 24px; }
.checkout-content { display: grid; min-width: 0; gap: 18px; }
.panel, .order-summary { border: 1px solid rgba(226, 228, 236, 0.9); background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.panel { overflow: hidden; border-radius: var(--radius); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 21px 26px; border-bottom: 1px solid var(--line); }
.panel-heading > div:first-child { display: flex; align-items: center; gap: 14px; }
.panel-heading h2 { margin: 0; font: 600 17px/1.25 'Manrope', sans-serif; letter-spacing: -0.35px; }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.section-number { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; color: var(--primary); font-size: 10px; font-weight: 700; border-radius: 11px; background: var(--primary-soft); }
.item-count, .currency-badge { color: #6d7280; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; background: #fafbfc; }
.item-count { padding: 7px 10px; }

.services-table { width: 100%; }
.services-head, .service-row { display: grid; grid-template-columns: minmax(235px, 1.65fr) 92px 112px 91px 24px; gap: 13px; align-items: center; }
.services-head { min-height: 42px; padding: 0 26px; color: var(--muted-2); font-size: 9px; font-weight: 700; letter-spacing: .85px; text-transform: uppercase; background: #fcfcfd; }
.services-head span:nth-child(2), .services-head span:nth-child(4) { text-align: right; }
.services-head span:nth-child(3) { text-align: center; }
.service-row { min-height: 90px; margin: 0 26px; border-bottom: 1px solid var(--line); transition: opacity .2s, transform .2s; }
.service-row:last-child { border-bottom: 0; }
.service-row.is-removing { opacity: 0; transform: translateX(-8px); }
.service-description { display: flex; align-items: center; min-width: 0; gap: 12px; }
.service-description > span:last-child { min-width: 0; }
.service-description strong, .service-description small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-description strong { font-size: 13px; font-weight: 600; }
.service-description small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.service-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; }
.service-icon svg { width: 19px; height: 19px; }
.service-icon--blue { color: #4d67df; background: #edf1ff; }
.service-icon--violet { color: #8b57d8; background: #f4edfd; }
.service-icon--mint { color: #248a70; background: #e9f7f2; }
.unit-price { color: #555b68; font-size: 12px; text-align: right; }
.line-total { font-size: 13px; text-align: right; white-space: nowrap; }
.quantity { display: grid; grid-template-columns: 30px 36px 30px; align-items: center; justify-content: center; height: 32px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fbfbfc; }
.quantity button { height: 100%; padding: 0; color: #7b808d; border: 0; background: transparent; transition: color .15s, background .15s; }
.quantity button:hover { color: var(--primary); background: var(--primary-soft); }
.quantity input { width: 100%; padding: 0; color: var(--text); font-size: 12px; font-weight: 600; text-align: center; border: 0; outline: none; background: transparent; -moz-appearance: textfield; }
.quantity input::-webkit-inner-spin-button { display: none; }
.remove-service { display: grid; width: 24px; height: 24px; padding: 0; place-items: center; color: #b3b6c0; border: 0; border-radius: 7px; background: transparent; transition: color .15s, background .15s; }
.remove-service svg { width: 15px; height: 15px; }
.remove-service:hover { color: #d05761; background: #fff0f1; }

.text-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: var(--primary); font-size: 11px; font-weight: 600; border: 0; border-radius: 9px; background: var(--primary-soft); transition: background .15s, transform .15s; }
.text-button:hover { background: #e4e4ff; transform: translateY(-1px); }
.text-button svg { width: 14px; height: 14px; }
.payer-summary { display: grid; grid-template-columns: 46px minmax(170px, 1fr) minmax(180px, .8fr); align-items: center; gap: 14px; padding: 23px 26px; }
.payer-avatar { display: grid; width: 42px; height: 42px; place-items: center; color: white; font-size: 12px; font-weight: 700; border-radius: 14px; background: linear-gradient(145deg, #7171ef, #4d4dd0); box-shadow: 0 7px 18px rgba(92, 92, 233, .21); }
.payer-primary strong, .payer-primary span, .payer-contact strong, .payer-contact span { display: block; }
.payer-primary strong, .payer-contact strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.payer-type { width: max-content; margin-top: 5px; padding: 3px 7px; color: #656b78; font-size: 9px; font-weight: 600; border-radius: 5px; background: #f0f1f4; }
.payer-contact { padding-left: 24px; border-left: 1px solid var(--line); }
.payer-contact span { margin-bottom: 4px; color: var(--muted-2); font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.payer-contact strong { font-weight: 500; }

.panel-heading--payment { border-bottom: 0; }
.payment-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 0 26px 21px; }
.payment-method input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.payment-method__body { position: relative; display: flex; min-height: 116px; padding: 14px 12px 12px; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s; }
.payment-method:hover .payment-method__body { transform: translateY(-2px); border-color: #c6c7e9; }
.payment-method input:checked + .payment-method__body { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(92, 92, 233, .09); }
.payment-method__body > span:nth-child(2) { margin-top: auto; }
.payment-method__body strong, .payment-method__body small { display: block; }
.payment-method__body strong { font-size: 12px; }
.payment-method__body small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.payment-logo { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; }
.payment-logo svg { width: 18px; height: 18px; }
.payment-logo--bank { color: #5265bb; background: #eef1ff; }
.payment-logo--paypal { color: white; font: italic 700 17px Arial; background: #0874cf; }
.payment-logo--card { color: #6f4fc8; background: #f0ebfc; }
.payment-logo--crypto { color: #a76210; background: #fff2d9; }
.method-check { position: absolute; top: 12px; right: 11px; width: 14px; height: 14px; border: 1px solid #d2d4dc; border-radius: 50%; }
.payment-method input:checked + .payment-method__body .method-check { border: 4px solid var(--primary); }

.method-details { padding: 22px 26px 24px; border-top: 1px solid var(--line); background: #fcfcfd; }
.card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: block; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span:first-child { display: block; margin-bottom: 7px; color: #646a78; font-size: 10px; font-weight: 600; }
.field input { width: 100%; height: 43px; padding: 0 13px; color: var(--text); font-size: 12px; border: 1px solid var(--line-strong); border-radius: 10px; outline: none; background: white; transition: border .15s, box-shadow .15s; }
.field input::placeholder { color: #b4b7c1; }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(92,92,233,.09); }
.input-shell { position: relative; display: block; }
.input-shell input { padding-right: 82px; }
.card-brands { position: absolute; top: 0; right: 12px; display: flex; height: 43px; align-items: center; gap: 4px; color: #253878; font: italic 700 9px Arial; }
.card-brands i { width: 16px; height: 11px; border-radius: 50%; background: #ea4b45; opacity: .85; }
.card-brands i:last-child { margin-left: -9px; background: #f2a840; }
.help-dot { position: absolute; top: 13px; right: 12px; display: grid; width: 17px; height: 17px; place-items: center; color: #8c919d; font-size: 10px; border: 1px solid #d6d8df; border-radius: 50%; }
.form-note { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: #9195a1; font-size: 9px; }
.form-note svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--success); }
.method-message { display: flex; align-items: center; gap: 14px; min-height: 62px; }
.method-message__icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--primary); border-radius: 13px; background: var(--primary-soft); }
.method-message__icon svg { width: 21px; height: 21px; }
.method-message__icon--paypal { color: white; font: italic 700 19px Arial; background: #0874cf; }
.method-message strong, .method-message small { display: block; }
.method-message strong { margin-bottom: 5px; font-size: 12px; }
.method-message small { max-width: 580px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.crypto-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.crypto-options input { position: absolute; opacity: 0; }
.crypto-options label > span { display: block; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 10px; background: white; transition: border .15s, background .15s; }
.crypto-options input:checked + span { border-color: var(--primary); background: var(--primary-soft); }
.crypto-options strong, .crypto-options small { display: block; }
.crypto-options strong { font-size: 11px; }
.crypto-options small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.crypto-note { margin: 12px 0 0; color: var(--muted); font-size: 9px; }

.order-summary { position: sticky; top: 24px; overflow: hidden; padding: 27px 27px 22px; border-radius: var(--radius); }
.summary-topline { display: flex; align-items: center; justify-content: space-between; color: #5f6572; font-size: 12px; font-weight: 500; }
.currency-badge { padding: 5px 8px; }
.summary-total { margin-top: 16px; font: 600 39px/1 'Manrope', sans-serif; letter-spacing: -2px; }
.summary-caption { margin-top: 8px; color: var(--muted-2); font-size: 10px; }
.summary-divider { height: 1px; margin: 24px 0 19px; background: var(--line); }
.summary-lines { display: grid; gap: 12px; margin: 0; }
.summary-lines div { display: flex; justify-content: space-between; font-size: 11px; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; font-weight: 600; }
.free-label { color: var(--success); }
.selected-payment { display: flex; align-items: center; gap: 11px; margin: 21px 0; padding: 12px; border-radius: 12px; background: #f6f6fa; }
.selected-payment__icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--primary); border-radius: 10px; background: white; box-shadow: 0 3px 9px rgba(44, 46, 67, .07); }
.selected-payment__icon svg { width: 18px; height: 18px; }
.selected-payment__icon--paypal { color: #0874cf; font: italic 700 16px Arial, sans-serif; }
.selected-payment__icon--crypto { color: #a76210; }
.selected-payment small, .selected-payment strong { display: block; }
.selected-payment small { margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.selected-payment strong { font-size: 11px; }
.agreement { position: relative; display: flex; align-items: flex-start; gap: 9px; margin: 0 0 18px; color: #737886; font-size: 9px; line-height: 1.5; }
.agreement input { position: absolute; opacity: 0; }
.custom-checkbox { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; color: transparent; border: 1px solid #cfd1d9; border-radius: 5px; background: white; transition: .15s; }
.custom-checkbox svg { width: 12px; height: 12px; }
.agreement input:checked + .custom-checkbox { color: white; border-color: var(--primary); background: var(--primary); }
.agreement a { color: #4f55a5; text-decoration: none; border-bottom: 1px solid #caccdf; }
.pay-button { display: flex; width: 100%; height: 52px; padding: 0 17px; align-items: center; justify-content: center; gap: 9px; color: white; font-size: 12px; font-weight: 600; border: 0; border-radius: 13px; background: linear-gradient(135deg, #6666ee, #4e4ed7); box-shadow: 0 12px 25px rgba(80, 80, 214, .23); transition: transform .18s, box-shadow .18s, opacity .18s; }
.pay-button:hover { transform: translateY(-2px); box-shadow: 0 15px 29px rgba(80, 80, 214, .3); }
.pay-button:active { transform: translateY(0); }
.pay-button:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; }
.pay-button svg { width: 17px; height: 17px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; color: #a2a6b1; font-size: 8px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.trust-row span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.trust-row svg { width: 12px; height: 12px; color: #73a493; }
.trust-divider { width: 2px; height: 2px; border-radius: 50%; background: #c3c6cf; }

.site-footer { display: flex; width: min(1180px, calc(100% - 48px)); min-height: 83px; margin: 0 auto; align-items: center; justify-content: space-between; color: #9296a2; font-size: 10px; border-top: 1px solid var(--line-strong); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.payer-dialog { width: min(570px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; color: var(--text); border: 0; border-radius: 24px; box-shadow: 0 28px 100px rgba(23, 26, 36, .24); }
.payer-dialog::backdrop { background: rgba(28, 30, 41, .38); backdrop-filter: blur(5px); }
.payer-dialog[open] { animation: dialog-in .22s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.payer-dialog form { padding: 29px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.dialog-heading h2 { margin: 0; font: 600 24px/1.2 'Manrope', sans-serif; letter-spacing: -.8px; }
.dialog-heading p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.dialog-close { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; color: #858a96; border: 0; border-radius: 10px; background: #f2f3f6; }
.dialog-close svg { width: 17px; height: 17px; }
.payer-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 24px 0 20px; padding: 4px; border-radius: 12px; background: #f1f2f5; }
.payer-switch input { position: absolute; opacity: 0; }
.payer-switch span { display: grid; height: 38px; place-items: center; color: var(--muted); font-size: 11px; font-weight: 600; border-radius: 9px; }
.payer-switch input:checked + span { color: var(--text); background: white; box-shadow: 0 3px 10px rgba(31,34,48,.07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-grid { margin-bottom: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-hint { margin: 8px 0 0; color: var(--muted-2); font-size: 9px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.secondary-button, .primary-button { height: 42px; padding: 0 17px; font-size: 11px; font-weight: 600; border-radius: 10px; }
.secondary-button { color: #686e7b; border: 1px solid var(--line-strong); background: white; }
.primary-button { color: white; border: 0; background: var(--primary); box-shadow: 0 8px 18px rgba(92,92,233,.2); }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: flex; width: min(360px, calc(100% - 44px)); padding: 15px; align-items: center; gap: 11px; visibility: hidden; opacity: 0; border: 1px solid #dce5e1; border-radius: 15px; background: white; box-shadow: 0 18px 50px rgba(31, 43, 38, .14); transform: translateY(15px); transition: .25s; }
.toast.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
.toast-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; color: var(--success); border-radius: 10px; background: var(--success-soft); }
.toast-icon svg { width: 19px; height: 19px; }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 11px; }
.toast small { margin-top: 3px; color: var(--muted); font-size: 9px; }

/* Readable typography and larger controls */
body { font-size: 16px; }
.header-meta { font-size: 15px; }
.eyebrow { font-size: 12px; }
.page-heading p { font-size: 17px; }
.step-indicator strong { font-size: 15px; }
.step-indicator small { font-size: 13px; }
.panel-heading { min-height: 100px; padding: 24px 28px; }
.panel-heading h2 { font-size: 20px; }
.panel-heading p { margin-top: 5px; font-size: 14px; }
.section-number { width: 41px; height: 41px; font-size: 12px; }
.item-count,.currency-badge { padding: 7px 10px; font-size: 12px; }
.services-head { min-height: 48px; font-size: 11px; }
.service-row { min-height: 102px; }
.service-description strong { font-size: 15px; }
.service-description small { margin-top: 5px; font-size: 13px; }
.service-icon { width: 42px; height: 42px; }
.service-icon svg { width: 21px; height: 21px; }
.unit-price { font-size: 14px; }
.line-total { font-size: 15px; }
.quantity { grid-template-columns: 33px 40px 33px; height: 38px; }
.quantity input { font-size: 14px; }
.remove-service { width: 28px; height: 28px; }
.remove-service svg { width: 17px; height: 17px; }
.text-button { padding: 10px 13px; font-size: 13px; }
.payer-summary { grid-template-columns: 54px minmax(190px,1fr) minmax(200px,.8fr); padding: 26px 28px; }
.payer-avatar { width: 48px; height: 48px; font-size: 14px; }
.payer-primary strong,.payer-contact strong { font-size: 15px; }
.payer-type { padding: 4px 8px; font-size: 11px; }
.payer-contact span { font-size: 11px; }
.payment-method__body { min-height: 132px; padding: 16px 14px 14px; }
.payment-logo { width: 37px; height: 37px; }
.payment-logo svg { width: 21px; height: 21px; }
.payment-method__body strong { font-size: 14px; }
.payment-method__body small { margin-top: 4px; font-size: 11px; }
.method-details { padding: 25px 28px 27px; }
.field > span:first-child { margin-bottom: 8px; font-size: 12px; }
.field input { height: 49px; padding-right: 15px; padding-left: 15px; font-size: 14px; }
.input-shell input { padding-right: 88px; }
.card-brands { height: 49px; }
.help-dot { top: 15px; font-size: 12px; }
.form-note { margin-top: 15px; font-size: 11px; }
.method-message strong { font-size: 14px; }
.method-message small { font-size: 12px; }
.crypto-options strong { font-size: 13px; }
.crypto-options small,.crypto-note { font-size: 11px; }
.order-summary { padding: 30px; }
.summary-topline { font-size: 14px; }
.summary-total { font-size: 44px; }
.summary-caption { font-size: 12px; }
.summary-lines div { font-size: 13px; }
.selected-payment { padding: 14px; }
.selected-payment__icon { width: 39px; height: 39px; }
.selected-payment small { font-size: 10px; }
.selected-payment strong { font-size: 13px; }
.agreement { font-size: 11px; }
.custom-checkbox { width: 19px; height: 19px; }
.pay-button { height: 58px; font-size: 14px; }
.trust-row { font-size: 10px; }
.site-footer { font-size: 12px; }
.dialog-heading h2 { font-size: 27px; }
.dialog-heading p { font-size: 13px; }
.payer-switch span { height: 44px; font-size: 13px; }
.contact-hint { font-size: 11px; }
.secondary-button,.primary-button { height: 48px; font-size: 13px; }
.toast strong { font-size: 14px; }
.toast small { margin-top: 4px; font-size: 12px; }

@media (max-width: 1050px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: relative; top: auto; }
  .services-head, .service-row { grid-template-columns: minmax(230px, 1.65fr) 90px 110px 90px 24px; }
}

@media (max-width: 700px) {
  .site-header, .page-shell, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 72px; }
  .secure-label { display: none; }
  .order-ref { padding-left: 0; border-left: 0; }
  .page-shell { padding: 37px 0 44px; }
  .page-heading { align-items: flex-start; margin-bottom: 25px; }
  .page-heading p { max-width: 280px; line-height: 1.5; }
  .step-indicator { display: none; }
  .panel-heading { padding: 18px; }
  .services-head { display: none; }
  .service-row { position: relative; grid-template-columns: 1fr auto; gap: 13px; min-height: 0; margin: 0 18px; padding: 18px 27px 18px 0; }
  .service-description { grid-column: 1 / -1; }
  .unit-price { display: none; }
  .quantity { justify-self: start; }
  .line-total { align-self: center; font-size: 16px; }
  .remove-service { position: absolute; top: 18px; right: 0; }
  .payer-summary { grid-template-columns: 46px 1fr; padding: 20px 18px; }
  .payer-contact { grid-column: 1 / -1; padding: 15px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .payment-methods { grid-template-columns: 1fr 1fr; padding: 0 18px 18px; }
  .payment-method__body { min-height: 105px; }
  .method-details { padding: 20px 18px; }
  .card-form { grid-template-columns: 1fr 1fr; }
  .crypto-options { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; justify-content: center; gap: 13px; }
}

@media (max-width: 440px) {
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 15px; }
  .panel, .order-summary { border-radius: 18px; }
  .panel-heading p { display: none; }
  .item-count { display: none; }
  .card-form, .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .summary-total { font-size: 35px; }
  .payer-dialog form { padding: 22px 18px; }
  .dialog-heading p { padding-right: 10px; line-height: 1.4; }
  .site-footer nav { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
