/* =========================================================
   1. VARIABLES & GLOBAL
   ========================================================= */
:root {
  --white-color: #ffffff;
  --color-principal: #e63d00;
  --color-secondaire: #54595f;
  --color-texte: #222222;
  --color-accentue: transparent;
  --background-color-1: #fff5f0;
  --background-color-2: #ffc4af;
  --background-color-3: #ff9974;
  --background-color-4: #f08d69;
  --background-color-5: #332e2b;
  --choco-1: #754026;
  --carte-texte: #241411;
  --carte-background: #0f0e0a;
  --choco-2: #5c2c16;
  --gold-color: #c4b086;
  --border-radius: 4px;
}

a {
  text-decoration: none !important;
  text-transform: none !important;
  color: inherit;
}
a:hover {
  color: inherit;
}


/* =========================================================
   2. ELEMENTOR & EFFETS
   ========================================================= */
.e-con-inner {
  padding: 0 !important;
  margin: 0 !important;
}

#site-header {
  display: none;
}

.elementor-element-59d9521 {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.elementor-element-59d9521.visible {
  visibility: visible;
  opacity: 1;
}


/* =========================================================
   3. HEADER & NAVIGATION
   ========================================================= */
.home-fixed-cont {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0;
  height: 100dvh;
}

.glob-container {
  border: 20px solid rgba(255, 255, 255, 0.05) !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  height: 100dvh;
}

.home-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1366px;
  height: calc(100dvh - 20px);
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.home-main.visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.home-main-cont-el {
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.home-header,
.home-header.active {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-height: auto;
  gap: 0 !important;
  position: fixed;
  left: 0;
  right: 0;
  top: 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  z-index: 99;
}
.home-header.active {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: #f7ede8a2;
  box-shadow: 0px 0px 10px #86868675;
}

.header-logo-cont {
  max-width: 10%;
  display: flex;
  justify-content: center !important;
  align-items: flex-start;
  gap: 0 !important;
  padding: 0;
}

.logo-img {
  width: 6rem;
  height: 6rem;
}

.header-menu-icon-cont {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center !important;
  align-items: flex-end;
  padding: 0;
  position: relative;
}

.header-menu-items {
  max-width: 90%;
  display: flex;
  justify-content: center !important;
  align-items: flex-start;
  padding: 0;
}

.menu-items {
  width: 100%;
  list-style: none;
  display: flex;
  gap: 1rem;
  color: var(-white-color) !important;
}

.menu-item {
  color: var(--white-color);
  font-size: 1rem;
  color: var(-white-color) !important;
}
.menu-item:hover {
  text-decoration: overline;
  color: var(--white-color);
}


/* =========================================================
   4. PAGES & LAYOUT
   ========================================================= */
.wrapper {
  max-width: 1024px;
  width: 100%;
  padding: 0;
  gap: 0;
}

.section {
  display: flex;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  padding: 5rem 0;
  min-height: 80vh;
}
.section-1 {
  min-height: auto;
}
.section-2 {
  min-height: auto;
}
.black-white-section {
  background-color: var(--background-color-5) !important;
}

.page-cont {
  background-color: var(--background-color-1) !important;
  padding: 0 !important;
}

.background-2 {
  background-color: var(--background-color-4) !important;
}
.background-2 p,
.background-2 h2 {
  color: var(--white-color) !important;
}
.background-2 .title-cont {
  border-left: solid 2px var(--white-color);
}

.header-page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100vh;
}

.header-page-cont {}

.header-page-iner {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  border-top: 20px solid rgba(255, 255, 255, 0.05) !important;
  border-left: 20px solid rgba(255, 255, 255, 0.05) !important;
  border-right: 20px solid rgba(255, 255, 255, 0.05) !important;
}

.main-iner {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  border-left: 20px solid rgba(255, 255, 255, 0.05) !important;
  border-right: 20px solid rgba(255, 255, 255, 0.05) !important;
  position: relative;
  padding: 0;
}

.title-cont {
  border-left: solid 2px var(--color-principal);
  padding: 0 0 0 0.5rem;
}

.title {
  color: var(--color-principal);
}

.page-text-cont {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.text-cont {
  padding: 0;
}

.text {
  font-weight: 300 !important;
  line-height: 24px !important;
  letter-spacing: 4% !important;
  padding: 0;
  margin-bottom: 0 !important;
  font-size: 1rem;
}

.page-img-text-cont {
  border-radius: 4px;
  box-shadow: 0px 0px 24px #00000048;
}

.page-img-text-cont-inner {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-img-text-title {
  font-size: 3rem !important;
  font-weight: 500;
}

.page-img-text-freto {
  margin-bottom: -8px;
}

.patisserie-img-bck-color {
  background-color: #0a0f0d !important;
  h2, .text {
    color: var(--white-color);
  }
}

.link {
  color: var(--color-principal) !important;
}


/* =========================================================
   5. CARROUSELS & BLOCS VISUELS
   ========================================================= */
.carrusel-elements-cont {
  padding: 5rem 0rem 5rem;
  gap: 0;
}

.box-carrusel-items {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: flex-start;
  padding: 3rem 0 1.5rem;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.box-carrusel-items::-webkit-scrollbar {
  display: none;
}

.box-carrusel-item {
  box-shadow: 5px 5px 10px #00000014;
  margin-right: 24px;
}
.box-carrusel-item:hover {
  box-shadow: none;
  transition: box-shadow 0.5s;
}

.box-carrusel-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  gap: 24px;
  border-radius: 4px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #f08d6914;
  padding: 1rem;
}

img.carrusel-img {
  height: 350px;
  object-position: center;
  object-fit: contain;
}
.carrusel-img-is-parfum {
  object-fit: cover;
  mask-image: url(http://maisonfreto.fr/wp-content/uploads/2025/05/logo-freto-full-color-inside-image.webp);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url(http://maisonfreto.fr/wp-content/uploads/2025/05/logo-freto-full-color-inside-image.webp);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.icon-text-btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: auto;
  gap: 8px;
}


/* =========================================================
   6. BOUTONS & ÉLÉMENTS VISUELS
   ========================================================= */
#visit-menu,
#more-info {
  display: flex;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

#visit-menu {
  color: var(--color-principal);
  border: solid 1px var(--color-principal);
  box-shadow: 5px 5px 10px #00000024;
}
#visit-menu:hover {
  background-color: transparent;
  border: solid 1px var(--color-principal);
  box-shadow: none;
}
.visit-menu-2 {
  color: var(--white-color) !important;
  border: solid 1px var(--white-color) !important;
}

#more-info {
  color: var(--white-color);
  border: solid 1px var(--white-color);
  width: 100%;
  margin-top: 1.5rem;
}
#more-info:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border: solid 1px var(--white-color);
  box-shadow: none;
}

