/* AQ-1503: единый checkout поверх действующей визуальной системы Aqualibrium. */
.aq-checkout-page {
  --checkout-deep: var(--aq-color-brand-dark);
  --checkout-navy: var(--aq-color-brand-primary);
  --checkout-blue: var(--aq-color-palette-cyan);
  --checkout-cyan: var(--aq-color-accent-default);
  --checkout-cyan-light: var(--aq-color-accent-bright);
  --checkout-mist: var(--aq-color-primary-50);
  --checkout-line: var(--aq-color-border-default);
  --checkout-ink: var(--aq-color-text-default);
  --checkout-muted: var(--aq-color-text-muted-cool);
  --checkout-white: var(--aq-color-surface-default);
  min-height: 60vh;
  padding: 30px 0 56px;
  color: var(--checkout-ink);
}

.aq-checkout-page *,
.aq-checkout-page *::before,
.aq-checkout-page *::after {
  box-sizing: border-box;
}

.aq-checkout-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.aq-checkout-heading__copy {
  max-width: 720px;
}

.aq-checkout-heading__eyebrow,
.aq-checkout-card__eyebrow {
  margin: 0 0 7px;
  color: var(--checkout-cyan);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.aq-checkout-heading__title {
  margin: 0;
  color: var(--checkout-navy);
  font: 400 clamp(29px, 3.4vw, 42px)/1.04 FedraBold, Georgia, serif;
  letter-spacing: -.02em;
}

.aq-checkout-heading__note {
  max-width: 360px;
  margin: 0 0 2px;
  color: var(--checkout-muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
}

.aq-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr);
  column-gap: 22px;
  row-gap: 16px;
  align-items: stretch;
}

.aq-checkout-main {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  gap: 16px;
}

.aq-checkout-followup {
  grid-column: 1;
  grid-row: 2;
}

.aq-checkout-card,
.aq-checkout-panel,
.aq-checkout-summary {
  border: 1px solid var(--checkout-line);
  border-radius: 2px;
  background: var(--checkout-white);
  box-shadow: 0 7px 20px color-mix(in srgb, var(--aq-color-brand-dark) 5.5%, transparent);
}

.aq-checkout-card {
  overflow: hidden;
}

.aq-checkout-card__lead {
  display: grid;
  min-height: 190px;
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr);
}

.aq-checkout-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
}

.aq-checkout-card__title {
  max-width: 560px;
  margin: 0;
  color: var(--checkout-navy);
  font: 400 clamp(25px, 3vw, 34px)/1.08 FedraBold, Georgia, serif;
}

.aq-checkout-card__description {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--aq-color-base-500);
  font-size: 16px;
  line-height: 1.5;
}

.aq-checkout-card__visual {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 190px;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 25px;
  color: var(--aq-color-bg-default);
  background:
    linear-gradient(142deg, transparent 0 43%, color-mix(in srgb, var(--aq-color-surface-default) 20%, transparent) 44% 45%, transparent 46%),
    radial-gradient(circle at 68% 18%, var(--aq-color-gradient-spark) 0 7%, transparent 8%),
    linear-gradient(150deg, var(--aq-color-gradient-checkout-start) 0%, var(--aq-color-gradient-checkout-mid) 54%, var(--aq-color-gradient-checkout-end) 100%);
}

.aq-checkout-card__visual::before {
  position: absolute;
  top: 18px;
  right: 22px;
  left: 22px;
  height: 1px;
  background: color-mix(in srgb, var(--aq-color-surface-default) 36%, transparent);
  box-shadow: 0 17px 0 color-mix(in srgb, var(--aq-color-surface-default) 20%, transparent), 0 34px 0 color-mix(in srgb, var(--aq-color-surface-default) 13%, transparent);
  content: "";
}

.aq-checkout-card__mark {
  position: relative;
  font: 700 42px/.88 Roboto, Arial, sans-serif;
  text-align: right;
}

.aq-checkout-card__mark small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15;
}

.aq-checkout-card__image {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.aq-checkout-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--checkout-line);
}

.aq-checkout-fact {
  min-width: 0;
  padding: 16px 20px;
  border-right: 1px solid var(--checkout-line);
}

.aq-checkout-fact:last-child {
  border-right: 0;
}

