/* Контейнер блока */
.wwtb {
  background: #f7f8fa;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

/* Заголовок */
.wwtb__head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.wwtb__title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
}

.wwtb__sub {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

/* Сетка */
.wwtb__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

/* Карточка */
.wwtb__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  transition: box-shadow 0.2s;
}

.wwtb__card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Строка внутри карточки */
.wwtb__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Логотип + название */
.wwtb__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

/* Логотип */
.wwtb__logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 6px;
  object-fit: contain;
}

.wwtb__logo--placeholder {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

/* Название */
.wwtb__name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Цена */
.wwtb__right {
  flex-shrink: 0;
}

.wwtb__price {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.wwtb__price--muted {
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
}

/* Мобильная версия */
@media (max-width: 600px) {
  .wwtb__grid {
    grid-template-columns: 1fr;
  }
  
  .wwtb__row {
    flex-wrap: wrap;
  }
  
  .wwtb__right {
    width: 100%;
    text-align: left;
    padding-left: 58px;
  }
}