/*
Theme Name: Mileo Ecommerce
Theme URI: https://github.com/AlejandroDAvidz/mileo-ecommerce
Author: Alejandro DAVID ZAMORA
Author URI: https://mileo.com
Description: Un thème WordPress personnalisé pour mon MILEO e-commerce
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mon-theme-mileo-ecommerce
*/

/* -------------------------------
  Importation de la police personnalisée
---------------------------------- */
@font-face {
  font-family: 'Tw Cen MT Std Semi Medium';
  src: url('./fonts/TwCenMTStd-SemiMedium.woff2') format('woff2'),
       url('./fonts/TwCenMTStd-SemiMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

/* -------------------------------
  Reset global et box-sizing
---------------------------------- */
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body,
h1, h2, h3, h4, h5, h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

body {
  overflow-x: hidden; /* Empêche le scroll horizontal */
}

/* -------------------------------
  Scrollbar invisible sur tout le site
---------------------------------- */
body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* -------------------------------
  Style global du body
---------------------------------- */
body {
  background-color: #ffffff; /* Fond blanc global */
  font-family: 'Urbanist', sans-serif; /* Police principale */
  color: #000; /* Texte noir */
  overflow-x: hidden; 

  scrollbar-width: none; /* Pour Firefox */
  -ms-overflow-style: none;  /* Pour IE et Edge */
}

body.menu-open {
  overflow: hidden; /* Empêche le défilement lorsque le menu est ouvert */
}

/* ================================
   Liens dans la barre principale (navigation)
================================ */
.mileo-menu-left li a,
.mileo-menu-right li a {
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  color: #fff2ce;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Soulignement animé */
.mileo-menu-left li a::after,
.mileo-menu-right li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff2ce;
  transition: width 0.3s ease;
}

/* =========================================
   SOULIGNEMENT AU SURVOL DU LI COMPLET
========================================= */

/*
  On cible le <li> et non le <a>.
  Ainsi le soulignement reste visible
  lorsque le mégamenu est ouvert.
*/
.mileo-menu-left li:hover > a::after,
.mileo-menu-right li:hover > a::after {
  width: 100%;
}

/* Au scroll : texte noir + soulignement noir */
header.scrolled .mileo-menu-left li a,
header.scrolled .mileo-menu-right li a {
  color: #000 !important;
}

header.scrolled .mileo-menu-left li a::after,
header.scrolled .mileo-menu-right li a::after {
  background-color: #000;
}

/* ================================
   Liens du MEGAMENU (identique à nav, mais toujours noirs)
================================ */
.link-mega {
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  color: #000 !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

/* Soulignement animé comme la nav */
.link-mega::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px !important;
  background-color: #000 !important;
  transition: width 0.3s ease;
}

.link-mega:hover::after {
  width: 100%;
}

/* -------------------------------
  Style du header (barre fixe en haut)
---------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: transparent;
  backdrop-filter: blur(5px);
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  transition: background-color 0.5s ease, height 0.5s ease;
}

/* Header quand on scroll */
header.scrolled {
  background-color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 90px;
}

/* FORCE ABSOLUE : hors home = logo noir */
body:not(.home) .mileo-logo {
  color: #000 !important;
}

/* -------------------------------
  Contenu interne du header (navigation)
---------------------------------- */

.mileo-nav {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 0 60px;
  column-gap: 20px;
}

/* Logo */
.mileo-logo {
  font-family: 'Tw Cen MT Std Semi Medium', sans-serif;
  font-size: 70px;
  letter-spacing: 6px;

  color: #000000;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;

  justify-self: center;
  text-align: center;
}

body.home header:not(.scrolled) .mileo-logo {
  color: #fff2ce !important;
}

/* Menu droit */
.mileo-menu-right {
  justify-self: end;
}

/* Couleur du logo quand la classe scrolled est active sur le header */
header.scrolled .mileo-logo {
  color: #000;
  font-weight: 400;
  font-size: 68px;
  transform: scale(0.9);
  justify-content: center;
}

/* Logo ne change JAMAIS de couleur au hover */
.mileo-logo:hover,
header .mileo-logo:hover {
  color: #fff2ce;
  text-decoration: none;
}

/* Version scroll (logo noir reste noir au hover) */
header.scrolled .mileo-logo:hover {
  color: #000;
}

.mileo-menu-left,
.mileo-menu-right {
  display: flex;
  padding: 0;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
}

/* ================================
   MENU GAUCHE
================================ */
.mileo-menu-left {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}



/* ================================
   MENU DROIT
================================ */
.mileo-menu-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ================================
    Menu gauche rechercher
================================ */

.mileo-search {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Barre de recherche header */
.mileo-search-input {
  border: none;
  border-bottom: 1px solid #fff2ce;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: 'Urbanist', sans-serif;
  padding: 6px 10px;
  width: 180px;
  transition: width 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  color: #fff2ce;
}

/* Placeholder beige par défaut */
.mileo-search-input::placeholder {
  color: #fff2ce;
  letter-spacing: 0.05em;
}

/* Effet minimaliste focus */
.mileo-search-input:focus {
  width: 240px;
  border-bottom: 1px solid #fff2ce;
}

/* Quand le header est scrollé ou pages secondaires */
header.scrolled .mileo-menu-right .mileo-search-input,
body:not(.home) .mileo-menu-right .mileo-search-input {
  border-bottom: 1px solid #000;
  color: #000;
}

header.scrolled .mileo-search-input::placeholder,
body:not(.home) .mileo-search-input::placeholder {
  color: #000;
}

/* ================================
    recherche automatique (dropdown)
================================ */

.mileo-search-wrapper {
  position: relative;
}

/* dropdown */
.mileo-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 240px;

  background: rgba(229, 229, 229, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  z-index: 9999;
  display: none;

  border-radius: 3px;
  overflow: hidden;
}

/* item produit */
.mileo-search-results div {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Urbanist', sans-serif;

  transition: background 0.2s ease;
}

/* hover propre */
.mileo-search-results div:hover {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

/* ================================
   SUPPRESSION DE LA X (SEARCH INPUT)
================================ */

.mileo-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

/* === STYLE FIXE POUR PAGES E-COMMERCE === */

body.woocommerce header,
body.single-product header,
body.archive.post-type-archive-product header {
  background-color: rgba(255, 255, 255, 0.5);
  height: 90px;
  border-bottom: 1px solid #e5e5e5;
  color: #000000;
  backdrop-filter: blur(5px);
}

/* Forcer l’apparence du header comme s’il était déjà scrollé */
body.woocommerce header .mileo-logo,
body.single-product header .mileo-logo,
body.archive.post-type-archive-product header .mileo-logo {
  color: #000;
  font-size: 68px;
  transform: scale(0.9);
}

/* Liens de navigation (menu) en noir */
body.woocommerce .mileo-menu-left li a,
body.woocommerce .mileo-menu-right li a,
body.single-product .mileo-menu-left li a,
body.single-product .mileo-menu-right li a,
body.archive.post-type-archive-product .mileo-menu-left li a,
body.archive.post-type-archive-product .mileo-menu-right li a {
  color: #000;
}

/* Soulignement noir */
body.woocommerce .mileo-menu-left li a::after,
body.woocommerce .mileo-menu-right li a::after,
body.single-product .mileo-menu-left li a::after,
body.single-product .mileo-menu-right li a::after,
body.archive.post-type-archive-product .mileo-menu-left li a::after,
body.archive.post-type-archive-product .mileo-menu-right li a::after {
  background-color: #000;
}

/* ============================
  STYLE PANIER
========================================= */

/* Masquer les deux par défaut */
.icon-panier {
  display: none;
  width: 22px;
  height: auto;
}

/* Cas 1 : page d’accueil (avant scroll) = beige */
body.home .icon-panier-beige {
  display: inline-block;
}

/* Cas 2 : page d’accueil après scroll = noire */
body.home header.scrolled .icon-panier-beige {
  display: none !important;
}

body.home header.scrolled .icon-panier-noir {
  display: inline-block !important;
}

/* Cas 3 : pages secondaires = toujours noir */
body:not(.home) .icon-panier-noir {
  display: inline-block;
}

.cart-count {
  margin-left: 1px;
  padding: 2px 6px;
  font-size: 12px;
  position: relative;
  top: -10px;
}

/* ================================
   LOGO BASE (TOUJOURS BEIGE)
================================ */
body.home header:not(.scrolled) .mileo-logo {
  color: #fff2ce;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* ================================
   LOGO AU SCROLL (TOUJOURS NOIR)
================================ */
header.scrolled .mileo-logo {
  color: #000 !important;
}

/* ================================
   OVERRIDE WOOCOMMERCE PROPRE
================================ */

body.woocommerce header.scrolled .mileo-logo,
body.single-product header.scrolled .mileo-logo,
body.archive header.scrolled .mileo-logo {
  color: #000 !important;
}

/* ==================================================
   HEADER RESPONSIVE CLEAN
================================================== */

/* =========================
   DESKTOP
========================= */

@media (min-width: 769px) {

  .burger,
  .mileo-mobile-menu {
    display: none !important;
  }

  .mileo-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 60px;
  }

  .mileo-menu-left,
  .mileo-menu-right {
    display: flex;
    align-items: center;
    gap: 55px;
    list-style: none;
  }

  .mileo-menu-left {
    justify-content: flex-start;
  }

  .mileo-menu-right {
    justify-content: flex-end;
  }

  .mileo-logo {
    font-size: 70px;
    text-align: center;
    position: relative;
    z-index: 5;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  header {
    height: 100px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mileo-nav {
    width: 100%;
    align-items: center;
  }

  .mileo-menu-left,
  .mileo-menu-right {
    display: none !important;
  }

  .mileo-logo {
    font-size: 52px;
    position: fixed;
    z-index: 1300;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1301;
    white-space: nowrap;
    text-align: center;
  }

  .burger {
    position: fixed;
    top: 38px;
    right: 20px;
    width: 30px;
    height: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;

    cursor: pointer;
    z-index: 1300;
  }

  .burger-bar {
    width: 100%;
    height: 2px;
    background: #fff2ce;
    transition: all 0.3s ease;
  }

  /* BURGER NOIR */
  header.scrolled .burger-bar,
  body.not-front-page .burger-bar {
    background: #000;
  }

  header.scrolled .mileo-logo {

    font-size: 52px;
    position: fixed;
    z-index: 1300;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1301;
    white-space: nowrap;
    text-align: center;
  }



  /* LOGO BEIGE UNIQUEMENT MENU OUVERT */
  body.menu-open .mileo-logo {
    color: #fff2ce !important;
  }

  /* =========================
     BURGER → X ANIMATION
  ========================= */

  .burger.active .burger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #fff2ce;
  }

  .burger.active .burger-bar:nth-child(2) {
    opacity: 0;
    background: #fff2ce;

  }

  .burger.active .burger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #fff2ce;
  }

  /* ================================
     MOBILE MENU - STRUCTURE GLOBALE
  ================================ */

  .mileo-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;

    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(18px);

    z-index: 1200;

    padding: 120px 35px 40px;
    overflow-y: auto;

    flex-direction: column;
    gap: 28px;
  }

  .mileo-mobile-menu.active {
    display: flex;
  }

  /* ================================
     SECTIONS
  ================================ */

  .mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* ================================
     TITRES
  ================================ */

  .mileo-mobile-menu h4 {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: rgba(255, 242, 206, 0.6);

    margin-bottom: 6px;
  }

  .mobile-parent {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: rgba(255, 242, 206, 0.75);

    margin: 10px 0 4px;

    display: block;
  }

  /* ================================
     LIENS
  ================================ */

  .mileo-mobile-menu a,
  .mileo-mobile-menu .mobile-child {
    font-family: 'Urbanist', sans-serif;
    font-size: 17px;

    font-weight: 300;
    letter-spacing: 0.04em;

    color: #fff2ce !important;
    text-decoration: none;

    display: block;

    padding: 3px 0;

    opacity: 0.85;

    transition: 0.25s ease;
  }

  .mileo-mobile-menu a:hover,
  .mileo-mobile-menu .mobile-child:hover {
    opacity: 0.6;
    transform: translateX(4px);

      /* Désactive le style global */
    text-decoration: underline;
    color: #b38b5d !important;
}
  }

  .mileo-mobile-menu .mobile-child {
    padding-left: 12px;
    border-left: 1px solid rgba(255, 242, 206, 0.12);
  }

  /* ================================
     COMPTE / HISTOIRE / PANIER
  ================================ */

  .mobile-menu-account {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 242, 206, 0.12);
    gap: 6px;
  }

  /* ================================
     SEARCH MOBILE
  ================================ */

  .mileo-mobile-menu .mileo-search {
    width: 100%;
  }

  .mileo-mobile-menu .mileo-search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 242, 206, 0.6) !important;

    color: #fff2ce !important;

    padding: 10px 0;

    font-size: 16px;
    font-weight: 300;
  }

  .mileo-mobile-menu .mileo-search-input::placeholder {
    color: rgba(255, 242, 206, 0.5) !important;
  }

  .mileo-mobile-menu .mileo-search-input:focus {
    border-bottom: 1px solid #fff2ce !important;
    outline: none;
  }

  /* MEGAMENU OFF */
  .megamenu {
    display: none;
  }