.aq-checkout-fact dt {
  margin: 0 0 3px;
  color: var(--aq-color-text-muted-cool-subtle);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.aq-checkout-fact dd {
  margin: 0;
  color: var(--aq-color-base-600);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.aq-checkout-panel {
  padding: 23px 25px;
}

.aq-checkout-panel__title {
  margin: 0 0 13px;
  color: var(--checkout-navy);
  font: 400 21px/1.15 FedraBold, Georgia, serif;
}

.aq-checkout-panel__hint {
  margin: -6px 0 14px;
  color: var(--checkout-muted);
  font-size: 13px;
  line-height: 1.4;
}

.aq-checkout-message__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 9px;
  color: var(--checkout-navy);
  font-size: 15px;
  font-weight: 700;
}

.aq-checkout-message__label span {
  color: var(--checkout-muted);
  font-size: 12px;
  font-weight: 400;
}

.aq-checkout-message__input,
.aq-checkout-promo__input,
.aq-checkout-field {
  width: 100%;
  border: 1px solid var(--aq-color-primary-100);
  border-radius: 2px;
  background: var(--aq-color-surface-default);
  color: var(--checkout-ink);
}

.aq-checkout-message__input {
  min-height: 104px;
  padding: 13px 14px;
  resize: vertical;
}

.aq-checkout-promo {
  display: flex;
  align-items: stretch;
  max-width: 610px;
}

.aq-checkout-promo__input {
  min-width: 0;
  height: 46px;
  padding: 10px 13px;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  font-size: 15px;
}

.aq-checkout-promo__button {
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 0 2px 2px 0;
  background: var(--checkout-cyan);
  color: var(--aq-color-text-inverse);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.aq-checkout-choice {
  display: grid;
  gap: 8px;
}

.aq-checkout-choice__item {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  margin: 0;
  padding: 11px 14px 11px 45px;
  border: 1px solid var(--checkout-line);
  border-radius: 2px;
  color: var(--aq-color-base-600);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.35;
}

.aq-checkout-choice__item::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--aq-color-primary-200);
  border-radius: 50%;
  background: var(--aq-color-surface-default);
  content: "";
  transform: translateY(-50%);
}

.aq-checkout-choice__input:checked + .aq-checkout-choice__item {
  border-color: var(--checkout-cyan-light);
  background: var(--aq-color-primary-50);
  color: var(--checkout-navy);
}

.aq-checkout-choice__input:checked + .aq-checkout-choice__item::before {
  border: 5px solid var(--checkout-cyan-light);
}

.aq-checkout-choice__input:focus-visible + .aq-checkout-choice__item {
  outline: 3px solid color-mix(in srgb, var(--aq-color-accent-default) 32%, transparent);
  outline-offset: 2px;
}

.aq-checkout-summary {
  grid-column: 2;
  grid-row: 1;
  background: var(--aq-color-base-50);
}

.aq-checkout-summary__sticky {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border-radius: 1px;
}

.aq-checkout-summary__details {
  padding: 24px 25px 0;
  background: var(--checkout-white);
}

.aq-checkout-summary__title {
  margin: 0 0 7px;
  color: var(--checkout-navy);
  font: 400 25px/1.1 FedraBold, Georgia, serif;
}

.aq-checkout-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--aq-color-base-200);
  color: var(--aq-color-text-muted-cool-strong);
  font-size: 14px;
  line-height: 1.35;
}

.aq-checkout-summary__row strong {
  color: var(--aq-color-base-700);
  font-weight: 700;
  text-align: right;
}

.aq-checkout-summary__secondary {
  padding: 0 25px 22px;
  background: var(--checkout-white);
}

.aq-checkout-summary__action {
  padding: 20px 25px 25px;
  border-top: 1px solid var(--checkout-line);
  background: var(--aq-color-base-50);
}

.aq-checkout-total {
  margin-bottom: 17px;
}

.aq-checkout-summary__action .aq-checkout-total.d-flex {
  display: block !important;
}

.aq-checkout-total__label {
  display: block;
  margin-bottom: 4px;
  color: var(--checkout-muted);
  font-size: 13px;
  line-height: 1.2;
}

