/* ============= FILTRE RAPIDE (TOP BAR) ============= */
/* cz-filter.css */
.cz-filter-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  opacity: 0;
  transition: opacity .15s ease-out;
}

.cz-filter-bar-visible {
  visibility: visible !important;
  opacity: 1;
}

.cz-filter-bar--light {
  background: #ffffff;
  padding: .5rem 0;
  border-radius: 999px;
}

/* butoane icon (filtru + search) */

.cz-filter-icon {
  line-height: 1;
}

.cz-filter-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cz-filter-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: #111827;
  stroke-width: 1.8;
  fill: none;
}

.cz-filter-icon-btn:hover svg {
  stroke: #f59e0b;
}

/* badge număr filtre */

.cz-filter-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* chips scrollabile */

.cz-filter-chips-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}

.cz-filter-chips-scroll::-webkit-scrollbar {
  display: none;
}

.cz-filter-chips {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: .5rem;
}

.cz-chip {
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  padding: .35rem .75rem;
  font-size: .85rem;
  cursor: pointer;
  background: #ffffff;
  white-space: nowrap;
}

.cz-chip.is-active {
  border-color: #26404D;
  background: #26404D;
  color: #ffffff;
}

/* fade hint dreapta */
/* WRAPPER fix, nu se mișcă */
.cz-filter-chips-outer {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* ascundem ce iese din scroll */
}

/* containerul care scrollează */
.cz-filter-chips-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 40px;
  /* spațiu după ultimul chip */
}

.cz-filter-chips-scroll::-webkit-scrollbar {
  display: none;
}

/* fade / shadow în dreapta – stă pe wrapper, deci NU se mișcă */
.cz-filter-chips-outer::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 32px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0),
      #ffffff);
  z-index: 9;
  opacity: 0;
  transition: opacity .2s;
}

/* arătăm fade-ul doar când avem overflow și nu suntem la capăt */
.cz-filter-chips-outer.has-overflow:not(.is-end)::after {
  opacity: 1;
}

/* liniuta de chips-uri */
.cz-filter-chips {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: .5rem;
}

.cz-chip {
  flex: 0 0 auto;
  white-space: nowrap;
}



/* "Șterge filtre" sub bară */
/* Buton "Șterge filtre" mai vizibil */

.cz-filter-clear-all-wrap {
  margin-top: .35rem;
}

.cz-filter-clear-all {
  display: inline-flex;
  align-items: center;
  gap: .35rem;

  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background-color: #ffffff;

  padding: 0.28rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #111827;

  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease,
    box-shadow .15s ease;
}

.cz-filter-clear-all::before {
  content: "×";
  font-size: 0.95rem;
  line-height: 1;
}

.cz-filter-clear-all:hover {
  background-color: #26404D;
  color: #ffffff;
  border-color: rgba(15, 23, 42, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}


/* ============= MODAL FILTRE PRINCIPALE ============= */

.cz-filter-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.cz-filter-modal.is-open {
  display: block;
}

.cz-filter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.cz-filter-modal__panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, 100% - 2rem);
  max-height: 80vh;
  height: 100%;
  background: #26404D;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cz-filter-modal__header,
.cz-filter-modal__footer {
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cz-filter-modal__header .h3 {
  color: #fff;
  margin: 5px 0 0;
}

.cz-filter-modal__body {
  flex: 1;
  padding: .5rem 1rem 1rem;
  overflow-y: auto;
}

/* groupuri filtre */

.cz-filter-group {
  margin-bottom: 1.5rem;
}

.cz-filter-group__header {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #09AE4E;
}

.cz-filter-group__header--inline {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.cz-filter-info-icon {
  font-size: .7rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

/* buton "VEZI MAI MULT" */

.cz-filter-more {
  width: auto;
  text-align: center;
  border-radius: .5rem;
  border: none;
  background: #1f2937;
  color: #e5e7eb;
  font-size: .8rem;
  padding: 10px 20px;
  margin: 1rem auto;
  cursor: pointer;
}

/* checkbox uri generice */

.cz-filter-checkbox {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  cursor: pointer;
}

.cz-filter-checkbox input {
  display: none;
}

.cz-filter-checkbox__label {
  color: #e5e7eb;
}

.cz-filter-checkbox__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-right: 0;
  margin-left: auto;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0 6px;
  border-radius: 999px;
  background: dimgray;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

/* stil special în interiorul modalului */

#cz-filter-modal .cz-filter-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin: 3px 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

#cz-filter-modal .cz-filter-checkbox:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

#cz-filter-modal .cz-filter-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#cz-filter-modal .cz-filter-checkbox__box {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#cz-filter-modal .cz-filter-checkbox input[type="checkbox"]:checked+.cz-filter-checkbox__box {
  background: rgba(255, 255, 255, 0.2);
}

#cz-filter-modal .cz-filter-checkbox input[type="checkbox"]:checked+.cz-filter-checkbox__box::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #facc15;
  transform: scale(1);
}

#cz-filter-modal .cz-filter-checkbox__label {
  color: #ffffff;
}

