.m6726baf-ef03-4610-b10e-2f8c92021fcc {
  --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;
}

.m6726baf-ef03-4610-b10e-2f8c92021fcc *,
.m6726baf-ef03-4610-b10e-2f8c92021fcc *::before,
.m6726baf-ef03-4610-b10e-2f8c92021fcc *::after {
  box-sizing: border-box;
}

/* Мобільний вигляд за замовчуванням */
.ebc10eae-e281-437a-a89c-169393be07fa {
  display: none;
}

.a692a128-5029-44ac-b2d9-8c11caf69820 {
  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);
}

.a692a128-5029-44ac-b2d9-8c11caf69820:first-child {
  border-top: 0;
}

.a692a128-5029-44ac-b2d9-8c11caf69820:hover {
  position: relative;
  z-index: 1;
  background: #fafaff;
  box-shadow: 0 5px 18px rgba(49, 43, 122, 0.1);
}

.dacb8055-c7f0-40df-b5dc-e96442b59f9b {
  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;
}

.a692a128-5029-44ac-b2d9-8c11caf69820:nth-child(1) .dacb8055-c7f0-40df-b5dc-e96442b59f9b {
  color: #6a4800;
  background: var(--ft-yellow);
}

.a692a128-5029-44ac-b2d9-8c11caf69820:nth-child(2) .dacb8055-c7f0-40df-b5dc-e96442b59f9b {
  color: #3d4863;
  background: #e2e5eb;
}

.a692a128-5029-44ac-b2d9-8c11caf69820:nth-child(3) .dacb8055-c7f0-40df-b5dc-e96442b59f9b {
  color: #714425;
  background: #eab685;
}

.cc5fc41e-25cc-4e9c-9955-83fbf670b2ca {
  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;
}

.cc5fc41e-25cc-4e9c-9955-83fbf670b2ca img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.n6adaf6a-a008-4bd5-99a6-c3626dd52ea3 {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
}

.pd770269-4556-42ed-9676-709608d0c220,
.pd770269-4556-42ed-9676-709608d0c220: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;
}

.pd770269-4556-42ed-9676-709608d0c220:hover {
  color: var(--ft-purple) !important;
  text-decoration: underline !important;
}

.e11b9fa1-79a5-4d18-9525-63e6cf8ea7b2 {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--ft-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.j215be5e-e3a3-4b55-8376-636f8126f5fb {
  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;
}

.j91bef16-2e3c-40b3-b75e-5aad9d8d057b {
  margin-right: 3px;
  color: var(--ft-yellow);
  font-size: 17px;
}

.j215be5e-e3a3-4b55-8376-636f8126f5fb strong {
  font-size: 16px;
}

.j215be5e-e3a3-4b55-8376-636f8126f5fb span:last-child {
  color: var(--ft-muted);
  font-size: 11px;
  font-weight: 700;
}

.h15f4cd8-adfe-41e2-9854-db936986eb9e,
.h15f4cd8-adfe-41e2-9854-db936986eb9e: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;
}

.h15f4cd8-adfe-41e2-9854-db936986eb9e:hover {
  color: #ffffff !important;
  background: var(--ft-orange-dark);
  border-color: var(--ft-orange-dark);
}

.if6dcfd2-a49d-4d8c-b81e-eed442d7aff4 {
  padding: 16px 12px;
  text-align: center;
  background: var(--ft-page);
  border-top: 1px solid var(--ft-line);
}

.if6dcfd2-a49d-4d8c-b81e-eed442d7aff4 button,
.if6dcfd2-a49d-4d8c-b81e-eed442d7aff4 a,
.if6dcfd2-a49d-4d8c-b81e-eed442d7aff4 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;
}

.if6dcfd2-a49d-4d8c-b81e-eed442d7aff4 button:hover,
.if6dcfd2-a49d-4d8c-b81e-eed442d7aff4 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;
  }
}