/* fancybox-lofteaak.css */
/* Spesifikk styling for siden med løfteåk PALF | PALR */

/* ------------------------- */
/* Produktblokk / layout     */
/* ------------------------- */
.product-info {
  font-weight: normal;
  position: relative;
  overflow: auto;
}

.product-info strong {
  font-weight: bold;
}

.product-info .product-media {
  float: right;
  margin-left: 25px;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.product-info .product-media img {
  display: block;
  max-width: 260px;
  height: auto;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.product-info .product-media .thumb-caption {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .product-info .product-media {
    float: none;
    margin: 15px 0;
  }
}

/* ------------------------- */
/* Fancybox-tilpasninger     */
/* ------------------------- */

/* Thumbs i bunn og mørk bakgrunn */
.fancybox__thumbs {
  inset: auto 0 0 0;       /* legg nederst */
  height: 110px;           /* må matche caption-offset under */
  background: #000;        /* svart bakgrunn som du pleier */
  border-top: 1px solid #111;
}

/* litt luft rundt hver thumb */
.fancybox__thumbs .carousel__slide {
  padding: 6px;
}

/* Sørg for at aktive thumbs vises tydelig */
.fancybox__thumbs .is-selected .fancybox__thumb {
  outline: 2px solid #fff;
}

/* Caption over thumbs, med mørk bakgrunn */
.fancybox__caption {
  inset: auto 0 110px 0;   /* 110px = høyden på thumbs */
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-align: center;
  padding: 10px 15px;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Hvis bildene er smale, ikke la caption bli for bred */
.fancybox__caption p {
  margin: 0;
}

/* Litt generell justering av fancybox-bakgrunn (valgfritt) */
.fancybox__container {
  background: rgba(0, 0, 0, 0.9);
}
