/* VARIABLES & TYPOGRAPHIE GLOBALE */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;700&display=swap');

:root {
  --color-secondary:  #ffffff;
  --color-text:       #000000;
  --color-bg:         #ffffff;
  --color-accent:     #000000;
  --font-primary:     "Montserrat", sans-serif;
  --font-display:     "courier-new", 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 */
}

/* BASE / RESET */
html, body { overflow-x: clip; }

.lookbook *, .lookbook *::before, .lookbook *::after { box-sizing: border-box; }

.lookbook {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  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); }

.lookbook .text-italic {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.55;
  margin-left: 4px;
  margin-right: 4px;
}

/* 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 .line-flex { display: flex; flex-wrap: wrap; gap: var(--gap); padding: 60px var(--gap) 30px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .line-flex { display: flex; flex-wrap: wrap; gap: var(--gap); padding: 60px var(--gap) 30px; }
}
@media (max-width: 767px) {
  .lookbook .line-flex { display: flex; flex-wrap: wrap; gap: var(--gap); padding: 0 var(--gap); }
}

/* Utilitaires d'affichage conditionnel */
@media (max-width: 767px) {
  .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-logo {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

.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; }
}

/* BLOC INTRO "TIERRA AGUA" */
.lookbook .line-intro-agua {
  padding: 70px 20px 60px;
  display: flex;
  justify-content: center;
}

