.poster-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.poster-text {
  margin-top: 8px;
  color: #121212;
  font-size: 1.0rem;
  line-height: 1.4;
   font-weight: 600;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.overflow-hidden {
  overflow: hidden;
}

/* -------------------------------- 

Main components 

-------------------------------- */
.cd-main-content {
  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
  min-height: 100%;
  position: relative;
  border-right: 1px solid #000;
  z-index: 2;
  padding-top: 50px;
  padding-bottom: 20px;
   background-color: #FFF;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

.cd-main-content.lateral-menu-is-open {
  /* translate to show the lateral menu - all content needs to be put in the .cd-main-content to translate*/
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}


body.dark-mode .cd-main-content {
  border-right: 1px solid #FFF;
  background-color: #000;
}



@media only screen and (min-width: 768px) {
  .cd-main-content {
    padding-top: 70px;
  }
}

header {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  z-index: 3;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

header.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}

header.is-fixed {
  position: fixed;
}

@media only screen and (min-width: 768px) {
  header {
    height: 70px;
  }
}

header #cd-logo-int {
  width: 172px;
  margin-top: 12px;
  margin-left: 50px;
}

#cd-logo8 img {
  transition: all 0.3s ease;
}

#cd-logo8:hover img {
  content: url('../images/cc-menu2.svg');
}

#cd-logo-int {
  display: block;
  float: left;
  margin: 12px 0 0 20px;
}

#cd-logo-int img {
  display: inline-block;
}

@media only screen and (min-width: 768px) {
  #cd-logo-int {
    margin: 22px 0 0 30px;
  }
}


#cd-menu-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
color: #fff;
}

/* Modo oscuro */


#cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: #000;
  /* these are the upper and lower lines in the menu menu */
}


body.dark-mode #cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */

  background-color: #FFF;
  /* these are the upper and lower lines in the menu menu */
}


#cd-menu-trigger .cd-menu-icon::before,
#cd-menu-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: inherit;
  left: 0;
}

#cd-menu-trigger .cd-menu-icon::before {
  bottom: 5px;
  background-color: #000;
}

#cd-menu-trigger .cd-menu-icon::after {
  top: 5px;
  background-color: #000;
}

#cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}

#cd-menu-trigger.is-clicked .cd-menu-icon::before,
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  background-color: #000;
}


body.dark-mode #cd-menu-trigger .cd-menu-icon::before {
  background-color: #FFF;
}


body.dark-mode #cd-menu-trigger .cd-menu-icon::after {

  background-color: #FFF;
}

body.dark-mode #cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}




#cd-menu-trigger.is-clicked .cd-menu-icon::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}




@media only screen and (min-width: 768px) {
  #cd-menu-trigger {
    width: 110px;
    padding-left: 1.25em;
  }

  #cd-menu-trigger .cd-menu-text {
    display: inline-block;
    line-height: 70px;
  }

  #cd-menu-trigger .cd-menu-icon {
    left: auto;
    right: 1.25em;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

#cd-lateral-nav {
  position: fixed;
  height: 100%;
  right: 0;
  top: 0;
  visibility: hidden;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 260px;
  overflow-y: auto;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
  transition: transform .4s 0s, visibility 0s .4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(80px);
  -moz-transform: translateX(80px);
  -ms-transform: translateX(80px);
  -o-transform: translateX(80px);
  transform: translateX(80px);
}

#cd-lateral-nav .cd-navigation {
  margin: 10px 0 16px;
}

#cd-lateral-nav .sub-menu {
  padding: 0 10px 20px 15px;
  display: none;
}

#cd-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 0 16px 0 32px;
  color: #000;
}

body.dark-mode #cd-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 0 16px 0 32px;
  color: #FFF;
}

body.dark-mode #cd-lateral-nav a:hover {
  background-color: #FFF;
  color: #000;
}

#cd-lateral-nav a.current {
  background-color: #000;
  color: #FFF;
}

body.dark-mode #cd-lateral-nav a.current {
  background-color: #FFF;
  color: #000;
}

.no-touch #cd-lateral-nav a:hover {
  color: #FFF;
  background-color: #000;
}

#cd-lateral-nav #lmc a:hover {
  background-color: transparent;
}

@media only screen and (min-width: 768px) {
  #cd-lateral-nav .cd-navigation {
     margin-top: 50px; /* Margen superior de 20px */
    margin-bottom: 12px; /* Margen inferior de 12px */
  }
}

