.category-top-widget,
.category-top-widget * {
  box-sizing: border-box;
}

.category-top-widget {
  --ctw-blue: #437CDE;
  --ctw-text: #505a6b;
  --ctw-dark: #2f3746;
  --ctw-border: #dde3ee;
  width: 100%;
  max-width: none;
  margin: 0 0 28px;
  padding: 0;
  background: #fff;
  color: var(--ctw-text);
  font-family: FontRegular, Manrope, Arial, sans-serif;
}

.category-top-widget a {
  text-decoration: none;
}

.category-top-widget__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.category-top-widget__title {
  margin: 0;
  color: var(--ctw-dark);
  font-family: FontBold, Manrope, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.category-top-widget__price {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  padding: 7px 12px;
  border-radius: 8px;
  background: #f4f6fa;
  color: var(--ctw-text);
  font-family: FontBold, Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.category-top-widget__lead {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  color: var(--ctw-text);
  font-size: 16px;
  line-height: 1.55;
}

.category-top-widget__lead p,
.category-top-widget__bonus p {
  margin: 0;
}

.category-top-widget__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.category-top-widget__features li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--ctw-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ctw-text);
  font-family: FontMedium, Manrope, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

.category-top-widget__features li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--ctw-blue);
  font-family: FontBold, Manrope, Arial, sans-serif;
}

.category-top-widget__bonus {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--ctw-text);
  font-size: 16px;
  line-height: 1.45;
}

.category-top-widget__bonus strong {
  color: var(--ctw-dark);
  font-family: FontBold, Manrope, Arial, sans-serif;
}

.category-top-widget__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.category-top-widget__primary,
.category-top-widget__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-family: FontMedium, Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
}

.category-top-widget__primary {
  min-width: 230px;
  padding: 12px 20px;
  border: 1px solid var(--ctw-blue);
  background: var(--ctw-blue);
  color: #fff;
}

.category-top-widget__secondary {
  min-width: 180px;
  padding: 11px 18px;
  border: 1px solid var(--ctw-border);
  background: #fff;
  color: var(--ctw-dark);
}

.category-top-widget__primary:hover,
.category-top-widget__secondary:hover {
  opacity: .9;
}

.category-top-widget__question {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.category-top-widget__arrow {
  margin-left: 6px;
  color: var(--ctw-blue);
}

.category-top-widget__hint {
  color: #6c7482;
  font-size: 13px;
  line-height: 1.3;
}

.category-top-widget__visual {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f5f8;
  aspect-ratio: 4 / 3;
}

.category-top-widget__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .category-top-widget__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .category-top-widget__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .category-top-widget__visual {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575px) {
  .category-top-widget__title {
    font-size: 24px;
  }

  .category-top-widget__lead,
  .category-top-widget__bonus {
    font-size: 15px;
  }

  .category-top-widget__features li,
  .category-top-widget__primary,
  .category-top-widget__secondary {
    font-size: 14px;
  }

  .category-top-widget__actions,
  .category-top-widget__question,
  .category-top-widget__primary,
  .category-top-widget__secondary {
    width: 100%;
  }
}
