@charset "UTF-8";
:root {
  --ol-red: var(--masa-color-secondary, #D22630);
  --ol-navy: var(--masa-color-primary, #00396F);
  --ol-cream: var(--masa-color-accent, #F8F2D9);
}

body {
  background: var(--masa-color-bg-subtle, #F3F6F8);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--masa-font-body, system-ui, sans-serif);
}

body > main {
  flex: 1 0 auto;
}

.m-header--checkout .m-header__logo--services img {
  width: auto;
  height: 38px;
}

.checkout-broker-transition {
  background: var(--ol-cream);
  border-bottom: 1px solid rgba(0, 57, 111, 0.12);
  flex: 0 0 auto;
}

.checkout-broker-transition--default {
  background: #e9ecef;
  border-bottom-color: rgba(18, 18, 17, 0.12);
}

.checkout-broker-transition__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 80px;
  color: var(--ol-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.checkout-broker-transition__inner--no-broker {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.checkout-broker-transition__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.checkout-insurer-footer {
  flex: 0 0 auto;
}

.checkout-insurer-footer__inner {
  gap: 16px;
}

.checkout-insurer-footer__company {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

@media (max-width: 1199px) {
  .checkout-broker-transition__inner {
    padding-right: 48px;
    padding-left: 48px;
  }
}
@media (max-width: 767px) {
  .checkout-broker-transition__inner {
    padding: 12px 16px;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
  }
  .checkout-broker-transition__logo {
    max-width: 80px;
    max-height: 40px;
  }
}
/* ── Step progress bar ── */
.steps-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 2rem 0 1.5rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 80px;
}

.step-connector {
  flex: 1 1 0;
  height: 2px;
  margin-top: 18px; /* align with circle centre */
  max-width: 120px;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid #d1d5db;
  background: #fff;
  color: var(--masa-color-text-disabled, #999B9D);
}

.step-label {
  font-size: 0.75rem;
  margin-top: 0.4rem;
  color: var(--masa-color-text-disabled, #999B9D);
}

/* States */
.step-item.active .step-circle {
  background: var(--ol-navy);
  border-color: var(--ol-navy);
  color: #fff;
}

.step-item.active .step-label {
  color: var(--ol-navy);
  font-weight: 600;
}

.step-item.done .step-circle {
  background: var(--ol-red);
  border-color: var(--ol-red);
  color: #fff;
}

.step-item.done .step-label {
  color: var(--ol-red);
}

.step-connector.done {
  background: var(--ol-red);
}

.step-connector.active {
  background: var(--ol-navy);
}

.step-connector.pending {
  background: #d1d5db;
}

/* ── Plan cards ── */
.plan-card {
  border: 2px solid var(--masa-color-border, #E6E8E9);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
  position: relative;
  padding: 1.25rem 1.5rem;
}

.plan-card:hover {
  border-color: var(--masa-color-text-disabled, #999B9D);
}

.plan-card.selected {
  border-color: var(--ol-red);
  background: #fff5f5;
}

.plan-card input[type=radio] {
  display: none;
}

.plan-card .plan-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ol-navy);
  white-space: nowrap;
}

.plan-card .plan-price .unit {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--masa-color-text-secondary, #5A656A);
}

.plan-card .plan-name {
  font-weight: 700;
  font-size: 1rem;
}

.plan-card .plan-feature {
  font-size: 0.85rem;
  color: var(--masa-color-text, #121211);
}

.plan-card .plan-feature i {
  color: var(--ol-red);
  font-size: 0.75rem;
  margin-right: 0.3rem;
}

.badge-recommended {
  position: absolute;
  top: -14px;
  right: 16px;
  background: var(--ol-navy);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 600;
}

/* ── Custom radio buttons ── */
.option-radio {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #00558C;
  vertical-align: middle;
}

/* ── Data form sections ── */
main {
  background-color: #F3F6F8 !important;
}

.form-section {
  background: #F3F6F8;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.form-section[hidden] {
  display: none !important;
}

.asegurado-toggle {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 1rem;
}

.asegurado-toggle-title {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  margin: 0;
}

.asegurado-toggle-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.asegurado-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--Neutral-10, #E6E8E9);
  border-radius: 8px;
  background: #FFF;
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  cursor: pointer;
}

.asegurado-option:has(.option-radio:checked) {
  border-color: var(--ol-navy);
  color: var(--Neutral-Black, #121211);
}

.asegurado-option:has(.option-radio:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-section-title {
  color: var(--ol-navy);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.form-label {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.form-control {
  display: block;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 0.9rem;
}

.form-control {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 12px;
  flex: 1 0 0;
  border-radius: 8px;
  border: 1px solid var(--Neutral-10, #E6E8E9);
  background: var(--Neutral-White, #FFF);
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 350;
  line-height: 24px;
}

.form-select {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 12px;
  flex: 1 0 0;
  border-radius: 8px;
  border: 1px solid var(--Neutral-10, #E6E8E9);
  background: var(--Neutral-White, #FFF);
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M18.7108 8.21001C18.6178 8.11628 18.5072 8.04189 18.3854 7.99112C18.2635 7.94035 18.1328 7.91422 18.0008 7.91422C17.8688 7.91422 17.7381 7.94035 17.6162 7.99112C17.4944 8.04189 17.3838 8.11628 17.2908 8.21001L12.7108 12.79C12.6178 12.8837 12.5072 12.9581 12.3854 13.0089C12.2635 13.0597 12.1328 13.0858 12.0008 13.0858C11.8688 13.0858 11.7381 13.0597 11.6162 13.0089C11.4944 12.9581 11.3838 12.8837 11.2908 12.79L6.71079 8.21001C6.61783 8.11628 6.50723 8.04189 6.38537 7.99112C6.26351 7.94035 6.1328 7.91422 6.00079 7.91422C5.86878 7.91422 5.73808 7.94035 5.61622 7.99112C5.49436 8.04189 5.38376 8.11628 5.29079 8.21001C5.10454 8.39737 5 8.65083 5 8.91501C5 9.1792 5.10454 9.43265 5.29079 9.62001L9.88079 14.21C10.4433 14.7718 11.2058 15.0874 12.0008 15.0874C12.7958 15.0874 13.5583 14.7718 14.1208 14.21L18.7108 9.62001C18.897 9.43265 19.0016 9.1792 19.0016 8.91501C19.0016 8.65083 18.897 8.39737 18.7108 8.21001Z%27 fill=%27%23121211%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px;
  padding-right: 48px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--ol-navy);
  box-shadow: 0 0 0 0.2rem rgba(26, 58, 107, 0.15);
}

.date-input-wrapper {
  position: relative;
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 12px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Neutral-10, #E6E8E9);
  background: var(--Neutral-White, #FFF);
}

.date-input-field {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 350;
  line-height: 24px;
  border: none;
  background: transparent;
  flex: 1;
  padding: 0 36px 0 0;
  margin: 0;
  width: 100%;
  min-width: 0;
  outline: none;
}

.date-input-picker {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
}

.date-input-picker::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

.date-input-picker::-webkit-inner-spin-button,
.date-input-picker::-webkit-clear-button {
  display: none;
}

.date-picker-trigger {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

.date-icon-overlay {
  position: absolute;
  right: 16px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 2;
}

.date-input-wrapper:focus-within {
  border-color: var(--ol-navy);
  box-shadow: 0 0 0 0.2rem rgba(26, 58, 107, 0.15);
}

.phone-input-wrapper {
  display: flex;
  padding: 0;
  align-items: center;
  flex: 1 0 0;
  border-radius: 8px;
  border: 1px solid var(--Neutral-10, #E6E8E9);
  background: var(--Neutral-White, #FFF);
}

.phone-input-wrapper:focus-within {
  border-color: var(--ol-navy);
  box-shadow: 0 0 0 0.2rem rgba(26, 58, 107, 0.15);
}

.phone-input-wrapper .intl-tel-input {
  width: 100%;
}

.phone-input-wrapper .intl-tel-input.allow-dropdown .flag-container,
.phone-input-wrapper .intl-tel-input.separate-dial-code .flag-container {
  width: 104px;
  right: auto;
  left: 0;
}

.phone-input-wrapper .intl-tel-input.separate-dial-code .selected-flag {
  display: grid;
  grid-template-columns: 20px 38px 8px;
  align-items: center;
  justify-content: flex-start;
  column-gap: 8px;
  width: 100%;
  height: 100%;
  border-radius: 8px 0 0 8px;
  border-right: 1px solid var(--Neutral-30, #999B9D);
  background: transparent;
  padding: 0 10px;
}

.phone-input-wrapper .intl-tel-input.separate-dial-code.allow-dropdown .selected-flag {
  width: 100%;
}

.phone-input-wrapper .intl-tel-input.separate-dial-code .selected-flag .iti-flag {
  position: static;
  flex: 0 0 auto;
  margin: 0;
}

.phone-input-wrapper .intl-tel-input.separate-dial-code .selected-dial-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  padding-left: 0;
  text-align: center;
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.phone-input-wrapper .intl-tel-input .selected-flag .iti-arrow {
  position: absolute;
  top: 50%;
  margin-top: -4px;
  right: 8px;
  border-top-color: var(--Neutral-Black, #121211);
}

.phone-input-wrapper .intl-tel-input .selected-flag .iti-arrow.up {
  border-bottom-color: var(--Neutral-Black, #121211);
}

.phone-input-wrapper .intl-tel-input.allow-dropdown .flag-container:hover .selected-flag {
  background: var(--Neutral-White, #FFF);
}

.phone-input-wrapper .intl-tel-input.separate-dial-code input.phone-input-field {
  width: 100%;
  padding-left: 120px;
  padding-right: 16px;
  box-sizing: border-box;
}

.phone-input-wrapper .intl-tel-input.separate-dial-code.allow-dropdown input.phone-input-field {
  padding-left: 120px;
}

.phone-input-wrapper .intl-tel-input .country-list {
  width: min(360px, 100vw - 32px);
  border-color: var(--Neutral-10, #E6E8E9);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(18, 18, 17, 0.16);
}

.phone-input-wrapper .intl-tel-input .country-list .checkout-phone-country-search {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 8px;
  background: var(--Neutral-White, #FFF);
  border-bottom: 1px solid var(--Neutral-10, #E6E8E9);
}

.checkout-phone-country-search__input {
  width: 100%;
  border: 1px solid var(--Neutral-10, #E6E8E9);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 14px;
  line-height: 20px;
  outline: none;
}

.checkout-phone-country-search__input:focus {
  border-color: var(--ol-navy);
  box-shadow: 0 0 0 0.15rem rgba(26, 58, 107, 0.12);
}

.phone-input-field {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 350;
  line-height: 24px;
  border: none;
  background: transparent;
  width: 100%;
  padding: 16px;
  margin: 0;
}

.phone-input-field::placeholder {
  color: var(--Neutral-50, #5A656A);
}

.phone-input-field:focus {
  outline: none;
  color: var(--Neutral-50, #5A656A);
}

/* Consent checkboxes */
.consent-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.masa-scope .checkout-form p.consent-marketing-intro,
[data-masa] .checkout-form p.consent-marketing-intro {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  margin: 25px 0 0.75rem;
}

.form-check-input {
  display: flex;
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--Neutral-10, #E6E8E9);
  background-color: var(--Neutral-White, #FFF);
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}

.form-check-input:checked {
  background-color: var(--ol-navy);
  border-color: var(--ol-navy);
}

.consent-check label {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}

.consent-check label a {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

/* ── Confirmation card ── */
.confirm-summary {
  background: var(--ol-cream);
  border-radius: 12px;
  padding: 1.5rem;
}

.confirm-summary .row-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.92rem;
}

.confirm-summary .row-item:not(:last-child) {
  border-bottom: 1px solid #e8dece;
}

.confirm-summary .row-item .label {
  color: var(--masa-color-text-secondary, #5A656A);
}

.confirm-summary .row-item .value {
  font-weight: 600;
}

.confirm-summary .row-item .value.price {
  color: var(--ol-navy);
}

.next-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--masa-color-border, #E6E8E9);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  background: #fff;
  margin-bottom: 0.75rem;
}

.next-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--masa-color-bg-subtle, #F3F6F8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--masa-color-primary, #00396F);
  font-size: 1.1rem;
}

/* ── Bottom action bar ── */
.action-bar {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
}

.btn-ol-back {
  flex: 1;
  border: 2px solid var(--masa-color-border, #E6E8E9);
  background: #fff;
  color: var(--masa-color-text, #121211);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}

.btn-ol-back:hover {
  border-color: var(--masa-color-text-secondary, #5A656A);
}

.btn-ol-primary {
  flex: 2;
  background: var(--ol-red);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.btn-ol-primary:hover {
  background: var(--masa-color-secondary-dark, #A93331);
  color: #fff;
}

.btn-ol-primary-full {
  width: 100%;
  background: var(--ol-red);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s;
}

.btn-ol-primary-full:hover {
  background: var(--masa-color-secondary-dark, #A93331);
  color: #fff;
}

/* Reference link */
.reference-link {
  color: var(--ol-navy);
  font-weight: 700;
}

/* Success icon container */
.b2c-checkout .success-icon {
  display: flex;
  padding: 16px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 24px;
  background: linear-gradient(0deg, rgba(0, 85, 140, 0.1) 0%, rgba(0, 85, 140, 0.1) 100%), #FFF;
}

/* Success icon SVG */
.b2c-checkout .success-icon svg {
  width: 48px;
  height: 48px;
}

/* ── Step 1, 2 & 3 Layout ── */
.checkout-customer-container,
.checkout-payment-container,
.b2c-checkout.checkout-success-container {
  background-color: #F3F6F8;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  min-height: 100vh;
}

.checkout-customer-content,
.checkout-payment-content {
  display: flex;
  padding: 64px 216px;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  background-color: #F3F6F8;
}

.b2c-checkout .checkout-success-content {
  display: flex;
  flex-direction: column;
  padding: 64px 216px;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  background-color: #F3F6F8;
}

.b2c-checkout .checkout-success-content {
  display: flex;
  flex-direction: column;
  padding: 64px 216px;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  background-color: #F3F6F8;
}

.checkout-form {
  flex: 1;
  max-width: 600px;
  background-color: #F3F6F8;
}

.b2c-checkout .checkout-success-content {
  display: flex;
  flex-direction: column;
  padding: 64px 216px;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  background-color: #F3F6F8;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 1 0 0;
}

.checkout-form > h2,
.checkout-form-header > h2 {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
  margin: 0;
  padding: 0;
  align-self: stretch;
}

/* Plan Options Container */
.plan-options-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

/* Mobile collapsible summary */
.summary-mobile-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  align-self: stretch;
  display: none;
}

.summary-mobile-header-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  cursor: pointer;
  user-select: none;
}

.summary-mobile-info {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex: 1;
  align-items: center;
}

.summary-plan-name {
  color: var(--Primary-Blue, #00558C);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
}

.summary-plan-price {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.summary-mobile-collapsed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.pagares-ahora-row-mobile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  padding-top: 16px;
  border-top: 1px solid var(--Neutral-10, #E6E8E9);
}

.pagares-label-mobile {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
  flex: 1;
}

.pagares-price-mobile {
  color: var(--Neutral-Black, #121211);
  text-align: right;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
}

.pagares-subtext-mobile {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  align-self: stretch;
}

.btn-finalizar-wrapper-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  position: relative;
  gap: 0;
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: -16px;
  padding: 12px 32px;
}

.summary-toggle-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
  transform-origin: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-mobile-header[aria-expanded=true] .summary-toggle-icon {
  transform: rotate(0deg);
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-height: 100%;
  opacity: 1;
}

/* Mobile layout */
@media (max-width: 992px) {
  .asegurado-toggle-options {
    grid-template-columns: 1fr;
  }
  .checkout-customer-content {
    flex-direction: column;
  }
  .checkout-form {
    padding-bottom: 32px;
  }
  .checkout-form-title {
    color: var(--Neutral-Black, #121211) !important;
    font-family: Avenir !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 32px !important;
    order: 2;
  }
  .checkout-payment-content > div > div:nth-child(1),
.checkout-form > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 16px !important;
  }
  .checkout-back-link {
    order: 1 !important;
    margin-bottom: 16px !important;
  }
  .checkout-form-title {
    order: 2 !important;
  }
  .checkout-form-header > h2 {
    order: 2 !important;
  }
  .checkout-plan-summary {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 -4px 32px 0 rgba(0, 57, 111, 0.15);
  }
  .summary-mobile-header {
    display: flex;
  }
  .summary-content {
    display: none;
    flex-direction: column;
    padding: 16px;
    gap: 24px;
    pointer-events: none;
  }
  .summary-content.expanded {
    display: flex;
    max-height: none;
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
    padding-bottom: 32px;
  }
  .plan-summary-header {
    display: none;
  }
  .summary-collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .summary-collapse-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
  }
  .plan-summary-link {
    display: none;
  }
  .checkout-plan-summary.expanded .summary-mobile-header {
    display: none !important;
  }
  .checkout-plan-summary.expanded .documents-section {
    display: flex;
  }
}
/* ── Checkout success page ─────────────────────────────────── */
.b2c-checkout.checkout-success-container {
  min-height: auto;
  padding-bottom: 0;
  background: #fff;
}

.b2c-checkout .success-page {
  display: block;
  width: 100%;
  padding: 56px 24px 72px;
  background: #fff;
  box-sizing: border-box;
}

.b2c-checkout .success-page__inner {
  display: flex;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.b2c-checkout .success-hero {
  display: flex;
  max-width: 880px;
  margin: 0 auto 8px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.b2c-checkout .success-hero__celebration {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(0, 57, 111, 0.12));
}

.b2c-checkout .success-title {
  margin: 0 !important;
  color: #121211;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 46px;
}

.b2c-checkout .success-brand {
  white-space: nowrap;
  color: #00396f;
}

.b2c-checkout .success-brand > span {
  color: #d22630;
}

.b2c-checkout .success-status {
  display: inline-flex;
  margin: 0;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #edf8f4;
  color: #08785d;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 24px;
}

.b2c-checkout .success-status__icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  border-radius: 50%;
  background: #048661;
  color: #fff;
  font-size: 13px;
}

.b2c-checkout .success-intro {
  max-width: 820px;
  margin: 0;
  color: #3e484d;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
}

.b2c-checkout .success-contract-card {
  display: flex;
  padding: 30px 36px 26px;
  flex-direction: column;
  gap: 24px;
  border: 1px solid #e2e7ea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 57, 111, 0.08);
}

.b2c-checkout .success-contract-card__title {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e8e9;
  color: #182b3a;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 30px;
}

.b2c-checkout .success-contract-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 26px;
}

.b2c-checkout .success-contract-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.b2c-checkout .success-contract-item__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #5a656a;
  font-size: 21px;
}

.b2c-checkout .success-contract-item__label,
.b2c-checkout .success-contract-item__value,
.b2c-checkout .success-contract-item__detail {
  display: block;
  font-family: Avenir, "Open Sans", sans-serif;
}

.b2c-checkout .success-contract-item__label {
  margin-bottom: 3px;
  color: #5a656a;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.b2c-checkout .success-contract-item__value {
  overflow-wrap: anywhere;
  color: #182b3a;
  font-size: 16px;
  font-weight: 800;
  line-height: 23px;
}

.b2c-checkout .success-contract-item__detail {
  margin-top: 3px;
  color: #5a656a;
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
}

.b2c-checkout .success-coverages {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f3f6f8;
}

.b2c-checkout .success-coverages summary {
  color: #00558c;
  cursor: pointer;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

.b2c-checkout .success-coverages__list {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.b2c-checkout .success-coverage {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3e484d;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 13px;
  line-height: 19px;
}

.b2c-checkout .success-coverage > i {
  margin-top: 3px;
  color: #048661;
  font-size: 11px;
}

.b2c-checkout .success-total {
  display: flex;
  padding-top: 20px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #e6e8e9;
}

.b2c-checkout .success-total > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.b2c-checkout .success-total > div > strong,
.b2c-checkout .success-total__amount {
  color: #182b3a;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 21px;
  font-weight: 900;
  line-height: 28px;
}

.b2c-checkout .success-total > div > span {
  color: #5a656a;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.b2c-checkout .success-total__amount {
  white-space: nowrap;
  text-align: right;
}

.b2c-checkout .success-next-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.b2c-checkout .success-info-card {
  display: grid;
  min-height: 250px;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  border-radius: 20px;
}

.b2c-checkout .success-info-card--client-area {
  background: #eef6fb;
}

.b2c-checkout .success-info-card--wallet {
  background: #fff8e9;
}

.b2c-checkout .success-info-card__figure {
  display: flex;
  height: 250px;
  padding: 18px 18px 0 30px;
  align-items: flex-end;
  justify-content: center;
}

.b2c-checkout .success-info-card__figure img {
  display: block;
  width: 100%;
  max-width: 270px;
  max-height: 228px;
  object-fit: contain;
  object-position: center bottom;
}

.b2c-checkout .success-info-card--wallet .success-info-card__figure img {
  max-width: 190px;
}

.b2c-checkout .success-info-card__body {
  display: flex;
  padding: 30px 40px 30px 0;
  align-items: flex-start;
  gap: 16px;
}

.b2c-checkout .success-info-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 57, 111, 0.08);
  font-size: 19px;
}

.b2c-checkout .success-info-card__icon--chat {
  color: #00558c;
}

.b2c-checkout .success-info-card__icon--mobile {
  color: #e0ad1b;
}

.b2c-checkout .success-info-card__body h2 {
  margin: 0 0 8px;
  color: #00396f;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 31px;
}

.b2c-checkout .success-info-card__body p {
  margin: 0 0 8px;
  color: #3e484d;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
}

.b2c-checkout .success-info-card__body p:last-child {
  margin-bottom: 0;
}

.b2c-checkout .success-info-card__link {
  display: inline-flex;
  margin-top: 4px;
  align-items: center;
  gap: 7px;
  color: #d22630;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
  text-decoration: none;
}

.b2c-checkout .success-info-card__link:hover {
  color: #a93331;
  text-decoration: underline;
}

.b2c-checkout .success-trust {
  display: flex;
  padding: 20px 32px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 16px;
  background: #eaf4fb;
  color: #00396f;
  text-align: left;
}

.b2c-checkout .success-trust__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  border-radius: 50%;
  background: #fff;
  color: #00558c;
  font-size: 22px;
}

.b2c-checkout .success-trust div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.b2c-checkout .success-trust strong,
.b2c-checkout .success-trust span {
  font-family: Avenir, "Open Sans", sans-serif;
}

.b2c-checkout .success-trust strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
}

.b2c-checkout .success-trust span {
  color: #3e6079;
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
}

.b2c-checkout .success-actions {
  display: flex;
  margin-top: 8px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.b2c-checkout .success-actions p {
  margin: 0;
  color: #5a656a;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.b2c-checkout .success-back-button {
  display: inline-flex;
  padding: 12px 28px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #d22630;
  color: #f8f2d9;
  font-family: Avenir, "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
}

.b2c-checkout .success-back-button:hover {
  background: #a93331;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .b2c-checkout .success-page {
    padding: 40px 16px 56px;
  }
  .b2c-checkout .success-page__inner {
    gap: 18px;
  }
  .b2c-checkout .success-hero {
    gap: 13px;
  }
  .b2c-checkout .success-hero__celebration {
    font-size: 52px;
  }
  .b2c-checkout .success-title {
    font-size: 29px;
    line-height: 36px;
  }
  .b2c-checkout .success-status {
    padding: 10px 14px;
    align-items: flex-start;
    border-radius: 16px;
    font-size: 15px;
    line-height: 22px;
    text-align: left;
  }
  .b2c-checkout .success-intro {
    font-size: 15px;
    line-height: 23px;
  }
  .b2c-checkout .success-contract-card {
    padding: 22px 20px;
    gap: 20px;
    border-radius: 18px;
  }
  .b2c-checkout .success-contract-card__title {
    font-size: 20px;
    line-height: 27px;
  }
  .b2c-checkout .success-contract-grid,
.b2c-checkout .success-coverages__list {
    grid-template-columns: 1fr;
  }
  .b2c-checkout .success-contract-grid {
    row-gap: 20px;
  }
  .b2c-checkout .success-total > div > strong,
.b2c-checkout .success-total__amount {
    font-size: 18px;
    line-height: 25px;
  }
  .b2c-checkout .success-info-card {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .b2c-checkout .success-info-card__figure {
    height: 210px;
    padding: 18px 24px 0;
  }
  .b2c-checkout .success-info-card__figure img {
    max-height: 195px;
  }
  .b2c-checkout .success-info-card--wallet .success-info-card__figure img {
    max-width: 150px;
  }
  .b2c-checkout .success-info-card__body {
    padding: 24px;
  }
  .b2c-checkout .success-info-card__body h2 {
    font-size: 21px;
    line-height: 28px;
  }
  .b2c-checkout .success-trust {
    padding: 18px 20px;
    justify-content: flex-start;
  }
}
@media (max-width: 420px) {
  .b2c-checkout .success-title {
    font-size: 26px;
    line-height: 33px;
  }
  .b2c-checkout .success-info-card__body {
    flex-direction: column;
  }
  .b2c-checkout .success-total {
    gap: 12px;
  }
}
/* Desktop: show link, hide button */
@media (min-width: 993px) {
  .summary-collapse-btn {
    display: none;
  }
  .plan-summary-link {
    display: block;
  }
  .documents-section {
    margin: 0;
    display: none;
  }
  .btn-finalizar-wrapper-desktop {
    display: none;
  }
  .pagares-ahora-section-desktop {
    display: none;
  }
}
/* Plan Summary Container - Scoped */
.checkout-plan-summary {
  display: flex;
  width: 384px;
  min-width: 384px;
  max-width: 488px;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  align-self: flex-start;
  height: fit-content;
  border-radius: 24px;
  background: #FFF;
  padding: 32px;
  /* Plan Summary Wrapper */
  /* Header */
  /* Plan Options */
  /* Facturación */
  /* Pagarás Ahora */
  /* Button */
  /* Documents */
}
.checkout-plan-summary .plan-summary-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}
.checkout-plan-summary .plan-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.checkout-plan-summary .plan-sidebar-label {
  margin: 0;
}
.checkout-plan-summary .plan-summary-title {
  color: #121211;
  font-family: Avenir;
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  margin: 0;
}
.checkout-plan-summary .plan-summary-link {
  color: #D22630;
  text-align: right;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 350;
  line-height: 20px;
  text-decoration: none;
}
.checkout-plan-summary .plan-summary-link:hover {
  text-decoration: underline;
}
.checkout-plan-summary .plan-options-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}
.checkout-plan-summary .plan-option-card {
  border-radius: 12px;
  border: 0.5px solid #BFD4E2;
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  cursor: pointer;
  transition: all 0.2s ease;
}
.checkout-plan-summary .plan-option-card:hover {
  border-color: #00558C;
  background-color: #F2F6F9;
}
.checkout-plan-summary .plan-option-card.selected {
  border-radius: 12px;
  border: 0.5px solid #00558C;
  background: #F2F6F9;
}
.checkout-plan-summary .plan-option-radio {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #00558C;
  vertical-align: middle;
}
.checkout-plan-summary .plan-option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  height: 24px;
}
.checkout-plan-summary .plan-option-name {
  color: #121211;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 4px;
}
.plan-option-card.selected .checkout-plan-summary .plan-option-name {
  color: #00558C;
}
.checkout-plan-summary .plan-option-price {
  color: #121211;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
  padding-top: 4px;
}
.checkout-plan-summary .plan-option-period {
  color: #5A656A;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.checkout-plan-summary .plan-option-monthly {
  color: #5A656A;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  width: 100%;
  text-align: right;
}
.checkout-plan-summary .facturacion-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}
.checkout-plan-summary .facturacion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.checkout-plan-summary .facturacion-title {
  color: #121211;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}
.checkout-plan-summary .facturacion-price {
  color: #121211;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
}
.checkout-plan-summary .facturacion-description {
  color: #5A656A;
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  margin: 0;
  width: 100%;
}
.checkout-plan-summary .facturacion-link {
  color: #D22630;
  text-decoration: none;
  font-weight: 600;
}
.checkout-plan-summary .facturacion-link:hover {
  text-decoration: underline;
}
.checkout-plan-summary .facturacion-toggle-row {
  display: flex;
  padding-bottom: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}
.checkout-plan-summary .facturacion-label {
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #999B9D;
}
.checkout-plan-summary .facturacion-label.is-active {
  color: #121211;
}
.checkout-plan-summary .modalidades-toggle {
  display: flex;
  padding: 2px 2px 2px 20px;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 96px;
  background: #D22630;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.checkout-plan-summary .modalidades-toggle[aria-pressed=false] {
  padding: 2px 20px 2px 2px;
}
.checkout-plan-summary .modalidades-toggle-knob {
  width: 16px;
  height: 16px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  flex-shrink: 0;
}
.checkout-plan-summary .pagares-ahora-section {
  display: flex;
  padding-top: 16px;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-top: 1px solid #E6E8E9;
  flex-direction: column;
}
.checkout-plan-summary .pagares-ahora-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.checkout-plan-summary .pagares-label {
  color: #121211;
  font-family: Avenir;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
}
.checkout-plan-summary .pagares-price {
  color: #121211;
  text-align: right;
  font-family: Avenir;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
}
.checkout-plan-summary .pagares-subtext {
  color: #5A656A;
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.checkout-plan-summary .btn-finalizar-compra {
  border-radius: 96px;
  background: #D22630;
  display: flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  color: #F8F2D9;
  text-align: center;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.checkout-plan-summary .btn-finalizar-compra:hover {
  background: #B81F24;
  color: #F8F2D9;
  text-decoration: none;
}
.checkout-plan-summary .documents-section {
  background: linear-gradient(0deg, rgba(0, 85, 140, 0.1) 0%, rgba(0, 85, 140, 0.1) 100%), #FFF;
  display: flex;
  padding: 16px 32px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 12px;
  margin: 0 -32px -32px -32px;
  border-radius: 0 0 24px 24px;
}
.checkout-plan-summary .document-row {
  display: flex;
  padding: 12px 0;
  align-items: center;
  align-self: stretch;
}
.checkout-plan-summary .document-row:not(:first-child) {
  border-top: 1px solid var(--Neutral-White, #FFF);
  padding-top: 25px;
}
.checkout-plan-summary .document-link {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  color: #00558C;
  text-decoration: none;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  flex: 1;
  padding-top: 2px;
}
.checkout-plan-summary .document-link:hover {
  text-decoration: underline;
}
.checkout-plan-summary .document-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.checkout-plan-summary .document-link.document-link-disabled {
  color: #999B9D;
  cursor: not-allowed;
  opacity: 0.6;
}
.checkout-plan-summary .document-link.document-link-disabled:hover {
  text-decoration: none;
}
.checkout-plan-summary .document-link.document-link-disabled svg path {
  fill: #999B9D;
}

.checkout-price-value.is-loading {
  position: relative;
  min-height: 24px;
  color: transparent !important;
}
.checkout-price-value.is-loading > * {
  visibility: hidden;
}
.checkout-price-value.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 85, 140, 0.18);
  border-top-color: #00558C;
  border-radius: 50%;
  animation: checkout-price-loading 0.8s linear infinite;
}

@keyframes checkout-price-loading {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (min-width: 993px) {
  .checkout-plan-summary .summary-content > .plan-summary-header {
    display: none;
  }
}
/* Payment Methods */
.checkout-payment-methods-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.payment-methods-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  align-self: stretch;
}

.checkout-payment-intro {
  color: #121211;
  font-family: var(--masa-font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.checkout-payment-legal {
  color: #5A656A;
  font-family: var(--masa-font-body);
  font-size: 12px;
  font-weight: 350;
  line-height: 18px;
  margin: 0;
}

.campaign-payment-validation,
.checkout-campaign-pricing {
  padding: 14px 16px;
  border-radius: 12px;
  background: #F2F6F9;
  color: #00396F;
  font-family: var(--masa-font-body);
  font-size: 14px;
  line-height: 20px;
}

.campaign-payment-validation {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}
.campaign-payment-validation[hidden] {
  display: none;
}

.btn-finalizar-wrapper,
.btn-finalizar-wrapper-mobile {
  gap: 16px;
}

.checkout-campaign-pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}
.checkout-campaign-pricing[hidden] {
  display: none;
}
.checkout-campaign-pricing del {
  color: #5A656A;
}
.checkout-campaign-pricing strong {
  font-weight: 800;
}

.checkout-payment-schedule {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F2F6F9;
  color: #00396F;
  font-family: var(--masa-font-body);
  font-size: 14px;
  line-height: 20px;
}
.checkout-payment-schedule p {
  margin: 0;
}
.checkout-payment-schedule details {
  margin-top: 10px;
}
.checkout-payment-schedule summary {
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
}
.checkout-payment-schedule ol {
  margin: 10px 0 0;
  padding-left: 24px;
}

.checkout-campaign-pricing .checkout-payment-schedule {
  margin: 0;
  padding: 0;
  background: transparent;
}

.payment-method-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border: 2px solid #BFD4E2;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.payment-method-card input[type=radio] {
  display: none;
}
.payment-method-card:hover {
  border-color: #00558C;
}
.payment-method-card.selected {
  border-radius: 16px;
  border: 1px solid var(--Primary-Blue, #00558C);
  background: linear-gradient(0deg, rgba(0, 85, 140, 0.08) 0%, rgba(0, 85, 140, 0.08) 100%), #FFF;
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}

.payment-method-radio {
  width: 24px;
  height: 24px;
  border: 2px solid #BFD4E2;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-method-card.selected .payment-method-radio {
  border-color: var(--Primary-Blue, #00558C);
  background: var(--Primary-Blue, #00558C);
  box-shadow: inset 0 0 0 2px #fff;
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.payment-method-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
}

.payment-method-name {
  color: #121211;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
}

.payment-method-card.selected .payment-method-name {
  color: #00558C;
}

.payment-icons {
  display: none;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-icons.visible {
  display: flex;
}

.payment-icon-img {
  width: 40px;
  height: 28px;
  object-fit: contain;
}

.payment-icon {
  width: 48px;
  height: 32px;
  flex-shrink: 0;
}

.payment-icon-text {
  padding: 4px 8px;
  background: #F3F6F8;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #121211;
  white-space: nowrap;
}

.payment-method-sepa-badge {
  width: 56px;
  height: 32px;
  flex-shrink: 0;
}

.sepa-form-fields {
  display: none;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.sepa-form-fields.visible {
  display: flex;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.sepa-security-message {
  display: flex;
  padding: 12px;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  border-radius: 12px;
  background: rgba(0, 85, 140, 0.1);
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

.checkout-back-link {
  color: #00558C;
  text-decoration: none;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}
.checkout-back-link:hover {
  color: #003F5C;
  text-decoration: underline;
}

.checkout-form-title {
  color: #121211;
  font-family: Avenir;
  font-size: 32px;
  font-weight: 900;
  line-height: 40px;
  margin: 0 !important;
  padding: 0;
}

.checkout-footer-note {
  color: #5A656A;
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  margin-top: 16px;
}

.selected-plan-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: stretch;
}

.selected-plan-name {
  color: var(--Neutral-Black, #121211) !important;
  font-family: Avenir !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.selected-plan-price-wrapper {
  margin: 0;
  padding: 0;
}

.selected-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.price-value {
  color: #121211;
  font-family: Avenir;
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
}

.price-period {
  color: #5A656A;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.selected-plan-note {
  color: #5A656A;
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  margin: 0;
}

.plan-summary-label {
  color: #5A656A;
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  margin: 0;
}

/* Documents Section */
.documents-section {
  background: linear-gradient(0deg, rgba(0, 85, 140, 0.1) 0%, rgba(0, 85, 140, 0.1) 100%), #FFF;
  display: flex;
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 8px;
  gap: 0;
  overflow: hidden;
}

.document-row {
  display: flex;
  width: 100%;
  border-top: 1px solid white;
  padding: 16px;
}
.document-row:first-child {
  border-top: none;
}

.document-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00558C;
  text-decoration: none;
  font-family: Avenir;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  width: 100%;
}
.document-link:hover {
  text-decoration: underline;
}
.document-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Step 3 Styles */
.b2c-checkout .success-main {
  display: flex;
  width: 592px;
  padding: 26px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 24px;
  align-self: center;
}

.b2c-checkout .success-success-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: center;
  color: var(--Primary-Dark-Blue, #00396F);
  text-align: center;
  font-family: Avenir;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 40px;
}

.b2c-checkout .success-title {
  color: var(--Primary-Dark-Blue, #00396F);
  text-align: center;
  font-family: Avenir;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 40px;
  margin: 0 !important;
}

.b2c-checkout .success-subtitle {
  color: var(--Neutral-Black, #121211);
  text-align: center;
  font-family: Avenir;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
}

/* Summary Section */
.b2c-checkout .success-summary-section {
  display: flex;
  width: 592px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.b2c-checkout .success-summary-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.b2c-checkout .success-summary-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2c-checkout .success-summary-content {
  flex: 1;
}

.b2c-checkout .success-summary-label {
  color: #5A656A;
  font-family: Avenir;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.b2c-checkout .success-summary-value {
  color: #121211;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
  margin-top: 4px;
}

.b2c-checkout .success-summary-detail {
  color: #5A656A;
  font-family: Avenir;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  margin-top: 4px;
}

.b2c-checkout .success-summary-amount {
  color: #121211;
  font-family: Avenir;
  font-size: 18px;
  font-weight: 900;
  line-height: 26px;
  margin-top: 8px;
}

/* Plan Section */
.b2c-checkout .success-plan-section {
  display: flex;
  padding-top: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  border-top: 1px solid var(--Neutral-10, #E6E8E9);
}

/* Plan Details */
.b2c-checkout .success-plan-details {
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 16px;
  background: var(--Neutral-5, #F3F6F8);
}

.b2c-checkout .success-plan-name {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
  margin: 0;
}

.b2c-checkout .success-plan-price {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
  white-space: nowrap;
}

.plan-features-box {
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  background: #F2F6F9;
  border-radius: 8px;
}

.b2c-checkout .success-plan-features {
  display: flex;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.b2c-checkout .success-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.b2c-checkout .success-feature-check {
  width: 12px;
  height: 12px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
}

/* Total Section */
.b2c-checkout .success-total-section {
  display: flex;
  padding-top: 16px;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-top: 1px solid var(--Neutral-10, #E6E8E9);
  justify-content: space-between;
}

.b2c-checkout .success-total-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.b2c-checkout .success-total-label {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
}

.b2c-checkout .success-total-amount {
  color: var(--Neutral-Black, #121211);
  text-align: right;
  font-family: Avenir;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
  flex: 1;
}

.b2c-checkout .success-total-note {
  color: #5A656A;
  font-family: Avenir;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-align: left;
}

.b2c-checkout .success-wallet-section {
  display: flex;
  padding-top: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-top: 1px solid var(--Neutral-10, #E6E8E9);
}

.b2c-checkout .success-wallet-message {
  color: var(--Neutral-Black, #121211);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
}

.b2c-checkout .success-wallet-link {
  color: var(--Primary-Red, #D22630);
  font-family: Avenir;
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
  text-decoration: none;
}

.b2c-checkout .success-wallet-link:hover {
  text-decoration: underline;
}

/* Bottom Section */
.b2c-checkout .success-bottom-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: center;
  width: 592px;
}

/* Support Note */
.b2c-checkout .success-support-note {
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
  padding: 0;
}

/* Back Button */
.b2c-checkout .success-back-button {
  display: inline-flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 96px;
  background: var(--Secondary-Red, #D22630);
  color: var(--Secondary-Cream, #F8F2D9);
  text-align: center;
  font-family: Avenir;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}
.b2c-checkout .success-back-button:hover {
  background: #B81F24;
  color: var(--Secondary-Cream, #F8F2D9);
  text-decoration: none;
}

.b2c-checkout .success-arrow {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

/* Paymefy payment error callback */
.b2c-checkout.checkout-ko-container .checkout-success-content {
  align-items: center;
}

.b2c-checkout .checkout-ko-icon {
  width: 80px;
  height: 80px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--Secondary-Red, #D22630);
  background: rgba(210, 38, 48, 0.1);
}

.b2c-checkout .checkout-ko-icon i {
  font-size: 40px;
}

.b2c-checkout .checkout-ko-main {
  padding: 40px 32px;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.b2c-checkout .checkout-ko-heading {
  margin: 0;
  color: var(--Primary-Dark-Blue, #00396F);
  font-family: Avenir;
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
}

.b2c-checkout .checkout-ko-message {
  max-width: 480px;
  margin: 0;
  color: var(--Neutral-50, #5A656A);
  font-family: Avenir;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.b2c-checkout .checkout-ko-reference {
  display: flex;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  color: var(--Neutral-50, #5A656A);
  background: var(--Neutral-10, #F3F6F8);
  font-family: Avenir;
  font-size: 14px;
  line-height: 20px;
}

.b2c-checkout .checkout-ko-reference strong {
  color: var(--Neutral-Black, #121211);
  font-weight: 800;
}

.b2c-checkout .checkout-ko-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}

.b2c-checkout .checkout-ko-secondary-button {
  display: inline-flex;
  padding: 12px 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--Primary-Dark-Blue, #00396F);
  border-radius: 96px;
  color: var(--Primary-Dark-Blue, #00396F);
  background: transparent;
  font-family: Avenir;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.b2c-checkout .checkout-ko-secondary-button:hover {
  color: #fff;
  background: var(--Primary-Dark-Blue, #00396F);
  text-decoration: none;
}

.b2c-checkout .checkout-ko-support-note {
  align-self: center;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .checkout-customer-content,
.checkout-payment-content {
    padding: 0 64px;
  }
}
@media (max-width: 991px) {
  .checkout-customer-content,
.checkout-payment-content,
.checkout-success-content {
    padding: 0 32px;
    flex-direction: column;
    align-items: stretch;
  }
  .checkout-plan-summary {
    width: 100%;
    min-width: auto;
    max-width: none;
    align-items: stretch;
    align-self: stretch;
    height: auto;
  }
  .plan-summary-link {
    text-align: left;
  }
  .b2c-checkout .success-main {
    max-width: 100%;
    padding: 32px 24px;
  }
  .b2c-checkout .success-title {
    font-size: 24px;
    line-height: 32px;
  }
}
.btn-finalizar-compra:disabled {
  border-radius: 96px;
  opacity: 0.5;
  background: var(--Neutral-30, #999B9D) !important;
  cursor: not-allowed;
}

.btn-finalizar-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
}

.btn-tooltip {
  background: var(--Neutral-50, #5A656A);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  white-space: nowrap;
}

.btn-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--Neutral-50, #5A656A);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 576px) {
  .checkout-customer-container,
.checkout-payment-container,
.checkout-success-container {
    position: relative;
    padding-bottom: 0;
  }
  .checkout-customer-content,
.checkout-payment-content,
.checkout-success-content {
    padding: 0 16px;
    flex-direction: column;
  }
  .checkout-form {
    max-width: 100%;
  }
  .checkout-form > h2,
.checkout-form-header > h2 {
    padding: 0 1.5rem;
  }
  .form-section {
    width: 100%;
    padding: 0 1.5rem;
  }
  .checkout-customer-content {
    padding-bottom: 180px;
  }
  .checkout-plan-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-width: auto;
    max-width: none;
    border-radius: 16px;
    padding: 0;
    margin: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: auto;
    box-shadow: 0 -4px 32px 0 rgba(0, 57, 111, 0.15);
  }
  .b2c-checkout .success-main {
    max-width: 100%;
    padding: 24px 16px;
    border-radius: 16px;
  }
  .b2c-checkout .success-title {
    font-size: 20px;
    line-height: 28px;
  }
  .b2c-checkout .checkout-ko-main {
    padding: 32px 16px;
  }
  .b2c-checkout .checkout-ko-actions {
    width: 100%;
    flex-direction: column;
  }
  .b2c-checkout .checkout-ko-actions a {
    width: 100%;
  }
  .b2c-checkout .success-plan-details {
    padding: 16px;
  }
  .asegurado-toggle {
    flex-wrap: wrap !important;
  }
  .asegurado-toggle > label:first-child {
    flex-basis: 100%;
    margin-bottom: 0.5rem;
  }
  .asegurado-toggle .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
  }
  .btn-finalizar-compra {
    display: block;
    margin: 16px 16px;
    padding: 12px 16px;
  }
}
@media (max-width: 992px) {
  .checkout-plan-summary .btn-finalizar-compra {
    margin: 0;
  }
  .checkout-plan-summary:not(.expanded) .summary-content {
    max-height: none;
    overflow: visible;
    opacity: 1;
    padding: 0 16px 16px;
    gap: 0;
  }
  .checkout-plan-summary:not(.expanded) .summary-content > * {
    display: none;
  }
  .checkout-plan-summary:not(.expanded) .summary-content > .btn-finalizar-compra {
    display: flex;
    width: 100%;
  }
}
/* Keep the refreshed success-page typography above the legacy success selectors. */
.b2c-checkout .success-page .success-title {
  color: #121211;
  font-size: 38px;
  font-weight: 900;
  line-height: 46px;
}

.b2c-checkout .success-page .success-back-button {
  padding: 12px 28px;
  gap: 10px;
  background: #d22630;
  color: #f8f2d9;
  font-weight: 700;
}

.b2c-checkout .success-page .success-back-button:hover {
  background: #a93331;
  color: #fff;
}

@media (max-width: 767px) {
  .b2c-checkout .success-page .success-title {
    font-size: 29px;
    line-height: 36px;
  }
}
@media (max-width: 420px) {
  .b2c-checkout .success-page .success-title {
    font-size: 26px;
    line-height: 33px;
  }
}
/*
 * The checkout layout loads the shared landing styles, but not its AOS runtime.
 * Keep these entrance effects self-contained so success content is always visible.
 */
.success-page .success-reveal {
  animation-duration: 600ms;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

.success-page .success-reveal--up {
  animation-name: success-reveal-up;
}

.success-page .success-reveal--left {
  animation-name: success-reveal-left;
}

.success-page .success-reveal--right {
  animation-name: success-reveal-right;
}

.success-page .success-reveal--delay-1 {
  animation-delay: 100ms;
}

@keyframes success-reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes success-reveal-left {
  from {
    opacity: 0;
    transform: translate3d(32px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes success-reveal-right {
  from {
    opacity: 0;
    transform: translate3d(-32px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .success-page .success-reveal {
    animation: none;
  }
}
/* B2C Checkout Wizard - Block UI Loading */

.checkout-block-ui {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    backdrop-filter: blur(2px);
}

.checkout-block-ui-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.checkout-block-ui .spinner-border {
    width: 48px;
    height: 48px;
    border-width: 4px;
}

/* Smooth fade transitions for main content */
main {
    transition: opacity 0.3s ease-out;
}

