/*
  Colores de marca: usar variables de :root (components.css + custom.css del sitio).
  No redefinir :root acá: custom.css debe poder cambiar el tema por dominio.
*/

.bannerSlider {
  width: calc(100% - 40px);
  margin: 15px auto 30px auto;
}

.no-yellow-line p::after {
  display: none !important;
}

/* Home, casino y casino en vivo: sin línea amarilla en categorías (Eventos en Vivo en home usa su propio título) */
.index-page .index-lobby .lobby-section-title p::after,
.casino-page .lobby-section-title p::after,
.casino-en-vivo-page .lobby-section-title p::after {
  display: none !important;
}

.home-links-banners {
  margin: 40px auto auto auto !important;
}

.bannerSlider .splide__pagination {
  bottom: 8px !important;
  left: auto !important;
  right: 15px !important;
  width: auto !important;
  padding: 0 !important;
  justify-content: flex-end !important;
}

.bannerSlider .splide__pagination__page {
  background: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  margin: 0 2px !important;
  transition: background 0.3s ease !important;
}

.bannerSlider .splide__pagination__page.is-active {
  background: var(--crmpam-btn-color-primary) !important;
}

@media (max-width: 600px) {
  .bannerSlider {
    width: calc(100% - 40px) !important;
  }

  .bannerSlider .splide__track,
  .bannerSlider .splide__slide,
  .bannerSlider .banner-slide {
    height: auto !important;
    max-height: none !important;
    border-radius: 12px !important;
  }

  .bannerSlider .splide__track {
    overflow: hidden !important;
  }

  .bannerSlider .splide__slide img,
  .bannerSlider .banner-slide img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    display: block;
  }
}

/* WWS Footer Button and 18+ Icon Fix */
.flex-column {
  flex-direction: column;
  align-items: center;
}

.wws-back-to-top {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 25px;
  color: #ffffff;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wws-back-to-top:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.bet-responsibility-icon {
  width: 100px;
  max-width: 100%;
  object-fit: contain;
}

/* WWS Carrousel Customizations */
.provider-slide,
.tag-slide {
  height: 38px;
}

.tag-carrousel-item {
  height: 32px !important;
  padding: 0 12px !important;
}

.provider-slide div {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
}

.provider-slide div img,
.provider-slide div span {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  min-width: 24px;
  min-height: 24px;
}

.provider-slide p,
.tag-carrousel-item p {
  min-width: fit-content !important;
  max-width: max-content !important;
  white-space: nowrap !important;
  font-size: 13px !important;
}

.wws-search-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 16px;
  cursor: text;
  height: 38px;
  flex-shrink: 0;
  margin-right: 15px;
  margin-left: 5px;
  border-radius: 100px;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3) 0%, var(--crmpam-bg-primary) 100%);
}

.wws-search-icon {
  color: var(--crmpam-color-primary, purple);
  font-size: 24px;
}

