/* VARIABLES & TYPOGRAPHIE GLOBALE */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;700&display=swap');

@font-face {
  font-family: "Director";
  src: url('animation/lookbook/lookbook-paris-way-of-life/typo/Director-Regular.woff2?$staticlink$?') format('woff2'),
       url('animation/lookbook/lookbook-paris-way-of-life/typo/Director-Regular.woff?$staticlink$?') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-secondary:  #ffffff;
  --color-text:       #000000;
  --color-bg:         #ffffff;
  --color-accent:     #000000;
  --font-primary:     "Montserrat", sans-serif;
  --font-display:     "Director", sans-serif;
  --gap:              5px;
  --transition-base:  0.3s ease;

  /* Taille de texte unifiée pour tout le lookbook */
  --fs-body: 14px; /* desktop ≥1025px */
}

@media (max-width: 1024px) {
  :root { --fs-body: 13px; } /* tablette 768–1024px */
}

@media (max-width: 767px) {
  :root { --fs-body: 12px; } /* mobile ≤767px */
}

@media (min-width: 1025px) {
  :root { --gap: 60px; } /* espace entre toutes les images en desktop */
}

/* BASE / RESET */
html, body { overflow-x: clip; }

html, body {
  overflow-x: hidden; /* fallback pour anciens navigateurs ne supportant pas overflow-x: clip */
}

.lookbook *, .lookbook *::before, .lookbook *::after { box-sizing: border-box; }

.lookbook {
  width: 100%;
  max-width: 100%;
  margin-inline: calc(50% - 50vw);
  position: relative;
  padding: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: clip;
  background-color: var(--color-bg);
}

.lookbook a { color: inherit; text-decoration: none; }
.lookbook a:focus-visible,
.lookbook button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.lookbook picture { display: block; width: 100%; max-width: 100%; }
.lookbook picture img { display: block; }

.lookbook img,
.lookbook svg { max-width: 100%; height: auto; }

.lookbook .line  { width: 100%; max-width: 100%; overflow-x: clip; }
.lookbook .cell  { min-width: 0; max-width: 100%; }

.lookbook .img-responsive { width: 100%; height: auto; display: block; object-fit: cover; }
.lookbook .img-container img { transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1); }
.lookbook a:hover .img-container img { transform: scale(1.015); }

/* ANIMATIONS & STRUCTURE DES LIGNES */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lookbook .line { position: relative; animation: fadeInUp 0.6s ease forwards; }
.lookbook .line-margin { margin-bottom: var(--gap); }

.lookbook .line-flex .cell:nth-child(1) { animation-delay: 0.1s; }
.lookbook .line-flex .cell:nth-child(2) { animation-delay: 0.2s; }
.lookbook .line-flex .cell:nth-child(3) { animation-delay: 0.3s; }

.lookbook .no-gap,
.lookbook .line-flex.no-gap,
.lookbook .line-2-img.no-gap { gap: 0 !important; padding: 0 !important; }
.lookbook .no-gap .cell { margin: 0 !important; padding: 0 !important; }

@media (min-width: 1025px) {
  .lookbook .no-gap,
  .lookbook .line-flex.no-gap,
  .lookbook .line-2-img.no-gap { gap: 0px !important; }
}

