/* Scoped additions: retain the existing AFA layout and brand. */
.purchase-journey {
  padding-block: 32px;
}
#purchaseJourneyTitle {
  scroll-margin-top: 110px;
}
.purchase-steps li > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.purchase-steps li > div > a {
  margin-top: auto;
}
.purchase-selection button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.purchase-heading,
.purchase-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.purchase-heading span {
  font-size: 12px;
  color: #777;
}
.purchase-heading h2 {
  font-size: clamp(21px, 2.2vw, 30px);
  margin: 8px 0 24px;
}
.purchase-journey a,
.product-page-actions a.purchase-quote {
  color: #a8192b;
  font-weight: 700;
  text-decoration: none;
}
.purchase-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.purchase-steps li {
  display: flex;
  gap: 16px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 18px 18px 18px 0;
  padding: 24px;
  min-width: 0;
}
.purchase-steps li > b {
  font-size: 22px;
  color: #a8192b;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
.purchase-steps h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
.purchase-steps p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0 0 16px;
}
.purchase-steps a {
  font-size: 13px;
}
.purchase-help {
  border-top: 1px solid #ddd;
  margin-top: 24px;
  padding-top: 20px;
  font-size: 14px;
}
.purchase-availability,
#productPriceState {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}
.product-page-actions a.purchase-quote {
  border: 1px solid #b91f32;
  border-radius: 10px 10px 10px 0;
  padding: 12px 16px;
}
.purchase-selection {
  grid-column: 1/-1;
  border: 1px solid #ddd;
  border-right: 3px solid #b91f32;
  background: #f7f7f7;
  border-radius: 12px 12px 12px 0;
  padding: 16px;
  line-height: 1.9;
}
.purchase-selection p {
  margin: 6px 0;
  font-size: 13px;
  color: #555;
}
.purchase-selection button {
  font: inherit;
  cursor: pointer;
  border: 1px solid #b91f32;
  background: white;
  color: #a8192b;
  border-radius: 8px;
  padding: 8px 12px;
}
@media (max-width: 760px) {
  .purchase-steps {
    grid-template-columns: 1fr;
  }
  .purchase-steps li {
    padding: 20px;
  }
  .purchase-heading h2 {
    margin-bottom: 16px;
  }
  .purchase-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
/* Each purchase step is one accessible link, with its number aligned to the title. */
html[lang] body .purchase-steps li {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}
html[lang] body .purchase-steps .purchase-step-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  height: 100%;
  min-height: 176px;
  padding: 24px;
  background: #f8f8f9;
  border: 1px solid #e1e3e6;
  border-radius: 14px;
  color: inherit;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
html[lang] body .purchase-step-card > b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  background: #fff;
  border: 1px solid #eadde0;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  color: #bd1830;
  direction: ltr;
}
html[lang] body .purchase-step-card > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
html[lang] body .purchase-step-card h3 {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.8;
}
html[lang] body .purchase-step-card p {
  font-size: 13px;
  line-height: 1.95;
  margin: 0 0 18px;
  color: #707681;
}
.purchase-step-cta {
  display: block;
  margin-top: auto;
  color: #b8172d;
  font-size: 12px;
}
html[lang] body .purchase-step-card:hover {
  border-color: #d7182a;
  background: #fff7f8;
  transform: translateY(-2px);
}
.purchase-step-card:focus-visible {
  outline: 3px solid #d7182a;
  outline-offset: 3px;
}
html[lang] body .purchase-step-card p {
  font-weight: 400;
}
html[lang] body .purchase-help {
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 0;
  margin-top: 18px;
  border-top: 1px solid #eceef0;
}
.purchase-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
html[lang] body .purchase-help-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  line-height: 1.8;
  color: #555e6b;
}
html[lang] body .purchase-help-actions > a:hover {
  border-color: #bd1930;
  color: #bd1930;
  background: #fff8f9;
}
@media (max-width: 600px) {
  html[lang] body .purchase-help {
    align-items: stretch;
    gap: 12px;
  }
  .purchase-help-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  html[lang] body .purchase-help-actions > a {
    font-size: 11px;
    padding-inline: 8px;
  }
}
html[lang] body .purchase-steps .purchase-step-card {
  grid-template-columns: minmax(0, 1fr);
}

