/** Podgląd kasy pakietu — odwzorowanie zaakceptowanego projektu. */

body.aego-checkout-package-preview {
  --cp-navy: #08264d;
  --cp-navy-dark: #061d3e;
  --cp-gold: #e7b445;
  --cp-green: #188553;
  --cp-ink: #0a2147;
  --cp-muted: #61708a;
  --cp-line: #dce2eb;
  background: #fbfaf8;
  color: var(--cp-ink);
}

.aego-checkout-preview-container {
  width: min(calc(100% - 48px), 1204px);
  margin-inline: auto;
}

.aego-checkout-preview-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--cp-navy);
  transform: translateY(-160%);
}
.aego-checkout-preview-skip:focus { transform: none; }

.aego-checkout-preview-header {
  height: 60px;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
}
.aego-checkout-preview-header__inner {
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
}
.aego-checkout-preview-logo {
  color: var(--cp-navy) !important;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1;
  text-decoration: none !important;
}
.aego-checkout-preview-logo span { color: #c88923; }
.aego-checkout-preview-header__right {
  display: flex;
  align-items: center;
  gap: 21px;
  color: #52627a;
  font-size: .77rem;
}
.aego-checkout-preview-header__right::before {
  position: absolute;
  right: 149px;
  width: 1px;
  height: 17px;
  background: #cdd3dc;
  content: '';
}
.aego-checkout-preview-header__right > a {
  margin-left: 18px;
  color: #52627a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.aego-checkout-preview-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cp-navy);
  font-weight: 800;
}
.aego-checkout-preview-secure svg { width: 20px; height: 20px; color: #c88923; }

.aego-checkout-preview-main { min-height: calc(100vh - 110px); }
.aego-checkout-preview-heading { padding: 15px 0 0; }
.aego-checkout-preview-heading a {
  display: inline-flex;
  margin-bottom: 19px;
  color: #4e607b;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.aego-checkout-preview-heading h1 {
  margin: 0;
  color: var(--cp-navy-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.05rem;
  line-height: 1;
  letter-spacing: -.045em;
}

.aego-checkout--package-preview .aego-checkout__layout {
  grid-template-columns: minmax(0, 744px) 440px;
  gap: 20px;
  width: min(calc(100% - 48px), 1204px);
  max-width: none;
  padding: 17px 0 14px;
}
.aego-checkout-preview-card,
.aego-checkout--package-preview .aego-checkout__card {
  padding: 21px 28px 16px;
  border: 1px solid #d9dfe8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 25px rgba(10, 33, 71, .045);
}
@media (min-width: 981px) {
  .aego-checkout-preview-card,
  .aego-checkout--package-preview .aego-checkout__card { height: 810px; }
  .aego-checkout-preview-card:has(.aego-checkout-preview-invoice.is-open) { height: auto; }
}
.aego-checkout-preview-section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.aego-checkout-preview-section-title > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cp-navy);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
  place-items: center;
}
.aego-checkout-preview-section-title h2 {
  margin: 0 0 3px;
  color: var(--cp-navy-dark);
  font-size: 1.18rem;
  line-height: 1.2;
}
.aego-checkout-preview-section-title p {
  margin: 0;
  color: var(--cp-muted);
  font-size: .76rem;
  line-height: 1.35;
}
.aego-checkout-preview-section-title--payment { margin: 0 0 20px; }
.aego-checkout-preview-divider {
  height: 1px;
  margin: 21px 0 20px;
  background: #dde3eb;
}
.aego-checkout--package-preview .aego-checkout__card-title,
.aego-checkout--package-preview .aego-checkout__card-hint { display: none; }

.aego-checkout--package-preview .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.aego-checkout--package-preview p.form-row {
  display: flex;
  width: 100%;
  margin: 0;
}
.aego-checkout--package-preview .aego-preview-email-field,
.aego-checkout--package-preview .b2b-customer-type-field { grid-column: 1 / -1; }
.aego-checkout--package-preview p.form-row-first,
.aego-checkout--package-preview p.form-row-last { width: 100%; margin: 0; }
.aego-checkout--package-preview label {
  margin-bottom: 4px;
  color: #172c50;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.2 !important;
}
.aego-checkout--package-preview label .required { display: none; }
.aego-checkout--package-preview input.input-text,
.aego-checkout--package-preview textarea,
.aego-checkout--package-preview select {
  height: 41px;
  border: 1px solid #cfd7e3;
  border-radius: 5px;
  padding: 0 14px;
  background: #fff;
  color: var(--cp-ink);
  font-size: .88rem;
  box-shadow: inset 0 1px 2px rgba(10, 33, 71, .02);
}
.aego-checkout--package-preview input.input-text::placeholder { color: #9aa7ba; opacity: 1; }
.aego-checkout--package-preview input.input-text:focus,
.aego-checkout--package-preview textarea:focus,
.aego-checkout--package-preview select:focus {
  border-color: #68aa8a;
  box-shadow: 0 0 0 3px rgba(24, 133, 83, .1);
}

.aego-checkout--package-preview .b2b-customer-type-field > label:first-child { display: none; }
.aego-checkout--package-preview .b2b-customer-type-field { margin-bottom: 5px; }
.aego-checkout--package-preview .b2b-customer-type-field .woocommerce-input-wrapper,
.woocommerce form .form-row.b2b-customer-type-field .woocommerce-input-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  column-gap: 0 !important;
  padding: 4px !important;
  border: 1px solid #d7dde7 !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
.aego-checkout--package-preview .b2b-customer-type-field input[type="radio"],
.woocommerce form .form-row.b2b-customer-type-field input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.aego-checkout--package-preview .b2b-customer-type-field .woocommerce-input-wrapper > label.radio,
.woocommerce form .form-row.b2b-customer-type-field .woocommerce-input-wrapper > label.radio {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 6px 14px !important;
  border-radius: 5px !important;
  color: #213958 !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease !important;
}
.aego-checkout--package-preview .b2b-customer-type-field label.radio::before {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
}
.aego-checkout--package-preview .b2b-customer-type-field label.radio:first-of-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308264d' stroke-width='1.8'%3E%3Ccircle cx='12' cy='7' r='3'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2z'/%3E%3C/svg%3E");
}
.aego-checkout--package-preview .b2b-customer-type-field label.radio:last-of-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308264d' stroke-width='1.8'%3E%3Cpath d='M5 21V4h10v17M3 21h18M9 8h2m-2 4h2m-2 4h2m6-7h2v12'/%3E%3C/svg%3E");
}
.aego-checkout--package-preview .b2b-customer-type-field input:checked + label.radio,
.woocommerce form .form-row.b2b-customer-type-field input:checked + label.radio {
  background: #f1faf5 !important;
  color: #145d3f !important;
  box-shadow: inset 0 0 0 1px #70b28e !important;
}
.aego-checkout--package-preview .b2b-customer-type-field input:checked + label.radio:first-of-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145d3f' stroke-width='1.8'%3E%3Ccircle cx='12' cy='7' r='3'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2z'/%3E%3C/svg%3E");
}
.aego-checkout--package-preview .b2b-customer-type-field input:checked + label.radio:last-of-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145d3f' stroke-width='1.8'%3E%3Cpath d='M5 21V4h10v17M3 21h18M9 8h2m-2 4h2m-2 4h2m6-7h2v12'/%3E%3C/svg%3E");
}
.aego-checkout--package-preview .b2b-customer-type-field input:not(:checked) + label.radio:hover,
.woocommerce form .form-row.b2b-customer-type-field input:not(:checked) + label.radio:hover {
  background: #f8fafc !important;
  color: #0d233e !important;
}
.aego-checkout--package-preview .b2b-customer-type-field label.radio .optional,
.aego-checkout--package-preview .b2b-customer-type-field > label .optional,
.aego-checkout--package-preview .create-account { display: none !important; }