@media (min-width: 1025px) {
  .lookbook .line-flex { display: flex; flex-wrap: wrap; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .line-flex { display: flex; flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .lookbook .line-flex { display: flex; flex-wrap: wrap; padding: 0 var(--gap); }
}

/* Utilitaires d'affichage conditionnel */
@media (max-width: 767px) {
  /* Spécificité renforcée (.line.hidden-m) pour toujours l'emporter sur les
     règles mobiles de .line-2-img / .line-back-in-paris / .line-alfonzo-look
     qui utilisent aussi !important — sans ça, l'ordre d'apparition dans le
     fichier décide, ce qui est fragile. */
  .lookbook .line.hidden-m,
  .lookbook .hidden-m { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .hidden-mob-only { display: flex !important; }
}
@media (max-width: 767px) {
  .lookbook .hidden-mob-only { display: none !important; }
}

/* CTA — TOKEN UNIQUE (beijos-cta-header) */
.lookbook .beijos-cta-header {
  display: inline-block;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  padding: 14px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 10;
}

.lookbook .beijos-cta-mobile-only { display: none !important; }

@media (max-width: 767px) {
  .lookbook .beijos-cta-header {
    padding: 10px 20px;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  .lookbook .beijos-cta-mobile-only {
    display: block !important;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
  }
}

/* HEADER HERO */
.lookbook .header-hero {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: var(--color-secondary);
  width: 90%;
  max-width: 480px;
}

.lookbook .header-hero-cta {
  position: static;
  transform: none;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .header-hero.hidden-mob-only { display: block !important; }
}

/* PRODUCT INFO */
/* .lookbook .product-info { width: 100%; padding: 16px 0; } */
.lookbook .product-info-left  { text-align: left; }
.lookbook .product-info-right { text-align: right; }

.lookbook .libelle { margin: 0 0 4px; padding: 0; }
.lookbook .libelle:last-child { margin-bottom: 0; }

.lookbook .libelle a {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
  transition: opacity var(--transition-base);
}
.lookbook .libelle a:hover { opacity: 0.6; }

@media (min-width: 768px) {
  .lookbook .product-info { padding: 24px; }
}


@media (max-width: 767px) {
  .lookbook .product-info { padding: 18px 0; }
  .lookbook .libelle a { line-height: 1.2; }
}

/* LIGNE SCROLL (IMAGE PAYSAGE) */
.lookbook .line-scroll .cell { position: relative; width: 100%; max-width: 100%; }

.lookbook .line-scroll .img-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.lookbook .line-scroll .img-container picture { width: 100%; max-width: 100%; display: block; }
.lookbook .line-scroll .img-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.lookbook .line-scroll .product-info { padding-left: 15px; padding-right: 15px; }

@media (max-width: 767px) {
  .lookbook .line-scroll .product-info { padding-left: 10px; padding-right: 10px; }
}

/*  GRILLE 2 IMAGES PORTRAIT */
.lookbook .line-2-img { display: flex; gap: 0; align-items: flex-start; flex-wrap: wrap; }

.lookbook .line-2-img .cell {
  flex: 1 1 260px;
  min-width: 0; /* empêche la cellule de refuser de rétrécir en dessous de la taille intrinsèque de l'image (bug classique flexbox), à tous les breakpoints */
  position: relative;
  display: flex;
  flex-direction: column;
}

.lookbook .line-2-img .cell:not(.cell-cta-casa) .img-container { aspect-ratio: 2 / 3; overflow: hidden; }
.lookbook .line-2-img .cell:not(.cell-cta-casa) .img-container img { width: 100%; height: 100%; object-fit: cover; }

.lookbook .line-2-img .cell > a { display: block; }
.lookbook .line-2-img .cell > a > .img-container { width: 100%; }
.lookbook .line-2-img .cell > a > .img-container picture { display: block; height: 100%; }
.lookbook .line-2-img .cell > a > .img-container picture img { height: 100%; object-fit: cover; }



/* Mobile : même mécanique que .line-alfonzo-look (CSS Grid 2 colonnes strictes)
   pour garantir que les 2 images restent toujours sur la même ligne,
   quel que soit leur contenu — contrairement à flex + calc(50% - gap/2)
   qui peut wrapper si une cellule déborde légèrement.
   NB : .hidden-m garde la main grâce à la règle renforcée .line.hidden-m
   plus haut dans le fichier (spécificité supérieure). */
@media (max-width: 767px) {
  .lookbook .line-2-img {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap) !important;
  }
  .lookbook .line-2-img .cell {
    width: auto;
    flex: none;
    min-width: 0; /* évite qu'une image trop large déborde de sa colonne grid */
  }
  .lookbook .line-2-img .cell .product-info { padding-left: 10px; padding-right: 10px; }
}

/* CELL CTA CASA */
.lookbook .cell-cta-casa {
  background-color: var(--color-accent);
  position: relative;
  padding: 20px;
}

.lookbook .cell-cta-casa .img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.lookbook .cell-cta-casa .img-container picture { display: block; height: 100%; }
.lookbook .cell-cta-casa .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.lookbook .cell-cta-casa .beijos-cta-header {
  position: absolute !important;
  bottom: auto !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

@media (max-width: 767px) {
  .lookbook .cell-cta-casa { padding: 10px; }
}

/* QUICKSHOP / QUICK ADD TO CART */
.lookbook .quickshop { display: block; position: relative; text-decoration: none; }

.lookbook .quickAddToCartMobile__button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 15;
  padding: 0;
}
.lookbook .quickAddToCartMobile__button:hover { transform: scale(1.15); }

.lookbook .quickAddToCartMobile__buttonIcon {
  font-size: 22px;
  color: var(--color-secondary);
  opacity: 0.9;
  transition: opacity var(--transition-base);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lookbook .quickAddToCartMobile__button::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background-color: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width 0.4s ease, height 0.4s ease;
}
.lookbook .quickAddToCartMobile__button:active::before { width: 50px; height: 50px; }

@media (min-width: 1025px) {
  .lookbook .quickshop:hover .quickAddToCartMobile__button { display: flex; }
}
@media (max-width: 1024px) {
  .lookbook .quickAddToCartMobile__button { display: flex; }
}
@media (max-width: 767px) {
  .lookbook .quickAddToCartMobile__button { width: 36px; height: 36px; top: 12px; right: 12px; }
  .lookbook .quickAddToCartMobile__buttonIcon { font-size: 20px; }
}

/* BLOC CTA MOBILE (photo pleine largeur + CTA) */
.lookbook .line-cta-casa-mobile {
  display: none;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: var(--gap);
}
.lookbook .line-cta-casa-mobile .img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.lookbook .line-cta-casa-mobile .img-container picture,
.lookbook .line-cta-casa-mobile .img-container picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .lookbook .line-cta-casa-mobile { display: block; }
}

/* ============================================================ */
/* BLOC STORYTELLING #BACK IN PARIS — VERSION DESKTOP / TABLETTE */
/* (image portrait + bouquet chaussures + texte, ferré à droite)  */
/* ============================================================ */

/* Override du parent .line-2-img : on force les 2 cellules à la même hauteur,
   c'est ce qui permet au contenu de droite d'être vraiment centré verticalement */
.lookbook .line-storytelling {
  align-items: stretch !important;
}

/* Colonne gauche : la photo occupe toute la hauteur disponible (pas de ratio imposé,
   elle prend la hauteur naturelle du bloc et la colonne de droite s'y calque) */
.lookbook .cell-storytelling-img .img-container {
  aspect-ratio: auto;
  height: 100%;
  overflow: hidden;
}
.lookbook .cell-storytelling-img .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Colonne droite : image + texte groupés, ferrés à droite, centrés verticalement */
.lookbook .cell-storytelling-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* ferré à droite */
  justify-content: center; /* centré verticalement dans la hauteur totale */
  gap: 40px;
  padding: 40px 60px 40px 40px; /* padding-right renforcé pour ne jamais toucher le bord */
  text-align: right;
  box-sizing: border-box;
}

.lookbook .storytelling-img-wrap {
  width: 34%;
  max-width: 260px;
  margin: 0 30px 0 auto;
}

.lookbook .storytelling-img-wrap picture,
.lookbook .storytelling-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.lookbook .storytelling-text {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  text-transform: uppercase;
  line-height: 1.3;
  text-align: left;
  color: var(--color-text);
  width: 34%;           /* même largeur que .storytelling-img-wrap : garantit un alignement gauche identique */
  max-width: 260px;     /* même max-width que .storytelling-img-wrap */
  margin: 0 30px 0 auto;
}

/* Tablette */
@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .cell-storytelling-content { gap: 28px; padding: 30px 40px 30px 30px; }
  .lookbook .storytelling-img-wrap { max-width: 190px; }
  .lookbook .storytelling-text { max-width: 190px; }
}