/* pills funcții */

#cz-filter-modal .cz-filter-checkbox--pill {
  padding: 5px 12px;
}

#cz-filter-modal .cz-filter-checkbox--pill .cz-filter-checkbox__box {
  display: none;
}

/* stare activă pentru checkbox-uri din modal */

#cz-filter-modal .cz-filter-checkbox--pill:has(input[type="checkbox"]:checked),
#cz-filter-modal .cz-filter-checkbox:has(input[type="checkbox"]:checked) {
  background: rgba(255, 255, 255, 0.06);
  border-color: #facc15;
}

/* grid Teme / Furnizori */

#cz-filter-modal .cz-filter-group--grid .cz-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
}

@media (max-width: 767.98px) {
  #cz-filter-modal .cz-filter-group--grid .cz-filter-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* MOBILE: primele 6 */

@media (max-width: 767.98px) {
  #cz-filter-modal .cz-filter-group--grid:not(.is-expanded) .cz-filter-checkbox:nth-child(n + 7) {
    display: none;
  }
}

/* DESKTOP: primele 9 */

@media (min-width: 768px) {
  #cz-filter-modal .cz-filter-group--grid:not(.is-expanded) .cz-filter-checkbox:nth-child(n + 10) {
    display: none;
  }
}

/* când e expandat => toate */

#cz-filter-modal .cz-filter-group--grid.is-expanded .cz-filter-checkbox {
  display: inline-flex;
}

/* butoane RTP / VOL / FEAT */

.cz-filter-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

#cz-filter-modal .cz-filter-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cz-filter-options-row--wrap {
  flex-wrap: wrap;
}

#cz-filter-modal .cz-option-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.18);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

#cz-filter-modal .cz-option-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#cz-filter-modal .cz-option-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

#cz-filter-modal .cz-option-toggle.is-active {
  background: rgba(255, 255, 255, 0.06);
  border-color: #facc15;
  transform: translateY(-1px);
}

#cz-filter-modal .cz-option-toggle--small {
  padding: 4px 10px;
  font-size: 12px;
}

/* număr pentru RTP / Vol */

.cz-option-count {
  margin-left: 6px;
  font-size: 0.78rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: dimgray;
  color: white;
}

/* butoane footer filtru */

.cz-filter-modal__footer {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
}

.cz-filter-apply-count {
  display: inline-flex;
  margin-left: .4rem;
  padding: 0 .5rem;
  border-radius: 999px;
  background: #16a34a;
  color: #f9fafb;
  font-size: .75rem;
}

/* ============= SEARCH MODAL + REZULTATE ============= */

.cz-search-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.cz-search-modal.is-open {
  display: block;
}

.cz-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.cz-search-modal__panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1040px, 100% - 1.5rem);
  max-height: 80vh;
  background: #26404D;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cz-search-modal__header {
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cz-search-input-wrap {
  flex: 1;
  position: relative;
}

.cz-search-input {
  width: 100%;
  border-radius: 999px;
  border: none;
  background: #020617;
  padding: .5rem 2.25rem .5rem .75rem;
  color: #f9fafb;
  font-size: .9rem;
}

.cz-search-input:focus {
  outline: 2px solid #facc15;
}

.cz-search-clear {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: .9rem;
}

/* iconițe filtre / close în search */

.cz-search-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cz-search-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: #e5e7eb;
  stroke-width: 1.8;
  fill: none;
}

.cz-search-modal__body {
  flex: 1;
  padding: .5rem 1rem 1rem;
  overflow-y: auto;
}