.wws-search-input {
  background: transparent;
  border: none;
  color: var(--crmpam-white-color, #fff);
  outline: none;
  width: 300px;
  font-size: 15px;
  font-weight: bold;
}

.provider-slide.filterProv_0 p {
  font-size: 0 !important;
}

.provider-slide.filterProv_0 p::after {
  content: 'Todos';
  font-size: 15px;
}

/* Espaciado compacto entre categorías y título más cerca del carrusel de juegos */
.index-page .index-lobby .crmpam-lobby,
.casino-page .crmpam-lobby,
.casino-en-vivo-page .crmpam-lobby {
  margin-bottom: 18px !important;
}

.index-page .index-lobby .lobby-section-title,
.casino-page .lobby-section-title,
.casino-en-vivo-page .lobby-section-title,
.casino-page .lobby-section-title.crmpam-mb20,
.casino-en-vivo-page .lobby-section-title.crmpam-mb20 {
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}

.casino-page .crmpam-filter-providers,
.casino-en-vivo-page .crmpam-filter-providers {
  padding-top: 0 !important;
  padding-bottom: 2px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1200px) {
  .index-page .index-lobby .lobby-section-title,
  .index-page .mejores-container .lobby-section-title,
  .index-page .index-lobby > .crmpam-w100 .lobby-section-title {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }

  .index-page .index-lobby .crmpam-lobby,
  .index-page .mejores-container .crmpam-lobby,
  .index-page .index-lobby > .crmpam-w100 .crmpam-lobby {
    margin-bottom: 8px !important;
  }

  .casino-page .lobby-section-title,
  .casino-en-vivo-page .lobby-section-title,
  .casino-page .lobby-section-title.crmpam-mb20,
  .casino-en-vivo-page .lobby-section-title.crmpam-mb20 {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }

  .casino-page .crmpam-lobby,
  .casino-en-vivo-page .crmpam-lobby {
    margin-bottom: 8px !important;
  }
}

.lobby-section-title p.has-lobby-icon {
  position: relative;
  top: 3px;
}

/* Ocultar flechas y usar scrollbar morado en proveedores */
.crmpam-filter-providers .splide__arrows,
.crmpam-filter-provider .splide__arrows {
  display: none !important;
}

.crmpam-filter-providers .splide__track,
.crmpam-filter-provider .splide__track,
.tagsCarrousel .splide__track {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 10px !important;
}

.crmpam-filter-providers .splide__track::-webkit-scrollbar,
.crmpam-filter-provider .splide__track::-webkit-scrollbar,
.tagsCarrousel .splide__track::-webkit-scrollbar {
  height: 3px;
}

.crmpam-filter-providers .splide__track::-webkit-scrollbar-thumb,
.crmpam-filter-provider .splide__track::-webkit-scrollbar-thumb,
.tagsCarrousel .splide__track::-webkit-scrollbar-thumb {
  background: var(--crmpam-bg-color-custom-1);
  border-radius: 10px;
}

.crmpam-filter-providers .splide__track::-webkit-scrollbar-track,
.crmpam-filter-provider .splide__track::-webkit-scrollbar-track,
.tagsCarrousel .splide__track::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

/* Evitar que el título del lobby choque con el banner en Virtuales */
.static-banner {
  margin-bottom: 80px !important;
}

/* Ocultar los puntitos de paginación del banner en Juegos Virtuales */
.static-banner .splide__pagination {
  display: none !important;
}

/* Ocultar el buscador antiguo globalmente para dejar solo el nuevo */
#loginPopup.crmpam-popup .crmpam-popup-content {
  background: transparent !important;
  box-shadow: none !important;
}

#loginPopup.crmpam-popup .crmpam-popup-content-container {
  box-shadow: 0px 0px 80px 20px color-mix(in srgb, var(--crmpam-bg-color-custom-1) 60%, transparent) !important;
  border-radius: 1.25rem;
  position: relative;
}

#loginPopup.crmpam-popup .crmpam-popup-content-header {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  z-index: 10;
}

#loginPopup.crmpam-popup .crmpam-popup-content-header .close {
  color: rgba(255, 255, 255, 0.8) !important;
}

.FAKE_lobby-section-title p.has-lobby-icon::after {
  left: -35px !important;
  width: 80px !important;
  min-width: 80px !important;
}

/* Header menu smaller text and buttons */
.crmpam-header-menu {
  margin-left: 0px !important;
}

.crmpam-header-menu a {
  margin-right: 10px !important;
  /* Separates each section more */
}

.crmpam-header-menu a>div {
  height: 38px !important;
  min-width: auto !important;
  padding: 0px 14px !important;
}

.crmpam-header-menu a.active-menu-option>div {
  height: 38px !important;
  padding: 0px 16px !important;
}

.crmpam-header-menu p {
  font-size: 14px !important;
}

