.i75ef9fd-c87c-4e17-af4b-2bbae4dc063a {
  --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;
}

.i75ef9fd-c87c-4e17-af4b-2bbae4dc063a *,
.i75ef9fd-c87c-4e17-af4b-2bbae4dc063a *::before,
.i75ef9fd-c87c-4e17-af4b-2bbae4dc063a *::after {
  box-sizing: border-box;
}

/* Мобільний вигляд за замовчуванням */
.m37c12da-8e43-4346-bb50-596433bf19a4 {
  display: none;
}

.l2f7eb83-6584-48e2-a8bb-09d92e5ea61c {
  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);
}

.l2f7eb83-6584-48e2-a8bb-09d92e5ea61c:first-child {
  border-top: 0;
}

.l2f7eb83-6584-48e2-a8bb-09d92e5ea61c:hover {
  position: relative;
  z-index: 1;
  background: #fafaff;
  box-shadow: 0 5px 18px rgba(49, 43, 122, 0.1);
}

.a0eecef9-8052-4479-afb4-af6465edc0d8 {
  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;
}

.l2f7eb83-6584-48e2-a8bb-09d92e5ea61c:nth-child(1) .a0eecef9-8052-4479-afb4-af6465edc0d8 {
  color: #6a4800;
  background: var(--ft-yellow);
}

.l2f7eb83-6584-48e2-a8bb-09d92e5ea61c:nth-child(2) .a0eecef9-8052-4479-afb4-af6465edc0d8 {
  color: #3d4863;
  background: #e2e5eb;
}

.l2f7eb83-6584-48e2-a8bb-09d92e5ea61c:nth-child(3) .a0eecef9-8052-4479-afb4-af6465edc0d8 {
  color: #714425;
  background: #eab685;
}

.af5f0ab9-e033-4cb6-9914-cfd098df566e {
  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;
}

.af5f0ab9-e033-4cb6-9914-cfd098df566e img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.abb1710c-8bb5-459a-9da7-36a49a0c0c46 {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
}

.ha2a1b9d-e628-4150-8981-bdfb97987393,
.ha2a1b9d-e628-4150-8981-bdfb97987393: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;
}

.ha2a1b9d-e628-4150-8981-bdfb97987393:hover {
  color: var(--ft-purple) !important;
  text-decoration: underline !important;
}

.ld5aa2bd-a15e-4ad7-9f84-66ac9b0ba609 {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--ft-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.pc86c912-b8ff-46d1-8e6c-9187cc820220 {
  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;
}

.b53a67a3-9869-4be2-8d3a-e85c05b6e432 {
  margin-right: 3px;
  color: var(--ft-yellow);
  font-size: 17px;
}

.pc86c912-b8ff-46d1-8e6c-9187cc820220 strong {
  font-size: 16px;
}

.pc86c912-b8ff-46d1-8e6c-9187cc820220 span:last-child {
  color: var(--ft-muted);
  font-size: 11px;
  font-weight: 700;
}

.i3931a55-4932-4a70-803c-abdc71773898,
.i3931a55-4932-4a70-803c-abdc71773898: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;
}

.i3931a55-4932-4a70-803c-abdc71773898:hover {
  color: #ffffff !important;
  background: var(--ft-orange-dark);
  border-color: var(--ft-orange-dark);
}

.o4afcab1-fe3c-4d0f-a1a7-13af45898660 {
  padding: 16px 12px;
  text-align: center;
  background: var(--ft-page);
  border-top: 1px solid var(--ft-line);
}

.o4afcab1-fe3c-4d0f-a1a7-13af45898660 button,
.o4afcab1-fe3c-4d0f-a1a7-13af45898660 a,
.o4afcab1-fe3c-4d0f-a1a7-13af45898660 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;
}

.o4afcab1-fe3c-4d0f-a1a7-13af45898660 button:hover,
.o4afcab1-fe3c-4d0f-a1a7-13af45898660 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;
  }
}