.credit-page {
  --credit-accent: #dfff42;
  --credit-accent-line: #b9e800;
  --credit-blue: #075cff;
  --credit-ink: #061946;
  --credit-muted: #29457d;
  --credit-panel: #f3f8ff;
}

.credit-body {
  background:
    radial-gradient(circle at 82% 9%, rgba(17, 86, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 36%, #edf4ff 100%);
}

.credit-page.home-page {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 9%, rgba(17, 86, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 36%, #edf4ff 100%);
}

:root[data-theme="dark"] .credit-body,
:root[data-theme="dark"] .credit-page.home-page {
  background:
    radial-gradient(circle at 78% 7%, rgba(45, 123, 255, 0.2), transparent 34%),
    radial-gradient(circle at 14% 62%, rgba(6, 162, 255, 0.1), transparent 31%),
    linear-gradient(180deg, rgba(10, 22, 43, 0.98), rgba(7, 16, 32, 0.98)) !important;
}

.skip-link {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.credit-page .home-frame {
  position: relative;
  z-index: 1;
}

.credit-page .credit-hero-premium {
  width: 100%;
}

.credit-page .home-nav__current,
.credit-page .home-nav a {
  min-height: 72px;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: #07183d;
  font-size: clamp(13.5px, 1.02vw, 16px);
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

:root[data-theme="dark"] .credit-page .home-nav {
  border: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.credit-page .home-nav__current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #075cff, #1a86ff);
}

.credit-page button.home-compare,
.credit-page button.home-primary {
  border: 0;
  font-family: inherit;
  font-weight: 820;
  cursor: pointer;
}

.credit-page button.home-compare {
  border: 1px solid rgba(181, 202, 239, 0.92);
}

.credit-page .home-mobile-menu__current,
.credit-page .home-mobile-menu button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid rgba(191, 211, 241, 0.94);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: #061946;
  font: inherit;
  font-size: 13.5px;
  font-weight: 820;
  line-height: 1.08;
  text-align: left;
  text-decoration: none;
}

.credit-page .home-mobile-menu__current {
  border-color: rgba(17, 86, 255, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 255, 66, 0.45), transparent 42%),
    linear-gradient(180deg, #ffffff, #eef6ff);
}

.credit-hero-premium {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  min-height: 520px;
  padding: clamp(42px, 4vw, 64px) clamp(28px, 4.2vw, 64px) clamp(30px, 4vw, 54px);
  overflow: hidden;
  border-bottom: 0 !important;
  background:
    radial-gradient(circle at 78% 24%, rgba(17, 86, 255, 0.13), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 255, 0.9) 46%, rgba(230, 240, 255, 0.95) 100%);
}

.credit-hero-premium__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 720px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: #1f58b4;
  font-size: 14px;
  font-weight: 760;
}

.credit-hero-premium .breadcrumbs a,
.credit-hero-premium .breadcrumbs span {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.credit-hero-premium .breadcrumbs a {
  color: #075cff;
  text-decoration: none;
}

.credit-hero-premium .breadcrumbs span[aria-hidden="true"] {
  min-width: 18px;
  justify-content: center;
  color: #6d86b2;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.credit-eyebrow {
  margin: 0 0 10px;
  color: #075cff;
  font-size: 13px;
  font-weight: 860;
  line-height: 1.1;
  text-transform: uppercase;
}

.credit-hero-premium h1 {
  max-width: 650px;
  margin: 0;
  color: #061946;
  font-family: var(--font-page);
  font-size: clamp(46px, 4.8vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.credit-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: #173469;
  font-size: clamp(17px, 1.34vw, 21px);
  font-weight: 600;
  line-height: 1.48;
  overflow-wrap: break-word;
}

.credit-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.credit-hero-facts > span {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "icon"
    "title"
    "note";
  align-content: center;
  align-items: start;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(203, 219, 245, 0.88);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 92, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.78));
  box-shadow:
    0 14px 30px rgba(27, 65, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-hero-facts > span:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 163, 15, 0.1), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.78));
}

.credit-hero-facts > span:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 87, 255, 0.1), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.78));
}

.credit-hero-facts > span:nth-child(4) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 107, 19, 0.11), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.78));
}

