/* 
==================================================================
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
==================================================================
*/

/* 
==================================================================
SOMMAIRE
------------------------------------------------------------------
1) Variablease
2) ANIMATION
3) TYPOGRAPHIE & TEXTES
   3.1) Highlights / surtitres
   3.2) Effets de texte en dégradé (statique, hover, animé)
4) BOUTONS & CTAs (bordures dégradées, styles hover)
5) WOO/PRODUIT (swatches, add-to-cart, variations)
6) CHANGEMENT COULEUR/DIVERS PAGE ID
7) IMAGE WIDTH MEDIA
==================================================================
*/

/* Resets/éléments globaux */

:root {
  --scrollbar-color-custom: #f51e2a;
}

body.enjoy-home-custom {
  --scrollbar-color-custom: #84dde5;
}

::-webkit-scrollbar-thumb,
::selection {
  background-color: var(--scrollbar-color-custom) !important;
}

p {
  margin: 0 !important;
}

strong,
b {
  color: rgba(39, 1, 3, 0.8) !important;
}

.content-card-icon .elementor-icon {
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

@media all and (max-width: 1024px) {
  .content-text-real::before {
    background-color: transparent !important;
  }
}

/*Placement des fleche sur les carousel d'images realisation */
.carousel-realisation .swiper {
  overflow: visible !important;
}

.carousel-realisation .eicon-chevron-right:before,
.carousel-realisation .eicon-chevron-left:before {
  content: '';
  position: absolute;
  inset: unset;
  height: 50px;
  width: 50px;
  background-position: center;
  background-size: cover;
}

.carousel-realisation .eicon-chevron-left:before {
  background-image: url(https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/Group-3.webp);
}

.carousel-realisation .eicon-chevron-right:before {
  background-image: url(https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/Group-2.webp);
}

@media all and (min-width: 767px) {
  .carousel-realisation.elementor-element .swiper .elementor-swiper-button,
  .elementor-element .swiper ~ .elementor-swiper-button,
  .carousel-realisation .elementor-lightbox .swiper .elementor-swiper-button,
  .carousel-realisation .elementor-lightbox .swiper ~ .elementor-swiper-button {
    inset: unset;
    bottom: 35px !important;
  }
  .carousel-realisation .elementor-swiper-button-next {
    right: 100px !important;
  }

  .carousel-realisation .elementor-swiper-button-prev {
    left: 100px !important;
  }
}

@media all and (max-width: 767px) {
  .carousel-realisation .eicon-chevron-right:before,
  .carousel-realisation .eicon-chevron-left:before {
    height: 40px;
    width: 40px;
    margin-top: 95px;
  }

  .carousel-realisation .elementor-swiper-button-next {
    right: 50px !important;
  }

  .carousel-realisation .elementor-swiper-button-prev {
    left: 10px !important;
  }
}

/* ===============================================================
1) VARIABLES
=============================================================== */

/* Variables de dégradé */
:root {
  --gradient-color: linear-gradient(
    120deg,
    #f99e01 13.39%,
    #f89906 17.05%,
    #f78b15 21.44%,
    #f6742d 26.57%,
    #f45550 31.69%,
    #f22c7c 37.55%,
    #f2208a 39.02%,
    #f21f78 40.48%,
    #f41f58 43.41%,
    #f51e3c 46.34%,
    #f61e26 50.73%,
    #f71e15 55.13%,
    #f71e08 60.25%,
    #f71e01 67.57%,
    #f81e00 86.61%
  );

  --gradient-color-reverse: linear-gradient(
    145deg,
    #f81e00 13.39%,
    #f71e01 32.43%,
    #f71e08 39.75%,
    #f71e15 44.87%,
    #f61e26 49.27%,
    #f51e3c 53.66%,
    #f41f58 56.59%,
    #f21f78 59.52%,
    #f2208a 60.98%,
    #f22c7c 62.45%,
    #f45550 68.31%,
    #f6742d 73.43%,
    #f78b15 78.56%,
    #f89906 82.95%,
    #f99e01 86.61%
  );

  --gradient-sunset: linear-gradient(
    90deg,
    rgba(252, 176, 69, 1) 8%,
    rgba(180, 58, 170, 1) 17%,
    rgba(253, 29, 29, 1) 26%,
    rgba(255, 255, 255, 1) 44%
  );
}

/* ===============================================================
2) ANIMATION
=============================================================== */

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===============================================================
3) TYPOGRAPHIE & TEXTES
=============================================================== */