.aq-checkout-total__value {
  display: block;
  color: var(--checkout-navy);
  font: 700 clamp(27px, 3vw, 36px)/1 Roboto, Arial, sans-serif;
  letter-spacing: -.025em;
}

.aq-checkout-total__value small {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.aq-checkout-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--checkout-cyan);
  color: var(--aq-color-text-inverse);
  cursor: pointer;
  font: 400 19px/1.1 FedraBold, Georgia, serif;
  text-align: center;
}

.aq-checkout-submit:hover {
  background: var(--aq-color-accent-hover);
  color: var(--aq-color-text-inverse);
}

.aq-checkout-submit:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.aq-checkout-submit:focus-visible,
.aq-checkout-promo__button:focus-visible,
.aq-checkout-message__input:focus-visible,
.aq-checkout-promo__input:focus-visible,
.aq-checkout-field:focus-visible,
.aq-checkout-card a:focus-visible,
.aq-checkout-summary a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--aq-color-accent-default) 38%, transparent);
  outline-offset: 3px;
}

.aq-checkout-invoice {
  margin-top: 13px;
}

.aq-checkout-invoice .aq-invoice-payment-action {
  margin-top: 0;
}

.aq-checkout-summary__action .aq-invoice-payment-action {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
}

.aq-checkout-summary__action .aq-invoice-payment-action::before {
  display: none;
}

.aq-checkout-terms {
  margin: 14px 0 0;
  color: var(--aq-color-text-muted-cool-subtle);
  font-size: 12px;
  line-height: 1.45;
}

.aq-checkout-terms a {
  color: var(--checkout-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aq-checkout-error {
  margin: 9px 0 0;
  color: var(--aq-color-status-error-checkout);
  font-size: 13px;
}

.aq-checkout-success {
  margin: 9px 0 0;
  color: var(--aq-color-status-success-checkout-default);
  font-size: 13px;
}

.aq-checkout-shop-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aq-checkout-shop-list .aq-cart-list__item {
  border: 0;
  box-shadow: none;
}

.aq-checkout-shop-list .aq-cart-list__item + .aq-cart-list__item {
  border-top: 1px solid var(--checkout-line);
}

.aq-checkout-delivery-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--checkout-line);
  color: var(--aq-color-text-muted-cool-strong);
  font-size: 14px;
}

.aq-checkout-delivery-total strong {
  color: var(--checkout-navy);
}

@media (max-width: 991.98px) {
  .aq-checkout-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  }

  .aq-checkout-card__lead {
    grid-template-columns: minmax(0, 1fr) minmax(150px, .62fr);
  }

  .aq-checkout-card__copy {
    padding: 24px;
  }

  .aq-checkout-fact {
    padding: 14px 15px;
  }
}