/* Reduce header vertical padding to move items up */
.crmpam-header-user {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* Search bar wrapper - mobile only (full width row) */
.wws-search-bar-wrapper {
  display: none;
  width: 100%;
  padding: 8px 10px 4px 10px;
}

/* Desktop search bar inside tagsCarrousel - visible by default */
/* Mobile: reorder casino page elements */
/* Mostrar todo button custom styles */
.wws-search-bar-wrapper .wws-search-bar {
  flex: 1;
  margin-left: 0;
  margin-right: 0;
}

/* Desktop search bar inside tagsCarrousel - visible by default */
.wws-search-bar-desktop {
  display: flex;
}

/* Mobile: reorder casino page elements */
@media (max-width: 768px) {
  .casino-page {
    display: flex;
    flex-direction: column;
  }

  /* Buscador primero */
  .casino-page>.wws-search-bar-wrapper {
    order: 1;
  }

  /* Banner debajo del buscador */
  .casino-page>.bannerSlider,
  .casino-page>[class*="bannerSlider"] {
    order: 2;
  }

  /* Tags/proveedores debajo del banner */
  .casino-page>.tagsCarrousel,
  .casino-page>.responsive-tags-carrousel {
    order: 3;
  }

  /* Contenido del lobby al final */
  .casino-page>.crmpam-lobby,
  .casino-page>div:not(.wws-search-bar-wrapper):not(.bannerSlider):not([class*="bannerSlider"]):not(.tagsCarrousel):not(.responsive-tags-carrousel) {
    order: 4;
  }

  .wws-search-bar-wrapper {
    display: flex;
    padding-left: 5px;
  }

  /* Hide the desktop inline search bar on mobile */
  .wws-search-bar-desktop {
    display: none !important;
  }
}

/* Mostrar todo button custom styles */
a.showMoreButton {
  display: flex !important;
  background: #ffffff1a !important;
  align-items: center !important;
  height: auto !important;
  border-radius: .625rem !important;
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  overflow: hidden !important;
  padding: .3125rem 10px .3125rem .625rem !important;
  cursor: pointer !important;
  gap: .3125rem !important;
}

a.showMoreButton:after {
  display: none !important;
}

a.showMoreButton span {
  font-weight: 700 !important;
  font-size: .75rem !important;
  color: #fff !important;
  z-index: 2 !important;
}

@media (max-width: 600px) {
  .lux-machine {
    width: 29vw !important;
    height: 36vw !important;
  }

  .index-page .index-lobby .crmpam-lobby,
  .casino-page .crmpam-lobby,
  .casino-en-vivo-page .crmpam-lobby {
    margin-bottom: 8px !important;
  }

  .crmpam-lobby {
    margin-bottom: 20px !important;
  }

  .splide__arrows {
    display: none !important;
  }
}


.home-links-card-mobile {
  font-size: 16px;
  font-family: Roboto, Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  text-decoration: none;
  list-style: none;
  color: inherit;
  display: flex;
  position: relative;
  width: 100%;
  aspect-ratio: 2.3;
  border-radius: .9375rem;
  background: linear-gradient(279.25deg, transparent 28.59%, var(--crmpam-bg-color-custom-1) 102.15%), linear-gradient(281.65deg, var(--crmpam-bg-color-custom-2) 4%, transparent 52.67%);
}

.home-links-card-mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: .125rem;
  background: linear-gradient(279.25deg, transparent 28.59%, var(--crmpam-bg-color-custom-1) 102.15%), linear-gradient(281.65deg, var(--crmpam-bg-color-custom-2) 4%, transparent 52.67%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}

.home-links-card-mobile__eclipse {
  position: absolute;
  border-radius: 50%;
  top: 0;
  left: 50%;
  width: 68.67%;
  height: .5rem;
  background: var(--crmpam-bg-color-custom-1);
  filter: blur(5px);
  transform: translate(-50%);
  z-index: 1;
  pointer-events: none;
}

.home-links-card-mobile__bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: .9375rem !important;
  z-index: 0 !important;
}

.home-links-card-mobile__icon {
  position: absolute !important;
  top: -24px !important;
  right: -10px !important;
  width: 85px !important;
  height: auto !important;
  z-index: 11 !important;
  pointer-events: none !important;
}

.home-links-card-mobile__content {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 100% !important;
  padding: .625rem .5rem .625rem .75rem !important;
  border-radius: .9375rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  z-index: 1 !important;
}