.lookbook .intro-agua-content {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lookbook .intro-agua-logo {
  width: 340px;
  max-width: 80%;
  height: auto;
  margin: 0 0 18px;
}

.lookbook .intro-agua-text {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  letter-spacing: 0.5px;
  /* line-height: 1.8; */
  text-transform: uppercase;
  color: var(--color-text);
  max-width: 400px;
  margin: 0 0 40px;
}

.lookbook .intro-agua-image { width: 150px; max-width: 45%; }
.lookbook .intro-agua-image picture,
.lookbook .intro-agua-image img { width: 100%; height: auto; display: block; }

@media (min-width: 1441px) {
  .lookbook .line-intro-agua    { padding: 100px 20px 90px; }
  .lookbook .intro-agua-content { max-width: 620px; }
  .lookbook .intro-agua-logo    { width: 420px; }
  .lookbook .intro-agua-text    { max-width: 460px; margin-bottom: 50px; }
  .lookbook .intro-agua-image   { width: 190px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .line-intro-agua    { padding: 60px 20px 50px; }
  .lookbook .intro-agua-logo    { width: 300px; }
  .lookbook .intro-agua-text    { max-width: 360px; margin-bottom: 34px; }
  .lookbook .intro-agua-image   { width: 140px; }
}

@media (max-width: 767px) {
  .lookbook .line-intro-agua    { padding: 40px 20px 36px; }
  .lookbook .intro-agua-logo    { width: 220px; margin-bottom: 14px; }
  .lookbook .intro-agua-text    { line-height: 1.7; max-width: 280px; margin-bottom: 26px; }
  .lookbook .intro-agua-image   { width: 110px; max-width: 55%; }
}

/* TRYPTIQUE */
.lookbook .line-look-perla { padding: 0; }

.lookbook .look-perla-intro {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: left;
  padding: 0 20px;
  letter-spacing: 0.5px;
  /* line-height: 1.5; */
  max-width: 560px;
  margin: 0 0 20px;
}

.lookbook .look-perla-images {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  overflow: hidden;
}

.lookbook .look-perla-cell {
  display: block;
  position: relative;
  height: 100%;
  flex: 0 0 auto;
  text-decoration: none;
}

.lookbook .look-perla-cell .img-container { height: 100%; display: flex; }
.lookbook .look-perla-cell .img-container picture { height: 100%; width: auto; display: block; }
.lookbook .look-perla-cell .img-container img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  object-fit: contain;
}

.lookbook .line-look-perla .product-info { padding-left: 20px; padding-right: 20px; }

@media (max-width: 767px) {
  .lookbook .look-perla-intro { letter-spacing: 0.3px; max-width: 100%; padding: 0 10px; }
  .lookbook .line-look-perla .product-info { padding-left: 10px; padding-right: 10px; padding-top: 14px; }
}

/* 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 0; }
}
@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;
  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; }

.lookbook .line-2-img .cell .product-info {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 30px;
  padding-top: 20px;
}

@media (max-width: 767px) {
  .lookbook .line-2-img { flex-direction: row; gap: var(--gap); }
  .lookbook .line-2-img .cell { width: calc(50% - 2.5px); flex: none; }
  .lookbook .line-2-img .cell .product-info { padding-left: 10px; padding-right: 10px; }
}

/* 2 PETITES IMAGES" */
.lookbook .line-look-perfect {
  display: flex;
  align-items: flex-end;
  gap: var(--gap);
}

.lookbook .line-look-perfect-images {
  display: flex;
  gap: var(--gap);
  width: 55%;
  max-width: 620px;
  flex: 0 0 auto;
}

/* Cible les vraies div img-container présentes dans le HTML
   (aucun élément ne porte réellement la classe .line-look-perfect-cell) */
.lookbook .line-look-perfect-images .img-container {
  flex: 1;
  min-width: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.lookbook .line-look-perfect-images .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook .line-look-perfect-info {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  padding: 16px 20px 8px 0;
}

.lookbook .line-look-perfect-info .libelle { margin: 0 0 4px; }
.lookbook .line-look-perfect-info .libelle:last-child { margin-bottom: 0; }
.lookbook .line-look-perfect-info .libelle a {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  transition: opacity var(--transition-base);
}
.lookbook .line-look-perfect-info .libelle a:hover { opacity: 0.6; }

@media (min-width: 768px) {
  .lookbook .line-look-perfect-info { padding-top: 24px; }
}

@media (max-width: 767px) {
  .lookbook .line-look-perfect {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 20px !important;
    gap: 0 !important;
  }
  .lookbook .line-look-perfect-images {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center;
  }
  .lookbook .line-look-perfect-info {
    width: 100%;
    padding: 16px 0 0 0 !important;
    text-align: right;
  }
}

/* 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; }
}

/* CARROUSEL VERTICAL */
.lookbook .vertical-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background-color: #F4F4EC;
}

.lookbook .vertical-carousel-track {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lookbook .vertical-carousel-track::-webkit-scrollbar { display: none; }

.lookbook .vertical-carousel-slide {
  height: 80%;
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lookbook .vertical-carousel-spacer { height: 10%; width: 100%; flex-shrink: 0; }

.lookbook .vertical-carousel-slide .img-container { width: 45%; aspect-ratio: 2 / 3; overflow: hidden; }
.lookbook .vertical-carousel-slide .img-container,
.lookbook .vertical-carousel-slide .img-container picture,
.lookbook .vertical-carousel-slide .img-container img { display: block; object-fit: cover; }
.lookbook .vertical-carousel-slide .img-container picture,
.lookbook .vertical-carousel-slide .img-container img { width: 100%; height: 100%; }

.lookbook .vertical-carousel-nav {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 10px;
  pointer-events: none;
  z-index: 20;
}

.lookbook .vertical-carousel-nav button {
  pointer-events: all;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lookbook .vertical-carousel:hover .vertical-carousel-nav button { opacity: 1; }
.lookbook .vertical-carousel-nav button svg { width: 12px; height: 12px; }
.lookbook .vertical-carousel-nav button svg path { stroke: #000000; stroke-width: 2; fill: none; }

@media (max-width: 1024px) {
  .lookbook .vertical-carousel-nav button { opacity: 1; width: 18px; height: 18px; }
}
@media (max-width: 767px) {
  .lookbook .vertical-carousel-nav button svg { width: 10px; height: 10px; }
  .lookbook .vertical-carousel-slide .img-container { width: 65%; }
}

/* 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; }
}

/*BLOCS 100% MOBILE (carrousel + CTA) */
.lookbook .line-look-macao-mobile {
  display: none;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: var(--gap);
}
.lookbook .line-look-macao-mobile .vertical-carousel { aspect-ratio: 3 / 4; }
.lookbook .line-look-macao-mobile .vertical-carousel-slide .img-container { width: 45%; }
.lookbook .line-look-macao-mobile .product-info {
  padding-left: 0;
  padding-right: 0;
  padding-top: 12px;
  padding-bottom: 4px;
}

.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-look-macao-mobile { display: block; }
  .lookbook .line-cta-casa-mobile { display: block; }
}