.ccf-central-wrap {
  --ccf-central-blue: #00549a;
  --ccf-central-blue-dark: #002f59;
  --ccf-central-blue-soft: #e9f4fd;
  --ccf-central-green-soft: #edf8ec;
  --ccf-central-red: #ef3528;
  --ccf-central-muted: #718096;
  --ccf-central-border: #dbe7f0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--ccf-central-blue-dark);
  box-sizing: border-box;
  scroll-margin-top: 120px;
}

.ccf-central-wrap *,
.ccf-central-wrap *::before,
.ccf-central-wrap *::after {
  box-sizing: border-box;
}

.ccf-central-wrap [hidden] {
  display: none !important;
}

.ccf-central-wrap .material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

.ccf-central-selector {
  padding: clamp(28px, 5vw, 60px) clamp(12px, 3vw, 28px) 24px;
  background: radial-gradient(circle at 50% 35%, rgba(231, 244, 253, 0.55), rgba(255, 255, 255, 0) 52%);
}

.ccf-central-screen {
  max-width: 1060px;
  margin: 0 auto;
}

.ccf-central-heading {
  max-width: 820px;
  margin: 0 auto clamp(30px, 4vw, 42px);
  text-align: center;
}

.ccf-central-heading h2 {
  margin: 18px 0 8px;
  color: var(--ccf-central-blue-dark);
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.ccf-central-heading p {
  margin: 0;
  color: var(--ccf-central-muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.ccf-central-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 18px;
  background: #fff0ef;
  border-radius: 999px;
  color: var(--ccf-central-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ccf-central-options {
  display: grid;
  gap: 16px;
}

.ccf-central-options--categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(16px, 2.2vw, 24px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #edf1f4;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 47, 89, 0.08);
}

.ccf-central-options--products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(16px, 2.2vw, 24px);
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(0, 47, 89, 0.07);
}

.ccf-central-wrap button.ccf-central-option {
  position: relative;
  width: 100%;
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ccf-central-border);
  border-radius: 16px;
  color: var(--ccf-central-blue-dark);
  font: inherit;
  text-align: left;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ccf-central-wrap button.ccf-central-option:hover,
.ccf-central-wrap button.ccf-central-option:focus-visible {
  border-color: #9bbdd8;
  box-shadow: 0 14px 30px rgba(0, 47, 89, 0.11);
  transform: translateY(-3px);
  outline: none;
}

.ccf-central-wrap button.ccf-central-option:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 84, 154, 0.14), 0 14px 30px rgba(0, 47, 89, 0.11);
}

.ccf-central-category {
  min-height: 270px;
  flex-direction: column;
  justify-content: center;
  padding: 36px 34px 30px;
  text-align: center;
}

.ccf-central-category[data-central-category="credit"] {
  background: linear-gradient(145deg, #f7fbff, #edf7ff);
  border-color: #c7dff0 !important;
}

.ccf-central-category[data-central-category="savings"] {
  background: linear-gradient(145deg, #fbfdf8, #f1f9ee);
  border-color: #d7e6cb !important;
}

.ccf-central-option-icon {
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 96px;
  background: rgba(216, 237, 253, 0.78);
  border-radius: 50%;
  color: var(--ccf-central-blue-dark);
  font-size: 48px;
}

.ccf-central-category[data-central-category="savings"] .ccf-central-option-icon {
  background: rgba(222, 242, 220, 0.82);
}

.ccf-central-product-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  background: var(--ccf-central-blue-soft);
  border-radius: 50%;
  color: var(--ccf-central-blue);
  font-size: 28px;
}

.ccf-central-option-copy {
  display: block;
  flex: 1;
  min-width: 0;
}

.ccf-central-option-copy strong,
.ccf-central-option-copy small {
  display: block;
  white-space: normal;
}

.ccf-central-option-copy strong {
  color: var(--ccf-central-blue-dark);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.ccf-central-option-copy small {
  margin-top: 5px;
  color: var(--ccf-central-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.ccf-central-category .ccf-central-option-copy {
  flex: 0 1 auto;
}

.ccf-central-category .ccf-central-option-copy strong {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.ccf-central-category .ccf-central-option-copy small {
  max-width: 380px;
  margin: 10px auto 0;
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  line-height: 1.45;
}

.ccf-central-wrap button.ccf-central-product {
  min-height: 210px;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px 24px;
  text-align: center;
}

.ccf-central-screen--products[data-central-products="credit"] .ccf-central-product {
  background: linear-gradient(145deg, #f8fcff, #eef7ff);
  border-color: #c7dff0 !important;
}

.ccf-central-screen--products[data-central-products="savings"] .ccf-central-product {
  background: linear-gradient(145deg, #fbfdf8, #f1f9ee);
  border-color: #d7e6cb !important;
}

.ccf-central-screen--products[data-central-products="savings"] .ccf-central-product-icon,
.ccf-central-screen--products[data-central-products="savings"] .ccf-central-option-arrow {
  background: #e2f3df;
  color: #165c37;
}

.ccf-central-product .ccf-central-option-copy {
  flex: 0 1 auto;
}

.ccf-central-product .ccf-central-option-copy strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ccf-central-product .ccf-central-option-copy small {
  margin-top: 6px;
}

.ccf-central-product .ccf-central-option-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 17px;
}

.ccf-central-option-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  background: var(--ccf-central-blue-soft);
  border-radius: 50%;
  color: var(--ccf-central-blue-dark);
  font-size: 20px;
  transition: transform 180ms ease;
}

.ccf-central-category .ccf-central-option-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
}

.ccf-central-category[data-central-category="savings"] .ccf-central-option-arrow {
  background: var(--ccf-central-green-soft);
}

.ccf-central-option:hover .ccf-central-option-arrow,
.ccf-central-option:focus-visible .ccf-central-option-arrow {
  transform: translateX(3px);
}

.ccf-central-wrap button.ccf-central-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 3px;
  background: transparent;
  border: 0 !important;
  border-radius: 6px;
  color: var(--ccf-central-blue);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: none;
  text-transform: none;
  -webkit-appearance: none;
  appearance: none;
}

.ccf-central-back .material-symbols-rounded {
  font-size: 19px;
}

.ccf-central-wrap button.ccf-central-back:hover,
.ccf-central-wrap button.ccf-central-back:focus-visible {
  background: transparent;
  color: var(--ccf-central-red);
  outline: none;
}

.ccf-central-wrap button.ccf-central-back:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 84, 154, 0.14);
}

.ccf-central-screen--products > .ccf-central-back {
  margin-bottom: 10px;
}

.ccf-central-screen--products .ccf-central-heading h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  font-weight: 600;
}

.ccf-central-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 0 4px;
}