.js-no-click {
  pointer-events: none;
  cursor: default;
}


/* ============================
   STYLE FOOTER MOBILE
========================================= */

@media (max-width: 768px) {

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* IMPORTANT : on neutralise complètement le gap */
    gap: 0 !important;
    padding: 10px 10px !important;
    margin-left: 5px !important;
    margin-bottom: 0;
  }

  .footer-column {
    width: 100%;
    min-width: auto;
    /* supprime tout espace externe */
    margin: 0;
    /* compact */
    padding: 0;
  }

  .footer-column h4 {
    margin-bottom: 5px;
    font-size: 11px;
    letter-spacing: 0.14em;
    opacity: 0.6;
  }

  .footer-column ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px; /* ultra serré */
  }

  .footer-column a {
    font-size: 14px;
    line-height: 1.3;
  }

  .footer-bottom {
    padding: 5px 5px;
    font-size: 11px;

    margin-bottom: 0;
  }
}

  .footer {
    /* IMPORTANT : enlève l’espace global inutile */
    padding-bottom: 0;
    margin-bottom: 0;
  }








/* ============================
   STYLE DU MEGA-MENU PRINCIPAL
========================================= */

.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  width: 100vw;
  height: auto;

  background: rgba(255, 255, 255, 0.781);
  color: black;

  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;

  padding: 20px 40px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(0);

  transition: all 0.3s ease-in-out;

  z-index: 999;
  margin: 0 auto;
}

