@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;700&display=swap');

@font-face {
  font-family: 'Gyst';
  src: url('/UI/bandeaux-categories/typographie-campagne-header/gyst-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary:    #1a1a1a;
  --color-secondary:  #ffffff;
  --color-accent:     #f9d387;
  --color-text:       #333333;
  --color-text-light: #666666;
  --color-bg:         #FAF9F6;
  --font-primary: "Montserrat", sans-serif;
  --font-display: 'Gyst', serif;
  --gap:             5px;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

.lookbook *, .lookbook *::before, .lookbook *::after { box-sizing: border-box; }

.lookbook {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--color-bg);
}

.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 picture { display: block; width: 100%; }
.lookbook picture img { display: block; }

.lookbook .line { width: 100%; position: relative; animation: fadeInUp 0.6s ease forwards; }
.lookbook .line-margin { margin-bottom: var(--gap); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.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 .line-edito { position: relative; text-align: center; padding: 0; width: 100%; overflow: hidden; }

.lookbook .title-intro {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  max-width: 35%;
  margin: 0 auto;
  color: var(--color-text);
  padding: 20px;
}

.lookbook .intro-picto { display: flex; justify-content: center; padding: 0 0 20px; }
.lookbook .intro-picto img { width: 90px; height: auto; display: block; }
.lookbook .intro-picto--bottom { padding: 40px 0; }

.lookbook .line-2-3-img { display: flex; gap: var(--gap); padding: 0 var(--gap); }
.lookbook .line-2-3-img-first-full .cell01 { flex: 2; position: relative; }
.lookbook .line-2-3-img-first-full .cell02 { flex: 1; position: relative; }
.lookbook .line-2-3-img .cell { display: flex; }
.lookbook .line-2-3-img .cell > a,
.lookbook .line-2-3-img .cell > div.img-container { display: flex; flex: 1; width: 100%; }
.lookbook .line-2-3-img .cell .img-container { flex: 1; display: flex; height: 100%; }
.lookbook .line-2-3-img .cell .img-container picture { flex: 1; display: flex; }
.lookbook .line-2-3-img .cell .img-container picture img { flex: 1; object-fit: cover; min-height: 100%; }
.lookbook .cell02 .img-container { position: relative; }

.lookbook .beijos-cta-logo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 320px; width: 100%; display: block; z-index: 5;
}

.lookbook .beijos-cta-header {
  position: absolute; bottom: 5%; left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  padding: 16px 50px;
  text-decoration: none; text-transform: uppercase;
  font-family: var(--font-primary); font-size: 12px; font-weight: 500;
  letter-spacing: 1px; transition: all var(--transition-base);
  white-space: nowrap; z-index: 10;
}

.lookbook .line .beijos-cta-header:hover,
.lookbook .cell .beijos-cta-header:hover {
  background-color: var(--color-secondary) !important;
  color: #69643C !important;
  border-color: var(--color-secondary) !important;
}

.lookbook .beijos-cta-mobile-only { display: none !important; }

.lookbook .line-2-img { display: flex; gap: 0; }
.lookbook .line-2-img .cell { flex: 1; position: relative; display: flex; flex-direction: column; }
.lookbook .line-2-img .cell .img-container { aspect-ratio: 2 / 3; }
.lookbook .line-2-img .cell .img-container img { width: 100%; height: 100%; object-fit: cover; }
.lookbook .line-2-img .cell > a { display: flex; flex: 1; }
.lookbook .line-2-img .cell > a > .img-container { flex: 1; height: 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-gallery-zoom {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 45px; padding: 3rem 40px; width: 100%;
}
.lookbook .line-gallery-zoom .cell { position: relative; aspect-ratio: 2 / 3; }
.lookbook .line-gallery-zoom .cell .zoom-wrap {
  position: absolute; inset: 0; z-index: 1; transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.6s ease, opacity 0.6s ease;
}
.lookbook .line-gallery-zoom .cell .zoom-wrap .img-container { width: 100%; height: 100%; }
.lookbook .line-gallery-zoom .cell .zoom-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lookbook .line-gallery-zoom .cell:hover .zoom-wrap { transform: scale(1.12); z-index: 10; }
.lookbook .line-gallery-zoom:has(.cell:hover) .cell:not(:hover) .zoom-wrap { opacity: 0.38; filter: blur(1.5px) brightness(0.75); }

.lookbook .line-scroll { padding: 0 var(--gap); }
.lookbook .line-scroll .cell { position: relative; width: 100%; }
.lookbook .line-scroll .img-container img { width: 100%; height: auto; object-fit: cover; }
.lookbook .line-scroll-padded { padding: clamp(20px, 4vw, 60px) clamp(20px, 4vw, 60px) 0; }



/* ════════════════════════════════════════════════════════════
   OVERLAP — BASE DESKTOP
════════════════════════════════════════════════════════════ */
.lookbook .line-overlap {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 var(--gap);
  overflow: hidden;
}

.lookbook .line-overlap .overlap-images {
  position: relative;
  width: 100%;
}

.lookbook .line-overlap .img-left {
  position: relative;
  width: 52%;
  z-index: 1;
  overflow: hidden;
}

.lookbook .line-overlap .img-left img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.lookbook .line-overlap .img-left:hover img { transform: scale(1.06); }

.lookbook .line-overlap .img-right {
  position: absolute;
  top: 8%; right: 0;
  width: 50%;
  z-index: 2; overflow: hidden;
}

.lookbook .line-overlap .img-right img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.lookbook .line-overlap .img-right:hover img { transform: scale(1.06); }

.lookbook .line-overlap .libelle-overlap {
  width: 52%;
  padding: 10px 0 0 0;
  text-align: left;
}

.lookbook .line-overlap .libelle-overlap .libelle a {
  color: var(--color-text);
  text-shadow: none;
  font-size: 11px;
  letter-spacing: 1px;
}


/* ════════════════════════════════════════════════════════════
   CARROUSEL
════════════════════════════════════════════════════════════ */
.lookbook .line-slider-only-mob { padding: 0; width: 100%; }
.lookbook .line-slider-only-mob .cell { position: relative; }
.lookbook .line-slider-only-mob .cell .img-container { aspect-ratio: 2 / 3; }
.lookbook .line-slider-only-mob .cell .img-container img { width: 100%; height: 100%; object-fit: cover; }

.lookbook .libelle-abs { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; z-index: 10; }
.lookbook .libelle-abs-left  { text-align: left; }
.lookbook .libelle-abs-right { text-align: right; }
.lookbook .libelle { margin: 0; padding: 0; }
.lookbook .libelle a {
  display: block; color: var(--color-secondary); text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; line-height: 1.4; transition: opacity var(--transition-base);
}
.lookbook .libelle a:hover { opacity: 0.8; }
.lookbook .libelle .text-italic { font-style: italic; font-weight: 400; opacity: 0.85; font-size: 10px; }
.lookbook .libelle-noir .libelle a { color: #000000; text-shadow: none; }

.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; }

.lookbook .flickity-prev-next-button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; background: transparent; border: none;
  cursor: pointer; z-index: 20; padding: 0;
}
.lookbook .flickity-prev-next-button:hover { background: transparent; }
.lookbook .flickity-prev-next-button:focus { outline: none; box-shadow: none; }
.lookbook .flickity-prev-next-button.previous { left: 10px; }
.lookbook .flickity-prev-next-button.next     { right: 10px; }
.lookbook .flickity-prev-next-button svg { width: 100%; height: 100%; }
.lookbook .flickity-prev-next-button .flickity-button-icon { fill: #ffffff; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); transform: scale(0.7); }
.lookbook .flickity-prev-next-button:hover .flickity-button-icon { transform: scale(1.1); }
.lookbook .flickity-page-dots { display: none; }

.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 .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; }


/* ════════════════════════════════════════════════════════════
   DESKTOP ≥ 1025px
════════════════════════════════════════════════════════════ */
@media (min-width: 1025px) {
  .lookbook .hidden-d { display: none !important; }
  .lookbook .line-flex { display: flex; flex-wrap: wrap; gap: var(--gap); padding: 0 var(--gap); }
  .lookbook .line-2-3-img { gap: var(--gap); padding: 0 var(--gap); }
  .lookbook .line-slider-only-mob { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: var(--gap); }
  .lookbook .line-slider-only-mob .cell { min-width: 0; overflow: hidden; width: auto !important; }
  .lookbook .line-slider-only-mob.flickity-enabled { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: var(--gap); }
  .lookbook .line-slider-only-mob .flickity-viewport,
  .lookbook .line-slider-only-mob .flickity-slider { display: contents; }
  .lookbook .quickshop:hover .quickAddToCartMobile__button { display: flex; }
  .lookbook .libelle-abs { padding: 20px; }
  .lookbook .libelle a   { font-size: 12px; letter-spacing: 1px; }
  .lookbook .beijos-cta-mobile-only { display: none !important; }
}


/* ════════════════════════════════════════════════════════════
   TABLET 768px – 1024px
════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .hidden-m { display: none !important; }

  .lookbook .line-2-3-img { flex-direction: column; gap: var(--gap); padding: 0 var(--gap); }
  .lookbook .line-2-3-img-first-full .cell02 { display: none !important; flex: 0 !important; width: 0 !important; overflow: hidden !important; }
  .lookbook .line-2-3-img-first-full .cell01 { flex: 1 !important; width: 100% !important; }

  .lookbook .beijos-cta-mobile-only { display: block !important; position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 10; }
  .lookbook .beijos-cta-header { padding: 14px 40px; font-size: 12px; bottom: 10%; }

  .lookbook .line-flex { display: flex; flex-wrap: wrap; gap: var(--gap); padding: 0 var(--gap); }
  .lookbook .line-slider-only-mob .cell { width: 80%; margin: 0 auto; }
  .lookbook .quickAddToCartMobile__button { display: flex; }

  /* OVERLAP TABLET */
  .lookbook .line-overlap {
    width: 100%;
    margin: 40px auto;
    padding: 0 var(--gap);
    overflow: visible;
  }
  .lookbook .line-overlap .overlap-images {
    position: relative;
    width: 100%;
  }
  .lookbook .line-overlap .img-left {
    position: relative;
    width: 55%;
    z-index: 1;
    overflow: hidden;
  }
  .lookbook .line-overlap .img-right {
    position: absolute;
    top: 10%;
    right: 0;
    width: 48%;
    z-index: 2;
    overflow: hidden;
    margin: 0;
  }
  .lookbook .line-overlap .libelle-overlap {
    position: static; /* ← annule le relative/top */
    top: auto;
    margin-top: 10px;
    width: 55%;
    padding: 10px 0 0 0;
  }

  .lookbook .line-overlap .libelle-overlap .libelle a {
    color: var(--color-text);
    text-shadow: none;
    font-size: 11px;
  }

  @media (min-width: 768px) and (max-width: 1024px) {
  .lookbook .line-overlap .img-left  { width: 52%; }
  .lookbook .line-overlap .img-right { width: 50%; top: 8%; }
  .lookbook .line-overlap .libelle-overlap { width: 52%; }
}
}


