/* =============================================
   POKAO — boutiques.css
   Widget "fondu enchaîné" (clic pour révéler une 2e photo)
   ============================================= */

.shop-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

.shop-intro a {
  color: var(--rose);
}

.shop-series {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.shop-caption {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 16px;
}

.shop-caption a {
  color: var(--rose);
  text-decoration: underline;
}

.fade-swap {
  position: relative;
  width: 100%;
  max-width: var(--w, 600px);
  margin: 0 auto;
  aspect-ratio: var(--ar, 2 / 3);
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: var(--sand);
}

.fade-swap:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.fade-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 2s ease;
}

.fade-img--back {
  opacity: 0;
}

.fade-swap.is-active .fade-img--front {
  opacity: 0;
}

.fade-swap.is-active .fade-img--back {
  opacity: 1;
}

.fade-hint {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-9999px, -9999px);
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 999;
  white-space: nowrap;
}

.fade-hint.is-visible {
  opacity: 1;
}

@media (hover: none) {
  .fade-hint {
    display: none;
  }
}

/* --- Variante générique : séries de 2, 3 ou 4 images (cycle au clic) --- */

.fade-cycle {
  position: relative;
  width: 100%;
  max-width: var(--w, 600px);
  margin: 0 auto;
  aspect-ratio: var(--ar, 3 / 2);
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: var(--sand);
}

.fade-cycle:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.fade-cycle-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}

.fade-cycle-img.is-current {
  opacity: 1;
}

.fade-fullscreen-btn {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.fade-fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.fade-swap.is-fs,
.fade-cycle.is-fs {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  aspect-ratio: auto;
  background: #000;
  border-radius: 0;
}

.fade-swap.is-fs .fade-img,
.fade-cycle.is-fs .fade-cycle-img {
  object-fit: contain;
}