.cz-search-results-meta {
  display: inline-flex;
  margin: 0 0 .5rem;
  font-size: .8rem;
  color: #9ca3af;
}

#cz-search-results-count {
  margin-right: 5px;
}

.cz-search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

@media (max-width: 767.98px) {
  .cz-search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cz-search-card {
  background: #020617;
  border-radius: .75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cz-search-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cz-search-load-more {
  display: block;
  margin: 1rem auto;
  width: auto;
  border-radius: 99px;
  border: none;
  padding: .5rem 1.5rem;
  background: #1f2937;
  color: #e5e7eb;
  font-size: .9rem;
  cursor: pointer;
}

/* taguri furnizori active în search */

.cz-search-active-filters {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 15px 4px;
}

.cz-search-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.cz-search-filter-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.cz-search-filter-chip__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.cz-search-filter-chip__close {
  margin-left: 6px;
  font-size: 12px;
  line-height: 1;
}

/* panel furnizori în search */

.cz-search-providers {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cz-search-providers__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.8;
  color: #fff;
}

.cz-search-provider-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}

.cz-search-provider-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.cz-search-provider-list label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.cz-search-provider-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cz-search-provider-list input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: scale(0);
  transition: transform 0.12s ease-out;
  background: #ffffff;
}

.cz-search-provider-list input[type="checkbox"]:checked {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.cz-search-provider-list input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.cz-search-provider-list label span,
.cz-search-provider-list label {
  color: #ffffff;
}

/* butoane în panel furnizori */

.cz-search-providers__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .cz-search-providers__actions {
    flex-direction: column-reverse;
  }

  .cz-search-providers__actions .cz-btn {
    width: 100%;
  }
}

/* butoane generice (folosite și în filtre) */

.cz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.cz-btn:active {
  transform: translateY(1px);
}

.cz-btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.cz-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
}

.cz-btn--primary {
  border-color: transparent;
  background: #F36720;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.cz-btn--primary:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

/* ============= GRID REZULTATE PRINCIPALE ============= */

.cz-results__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: .5rem 0 .85rem;
}

.cz-results__header-left {
  display: flex;
  flex-direction: column;
}

p.cz-results-count-tag {
  margin: 0 0 0 5px;
  font-size: 14px;
}

/* titlul categoriei filtrate */
.cz-results__category {
  margin: 2px 0 0 5px;
  font-size: 1.35rem;
  color: rgb(32, 53, 64);
  font-weight: 600;
}



.cz-results__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .cz-results__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cz-results__header {
  flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .cz-results__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ============= SECȚIUNI DEFAULT + SLIDERE ============= */



.cz-section__more {
  font-size: .85rem;
  color: #203540;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.cz-section__more-count {
  opacity: .8;
  font-size: .8rem;
}


/* card joc standard */

/* card "Vezi mai multe" */


/* ============= SLIDER FURNIZORI ============= */


/* .cz-provider-card:hover {
  background: #1f2937;
  transform: translateY(-3px);
} */

.cz-provider-card__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

/* .cz-provider-card__logo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.cz-provider-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* .cz-provider-card__logo-placeholder {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fbbf24;
} */


.cz-provider-card__meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0;
  text-align: center;
}

/* ============= SĂGEȚI SLIDER (COMUNE) ============= */


.cz-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%) scale(1.08);
}

.cz-slider-arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* ascundem săgețile pe mobil */

@media (max-width: 768px) {
  .cz-slider-arrow {
    display: none;
  }
}

/* pentru JS (js-hscroll) */

.cz-section.js-hscroll {
  position: relative;
}


/* === "Vezi mai multe" tag în header === */

.cz-more-pill-link {
  text-decoration: none;
}



.cz-more-pill:hover {
  background: #334155;
  transform: translateY(-2px);
}

.cz-more-pill__count {
  font-size: 0.9rem;
  line-height: 1;
}

.cz-more-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



[hidden] {
  display: none !important;
}

/* ascunde tot popup-ul de filtre înainte de JS */
.cz-filter-modal,
.cz-search-modal {
  display: none;
}

/* îl facem vizibil DOAR când are .is-open (JS o adaugă) */
.cz-filter-modal.is-open,
.cz-search-modal.is-open {
  display: block;
}

