/*
 * Pop-up de la page d'accueil — site Bang & Olufsen Genève (laboutique-geneve.ch)
 * Couleurs et typographie B&O : BeoBlack #191817, White #FFFFFF, BeoSupreme (héritée).
 * Photo entière (pas de recadrage, pas de coins arrondis), pas de texte sur l'image.
 */
.bo-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #FFFFFF;
  color: #191817;
  font-family: inherit;
  box-shadow: 0 8px 32px rgba(25, 24, 23, 0.18);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bo-popup.is-visible {
  opacity: 1;
  transform: none;
}
.bo-popup__media {
  background: #FFFFFF;
}
.bo-popup__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}
.bo-popup__corps {
  padding: 20px 24px 24px;
}
.bo-popup__etiquette {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 8px;
  border: 1px solid #191817;
  background: #FFFFFF;
  color: #191817;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.bo-popup__titre {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0;
}
.bo-popup__texte {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  white-space: pre-line;
}
.bo-popup__prix {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.bo-popup__bouton {
  margin-top: 8px;
}
.bo-popup__fermer {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  color: #191817;
  cursor: pointer;
}
.bo-popup__fermer svg {
  width: 14px;
  height: 14px;
}
.bo-popup__fermer:focus-visible,
.bo-popup__bouton:focus-visible {
  outline: 2px solid #191817;
  outline-offset: 2px;
}

/* Mobile : encart compact (vignette + titre + bouton) pour ne pas masquer la page */
@media (max-width: 600px) {
  .bo-popup {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    max-height: 40vh;
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: stretch;
  }
  .bo-popup__media {
    display: flex;
    align-items: center;
  }
  .bo-popup__media img {
    max-height: 104px;
  }
  .bo-popup__corps {
    padding: 12px 48px 12px 16px;
  }
  .bo-popup__etiquette {
    margin-bottom: 6px;
    font-size: 10px;
    line-height: 14px;
  }
  .bo-popup__titre {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 22px;
  }
  .bo-popup__texte {
    display: none;
  }
  .bo-popup__prix {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 20px;
  }
  .bo-popup .bo-popup__bouton {
    margin-top: 4px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }
  .bo-popup__fermer {
    top: 4px;
    right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bo-popup {
    transition: none;
    transform: none;
  }
}

@media print {
  .bo-popup {
    display: none;
  }
}