@media (max-width: 767.98px) {
  .aq-checkout-page {
    padding: 20px 0 calc(150px + env(safe-area-inset-bottom));
  }

  .aq-checkout-heading {
    display: block;
    margin-bottom: 16px;
  }

  .aq-checkout-heading__title {
    font-size: 29px;
  }

  .aq-checkout-heading__note {
    margin-top: 8px;
    text-align: left;
  }

  .aq-checkout-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .aq-checkout-main,
  .aq-checkout-summary {
    width: 100%;
  }

  .aq-checkout-card__lead {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .aq-checkout-card__copy {
    padding: 20px 18px;
  }

  .aq-checkout-card__title {
    font-size: 24px;
  }

  .aq-checkout-card__description {
    margin-top: 9px;
    font-size: 14px;
  }

  .aq-checkout-card__visual {
    min-height: 104px;
    padding: 18px;
  }

  .aq-checkout-card__image {
    min-height: 180px;
  }

  .aq-checkout-card__mark {
    font-size: 31px;
  }

  .aq-checkout-card__mark small {
    font-size: 10px;
  }

  .aq-checkout-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aq-checkout-fact {
    border-bottom: 1px solid var(--checkout-line);
  }

  .aq-checkout-fact:nth-child(2n) {
    border-right: 0;
  }

  .aq-checkout-fact:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .aq-checkout-fact:nth-last-child(2):nth-child(odd),
  .aq-checkout-fact:last-child:nth-child(even) {
    border-bottom: 0;
  }

  .aq-checkout-panel {
    padding: 20px 18px;
  }

  .aq-checkout-promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .aq-checkout-promo__button {
    padding-right: 15px;
    padding-left: 15px;
  }

  .aq-checkout-summary {
    position: static;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .aq-checkout-summary__sticky {
    position: static;
    overflow: visible;
    border-radius: 0;
  }

  .aq-checkout-summary__details,
  .aq-checkout-summary__secondary {
    border: 1px solid var(--checkout-line);
    background: var(--aq-color-surface-default);
    box-shadow: 0 7px 20px color-mix(in srgb, var(--aq-color-brand-dark) 5.5%, transparent);
  }

  .aq-checkout-summary__details {
    padding: 20px 18px 0;
    border-bottom: 0;
  }

  .aq-checkout-summary__secondary {
    padding: 0 18px 20px;
    border-top: 0;
  }

  .aq-checkout-summary__action {
    position: fixed;
    z-index: 1020;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(105px, .7fr) minmax(165px, 1.3fr);
    gap: 12px;
    align-items: center;
    padding: 11px 15px calc(11px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--aq-color-primary-100);
    background: var(--aq-color-surface-default);
    box-shadow: 0 -8px 24px color-mix(in srgb, var(--aq-color-brand-dark) 16%, transparent);
  }

  .aq-checkout-total {
    min-width: 0;
    margin: 0;
  }

  .aq-checkout-total__label {
    margin: 0 0 2px;
    font-size: 11px;
  }

  .aq-checkout-total__value {
    overflow: hidden;
    font-size: clamp(19px, 6vw, 26px);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .aq-checkout-total__value small {
    font-size: 12px;
  }

  .aq-checkout-submit {
    min-height: 50px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 17px;
  }

  .aq-checkout-summary__action > .aq-checkout-invoice {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid var(--aq-color-base-200);
  }
}

@media (max-width: 419.98px) {
  .aq-checkout-card__copy {
    padding: 18px 15px;
  }

  .aq-checkout-card__title {
    font-size: 21px;
  }

  .aq-checkout-promo {
    grid-template-columns: 1fr;
  }

  .aq-checkout-promo__input,
  .aq-checkout-promo__button {
    border: 1px solid var(--aq-color-primary-100);
    border-radius: 2px;
  }

  .aq-checkout-promo__button {
    margin-top: 8px;
    border-color: var(--checkout-cyan);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aq-checkout-page *,
  .aq-checkout-page *::before,
  .aq-checkout-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* AQ-1505: checkout пробного занятия для неавторизованного посетителя. */
.aq-guest-trial-checkout {
  --guest-trial-abyss: var(--aq-color-gradient-checkout-trial-end);
  --guest-trial-navy: var(--aq-color-brand-primary);
  --guest-trial-blue: var(--aq-color-primary-hover);
  --guest-trial-cyan: var(--aq-color-accent-default);
  --guest-trial-cyan-soft: var(--aq-color-status-prepaid-wash);
  --guest-trial-ink: var(--aq-color-text-default);
  --guest-trial-muted: var(--aq-color-base-500);
  --guest-trial-line: var(--aq-color-border-default);
  --guest-trial-paper: var(--aq-color-surface-default);
  --guest-trial-lime: var(--aq-color-action-primary);
  min-height: 60vh;
  padding: 31px 0 58px;
  color: var(--guest-trial-ink);
}

.aq-guest-trial-checkout *,
.aq-guest-trial-checkout *::before,
.aq-guest-trial-checkout *::after {
  box-sizing: border-box;
}

.aq-guest-trial-checkout h1,
.aq-guest-trial-checkout h2,
.aq-guest-trial-checkout p,
.aq-guest-trial-checkout dl,
.aq-guest-trial-checkout dd {
  margin: 0;
}

.aq-guest-trial-checkout__breadcrumbs {
  margin-bottom: 18px;
  color: var(--aq-color-text-muted-cool-subtle);
  font-size: 13px;
}

.aq-guest-trial-checkout__breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aq-guest-trial-checkout__breadcrumbs li + li::before {
  padding: 0 5px;
  color: var(--aq-color-base-400);
  content: "·";
}

.aq-guest-trial-checkout__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.aq-guest-trial-checkout__breadcrumbs a:hover,
.aq-guest-trial-checkout__breadcrumbs a:focus-visible {
  color: var(--guest-trial-cyan);
}

.aq-guest-trial-checkout__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.aq-guest-trial-checkout__heading h1 {
  color: var(--guest-trial-navy);
  font: 400 clamp(31px, 3.5vw, 42px)/1.02 FedraBold, Georgia, serif;
  letter-spacing: -.025em;
}

.aq-guest-trial-checkout__heading p {
  max-width: 390px;
  color: var(--guest-trial-muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
}

.aq-guest-trial-checkout__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 19px;
  padding: 0;
  color: var(--aq-color-text-muted-cool);
  font-size: 12px;
  list-style: none;
}

.aq-guest-trial-checkout__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aq-guest-trial-checkout__steps li:not(:last-child)::after {
  width: 42px;
  height: 1px;
  background: var(--aq-color-primary-100);
  content: "";
}

.aq-guest-trial-checkout__steps li:not(:last-child)::before {
  order: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--guest-trial-cyan);
  content: "";
}

.aq-guest-trial-checkout__steps .is-current {
  color: var(--guest-trial-navy);
  font-weight: 500;
}

.aq-guest-trial-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  align-items: stretch;
  gap: 30px;
}

.aq-guest-trial-checkout__main {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.aq-guest-trial-checkout__trial-card {
  position: relative;
  min-height: 271px;
  overflow: hidden;
  padding: 30px 32px 26px;
  border-bottom: 6px solid var(--guest-trial-lime);
  color: var(--aq-color-text-inverse);
  background:
    radial-gradient(circle at 82% 28%, color-mix(in srgb, var(--aq-color-accent-bright) 85%, transparent) 0 11px, transparent 12px),
    linear-gradient(148deg, var(--aq-color-gradient-trial-start) 0%, var(--aq-color-brand-primary) 50%, var(--aq-color-gradient-checkout-trial-end) 100%);
  box-shadow: 0 2px 2px color-mix(in srgb, var(--aq-color-brand-dark) 24%, transparent);
}

.aq-guest-trial-checkout__trial-card::before {
  position: absolute;
  top: 60px;
  right: -140px;
  width: 620px;
  height: 260px;
  border-top: 1px solid color-mix(in srgb, var(--aq-color-gradient-arc) 60%, transparent);
  border-radius: 50%;
  box-shadow: 0 -20px 0 -19px color-mix(in srgb, var(--aq-color-gradient-arc) 65%, transparent), 0 -48px 0 -47px color-mix(in srgb, var(--aq-color-gradient-arc) 50%, transparent);
  content: "";
  opacity: .42;
  pointer-events: none;
  transform: rotate(-16deg);
}

.aq-guest-trial-checkout__trial-card > * {
  position: relative;
  z-index: 1;
}

.aq-guest-trial-checkout__eyebrow {
  color: var(--aq-color-text-on-gradient-eyebrow);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.aq-guest-trial-checkout__trial-card h2 {
  max-width: 530px;
  margin-top: 10px;
  color: var(--aq-color-text-inverse);
  font: 400 clamp(28px, 3vw, 34px)/.98 FedraBold, Georgia, serif;
  letter-spacing: -.02em;
}

.aq-guest-trial-checkout__lead {
  max-width: 490px;
  margin-top: 11px !important;
  color: var(--aq-color-border-line-soft);
  font-size: 15px;
  line-height: 1.45;
}

.aq-guest-trial-checkout__facts {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 28px;
  margin-top: 29px;
}

.aq-guest-trial-checkout__facts div {
  display: grid;
  gap: 2px;
}

.aq-guest-trial-checkout__facts dt {
  color: var(--aq-color-text-on-gradient-caption);
  font-size: 11px;
  font-weight: 400;
}

.aq-guest-trial-checkout__facts dd {
  color: var(--aq-color-text-inverse);
  font-size: 14px;
  font-weight: 500;
}

.aq-guest-trial-checkout__contacts {
  position: relative;
  overflow: hidden;
  padding: 27px 32px 30px;
  background: var(--guest-trial-paper);
  box-shadow: 0 2px 2px var(--aq-color-base-300);
}

.aq-guest-trial-checkout__contacts::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(var(--guest-trial-cyan), var(--guest-trial-lime));
  content: "";
}

.aq-guest-trial-checkout__contacts-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--guest-trial-line);
}

.aq-guest-trial-checkout__contacts-header > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--aq-color-text-inverse);
  background: var(--guest-trial-cyan);
  font: 400 17px/1 FedraBold, Georgia, serif;
}