.megamenu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Titre global */
.megamenu-title-global {
  flex-basis: 100%;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0;
  color: #222;
}

.megamenu-title-text {
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 3px solid #222;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* =========================================
  COLONNES DANS LE MEGA-MENU
========================================= */

.megamenu-column {
  min-width: 220px;
  margin: 0 1rem;
}

.megamenu-column:last-child {
  margin-right: 0;
}

.megamenu-column h4 {
  font-weight: bold;
  margin-bottom: 1rem;
  display: inline-block;
}

.megamenu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.megamenu-column li {
  margin: 0.5rem 0;
}

/* -------------------------------
  Responsive : on masque le mega-menu sur mobile
---------------------------------- */
@media (max-width: 768px) {

  .megamenu {
    position: static;
    display: none;
    color: black;
  }

  .has-megamenu:hover .megamenu {
    display: none;
  }
}

/* -------------------------------
  Section hero avec vidéo en fond
---------------------------------- */
.mileo-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

/* -------------------------------
  Vidéo en plein écran et recadrage
---------------------------------- */
.mileo-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.01);
  transform-origin: center;
}

/* -------------------------------
  Contenu superposé sur la vidéo
---------------------------------- */
.mileo-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* -------------------------------
  Texte d’intro sous la vidéo
---------------------------------- */
.mileo-intro {
  font-family: 'Urbanist', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #000000;
  letter-spacing: 2px;
  line-height: 1.6;
  max-width: 700px;
  margin: 20px auto;
  padding: 0;
  text-align: left;
  white-space: pre-line;
  margin-top: 200px;
  margin-bottom: 200px;
}