.home-links-card-mobile__content_type_casino {
  background: center / 100% 100% no-repeat url(/assets/img/home/mobile/casino-bg.png), linear-gradient(180deg, var(--crmpam-bg-color-custom-3), var(--crmpam-bg-primary)) !important;
}

.home-links-card-mobile__content_type_envivo {
  background: center / 100% 100% no-repeat url(/assets/img/home/mobile/casino-bg.png), linear-gradient(180deg, var(--crmpam-bg-color-custom-3), var(--crmpam-bg-primary)) !important;
}

.home-links-card-mobile__title {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #fff !important;
}

.home-links-card-mobile__row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  gap: 4px !important;
}

.home-links-card-mobile__text {
  font-size: 11px !important;
  opacity: 0.85 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.home-links-card-mobile__arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-banner2 a img {
  max-height: 90px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
}

.home-links-card-mobile__arrow svg {
  fill: rgba(255, 255, 255, 0.7) !important;
}

/* Ocultar flechas deshabilitadas en carruseles Splide */
.splide__arrow:disabled {
  display: none !important;
}

/* Mobile Filters Custom Styles (Recuperados del diseño original) */
.wws-mobile-filters-container {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}


.wws-mobile-categories-btn {
  width: 100%;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3) 0%, var(--crmpam-bg-primary) 100%) !important;
  border: none !important;
  border-radius: 6.25rem !important;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: bold;
  font-size: 14px;
}

.wws-mobile-search-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.wws-mobile-search-input-wrapper {
  flex: 1;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3), var(--crmpam-bg-primary)) !important;
  border-radius: .625rem !important;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: none !important;
  height: 38px;
  overflow: hidden;
  user-select: none;
}

.wws-mobile-search-input-wrapper input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border: none !important;
  outline: none !important;
  width: 100%;
  height: 100%;
}

.wws-mobile-search-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.wws-mobile-search-icon {
  color: var(--crmpam-bg-color-custom-1) !important;
  margin-right: 8px;
}

.wws-mobile-filter-icon {
  color: #fff !important;
}

.wws-mobile-search-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
  height: 38px !important;
  padding: 0 1.25rem;
  border-radius: .625rem !important;
  color: #fff !important;
  background: linear-gradient(113.27deg, var(--crmpam-bg-color-custom-2) 15.04%, var(--crmpam-bg-color-custom-1) 84.96%) !important;
  border: none !important;
  outline: none !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: .875rem !important;
  font-weight: 700 !important;
  line-height: 1.125rem;
  text-align: center;
  white-space: nowrap !important;
  transition: all .4s;
}

/* User requested text styles for mobile buttons */
.wws-mobile-categories-btn span,
.provider-slide p,
.tag-slide p {
  min-width: 0 !important;
  color: #ededed !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Forzar visualización del carrusel de proveedores en móvil */
.casino-page .crmpam-filter-providers,
.casino-en-vivo-page .crmpam-filter-providers,
.wws-mobile-provider-container .crmpam-filter-providers {
  display: block !important;
}

/* Ocultar barras de scroll antiestéticas en los contenedores de filtros (que vienen de components.css) */
.crmpam-filter-providers,
.crmpam-filter-tags {
  overflow: visible !important;
  /* Evita que el contenedor padre cree scrollbars */
  overflow-y: hidden !important;
  max-width: 100% !important;
  /* Evita que se corte 40px antes que los demás carruseles */
}

.crmpam-filter-providers::-webkit-scrollbar,
.crmpam-filter-tags::-webkit-scrollbar {
  display: none !important;
}

/* Dynamic toggling for default vs custom layouts */
.wws-custom-component {
  display: block !important;
}

.crmpam-lobby-filter {
  display: none !important;
}

/* PC Search Bar Styles */
.search-filter-slots-desktop__input-wrapper {
  flex-grow: 2;
  height: 32px;
  width: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3), var(--crmpam-bg-primary));
  position: relative;
  padding-left: .938rem;
  border-radius: 6.25rem;
}

