.combos-boloes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  margin: -15px 0 -8px;
}

/* O seletor é outro .section-boloes (padding-bottom 1rem / 4rem até a lista). Com combos no meio, zera. */
.section-boloes.lista-padrao:has(+ #section-boloes .combos-boloes),
banner-loterias:has(+ #section-boloes .combos-boloes) .section-boloes {
  padding-bottom: 0;
}

.section-boloes.lista-padrao:has(+ #section-boloes .combos-boloes) .lotery-group--vitrine,
banner-loterias:has(+ #section-boloes .combos-boloes) .lotery-group--vitrine {
  padding-bottom: 8px;
}

.combos-boloes + .ln_topo {
  margin-top: 0;
}

.combos-boloes .combo {
  --bg-a: #3f4bc0;
  --bg-b: #2f3bb3;
  --bg-c: #262f8f;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 2vw, 20px);
  border-radius: 0 13px 13px 13px;
  border: 1px solid var(--bg-c);
  background: linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 48%, var(--bg-c) 100%);
  box-shadow: 0 2px 6px -2px rgba(24, 49, 71, 0.10), 0 1px 2px rgba(24, 49, 71, 0.04);
  transition: box-shadow 0.18s ease;
}

.combos-boloes .combo:hover {
  box-shadow: 0 12px 28px -12px rgba(24, 49, 71, 0.22);
}

.combos-boloes .combo > *:not(.combo-trevo) {
  position: relative;
}

.combos-boloes .combo--todas {
  --bg-a: #763a97;
  --bg-b: #6a2f8c;
  --bg-c: #552670;
}

.combo-trevo {
  position: absolute;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}

.combo-trevo i {
  display: block;
}

.combo-trevo--tr {
  top: -46px;
  right: -40px;
  width: 240px;
  height: 240px;
  gap: 7px;
  transform: rotate(14deg);
}

.combo-trevo--bl {
  bottom: -74px;
  left: -52px;
  width: 170px;
  height: 170px;
  gap: 5px;
  transform: rotate(-9deg);
}

.combo-trevo--tr i:nth-child(1) { background: rgba(255, 255, 255, 0.13); border-radius: 50% 50% 4px 50%; }
.combo-trevo--tr i:nth-child(2) { background: rgba(255, 255, 255, 0.08); border-radius: 50% 50% 50% 4px; }
.combo-trevo--tr i:nth-child(3) { background: rgba(255, 255, 255, 0.08); border-radius: 50% 4px 50% 50%; }
.combo-trevo--tr i:nth-child(4) { background: rgba(255, 255, 255, 0.13); border-radius: 4px 50% 50% 50%; }
.combo-trevo--bl i { background: rgba(255, 255, 255, 0.08); }
.combo-trevo--bl i:nth-child(1) { border-radius: 50% 50% 4px 50%; }
.combo-trevo--bl i:nth-child(2) { border-radius: 50% 50% 50% 4px; }
.combo-trevo--bl i:nth-child(3) { border-radius: 50% 4px 50% 50%; }
.combo-trevo--bl i:nth-child(4) { border-radius: 4px 50% 50% 50%; }

.combo-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.combo-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.combo-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
}

.combo-title {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.combo-desc {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.45;
  max-width: 30ch;
  text-wrap: pretty;
  color: rgba(255, 255, 255, 0.88);
}

.combo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.combo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.combo-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.combo-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
}

.combo-price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.combo-price-sub {
  font-size: 11px;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.82);
}

.btn-combo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 18px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #2f3bb3;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.combos-boloes .combo--todas .btn-combo {
  color: #4a2163;
}

.combos-boloes .btn-combo:hover,
.combos-boloes .combo--todas .btn-combo:hover {
  background: linear-gradient(135deg, #24bb88 0%, #1ca97a 60%, #149069 100%);
  border-color: #14906a;
  color: #fff;
}

.btn-combo:focus-visible {
  outline: 2px solid #14906a;
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .combos-boloes + .ln_topo {
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .combos-boloes {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    margin-top: 4px;
    margin-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .combos-boloes .combo {
    flex: 0 0 calc(100% - 48px);
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    scroll-snap-align: start;
  }

  .combos-boloes .combo:only-child {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  .combo-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-combo {
    width: 100%;
    justify-content: center;
  }

  .combos-boloes + .ln_topo {
    margin-top: 4px;
  }
}