/* =======================
   LIENS EN BAS DE PAGE
======================= */

.page-links {
  font-size: 0.95em;
  text-align: left;
  margin-top: 10px;
}

.page-links a {
  position: relative;
  display: inline-block;
  margin: 1px;
  color: #222;
  text-decoration: none !important;
  font-weight: 500;
}

.page-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 100%;
  background: #b38b5d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.page-links a:hover::after {
  transform: scaleX(1);
}

/* -------------------------------
  Bouton burger (menu mobile)
---------------------------------- */
.burger {
  position: fixed;
  top: 38px;
  right: 20px;

  display: none;
  flex-direction: column;
  justify-content: space-around;

  width: 30px;
  height: 25px;

  background: transparent;
  border: none;

  cursor: pointer;
  padding: 0;

  z-index: 9999;
}

/* Barres burger */
.burger-bar {
  width: 100%;
  height: 2px;
  background-color: #fff2ce;
  border-radius: 2px;
  transition: all 0.3s ease;
  z-index: 10000;
}

/* =========================================
   HERO PRODUIT CARIBBEA (HOME)
========================================= */

.mileo-product-hero {
  position: relative;
  width: 100%;
  height: 150vh;
  overflow: hidden;
}

/* Image */
.mileo-product-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Bloc texte superposé */
.mileo-product-hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 45%;
  color: white;
  z-index: 2;
}