/* 3.1) Highlights & surtitres */
.highlight,
.highlight-blue {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.highlight::before,
.highlight-blue::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  opacity: 0.2;
}

.highlight::before {
  z-index: -1;
  background: var(--gradient-color);
}

.highlight-blue::before {
  z-index: -1;
  background: #84dde5;
}

.surtitle-smile,
.surtitle-smile-blue {
  margin-left: 25px;
  position: relative;
}
.surtitle-smile span::before,
.surtitle-smile-blue span::before {
  content: '';
  position: absolute;
  inset: unset;
  display: block !important;
  left: -10px;
  top: 50%;
  transform: translate(-100%, -50%);
  width: 13px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
}

.surtitle-smile span::before {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/Group.webp');
}

.surtitle-smile-blue span::before {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/Vector.webp');
}

/* 3.2) Effets de texte en dégradé */

/* Texte en dégradé (statique + animation de position au hover du conteneur) */
.text-gradient :where(p, a, span, strong, em, small, h1, h2, h3, h4, h5, h6, button) {
  background: var(--gradient-color);
  background-size: 200% auto;
  background-position: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  transition: background-position 0.6s ease;
}
.text-gradient:hover :where(p, a, span, strong, em, small, h1, h2, h3, h4, h5, h6, button) {
  background-position: -100%;
}

/* Variante reverse (statique) */
.text-gradient-reverse :where(p, a, span, strong, em, small, h1, h2, h3, h4, h5, h6, button) {
  background: var(--gradient-color-reverse);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
}

.text-gradient-sunset :where(p, a, span, strong, em, small, h1, h2, h3, h4, h5, h6, button) {
  background: var(--gradient-sunset);
  background-size: 200% auto;
  background-position: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  transition: background-position 0.6s ease;
}

.text-gradient-sunset:hover :where(p, a, span, strong, em, small, h1, h2, h3, h4, h5, h6, button) {
  background-position: -100%;
}

/* Texte animé au survol (passe de blanc → dégradé animé) */
.text-animate-gradient :where(p, a, span, strong, em, small, h1, h2, h3, h4, h5, h6, button) {
  color: #fff;
  display: inline-block;
  position: relative;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff;
  transition: all 0.4s ease;
}
.text-animate-gradient :where(p, a, span, strong, em, small, h1, h2, h3, h4, h5, h6, button):hover {
  background: var(--gradient-color);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

/* Variante simple de texte en dégradé (sans hover) */
.gradient-color-text {
  background: var(--gradient-color);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-bold b,
.text-bold strong {
  color: #270103 !important;
  font-weight: 600 !important;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-text-font-size) !important;
}
/* ===============================================================
4) BOUTONS
=============================================================== */

/* Fond dégradé avec animation */

.btn-bg-animate {
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  background-image: var(--gradient-color) !important;
  border-radius: 50px;
}

.btn-bg-animate:hover {
  background-position: right center;
}

/* Contour dégradé en fond (pour wrappers) */
.border-gradient-bg {
  background: transparent;
  padding: 0.5rem 1rem;
  background-image: linear-gradient(90deg, white, white), var(--gradient-color);
  background-clip: padding-box, border-box;
  background-origin: border-box;
  border: 3px solid transparent;
  border-radius: 50px;
}

/* Bouton avec bordure dégradée (pseudo-élément) */
.border-gradient {
  position: relative;
  background: none !important;
  color: #fff;
  border: none !important;
  border-radius: 50px !important;
  z-index: 1;
  cursor: pointer;
  overflow: hidden;
}
.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 50px;
  background: var(--gradient-color-reverse) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* Bouton Elementor avec bordure dégradée + hover rempli */
.btn-border-gradient .elementor-button {
  font-size: 18px;
  font-weight: 500;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  background: transparent;
  position: relative;
  z-index: 1;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: color 0.4s ease;
}
.btn-border-gradient .elementor-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--gradient-color);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientShift 4s ease infinite;
  z-index: -1;
}
.btn-border-gradient .elementor-button:hover {
  color: #fff;
  background: #ff3c00;
}

/* Bouton sans fond avec bordure animé */
.btn-border-gradient-animate .elementor-button {
  font-size: 18px;
  font-weight: 500;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  background: transparent;
  position: relative;
  z-index: 1;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: color 0.4s ease;
}

.btn-border-gradient-animate .elementor-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--gradient-color);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientShift 4s ease infinite;
  z-index: -1;
}

/* ===============================================================
5) WOO/PRODUIT
=============================================================== */

/* Variations : masquer le tableau natif */
table.variations {
  display: none;
}

