/** Shopify CDN: Minification failed

Line 884:9 Unexpected "setArrowDown("
Line 885:7 Expected ":"
Line 886:7 Expected ":"
Line 894:7 Expected ":"
Line 895:7 Expected ":"

**/
/* pasatiempos-hub.css
   - Banner + filtros en una sola fila
   - Grid desktop + móvil
   - Packs integrados
   - Familias integradas
   - Hover sin recortes
   - Flecha flotante profesional
   - Universal para varios hubs
*/

/* =========================================================
   VARIABLES
   ========================================================= */
:root{
  --ph-max: 1400px;
  --ph-pad-desktop: 32px;
  --ph-pad-mobile: 12px;

  --ph-gap: 16px;

  --ph-filter-font: 18px;
  --ph-filter-font-mobile: 12px;

  --ph-filter-btn-pad-y: 8px;
  --ph-filter-btn-pad-x: 14px;

  --ph-filter-btn-pad-y-mobile: 6px;
  --ph-filter-btn-pad-x-mobile: 9px;

  --ph-banner-maxh: 120px;
  --ph-banner-maxh-mobile: 82px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
html,
body{
  margin: 0;
  padding: 0;
}

body{
  overflow-x: hidden;
}

/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */
.pasatiempos-hub-block{
  position: relative;
  width: 100%;
  overflow: visible !important;
}

.pasatiempos-fullbleed{
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: visible !important;
}

/* =========================================================
   BANNER
   ========================================================= */
.pasatiempos-pageBanner{
  max-width: var(--ph-max);
  margin: 0 auto;
  padding: 0 var(--ph-pad-desktop);
  box-sizing: border-box;
  line-height: 0;
  position: relative;
  z-index: 20;
}

.pasatiempos-pageBanner img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: var(--ph-banner-maxh);
  object-fit: contain;
  margin: 0 auto;
}

/* =========================================================
   FILTROS
   ========================================================= */
.pasatiempos-filter{
  max-width: var(--ph-max);
  margin: 0 auto;
  padding: 0 var(--ph-pad-desktop);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 20;
}

.pasatiempos-filter__row{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pasatiempos-filter__row[aria-label="Filtrar por letras grandes"]{
  justify-content: flex-end;
  text-align: right;
}

.pasatiempos-filter__label{
  width: auto;
  flex: 0 0 auto;
  margin-right: 6px;
  font-size: var(--ph-filter-font);
  font-weight: 100;
  letter-spacing: .04em;
  line-height: 1;
}

.pasatiempos-filter button{
  flex: 0 0 auto;
  font-size: var(--ph-filter-font);
  font-weight: 100;
  padding: var(--ph-filter-btn-pad-y) var(--ph-filter-btn-pad-x);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  color: #111;
  cursor: pointer;
  line-height: 1;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.pasatiempos-filter button:hover{
  transform: translateY(-1px);
}

.pasatiempos-filter button.is-active{
  background: #000;
  color: #fff;
  border-color: #000;
  font-weight: 100 !important;
}

.pasatiempos-filter button:focus{
  outline: 2px solid rgba(0,0,0,.35);
  outline-offset: 2px;
}

.pasatiempos-filter__empty{
  display: none;
  max-width: var(--ph-max);
  margin: 14px auto 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.04);
  font-weight: 100;
  box-sizing: border-box;
}

/* =========================================================
   GRID PRINCIPAL
   ========================================================= */
.pasatiempos-hub__grid{
  max-width: var(--ph-max);
  margin: 14px auto 0;
  padding: 0 var(--ph-pad-desktop);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ph-gap);
  position: relative;
  z-index: 1;
  align-items: start;
}

.pasatiempos-hub__grid--auto{
  justify-content: center;
}

.pasatiempos-hub__item{
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-width: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  will-change: transform, opacity;
}

.pasatiempos-hub__card{
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: visible !important;
}

