/* ==========================================================================
   Controlli lightbox condivisi (dettaglio prodotto, galleria news, …)
   ========================================================================== */

.product-detail-lightbox__nav,
.news-image-gallery-lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.product-detail-lightbox__nav:hover,
.news-image-gallery-lightbox__nav:hover {
  background-color: rgb(255 255 255 / 12%);
}

.product-detail-lightbox__nav:focus-visible,
.news-image-gallery-lightbox__nav:focus-visible {
  outline: 2px solid var(--color-white, #fff);
  outline-offset: 2px;
}

.product-detail-lightbox__nav-icon,
.news-image-gallery-lightbox__nav-icon {
  width: 18px;
  height: 18px;
}

.product-detail-lightbox__nav-icon path,
.news-image-gallery-lightbox__nav-icon path {
  fill: #ffffff;
}

.product-detail-lightbox__nav-icon--next,
.news-image-gallery-lightbox__nav-icon--next {
  transform: rotate(180deg);
}

.product-detail-lightbox__close,
.news-image-gallery-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.product-detail-lightbox__close:hover,
.news-image-gallery-lightbox__close:hover {
  background-color: rgb(255 255 255 / 12%);
}

.product-detail-lightbox__close:focus-visible,
.news-image-gallery-lightbox__close:focus-visible {
  outline: 2px solid var(--color-white, #fff);
  outline-offset: 2px;
}