/* Swatches */
.custom-swatch-group {
  margin-bottom: 1.5em;
}

.custom-swatch-flex {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.custom-swatch-label {
  margin: 0;
}

.custom-swatch {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  box-sizing: border-box;
  border: none;
  transition: all 0.1s ease-in-out;
}
.custom-swatch.selected {
  outline: 2px solid black;
  outline-offset: 4px;
}
.custom-swatch::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.custom-swatch:hover::after {
  opacity: 1;
}

/* Add to cart : espacements des boutons */
button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed,
button.single_add_to_cart_button {
  margin-top: 1rem !important;
}

.woocommerce-variation-add-to-cart .quantity {
  display: none !important;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled .quantity {
  display: none !important;
}

.devis-single-product {
  position: relative;

  overflow: hidden;
  transition: all 0.3s ease;
  margin: 30px 0px 0px 0px !important;
  background-color: var(--e-global-color-accent) !important;
  font-family: var(--e-global-typography-11680eb-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-11680eb-font-size) !important;
  font-weight: var(--e-global-typography-11680eb-font-weight) !important;
  text-transform: var(--e-global-typography-11680eb-text-transform) !important;
  line-height: var(--e-global-typography-11680eb-line-height) !important;
  fill: var(--e-global-color-primary) !important;
  color: var(--e-global-color-primary) !important;
  border-style: solid !important;
  border-width: 2px 2px 2px 2px !important;
  border-color: var(--e-global-color-accent) !important;
  border-radius: 50px 50px 50px 50px !important;
  padding: 10px 44px 10px 24px !important;
}

.devis-single-product:hover {
  background-color: var(--e-global-color-8efa02b) !important;
  color: #ffffff !important;
  border-color: var(--e-global-color-8efa02b) !important;
}

.devis-single-product::after {
  content: '\f061'; /* Font Awesome arrow-right (solid) */
  font-family: 'Font Awesome 5 Free'; /* adapte selon ta version FA */
  font-weight: 900; /* solid style */
  position: absolute;
  right: 1.6em;
  top: 50%;
  transform: translateY(-50%);
  background: #fff; /* cercle de fond */
  color: #000; /* couleur de la flèche */
  border-radius: 50%;
  font-size: 0.6em;
  width: 1.6em;
  height: 1.6em;
  line-height: 1.6em;
  text-align: center;
  transition: all 0.3s ease;
}
.devis-single-product:hover::after {
  background: #000;
  color: #fff;
  transform: translateY(-50%) translateX(3px); /* petit mouvement dynamique */
}

body:not(.is-single-product) .devis-single-product {
  display: none;
}

button.single_add_to_cart_button.button.alt {
  margin: 30px 0px 0px 0px !important;
  background-color: var(--e-global-color-accent);
  font-family: var(--e-global-typography-11680eb-font-family), Sans-serif;
  font-size: var(--e-global-typography-11680eb-font-size);
  font-weight: var(--e-global-typography-11680eb-font-weight);
  text-transform: var(--e-global-typography-11680eb-text-transform);
  line-height: var(--e-global-typography-11680eb-line-height);
  fill: var(--e-global-color-primary);
  color: var(--e-global-color-primary);
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: var(--e-global-color-accent);
  border-radius: 50px 50px 50px 50px;
  padding: 10px 24px 10px 24px;
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
  margin: 30px 0px 0px 0px !important;
  background-color: var(--e-global-color-accent) !important;
  font-family: var(--e-global-typography-11680eb-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-11680eb-font-size) !important;
  font-weight: var(--e-global-typography-11680eb-font-weight) !important;
  text-transform: var(--e-global-typography-11680eb-text-transform) !important;
  line-height: var(--e-global-typography-11680eb-line-height) !important;
  fill: var(--e-global-color-primary) !important;
  color: var(--e-global-color-primary) !important;
  border-style: solid !important;
  border-width: 2px 2px 2px 2px !important;
  border-color: var(--e-global-color-accent) !important;
  border-radius: 50px 50px 50px 50px !important;
  padding: 10px 24px 10px 24px !important;
}

button.single_add_to_cart_button.button.alt:hover {
  background-color: var(--e-global-color-8efa02b) !important;
  color: #ffffff !important;
  border-color: var(--e-global-color-8efa02b) !important;
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed:hover {
  background-color: var(--e-global-color-8efa02b) !important;
  color: #ffffff !important;
  border-color: var(--e-global-color-8efa02b) !important;
}

button.single_add_to_cart_button.button.alt {
  position: relative;
  padding-right: 2.5em; /* espace pour l'icône */
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Ajout de la flèche circulaire après le bouton */
button.single_add_to_cart_button.button.alt::after {
  content: '\f061'; /* Font Awesome arrow-right (solid) */
  font-family: 'Font Awesome 5 Free'; /* adapte selon ta version FA */
  font-weight: 900; /* solid style */
  position: absolute;
  right: 1.6em;
  top: 50%;
  transform: translateY(-50%);
  background: #fff; /* cercle de fond */
  color: #000; /* couleur de la flèche */
  border-radius: 50%;
  font-size: 0.6em;
  width: 1.6em;
  height: 1.6em;
  line-height: 1.6em;
  text-align: center;
  transition: all 0.3s ease;
}

/* Animation au hover */
button.single_add_to_cart_button.button.alt:hover::after {
  background: #000;
  color: #fff;
  transform: translateY(-50%) translateX(3px); /* petit mouvement dynamique */
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed::after {
  opacity: 0;
}

p.swatch-availability-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===============================================================
6) CHANGEMENT COULEUR PAGE ID
=============================================================== */

/* 
SOMMAIRE
---------
- page-id-4353 = Mobilier sur mesure
- page-id-4938 = Cuisine extérieure
- page-id-3297 = Réalisations
- single-product = Produits (fiche produit)
- page-id-3298 = Mobilier standardisé
- page-id-4568 = Travaux & rénovation
- page-id-4777 = Architecture & décoration intérieure
*/

/* --- Base newsletter card --- */
.card-newsletter::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
}
/* --- Commun : boutons (pages spécifiques) --- */

.enjoy-home-custom .nav-contact-button {
  display: none !important;
}

.enjoy-home-custom .btn-devis-footer,
.enjoy-home-custom .logo-footer {
  display: none !important;
}

body:not(.enjoy-home-custom) .enjoy-home-btn,
body:not(.enjoy-home-custom) .logo-footer-blue {
  display: none !important;
}

/* --- Commun : citations & highlights (3298, 4568, 4777) --- */
body.page-id-3298 .blue-quotation-marks,
body.page-id-4568 .blue-quotation-marks,
body.page-id-4777 .blue-quotation-marks,
body.single-product .blue-quotation-marks {
  display: block !important;
}
body.page-id-3298 .gradient-quotation-marks,
body.page-id-4568 .gradient-quotation-marks,
body.page-id-4777 .gradient-quotation-marks,
body.single-product .gradient-quotation-marks {
  display: none !important;
}

.enjoy-home-custom .highlight::before {
  z-index: 0;
  background: #84dde5 !important;
}
body.page-id-3298 .surtitle-smile span::before,
body.page-id-4568 .surtitle-smile span::before,
body.page-id-4777 .surtitle-smile span::before,
body.single-product .surtitle-smile span::before {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/Vector.webp') !important;
}

/* --- Commun : logos bleus/noirs (3298, 4568, 4777) --- */
body.page-id-3298 .logo_primary-black,
body.page-id-4568 .logo_primary-black,
body.page-id-4777 .logo_primary-black,
body.single-product .logo_primary-black {
  display: none !important;
}

body.page-id-3298 .logo_primary-white,
body.page-id-4568 .logo_primary-white,
body.page-id-4777 .logo_primary-white,
body.single-product .logo_primary-white {
  display: none !important;
}
body.page-id-3298 .logo_secondary-black,
body.page-id-4568 .logo_secondary-black,
body.page-id-4777 .logo_secondary-black,
body.single-product .logo_secondary-black {
  display: block !important;
}
body.page-id-3298 .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-black,
body.page-id-4568 .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-black,
body.page-id-4777 .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-black,
body.single-product .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-black {
  display: block !important;
}
body.page-id-3298 .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-white,
body.page-id-4568 .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-white,
body.page-id-4777 .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-white,
body.single-product .navBar-content:has(.elementor-menu-toggle.elementor-active) .logo_secondary-white {
  display: none !important;
}

/*  Mobilier sur mesure */
body.page-id-4353 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-msm.webp') !important;
}
body.page-id-4353 .card-newsletter::before {
  opacity: 0.5 !important;
}

/*  Cuisine extérieure */
body.page-id-4938 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-conception-cuisine.webp') !important;
}
body.page-id-4938 .card-newsletter::before {
  opacity: 0.5 !important;
}

/* Réalisations */
body.page-id-3297 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-realisations.webp') !important;
}
body.page-id-3297 .card-newsletter::before {
  opacity: 0.5 !important;
}