/* ════════════════════════════════════════════════════════════
   MOBILE ≤ 767px
════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .lookbook .hidden-m { display: none !important; }

  .lookbook .line-2-3-img { flex-direction: column; gap: var(--gap); padding: 0 var(--gap); }
  .lookbook .line-2-3-img-first-full .cell02 { display: none !important; flex: 0 !important; width: 0 !important; overflow: hidden !important; }
  .lookbook .line-2-3-img-first-full .cell01 { flex: 1 !important; width: 100% !important; }

  .lookbook .beijos-cta-mobile-only { display: block !important; position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 10; }
  .lookbook .beijos-cta-header { padding: 14px 35px; font-size: 12px; letter-spacing: 1px; bottom: 4%; left: 50%; transform: translateX(-50%); }

  .lookbook .line-flex { display: flex; flex-wrap: wrap; gap: var(--gap); padding: 0 var(--gap); }
  .lookbook .line-2-img { flex-direction: row; gap: var(--gap); }
  .lookbook .line-2-img .cell { width: calc(50% - 2.5px); flex: none; }

  .lookbook .title-intro { font-size: 14px; letter-spacing: 1px; line-height: 1.8; max-width: 90% !important; }

  .lookbook .line-gallery-zoom { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 1rem 8px; }

  /* OVERLAP MOBILE */
  .lookbook .line-overlap {
    width: 100%;
    margin: 30px 0;
    padding: 0;
    overflow: hidden;
  }
  .lookbook .line-overlap .overlap-images {
    display: flex;
    align-items: flex-start;
    width: 100%;
    overflow: hidden;
    padding-bottom: -15%;
  }

  .lookbook .line-overlap .img-left {
    position: relative;
    width: 62%;
    flex-shrink: 0;
    z-index: 1;
    overflow: hidden;
  }
  .lookbook .line-overlap .img-left img { width: 100%; height: auto; display: block; }
  .lookbook .line-overlap .img-right {
    position: relative;
    width: 48%;
    flex-shrink: 0;
    margin-left: -10%;
    margin-top: 35%;
    z-index: 2;
    overflow: hidden;
  }
  .lookbook .line-overlap .img-right img { width: 100%; height: auto; display: block; }
  .lookbook .line-overlap .libelle-overlap {
    width: 65%;
    padding: 8px 0 0 10px;
    margin-top: -10%;
    position: relative;
    z-index: 5;
  }
  .lookbook .line-overlap .libelle-overlap .libelle a {
    color: var(--color-text);
    text-shadow: none;
    font-size: 10px;
  }

  .lookbook .line-slider-only-mob .cell { width: 85%; margin-right: 5px; }
  .lookbook .libelle-abs { padding: 10px; }
  .lookbook .libelle a   { font-size: 10px; letter-spacing: 1px; line-height: 1.2; }
  .lookbook .libelle .text-italic { font-size: 8px; }
  .lookbook .quickAddToCartMobile__button { display: flex; width: 36px; height: 36px; top: 12px; right: 12px; }
  .lookbook .quickAddToCartMobile__buttonIcon { font-size: 20px; }
  .lookbook .flickity-prev-next-button { width: 36px; height: 36px; }
}