.aq-guest-trial-checkout__contacts-header h2,
.aq-guest-trial-checkout__summary h2,
.aq-guest-trial-checkout__promo h2 {
  color: var(--guest-trial-navy);
  font: 400 25px/1 FedraBold, Georgia, serif;
}

.aq-guest-trial-checkout__contacts-header p {
  margin-top: 5px;
  color: var(--guest-trial-muted);
  font-size: 13px;
  line-height: 1.4;
}

.aq-guest-trial-checkout__contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 18px;
  padding-top: 22px;
}

.aq-guest-trial-checkout__field {
  display: grid;
  gap: 6px;
}

.aq-guest-trial-checkout__field--email,
.aq-guest-trial-checkout__email-note,
.aq-guest-trial-checkout__agreement,
.aq-guest-trial-checkout__agreement-error {
  grid-column: 1 / -1;
}

.aq-guest-trial-checkout__field label {
  color: var(--guest-trial-navy);
  font-size: 14px;
  font-weight: 500;
}

.aq-guest-trial-checkout__field label span,
.aq-guest-trial-checkout__agreement label span {
  color: var(--aq-color-status-required-default);
}

.aq-guest-trial-checkout__field .form-control {
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--aq-color-base-300);
  border-radius: 0;
  color: var(--guest-trial-ink);
  background: var(--aq-color-surface-default);
  box-shadow: none;
  font-size: 15px;
}