.icon-btn {
  max-width: 24px;
  max-height: 24px;
}

.ti-text,
.ti-rating {
  color: var(--white-color) !important;
}

.buches-coming-soon {
  color: var(--white-color);
  border: solid 1px var(--white-color);
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
}


/* ====== BLOCS TEMPS ====== */
.time-bloc-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.time-bloc-items {
  display: flex;
  flex-direction: column;
  gap: rem;
  margin-top: -80px;
}

.time-item {
  margin-top: 0rem;
}

.a-freto-day {
  color: var(--white-color);
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 1rem !important;
}

.freto-week-day {
  font-weight: 300;
}

.time-number-cont {
  height: 150px;
  overflow: hidden;
}
.time-number-cont > div {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.time-number {
  font-size: 120px;
  font-weight: 300;
  height: 150px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.time-numb-slide-to-1 {
  transform: translateY(-150px);
}

.time-dots {
  font-size: 100px;
  font-weight: 200;
}

#time-info {
  color: var(--white-color);
  font-weight: 400;
  font-size: 1.6rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  margin-top: -0.5rem;
}


/* =========================================================
   7. MENU
   ========================================================= */
   
   /* --- Conteneur carrousel --- */
.carte-carrusel-container {
  position: sticky !important;
  top: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  padding: 0.25rem 1rem;
  background-color: #944131;
}

.carte-carrusel-cont {
  max-width: 500px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.25rem 0 0.25rem 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  margin: 0;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  z-index: 9;
}

.carte-carrusel-cont::-webkit-scrollbar {
  display: none;
}

.carte-carrusel-cont > li {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* --- Boutons cliquables du carrousel --- */
.carte-carrusel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.4rem 0.8rem;
  background-color: #9e5341;
  color: var(--white-color);
  border-radius: 8px;
  box-shadow: 3px 3px 5px var(--carte-background);
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  font-weight: 300;
  transition: background 0.3s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.carte-carrusel-btn:hover {
  background-color: #9e5341;
  color: var(--white-color);
  border: 1px solid var(--white-color);
}

/* --- Icônes dans les boutons --- */
.carte-icon-btn {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  opacity: 1;
  mask-image: url("http://maisonfreto.fr/wp-content/uploads/2025/05/logo-freto-full-color.webp");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("http://maisonfreto.fr/wp-content/uploads/2025/05/logo-freto-full-color.webp");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* --- Compositions --- */
.menu-compositions-cont {
  overflow: hidden;
  opacity: 1;
  height: 60px;
  transform: translateY(0px);
  transition: opacity 0.4s ease, height 0.5s ease, padding 0.3s ease,
    margin 0.3s ease transform 0.5s ease;
}

/* Classe active (cachée) */
.menu-compositions-cont-active {
  opacity: 0;
  height: 0;
  transform: translateY(-20px);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.menu-compositions {
  display: flex;
  list-style: none;
  gap: 1rem;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.compositions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #ffffff24;
  color: var(--white-color);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.qty,
.price {
  flex-shrink: 0;
}

.carte-icon-comp {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}

/* ---------- 7.1 BASIC CONFIG ---------- */
.menu__col--section {
  max-width: 500px;
  padding: 0 1rem 3rem 1rem;
}

.menu__section--item--cont {
  padding: 0.5rem;
  border-radius: 4px;
  margin-bottom: 24px;
}

.menu__section--items {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.menu__item--desc--el {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.25rem;
}

.menu__item--desc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.menu__item--desc--desc {
  width: 100%;
}

.menu__section--image {
  width: 56px;
  height: 56px;
}

.menu__item--imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.menu__item--img {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.menu__item--img1 {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 50%;
  height: auto;
}
.menu__item--img2 {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 50%;
  height: auto;
}
.canvas-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: none;
}
.section--image--cremes-glacees,
.section--image--sorbets,
.section--image--freto-et-domaine-de-leos,
.section--image--nos-supplements-faits-maison {
  .canvas-img {
    object-fit: cover;
    mask-image: url('http://maisonfreto.fr/wp-content/uploads/2025/05/logo-freto-full-color.webp');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url('http://maisonfreto.fr/wp-content/uploads/2025/05/logo-freto-full-color.webp');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
  }
}

.img--fallback {
  background: #f5f5f5;
  color: #999;
  text-align: center;
  padding: 1rem;
  border: 1px dashed #ccc;
}
.fallback-text {
  font-size: 0.9rem;
}

.menu__section--title--cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 8rem;
}

.menu__badge--cont {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.menu__badge--items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.menu__badge--image {
  width: 24px;
  height: 24px;
}

/* ---------- 7.2 MENU CUSTOMISATION ---------- */
.menu__section {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.section--image--cremes-glacees,
.section--image--sorbets,
.section--image--nos-supplements-faits-maison,
.section--image--freto-et-domaine-de-leos {
  .menu__section--items {
    display: flex;
    flex-direction: row !important;
  }
  .menu__item--img {
    width: 100%;
    max-width: 160px;
    border-radius: 4px;
  }
  .menu__item--desc {
    min-height: 120px;
  }
}

.menu__section--item--cont {
  background-color: #ab654b14;
}

.menu__section--title {
  color: var(--color-principal);
  text-transform: capitalize;
  font-size: 1rem !important;
}

.menu__desc--title,
.menu__desc--price,
.menu__description {
  color: var(--carte-texte);
}

.menu__desc--title {
  font-weight: 300;
  font-size: 1.05rem;
}
.menu__desc--title::first-letter {
  text-transform: uppercase !important;
}

.menu__desc--price--el {
  display: flex !important;
  flex-direction: column-reverse;
  
}

.menu__description {
  margin: 0;
  font-weight: 200;
}

.menu__badge--items {
  color: #9e5342;
  background-color: rgb(158 83 66 / 3%);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.menu__badge--content {
  color: var(--color-principal);
  font-size: 0.85rem;
}

.section--image--sorbets,.section--image--cremes-glacees{
    .menu__desc--price--el{
        display: none !important;
    }
}


/* =========================================================
   8. FOOTER
   ========================================================= */
.home-footer-link {
  font-size: 0.9rem;
}

#footerLCP {
  visibility: hidden;
}

footer {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
  animation: none !important;
}


/* =========================================================
   9. MOBILE MENU
   ========================================================= */
#open-mobile-menu {
  pointer-events: auto !important;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 999;
  padding: 0 !important;
}
#mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.desk-el,
.mobile-el {
  padding: 0;
}

.mobile-menu-header {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding: 0;
  height: calc(50px + 0.5rem);
}

.mobile-menu-cont {
  background-color: var(--background-color-1);
  width: 100%;
  height: 100dvh;
  padding: 0 20px 20px;
  gap: 0;
}

.mobile-menu-items {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column !important;
  justify-content: space-between;
  max-height: calc(100dvh);
  width: 100%;
  gap: 20px;
}

.mobile-menu-item-a {
  border-radius: 4px;
  padding: 0;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: calc(21.6dvh - 20px);
}

.mobile-menu-item-b {
  border-radius: 4px;
  padding: 0;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: calc(12dvh - 20px);
}

.carte-mobile-menu-item {
  background-position: top 30% center !important;
}

.mobile-menu-item-title {
  color: var(--white-color);
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
}


/* =========================================================
   10. RESPONSIVE (MIN & MAX WIDTH)
   ========================================================= */

/* ----- MIN-WIDTH ----- */
@media (min-width: 767px) {
  .header-menu-icon-cont {
    display: none;
  }
  .section-1 {
    padding: 5rem 0 0 0;
  }
  .section-2 {
    padding: 1rem 0 5rem 0;
  }
}

@media (min-width: 500px) {
  .mobile-el {
    display: none;
  }
}

/* ----- MAX-WIDTH ----- */
@media (max-width: 900px) {
  .section {
    gap: 24px;
  }
  .page-text-cont {
    padding: 0 0.5rem;
  }
}

@media (max-width: 767px) {
  .header-menu-items {
    display: none;
  }
}

@media (max-width: 500px) {
  .desk-el {
    display: none;
    padding: 0;
  }

  .home-header {}

  .header-logo-cont {
    max-width: 20%;
  }

  .logo-img {
    width: 50px !important;
    height: 50px !important;
  }

  .time-number-cont {
    height: 100px;
    overflow: hidden;
  }
  .time-number {
    font-size: 100px;
    font-weight: 300;
    height: 100px;
    text-align: center;
  }
  .time-numb-slide-to-1 {
    transform: translateY(-100px);
  }
  .time-dots {
    font-size: 100px;
    font-weight: 200;
    height: 100px;
    display: flex;
    align-items: center;
  }
  #time-info {
    font-size: 1.50rem;
  }

  .section {
    padding: 3rem 0;
  }
  .header-page-wrapper {
    height: 45vh;
  }
  .page-img-text-title {
    font-size: 2.5rem !important;
  }

  .carrusel-elements-cont {
    padding: 3rem 0rem;
    gap: 0;
  }

  .home-footer-link {
    font-size: 0.61812rem;
  }
}