.wgt-table-wrap {
  --wgt-font-family: var(--wgt-font-family, inherit);
  --wgt-surface: var(--wgt-surface-color, var(--wp--preset--color--base, #ffffff));
  --wgt-surface-2: var(--wgt-surface-alt-color, rgba(127, 127, 127, 0.08));
  --wgt-card-bg: var(--wgt-card-bg-color, var(--wgt-surface));
  --wgt-card-bg-2: var(--wgt-card-bg-soft-color, var(--wgt-surface-2));
  --wgt-text: var(--wgt-text-color, var(--wp--preset--color--foreground, currentColor));
  --wgt-text-soft: var(--wgt-text-soft-color, color-mix(in srgb, var(--wgt-text) 68%, transparent));
  --wgt-heading: var(--wgt-heading-color, var(--wgt-text));
  --wgt-border: var(--wgt-border-color, color-mix(in srgb, var(--wgt-text) 12%, transparent));
  --wgt-accent: var(--wgt-accent-color, var(--wp--preset--color--primary, #2563eb));
  --wgt-accent-hover: var(--wgt-accent-hover-color, color-mix(in srgb, var(--wgt-accent) 82%, black));
  --wgt-btn-text: var(--wgt-btn-text-color, #ffffff);
  --wgt-radius-xl: 18px;
  --wgt-radius-lg: 14px;
  --wgt-radius-md: 12px;
  margin: 24px 0;
  color: var(--wgt-text);
  font-family: var(--wgt-font-family);
}

.wgt-table-title {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--wgt-heading);
}

.wgt-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wgt-cards-grid--sidebar {
  grid-template-columns: 1fr;
  gap: 16px;
}

.wgt-cards-grid--compact {
  grid-template-columns: 1fr;
  gap: 12px;
}

.wgt-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wgt-border);
  border-radius: var(--wgt-radius-lg);
  background: var(--wgt-card-bg);
  color: var(--wgt-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.wgt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 38%);
}

.wgt-card-top {
  padding: 14px;
}

.wgt-card-bottom {
  padding: 0 14px 14px;
  text-align: center;
}

.wgt-card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-align: center;
}

.wgt-logo {
  width: 92px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: color-mix(in srgb, var(--wgt-surface) 92%, white 8%);
  padding: 4px 8px;
  flex: 0 0 auto;
}

.wgt-card-brand-text {
  min-width: 0;
}

.wgt-name {
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--wgt-heading);
}

.wgt-rating {
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--wgt-text-soft);
}

.wgt-bonus {
  display: block;
  margin: 0;
  padding: 14px 12px;
  border: 1px solid var(--wgt-border);
  border-radius: var(--wgt-radius-md);
  background: var(--wgt-card-bg-2);
  color: var(--wgt-text);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  white-space: pre-line;
}

.wgt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--wgt-accent);
  color: var(--wgt-btn-text);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.wgt-btn:hover,
.wgt-btn:focus {
  background: var(--wgt-accent-hover);
  color: var(--wgt-btn-text);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.wgt-empty {
  padding: 16px;
  border: 1px solid var(--wgt-border);
  border-radius: var(--wgt-radius-lg);
  background: var(--wgt-surface);
  color: var(--wgt-text-soft);
  font-size: 0.95rem;
}

.wgt-table-wrap--sidebar .wgt-card,
.wgt-cards-grid--sidebar .wgt-card {
  border-radius: 14px;
}

.wgt-table-wrap--sidebar .wgt-card-top,
.wgt-cards-grid--sidebar .wgt-card-top {
  padding: 14px 14px 12px;
}

.wgt-table-wrap--sidebar .wgt-card-bottom,
.wgt-cards-grid--sidebar .wgt-card-bottom {
  padding: 0 14px 14px;
}

.wgt-table-wrap--sidebar .wgt-card-brand,
.wgt-cards-grid--sidebar .wgt-card-brand {
  gap: 8px;
  margin-bottom: 12px;
}

.wgt-table-wrap--sidebar .wgt-logo,
.wgt-cards-grid--sidebar .wgt-logo {
  width: 74px;
  height: 30px;
}

.wgt-table-wrap--sidebar .wgt-name,
.wgt-cards-grid--sidebar .wgt-name {
  font-size: 0.9rem;
}

.wgt-table-wrap--sidebar .wgt-bonus,
.wgt-cards-grid--sidebar .wgt-bonus {
  padding: 12px 10px;
  font-size: 0.9rem;
}

.wgt-table-wrap--sidebar .wgt-btn,
.wgt-cards-grid--sidebar .wgt-btn {
  min-height: 40px;
  font-size: 0.875rem;
}

.wgt-table-wrap--compact .wgt-cards-grid,
.wgt-cards-grid--compact {
  gap: 12px;
}

.wgt-table-wrap--compact .wgt-card,
.wgt-cards-grid--compact .wgt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.wgt-table-wrap--compact .wgt-card-top,
.wgt-cards-grid--compact .wgt-card-top {
  padding: 12px;
}

.wgt-table-wrap--compact .wgt-card-bottom,
.wgt-cards-grid--compact .wgt-card-bottom {
  padding: 0 12px 12px;
}

.wgt-table-wrap--compact .wgt-bonus,
.wgt-cards-grid--compact .wgt-bonus {
  font-size: 0.9rem;
  padding: 10px;
}

.wgt-disclaimer-wrap {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--wgt-border);
  background: var(--wgt-surface);
  border-radius: var(--wgt-radius-lg);
  color: var(--wgt-text);
  font-family: inherit;
}