body.dark-mode #cd-lateral-nav.lateral-menu-is-open {
  border-left: 3px solid #FFF;
}


#cd-lateral-nav.lateral-menu-is-open {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
  transition: transform .4s 0s, visibility 0s 0s;
  /* smooth the scrolling on touch devices - webkit browsers */
  -webkit-overflow-scrolling: touch;
  border-left: 3px solid #000;
}

/* Catálogo */

/* -------------------------------- 

Component 

-------------------------------- */

.container {
  max-width: 1200px;
  /* Ancho máximo del contenedor */
  margin: 0 auto;
  /* Centramos el contenedor horizontalmente */
  padding: 20px;
  /* Añade un poco de espacio alrededor del contenedor */
}

#grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columnas en pantallas grandes */
  gap: 10px;
  /* Espacio entre los elementos */
}

#grid>div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  height: 100%;
  /* Ajusta la altura automáticamente según el contenido */
}

#grid img {
  width: 100%;
  /* La imagen ocupará todo el ancho del contenedor */
  height: auto;
  /* Mantiene la proporción de la imagen */
  max-width: 600px;
  /* Limita el ancho máximo a 600px */
  max-height: 800px;
  /* Limita la altura máxima a 800px */
  object-fit: cover;
  /* Ajusta la imagen para cubrir todo el espacio */
  filter: brightness(1);
}


.description {
  padding-top: 6px;
  padding-bottom: 12px;
}

/* Media Queries para hacer el grid responsivo */

/* Para pantallas medianas (800px o menos) */
@media (max-width: 800px) {
  #grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas en pantallas medianas */
  }

  .titulo{
    margin-top: 16px
}
header #cd-logo-int {
  width: 112px;
  margin-top: 18px;
  margin-left: 40px;
}
}

/* Para pantallas pequeñas (500px o menos) */
@media (max-width: 500px) {

  #grid {
    grid-template-columns: 1fr;
    /* 1 columna en pantallas pequeñas */
  }
}

.item {
  position: relative;
  margin-bottom: 30px;
}

.img-container {
  position: relative;
  overflow: hidden;
}

.img-container img {
  width: 100%;
  transition: transform 0.3s ease;
}

.img-container:hover img {
  transform: scale(1.05) rotate(0deg);
  /* Ajusta el valor del zoom */
}

.img-container p strong{
  color: #FFF;
  font-size: 80%;
}


.hover-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 1.2em;
  font-size: 0.75em;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-container:hover .hover-text {  
  opacity: 1;
}



.cd-pagination {
    text-align: center;
    padding: 20px;
} 
.pagination {
    display: inline-block;
    margin-top: 20px;
}

.pagination .prev, .pagination .next, .pagination .page {
    display: inline-block;
    width: 26px;
    height: 26px;
    text-align: center;
    margin: 0 2px;
    cursor: pointer;
    font-size: 12px;
    border: 1.5px solid #333;
    color: #333;
    background-color: #FFF;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
}

.pagination .page:hover, .pagination .prev:hover, .pagination .next:hover {
    background-color: #333; /* Cambia el color de fondo */
    color: white; /* Cambia el color del texto */
}

.pagination .active {
    background-color: #333;
    color: white;
}


/* Dark Mode */
 
body.dark-mode .pagination .prev, 
body.dark-mode .pagination .next, 
body.dark-mode .pagination .page {
    border-color: #555; /* Bordes claros */
    color: #666; /* Texto claro */
    background-color: #111; /* Fondo más oscuro */
}

body.dark-mode .pagination .page:hover, 
body.dark-mode .pagination .prev:hover, 
body.dark-mode .pagination .next:hover {
    background-color: #333; /* Fondo claro al hacer hover */
    color: #ccc; /* Texto oscuro al hacer hover */
}

body.dark-mode .pagination .active {
    background-color: #333; /* Fondo claro para la página activa */
    color: #ccc; /* Texto oscuro */
}

.tienda i {
  margin-right: 8px;

}

.tienda a {
  font-size: 14px;
  color: #121212;
  font-weight: 400;
  line-height: 24px;
  margin-top: 22px;

}

body.dark-mode .tienda a {
  color: #BBB;

}

.tienda a:hover {
  color: #666;
}

.tienda a spam {
  display: none;
}

.espacio_foot{
  margin-bottom: 46px;
}

.lazy {
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy.loaded {
    opacity: 1;
}