.aq-guest-trial-checkout__field .form-control::placeholder,
.aq-guest-trial-checkout__promo input::placeholder {
  color: var(--aq-color-base-400);
}

.aq-guest-trial-checkout__field .form-control:focus,
.aq-guest-trial-checkout__promo input:focus {
  border-color: var(--guest-trial-cyan);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--aq-color-accent-default) 16%, transparent);
}

.aq-guest-trial-checkout__email-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--aq-color-text-muted-cool-strong);
  font-size: 12px;
  line-height: 1.4;
}

.aq-guest-trial-checkout__email-note span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--guest-trial-lime);
}

.aq-guest-trial-checkout__agreement {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 3px;
  color: var(--aq-color-text-muted-cool-strong);
  font-size: 12px;
  line-height: 1.4;
}

.aq-guest-trial-checkout__agreement input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--guest-trial-cyan);
}

.aq-guest-trial-checkout a {
  color: var(--guest-trial-cyan);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.aq-guest-trial-checkout__agreement a,
.aq-guest-trial-checkout__terms a {
  border-bottom: 1px dotted currentColor;
}

.aq-guest-trial-checkout__error {
  margin: 0;
  color: var(--aq-color-status-error-checkout);
  font-size: 12px;
  line-height: 1.35;
}

.aq-guest-trial-checkout__error .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aq-guest-trial-checkout__summary {
  overflow: hidden;
  background: var(--guest-trial-paper);
  box-shadow: 0 2px 2px var(--aq-color-base-300);
}

.aq-guest-trial-checkout__summary-details {
  padding: 27px 28px 24px;
}

.aq-guest-trial-checkout__summary-product {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 0 16px;
  border-bottom: 1px solid var(--guest-trial-line);
  color: var(--aq-color-text-muted-cool-strong);
  font-size: 13px;
}

.aq-guest-trial-checkout__summary-product strong {
  color: var(--guest-trial-navy);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.aq-guest-trial-checkout__total-label {
  display: block;
  margin-top: 18px;
  color: var(--aq-color-text-muted-cool-subtle);
  font-size: 12px;
}

.aq-guest-trial-checkout__total {
  display: block;
  margin-top: 2px;
  color: var(--guest-trial-navy);
  font: 700 clamp(32px, 3vw, 38px)/1 Roboto, Arial, sans-serif;
  letter-spacing: -.02em;
}

.aq-guest-trial-checkout__summary-note {
  margin-top: 19px !important;
  padding-left: 12px;
  border-left: 2px solid var(--guest-trial-lime);
  color: var(--aq-color-text-muted-cool-strong);
  font-size: 12px;
  line-height: 1.45;
}

.aq-guest-trial-checkout__terms {
  margin-top: 17px !important;
  color: var(--aq-color-text-muted-cool-subtle);
  font-size: 11px;
  line-height: 1.45;
}

.aq-guest-trial-checkout__summary-action {
  padding: 0 28px 19px;
  background: var(--guest-trial-paper);
}

.aq-guest-trial-checkout__summary-footer {
  padding: 0 28px 24px;
}

.aq-guest-trial-checkout__mobile-total {
  display: none;
}

.aq-guest-trial-checkout__submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 0;
  color: var(--aq-color-text-inverse);
  cursor: pointer;
  background: var(--guest-trial-cyan);
  box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--aq-color-brand-primary) 12%, transparent);
  font: 400 19px/1 FedraBold, Georgia, serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.aq-guest-trial-checkout__submit:hover {
  background: var(--aq-color-accent-hover);
}