/* ════════════════════════════════════════════════════════════
   PETIT MOBILE ≤ 479px
════════════════════════════════════════════════════════════ */
@media (max-width: 479px) {
  .lookbook .title-intro { font-size: 12px; max-width: 300px; }
  .lookbook .line-gallery-zoom { grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 0.75rem 5px; }
  .lookbook .beijos-cta-header { padding: 12px 28px; font-size: 10px; letter-spacing: 1px; }
  .lookbook .libelle a { font-size: 9px; }
  .lookbook .flickity-prev-next-button { width: 30px; height: 30px; }
}

.lookbook .beijos-cta-banner {
  display: block !important;  /* ← toujours visible, desktop et mobile */
  position: relative;         /* ← pas absolu, centré par le flex parent */
  bottom: auto;
  left: auto;
  transform: none;
}

.lookbook .line-gallery-zoom .libelle-abs {
  padding: 15px !important;
}
@media (min-width: 1025px) {
  .lookbook .line-gallery-zoom .libelle-abs {
    padding: 20px !important;
  }
  .lookbook .line-gallery-zoom .zoom-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .lookbook .line-overlap .overlap-images {
    position: relative;
    z-index: 1;
  }
  
  .lookbook .line-overlap .libelle-overlap {
    position: relative;
    z-index: 2;
  }
}
}