.payment-page .delivery-container,
.payment-page .delivery-breadcrumb nav {
  width: min(1410px, calc(100vw - 40px));
  margin-left: max(20px, calc((100vw - 1410px) / 2));
  margin-right: 0;
}

.payment-page .delivery-breadcrumb,
.payment-page .delivery-breadcrumb nav,
.payment-page .delivery-breadcrumb .breadcrumb { height: 79px; }

.payment-content { height: 724px; padding-top: 31px; background: #fff; }
.payment-content h1 { font-size: 36px; line-height: 49px; }
.payment-content__intro { font-size: 16px !important; line-height: 22px !important; }
.payment-grid { display: grid; grid-template-columns: 562fr 400fr 400fr; grid-template-rows: 205px 149px; gap: 24px; margin-top: 44px; }
.payment-card { min-width: 0; background: #fff; box-shadow: 0 3px 7px #35404a1c; }
.payment-card--cash { grid-row: span 2; }
.payment-card--invoice { grid-column: 2 / span 2; }
.payment-card--bank { grid-column: 2; grid-row: 2; }
.payment-card--qr { grid-column: 3; grid-row: 2; }
.payment-card h2 { display: flex; align-items: center; height: 55px; padding: 0 24px; background: #f4f4f4; font-size: 20px; line-height: 1.25; }
.payment-card__body { padding: 24px; }
.payment-card p { font-size: 16px !important; line-height: 1.35 !important; }
.payment-card__label { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; background: #71be00; color: #fff; font-size: 12px; line-height: 1; }
.payment-card__steps { display: grid; gap: 10px; margin: 14px 0 15px; padding: 0; list-style: none; counter-reset: payment-step; }
.payment-card__steps li { display: flex; align-items: flex-start; gap: 12px; min-height: 24px; font-size: 16px; line-height: 24px; counter-increment: payment-step; }
.payment-card__steps li::before { content: counter(payment-step); display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #71be00; color: white; font-size: 12px; font-weight: 700; }
.payment-card--invoice .payment-card__body > p + p { margin-top: 13px; }
.payment-card__vat { display: flex; gap: 10px; margin-top: 11px; }
.payment-card__vat span { display: grid; place-items: center; min-width: 87px; height: 35px; padding-inline: 15px; border-radius: 6px; background: #f4f4f4; font-size: 16px; font-weight: 700; }
.payment-card--bank h2, .payment-card--qr h2 { height: 63px; }
.payment-card--bank .payment-card__body, .payment-card--qr .payment-card__body { padding-top: 24px; }
.payment-notice { height: 116px; margin-top: 20px; padding: 19px 24px; background: #353e48; color: #fff; }
.payment-notice h2 { font-size: 16px; line-height: 22px; }
.payment-notice ul { margin: 6px 0 0; padding: 0; list-style: none; }
.payment-notice li { position: relative; padding-left: 16px; color: #cbd0d5; font-size: 15px; line-height: 23px; }
.payment-notice li::before { content: ""; position: absolute; top: 9px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #71be00; }

@media (min-width: 701px) and (max-width: 1100px) {
  .payment-page .delivery-breadcrumb,
  .payment-page .delivery-breadcrumb nav,
  .payment-page .delivery-breadcrumb .breadcrumb { height: 32px; }
  .payment-content { height: 923px; padding-top: 34px; }
  .payment-content h1 { font-size: 34px; line-height: 41px; }
  .payment-content__intro { margin-top: 6px !important; font-size: 15px !important; line-height: 20px !important; }
  .payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 347px 168px; gap: 24px; margin-top: 45px; }
  .payment-card--cash { grid-row: auto; }
  .payment-card--invoice, .payment-card--bank, .payment-card--qr { grid-column: auto; grid-row: auto; }
  .payment-card h2 { font-size: 18px; }
  .payment-card p, .payment-card__steps li { font-size: 14px !important; }
  .payment-card__steps { gap: 13px; }
  .payment-card__steps li { line-height: 1.3; }
  .payment-card__vat span { font-size: 14px; }
  .payment-notice { height: 134px; }
  .payment-notice li { font-size: 14px; line-height: 22px; }
}

@media (max-width: 700px) {
  .payment-page .delivery-breadcrumb,
  .payment-page .delivery-breadcrumb nav,
  .payment-page .delivery-breadcrumb .breadcrumb { height: 32px; }
  .payment-content { height: 1471px; padding-top: 40px; }
  .payment-content h1 { font-size: 24px; line-height: 29px; }
  .payment-content__intro { margin-top: 4px !important; font-size: 13px !important; line-height: 17.5px !important; }
  .payment-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 347px 242px 149px 168px; gap: 24px; margin-top: 57px; }
  .payment-card--cash { grid-row: auto; }
  .payment-card--invoice, .payment-card--bank, .payment-card--qr { grid-column: auto; grid-row: auto; }
  .payment-card h2 { height: 55px; padding-inline: 20px; font-size: 18px; }
  .payment-card--bank h2, .payment-card--qr h2 { height: 63px; }
  .payment-card__body { padding: 24px 20px; }
  .payment-card p { font-size: 13px !important; line-height: 1.35 !important; }
  .payment-card__label { font-size: 11px; }
  .payment-card__steps { gap: 10px; margin-top: 14px; margin-bottom: 13px; }
  .payment-card__steps li { gap: 12px; min-height: 24px; font-size: 13px; line-height: 1.3; }
  .payment-card--invoice .payment-card__body > p + p { margin-top: 12px; }
  .payment-card__vat span { font-size: 13px; }
  .payment-notice { height: 209px; margin-top: 20px; padding: 17px 20px; }
  .payment-notice h2 { font-size: 15px; line-height: 21px; }
  .payment-notice ul { margin-top: 6px; }
  .payment-notice li { font-size: 13px; line-height: 1.35; margin-bottom: 8px; }
  .payment-page .delivery-useful { height: 404px; }
  .payment-page .delivery-useful h2 { text-align: left; }
}

@media (max-width: 359px) {
  .payment-content { height: auto; padding-bottom: 64px; }
  .payment-grid { grid-template-rows: auto; }
  .payment-card { min-height: 149px; }
  .payment-card--cash { min-height: 347px; }
  .payment-card--invoice { min-height: 242px; }
  .payment-notice { height: auto; min-height: 209px; }
}