.search-filter-slots-desktop__input-wrapper input {
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  outline: none;
  font-size: 14px;
  padding-left: 10px;
}

.live-casino-top-item-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3), var(--crmpam-bg-primary));
  height: 18dvw;
  display: block;
}

.live-casino-top-item-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Visibility Classes for Custom Components (Higher Specificity to override .wws-custom-component) */
@media (max-width: 767px) {

  .wws-custom-component.wws-pc-only,
  .wws-pc-only {
    display: none !important;
  }
}

@media (min-width: 768px) {

  .wws-custom-component.wws-mobile-only,
  .wws-mobile-only {
    display: none !important;
  }
}

/* Games Carousel Mobile Customizations */
.games-carousel-mobile-wrapper {
  padding: 0 10px;
  margin-bottom: 25px;
  /* extra space for pagination lines */
}

/* Line-style pagination for mobile carousel */
.games-carousel-mobile__viewport .splide__pagination {
  bottom: -20px;
  padding: 0 10px !important;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100% !important;
  box-sizing: border-box;
  margin: 0;
  list-style: none;
}

.games-carousel-mobile__viewport .splide__pagination li {
  flex: 1 1 auto;
  display: flex;
}

.games-carousel-mobile__viewport .splide__pagination__page {
  height: 2px;
  width: 100% !important;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0;
  padding: 0;
  border: none;
  opacity: 1;
  transition: background-color 0.3s;
}

.games-carousel-mobile__viewport .splide__pagination__page.is-active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1);
  /* prevent splide default scale on active */
}

/* Background "eclipse" gradient for all mobile views */
@media (max-width: 767px) {
  .crmpam-no-game-content {
    background-color: var(--crmpam-bg-primary) !important;
    background-image: radial-gradient(circle 350px at 100% 30rem, color-mix(in srgb, var(--crmpam-bg-color-custom-1) 60%, transparent) 0%, transparent 70%) !important;
    background-repeat: no-repeat !important;

    /* Scroll properties from reference app */
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: auto;
  }

  .wws-games-carousel-bottom-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 400px;
    background-image: radial-gradient(ellipse 250px 100px at center, color-mix(in srgb, var(--crmpam-bg-color-custom-1) 50%, transparent) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 0;
  }

  .games-carousel-mobile__viewport .splide {
    position: relative;
    z-index: 1;
  }

  /* Allow them to bleed off screen smoothly */
  .crmpam-filter-tags .splide__track,
  .crmpam-filter-providers .splide__track,
  .tagsCarrousel .splide__track {
    overflow: visible !important;
  }

  .tagsCarrousel .crmpam-ph20 {
    padding-right: 0 !important;
  }
}

.live-casino-category-filter-mobile__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem .625rem;
  border-radius: .625rem;
  z-index: 100;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3), var(--crmpam-bg-primary));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  outline: none;
}

.live-casino-category-filter-mobile__item.is-active {
  border: 1px solid var(--crmpam-bg-color-custom-1) !important;
  outline: none;
  background: color-mix(in srgb, var(--crmpam-bg-color-custom-1) 25%, transparent) !important;
}

.live-casino-top-games-mobile__title {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .44rem;
  color: #ededed;
  font-family: Roboto, sans-serif;
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  z-index: 4;
}

.mobile-banner2 {
  justify-content: center;
}




.slots-icon-mobile__star-block {
  font-size: 16px;
  font-family: Roboto, Arial, sans-serif;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
  text-decoration: none;
  list-style: none;
  color: inherit;
  border: none;
  padding: 0;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3), var(--crmpam-bg-primary));
  border-radius: 50%;
  width: 36px;
  height: 36px;
  position: absolute;
  bottom: 1.90rem;
  right: .415rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.slots-icon-mobile__star-block svg {
  width: 45%;
  height: 45%;
}

.slots-icon-mobile__star-unfav,
.slots-icon-mobile__star-fav {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: .2s;
  cursor: pointer;
  top: 0;
  left: 0;
}