/* Titre */
.mileo-product-hero-content .product-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.15em;
}

/* Sous-titre */
.mileo-product-hero-content .product-subtitle {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 300;
}

/* Prix */
.mileo-product-hero-content .product-price {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Bouton */
.mileo-product-hero .mileo-btn {
  color: inherit;
}

.mileo-product-hero .mileo-btn::after {
  background-color: currentColor;
}

.mileo-product-hero .mileo-btn:hover {
  color: #b38b5d !important;
}

/* Tablettes */
@media (max-width: 1024px) {

  .mileo-product-hero-content {
    max-width: 60%;
  }
}

/* Mobiles */
@media (max-width: 768px) {

  .mileo-product-hero {
    height: auto;
  }

  .mileo-product-hero img {
    height: auto;
  }

  .mileo-product-hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-width: 90%;
    margin: 20px auto;
    text-align: left;
    color: inherit;
  }
}

/* -------------------------------
  Galerie d’images Caribbea
---------------------------------- */
.mileo-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow-x: auto;

  gap: 0;

  width: 100vw;

  margin: 0;
  padding: 100px 0 100px;

  box-sizing: border-box;

  margin-bottom: 200px !important;
}

.mileo-gallery img {
  max-width: none;
  width: 33.3333vw;
  height: 700px;

  object-fit: cover;

  border-radius: 0;

  transition: transform 0.3s ease;

  cursor: pointer;
}

/* -------------------------------
  Section collection avec image centrale
---------------------------------- */

.collection-section {
  margin-top: 50px;
  padding: 60px 0 20px;
  width: 100%;
  text-align: center;
  margin-bottom: 150px;
}

/* TITRE */
.collection-title {
  font-weight: 100;
  font-size: 32px;
  margin-bottom: 20px;

  text-decoration: underline;
  text-decoration-color: #000000;
  text-underline-offset: 25px;
  text-decoration-thickness: 2px;

  letter-spacing: 0.25em;
}

.collection-subtitle {
  font-weight: 500;
  font-size: 35px;

  margin-top: 30px;
  margin-bottom: 60px;

  text-decoration-color: #000000;
  text-underline-offset: 12px;
  text-decoration-thickness: 3px;

  letter-spacing: 0.2em;
}

/* GRILLE */
.collection-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* ITEM */
.collection-item {
  flex: 1 1 350px;
  max-width: 350px;

  position: relative;
  overflow: hidden;

  cursor: pointer;
}

/* CONTENEUR IMAGE */
.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* IMAGES */
.image-wrapper img {
  width: 100%;
  display: block;
  transition: opacity 0.4s ease;
}

/* IMAGE HOVER */
.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* Hover */
.image-wrapper:hover .hover-img {
  opacity: 1;
}

.image-wrapper:hover .default-img {
  opacity: 0;
}

/* NOM */
.collection-name {
  font-size: 1rem;
  margin-top: 15px;
  font-weight: 400;
}

/* PRIX */
.collection-price {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 5px;
}