.pasatiempos-hub__frame{
  position: relative;
  width: 100%;
  overflow: visible !important;
  border-radius: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.pasatiempos-hub__img{
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center;
  margin: 0 auto;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.pasatiempos-hub__item:hover{
  z-index: 20 !important;
}

.pasatiempos-hub__item:hover .pasatiempos-hub__img{
  transform: scale(1.06) !important;
}

.pasatiempos-hub__frame::before,
.pasatiempos-hub__frame::after{
  pointer-events: none;
}

/* =========================================================
   PACKS GRID
   ========================================================= */
.packs{
  width: 100%;
  max-width: var(--ph-max);
  margin: 0 auto;
  padding: 0 var(--ph-pad-desktop);
  box-sizing: border-box;
}

.packs__grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.packs__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  will-change: transform, opacity;
  padding: 0 !important;
  gap: 6px;
}

.packs__media{
  position: relative;
  width: 100%;
  max-width: 180px;
  overflow: visible !important;
  border-radius: 1px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
}

.packs__img{
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center;
  margin: 0 auto !important;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.packs__overlay{
  display: none !important;
}

.packs__label{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.packs__item:hover{
  z-index: 20 !important;
}

.packs__item:hover .packs__img{
  transform: scale(1.06) !important;
}

.packs__media::before,
.packs__media::after{
  pointer-events: none;
}

/* =========================================================
   FAMILIAS INTEGRADO
   ========================================================= */
.familia-hub{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 12px;
  box-sizing: border-box;
}

.familia-hub__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-items: stretch;
  align-items: stretch;
}

.familia-hub__item{
  position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  will-change: transform, opacity;
  opacity: 1;
  transform: none;
}

.familia-hub__card{
  position: relative;
  width: 100%;
  border-radius: 14px;
  background: #fff;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 14px 18px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.familia-hub__frame{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.familia-hub__img{
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
  transform-origin: center center;
  will-change: transform;
}

.familia-hub__label{
  display: none !important;
}

.familia-hub__card:hover .familia-hub__img{
  transform: scale(1.18);
}

.familia-hub__card:focus{
  outline: none;
}

.familia-hub__card:focus-visible{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

/* =========================================================
   TEXTOS
   ========================================================= */
.pasatiempos-hub__label,
.pasatiempos-hub__title{
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  border: 0 !important;
}

.pasatiempos-hub__label{
  display: none !important;
}

.pasatiempos-hub__title{
  display: block !important;
  margin-top: 8px !important;
  text-align: center !important;
font-size: clamp(16px, 1.6vw, 22px) !important;
  line-height: 1.2 !important;
  font-weight: 100 !important;
  text-decoration: none !important;
  color: inherit !important;
}

.pasatiempos-hub--revistas-juego .pasatiempos-hub__label,
.pasatiempos-hub--revistas-juego .pasatiempos-hub__title{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   HOVER INTELIGENTE
   ========================================================= */

/* Estado normal, nada gris al entrar */
.pasatiempos-hub__grid .pasatiempos-hub__item,
.packs__grid .packs__item{
  opacity: 1 !important;
  transform: none !important;
}

/* Hub */
@supports selector(.pasatiempos-hub__grid:has(.pasatiempos-hub__item:hover)) {
  .pasatiempos-hub__grid:has(.pasatiempos-hub__item:hover) .pasatiempos-hub__item:not(:hover){
    opacity: 0.40 !important;
    transform: scale(0.92) !important;
  }

  .pasatiempos-hub__grid .pasatiempos-hub__item:hover{
    opacity: 1 !important;
    transform: none !important;
    z-index: 20 !important;
  }
}

/* Packs */
@supports selector(.packs__grid:has(.packs__item:hover)) {
  .packs__grid:has(.packs__item:hover) .packs__item:not(:hover){
    opacity: 0.40 !important;
    transform: scale(0.92) !important;
  }

  .packs__grid .packs__item:hover{
    opacity: 1 !important;
    transform: none !important;
    z-index: 20 !important;
  }
}

/* Familias */
@supports selector(.familia-hub__grid:has(.familia-hub__item:hover)) {
  .familia-hub__grid .familia-hub__item{
    opacity: 1 !important;
    transform: none !important;
  }

  .familia-hub__grid:has(.familia-hub__item:hover) .familia-hub__item:not(:hover){
    transform: scale(0.92) !important;
    opacity: 0.40 !important;
  }

  .familia-hub__grid:has(.familia-hub__item:hover) .familia-hub__item:hover{
    transform: none !important;
    opacity: 1 !important;
    z-index: 5;
  }
}

@supports not selector(.familia-hub__grid:has(.familia-hub__item:hover)) {
  .familia-hub__item{
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   FLECHA FLOTANTE PROFESIONAL
   ========================================================= */
.pasatiempos-arrow{
  position: fixed !important;
  left: 50% !important;
  bottom: 20px !important;
  transform: translateX(-50%) !important;
  width: 52px !important;
  height: 52px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(17,17,17,.88) !important;
  color: #fff !important;
  backdrop-filter: blur(10px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
  box-shadow:
    0 10px 30px rgba(0,0,0,.28),
    0 2px 8px rgba(0,0,0,.12) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  cursor: pointer;
  user-select: none;
  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.pasatiempos-arrow:hover{
  transform: translateX(-50%) translateY(-2px) !important;
  background: rgba(0,0,0,.94) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.34),
    0 4px 10px rgba(0,0,0,.14) !important;
}

.pasatiempos-arrow:active{
  transform: translateX(-50%) scale(.97) !important;
}

.pasatiempos-arrow:focus,
.pasatiempos-arrow:focus-visible{
  outline: none !important;
  box-shadow:
    0 0 0 4px rgba(225,6,0,.22),
    0 10px 30px rgba(0,0,0,.28) !important;
}

.pasatiempos-arrow svg{
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.pasatiempos-arrow svg path{
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.35 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.pasatiempos-arrow[hidden]{
  display: none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .pasatiempos-hub__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .packs__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 749px){
  :root{
    --ph-pad-mobile: 12px;
    --ph-gap: 10px;
    --ph-filter-font-mobile: 12px;
    --ph-filter-btn-pad-y-mobile: 6px;
    --ph-filter-btn-pad-x-mobile: 9px;
    --ph-banner-maxh-mobile: 82px;
  }

  .pasatiempos-pageBanner{
    padding-left: var(--ph-pad-mobile) !important;
    padding-right: var(--ph-pad-mobile) !important;
    margin-bottom: 2px;
  }

  .pasatiempos-pageBanner img{
    width: 100% !important;
    max-width: 100% !important;
    max-height: var(--ph-banner-maxh-mobile) !important;
    margin: 0 auto !important;
  }

  .pasatiempos-filter{
    padding-left: var(--ph-pad-mobile) !important;
    padding-right: var(--ph-pad-mobile) !important;
    gap: 8px !important;
    row-gap: 8px !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  .pasatiempos-filter__row{
    gap: 6px !important;
  }

  .pasatiempos-filter__label{
    width: auto !important;
    font-size: var(--ph-filter-font-mobile) !important;
    line-height: 1 !important;
    margin-right: 4px !important;
  }

  .pasatiempos-filter button{
    font-size: var(--ph-filter-font-mobile) !important;
    padding: var(--ph-filter-btn-pad-y-mobile) var(--ph-filter-btn-pad-x-mobile) !important;
    line-height: 1 !important;
  }

  .pasatiempos-filter__empty{
    margin-top: 10px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  .pasatiempos-hub__grid{
    padding-left: var(--ph-pad-mobile) !important;
    padding-right: var(--ph-pad-mobile) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  .packs{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .packs__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
  }

  .packs__media{
    max-width: 140px !important;
  }

  .packs__item:hover .packs__img,
  .pasatiempos-hub__item:hover .pasatiempos-hub__img{
    transform: scale(1.03) !important;
  }

  .familia-hub{
    padding: 0 16px;
  }

  .familia-hub__grid{
    gap: 14px;
  }

  .familia-hub__card{
    padding: 12px 14px;
  }

  .familia-hub__card:hover .familia-hub__img{
    transform: scale(1.14);
  }

  .pasatiempos-arrow{
    width: 48px !important;
    height: 48px !important;
    bottom: 16px !important;
  }

  .pasatiempos-arrow svg{
    width: 20px !important;
    height: 20px !important;
  }
}

@media (max-width: 480px){
  :root{
    --ph-pad-mobile: 10px;
    --ph-gap: 8px;
    --ph-filter-font-mobile: 11px;
    --ph-banner-maxh-mobile: 74px;
  }

  .pasatiempos-pageBanner{
    padding-left: var(--ph-pad-mobile) !important;
    padding-right: var(--ph-pad-mobile) !important;
  }

  .pasatiempos-filter{
    gap: 6px !important;
    row-gap: 6px !important;
  }

  .pasatiempos-filter__row{
    gap: 5px !important;
  }

  .pasatiempos-filter button{
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  .pasatiempos-hub__grid{
    gap: 8px !important;
  }

  .packs{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .packs__grid{
    gap: 16px 10px !important;
  }

  .packs__media{
    max-width: 128px !important;
  }

  .pasatiempos-arrow{
    width: 38px !important;
    height: 38px !important;
    bottom: 12px !important;
  }
}

.pasatiempos-arrow{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  margin: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.pasatiempos-arrow:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.pasatiempos-arrow:active{
  transform: translateY(0);
}

.pasatiempos-arrow[hidden]{
  display: none !important;
}

.pasatiempos-arrow__img{
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;

  transform: rotate(180deg);
  transform-origin: center;

  opacity: 0.95;
  filter:
    drop-shadow(0 0 0 rgba(255,255,255,0))
    drop-shadow(0 0 4px rgba(255,255,255,0.10));

  animation: pasatiemposArrowFlash 2.4s ease-in-out infinite;
}

@keyframes pasatiemposArrowFlash{
  0%{
    opacity: 0.88;
    filter:
      drop-shadow(0 0 0 rgba(255,255,255,0))
      drop-shadow(0 0 4px rgba(255,255,255,0.08));
  }
  50%{
    opacity: 1;
    filter:
      drop-shadow(0 0 6px rgba(255,255,255,0.18))
      drop-shadow(0 0 10px rgba(255,255,255,0.10));
  }
  100%{
    opacity: 0.88;
    filter:
      drop-shadow(0 0 0 rgba(255,255,255,0))
      drop-shadow(0 0 4px rgba(255,255,255,0.08));
  }
}

@media screen and (max-width: 749px){
  .pasatiempos-arrow{
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }

  .pasatiempos-arrow__img{
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce){
  .pasatiempos-arrow,
  .pasatiempos-arrow__img{
    animation: none !important;
    transition: none !important;
  }
}
function setArrowDown(arrow) {
  arrow.dataset.mode = 'down';
  arrow.innerHTML =
    '<img ' +
      'src="/cdn/shop/files/Logo2_Siglas_Color_blancoH.svg" ' +
      'alt="" ' +
      'class="pasatiempos-arrow__img" ' +
      'loading="eager" ' +
      'decoding="async"' +
    '>';
  arrow.setAttribute('aria-label', 'Bajar');
  arrow.title = 'Bajar';
}