.aq-guest-trial-checkout__submit-mobile {
  display: none;
}

.aq-guest-trial-checkout__invoice {
  margin-top: 13px;
  text-align: center;
}

.aq-guest-trial-checkout__invoice .aq-invoice-payment-action {
  min-height: 32px;
  margin-top: 0;
  padding: 5px 8px;
}

.aq-guest-trial-checkout__invoice .aq-invoice-payment-action::before {
  display: none;
}

.aq-guest-trial-checkout__promo {
  padding: 24px 28px;
  background: var(--guest-trial-paper);
  box-shadow: 0 2px 2px var(--aq-color-base-300);
}

.aq-guest-trial-checkout__promo h2 {
  font-size: 22px;
}

.aq-guest-trial-checkout__promo > p:not(.aq-guest-trial-checkout__error):not(.aq-guest-trial-checkout__certificate-result) {
  margin-top: 7px;
  color: var(--guest-trial-muted);
  font-size: 13px;
}

.aq-guest-trial-checkout__promo > div {
  display: flex;
  max-width: 610px;
  margin-top: 15px;
}

.aq-guest-trial-checkout__promo input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--aq-color-primary-100);
  border-right: 0;
  border-radius: 0;
  color: var(--guest-trial-ink);
  font-size: 15px;
}

.aq-guest-trial-checkout__promo button {
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 0;
  color: var(--aq-color-text-inverse);
  cursor: pointer;
  background: var(--guest-trial-cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.aq-guest-trial-checkout__certificate-result {
  margin-top: 9px !important;
  color: var(--aq-color-status-success-checkout-default);
  font-size: 13px;
}

.aq-guest-trial-checkout__submit:focus-visible,
.aq-guest-trial-checkout__promo button:focus-visible,
.aq-guest-trial-checkout__field .form-control:focus-visible,
.aq-guest-trial-checkout__promo input:focus-visible,
.aq-guest-trial-checkout a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--aq-color-accent-default) 38%, transparent);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .aq-guest-trial-checkout__layout {
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 20px;
  }

  .aq-guest-trial-checkout__summary-details,
  .aq-guest-trial-checkout__summary-action,
  .aq-guest-trial-checkout__summary-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

}

