.elementor-15 .elementor-element.elementor-element-3c258df{--display:flex;}.elementor-15 .elementor-element.elementor-element-c7e7e03{padding:10px 10px 10px 10px;}.elementor-15 .elementor-element.elementor-element-5d30be8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-15 .elementor-element.elementor-element-1bcee15{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-15 .elementor-element.elementor-element-8015894{--display:flex;}@media(max-width:1024px){.elementor-15 .elementor-element.elementor-element-3c258df{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-15 .elementor-element.elementor-element-c7e7e03{padding:15px 15px 15px 15px;}}@media(min-width:768px){.elementor-15 .elementor-element.elementor-element-3c258df{--content-width:800px;}}@media(max-width:1024px) and (min-width:768px){.elementor-15 .elementor-element.elementor-element-3c258df{--content-width:625px;}}@media(max-width:767px){.elementor-15 .elementor-element.elementor-element-3c258df{--content-width:600px;--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}.elementor-15 .elementor-element.elementor-element-c7e7e03{padding:12px 12px 12px 12px;}}/* Start custom CSS for html, class: .elementor-element-8990d70 */.puertas-adviento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 3px;          /* espacio horizontal y vertical en desktop */
  justify-items: center;
  align-items: center;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 40px;
}

.puerta img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.puerta img:hover {
  transform: scale(1.1);
}

/* Modal */
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.modal-content {
  background-color: transparent;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#regalo-img {
  width: auto;
  height: auto;
  max-width: 90% !important;
  max-height: 90% !important;
  display: block;
  margin: 30px auto 0;
  object-fit: contain;
}

/* TABLET: 3 por fila, centradas y más grandes */
@media (max-width: 1024px) and (min-width: 768px) {

  .puertas-adviento {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;            /* un poquito más de espacio */
    padding-left: 0;
    padding-right: 0;
  }

  .puerta {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .puerta img {
    width: 82%;   /* << AUMENTÉ EL TAMAÑO AQUÍ */
    height: auto;
    margin: 0 auto;
  }
}




/* -------------- MOBILE (ajustes generales de gap) -------------- */
@media (max-width: 768px) {
  .puertas-adviento {
    grid-template-columns: repeat(3, 1fr); /* 3 por fila */
    padding-left: 5px;
    padding-right: 5px;
    column-gap: 2px;   /* poco espacio horizontal */
    row-gap: 0;        /* MÍNIMO espacio vertical manejado por margin */
  }

  /* Aquí comprimimos TODAS las filas */
  .puerta {
    margin-bottom: -8px; /* reduce el espacio entre renglones en general */
  }

  #regalo-img {
    max-width: 90% !important;
    max-height: 90% !important;
  }
}

/* ---------------------------------------------------------- */

/* Botón cerrar */
.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}/* End custom CSS */