.ccf-central-toolbar > span {
  color: var(--ccf-central-muted);
  font-size: 0.82rem;
  text-align: right;
}

.ccf-central-calculators {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.ccf-central-calculator:not([hidden]) {
  width: 100%;
  max-width: 100%;
  padding: clamp(16px, 2.5vw, 28px);
  background: #fff;
  border: 1px solid #e6edf2;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(0, 47, 89, 0.07);
  overflow: hidden;
}

.ccf-central-calculator .ccf-wrap,
.ccf-central-calculator .ccf-savings-wrap {
  width: 100%;
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  .ccf-central-options--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ccf-central-selector {
    padding: 28px 8px 18px;
  }

  .ccf-central-heading {
    margin-bottom: 26px;
  }

  .ccf-central-heading h2 {
    margin-top: 14px;
  }

  .ccf-central-options--categories {
    grid-template-columns: minmax(0, 1fr);
  }

  .ccf-central-options--categories,
  .ccf-central-options--products {
    padding: 12px;
    border-radius: 18px;
  }

  .ccf-central-category {
    min-height: 250px;
    padding: 30px 24px 24px;
  }

  .ccf-central-option-icon {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
    font-size: 41px;
  }

  .ccf-central-category .ccf-central-option-arrow {
    top: 18px;
    right: 18px;
  }

  .ccf-central-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ccf-central-toolbar > span {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .ccf-central-wrap {
    scroll-margin-top: 88px;
  }

  .ccf-central-options--products {
    grid-template-columns: minmax(0, 1fr);
  }

  .ccf-central-wrap button.ccf-central-product {
    min-width: 0;
    max-width: 100%;
    min-height: 94px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 15px 16px;
    text-align: left;
    overflow: hidden;
  }

  .ccf-central-product-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 23px;
  }

  .ccf-central-product .ccf-central-option-copy {
    flex: 1;
  }

  .ccf-central-product .ccf-central-option-arrow {
    position: static;
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .ccf-central-calculator:not([hidden]) {
    padding: 12px 8px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .ccf-central-eyebrow {
    min-height: 34px;
    padding: 6px 14px;
    font-size: 0.7rem;
  }

  .ccf-central-category {
    min-height: 210px;
  }

  .ccf-central-option-copy small {
    font-size: 0.78rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ccf-central-option,
  .ccf-central-option-arrow {
    transition: none;
  }
}