/* Desktop: hide heart button by default, show only on hover over the game card */
@media (min-width: 1024px) {
  .lux-machine .slots-icon-mobile__star-block {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .lux-machine:hover .slots-icon-mobile__star-block {
    opacity: 1;
    pointer-events: auto;
  }
}

/* banner-sitio-carousel / banner-sitio-grid: ahora en components.css (valen con SITIO true o false) */

/* Selector de categorías (mobile) — lista dropdown via portal */
.wws-mobile-cat-list {
  position: fixed;
  z-index: 10050;
  width: 9.6875rem;
  min-width: 9.6875rem;
  max-height: 14.375rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.3125rem 0.625rem;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0;
  border-radius: 0.625rem;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3) 0%, var(--crmpam-bg-primary) 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.wws-mobile-cat-list__item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem;
  width: 100% !important;
  min-height: 2rem;
  padding: 0.45rem 0;
  margin: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  box-sizing: border-box;
}

.wws-mobile-cat-list__item--active {
  color: #fff;
  font-weight: 600;
}

.wws-mobile-cat-list__icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.wws-mobile-cat-list__icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.65;
}

.wws-mobile-cat-list__item--active .wws-mobile-cat-list__icon img {
  opacity: 1;
}

.wws-mobile-cat-list__label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wws-mobile-cat-list__divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0.15rem 0;
  flex-shrink: 0;
}

.wws-mobile-cat-list__empty {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  text-align: center;
}

.wws-mobile-category-selected-btn {
  position: relative;
  justify-content: center;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.wws-mobile-category-selected-btn__label {
  flex: 1;
  text-align: center;
  width: 100%;
}

.wws-mobile-category-selected-btn__icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
}

/* Categoría del selector: grilla 3 columnas en móvil, 9 en desktop */
.crmpam-lobby-provider-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px;
  padding: 0 8px 24px;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 1000px) {
  .crmpam-lobby-provider-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  }
}

.crmpam-lobby-provider-grid .lux-machine,
.crmpam-lobby-provider-grid .lux-machine--grid-cell {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1.15;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0;
}

/* Overlay original por encima del AppBar en desktop */
.wws-sitio-layout .crmpam-user-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10010;
}

/* ========================================
   CHANGE PASSWORD — vista full page (SITIO)
   ======================================== */

.change-password-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Deja visible el MobileMenu (navBar-mobile ~56px) */
  bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  z-index: 9992;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  padding: 3.375rem 16px 16px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-family: Roboto, Arial, sans-serif;
  background-color: var(--crmpam-bg-primary);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 100%, color-mix(in srgb, var(--crmpam-bg-color-custom-1) 55%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--crmpam-bg-primary) 0%, var(--crmpam-bg-primary) 40%, var(--crmpam-bg-color-custom-3) 100%);
  background-repeat: no-repeat;
  background-position: bottom, center;
  background-size: 100% 60%, 100% 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .change-password-mobile {
    bottom: 0;
    padding-top: 70px;
    padding-bottom: 40px;
    max-width: 480px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 0;
  }
}

body.change-password-open .header-mobile__content,
body.change-password-open .header-mobile,
body.change-password-open header,
body:has(.change-password-mobile) .header-mobile__content,
body:has(.change-password-mobile) .header-mobile,
body:has(.change-password-mobile) header {
  z-index: 9993 !important;
  position: relative;
}

/* MobileMenu por encima de la vista cambiar contraseña */
@media (max-width: 767px) {
  body.change-password-open .navBar-mobile,
  body.change-password-open .MuiPaper-root.navBar-mobile,
  body:has(.change-password-mobile) .navBar-mobile,
  body:has(.change-password-mobile) .MuiPaper-root.navBar-mobile {
    z-index: 9993 !important;
    position: fixed !important;
    display: block !important;
  }
}

.change-password-mobile__hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.change-password-mobile .back-block {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 12px 0 8px;
  margin: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.change-password-mobile .back-block__arrow {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}

.change-password-mobile .back-block__content {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.change-password-mobile__form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.change-password-mobile__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-top: 8px;
}

.change-password-mobile__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
  cursor: default;
}