/* Homepage buying route: a connected sequence with a clear inquiry action. */
html[lang] body.visual-home .purchase-journey {
  padding-block: 40px 28px;
}
.visual-home .purchase-heading {
  margin-bottom: 26px;
}
.visual-home .purchase-heading span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a8192b;
  font-size: 12px;
  font-weight: 600;
}
.visual-home .purchase-heading span::before {
  content: '';
  width: 22px;
  height: 2px;
  background: #cf1933;
}
.visual-home .purchase-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.65;
}
.visual-home .purchase-steps {
  gap: 18px;
}
html[lang] body.visual-home .purchase-steps li {
  position: relative;
  min-width: 0;
}
html[lang] body.visual-home .purchase-steps .purchase-step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 264px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e0e2e6;
  border-radius: 12px;
  box-shadow: 0 4px 16px #16202c04;
}
.visual-home .purchase-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #555c65;
}
.visual-home .purchase-step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f9ecee;
  color: #b8172d;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.visual-home .purchase-step-top svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[lang] body.visual-home .purchase-step-card > div {
  flex: 1;
  width: 100%;
  height: auto;
}
html[lang] body.visual-home .purchase-step-card h3 {
  min-height: 0;
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.8;
  color: #20242a;
}
html[lang] body.visual-home .purchase-step-card p {
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 2;
  color: #606771;
}
.visual-home .purchase-step-cta {
  align-self: flex-start;
  padding-block: 5px;
  font-size: 13px;
  line-height: 1.8;
}
html[lang] body.visual-home .purchase-steps li:nth-child(2) .purchase-step-card {
  border-color: #e6bcc3;
  background: #fffafb;
}
.visual-home .purchase-steps li:nth-child(2) .purchase-step-number {
  background: #bc1730;
  color: #fff;
}
.visual-home .purchase-steps li:nth-child(2) .purchase-step-cta {
  padding: 9px 15px;
  background: #bc1730;
  color: #fff;
  border-radius: 7px;
}
.visual-home .purchase-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset-inline-end: -19px;
  top: 42px;
  width: 20px;
  border-top: 1px dashed #c4a0a6;
  pointer-events: none;
}
html[lang] body.visual-home .purchase-step-card:hover {
  border-color: #bc1730;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #16202c0a;
}
html[lang] body.visual-home .purchase-help {
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid #e9eaed;
  border-radius: 10px;
  background: #f8f9fa;
  color: #555e68;
  font-size: 13px;
}
.visual-home .purchase-help-actions {
  gap: 8px;
}
html[lang] body.visual-home .purchase-help-actions > a {
  min-height: 40px;
  padding: 7px 12px;
  background: #fff;
  font-size: 12px;
}
@media (max-width: 1000px) {
  html[lang] body.visual-home .purchase-steps .purchase-step-card {
    padding: 20px;
    min-height: 280px;
  }
  .visual-home .purchase-help-actions {
    flex: 1;
  }
}
@media (max-width: 760px) {
  html[lang] body.visual-home .purchase-journey {
    padding-block: 28px 20px;
  }
  .visual-home .purchase-heading {
    margin-bottom: 20px;
  }
  .visual-home .purchase-steps {
    gap: 12px;
  }
  html[lang] body.visual-home .purchase-steps .purchase-step-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 20px;
  }
  .visual-home .purchase-step-top {
    flex-direction: column;
    gap: 18px;
  }
  .visual-home .purchase-step-top svg {
    width: 22px;
    height: 22px;
  }
  .visual-home .purchase-steps li:not(:last-child)::after {
    display: none;
  }
  html[lang] body.visual-home .purchase-step-card h3 {
    font-size: 16px;
  }
  html[lang] body.visual-home .purchase-step-card p {
    margin-bottom: 12px;
  }
  html[lang] body.visual-home .purchase-help {
    align-items: stretch;
    padding: 16px;
  }
  .visual-home .purchase-help-actions {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .visual-home .purchase-help-actions > a {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[lang] body.visual-home .purchase-step-card {
    transition: none;
  }
  html[lang] body.visual-home .purchase-step-card:hover {
    transform: none;
  }
}