.wgt-disclaimer-title {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--wgt-heading);
}

.wgt-disclaimer-text {
  color: var(--wgt-text-soft);
  font-size: 0.875rem;
  line-height: 1.55;
}

.wgt-disclaimer-text p:last-child {
  margin-bottom: 0;
}

.wgt-disclaimer--default {
  border-color: var(--wgt-border);
  background: var(--wgt-surface);
}

.wgt-disclaimer--soft {
  background: color-mix(in srgb, var(--wgt-surface) 88%, var(--wgt-accent) 12%);
}

.wgt-disclaimer--accent {
  background: color-mix(in srgb, var(--wgt-surface) 76%, var(--wgt-accent) 24%);
}

.wgt-disclaimer--type-affiliate {
  border-left: 4px solid var(--wgt-accent);
}

.wgt-disclaimer--type-responsible {
  border-left: 4px solid #ef4444;
}

.wgt-disclaimer--type-editorial {
  border-left: 4px solid #94a3b8;
}

.wgt-rating {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--wgt-text-soft);
}

.wgt-rating-star {
  color: #f5b301;
  font-size: 0.9em;
  line-height: 1;
}

.wgt-rating-value {
  line-height: 1;
}

.wgt-review-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--wgt-accent);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 600;
}

.wgt-review-link:hover,
.wgt-review-link:focus {
  color: var(--wgt-accent-hover);
  text-decoration: underline;
}

.wgt-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wgt-carousel-window {
  overflow: hidden;
  flex: 1 1 auto;
}

.wgt-cards-grid--cards {
  --wgt-visible-cards: 4;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wgt-cards-grid--cards::-webkit-scrollbar {
  display: none;
}

.wgt-cards-grid--cards > .wgt-card {
  flex: 0 0 calc((100% - (18px * (var(--wgt-visible-cards) - 1))) / var(--wgt-visible-cards));
  min-width: 240px;
}

.wgt-carousel-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wgt-border);
  border-radius: 999px;
  background: var(--wgt-surface);
  color: var(--wgt-heading);
  cursor: pointer;
  flex: 0 0 42px;
}

.wgt-carousel-arrow:hover,
.wgt-carousel-arrow:focus {
  border-color: var(--wgt-accent);
  color: var(--wgt-accent);
}

.wgt-card--horizontal .wgt-logo {
  width: 120px;
  height: 46px;
}

.wgt-card--horizontal .wgt-card-brand {
  min-height: 86px;
}

.wgt-compact-table {
  display: grid;
  gap: 10px;
}

.wgt-compact-row {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--wgt-border);
  border-radius: 12px;
  background: var(--wgt-card-bg);
}

.wgt-compact-main {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wgt-compact-logo {
  width: 72px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 72px;
}

.wgt-compact-content {
  min-width: 0;
  flex: 1 1 auto;
}

.wgt-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wgt-compact-bonus {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--wgt-text-soft);
}

.wgt-compact-actions {
  display: grid;
  gap: 8px;
}

.wgt-btn--compact {
  min-height: 38px;
  font-size: 0.875rem;
}

.wgt-card-brand--wide-logo {
  width: 100%;
}

.wgt-logo--wide {
  width: 100%;
  max-width: 160px;
  height: 42px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .wgt-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wgt-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wgt-card-top {
    padding: 12px;
  }

	.wgt-card-bottom {
	  padding: 0 14px 14px;
	  text-align: center;
	}

  .wgt-logo {
    width: 76px;
    height: 30px;
  }

  .wgt-bonus {
    font-size: 0.9rem;
  }
}

@media (max-width: 1100px) {
  .wgt-cards-grid--cards {
    gap: 14px;
  }

  .wgt-cards-grid--cards > .wgt-card {
    flex-basis: calc((100% - 14px) / 2);
    min-width: 220px;
  }
}

@media (max-width: 767px) {
  .wgt-carousel {
    gap: 8px;
  }

  .wgt-carousel-arrow {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .wgt-cards-grid--cards > .wgt-card {
    flex-basis: 100%;
    min-width: 100%;
  }
}