.aego-checkout-preview-invoice {
  position: relative;
  margin-top: 41px;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  background: #f7f8fa;
}
.aego-checkout-preview-invoice::before {
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #dde3eb;
  content: '';
}
.aego-checkout-preview-invoice__toggle {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 13px;
  width: 100%;
  min-height: 69px;
  align-items: center;
  padding: 11px 17px;
  border: 0;
  background: transparent;
  color: var(--cp-navy);
  text-align: left;
  cursor: pointer;
}
.aego-checkout-preview-invoice__icon svg { display: block; width: 27px; height: 27px; }
.aego-checkout-preview-invoice__toggle > span:nth-child(2) { display: grid; gap: 4px; }
.aego-checkout-preview-invoice__toggle strong { font-size: .88rem; }
.aego-checkout-preview-invoice__toggle strong small { font-size: .78rem; font-weight: 500; }
.aego-checkout-preview-invoice__toggle em { color: #65738b; font-size: .72rem; font-style: normal; }
.aego-checkout-preview-invoice__chevron { width: 17px; height: 17px; transition: transform .15s; }
.aego-checkout-preview-invoice.is-open .aego-checkout-preview-invoice__chevron { transform: rotate(180deg); }
.aego-checkout-preview-invoice__fields { display: none; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 17px 16px; }
.aego-checkout-preview-invoice.is-open .aego-checkout-preview-invoice__fields { display: grid; }
.aego-checkout-preview-invoice__fields p { display: flex !important; }

.aego-checkout-preview-payment-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 21px;
}
.aego-checkout-preview-payment-choices button {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: 31px auto auto;
  min-height: 118px;
  padding: 11px 12px 10px 55px;
  border: 1px solid #d6dde7;
  border-radius: 7px;
  background: #fff;
  color: var(--cp-navy-dark);
  text-align: left;
  cursor: pointer;
}
.aego-checkout-preview-payment-choices button > i {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 19px;
  height: 19px;
  border: 1.5px solid #8d98a8;
  border-radius: 50%;
}
.aego-checkout-preview-payment-choices button.is-selected {
  border-color: #55aa7a;
  background: #f5fbf7;
}
.aego-checkout-preview-payment-choices button.is-selected > i { border-color: #198554; }
.aego-checkout-preview-payment-choices button.is-selected > i::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #198554;
  content: '';
}
.aego-checkout-preview-payment-choices svg,
.aego-payment-blik { grid-column: 1 / -1; align-self: center; }
.aego-checkout-preview-payment-choices svg { width: 31px; height: 31px; }
.aego-payment-blik {
  display: inline-flex;
  width: 66px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #151515;
  color: #fff;
  font-size: 1.45rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: 1;
}
.aego-payment-blik::first-letter { color: #fff; }
.aego-checkout-preview-payment-choices strong { grid-column: 1 / -1; font-size: .78rem; line-height: 1.2; }
.aego-checkout-preview-payment-choices small {
  grid-column: 1 / -1;
  color: #68758b;
  font-size: .67rem;
  line-height: 1.35;
}

.aego-checkout--package-preview #payment { border: 0; background: transparent; }
.aego-checkout--package-preview #payment ul.payment_methods {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.aego-checkout--package-preview #payment .place-order {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.aego-checkout--package-preview .aego-consent {
  min-height: 20px;
  height: auto;
  margin: 0 0 8px !important;
  padding: 0;
}
.aego-checkout--package-preview .aego-consent:has(input[name="aego_consent_terms"]) { order: 1; }
.aego-checkout--package-preview .aego-consent:has(input[name="aego_consent_instant_access"]) { order: 2; }
.aego-checkout--package-preview .aego-consent:has(input[name="aego_consent_privacy"]) { order: 3; }
.aego-checkout--package-preview .aego-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: #60708a;
  font-size: .62rem;
  font-weight: 400;
  line-height: 18px;
}
.aego-checkout--package-preview .aego-consent input {
  width: 18px !important;
  height: 18px !important;
  margin: 0;
  flex: 0 0 18px;
  accent-color: var(--cp-green);
}
.aego-checkout--package-preview .aego-consent a { color: #344b68; }
.aego-checkout--package-preview .woocommerce-terms-and-conditions-wrapper { display: contents; }
.aego-checkout--package-preview #payment #place_order {
  order: 4;
  width: 100%;
  height: 49px;
  min-height: 49px;
  margin: 8px 0 0;
  border: 0 !important;
  border-radius: 7px !important;
  background: linear-gradient(90deg, #e9b949, #e1ac3e) !important;
  color: var(--cp-navy-dark) !important;
  font-size: .98rem !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 20px rgba(188, 126, 23, .2) !important;
}
.aego-checkout--package-preview #payment #place_order::after { margin-left: 14px; content: '→'; }
.aego-checkout-preview-payment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
  color: #566782;
  font-size: .69rem;
}
.aego-checkout-preview-payment-note svg { width: 20px; height: 20px; color: #c88923; }

.aego-instant-consent-modal[hidden] { display: none !important; }
.aego-instant-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  padding: 20px;
  background: rgba(6, 29, 62, .62);
  place-items: center;
}
.aego-instant-consent-modal__panel {
  width: min(100%, 480px);
  padding: 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(6, 29, 62, .28);
}
.aego-instant-consent-modal__panel h2 { margin: 0 0 16px; color: var(--cp-navy); font-size: 1.25rem; }
.aego-instant-consent-modal__panel label { display: flex; gap: 10px; margin-bottom: 18px; line-height: 1.45 !important; }
.aego-instant-consent-modal__panel input { flex: 0 0 auto; margin-top: 3px; }
.aego-instant-consent-modal__confirm,
.aego-instant-consent-modal__cancel { width: 100%; min-height: 44px; border-radius: 7px; font-weight: 800; }
.aego-instant-consent-modal__confirm { border: 0; background: var(--cp-gold); color: var(--cp-navy-dark); }
.aego-instant-consent-modal__cancel { margin-top: 8px; border: 1px solid var(--cp-line); background: #fff; color: var(--cp-navy); }

.aego-checkout--package-preview .aego-checkout__aside { position: sticky; top: 14px; }
.aego-checkout-preview-summary {
  overflow: hidden;
  padding: 24px 29px 15px;
  border-radius: 12px;
  background: radial-gradient(circle at 78% 24%, rgba(28, 79, 135, .52), transparent 15rem), linear-gradient(150deg, #0a315e, #061d3e 72%);
  color: #fff;
  box-shadow: 0 13px 29px rgba(6, 29, 62, .14);
}
@media (min-width: 981px) {
  .aego-checkout-preview-summary { min-height: 543px; }
}
.aego-checkout-preview-summary__eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--cp-gold);
  color: var(--cp-navy-dark);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.aego-checkout-preview-summary h2 {
  margin: 0 0 5px;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.92rem;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.aego-checkout-preview-summary__stats {
  display: block;
  margin-bottom: 15px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: .01em;
}
.aego-checkout-preview-summary__sets {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.aego-checkout-preview-summary__sets li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  color: rgba(255,255,255,.92);
  font-size: .83rem;
}
.aego-checkout-preview-summary__sets li > span {
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cp-gold);
  color: var(--cp-navy-dark);
  font-size: .67rem;
  font-weight: 900;
  place-items: center;
}
.aego-checkout-preview-processes {
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.aego-checkout-preview-processes summary {
  padding: 13px 5px 13px 33px;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.aego-checkout-preview-processes summary::-webkit-details-marker { display: none; }
.aego-checkout-preview-processes summary::before {
  position: absolute;
  margin: 0 0 0 -26px;
  color: var(--cp-gold);
  content: '⌄';
}
.aego-checkout-preview-processes[open] summary::before { transform: rotate(180deg); }
.aego-checkout-preview-processes ol {
  max-height: 190px;
  margin: 0 0 13px;
  padding: 0 8px 0 28px;
  overflow: auto;
  color: rgba(255,255,255,.78);
  font-size: .68rem;
  line-height: 1.45;
}
.aego-checkout-preview-summary__pricing { padding: 13px 0 8px; }
.aego-checkout-preview-summary__pricing > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 7px;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
}
.aego-checkout-preview-summary__pricing strong,
.aego-checkout-preview-summary__pricing .amount { color: #fff; font-size: .8rem; }
.aego-checkout-preview-summary__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0 12px;
  border-top: 1px solid rgba(255,255,255,.36);
}
.aego-checkout-preview-summary__total > span { display: grid; gap: 2px; }
.aego-checkout-preview-summary__total b { color: #fff; font-size: 1.05rem; }
.aego-checkout-preview-summary__total small { color: rgba(255,255,255,.7); font-size: .69rem; }
.aego-checkout-preview-summary__total strong,
.aego-checkout-preview-summary__total .amount { color: #fff; font-size: 1.55rem; white-space: nowrap; }
.aego-checkout-preview-summary #order_review { display: none !important; }
.aego-checkout-preview-summary__access {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #ebf7ef;
  color: #175e40;
  font-size: .69rem;
  font-weight: 850;
  text-align: center;
}
.aego-checkout-preview-summary__access span {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #178954;
  color: #fff;
  place-items: center;
}

/* v6: przy zakupie Zestawu propozycja zamiany na cały pakiet zawodu. */
.aego-checkout-preview-upgrade {
  margin-top: 13px;
  padding: 18px 20px;
  border: 2px solid #b57a22;
  border-radius: 12px;
  background: #f9f2e6;
}
.aego-checkout-preview-upgrade > span { color: #97631a; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.aego-checkout-preview-upgrade h3 { margin: 6px 0; color: #0a1d40; font-size: 1rem; line-height: 1.3; }
.aego-checkout-preview-upgrade p { margin: 0 0 12px; color: #4a5366; font-size: .8rem; line-height: 1.5; }
.aego-checkout-preview-upgrade p strong, .aego-checkout-preview-upgrade p .amount { color: #0a1d40; }
.aego-checkout-preview-upgrade a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 16px; border-radius: 8px; background: #b57a22; color: #fff; font-size: .82rem; font-weight: 850; text-decoration: none; }
.aego-checkout-preview-upgrade a:hover { background: #97631a; color: #fff; }

.aego-checkout-preview-reassurance {
  display: grid;
  margin-top: 13px;
  padding: 5px 20px;
  border: 1px solid #d9dfe8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(10,33,71,.04);
}
@media (min-width: 981px) {
  .aego-checkout-preview-reassurance { min-height: 255px; }
}
.aego-checkout-preview-reassurance > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid #dfe4eb;
}
.aego-checkout-preview-reassurance > div:last-child { border-bottom: 0; }
.aego-checkout-preview-reassurance > div > span { display: grid; gap: 3px; }
.aego-checkout-preview-reassurance strong { color: var(--cp-navy-dark); font-size: .79rem; }
.aego-checkout-preview-reassurance em { color: #68758b; font-size: .69rem; font-style: normal; line-height: 1.3; }
.aego-trust-icon {
  display: grid;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  font-style: normal;
  place-items: center;
}
.aego-trust-icon svg { width: 27px; height: 27px; }
.aego-trust-icon--gold { background: #fff3e1; color: #bd7814; }
.aego-trust-icon--green { background: #eaf7ef; color: #158650; }
.aego-trust-icon--blue { background: #e4f1ff; color: #1567bd; }

.aego-checkout-preview-footer {
  height: 50px;
  background: #061d3e;
  color: rgba(255,255,255,.72);
}
.aego-checkout-preview-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  height: 50px;
  align-items: center;
  font-size: .68rem;
}
.aego-checkout-preview-footer__brand { display: flex; align-items: center; gap: 24px; }
.aego-checkout-preview-logo--footer { color: #fff !important; font-size: 1.25rem; }
.aego-checkout-preview-footer nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.aego-checkout-preview-footer nav i { width: 1px; height: 14px; background: rgba(255,255,255,.35); }
.aego-checkout-preview-footer a { color: rgba(255,255,255,.78); }
.aego-checkout-preview-footer__inner > span:last-child { text-align: right; }

@media (max-width: 980px) {
  .aego-checkout--package-preview .aego-checkout__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(calc(100% - 36px), 720px);
  }
  .aego-checkout--package-preview .aego-checkout__main,
  .aego-checkout--package-preview .aego-checkout__aside { display: contents !important; }
  .aego-checkout-preview-summary { order: 1; }
  .aego-checkout-preview-card { order: 2; }
  .aego-checkout-preview-reassurance { order: 3; margin-top: 0; }
  .aego-checkout-preview-upgrade { order: 1; margin-top: 0; }
  .aego-checkout-preview-header__right::before { display: none; }
}

@media (max-width: 620px) {
  .aego-checkout-preview-container { width: calc(100% - 28px); }
  .aego-checkout-preview-header__right > a { display: none; }
  .aego-checkout-preview-logo { font-size: 1.48rem; }
  .aego-checkout-preview-heading { padding-top: 18px; }
  .aego-checkout-preview-heading a { margin-bottom: 15px; }
  .aego-checkout-preview-heading h1 { font-size: 2.35rem; }
  .aego-checkout--package-preview .aego-checkout__layout { width: calc(100% - 24px); padding-top: 15px; }
  .aego-checkout-preview-card,
  .aego-checkout--package-preview .aego-checkout__card { padding: 20px 15px 15px; }
  .aego-checkout--package-preview .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .aego-checkout--package-preview .aego-preview-email-field,
  .aego-checkout--package-preview .b2b-customer-type-field { grid-column: auto; }
  .aego-checkout--package-preview .b2b-customer-type-field label.radio {
    gap: 6px !important;
    font-size: .74rem !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
  }
  .aego-checkout--package-preview .b2b-customer-type-field label.radio::before {
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0 !important;
  }
  .aego-checkout-preview-payment-choices { grid-template-columns: 1fr; }
  .aego-checkout-preview-payment-choices button {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 82px;
    padding: 12px 12px 12px 52px;
  }
  .aego-checkout-preview-payment-choices svg,
  .aego-payment-blik { grid-column: 1; grid-row: 1 / 3; }
  .aego-checkout-preview-payment-choices strong { grid-column: 2; grid-row: 1; align-self: end; }
  .aego-checkout-preview-payment-choices small { grid-column: 2; grid-row: 2; }
  .aego-checkout--package-preview .aego-consent {
    height: auto;
    min-height: 20px;
    margin-bottom: 10px !important;
  }
  .aego-checkout--package-preview .aego-consent label {
    font-size: .66rem;
    line-height: 1.45;
  }
  .aego-checkout-preview-summary { padding: 23px 20px 15px; }
  .aego-checkout-preview-summary h2 { font-size: 1.7rem; }
  .aego-checkout-preview-invoice__toggle { grid-template-columns: 31px minmax(0,1fr) 16px; gap: 8px; padding-inline: 11px; }
  .aego-checkout-preview-invoice__toggle strong { font-size: .78rem; }
  .aego-checkout-preview-invoice__toggle em { font-size: .64rem; }
  .aego-checkout-preview-invoice__fields { grid-template-columns: 1fr; }
  .aego-checkout-preview-footer { height: auto; }
  .aego-checkout-preview-footer__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    height: auto;
    padding: 22px 0;
    text-align: center;
  }
  .aego-checkout-preview-footer__brand { justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
  .aego-checkout-preview-footer nav { flex-wrap: wrap; gap: 10px 14px; }
  .aego-checkout-preview-footer__inner > span:last-child { text-align: center; }
}
