/*! The Golden Club · Compiaz Design · © 2026 */
.woocommerce-product-gallery{ opacity: 1 !important; }
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
				.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
					background-image: none !important;
				}
				@media screen and (max-height: 1024px) {
					.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
					.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
						background-image: none !important;
					}
				}
				@media screen and (max-height: 640px) {
					.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
					.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
						background-image: none !important;
					}
				}
/* Modernes Mosaik (Masonry) Layout */
.custom-mosaic-gallery {
  column-count: 3;
  column-gap: 20px;
  padding: 10px;
}

@media (max-width: 900px) {
  .custom-mosaic-gallery { column-count: 2; }
}
@media (max-width: 600px) {
  .custom-mosaic-gallery { column-count: 1; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Hover-Text / Bildunterschrift */
.gallery-item .image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-sizing: border-box;
}

.gallery-item:hover .image-caption {
  transform: translateY(0);
}

/* Lightbox / Vollbild-Ansicht - FIX für den Header */
.custom-lightbox {
  display: none;
  position: fixed;
  z-index: 99999999 !important; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* Damit Text unter dem Bild stehen kann */
}

.custom-lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none; 
}

.custom-lightbox.show .lightbox-content {
  transform: scale(1);
}

/* Text in der Lightbox */
.lightbox-caption {
  color: #fff;
  margin-top: 15px;
  text-align: center;
  max-width: 80vw;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s; /* Leicht verzögert einblenden */
}

.custom-lightbox.show .lightbox-caption {
  opacity: 1;
}


/* Navigation Buttons */
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #ffffff;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
  user-select: none;
}

.lightbox-close {
  top: 20px;
  right: 30px;
  font-size: 50px;
  line-height: 1;
}

.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  padding: 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  color: #cccccc;
  background: rgba(0,0,0,0.6);
}

/* Verstecke Pfeile auf sehr kleinen Bildschirmen */
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { display: none; }
}
.path{fill:none;stroke:#333;stroke-miterlimit:10;stroke-width:1.5px;}
.path{fill:none;stroke:#333;stroke-miterlimit:10;stroke-width:1.5px;}
.mfn-sidemenu-834-active #Wrapper{transition: 0.5s; pointer-events: none;}.mfn-sidemenu-834-active body.mobile-side-slide{overflow-x: hidden;}.mfn-sidemenu-834-active #Wrapper{filter: blur(6px); overflow: hidden;}.mfn-sidemenu-834-active body:before{content: ""; position: fixed; top: 0; left: 0; z-index: 10000; display: block; width: 100%; height: 100%; background-color: rgba(0,60,157,0.7); transition: 0.5s;}#mfn-sidemenu-tmpl-834{background-color:#F1F4FA;--mfn-sidemenu-width:300px;}#mfn-sidemenu-tmpl-834 .mfn-sidemenu-closebutton{color:#002A7D;background-color:#D7FC69;}@media(max-width: 959px) {#mfn-sidemenu-tmpl-834{--mfn-sidemenu-width:200px;}}@media(max-width: 767px) {#mfn-sidemenu-tmpl-834{--mfn-sidemenu-width:470px;--mfn-sidemenu-closebutton-size:40px;--mfn-sidemenu-closebutton-font-size:20px;}}
.mfn-sidemenu-833-active #Wrapper{transition: 0.5s; pointer-events: none;}.mfn-sidemenu-833-active body.mobile-side-slide{overflow-x: hidden;}.mfn-sidemenu-833-active #Wrapper{filter: blur(6px); overflow: hidden;}.mfn-sidemenu-833-active body:before{content: ""; position: fixed; top: 0; left: 0; z-index: 10000; display: block; width: 100%; height: 100%; background-color: rgba(0,60,157,0.7); transition: 0.5s;}#mfn-sidemenu-tmpl-833{--mfn-sidemenu-width:1550px;--mfn-sidemenu-closebutton-size:73px;--mfn-sidemenu-closebutton-font-size:24px;}#mfn-sidemenu-tmpl-833 .mfn-sidemenu-closebutton{color:#002A7D;background-color:#D7FC69;}@media(max-width: 959px) {#mfn-sidemenu-tmpl-833{--mfn-sidemenu-width:760px;--mfn-sidemenu-closebutton-size:50px;--mfn-sidemenu-closebutton-font-size:16px;}}
#rs-demo-id {}
