.slick-prev,
.slick-next {
	color: white !important;
	background-color: #1E3044 !important;
	border-radius:50% !important;
  border: 1px solid #1E3044 !important; 
	padding: .5rem 1rem !important;
}

.slick-prev:hover,
.slick-next:hover {
	color: white !important;
	background-color: #1E3044 !important;
}

.product-gallery {
  width: 500px !important;
  margin: auto;
  height: auto;
}

.product-gallery img {
  width: 100% !important;
  height: 500px !important;
	object-fit: cover;
}

.slider-nav img {
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100px !important;
  object-fit: cover;
}

.slider-nav .slick-current img {
  opacity: 1;
  border: 2px solid #000;
	
}

.slick-prev {
  left: -45px;
	position: absolute;
	bottom: 50%;
}

.slick-next {
	position: absolute;
	bottom: 50%;
	right: -45px;
}

.mfp-arrow-right {
	right: 100px;
}

/* Fond popup */
.mfp-bg {
  z-index: 999999 !important;
}

/* Conteneur popup */
.mfp-wrap {
  z-index: 1000000 !important;
}

.mfp-arrow {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1000001 !important;
	background-color: unset !important;
}

.mfp-arrow:focus {
	outline: none !important;
}

.mfp-close {
	display: none !important;
}


/* === Floorplan === */
.floorplan-wrapper {
    position: relative;
    display: inline-block;
    cursor: zoom-in;
}

.floorplan-image {
    max-width: 100%;
    height: 300px;
    object-fit: contain;
    display: block;
}

.floorplan-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 24px;
    color: #fff;
    background: white;
    padding: 8px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s ease;
}

.floorplan-zoom:hover {
    background: rgba(0,0,0,0.8);
}

.custom-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.25s ease;
}

.custom-lightbox .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.custom-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.custom-lightbox .lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    font-size: 28px;
    padding: 4px 12px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 1360px) {
	  .product-gallery {
		  width: 800px !important;
  }
	
}

@media (max-width: 890px) {
  .product-gallery {
	width: 700px !important;
  }
  .slick-prev {
    left: -25px;
    z-index: 9999;
  }
  .slick-next {
    right: -25px;
    z-index: 9999;
  }
	
	.mfp-arrow-right {
		right: 70px;
	}
}

@media (max-width: 720px) {
	.product-gallery {
	width: 650px !important;
  }
}

@media (max-width: 620px) {
	.product-gallery {
	width: 550px !important;
  }
}

@media (max-width: 576px) {
  .slider-nav {
    margin-top: 10px;
  }
	.product-gallery {
		width: 420px !important;
	}
}

/* Responsive Floorplan */
@media (max-width: 768px) {
  .floorplan-image {
    height: auto;
    max-height: 250px;
  }

  .floorplan-zoom {
    font-size: 18px;
    padding: 6px;
  }
}

@media (max-width: 576px) {
  .floorplan-image {
    max-height: 200px;
  }

  .floorplan-zoom {
    font-size: 16px;
    padding: 5px;
  }
}