/* Fiche produit */
body.single-product .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-products-scaled.webp') !important;
}
body.single-product .card-newsletter::before {
  opacity: 0.5 !important;
}

/* Mobilier standardisé */
body.page-id-3298 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-mob-stand-crop.webp') !important;
}
body.page-id-3298 .card-newsletter::before {
  opacity: 0.5 !important;
}

/* Travaux & rénovation */
body.page-id-4568 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-travaux-renov-scaled.webp') !important;
}
body.page-id-4568 .card-newsletter::before {
  opacity: 0.4 !important;
}

/* Architecture & décoration intérieure */
body.page-id-4777 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-architecture-scaled.webp') !important;
}
body.page-id-4777 .card-newsletter::before {
  opacity: 0.3 !important;
}

/* conception de cuisine */
body.page-id-4528 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/10/Just24_Composizione05_VistaC_Post-3-scaled.webp') !important;
}
body.page-id-4528 .card-newsletter::before {
  opacity: 0.5 !important;
}

/* Produits */
body.page-id-3298 .card-newsletter {
  background-image: url('https://www.enjoy-cuisines.fr/wp-content/uploads/2025/09/banner-footer-products-1-scaled.webp') !important;
}
body.page-id-3298 .card-newsletter::before {
  opacity: 0.5 !important;
}