/* Mobile : le bloc desktop est entièrement caché, remplacé par .line-storytelling-mobile ci-dessous */
@media (max-width: 767px) {
  .lookbook .line-storytelling { display: none !important; }
}

/* ============================================================ */
/* BLOC STORYTELLING #BACK IN PARIS — VERSION MOBILE UNIQUEMENT  */
/* ============================================================ */

.lookbook .line-storytelling-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  box-sizing: border-box;
}

.lookbook .storytelling-mobile-img-wrap {
  width: 55%;
  max-width: 220px;
  margin: 0 0 24px;
}

.lookbook .storytelling-mobile-img-wrap picture,
.lookbook .storytelling-mobile-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.lookbook .storytelling-mobile-text {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  text-transform: uppercase;
  line-height: 1.3;
  text-align: left;
  color: var(--color-text);
  width: 55%;         /* même largeur que .storytelling-mobile-img-wrap : garantit un alignement gauche identique une fois centré par le parent */
  max-width: 220px;   /* même max-width que .storytelling-mobile-img-wrap */
  margin: 0;
}

@media (max-width: 767px) {
  .lookbook .line-storytelling-mobile { display: flex; }
}

/* ============================================================ */
/* BLOC PARIS WAY OF LIFE — INTRO (LOGO + TEXTE)                 */
/* ============================================================ */