.change-password-mobile__item-title {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.change-password-mobile__item-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.change-password-mobile__item-row .change-password-mobile__item-field {
  flex: 1 1 auto;
  min-width: 0;
}

.change-password-mobile__item-field {
  width: 100%;
}

.change-password-mobile .input-mobile {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--crmpam-bg-primary) 85%, transparent);
  border: 1px solid rgba(118, 101, 126, 0.45);
  border-radius: 10px;
  overflow: hidden;
}

.change-password-mobile .input-mobile__native {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 48px 0 14px;
  margin: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

.change-password-mobile .input-mobile__native::placeholder {
  color: #76657e;
  opacity: 1;
}

.change-password-mobile .input-mobile__toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  z-index: 1;
}

.change-password-mobile__generate {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 92px;
  max-width: 100px;
  padding: 6px 8px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-1) 0%, var(--crmpam-bg-color-custom-2) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.change-password-mobile__generate-icon {
  display: flex;
  line-height: 0;
}

.change-password-mobile__button {
  margin-top: 24px;
  width: 100%;
}

.change-password-mobile .button-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-1) 0%, var(--crmpam-bg-color-custom-2) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.change-password-mobile .button-mobile_disabled,
.change-password-mobile .button-mobile:disabled {
  background: color-mix(in srgb, var(--crmpam-bg-color-custom-3) 75%, #000);
  color: rgba(255, 255, 255, 0.55);
  cursor: not-allowed;
  opacity: 1;
}

.change-password-mobile .crmpam-field-error {
  padding: 0;
  margin-top: 4px;
  background: none;
}

.change-password-mobile .crmpam-field-error .MuiAlert-message {
  color: #ff6b6b;
  font-size: 12px;
  padding: 0;
}

/* Crisp móvil: ocultar launcher nativo (resetea bottom al cerrar) y FAB fijo encima del MobileMenu */
@media (max-width: 767px) {
  body.wws-crisp-fab-mode .crisp-client [role="button"][data-maximized="false"] {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .wws-crisp-fab {
    position: fixed;
    right: 14px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    z-index: 9994;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #1972f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .wws-crisp-fab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }

  .wws-crisp-fab__icon svg,
  .wws-crisp-fab__icon img {
    display: block;
    width: 28px;
    height: 28px;
  }

  .wws-crisp-fab:active {
    transform: scale(0.96);
  }
}

@media (min-width: 768px) {
  .wws-crisp-fab {
    display: none !important;
  }
}

/* Popup Términos / Privacidad / Juego responsable (footer)
   custom.css pone background:none en TODOS los .crmpam-popup-content-header (pensado para login). */
.crmpam-popup.flagment-popup .crmpam-popup-content {
  background: linear-gradient(298deg, var(--crmpam-bg-primary) 0%, var(--crmpam-bg-color-custom-1) 100%) !important;
  border-radius: 1.25rem;
  overflow: hidden;
  padding-top: 0;
}

.crmpam-popup.flagment-popup .crmpam-popup-content-header {
  background: linear-gradient(298deg, var(--crmpam-bg-primary) 0%, var(--crmpam-bg-color-custom-1) 100%) !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-bottom: 1px solid color-mix(in srgb, var(--crmpam-color-primary, #fff) 14%, transparent);
  padding: 1.25rem 1.5rem;
  color: var(--crmpam-color-primary, #fff);
}

.crmpam-popup.flagment-popup .crmpam-popup-content-header .crmpam-bold {
  color: var(--crmpam-color-primary, #fff);
  margin: 0;
}

.crmpam-popup.flagment-popup .crmpam-popup-content-header .close {
  color: var(--crmpam-color-primary, #fff) !important;
}

.crmpam-popup.flagment-popup .crmpam-popup-content-container {
  background: linear-gradient(180deg, var(--crmpam-bg-color-custom-3) 0%, var(--crmpam-bg-primary) 100%) !important;
  box-shadow: none;
}