/* ===============================================================
7) IMAGE WIDTH MEDIA
=============================================================== */

.mg-tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin-bottom: 1em;
  gap: 1rem;
}

.mg-tab-nav li {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 24px;
  font-family: var(--e-global-typography-11680eb-font-family), Sans-serif;
  font-size: var(--e-global-typography-11680eb-font-size);
  font-weight: var(--e-global-typography-11680eb-font-weight);
  text-transform: var(--e-global-typography-11680eb-text-transform);
  line-height: var(--e-global-typography-11680eb-line-height);
}

.mg-tab-nav li:not(.active) {
  position: relative;
  border: none !important;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  background: var(--gradient-color);
  background-size: 200% auto;
  background-position: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  transition: background-position 0.6s ease;
}

.mg-tab-nav li:not(.active)::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 50px;
  background: var(--gradient-color);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.mg-tab-nav li:not(.active):hover {
  background-position: -100%;
}

li.active {
  display: inline-block;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  background-image: var(--gradient-color);
  text-decoration: none;
  border-radius: 50px;
  color: white;
}

li.active:hover {
  background-position: right center;
}

li:focus,
li:hover {
  border-radius: 50px !important;
}
.mg-tab-content {
  display: none;
}
.mg-tab-content.active {
  display: block;
  margin-top: 50px !important;
}

@media all and (max-width: 1024px) {
  .mg-tab-content,
  .mg-tab-nav {
    padding: 0px 50px !important;
  }
}

@media all and (max-width: 1024px) {
  .mg-tab-content {
    padding: 0px 20px !important;
  }
}
.mg-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.mg-gallery a {
  display: block;
  overflow: hidden;
}
.mg-gallery img {
  width: 100%;
  height: 272px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.mg-item.hidden {
  display: none;
}
button.mg-load-more {
  display: block;
  margin: 5rem auto 0 auto;
  padding: 10px 24px;
  border: none !important;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  background: var(--gradient-color);
  background-size: 200% auto;
  background-position: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  transition: background-position 0.6s ease;
  font-family: var(--e-global-typography-11680eb-font-family), Sans-serif;
  font-size: var(--e-global-typography-11680eb-font-size);
  font-weight: var(--e-global-typography-11680eb-font-weight);
  text-transform: var(--e-global-typography-11680eb-text-transform);
  line-height: var(--e-global-typography-11680eb-line-height);
}

button.mg-load-more::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 50px;
  background: var(--gradient-color);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

button.mg-load-more:hover {
  background-position: -100%;
}

a.mg-item {
  animation: animate 0.3s ease-in-out;
}

@keyframes animate {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media all and (max-width: 1024px) {
  .mg-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (max-width: 767px) {
  .mg-gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media all and (max-width: 550px) {
  .mg-tab-nav {
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding: 0px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .mg-tab-nav li {
    text-wrap: nowrap;
  }

  .mg-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .mg-tab-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@media all and (min-width:1024px){
  .sub-menu {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
}

@media (max-width: 1024px) {
  .elementor-widget-nav-menu .elementor-widget-container > .elementor-nav-menu--dropdown  {
    
     box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  }
}