/* -------------------------------
  Responsive : adaptations mobiles
---------------------------------- */
@media (max-width: 768px) {

  .burger {
    display: flex;
  }

  .link-main {
    display: block;
    font-size: 18px;
    color: #fff2ce;
    padding: 10px 20px;
    line-height: 1.2;
    text-decoration: none;
  }

  .link-main a {
    font-size: 18px;
    color: #fff2ce;
    padding: 10px 20px;
    height: auto;
    line-height: 1.2;
  }

  header {
    height: 120px;
    padding: 0 20px;
  }

  .mileo-nav {
    padding-top: 0;
    justify-content: space-between;
  }

  .mileo-featured-main {
    flex-direction: column;
    max-width: 100%;
    padding: 0;
  }

  .mileo-featured-main img,
  .mileo-gallery img,
  .mileo-atelier img {
    max-width: 100%;
    height: auto;
  }

  .mileo-gallery {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .mileo-gallery img {
    flex: 0 0 auto;
    width: calc(100vw / 3);
    height: auto;
  }
}

/* ================================
   Nouveau style pour le produit Leya avec fond vert
================================= */

.mileo-product-highlight {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;

  width: 100%;

  box-sizing: border-box;

  padding: 0;
  padding-bottom: 150px;
}

/* Image */
.product-image {
  flex: 1;
  display: flex;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 0px;
}

/* Description */
.product-description {
  background-color: #273629;

  padding: 40px 20px;

  border-radius: 0px;

  color: white;

  width: 50vw;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  text-align: center;

  padding-left: 70px;
  padding-right: 70px;
}

.product-description h3 {
  margin-bottom: 150px;

  text-align: center;

  text-decoration: underline;
  text-underline-offset: 30px;
  text-decoration-thickness: 2px;

  font-weight: 400;
  font-size: 40px;

  margin-top: 300px;

  letter-spacing: 0.1em;
}

.product-description p {
  font-size: 1.3em;
  margin-bottom: 10px;
  text-align: left;
}

.product-description .price {
  font-size: 1.2em;
  font-weight: bold;

  margin-top: 250px;

  text-align: left;
}

.voir-plus-link {
  color: white;

  font-weight: 600;
  font-size: 1.5em;

  text-decoration: none;

  margin-top: 250px;
  margin-bottom: 100px;

  text-align: center;
}

.voir-plus-link:hover {
  text-decoration: underline;
}

/* ================================
   Responsive - Mobile et tablette
================================= */

@media (max-width: 768px) {

  .mileo-product-highlight {
    flex-direction: column;
  }

  .product-image {
    width: 100%;
    height: auto;
  }

  .product-description {
    width: 100%;
    margin-top: 0;
    padding: 20px;
    height: auto;
  }
}

/* =========================================
   Style global des liens du site
========================================= */

a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:visited {
  color: #000;
}

a:hover {
  color: #b38b5d;
  text-decoration: underline;
}

a:active {
  color: #b38b5d;
}

/* =========================================
   Boutons
========================================= */

.mileo-btn,
.mileo-btn a {
  text-decoration: none !important;
}

.mileo-btn:hover,
.mileo-btn a:hover {
  text-decoration: none !important;
}

/* ============================
   FOOTER GLOBAL
============================ */

.footer {
  background-color: #ffffff;
  color: #fff;
  overflow: auto;
}

/* ============================
   CONTAINER FLEX
============================ */

.footer-container {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;

  align-items: flex-start;

  max-width: 1200px;

  gap: 200px;

  padding: 40px 0;

  margin: 0 auto;

  box-sizing: border-box;
}

.footer-line {
  height: 1px;
  background-color: #e5e5e5;
  width: 100%;
}

/* ============================
   COLONNES
============================ */

.footer-column {
  flex: 0 0 auto;
  min-width: 200px;
  margin-bottom: 20px;
}

/* ============================
   TITRES
============================ */

.footer-column h4 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;

  margin-bottom: 15px;

  color: #000;
}

/* ============================
   LISTES DE LIENS
============================ */

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  text-decoration: none;
  font-size: 14px;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* ============================
   DROITS D'AUTEUR
============================ */

.footer-bottom {
  background-color: #ededed;
  color: #000000;

  text-align: center;

  padding: 5px 0;

  font-size: 14px;

  letter-spacing: 0.05em;
}

/* ============================
   STRUCTURE SITE
============================ */

html,
body {
  height: 100%;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}