@media (max-width: 767.98px) {
  .aq-guest-trial-checkout {
    padding: 21px 0 calc(150px + env(safe-area-inset-bottom));
  }

  .aq-guest-trial-checkout__breadcrumbs {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .aq-guest-trial-checkout__heading {
    display: block;
    margin-bottom: 18px;
  }

  .aq-guest-trial-checkout__heading h1 {
    font-size: 30px;
  }

  .aq-guest-trial-checkout__heading p {
    margin-top: 7px;
    font-size: 13px;
    text-align: left;
  }

  .aq-guest-trial-checkout__steps {
    gap: 7px;
    margin-bottom: 14px;
    font-size: 11px;
  }

  .aq-guest-trial-checkout__steps li {
    gap: 7px;
  }

  .aq-guest-trial-checkout__steps li:not(:last-child)::after {
    width: clamp(22px, 13vw, 55px);
  }

  .aq-guest-trial-checkout__layout {
    display: block;
  }

  .aq-guest-trial-checkout__main {
    gap: 14px;
  }

  .aq-guest-trial-checkout__trial-card {
    min-height: 270px;
    padding: 22px 22px 20px;
  }

  .aq-guest-trial-checkout__trial-card h2 {
    font-size: 28px;
  }

  .aq-guest-trial-checkout__lead {
    margin-top: 9px !important;
    font-size: 13px;
  }

  .aq-guest-trial-checkout__facts {
    grid-template-columns: 1fr 1fr;
    gap: 12px 19px;
    margin-top: 21px;
  }

  .aq-guest-trial-checkout__facts div:last-child {
    grid-column: 1 / -1;
  }

  .aq-guest-trial-checkout__facts dt {
    font-size: 10px;
  }

  .aq-guest-trial-checkout__facts dd {
    font-size: 12px;
  }

  .aq-guest-trial-checkout__contacts {
    padding: 23px 21px 25px;
  }

  .aq-guest-trial-checkout__contacts-header {
    gap: 15px;
    padding-bottom: 18px;
  }

  .aq-guest-trial-checkout__contacts-header h2 {
    font-size: 23px;
  }

  .aq-guest-trial-checkout__contact-fields {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 19px;
  }

  .aq-guest-trial-checkout__field--email,
  .aq-guest-trial-checkout__email-note,
  .aq-guest-trial-checkout__agreement,
  .aq-guest-trial-checkout__agreement-error {
    grid-column: auto;
  }

  .aq-guest-trial-checkout__field .form-control {
    min-height: 45px;
  }

  .aq-guest-trial-checkout__summary {
    margin-top: 14px;
  }

  .aq-guest-trial-checkout__summary-details {
    padding: 22px;
  }

  .aq-guest-trial-checkout__summary-footer {
    padding: 0 22px 22px;
  }

  .aq-guest-trial-checkout__summary h2 {
    font-size: 24px;
  }

  .aq-guest-trial-checkout__summary-product {
    padding: 17px 0 13px;
  }

  .aq-guest-trial-checkout__total {
    font-size: 34px;
  }

  .aq-guest-trial-checkout__summary-action {
    position: fixed;
    z-index: 1020;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(105px, .7fr) minmax(165px, 1.3fr);
    gap: 13px;
    align-items: center;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--aq-color-primary-100);
    background: color-mix(in srgb, var(--aq-color-surface-default) 98%, transparent);
    box-shadow: 0 -6px 18px color-mix(in srgb, var(--aq-color-brand-dark) 12%, transparent);
  }

  .aq-guest-trial-checkout__mobile-total {
    display: grid;
    color: var(--guest-trial-navy);
    font: 700 21px/1 Roboto, Arial, sans-serif;
  }

  .aq-guest-trial-checkout__mobile-total span {
    margin-bottom: 3px;
    color: var(--aq-color-text-muted-cool);
    font: 400 11px/1 Roboto, Arial, sans-serif;
  }

  .aq-guest-trial-checkout__submit {
    min-height: 44px;
    padding: 0 17px;
    font-size: 15px;
  }

  .aq-guest-trial-checkout__submit-desktop {
    display: none;
  }

  .aq-guest-trial-checkout__submit-mobile {
    display: inline;
  }

  .aq-guest-trial-checkout__invoice {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid var(--aq-color-base-200);
  }

  .aq-guest-trial-checkout__promo {
    padding: 21px;
  }

  .aq-guest-trial-checkout__promo > div {
    margin-top: 13px;
  }
}

@media (max-width: 419.98px) {
  .aq-guest-trial-checkout__trial-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .aq-guest-trial-checkout__contacts,
  .aq-guest-trial-checkout__summary-details,
  .aq-guest-trial-checkout__summary-footer,
  .aq-guest-trial-checkout__promo {
    padding-right: 18px;
    padding-left: 18px;
  }

  .aq-guest-trial-checkout__summary-action {
    grid-template-columns: minmax(88px, .7fr) minmax(145px, 1.3fr);
    gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .aq-guest-trial-checkout__submit {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 14px;
  }

  .aq-guest-trial-checkout__mobile-total {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aq-guest-trial-checkout *,
  .aq-guest-trial-checkout *::before,
  .aq-guest-trial-checkout *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