/* === Scrollbars personalizate (pentru toate panourile cu overflow) === */
.cz-filter-modal__body,
.cz-search-modal__body,
.cz-search-provider-list {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

/* Chrome, Edge, Safari */
.cz-filter-modal__body::-webkit-scrollbar,
.cz-search-modal__body::-webkit-scrollbar,
.cz-search-provider-list::-webkit-scrollbar {
  width: 8px;
}

.cz-filter-modal__body::-webkit-scrollbar-track,
.cz-search-modal__body::-webkit-scrollbar-track,
.cz-search-provider-list::-webkit-scrollbar-track {
  background: transparent;
}

.cz-filter-modal__body::-webkit-scrollbar-thumb,
.cz-search-modal__body::-webkit-scrollbar-thumb,
.cz-search-provider-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cz-filter-modal__body::-webkit-scrollbar-thumb:hover,
.cz-search-modal__body::-webkit-scrollbar-thumb:hover,
.cz-search-provider-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}


#cz-sort {
  width: auto;
  font-size: .75rem;
}


/* === Spinner mic în bara de rezultate search === */

.cz-search-loading {
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
}

.cz-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: #09AE4E;
  animation: cz-spin 0.7s linear infinite;
}

@keyframes cz-spin {
  to {
    transform: rotate(360deg);
  }
}

body.czsf-locked {
  overflow: hidden !important;
  touch-action: none;
}


/* Clear pentru input search – ascuns by default */
#cz-search-clear {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* Devine vizibil doar când inputul are text */
#cz-search-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

section.cz-section.cz-section--category.cz-section--top-jocuri>div .cz-section__slider {
  grid-template-rows: repeat(1, auto);
}



/* Grid static pentru sectiunile care NU mai sunt slider */
.cz-section__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .cz-section__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* --- CARD "MAI MULTE" – varianta dark, integrata cu cardurile de joc --- */

.cz-game-card--more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  /* la fel ca restul cardurilor */
  overflow: hidden;

  /* FUNDAL DARK, NAVY – nu mai alb/gri */
  background: linear-gradient(140deg,
      #1b2b3a 0%,
      #26404D 100%);

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.cz-game-card--more:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.cz-game-card--more a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  padding: 1.3rem 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Icon rotund, discret */
.cz-game-card__more-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .6rem;
}

.cz-game-card__more-inner svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  opacity: 0.9;
  display: block;
  margin: 0 auto;
}

.cz-game-card__more-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  opacity: 0.9;
}

/* Titlu + count */
.cz-game-card__more-title {
  font-size: .9rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
}

.cz-game-card__more-count {
  margin-top: .25rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.8);
}



/* === Card "Vezi toti furnizorii" – stil similar cu cardurile "Vezi mai multe" === */

.cz-provider-card--all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: linear-gradient(140deg, #1b2b3a 0%, #26404D 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);

  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.cz-provider-card--all:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

/* Icon rotund cu plus/minus */

.cz-provider-card--all .cz-provider-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .35rem;
}

.cz-provider-card__toggle-icon {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  margin: 5px auto;
}

.cz-provider-card__toggle-icon svg {
  width: 24px;
  height: 24px;
}

/* styling linii + cerc */

.cz-provider-card__toggle-icon-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.5;
}

.cz-provider-card__toggle-icon-line {
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity 0.15s ease;
}

/* în mod normal: PLUS (ambele linii vizibile) */

.cz-provider-card__toggle-icon-line--v {
  opacity: 1;
}

/* când e expandat (JS adaugă .is-expanded pe buton) => MINUS (ascundem linia verticală) */

.cz-provider-card--all.is-expanded .cz-provider-card__toggle-icon-line--v {
  opacity: 0;
}

/* textul + badge-ul */

.cz-provider-card--all .cz-provider-card__meta {
  font-size: .9rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
}

.cz-provider-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  margin-top: .25rem;
  font-size: .78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

/* ascundem fallback-ul text (+) din cerc, dacă îl mai păstrezi */
.cz-provider-card__more-sign {
  display: none;
}







.cz-filter-clear-all-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}


.cz-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.cz-results__header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cz-sort-select {
  appearance: none;
  background: #1D2935;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.cz-sort-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
}

.cz-filter-clear-all {
  white-space: nowrap;
}