
/* ............................................................................. */

/* ..... MOJ PopUp_JL, ktory pouzivame napr. na EASYLIGHT.SK - na VELKOST TOPANOK  ......  */

/* ............................................................................. */



/* === ŠTÝL PRE HLAVNÉ TLAČIDLO, ak treba, ALE MOZEM POUZIVAT ROVNAKE AKO VYSSIE napr. "buttonCATEGORYred" === */

.popup-button_JL {
  background-color: #f80120;
  color: white;
  padding: 12px 28px;
  font-size: 14px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-button_JL:hover {
  background-color: #bb0101;
}


/* === POPUP OVERLAY === */
.popup-overlay_JL {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999 !important;
  overflow: auto;
}

/* === POPUP OKNO === */
.popup-content_JL {
  background-color: #f9f9f9;
  border-radius: 30px;
  padding: 24px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;

  max-height: 90vh;
  overflow-y: auto;
}

/* === TLAČIDLO NA ZATVORENIE === */
.popup-close_JL {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* === OBRÁZKY === */
.popup-images_JL {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.popup-images_JL img {
  width: 100%;
  max-width: 48%;
  border-radius: 0px;
}

/* === AK JE VIAC AKO 2 OBRÁZKY === */
.popup-images_JL.more-than-two img {
  max-width: 100%;
}

/* === DVE TLAČIDLÁ V POPUPE === */
.button-row_center_popup_JL {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

.buttonred_popup_JL,
.buttonblack_popup_JL {
  background-color: transparent;
  color: inherit !important;
  border-radius: 32px;
  padding: 12px 32px;
  font-size: 14px;
  text-decoration: none !important;
  cursor: pointer;
  transition: 0.4s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.buttonred_popup_JL {
  background-color: #f80120;
  color: white !important;
}

.buttonred_popup_JL:hover {
  background-color: #bb0101;
}

.buttonblack_popup_JL {
  background-color: black;
  color: white !important;
}

.buttonblack_popup_JL:hover {
  background-color: gray !important;
  color: white !important;
}

/* === RESPONZÍVNE === */
@media (max-width: 600px) {
  .popup-images_JL {
    flex-direction: column;
  }

  .popup-images_JL img {
    max-width: 100%;
  }

  .popup-images_JL.more-than-two {
    flex-direction: column;
  }

  .button-row_center_popup_JL {
    justify-content: center;
    gap: 12px;
  }

  .button-row_center_popup_JL a {
    padding: 10px 8vw;
    font-size: 14px;
  }
}

