/* =============================================
   ÉCLAT DE VIVIE — Lookbook
   Photo 55% + produits 45%, hauteurs alignées
   ============================================= */

.edv-lookbook {
  padding: 5rem 0;
  background: #FFFFFF;
  overflow: hidden;
}

.edv-lookbook__header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 2.5rem;
}

.edv-lookbook__eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #1B6B77;
  margin-bottom: 0.75rem;
}

.edv-lookbook__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  color: #0D1B1E;
}

.edv-lookbook__wrap {
  position: relative;
  overflow: hidden;
}

/* Layout principal */
.edv-lookbook__item {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  min-height: 500px !important;
}

/* Photo mannequin — 55% */
.edv-lookbook__photo {
  flex: 0 0 55% !important;
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
}

.edv-lookbook__photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* Caption */
.edv-lookbook__caption {
  position: absolute !important;
  bottom: 1.5rem !important;
  left: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.edv-lookbook__num {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 9px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.edv-lookbook__name {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  font-style: italic !important;
  color: #1b6b77 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

/* Description du look (champ optionnel du BO) */
.edv-lookbook__desc {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.5 !important;
  max-width: 340px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

/* Colonne produits — 45% */
.edv-lookbook__products {
  flex: 0 0 45% !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 2rem !important;
  background: #FAFAFA !important;
  border-left: 0.5px solid #EFF6F7 !important;
}

.edv-lookbook__products-label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 9px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  margin: 0 0 1.25rem !important;
}

/* Look sans produit associé */
.edv-lookbook__products-empty {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  color: #7A9499 !important;
  margin: 0 !important;
}

/* Grille 2x2 */
.edv-lookbook__products-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 0.75rem !important;
  flex: 1 !important;
}

/* Card produit */
.edv-lookbook__product {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  background: #FFFFFF !important;
  border: 0.5px solid #EFF6F7 !important;
  overflow: hidden !important;
  transition: border-color 0.25s !important;
}

.edv-lookbook__product:hover {
  border-color: #1B6B77 !important;
}

/* Image produit */
.edv-lookbook__product-img {
  flex: 1 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.edv-lookbook__product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 12px !important;
  display: block !important;
  transition: transform 0.4s !important;
}

.edv-lookbook__product:hover .edv-lookbook__product-img img {
  transform: scale(1.05) !important;
}

/* Infos produit */
.edv-lookbook__product-info {
  padding: 0.625rem 0.75rem !important;
  border-top: 0.5px solid #EFF6F7 !important;
  flex-shrink: 0 !important;
}

.edv-lookbook__product-name {
  display: block !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #0D1B1E !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 2px !important;
}

.edv-lookbook__product-price {
  display: block !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1B6B77 !important;
}

/* La flèche SVG n'est plus dans le markup — garde-fou */
.edv-lookbook__product > svg {
  display: none !important;
}

/* Flèches */
.edv-lookbook__prev,
.edv-lookbook__next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 0.5px solid #EFF6F7 !important;
  box-shadow: 0 2px 8px rgba(13, 27, 30, 0.1) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  color: #1B6B77 !important;
  z-index: 10 !important;
  transition: all 0.25s !important;
}

.edv-lookbook__prev { left: 1rem !important; }
.edv-lookbook__next { right: 1rem !important; }

.edv-lookbook__prev:hover,
.edv-lookbook__next:hover {
  background: #1B6B77 !important;
  color: #FFFFFF !important;
}

/* Bout de course (état natif Swiper) */
.edv-lookbook__prev.swiper-button-disabled,
.edv-lookbook__next.swiper-button-disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}

/* Mobile */
@media (max-width: 768px) {
  .edv-lookbook__item {
    flex-direction: column !important;
    min-height: auto !important;
  }

  .edv-lookbook__photo {
    flex: 0 0 auto !important;
    height: 420px !important;
  }

  .edv-lookbook__products {
    flex: 0 0 auto !important;
    border-left: none !important;
    border-top: 0.5px solid #EFF6F7 !important;
    padding: 1.25rem !important;
  }

  .edv-lookbook__products-grid {
    grid-template-rows: auto auto !important;
  }
}

/* ══════════════════════════════════════════════════════
   Calage haut : la colonne produits doit démarrer à la
   même ligne que la photo (grille + align-items:start).
   ══════════════════════════════════════════════════════ */
.edv-lookbook__item {
  display: grid !important;
  grid-template-columns: 55% 45% !important;
  align-items: start !important;
  gap: 0 !important;
}

.edv-lookbook__photo {
  flex: unset !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

.edv-lookbook__photo img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: unset !important;
}

.edv-lookbook__products {
  flex: unset !important;
  width: 100% !important;
  padding: 0 0 0 2rem !important;
  background: transparent !important;
  border-left: none !important;
  align-self: start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.edv-lookbook__products-label {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.edv-lookbook__products-grid {
  grid-template-rows: auto !important;
  align-content: start !important;
}

/* Hauteur des cards auto */
.edv-lookbook__product {
  height: auto !important;
}

.edv-lookbook__product-img {
  flex: unset !important;
  aspect-ratio: 1/1 !important;
  height: auto !important;
}

/* ══════════════════════════════════════════════════════
   Bloc produits : marge droite rétablie (la 2e colonne
   sortait du cadre) + centrage vertical face à la photo.
   ══════════════════════════════════════════════════════ */
.edv-lookbook__products {
  padding: 0 2.5rem 0 2rem !important;
  align-self: center !important;
}

/* Les cartes ne dépassent plus la largeur utile */
.edv-lookbook__products-grid {
  width: 100% !important;
  max-width: 100% !important;
}

.edv-lookbook__product {
  min-width: 0 !important;
}

/* ══════════════════════════════════════════════════════
   Pas de liseré au survol / au clic sur les cartes produit
   ══════════════════════════════════════════════════════ */
.edv-lookbook__product:hover,
.edv-lookbook__product:hover .edv-lookbook__product-img,
.edv-lookbook__product:hover .edv-lookbook__product-img img,
.edv-lookbook__product:focus {
  outline: none !important;
  box-shadow: none !important;
}

.edv-lookbook__product {
  outline: none !important;
}

.edv-lookbook__product-img img {
  outline: none !important;
  border: none !important;
}

/* Navigation clavier : on garde un repère visible (sinon on ne sait plus
   où l'on se trouve en tabulant). Invisible à la souris. */
.edv-lookbook__product:focus-visible {
  outline: 2px solid #1B6B77 !important;
  outline-offset: 2px !important;
}

/* La bordure au survol venait de la propriété `border` de la carte elle-même
   (a.edv-lookbook__product) : 0.5px solid #EFF6F7 au repos, passée à #1B6B77
   par `.edv-lookbook__product:hover { border-color: … }`. On la retire. */
.edv-lookbook__product,
.edv-lookbook__product:hover,
.edv-lookbook__product:focus,
.edv-lookbook__product:active {
  border: none !important;
}