.lookbook .line-way-of-life-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 20px 20px;
}

.lookbook .way-of-life-logo-wrap {
  width: calc(100% + 40px); /* compense le padding horizontal (20px de chaque côté) du parent */
  max-width: none;
  margin: 0 -20px 24px;
}

.lookbook .way-of-life-logo-wrap picture,
.lookbook .way-of-life-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .lookbook .way-of-life-logo-wrap picture,
  .lookbook .way-of-life-logo-wrap img {
    width: 95%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .lookbook .way-of-life-logo-wrap {
    text-align: center;
  }
}

.lookbook .way-of-life-text {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--color-text);
  /* max-width: 640px; */
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .line-way-of-life-intro { padding: 50px 20px 36px; }
  .lookbook .way-of-life-logo-wrap { max-width: none; }
  .lookbook .way-of-life-text { max-width: 900px; }
}

@media (max-width: 767px) {
  .lookbook .line-way-of-life-intro { padding: 36px 20px 30px; }
  .lookbook .way-of-life-logo-wrap { max-width: none; margin-bottom: 18px; }
  .lookbook .way-of-life-text { max-width: 450px; line-height: 1.7; }
}

/* ============================================================ */
/* BLOC PARIS WAY OF LIFE — 4 LOOKS — GRILLE DESKTOP/TABLETTE     */
/* Visible dès 768px, masquée en dessous (remplacée par le        */
/* carrousel .line-way-of-life-slider-mobile ci-dessous).         */
/* ============================================================ */

