.l5ceff25-81f2-41b0-8aec-6e86846960d4 {
  --ft-indigo: #5148cf;
  --ft-purple: #7a45dc;
  --ft-ink: #202233;
  --ft-text: #303348;
  --ft-muted: #747991;
  --ft-orange: #f47d36;
  --ft-orange-dark: #db6220;
  --ft-yellow: #f7bd3c;
  --ft-line: #e3e5ef;
  --ft-surface: #ffffff;
  --ft-page: #f5f6fb;

  width: 100%;
  margin: 24px 0 32px;
  overflow: hidden;
  color: var(--ft-text);
  background: var(--ft-surface);
  border: 1px solid var(--ft-line);
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  container-type: inline-size;
}

.l5ceff25-81f2-41b0-8aec-6e86846960d4 *,
.l5ceff25-81f2-41b0-8aec-6e86846960d4 *::before,
.l5ceff25-81f2-41b0-8aec-6e86846960d4 *::after {
  box-sizing: border-box;
}

/* Мобільний вигляд за замовчуванням */
.dbcf4c7a-2eab-4a09-9ca9-601fde725c1b {
  display: none;
}

.a62f354c-e479-4420-9edd-4dfa8532583f {
  display: grid;
  grid-template-columns: 32px 76px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px 12px;
  background: var(--ft-surface);
  border-top: 1px solid var(--ft-line);
}

.a62f354c-e479-4420-9edd-4dfa8532583f:first-child {
  border-top: 0;
}

.a62f354c-e479-4420-9edd-4dfa8532583f:hover {
  position: relative;
  z-index: 1;
  background: #fafaff;
  box-shadow: 0 5px 18px rgba(49, 43, 122, 0.1);
}

.i29ce69d-7d66-4a88-bcba-984c146ae872 {
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--ft-indigo);
  background: #efedff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.a62f354c-e479-4420-9edd-4dfa8532583f:nth-child(1) .i29ce69d-7d66-4a88-bcba-984c146ae872 {
  color: #6a4800;
  background: var(--ft-yellow);
}

.a62f354c-e479-4420-9edd-4dfa8532583f:nth-child(2) .i29ce69d-7d66-4a88-bcba-984c146ae872 {
  color: #3d4863;
  background: #e2e5eb;
}

.a62f354c-e479-4420-9edd-4dfa8532583f:nth-child(3) .i29ce69d-7d66-4a88-bcba-984c146ae872 {
  color: #714425;
  background: #eab685;
}

.o679f548-c32a-46e9-af66-ca9a40de31b2 {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 62px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--ft-line);
  border-radius: 7px;
  text-decoration: none;
}

.o679f548-c32a-46e9-af66-ca9a40de31b2 img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ofe88173-4a4d-4e29-9072-f9daa67248b9 {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
}

.k652f9a4-7cd8-42e0-8b60-fb8a35fa17ab,
.k652f9a4-7cd8-42e0-8b60-fb8a35fa17ab:visited {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ft-ink) !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.18;
  text-decoration: none !important;
}

.k652f9a4-7cd8-42e0-8b60-fb8a35fa17ab:hover {
  color: var(--ft-purple) !important;
  text-decoration: underline !important;
}

.i3f37bad-41ae-402f-b876-9fac8640f294 {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--ft-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.afcb3c4f-4192-441d-b3e2-356e1e1b201f {
  display: flex;
  grid-column: 3;
  grid-row: 2;
  align-items: baseline;
  justify-content: flex-start;
  gap: 2px;
  color: var(--ft-ink);
  font-size: 13px;
  white-space: nowrap;
}

.hdec8d24-f816-4b52-92ad-e7b6462659bb {
  margin-right: 3px;
  color: var(--ft-yellow);
  font-size: 17px;
}

.afcb3c4f-4192-441d-b3e2-356e1e1b201f strong {
  font-size: 16px;
}

.afcb3c4f-4192-441d-b3e2-356e1e1b201f span:last-child {
  color: var(--ft-muted);
  font-size: 11px;
  font-weight: 700;
}

.o8d358f7-02de-4aa6-871b-4dde769275e7,
.o8d358f7-02de-4aa6-871b-4dde769275e7:visited {
  display: inline-flex;
  grid-column: 2 / 4;
  grid-row: 3;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 3px;
  padding: 10px 12px;
  color: #ffffff !important;
  background: var(--ft-orange);
  border: 2px solid var(--ft-orange);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.o8d358f7-02de-4aa6-871b-4dde769275e7:hover {
  color: #ffffff !important;
  background: var(--ft-orange-dark);
  border-color: var(--ft-orange-dark);
}

.k4afcc9f-68c0-491f-aa5e-f111ba2a05ae {
  padding: 16px 12px;
  text-align: center;
  background: var(--ft-page);
  border-top: 1px solid var(--ft-line);
}

.k4afcc9f-68c0-491f-aa5e-f111ba2a05ae button,
.k4afcc9f-68c0-491f-aa5e-f111ba2a05ae a,
.k4afcc9f-68c0-491f-aa5e-f111ba2a05ae a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 20px;
  color: var(--ft-indigo) !important;
  background: #ffffff;
  border: 2px solid var(--ft-indigo);
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  cursor: pointer;
}

.k4afcc9f-68c0-491f-aa5e-f111ba2a05ae button:hover,
.k4afcc9f-68c0-491f-aa5e-f111ba2a05ae a:hover {
  color: #ffffff !important;
  background: var(--ft-indigo);
}

/* Таблиця для широкого контейнера */
@container (min-width: 760px) {
  .ft-brands__header,
  .ft-brand {
    display: grid;
    grid-template-columns: 42px 140px minmax(180px, 1fr) 84px 124px;
    gap: 16px;
    align-items: center;
  }

  .ft-brands__header {
    min-height: 54px;
    padding: 0 20px;
    color: #ffffff;
    background: linear-gradient(100deg, var(--ft-indigo), var(--ft-purple));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .ft-brands__rank-title,
  .ft-brands__rating-title {
    text-align: center;
  }

  .ft-brand {
    min-height: 108px;
    padding: 14px 20px;
  }

  .ft-brand__rank {
    grid-column: auto;
    grid-row: auto;
    width: 32px;
    height: 32px;
    margin: auto;
    font-size: 14px;
  }

  .ft-brand__logo {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: 74px;
    padding: 8px 12px;
  }

  .ft-brand__details {
    grid-column: auto;
    grid-row: auto;
    overflow: visible;
  }

  .ft-brand__name,
  .ft-brand__name:visited {
    font-size: 18px;
  }

  .ft-brand__bonus {
    margin-top: 6px;
    font-size: 13px;
  }

  .ft-brand__rating {
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
    font-size: 14px;
  }

  .ft-brand__rating strong {
    font-size: 17px;
  }

  .ft-brand__cta,
  .ft-brand__cta:visited {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    min-height: 42px;
    margin-top: 0;
    padding: 10px 14px;
  }

  .ft-brands__more {
    padding: 20px;
  }

  .ft-brands__more button,
  .ft-brands__more a {
    width: auto;
  }
}