.credit-hero-fact__icon {
  grid-area: icon;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 92, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #edf5ff);
  color: #075cff;
  box-shadow:
    0 12px 24px rgba(17, 86, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  font-style: normal;
}

.credit-hero-facts > span:nth-child(2) .credit-hero-fact__icon {
  border-color: rgba(22, 163, 15, 0.18);
  background: linear-gradient(145deg, #ffffff, #ebffe7);
  color: #13a51e;
  box-shadow:
    0 12px 24px rgba(22, 163, 15, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-hero-facts > span:nth-child(3) .credit-hero-fact__icon {
  border-color: rgba(101, 87, 255, 0.18);
  background: linear-gradient(145deg, #ffffff, #f1efff);
  color: #6557ff;
  box-shadow:
    0 12px 24px rgba(101, 87, 255, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-hero-facts > span:nth-child(4) .credit-hero-fact__icon {
  border-color: rgba(255, 107, 19, 0.18);
  background: linear-gradient(145deg, #ffffff, #fff0e6);
  color: #f06110;
  box-shadow:
    0 12px 24px rgba(255, 107, 19, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-hero-fact__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credit-hero-facts strong {
  grid-area: title;
  min-width: 0;
  color: #061946;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.credit-hero-facts small {
  grid-area: note;
  min-width: 0;
  color: #41608e;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .credit-hero-facts > span {
    min-height: 74px;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon note";
    align-items: center;
    gap: 4px 10px;
    padding: 12px;
  }
}

.credit-hero-premium__visual {
  position: absolute;
  inset: 0 0 0 41%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.credit-hero-premium__visual img {
  width: min(66vw, 980px);
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  transform: translateX(3%);
}

@media (min-width: 1121px) {
  .credit-hero-premium__visual img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.14) 5%, #000 18%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.14) 5%, #000 18%, #000 100%);
  }
}

.credit-filter-panel,
.credit-offers-section,
.credit-guide {
  margin: clamp(24px, 2.6vw, 34px) clamp(22px, 4.2vw, 64px) 0;
}

.credit-filter-panel {
  padding: clamp(22px, 2.3vw, 30px);
  border: 1px solid #d5e3f6;
  border-radius: 26px;
  background:
    linear-gradient(112deg, rgba(7, 92, 255, 0.045), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96));
  box-shadow: 0 20px 48px rgba(38, 64, 112, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.credit-filter-panel__head,
.credit-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.credit-filter-panel__head h2,
.credit-section-head h2 {
  margin: 0;
  color: #061946;
  font-family: var(--font-page);
  font-size: clamp(28px, 2.55vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.credit-filter-panel__head p,
.credit-section-head p {
  max-width: 820px;
  margin: 9px 0 0;
  color: #29457d;
  font-size: 15.5px;
  font-weight: 620;
  line-height: 1.48;
}

.credit-filter-panel__head > span,
.credit-counter {
  align-self: start;
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #16820f;
  background: #e9ffd1;
  font-size: 13px;
  font-weight: 860;
  white-space: nowrap;
}

.credit-filter-panel__head > .credit-filter-panel__label {
  box-sizing: border-box;
  justify-self: end;
  width: 320px;
  max-width: 100%;
  min-height: 58px;
  gap: 2px;
  padding: 9px 16px;
  border: 1px solid rgba(183, 233, 0, 0.5);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(135deg, #efffdc, #dcffad);
  box-shadow:
    0 16px 30px rgba(115, 174, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #15830e;
  line-height: 1.16;
  text-align: center;
  white-space: normal;
}

.credit-filter-panel__head > .credit-filter-panel__label b,
.credit-filter-panel__head > .credit-filter-panel__label small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.credit-filter-panel__head > .credit-filter-panel__label b {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.08;
}

.credit-filter-panel__head > .credit-filter-panel__label small {
  color: #227317;
  font-size: 11px;
  font-weight: 820;
  line-height: 1.12;
}

.credit-counter {
  min-width: 138px;
  min-height: 74px;
  gap: 2px;
  border: 1px solid rgba(183, 233, 0, 0.56);
}

.credit-counter strong {
  color: #075cff;
  font-size: 28px;
  line-height: 1;
}

.credit-counter span {
  color: #31527f;
  font-size: 12px;
}

.credit-section-head--offers {
  position: relative;
  align-items: stretch;
  gap: clamp(20px, 3vw, 38px);
  min-height: 190px;
  margin-bottom: 28px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(197, 215, 244, 0.95);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 53%, rgba(238, 247, 255, 0.98) 100%);
  box-shadow:
    0 28px 62px rgba(32, 59, 112, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-section-head--offers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 92, 255, 0.07), transparent 42%),
    linear-gradient(135deg, transparent 58%, rgba(223, 255, 66, 0.14));
  pointer-events: none;
}

.credit-section-head--offers::after {
  content: "";
  position: absolute;
  left: clamp(24px, 3vw, 34px);
  right: clamp(24px, 3vw, 34px);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 92, 255, 0.25), transparent);
  pointer-events: none;
}

.credit-offers-intro,
.credit-counter--offers {
  position: relative;
  z-index: 1;
}

.credit-offers-intro {
  display: grid;
  align-content: center;
  min-width: 0;
}

.credit-eyebrow--offers {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 0 13px 0 10px;
  border: 1px solid rgba(194, 212, 242, 0.96);
  border-radius: 999px;
  background:
    linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow:
    0 12px 26px rgba(32, 72, 153, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  color: #0d55f2;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.credit-eyebrow--offers svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credit-section-head--offers h2 {
  max-width: 760px;
  font-size: clamp(31px, 2.75vw, 44px);
  line-height: 1.02;
}

.credit-section-head--offers p:not(.credit-eyebrow--offers) {
  max-width: 770px;
  margin-top: 13px;
  color: #1f3f76;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 690;
  line-height: 1.46;
}

.credit-counter--offers {
  justify-self: end;
  align-self: stretch;
  min-width: 235px;
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(189, 211, 244, 0.96);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.95) 58%, rgba(237, 255, 210, 0.72));
  box-shadow:
    0 20px 44px rgba(31, 67, 140, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  color: #0c2556;
  text-align: center;
  white-space: normal;
}

.credit-counter--offers::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 20px;
  pointer-events: none;
}

.credit-counter--offers::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #075cff, #dfff42);
  opacity: 0.72;
}

.credit-counter--offers .credit-counter__label {
  color: #37537f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.credit-counter--offers strong {
  color: #075cff;
  font-size: clamp(46px, 3.8vw, 58px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.credit-counter--offers span:last-child {
  max-width: 135px;
  color: #18376c;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.15;
}

.credit-filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(190px, 0.8fr);
  gap: 14px;
  align-items: end;
}

.credit-filter-form label {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #092153;
  font-size: 13px;
  font-weight: 820;
}

.credit-filter-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 40px 0 14px;
  border: 1px solid #c9d9f1;
  border-radius: 15px;
  background: #fff;
  color: #061946;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
}

/* Единый премиальный фильтр для каталогов. Подключается модификатором панели. */
.credit-filter-panel.credit-filter-panel--premium {
  position: relative;
  overflow: visible;
  padding: clamp(22px, 2.35vw, 32px);
  border-color: rgba(190, 209, 239, 0.94);
  background:
    radial-gradient(circle at 94% 8%, rgba(204, 242, 71, 0.13), transparent 27%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow:
    0 26px 58px rgba(28, 62, 120, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-filter-panel--premium::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(24px, 4vw, 58px);
  left: clamp(24px, 4vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 98, 244, 0.32), transparent);
  pointer-events: none;
}

.credit-filter-panel--premium .credit-filter-panel__head {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 22px;
}

.credit-filter-panel--premium .credit-filter-panel__head h2 {
  letter-spacing: -0.035em;
}

.credit-filter-panel--premium .credit-filter-panel__head p {
  margin-top: 7px;
  color: #47638f;
  font-size: 14px;
  font-weight: 650;
}

.credit-filter-panel--premium .credit-filter-reset {
  position: relative;
  z-index: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #c5d4e9;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f2f7fd);
  color: #385170;
  box-shadow:
    0 9px 20px rgba(31, 65, 119, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  font: 780 13px/1 "Onest", sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.credit-filter-panel--premium .credit-filter-reset svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.credit-filter-panel--premium .credit-filter-reset:hover:not(:disabled) {
  border-color: #7da8e8;
  color: #0b59db;
  box-shadow:
    0 12px 24px rgba(31, 86, 173, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}

.credit-filter-panel--premium .credit-filter-reset:active:not(:disabled) {
  transform: translateY(0);
}

.credit-filter-panel--premium .credit-filter-reset:disabled {
  color: #8a99ad;
  box-shadow: none;
  cursor: default;
  opacity: 0.72;
}

.credit-filter-panel--premium .credit-filter-form {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.credit-filter-panel--premium .credit-filter-field {
  min-width: 0;
  display: grid;
  gap: 9px;
  color: #16305c;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.015em;
}

.credit-filter-select {
  position: relative;
  display: block;
}

.credit-filter-panel--premium .credit-filter-select select {
  min-height: 58px;
  appearance: none;
  padding: 0 54px 0 58px;
  border-color: #c8d8ee;
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow:
    0 10px 22px rgba(28, 64, 123, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  color: #0b2148;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.credit-filter-panel--premium .credit-filter-select:hover select {
  border-color: #8daedf;
  box-shadow:
    0 13px 26px rgba(28, 75, 153, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-filter-panel--premium .credit-filter-select:has(select:focus-visible) select {
  border-color: #387ff0;
  outline: 3px solid rgba(18, 100, 244, 0.17);
  outline-offset: 2px;
}

.credit-filter-select__icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 10px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d6e4f8;
  border-radius: 12px;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.94), transparent 38%),
    linear-gradient(145deg, #eef5ff, #e4efff);
  color: #1264f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  pointer-events: none;
  transform: translateY(-50%);
}

.credit-filter-select__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.credit-filter-select::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #d8e4f4;
  border-radius: 11px;
  background: rgba(244, 248, 253, 0.96);
  pointer-events: none;
  transform: translateY(-50%);
}

.credit-filter-select::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: calc(50% - 3px);
  right: 23px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #36557f;
  border-bottom: 2px solid #36557f;
  pointer-events: none;
  transform: rotate(45deg);
}

.credit-filter-select.is-enhanced select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
  opacity: 0;
}

.credit-filter-select.is-open {
  z-index: 40;
}

.premium-select__trigger {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 54px 0 58px;
  overflow: hidden;
  border: 1px solid #c8d8ee;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow: 0 10px 22px rgba(28, 64, 123, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.98);
  color: #0b2148;
  font: 780 14px/1.2 "Onest", sans-serif;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.credit-filter-select.is-enhanced:hover .premium-select__trigger,
.credit-filter-select.is-open .premium-select__trigger {
  border-color: #8daedf;
  box-shadow: 0 13px 26px rgba(28, 75, 153, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.premium-select__trigger:focus-visible {
  border-color: #387ff0;
  outline: 3px solid rgba(18, 100, 244, 0.17);
  outline-offset: 2px;
}

.credit-filter-select.is-open::after {
  top: calc(50% + 2px);
  transform: rotate(225deg);
}

.premium-select__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  max-height: min(286px, 52vh);
  padding: 7px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #c9d9ef;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 48px rgba(20, 53, 105, 0.2), 0 6px 16px rgba(20, 53, 105, 0.1), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px);
}

.premium-select__menu[hidden] {
  display: none;
}

.premium-select__option {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px 9px 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #152c52;
  font: 720 13px/1.25 "Onest", sans-serif;
  text-align: left;
  cursor: pointer;
}

.premium-select__option::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 7px;
}

.premium-select__option:hover,
.premium-select__option:focus-visible {
  outline: none;
  background: #edf4ff;
  color: #084ebd;
}

.premium-select__option[aria-selected="true"] {
  background: linear-gradient(135deg, #eaf3ff, #f4faec);
  color: #084ebd;
  font-weight: 820;
}

.premium-select__option[aria-selected="true"]::after {
  background: #1264f4;
  box-shadow: inset 0 0 0 5px #eaf3ff;
}

:root[data-theme="dark"] .credit-filter-panel.credit-filter-panel--premium {
  border-color: #314865;
  background:
    radial-gradient(circle at 94% 8%, rgba(167, 213, 53, 0.12), transparent 28%),
    linear-gradient(135deg, #17243a, #192b47);
  box-shadow:
    0 26px 58px rgba(0, 6, 20, 0.24),
    inset 0 1px 0 rgba(139, 183, 255, 0.1);
}

:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-panel__head p,
:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-field {
  color: #aebdd3;
}

:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-reset {
  border-color: #425a79;
  background: linear-gradient(180deg, #213653, #192940);
  color: #aebfd7;
  box-shadow: inset 0 1px 0 rgba(139, 183, 255, 0.1);
}

:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-reset:hover:not(:disabled) {
  border-color: #5d8bd0;
  color: #9bc5ff;
}

:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-select select {
  border-color: #3c5575;
  background: linear-gradient(180deg, #203451, #182940);
  color: #edf5ff;
  box-shadow:
    0 12px 26px rgba(0, 8, 24, 0.2),
    inset 0 1px 0 rgba(139, 183, 255, 0.1);
}

:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-select__icon {
  border-color: #3f5b80;
  background: linear-gradient(145deg, #244267, #1b3150);
  color: #82b8ff;
  box-shadow: inset 0 1px 0 rgba(139, 183, 255, 0.1);
}

:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-select::before {
  border-color: #3f5878;
  background: #1b2e49;
}

:root[data-theme="dark"] .credit-filter-panel--premium .credit-filter-select::after {
  border-color: #9ebce5;
}

:root[data-theme="dark"] .premium-select__trigger {
  border-color: #3c5575;
  background: linear-gradient(180deg, #203451, #182940);
  color: #edf5ff;
  box-shadow: 0 12px 26px rgba(0, 8, 24, 0.2), inset 0 1px 0 rgba(139, 183, 255, 0.1);
}

:root[data-theme="dark"] .credit-filter-select.is-enhanced:hover .premium-select__trigger,
:root[data-theme="dark"] .credit-filter-select.is-open .premium-select__trigger {
  border-color: #5d7ca5;
  box-shadow: 0 16px 30px rgba(0, 8, 24, 0.3), inset 0 1px 0 rgba(139, 183, 255, 0.12);
}

:root[data-theme="dark"] .premium-select__menu {
  border-color: #3f5878;
  background: rgba(22, 38, 62, 0.98);
  box-shadow: 0 24px 52px rgba(0, 6, 20, 0.46), inset 0 1px 0 rgba(139, 183, 255, 0.08);
}

:root[data-theme="dark"] .premium-select__option {
  color: #dce8f8;
}

:root[data-theme="dark"] .premium-select__option:hover,
:root[data-theme="dark"] .premium-select__option:focus-visible {
  background: #213a5d;
  color: #a8ceff;
}

:root[data-theme="dark"] .premium-select__option[aria-selected="true"] {
  background: linear-gradient(135deg, #24446e, #243f4a);
  color: #b7d7ff;
}

:root[data-theme="dark"] .premium-select__option[aria-selected="true"]::after {
  background: #76a9ff;
  box-shadow: inset 0 0 0 5px #24446e;
}

.credit-filter-submit {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #2b73ff, #075cff);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 860;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(17, 86, 255, 0.26);
}

.credit-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.credit-filter-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #d6e4f6;
  border-radius: 999px;
  background: #fff;
  color: #163a78;
  font-size: 12px;
  font-weight: 780;
}

.credit-bank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(22px, 2vw, 30px);
}

.credit-bank-grid .credit-card {
  width: 100%;
  max-width: none;
  height: 100%;
}

.credit-bank-grid .credit-card__header {
  padding-top: 24px;
}

.credit-bank-grid .brand {
  gap: 10px;
}

.credit-bank-grid .brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.credit-bank-grid .brand__logo span {
  width: 35px;
  height: 35px;
  font-size: 24px;
}

.credit-bank-grid .brand__logo span.is-long-logo {
  font-size: 14px;
}

.credit-bank-grid .brand h2 {
  font-size: 22px;
}

.credit-bank-grid .brand p {
  font-size: 13px;
}

.credit-bank-grid .license-pill {
  min-height: 36px;
  padding-inline: 10px;
  font-size: 12px;
}

.credit-bank-grid .metric {
  padding-right: 45px;
}

.credit-bank-grid .metric:has(.metric__number--range),
.credit-bank-grid .metric:has(.metric__number--text) {
  padding-right: 14px;
}

.credit-bank-grid .metric:has(.metric__number--range) .metric__icon,
.credit-bank-grid .metric:has(.metric__number--text) .metric__icon {
  opacity: 0.12;
  pointer-events: none;
}

.credit-bank-grid .metric--psk .metric__number {
  font-size: 1.58em;
}

.credit-bank-grid .metric__number--range {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 0.98;
  white-space: nowrap;
  letter-spacing: -0.025em;
}

.credit-bank-grid .metric--psk .metric__number--range {
  font-size: clamp(15px, 1.08vw, 18px);
}

.credit-bank-grid .metric:not(.metric--psk) .metric__number--range {
  font-size: clamp(16px, 1.15vw, 19px);
}

.credit-bank-grid .metric--psk .metric__number--text {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.05;
  white-space: normal;
  overflow-wrap: anywhere;
}

.credit-bank-grid .metric__body {
  overflow: visible;
}

.credit-bank-grid .credit-card--review .metric strong {
  display: block;
  white-space: normal;
}

.credit-bank-grid .credit-card--review .metric__number--text {
  display: block;
  max-width: 100%;
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.04;
  white-space: normal;
  overflow-wrap: anywhere;
}

.credit-bank-grid .credit-card--review .metric--psk .metric__number--text {
  font-size: clamp(18px, 1.35vw, 23px);
}

.credit-bank-grid .benefits {
  grid-template-columns: 0.9fr 0.95fr 1.15fr;
  gap: 7px;
}

.credit-bank-grid .benefit {
  min-width: 0;
  gap: 4px;
  padding: 7px 5px;
  overflow: hidden;
  font-size: 10.8px;
  line-height: 1.08;
}

.credit-bank-grid .benefit__icon {
  width: 22px;
  height: 22px;
}

.credit-bank-grid .benefit svg {
  width: 15px;
  height: 15px;
}

.credit-bank-grid .trust-panel__approval,
.credit-bank-grid .trust-panel__approval span {
  overflow: visible;
  text-overflow: clip;
}

.credit-bank-grid .trust-panel__approval span {
  white-space: normal;
  line-height: 1.08;
  font-size: 9.6px;
}

.credit-bank-grid .rating-line--check {
  min-height: 28px;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(7, 92, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.9));
}

.credit-bank-grid .rating-line--check strong {
  color: #075cff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.credit-bank-grid .trust-panel__approval--review {
  min-width: 94px;
}

.credit-bank-grid .trust-panel__approval--review span {
  color: #075cff;
  font-size: 11px;
  font-weight: 900;
}

.credit-bank-grid .monthly-box strong {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.12;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.credit-bank-grid .monthly-box p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.credit-bank-grid .chart-box--source {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.credit-bank-grid .source-check {
  position: relative;
  flex: 1;
  min-height: 104px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  padding: 42px 10px 10px;
  border: 1px solid rgba(7, 92, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(218, 255, 53, 0.36), transparent 42%),
    linear-gradient(180deg, #ffffff, #f6faff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.credit-bank-grid .source-check::before {
  content: "";
  position: absolute;
  inset: 11px 12px auto;
  height: 25px;
  background:
    url("data:image/svg+xml,%3Csvg width='180' height='28' viewBox='0 0 180 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 22H178' stroke='%23D9E7F8' stroke-width='1'/%3E%3Cpath d='M2 13H178' stroke='%23E9F1FC' stroke-width='1' stroke-dasharray='3 4'/%3E%3Cpath d='M3 10.5C18 13.5 32 17 47 13.5C62 10 73 15 88 12.5C104 9.8 116 15.5 131 13C146 10.5 160 8 177 11' stroke='%23075CFF' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='3' cy='10.5' r='3' fill='white' stroke='%23075CFF' stroke-width='2'/%3E%3Ccircle cx='47' cy='13.5' r='3' fill='white' stroke='%23075CFF' stroke-width='2'/%3E%3Ccircle cx='88' cy='12.5' r='3' fill='white' stroke='%23075CFF' stroke-width='2'/%3E%3Ccircle cx='131' cy='13' r='3' fill='white' stroke='%23075CFF' stroke-width='2'/%3E%3Ccircle cx='177' cy='11' r='3' fill='white' stroke='%23075CFF' stroke-width='2'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  opacity: 0.96;
  pointer-events: none;
}

.credit-bank-grid .source-check__mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 92, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #ecf4ff);
  box-shadow: 0 12px 22px rgba(17, 86, 255, 0.12);
}

.credit-bank-grid .source-check__mark svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #075cff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credit-bank-grid .source-check strong {
  display: block;
  color: #061946;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.12;
}

.credit-bank-grid .source-check .chart-box__result {
  margin: 5px 0 0;
  padding-top: 0;
  border-top: 0;
  color: #078915;
  font-size: 10.8px;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
}

.credit-bank-grid .source-check .chart-box__result span {
  display: block;
}

.credit-bank-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 1.9vw, 26px);
  border: 1px solid #c9dcf5;
  border-radius: 30px;
  background:
    radial-gradient(circle at 23% 18%, rgba(218, 255, 53, 0.42), transparent 24%),
    radial-gradient(circle at 100% 96%, rgba(255, 101, 8, 0.13), transparent 28%),
    radial-gradient(circle at 96% 12%, rgba(17, 86, 255, 0.11), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 28px 62px rgba(31, 54, 98, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-bank-card[hidden] {
  display: none;
}

.credit-compare {
  position: absolute;
  top: 8px;
  left: 14px;
  width: auto;
  min-width: 104px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px 0 7px;
  border: 1px solid rgba(169, 200, 244, 0.9);
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.96);
  color: #17418b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  transform: none;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(17, 86, 255, 0.1);
}

.credit-compare::after {
  content: "Сравнить";
}

.credit-compare input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.credit-compare .compare-toggle__box {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  border: 1px solid #a9c8f4;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-compare:hover {
  border-color: rgba(7, 92, 255, 0.55);
  background: #ffffff;
}

.credit-compare:has(input:focus-visible) {
  outline: 3px solid rgba(7, 92, 255, 0.24);
  outline-offset: 3px;
}

.credit-compare input:checked + .compare-toggle__box {
  background: #075cff;
  border-color: #075cff;
}

.credit-compare input:checked + .compare-toggle__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg);
}

.credit-compare:has(input:checked)::after {
  content: "В сравнении";
}

.credit-bank-card header {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 76px;
  padding-right: 150px;
}

.credit-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 16px 28px rgba(31, 54, 98, 0.16);
}

.credit-logo--red { background: linear-gradient(145deg, #ff3c42, #c91527); }
.credit-logo--navy { background: linear-gradient(145deg, #236dff, #063c9c); font-size: 18px; }
.credit-logo--yellow { background: linear-gradient(145deg, #ffe352, #ffc400); color: #092153; }
.credit-logo--steel { background: linear-gradient(145deg, #5c90d8, #204e99); font-size: 19px; }
.credit-logo--violet { background: linear-gradient(145deg, #8d6dff, #3c39b7); }
.credit-logo--orange { background: linear-gradient(145deg, #ff8f25, #e04610); }

.credit-bank-card h3 {
  margin: 0;
  color: #061946;
  font-family: var(--font-card);
  font-size: clamp(23px, 1.8vw, 28px);
  font-weight: 900;
  line-height: 1.04;
}

.credit-bank-card header p {
  position: relative;
  margin: 6px 0 0;
  padding-left: 20px;
  color: #075cff;
  font-size: 13px;
  font-weight: 860;
  line-height: 1.15;
}

.credit-bank-card header p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 13px;
  height: 15px;
  background: #075cff;
  clip-path: polygon(50% 0, 92% 17%, 92% 54%, 50% 100%, 8% 54%, 8% 17%);
}

.credit-bank-card header > strong {
  position: absolute;
  right: 0;
  bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #061946;
  font-size: 13px;
  font-weight: 900;
}

.credit-bank-card header > strong::before {
  content: "★★★★★";
  color: #ffae00;
  font-size: 14px;
  letter-spacing: 1.2px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.credit-bank-card__license {
  position: absolute;
  top: clamp(20px, 1.9vw, 26px);
  right: clamp(20px, 1.9vw, 26px);
  z-index: 1;
  width: fit-content;
  max-width: 156px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid #b9d2f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #153774;
  font-size: 12px;
  font-weight: 860;
  box-shadow: 0 16px 30px rgba(17, 86, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.credit-bank-card__license::before {
  content: "";
  width: 14px;
  height: 16px;
  flex: 0 0 auto;
  background: #075cff;
  clip-path: polygon(50% 0, 92% 17%, 92% 54%, 50% 100%, 8% 54%, 8% 17%);
}

.credit-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.credit-metrics div,
.credit-card-row > div {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 112px;
  padding: 20px 54px 18px 20px;
  border: 1px solid #cfdef4;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(17, 86, 255, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.credit-metrics div::after,
.credit-card-row > div::after {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #bad2f7;
  border-radius: 13px;
  color: #075cff;
  background: rgba(238, 245, 255, 0.9);
  box-shadow: 0 14px 28px rgba(17, 86, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-family: var(--font-card);
  font-size: 17px;
  font-weight: 900;
}

.credit-metrics div:nth-child(1)::after { content: "i"; }
.credit-metrics div:nth-child(2)::after { content: "%"; }
.credit-metrics div:nth-child(3)::after { content: "≡"; }
.credit-metrics div:nth-child(4)::after { content: "◷"; }
.credit-card-row > div:nth-child(1)::after { content: "▯"; }
.credit-card-row > div:nth-child(2)::after { content: "⌁"; }

.credit-metrics div:first-child {
  border-color: #b7ec14;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.45), transparent 32%),
    linear-gradient(135deg, #f3ff42 0%, #cfff32 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.credit-metrics span,
.credit-card-row span {
  color: #061946;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.credit-metrics b {
  color: #075cff;
  font-family: var(--font-card);
  font-size: clamp(26px, 2.25vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-wrap: balance;
}

.credit-metrics div:first-child b {
  color: #061946;
  font-size: clamp(32px, 2.7vw, 40px);
}

.credit-card-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 12px;
}

.credit-card-row strong {
  color: #061946;
  font-family: var(--font-card);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 900;
  line-height: 1.08;
}

.credit-card-row small {
  color: #29457d;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.32;
}

.rate-chart-mini {
  width: 100%;
  height: 72px;
  display: block;
}

.rate-chart-mini__line {
  fill: none;
  stroke: #075cff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rate-chart-mini__dots circle {
  fill: #ffffff;
  stroke: #075cff;
  stroke-width: 2.5;
}

.credit-check {
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  align-items: center;
  padding: 18px 76px 18px 72px;
  border: 1px solid #d6e4f6;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 255, 66, 0.36), transparent 38%),
    #ffffff;
}

.credit-check::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 34px;
  height: 40px;
  background: #075cff;
  transform: translateY(-50%);
  clip-path: polygon(50% 0, 92% 17%, 92% 54%, 50% 100%, 8% 54%, 8% 17%);
}

.credit-check::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 44px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(#9fc0ff, #9fc0ff) 13px 11px / 21px 2px no-repeat,
    linear-gradient(#9fc0ff, #9fc0ff) 13px 18px / 24px 2px no-repeat,
    linear-gradient(#9fc0ff, #9fc0ff) 13px 25px / 18px 2px no-repeat,
    #eef5ff;
  box-shadow: 0 10px 22px rgba(17, 86, 255, 0.12);
  transform: translateY(-50%) rotate(5deg);
}

.credit-check span,
.credit-check b {
  min-width: 0;
  display: block;
}

.credit-check span {
  color: #075cff;
  font-size: 14px;
  font-weight: 880;
}

.credit-check b {
  color: #163a78;
  font-size: 12.5px;
  font-weight: 720;
  line-height: 1.25;
}

.credit-check em {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 6px solid #26ba35;
  border-radius: 50%;
  color: #0a8b15;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.credit-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.credit-pills span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #d0dff4;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: #061946;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
}

.credit-pills span::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #075cff;
  background: #eef5ff;
  font-family: var(--font-card);
  font-size: 15px;
  font-weight: 900;
}

.credit-pills span:nth-child(1)::before { content: "%"; }
.credit-pills span:nth-child(2)::before { content: "↯"; }
.credit-pills span:nth-child(3)::before { content: "✓"; }

.credit-bank-card footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: auto;
}

.credit-bank-card footer button,
.credit-bank-card footer a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 870;
  text-decoration: none;
}

.credit-bank-card footer button {
  border: 2px solid #075cff;
  background: #fff;
  color: #075cff;
  opacity: 0.72;
}

.credit-bank-card footer a {
  border: 0;
  background: linear-gradient(180deg, #ff8a16, #ff5b0b);
  color: #fff;
  box-shadow: 0 18px 34px rgba(255, 105, 13, 0.24);
}

.credit-guide {
  padding: clamp(24px, 2.4vw, 36px);
  border: 1px solid #d6e4f6;
  border-radius: 28px;
  background:
    radial-gradient(circle at 96% 0%, rgba(223, 255, 66, 0.28), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.86));
  box-shadow: 0 20px 45px rgba(31, 54, 98, 0.08);
}

.credit-guide .credit-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(7, 92, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.86));
  box-shadow:
    0 14px 28px rgba(7, 92, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  color: #075cff;
  font-size: 12px;
  line-height: 1;
  text-transform: none;
}

.credit-guide .credit-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #cfff32;
  box-shadow:
    0 0 0 4px rgba(207, 255, 50, 0.26),
    0 0 0 1px rgba(7, 92, 255, 0.18);
}

.credit-guide .credit-eyebrow::after {
  content: "";
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  width: min(320px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(7, 92, 255, 0.24), rgba(7, 92, 255, 0));
  transform: translateY(-50%);
  pointer-events: none;
}

.credit-section-head--simple {
  grid-template-columns: 1fr;
}

.credit-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.credit-guide-card {
  position: relative;
  min-width: 0;
  min-height: 284px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid #d6e4f6;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 92, 255, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.credit-guide-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #075cff;
  background: #eef5ff;
  box-shadow: 0 16px 30px rgba(17, 86, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.credit-guide-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credit-guide-card__icon--green {
  color: #13a51e;
  background: #ebffe7;
}

.credit-guide-card__icon--violet {
  color: #6557ff;
  background: #f1efff;
}

.credit-guide-card__icon--orange {
  color: #f06b13;
  background: #fff2e8;
}

.credit-guide-card small {
  color: #075cff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.credit-guide-card h3 {
  margin: 0;
  color: #061946;
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 850;
  line-height: 1.18;
}

.credit-guide-card p {
  margin: 0;
  color: #29457d;
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1.5;
}

.credit-guide-card:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 0;
  grid-template-columns: 82px minmax(0, 1fr) minmax(250px, 0.42fr);
  grid-template-areas:
    "icon label checks"
    "icon title checks"
    "icon text checks";
  align-items: center;
  gap: 8px 28px;
  overflow: hidden;
  padding: 26px 30px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 107, 13, 0.16), transparent 28%),
    radial-gradient(circle at 96% 14%, rgba(223, 255, 66, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96) 55%, rgba(245, 255, 226, 0.94));
}

.credit-guide-card:nth-child(4) .credit-guide-card__icon {
  grid-area: icon;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  color: #ff6b13;
  background: linear-gradient(145deg, #fff8f1 0%, #ffe8d7 100%);
  box-shadow:
    0 20px 38px rgba(255, 107, 19, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.credit-guide-card:nth-child(4) .credit-guide-card__icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.25;
}

.credit-guide-card:nth-child(4) small {
  grid-area: label;
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 107, 19, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #f06110;
  font-size: 12px;
  letter-spacing: 0;
}

.credit-guide-card:nth-child(4) h3 {
  grid-area: title;
  max-width: 620px;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.08;
}

.credit-guide-card:nth-child(4) p {
  grid-area: text;
  max-width: 760px;
  padding-left: 0;
  border-left: 0;
  color: #233f78;
  font-size: 15px;
  line-height: 1.5;
}

.credit-guide-card__checks {
  grid-area: checks;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(205, 222, 246, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.credit-guide-card__checks span {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(215, 228, 247, 0.86);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.76));
  color: #163a78;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.15;
}

.credit-guide-card__checks span::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16a30f;
  box-shadow: 0 0 0 5px rgba(22, 163, 15, 0.11);
}

.credit-empty {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid #d6e4f6;
  border-radius: 18px;
  background: #fff;
  color: #29457d;
  font-weight: 720;
}

.credit-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.credit-more__button {
  width: 100%;
  min-height: 62px;
  padding: 10px 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 251, 255, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 18px 36px rgba(18, 82, 188, 0.08);
}

.credit-more__main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  color: #115cff;
  line-height: 1.1;
}

.credit-more__main [data-more-count] {
  min-width: auto;
  font-variant-numeric: tabular-nums;
}

.credit-more__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 13px;
  gap: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #edffd7, #ddffb8);
  color: #16820f;
  font-size: 12px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 18px rgba(102, 186, 22, 0.16);
  white-space: nowrap;
}

.credit-more__meta [data-remaining-count] {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.credit-more__button:hover .credit-more__meta {
  background: linear-gradient(180deg, #e7ffd0, #d6ffa8);
}

@media (max-width: 520px) {
  .credit-more__button {
    flex-direction: column;
    gap: 7px;
    min-height: 72px;
    padding: 12px 14px;
  }

  .credit-more__main {
    font-size: 14px;
  }

  .credit-more__meta {
    min-height: 28px;
    padding-inline: 11px;
    font-size: 11.5px;
  }
}

.credit-page .home-footer {
  margin-top: clamp(34px, 3.4vw, 48px);
}

/* Keep credit offer cards aligned with the homepage card component. */
.credit-bank-grid .brand {
  width: 100%;
  min-width: 0;
}

.credit-bank-grid .brand__text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.credit-bank-grid .brand :is(h2, h3) {
  font-size: clamp(18px, 2vw, 24px);
  overflow-wrap: normal;
  word-break: normal;
}

.credit-bank-grid .brand p {
  max-width: 100%;
  flex-wrap: wrap;
  row-gap: 3px;
}

.credit-bank-grid .trust-panel {
  grid-template-columns: minmax(112px, 1fr) minmax(96px, auto) 42px;
}

.credit-bank-grid .trust-panel__check,
.credit-bank-grid .trust-panel__approval {
  width: 100%;
  min-width: 0;
}

.credit-bank-grid .trust-panel__check > div {
  min-width: 0;
}

.credit-bank-grid .trust-panel__check strong,
.credit-bank-grid .trust-panel__check span,
.credit-bank-grid .trust-panel__approval span {
  overflow-wrap: anywhere;
}

.credit-bank-grid .benefit {
  overflow-wrap: anywhere;
}

@media (max-width: 1300px) {
  .credit-filter-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .credit-filter-submit {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) and (max-width: 1390px) {
  .credit-bank-grid .brand {
    gap: 9px;
  }

  .credit-bank-grid .brand__logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .credit-bank-grid .brand__logo span {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }

  .credit-bank-grid .brand__logo span.is-long-logo {
    font-size: 14px;
  }

  .credit-bank-grid .brand h2 {
    font-size: 20px;
  }

  .credit-bank-grid .brand p {
    font-size: 12px;
  }
}

@media (max-width: 1180px) {
  .credit-bank-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  }

  .credit-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-guide-card:nth-child(4) {
    grid-column: auto;
    min-height: 284px;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "title title"
      "text text"
      "checks checks";
    align-items: start;
    gap: 12px 14px;
    padding: 22px;
  }

  .credit-guide-card:nth-child(4) .credit-guide-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .credit-guide-card:nth-child(4) .credit-guide-card__icon svg {
    width: 27px;
    height: 27px;
  }

  .credit-guide-card:nth-child(4) h3,
  .credit-guide-card:nth-child(4) p {
    max-width: none;
  }

  .credit-guide-card:nth-child(4) small {
    align-self: center;
  }

  .credit-guide-card:nth-child(4) p {
    padding-left: 0;
    border-left: 0;
    font-size: 14.5px;
    line-height: 1.5;
  }

  .credit-guide-card__checks {
    padding: 10px;
    gap: 8px;
  }

  .credit-guide-card__checks span {
    min-height: 38px;
  }
}

@media (max-width: 1500px) {
  .credit-bank-grid .credit-card__header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .credit-bank-grid .card-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px 10px;
  }

  .credit-bank-grid .brand__text,
  .credit-bank-grid .brand h2 {
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 1120px) {
  .credit-hero-premium {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 28px;
  }

  .credit-hero-premium__visual {
    position: relative;
    inset: auto;
    order: -1;
    width: min(100%, 780px);
    aspect-ratio: 1.55;
    justify-content: center;
    margin: -6px auto 12px;
    overflow: hidden;
  }

  .credit-hero-premium__visual img {
    width: 100%;
    height: 100%;
    margin-inline: auto;
    object-fit: contain;
    object-position: center center;
    transform: none;
    -webkit-mask-image: radial-gradient(ellipse 82% 76% at 50% 52%, #000 52%, rgba(0, 0, 0, 0.72) 64%, transparent 82%);
    mask-image: radial-gradient(ellipse 82% 76% at 50% 52%, #000 52%, rgba(0, 0, 0, 0.72) 64%, transparent 82%);
  }

  .credit-hero-premium__copy {
    width: 100%;
    max-width: 920px;
  }
}

@media (max-width: 900px) {
  .credit-filter-panel,
  .credit-offers-section,
  .credit-guide {
    margin-inline: 24px;
  }

  .credit-filter-panel__head,
  .credit-section-head {
    grid-template-columns: 1fr;
  }

  .credit-section-head--offers {
    min-height: 0;
    gap: 18px;
    padding: 24px;
    border-radius: 26px;
  }

  .credit-counter--offers {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
    min-height: 96px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label value"
      "note value";
    justify-items: start;
    place-items: center start;
    padding: 18px 20px;
    text-align: left;
  }

  .credit-counter--offers .credit-counter__label {
    grid-area: label;
  }

  .credit-counter--offers strong {
    grid-area: value;
    justify-self: end;
  }

  .credit-counter--offers span:last-child {
    grid-area: note;
    max-width: none;
  }

  .credit-counter--offers::after {
    left: 18px;
    right: 18px;
    bottom: 14px;
  }

  .credit-filter-panel__head > .credit-filter-panel__label {
    justify-self: start;
  }

  .credit-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-filter-submit {
    grid-column: 1 / -1;
  }

  .credit-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-guide .credit-eyebrow::after {
    width: min(180px, 28vw);
  }
}

@media (max-width: 900px) {
  .credit-bank-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .credit-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .credit-page .back-to-top,
  body.credit-body .back-to-top {
    display: none;
  }

  .credit-page .home-header {
    min-height: 88px;
    padding-inline: 18px;
  }

  .credit-page .home-primary {
    min-height: 54px;
    padding-inline: 18px;
    border-radius: 16px;
    font-size: 14px;
  }

  .credit-page .home-primary img {
    width: 20px;
    height: 20px;
  }

  .credit-hero-premium {
    padding: 20px 28px 28px;
  }

  .credit-guide .credit-eyebrow::after {
    display: none;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .credit-eyebrow {
    font-size: 11px;
  }

  .credit-hero-premium h1 {
    max-width: 100%;
    font-size: clamp(32px, 8.4vw, 38px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .credit-lead {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.46;
    overflow-wrap: normal;
  }

  .credit-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
  }

  .credit-hero-facts > span {
    min-height: 106px;
    padding: 13px;
  }

  .credit-filter-panel,
  .credit-offers-section,
  .credit-guide {
    margin-inline: 16px;
  }

  .credit-filter-panel,
  .credit-guide {
    padding: 20px;
    border-radius: 22px;
  }

  .credit-section-head--offers {
    padding: 18px;
    border-radius: 24px;
  }

  .credit-eyebrow--offers {
    min-height: 34px;
    margin-bottom: 13px;
    padding-inline: 9px 11px;
    font-size: 11.5px;
  }

  .credit-eyebrow--offers svg {
    width: 16px;
    height: 16px;
  }

  .credit-counter--offers {
    min-height: 86px;
    padding: 16px 18px;
    border-radius: 22px;
  }

  .credit-counter--offers::before {
    inset: 9px;
    border-radius: 17px;
  }

  .credit-counter--offers strong {
    font-size: 40px;
  }

  .credit-filter-panel__head > .credit-filter-panel__label {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .credit-guide-card:nth-child(4) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "label"
      "title"
      "text"
      "checks";
    gap: 12px;
    min-height: 0;
    padding: 22px;
  }

  .credit-guide-card:nth-child(4) h3 {
    font-size: clamp(22px, 6.4vw, 27px);
  }

  .credit-guide-card__checks {
    grid-template-columns: 1fr;
  }

  .credit-filter-form {
    grid-template-columns: 1fr;
  }

  .credit-bank-grid .benefits {
    grid-template-columns: 1fr;
  }

  .credit-bank-grid .monthly-box strong {
    font-size: 18px;
  }

  .credit-bank-card {
    padding: 16px;
    border-radius: 22px;
    gap: 12px;
  }

  .credit-bank-grid .credit-compare {
    right: auto;
    left: 14px;
  }

  .credit-bank-grid .credit-card__header {
    padding-top: 28px;
    padding-right: 0;
  }

  .credit-bank-card header {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .credit-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 21px;
  }

  .credit-bank-card h3 {
    font-size: 20px;
  }

  .credit-bank-meta {
    font-size: 12px;
    gap: 6px;
  }

  .credit-register {
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 14px;
    font-size: 11.5px;
  }

  .credit-rating {
    font-size: 12px;
  }

  .credit-metrics,
  .credit-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .credit-metrics div,
  .credit-card-row > div {
    min-height: auto;
    padding: 12px;
    border-radius: 16px;
    gap: 6px;
  }

  .credit-metrics span,
  .credit-card-row span {
    font-size: 11.4px;
  }

  .credit-metrics b {
    font-size: clamp(21px, 6.2vw, 27px);
    line-height: 0.95;
  }

  .credit-bank-grid .metric--psk .metric__number--range {
    font-size: clamp(17px, 5.05vw, 20px);
  }

  .credit-bank-grid .metric:not(.metric--psk) .metric__number--range {
    font-size: clamp(16px, 4.8vw, 19px);
  }

  .credit-metrics small {
    font-size: 10.2px;
  }

  .credit-card-row strong {
    font-size: 20px;
    line-height: 1.08;
  }

  .credit-card-row p {
    font-size: 12px;
    line-height: 1.28;
  }

  .rate-chart-mini {
    height: 48px;
  }

  .rate-chart-mini small {
    font-size: 9px;
  }

  .rate-source {
    font-size: 11.5px;
    line-height: 1.18;
  }

  .credit-pills {
    gap: 7px;
  }

  .credit-pills span {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 13px;
    font-size: 11.5px;
    gap: 6px;
  }

  .credit-check {
    min-height: 58px;
    padding: 12px;
    border-radius: 16px;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 6px 10px;
  }

  .credit-check strong {
    font-size: 14px;
  }

  .credit-check span {
    font-size: 11.8px;
  }

  .credit-check em {
    width: 42px;
    height: 42px;
    border-width: 5px;
    font-size: 13px;
  }

  .credit-guide-grid {
    grid-template-columns: 1fr;
  }

  .credit-bank-card footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .credit-bank-card footer button,
  .credit-bank-card footer a {
    min-height: 48px;
    border-radius: 14px;
    font-size: 13.5px;
  }
}

@media (max-width: 380px) {
  .credit-bank-grid .card-row {
    grid-template-columns: 1fr;
  }

  .credit-bank-grid .monthly-box,
  .credit-bank-grid .chart-box {
    min-height: 0;
  }

  .credit-bank-grid .monthly-box strong {
    font-size: 20px;
  }
}

@media (max-width: 390px) {
  .credit-page .home-header {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding-inline: 14px;
  }

  .credit-page .home-logo,
  .credit-page .home-logo img {
    width: 60px;
    height: 60px;
  }

  .credit-page .home-actions {
    gap: 8px;
  }

  .credit-page .home-primary {
    padding-inline: 14px;
  }

  .credit-page .home-menu-toggle {
    width: 50px;
    min-height: 50px;
    flex-basis: 50px;
  }

  .credit-hero-premium {
    padding-inline: 22px;
  }

  .credit-hero-premium h1 {
    font-size: clamp(30px, 8.2vw, 34px);
  }

  .credit-lead {
    font-size: 14.5px;
  }

  .credit-bank-card header {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .credit-register {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .credit-card-row strong {
    font-size: 18px;
  }

  .credit-bank-grid .source-check {
    grid-template-columns: 1fr;
  }

  .credit-bank-grid .source-check__mark {
    display: none;
  }
}

@media (max-width: 340px) {
  .credit-hero-facts {
    grid-template-columns: 1fr;
  }

  .credit-hero-facts > span {
    min-height: 82px;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon note";
    align-items: center;
    gap: 4px 10px;
  }

  .credit-hero-fact__icon {
    align-self: center;
  }

  .credit-filter-panel,
  .credit-offers-section,
  .credit-guide {
    margin-inline: 10px;
  }

  .credit-bank-grid .credit-card {
    padding: 12px;
    border-radius: 22px;
  }

  .credit-bank-grid .credit-card__header {
    padding-top: 42px;
  }

  .credit-bank-grid .metrics {
    gap: 6px;
  }

  .credit-bank-grid .metric {
    min-height: 92px;
    padding: 12px 8px 10px;
    border-radius: 15px;
  }

  .credit-bank-grid .metric small {
    font-size: 0.78em;
  }

  .credit-bank-grid .metric--psk small {
    font-size: 0.88em;
  }

  .credit-bank-grid .metric__label {
    margin-bottom: 12px;
    padding-right: 30px;
    font-size: 12px;
  }

  .credit-bank-grid .metric strong {
    gap: 2px;
    font-size: 12.5px;
  }

  .credit-bank-grid .metric__number {
    font-size: 1.36em;
  }

  .credit-bank-grid .metric__number--range {
    font-size: clamp(18px, 6.2vw, 22px);
  }

  .credit-bank-grid .metric--psk .metric__number--range {
    font-size: clamp(14px, 4.65vw, 16px);
  }

  .credit-bank-grid .metric:not(.metric--psk) .metric__number--range {
    font-size: clamp(17px, 5.9vw, 21px);
  }

  .credit-bank-grid .metric--psk .metric__number {
    font-size: 1.64em;
  }

  .credit-bank-grid .metric--psk .metric__number--range {
    font-size: clamp(14px, 4.65vw, 16px);
  }

  .credit-bank-grid .metric--psk .metric__number--text {
    font-size: 0.92em;
  }

  .credit-bank-grid .metric__icon {
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
  }

  .credit-bank-grid .metric__icon svg {
    width: 15px;
    height: 15px;
  }

  .credit-bank-grid .brand h2 {
    font-size: 19px;
  }

  .credit-bank-grid .trust-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .credit-bank-grid .trust-panel__check {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
  }

  .credit-bank-grid .trust-panel__approval {
    padding-left: 0;
  }

  .credit-bank-grid .trust-panel__approval::before,
  .credit-bank-grid .trust-panel__doc {
    display: none;
  }

  .credit-page .home-primary {
    font-size: 0;
    width: 52px;
    padding: 0;
  }

  .credit-page .home-primary img {
    display: block;
    margin: 0;
  }
}

@media (max-width: 900px) {
  .credit-filter-panel--premium .credit-filter-panel__head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .credit-filter-panel--premium .credit-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .credit-filter-panel.credit-filter-panel--premium {
    padding: 18px;
  }

  .credit-filter-panel--premium .credit-filter-panel__head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .credit-filter-panel--premium .credit-filter-panel__head h2 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .credit-filter-panel--premium .credit-filter-panel__head p {
    max-width: 29ch;
    font-size: 12.5px;
  }

  .credit-filter-panel--premium .credit-filter-reset {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .credit-filter-panel--premium .credit-filter-reset span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .credit-filter-panel--premium .credit-filter-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .credit-filter-panel--premium .credit-filter-select select {
    min-height: 56px;
  }

  .credit-filter-panel--premium .premium-select__trigger {
    min-height: 56px;
  }
}

@media (max-width: 359px) {
  .credit-filter-panel.credit-filter-panel--premium {
    padding: 16px 14px;
  }

  .credit-filter-panel--premium .credit-filter-panel__head h2 {
    font-size: 25px;
  }

  .credit-filter-panel--premium .credit-filter-panel__head p {
    font-size: 12px;
  }

  .credit-filter-panel--premium .credit-filter-select select {
    padding-right: 48px;
    padding-left: 54px;
    font-size: 13px;
  }

  .credit-filter-panel--premium .premium-select__trigger {
    padding-right: 48px;
    padding-left: 54px;
    font-size: 13px;
  }
}

/* Сводка каталога кредитов */
.credit-section-head--catalog {
  align-items: center;
  gap: 28px;
}

.credit-section-head--catalog .credit-offers-intro {
  min-width: 270px;
}

.credit-offers-note {
  display: block;
  margin-top: 9px;
  color: #61728d;
  font-size: 12px;
  font-weight: 650;
}

.credit-catalog-summary {
  display: grid;
  min-width: min(100%, 560px);
  grid-template-columns: 0.78fr 1.12fr 1.25fr;
  overflow: hidden;
  border: 1px solid #cbdaf0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(28, 71, 128, 0.07);
}

.credit-catalog-summary > div {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
}

.credit-catalog-summary > div + div {
  border-left: 1px solid #dce5f1;
}

.credit-catalog-summary__count {
  flex-direction: column;
  gap: 1px !important;
  color: #234368;
}

.credit-catalog-summary__count strong {
  color: #075ddd;
  font: 850 29px/1 "Onest", sans-serif;
}

.credit-catalog-summary__count span,
.credit-catalog-summary__actual span,
.credit-catalog-summary__process span {
  font-size: 10px;
  font-weight: 800;
}

.credit-catalog-summary__count span {
  text-transform: uppercase;
}

.credit-catalog-summary__actual svg,
.credit-catalog-summary__process svg {
  width: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: #176bf0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.credit-catalog-summary__actual span {
  color: #536b89;
  line-height: 1.35;
}

.credit-catalog-summary__actual time {
  display: block;
  color: #0a3370;
  font-weight: 850;
}

.credit-catalog-summary__process span {
  display: grid;
  gap: 2px;
  color: #173f70;
}

.credit-catalog-summary__process small {
  color: #71819a;
  font-size: 9px;
  font-weight: 650;
}

:root[data-theme="dark"] .credit-catalog-summary {
  border-color: #29486e;
  background: #0c2344;
  box-shadow: none;
}

:root[data-theme="dark"] .credit-catalog-summary > div + div {
  border-color: #294565;
}

:root[data-theme="dark"] .credit-offers-note,
:root[data-theme="dark"] .credit-catalog-summary__actual span,
:root[data-theme="dark"] .credit-catalog-summary__process small {
  color: #a9bad0;
}

:root[data-theme="dark"] .credit-catalog-summary__actual time,
:root[data-theme="dark"] .credit-catalog-summary__process span,
:root[data-theme="dark"] .credit-catalog-summary__count {
  color: #edf5ff;
}

@media (max-width: 1050px) {
  .credit-section-head--catalog {
    align-items: stretch;
    flex-direction: column;
  }

  .credit-catalog-summary {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .credit-catalog-summary {
    grid-template-columns: 0.72fr 1fr;
  }

  .credit-catalog-summary__process {
    grid-column: 1 / -1;
    border-top: 1px solid #dce5f1;
    border-left: 0 !important;
  }

  .credit-catalog-summary > div {
    min-height: 66px;
    padding: 9px 10px;
  }
}

/* Читаемые подписи каталога и расчётов на всех брейкпоинтах. */
.credit-hero-facts small,
.credit-filter-panel__head > .credit-filter-panel__label small,
.credit-bank-grid .benefit,
.credit-bank-grid .trust-panel__approval span,
.credit-bank-grid .rating-line--check strong,
.credit-bank-grid .trust-panel__approval--review span,
.credit-bank-grid .source-check strong,
.credit-bank-grid .source-check .chart-box__result,
.credit-more__meta,
.credit-eyebrow,
.credit-eyebrow--offers,
.credit-register,
.credit-card-row span,
.credit-metrics small,
.rate-chart-mini small,
.rate-source,
.credit-pills span,
.credit-check span,
.credit-catalog-summary__process span,
.credit-catalog-summary__process small {
  font-size: 12px;
}

.credit-catalog-summary__count span,
.credit-catalog-summary__actual span,
.credit-catalog-summary__actual time,
.credit-bank-grid .metrics strong small,
.credit-bank-grid .trust-panel > div > span {
  font-size: 12px;
}

.credit-bank-grid .trust-panel__check span {
  font-size: 12px;
}

html[data-theme="dark"] .credit-bank-grid .benefit {
  border-color: rgba(118, 169, 235, .28);
  color: #eaf3ff;
  background: rgba(18, 45, 82, .76);
}

html[data-theme="dark"] .credit-bank-grid .benefit__icon {
  color: #79b6ff;
  background: rgba(44, 111, 205, .24);
}

/* Точные банковские диапазоны должны полностью помещаться даже в узких карточках. */
.credit-bank-grid .metric {
  padding-right: 38px;
}

.credit-bank-grid .metric:has(.metric__number--range),
.credit-bank-grid .metric:has(.metric__number--text) {
  padding-right: 10px;
}

@media (max-width: 560px) {
  .credit-bank-grid .metric--psk .metric__number--range {
    font-size: clamp(13.5px, 3.4vw, 15px);
    letter-spacing: -0.04em;
  }

  .credit-bank-grid .metric:not(.metric--psk) .metric__number--range {
    font-size: clamp(14px, 3.9vw, 17px);
    letter-spacing: -0.035em;
  }
}

@media (max-width: 380px) {
  .credit-bank-grid .metrics {
    grid-template-columns: 1fr;
  }

  .credit-bank-grid .metric:has(.metric__number--range),
  .credit-bank-grid .metric:has(.metric__number--text) {
    grid-column: 1 / -1;
    min-height: 82px;
    padding-inline: 14px;
  }

  .credit-bank-grid .metric--psk .metric__number--range {
    font-size: 16px;
  }

  .credit-bank-grid .metric:not(.metric--psk) .metric__number--range {
    font-size: 17px;
  }
}

@media (max-width: 410px) {
  .credit-bank-grid .metric {
    padding-right: 12px;
  }

  .credit-bank-grid .metric__icon {
    display: none;
  }
}

/* 2026-09-04: keep secondary source notes out of the primary credit offer view. */
.credit-bank-grid {
  align-items: start;
}

.credit-bank-grid .credit-card[data-credit-details-rework] {
  height: auto;
  min-height: 568px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.credit-bank-grid .credit-card[data-credit-details-rework] .card-proof {
  justify-content: flex-end;
}

.credit-bank-grid .card-row--payment-only {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 14px;
}

.credit-bank-grid .card-row--payment-only .monthly-box {
  min-height: 118px;
  padding: 15px 16px;
  background:
    radial-gradient(circle at 94% 8%, rgba(218, 255, 53, 0.23), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
}

.credit-bank-grid .card-row--payment-only .monthly-box strong {
  margin-bottom: 7px;
  font-size: clamp(22px, 1.7vw, 27px);
}

.credit-bank-grid .credit-card__details-panel {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(137, 172, 222, 0.48);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(218, 255, 53, 0.16), transparent 36%),
    linear-gradient(180deg, #f8fbff, #f2f7ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.credit-bank-grid .credit-card__details-panel[hidden] {
  display: none !important;
}

.credit-bank-grid .credit-card__details-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(166, 190, 225, 0.55);
}

.credit-bank-grid .credit-card__details-head > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 92, 255, 0.18);
  border-radius: 12px;
  color: #075cff;
  background: linear-gradient(180deg, #ffffff, #eaf2ff);
}

.credit-bank-grid .credit-card__details-head svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credit-bank-grid .credit-card__details-head strong,
.credit-bank-grid .credit-card__details-head small {
  display: block;
}

.credit-bank-grid .credit-card__details-head strong {
  color: #061946;
  font-size: 14px;
  line-height: 1.2;
}

.credit-bank-grid .credit-card__details-head small {
  margin-top: 3px;
  color: #4d6797;
  font-size: 12px;
  line-height: 1.32;
}

.credit-bank-grid .credit-card__details-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.credit-bank-grid .credit-card__details-list > div {
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(166, 190, 225, 0.46);
}

.credit-bank-grid .credit-card__details-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.credit-bank-grid .credit-card__details-list dt,
.credit-bank-grid .credit-card__details-list dd {
  margin: 0;
}

.credit-bank-grid .credit-card__details-list dt {
  margin-bottom: 5px;
  color: #5a7099;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.25;
}

.credit-bank-grid .credit-card__details-list dd {
  color: #102d65;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.credit-bank-grid .credit-card__details-list dd span {
  color: #087f23;
  font-weight: 850;
}

.credit-bank-grid .credit-card[data-credit-details-rework] .credit-card__footer {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: auto;
  padding-top: 16px;
}

.credit-bank-grid .credit-card__details-toggle[aria-expanded="true"] {
  color: #ffffff;
  border-color: #075cff;
  background: linear-gradient(180deg, #2e7bff, #075cff);
  box-shadow: 0 12px 26px rgba(7, 92, 255, 0.2);
}

.credit-bank-grid .button--muted {
  cursor: default;
  color: #6b7d9c;
  border: 1px solid rgba(155, 178, 214, 0.55);
  background: #eef3fa;
  box-shadow: none;
}

html[data-theme="dark"] .credit-bank-grid .card-row--payment-only .monthly-box,
[data-theme="dark"] .credit-bank-grid .card-row--payment-only .monthly-box {
  border-color: rgba(104, 151, 216, 0.34);
  background:
    radial-gradient(circle at 94% 8%, rgba(169, 235, 30, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(24, 49, 83, 0.94), rgba(16, 38, 69, 0.96));
}

html[data-theme="dark"] .credit-bank-grid .credit-card__details-panel,
[data-theme="dark"] .credit-bank-grid .credit-card__details-panel {
  border-color: rgba(105, 157, 226, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(169, 235, 30, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(20, 48, 82, 0.97), rgba(13, 35, 64, 0.98));
  box-shadow: inset 0 1px 0 rgba(150, 190, 242, 0.08);
}

html[data-theme="dark"] .credit-bank-grid .credit-card__details-head,
html[data-theme="dark"] .credit-bank-grid .credit-card__details-list > div,
[data-theme="dark"] .credit-bank-grid .credit-card__details-head,
[data-theme="dark"] .credit-bank-grid .credit-card__details-list > div {
  border-color: rgba(111, 157, 219, 0.28);
}

html[data-theme="dark"] .credit-bank-grid .credit-card__details-head > span,
[data-theme="dark"] .credit-bank-grid .credit-card__details-head > span {
  border-color: rgba(105, 166, 255, 0.36);
  color: #88bdff;
  background: linear-gradient(180deg, rgba(37, 82, 139, 0.82), rgba(22, 57, 104, 0.92));
}

html[data-theme="dark"] .credit-bank-grid .credit-card__details-head strong,
[data-theme="dark"] .credit-bank-grid .credit-card__details-head strong {
  color: #f2f7ff;
}

html[data-theme="dark"] .credit-bank-grid .credit-card__details-head small,
html[data-theme="dark"] .credit-bank-grid .credit-card__details-list dt,
[data-theme="dark"] .credit-bank-grid .credit-card__details-head small,
[data-theme="dark"] .credit-bank-grid .credit-card__details-list dt {
  color: #a9bfdc;
}

html[data-theme="dark"] .credit-bank-grid .credit-card__details-list dd,
[data-theme="dark"] .credit-bank-grid .credit-card__details-list dd {
  color: #e8f2ff;
}

html[data-theme="dark"] .credit-bank-grid .credit-card__details-list dd span,
[data-theme="dark"] .credit-bank-grid .credit-card__details-list dd span {
  color: #9be36e;
}

html[data-theme="dark"] .credit-bank-grid .button--muted,
[data-theme="dark"] .credit-bank-grid .button--muted {
  color: #9fb2ce;
  border-color: rgba(105, 151, 211, 0.3);
  background: rgba(19, 42, 73, 0.86);
}

@media (max-width: 560px) {
  .credit-bank-grid .credit-card[data-credit-details-rework] {
    min-height: 0;
    padding: 18px;
  }

  .credit-bank-grid .card-row--payment-only .monthly-box {
    min-height: 112px;
  }

  .credit-bank-grid .credit-card__details-panel {
    padding: 13px;
  }

  .credit-bank-grid .credit-card[data-credit-details-rework] .credit-card__footer {
    grid-template-columns: 1fr;
  }
}