.lookbook .line-way-of-life-images {
  /* padding: 0 !important;  */
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.lookbook .line-way-of-life-images .cell {
  position: relative;
  min-width: 0;
}

.lookbook .line-way-of-life-images .cell .img-container {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.lookbook .line-way-of-life-images .cell .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lookbook .line-way-of-life-images .cell .product-info {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .line-way-of-life-images .cell .product-info {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Mobile : la grille est entièrement cachée, remplacée par le carrousel */
@media (max-width: 767px) {
  .lookbook .line-way-of-life-images { display: none !important; }
}

/* ============================================================ */
/* BLOC PARIS WAY OF LIFE — CARROUSEL MOBILE UNIQUEMENT (<768px) */
/* Bloc HTML dédié et séparé de la grille.                        */
/* Utilise la technique padding-bottom (au lieu de aspect-ratio)  */
/* pour forcer un ratio 2/3 fiable même avec Flickity en          */
/* position:absolute — aspect-ratio peut calculer une hauteur de  */
/* 0 dans ce contexte selon les navigateurs.                      */
/* ============================================================ */

.lookbook .line-way-of-life-slider-mobile {
  display: none;
  position: relative;
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
}

/* Flèches précédent/suivant : petites, blanches, posées sur l'image.
   Positionnement complet inclus ici, sans dépendre du CSS externe
   de Flickity (au cas où ce fichier ne se chargerait pas). */
.lookbook .line-way-of-life-slider-mobile .flickity-prev-next-button {
  position: absolute !important;
  bottom: 90px !important; /* place les flèches vers le bas de la photo, au-dessus du texte produit */
  top: auto !important;
  transform: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  height: 16px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 20 !important;
}

.lookbook .line-way-of-life-slider-mobile .flickity-prev-next-button.previous {
  left: 40px !important; /* 30px de padding du conteneur + 10px de marge sur la photo */
}

.lookbook .line-way-of-life-slider-mobile .flickity-prev-next-button.next {
  right: 40px !important;
}

.lookbook .line-way-of-life-slider-mobile .flickity-prev-next-button svg,
.lookbook .line-way-of-life-slider-mobile .flickity-prev-next-button .flickity-button-icon {
  width: 100% !important;
  height: 100% !important;
  fill: #ffffff !important;
  opacity: 1 !important;
}

.lookbook .line-way-of-life-slider-mobile .flickity-prev-next-button path {
  fill: #ffffff !important;
}

@media (max-width: 767px) {
  .lookbook .line-way-of-life-slider-mobile { display: block; }
}

.lookbook .line-way-of-life-slider-mobile .cell {
  position: relative;
  width: 100%;
}

.lookbook .line-way-of-life-slider-mobile .cell .img-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 150%; /* ratio 2:3 → hauteur = 150% de la largeur */
  overflow: hidden;
}

.lookbook .line-way-of-life-slider-mobile .cell .img-container picture,
.lookbook .line-way-of-life-slider-mobile .cell .img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lookbook .line-way-of-life-slider-mobile .cell .product-info {
  padding-left: 4px;
  padding-right: 4px;
}

/* ============================================================ */
/* BLOC BACK IN PARIS EDITION — 3 photos + logo/texte            */
/* ============================================================ */

.lookbook .line-back-in-paris {
  align-items: stretch;
  gap: 10px;
}

.lookbook .back-in-paris-photo {
  flex: 1 1 22%;
  min-width: 0;
  position: relative;
}

.lookbook .back-in-paris-photo .img-container {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.lookbook .back-in-paris-photo .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lookbook .back-in-paris-photo .product-info {
  padding-left: 24px;
  padding-right: 24px;
}

/* Photo plus petite (le zoom du sac) */
.lookbook .back-in-paris-photo-small {
  flex: 1 1 12%;
  align-self: flex-start;
}

/* Bloc logo + texte "Back in Paris Edition" — ferré en bas de la colonne */
.lookbook .back-in-paris-logo-cell {
  flex: 1 1 34%;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  padding: 65px 10px;
}

.lookbook .back-in-paris-logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .back-in-paris-photo .product-info { padding-left: 17px; padding-right: 17px; }
  .lookbook .back-in-paris-logo-cell { padding: 65px 20px; }
  .lookbook .back-in-paris-logo { max-width: 200px; }
}

/* Légendes groupées, cachées par défaut (desktop/tablette) */
.lookbook .back-in-paris-mobile-captions {
  display: none;
}

/* Mobile : 2 photos côte à côte, légendes groupées à droite,
   sac-leon masqué, logo pleine largeur avec beaucoup d'air */
@media (max-width: 767px) {
  .lookbook .line-back-in-paris {
    display: grid !important; /* remplace flex : 2 colonnes strictes, comme .line-alfonzo-look */
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 0 30px; /* même padding latéral que le carrousel .line-way-of-life-slider-mobile */
    box-sizing: border-box;
  }

  .lookbook .back-in-paris-photo {
    width: auto;
    min-width: 0; /* évite qu'une photo déborde de sa colonne grid et fasse wrapper l'autre */
  }

  /* Les légendes individuelles sous chaque photo sont masquées sur mobile,
     remplacées par le bloc groupé .back-in-paris-mobile-captions */
  .lookbook .back-in-paris-photo .product-info {
    display: none;
  }

  /* La petite photo du sac est masquée sur mobile (seul son nom reste,
     dans le bloc de légendes groupées) */
  .lookbook .back-in-paris-photo-small {
    display: none;
  }

  .lookbook .back-in-paris-mobile-captions {
    display: block;
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    text-align: right;
    padding: 18px 15px;
  }

  .lookbook .back-in-paris-mobile-captions .libelle {
    margin: 0 0 4px;
  }
  .lookbook .back-in-paris-mobile-captions .libelle:last-child {
    margin-bottom: 0;
  }

  .lookbook .back-in-paris-logo-cell {
    grid-column: 1 / -1;
    order: 4;
    display: flex;
    align-items: center;      /* centré dans son propre bloc pleine largeur, plus ferré en bas */
    justify-content: center;
    padding: 0px 20px 20px;
    min-height: 340px;
  }

  .lookbook .back-in-paris-logo { max-width: 400px; }
}

/* ============================================================ */
/* BLOC HERO + FILMSTRIP AUTOPLAY (3 images, défilement solo)    */
/* ============================================================ */

.lookbook .hero-filmstrip-main {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* ratio paysage, comme le modèle 960x640 */
  overflow: hidden;
  background-color: #efe9e3;
}

.lookbook .hero-filmstrip-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.lookbook .hero-filmstrip-slide.is-active {
  display: block;
}

.lookbook .hero-filmstrip-slide a,
.lookbook .hero-filmstrip-slide .img-container {
  display: block;
  width: 100%;
  height: 100%;
}

.lookbook .hero-filmstrip-slide picture,
.lookbook .hero-filmstrip-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Petite bande de miniatures, centrée en bas de l'image */
.lookbook .hero-filmstrip-thumbs {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
}

.lookbook .hero-filmstrip-thumb {
  width: 80px;
  height: 54px; /* ratio paysage 3:2, cohérent avec l'image principale */
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
}

.lookbook .hero-filmstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lookbook .hero-filmstrip-thumb.is-active {
  opacity: 1;
  border-color: #ffffff;
}

/* Légendes : une seule visible à la fois, alignée comme .line-scroll .product-info */
.lookbook .hero-filmstrip-captions {
  position: relative;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 767px) {
  .lookbook .hero-filmstrip-captions { padding-left: 10px; padding-right: 10px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .hero-filmstrip-thumb { width: 70px; height: 47px; }
}

@media (max-width: 767px) {
  .lookbook .hero-filmstrip-thumb { width: 58px; height: 39px; }
  .lookbook .hero-filmstrip-thumbs { bottom: 12px; gap: 3px; }
}

/* ============================================================ */
/* BLOC ALFONZO — 2 petites images détail + 1 grande photo       */
/* ============================================================ */

.lookbook .line-alfonzo-look {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap) !important;
  align-items: stretch;
}

.lookbook .alfonzo-look-details {
  min-width: 0;
  padding-right: 200px; /* espace supplémentaire vers la grande photo, sans réduire sa largeur */
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important; /* !important : une règle externe (thème du site) écrasait ce centrage, le texte restait collé en haut */
}

.lookbook .alfonzo-details-images {
  display: flex;
  gap: 10px;
}

.lookbook .alfonzo-detail-cell {
  flex: 1 1 50%;
  display: block;
  position: relative;
}

.lookbook .alfonzo-detail-cell .img-container {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.lookbook .alfonzo-detail-cell .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lookbook .alfonzo-look-details .product-info {
  padding-left: 24px;
  padding-right: 24px;
}

.lookbook .alfonzo-look-main {
  min-width: 0;
  position: relative;
}

.lookbook .alfonzo-look-main .img-container {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.lookbook .alfonzo-look-main .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .alfonzo-look-details { padding-right: 100px; } /* réduit proportionnellement par rapport au 200px desktop, sinon la colonne devient trop courte face à la grande photo */
  .lookbook .alfonzo-look-details .product-info { padding-left: 17px; padding-right: 17px; }
}

/* Légendes groupées, cachées par défaut (desktop/tablette) */
.lookbook .alfonzo-mobile-captions {
  display: none;
}

/* Mobile : même rendu que le bloc Back in Paris — 2 colonnes
   côte à côte, légendes individuelles masquées, remplacées par
   une légende groupée ferrée à droite en dessous. */
@media (max-width: 767px) {
  .lookbook .line-alfonzo-look {
    grid-template-columns: 1fr 1fr;
    padding: 0 30px;
    box-sizing: border-box;
  }

  .lookbook .alfonzo-look-details {
    padding-right: 0;
  }

  /* Seule Jupe Vicky reste visible sur mobile — Bottes Vanessa est masquée,
     exactement comme Sac Leon est masqué dans le bloc Back in Paris */
  .lookbook .alfonzo-detail-cell-small {
    display: none;
  }

  /* Les légendes individuelles sont masquées, remplacées par
     .alfonzo-mobile-captions groupée en dessous */
  .lookbook .alfonzo-look-details .product-info {
    display: none;
  }

  .lookbook .alfonzo-mobile-captions {
    display: block;
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    text-align: right;
    padding: 18px 15px;
  }

  .lookbook .alfonzo-mobile-captions .libelle {
    margin: 0 0 4px;
  }
  .lookbook .alfonzo-mobile-captions .libelle:last-child {
    margin-bottom: 0;
  }
}

/* ============================================================ */
/* BLOC LOOK CELIA — même structure que le storytelling          */
/* (grande photo + petite image + liste produits, ferré à droite)*/
/* ============================================================ */

.lookbook .line-look-celia {
  align-items: stretch !important;
}

/* @media (min-width: 1025px) {
  .lookbook .line-look-celia.no-gap { padding-bottom: 60px !important; }
} */

.lookbook .cell-celia-img .img-container {
  aspect-ratio: auto;
  height: 100%;
  overflow: hidden;
}
.lookbook .cell-celia-img .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lookbook .cell-celia-content {
  flex: 1 1 50%;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;   /* ferré à droite */
  justify-content: center !important; /* centré verticalement dans la hauteur totale ; !important par précaution contre une règle externe qui écrasait le même centrage sur le bloc Alfonzo */
  gap: 20px;
  padding: 40px 60px 40px 40px;
  text-align: right;
  box-sizing: border-box;
}

.lookbook .celia-img-wrap {
  width: 34%;
  max-width: 260px;
  margin: 0 30px 0 auto;
}
.lookbook .celia-img-wrap picture,
.lookbook .celia-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.lookbook .celia-products {
  max-width: 340px;
  margin: 0 30px 0 auto;
  padding-left: 0;
  padding-right: 0; /* le padding vertical (haut/bas) reste hérité de .product-info, comme les autres blocs */
}

/* Desktop uniquement : même largeur que .celia-img-wrap pour aligner les
   bords gauches, et texte ferré à gauche (au lieu de product-info-right).
   Tablette et mobile ne sont pas concernés par cette règle. */
@media (min-width: 1025px) {
  .lookbook .cell-celia-content .celia-products {
    width: 34%;         /* même largeur que .celia-img-wrap */
    max-width: 260px;   /* même max-width que .celia-img-wrap */
    text-align: right;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .cell-celia-content { gap: 28px; padding: 30px 40px 30px 30px; }
  .lookbook .celia-img-wrap { max-width: 190px; }
  .lookbook .celia-products { max-width: 260px; }
}

/* Mobile : le bloc desktop est entièrement caché, remplacé par .line-look-celia-mobile ci-dessous */
@media (max-width: 767px) {
  .lookbook .line-look-celia { display: none !important; }
}

/* ============================================================ */
/* BLOC LOOK CELIA — VERSION MOBILE UNIQUEMENT                   */
/* Seule la grande photo, aux mêmes dimensions que le carrousel  */
/* .line-way-of-life-slider-mobile (padding 30px, ratio 2:3).    */
/* ============================================================ */

.lookbook .line-look-celia-mobile {
  display: none;
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
}

.lookbook .celia-mobile-img-container {
  width: 100%;
  height: 0;
  padding-bottom: 150%; /* ratio 2:3 */
  position: relative;
  overflow: hidden;
}

.lookbook .celia-mobile-img-container picture,
.lookbook .celia-mobile-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .lookbook .line-look-celia-mobile { display: block; }
}

/* Corrige l'affichage du texte produits dans le bloc mobile :
   .celia-products était pensé pour le contexte desktop (flex ferré à
   droite), on réinitialise sa position pour ce bloc en display:block */
.lookbook .line-look-celia-mobile .celia-products {
  width: 100%;
  max-width: none;
  padding: 18px 0;
  text-align: right;
}

