/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 @codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /**
   * colors
   */
  --spanish-gray: hsl(0, 0%, 60%);
  --sonic-silver: hsl(0, 0%, 47%);
  --eerie-black: hsl(0, 0%, 13%);
  --salmon-pink: hsl(353, 100%, 78%);
  --sandy-brown: hsl(29, 90%, 65%);
  --bittersweet: hsl(0, 100%, 70%);
  --ocean-green: hsl(152, 51%, 52%);
  --davys-gray: hsl(0, 0%, 33%);
  --cultured: hsl(0, 0%, 93%);
  --white: hsl(0, 100%, 100%);
  --onyx: hsl(0, 0%, 27%);

  /**
   * typography
   */
  --fs-1: 1.563rem;
  --fs-2: 1.375rem;
  --fs-3: 1.25rem;
  --fs-4: 1.125rem;
  --fs-5: 1rem;
  --fs-6: 0.938rem;
  --fs-7: 0.875rem;
  --fs-8: 0.813rem;
  --fs-9: 0.75rem;
  --fs-10: 0.688rem;
  --fs-11: 0.625rem;

  --weight-300: 300;
  --weight-400: 400;
  --weight-500: 500;
  --weight-600: 600;
  --weight-700: 700;

  /**
   * border-radius
   */
  --border-radius-md: 10px;
  --border-radius-sm: 5px;

  /**
   * transition
   */
  --transition-timing: 0.2s ease;
}




/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a { text-decoration: none; }

li { list-style: none; }

button {
  background: none;
  font: inherit;
  border: none;
  cursor: pointer;
}

img, ion-icon, button, a { display: block; }

span { display: inline-block; }

html {
  font-family: "Poppins", sans-serif;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
}

input {
  display: block;
  width: 100%;
  font: inherit;
}

input::-webkit-input-placeholder { font: inherit; }

input::-moz-placeholder { font: inherit; }

input:-ms-input-placeholder { font: inherit; }

input::-ms-input-placeholder { font: inherit; }

input::placeholder { font: inherit; }

body { background: var(--white); }

/**
 * scrollbar style
 */

body::-webkit-scrollbar { width: 15px; }

body::-webkit-scrollbar-track {
  background: var(--white);
  border-left: 1px solid var(--cultured);
}

body::-webkit-scrollbar-thumb {
  background: hsl(0, 0%, 80%);
  border: 3px solid var(--white);
  -webkit-border-radius: 10px;
          border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover { background: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding: 0 15px; }

.has-scrollbar { padding-bottom: 5px; }

.has-scrollbar::-webkit-scrollbar {
  width: 12px; /* for vertical scroll */
  height: 12px; /* for horizontal scroll */
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: transparent;
  border: 3px solid var(--white);
  -webkit-border-radius: 20px;
          border-radius: 20px;
}

.has-scrollbar:hover::-webkit-scrollbar-thumb { background: hsl(0, 0%, 90%); }

.has-scrollbar::-webkit-scrollbar-thumb:hover { background: hsl(0, 0%, 80%); }

.product-image {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}




/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

/**
 * overlay
 */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 15;
  -webkit-transition: 0.5s ease;
  -o-transition: 0.5s ease;
  transition: 0.5s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}



/**
 * MODAL
 */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsla(0, 0%, 0%, 0.5);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10;
  -webkit-animation: popup 1s ease-in-out 5s forwards;
          animation: popup 1s ease-in-out 5s forwards;
}

@-webkit-keyframes popup {

  0% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  100% {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

}

@keyframes popup {

  0% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  100% {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

}

.modal.closed { display: none; }

.modal-close-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.newsletter-img { display: none; }

.modal-content {
  position: relative;
  max-width: 350px;
  margin: 20px;
  background: var(--white);
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  overflow: hidden;
  z-index: 2;
  -webkit-animation: scaleUp 0.5s ease-in-out 5s forwards;
          animation: scaleUp 0.5s ease-in-out 5s forwards;
}

@-webkit-keyframes scaleUp {

  0% { -webkit-transform: scale(0.9); transform: scale(0.9); }
  100% { -webkit-transform: scale(1); transform: scale(1); }

}

@keyframes scaleUp {

  0% { -webkit-transform: scale(0.9); transform: scale(0.9); }
  100% { -webkit-transform: scale(1); transform: scale(1); }

}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--salmon-pink);
  color: var(--white);
  font-size: 16px;
  padding: 5px;
  -webkit-border-radius: var(--border-radius-sm);
          border-radius: var(--border-radius-sm);
}

.modal-close-btn:hover { opacity: 0.9; }

.modal-close-btn ion-icon { --ionicon-stroke-width: 70px; }

.newsletter {
  padding: 50px 30px;
  text-align: center;
}







/**
 * NOTIFICATION TOAST
 */

.notification-toast {
  position: fixed;
  bottom: 80px;
  left: 20px;
  right: 20px;
  background: var(--white);
  max-width: 300px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 15px;
  padding: 15px;
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  -webkit-box-shadow: 0 5px 20px hsla(0, 0%, 0%, 0.15);
          box-shadow: 0 5px 20px hsla(0, 0%, 0%, 0.15);
  -webkit-transform: translateX(-webkit-calc(-100% - 40px));
      -ms-transform: translateX(calc(-100% - 40px));
          transform: translateX(calc(-100% - 40px));
  -webkit-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  z-index: 5;
  -webkit-animation: slideInOut 10s ease-in-out infinite;
          animation: slideInOut 10s ease-in-out infinite;
}

@-webkit-keyframes slideInOut {

  0%,
  45%,
  100% {
    -webkit-transform: translateX(-webkit-calc(-100% - 40px));
            transform: translateX(calc(-100% - 40px));
    opacity: 0;
    visibility: hidden;
  }

  50%,
  95% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

}

@keyframes slideInOut {

  0%,
  45%,
  100% {
    -webkit-transform: translateX(-webkit-calc(-100% - 40px));
            transform: translateX(calc(-100% - 40px));
    opacity: 0;
    visibility: hidden;
  }

  50%,
  95% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

}

.notification-toast.closed { display: none; }

.toast-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--sonic-silver);
}

.toast-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.toast-banner {
  width: 70px;
  height: 70px;
  border: 1px solid var(--cultured);
  -webkit-border-radius: var(--border-radius-sm);
          border-radius: var(--border-radius-sm);
}

.toast-banner img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.toast-detail {
  width: -webkit-calc(100% - 85px);
  width: calc(100% - 85px);
  padding-right: 10px;
}

.toast-message {
  font-size: var(--fs-10);
  color: var(--sonic-silver);
  margin-bottom: 8px;
}

.toast-title {
  font-size: var(--fs-7);
  font-weight: var(--weight-500);
  color: var(--onyx);
}

.toast-meta {
  font-size: var(--fs-10);
  color: var(--sonic-silver);
}














/*-----------------------------------*\
  #CATEGORY - Style basé sur l'image
\*-----------------------------------*/
.category {
  max-width: 1350px; /* Cohérence */
  background-color: #2c3e50; /* Couleur de fond */
  padding: 10px 0; /* Padding vertical */
  
  /* Mise à jour pour centrer : */
  /* margin: [top] [right/left] [bottom]; */
  margin: 0 auto 30px; /* 0 en haut, auto à gauche/droite, 30px en bas */

  /* Alternative si vous préférez garder margin-bottom séparé : */
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* margin-bottom: 30px; /* Espace en dessous */ */
}

.category .container {
  max-width: 1300px; /* Cohérence */
  margin: 0 auto;
  padding: 0;
}

.category-item-container {
  display: flex;
  justify-content: space-between; /* Répartir les éléments uniformément */
  align-items: stretch; /* Étirer les éléments pour qu'ils aient la même hauteur */
  overflow-x: auto; /* Permet le défilement horizontal si nécessaire */
  overflow-y: hidden;
  scrollbar-width: none; /* Masquer la barre de défilement standard */
  -ms-overflow-style: none; /* Masquer la barre de défilement pour IE/Edge */
}

.category-item-container::-webkit-scrollbar {
  display: none; /* Masquer la barre de défilement pour Webkit */
}

.category-item {
  display: flex;
  flex-direction: column; /* Icône au-dessus du texte */
  align-items: center; /* Centrer horizontalement */
  justify-content: center; /* Centrer verticalement */
  flex: 1; /* Chaque élément prend une part égale de l'espace */
  min-width: 50px; /* Largeur minimale pour chaque catégorie */
  padding: 5px 5px; /* Plus de padding vertical */
  text-align: center;
  cursor: pointer; /* Indiquer que c'est cliquable */
  transition: background-color 0.2s ease; /* Transition douce au survol */
  background-color: #34495e; /* Couleur de fond légèrement plus claire que le conteneur */
  border-right: 1px solid #2c3e50; /* Séparateur entre les éléments */
}

.category-item:last-child {
  border-right: none; /* Pas de bordure pour le dernier élément */
}

.category-item:hover {
  background-color: rgba(255, 255, 255, 0.1); /* Léger fond blanc transparent au survol */
}

.category-img-box {
  margin-bottom: 8px; /* Espace entre l'icône et le texte */
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important; /* Fond transparent */
  border: none !important; /* Pas de bordure */
  box-shadow: none !important; /* Pas d'ombre */
  width: auto !important; /* Largeur automatique */
  height: auto !important; /* Hauteur automatique */
  position: relative; /* Position relative */
  z-index: 2; /* Z-index plus élevé */
}

.category-icon {
  font-size: 22px; /* Taille de l'icône */
  color: var(--white) !important; /* Couleur blanche pour l'icône */
  background: transparent !important; /* Fond transparent */
  display: inline-block !important; /* Affichage en bloc inline */
  width: auto !important; /* Largeur automatique */
  height: auto !important; /* Hauteur automatique */
  position: relative; /* Position relative */
  z-index: 3; /* Z-index plus élevé */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Légère ombre pour améliorer la visibilité */
}

.category-content-box {
  width: 100%; /* Prend toute la largeur disponible */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.category-content-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.category-item-title {
  color: var(--white);
  font-size: var(--fs-10);
  text-transform: none;
  line-height: 1.2;
  margin-top: 2px;
  text-align: center;
  width: 100%;

  /* Ajout de la police */
  font-family: 'Lato', sans-serif;
  font-weight: 400; /* Ou le poids que vous avez importé */

}

.category-item-amount,
.category-btn {
  display: none; /* Masquer le montant et le bouton */
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
  .category-item-container {
    justify-content: flex-start; /* Aligner à gauche sur mobile */
  }

  .category-item {
    min-width: 90px; /* Largeur minimale sur mobile */
    padding: 10px 5px; /* Padding réduit sur mobile */
  }

  .category-icon {
    font-size: 18px; /* Icône plus petite sur mobile */
  }

  .category-item-title {
    font-size: var(--fs-11); /* Texte plus petit sur mobile */
  }
}





/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  background: #FFFFFF; /* Couleur blanche */
  position: fixed;
  top: 0;
  left: -100%; /* Masquer la sidebar à gauche */
  bottom: 0;
  width: 100%;
  max-width: 320px;
  padding: 30px;
  overflow-y: auto; /* Permet le défilement */
  overscroll-behavior: contain; /* Comportement de défilement */
  visibility: hidden; /* Masquer par défaut */
  transition: left 0.5s ease, visibility 0.5s ease; /* Transition douce */
  z-index: 20;
  font-family: 'Roboto', sans-serif; /* Police Roboto */
}

.sidebar.active {
  left: 0; /* Afficher la sidebar */
  visibility: visible; /* Rendre visible */
}

.sidebar-category {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #EAEAEA; /* Bordure claire */
}

.sidebar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sidebar-title {
  color: #2A2A2A; /* Couleur sombre */
  font-size: 1rem; /* Taille de police pour les titres */
  letter-spacing: 0.8px; /* Espacement entre les lettres */
  font-weight: bold; /* Mettre en gras */
  margin-top: -20px;
}

.sidebar-close-btn {
  color: #D9534F; /* Couleur rouge pour le bouton de fermeture */
  font-size: 22px; /* Taille du bouton */
  font-weight: bold; /* Mettre en gras */
}

.sidebar-accordion-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0; /* Espacement vertical */
}


.sidebar-accordion-menu ion-icon {
  color: #5D5D5D; /* Couleur des icônes */
  font-size: 14px; /* Taille des icônes */
}

.sidebar-submenu-category-list {
  border-top: 1px solid #EAEAEA; /* Bordure claire */
  max-height: 0; /* Masquer par défaut */
  overflow: hidden; /* Masquer le contenu débordant */
  visibility: hidden; /* Masquer par défaut */
  transition: max-height 0.5s ease-in-out, visibility 0.5s ease-in-out; /* Transition pour le dépliage */
}

.sidebar-submenu-category-list.active {
  padding: 13px 0 8px; /* Espacement vertical */
  max-height: 500px; /* Hauteur maximale */
  visibility: visible; /* Rendre visible */
}

.sidebar-submenu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #5D5D5D; /* Couleur grise */
  font-size: 0.875rem; /* Taille de police pour sous-titres */
  padding: 2px 0; /* Espacement vertical */
}

.sidebar-submenu-title:hover {
  color: #2A2A2A; /* Changer couleur au survol */
}

.product-name {
  text-transform: capitalize; /* Capitaliser les noms de produits */
}

.sidebar-accordion-menu.active .add-icon,
.sidebar-accordion-menu .remove-icon {
  display: none; /* Masquer les icônes par défaut */
}

.sidebar-accordion-menu .add-icon,
.sidebar-accordion-menu.active .remove-icon {
  display: block; /* Afficher les icônes selon état actif */
}

.showcase-heading {
  font-size: 1rem; /* Taille de police pour les titres de vitrine */
  font-weight: bold; /* Mettre en gras */
  color: #2A2A2A; /* Couleur sombre */
  text-transform: uppercase; /* Texte en majuscules */
  letter-spacing: 0.8px; /* Espacement entre les lettres */
  margin-bottom: 15px; /* Marge inférieure */
}

.showcase {
  display: flex;
  align-items: center;
  gap: 15px; /* Espacement entre les éléments */
}

.showcase:not(:last-child) {
  margin-bottom: 15px; /* Marge inférieure pour tous sauf le dernier */
}

.showcase-img {
  border-radius: 5px; /* Bordure arrondie */
}

.showcase-content {
  width: calc(100% - 90px); /* Largeur ajustée */
}

.showcase-title {
  color: #2A2A2A; /* Couleur sombre */
  font-size: 0.600rem; /* Taille de police pour le titre de vitrine */
  font-weight: 400; /* Poids léger */
  text-transform: capitalize; /* Capitaliser */
  overflow: hidden; /* Masquer débordement */
  white-space: nowrap; /* Une seule ligne */
  text-overflow: ellipsis; /* Ellipses pour le texte long */
  letter-spacing: 0.5px; /* Espacement entre les lettres */
}

.showcase-rating {
  display: flex;
  align-items: center;
  color: #FF6F61; /* Couleur saumon pour la note */
  font-size: 13px; /* Taille de police pour les notes */
  padding: 4px 0; /* Espacement vertical */
}

.price-box {
  display: flex;
  align-items: center;
  gap: 15px; /* Espacement entre les prix */
}

.price-box del {
  color: #757575; /* Couleur grise pour prix barré */
  font-size: 13px; /* Taille du prix barré */
}

.price-box .price {
  font-size: 0.875rem; /* Taille de police pour le prix */
  font-weight: bold; /* Mettre en gras */
  color: #333333; /* Couleur sombre pour le prix */
}

/* Effet de survol sur les éléments de la sidebar */
.sidebar-category:hover {
  background-color: transparent; /* Pas de couleur de fond au survol */
}

.sidebar-accordion-menu:hover {
  background-color: transparent; /* Pas de changement au survol */
  transition: background-color 0.3s; /* Transition pour effet de survol */
}

.showcase:hover .showcase-title {
  color: #2A2A2A; /* Couleur sombre au survol */
}

/* Survol de la catégorie sélectionnée */
.sidebar-category:hover .menu-title {
  color: #0A74DA; /* Couleur de survol spécifique à la catégorie */
}

/* Couleurs de survol par catégorie */
.sidebar-category:nth-child(1):hover {
  background-color: transparent; /* Pas de couleur douce pour la première catégorie */
}

.sidebar-category:nth-child(2):hover {
  background-color: transparent; /* Pas de couleur douce pour la deuxième catégorie */
}

.sidebar-category:nth-child(3):hover {
  background-color: transparent; /* Pas de couleur douce pour la troisième catégorie */
}

/* Ajoutez d'autres couleurs spécifiques pour chaque catégorie selon vos besoins */










/*-----------------------------------*\
  #PRODUCT GRID
\*-----------------------------------*/

.product-main { margin-bottom: 30px; }

.product-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 25px;
}

.product-grid .showcase {
  border: 1px solid var(--cultured);
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  overflow: hidden;
  -webkit-transition: var(--transition-timing);
  -o-transition: var(--transition-timing);
  transition: var(--transition-timing);
}

.product-grid .showcase:hover { -webkit-box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1); box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1); }

.product-grid .showcase-banner { position: relative; }

.product-grid .product-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: var(--transition-timing);
  -o-transition: var(--transition-timing);
  transition: var(--transition-timing);
}

.product-grid .product-img.default {
  position: relative;
  z-index: 1;
}

.product-grid .product-img.hover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
}

.product-grid .showcase:hover .product-img.hover { opacity: 1; }

.product-grid .showcase:hover .product-img.default { opacity: 0; }

.product-grid .showcase:hover .product-img { -webkit-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); }

.product-grid .showcase-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #2c3e50, #4a6491);
  font-size: var(--fs-8);
  font-weight: var(--weight-500);
  color: var(--white);
  padding: 0 8px;
  -webkit-border-radius: var(--border-radius-sm);
          border-radius: var(--border-radius-sm);
  z-index: 3;
}

.product-grid .showcase-badge.angle {
  top: 8px;
  left: -29px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
  text-transform: uppercase;
  font-size: 11px;
  padding: 5px 40px;
}

.product-grid .showcase-badge.black { background: var(--eerie-black); }

.product-grid .showcase-badge.pink { background: var(--salmon-pink); }

.product-grid .showcase-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  -webkit-transform: translateX(50px);
      -ms-transform: translateX(50px);
          transform: translateX(50px);
  -webkit-transition: var(--transition-timing);
  -o-transition: var(--transition-timing);
  transition: var(--transition-timing);
  z-index: 3;
}

.product-grid .showcase:hover .showcase-actions { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }

.product-grid .btn-action {
  background: var(--white);
  color: var(--sonic-silver);
  margin-bottom: 5px;
  border: 1px solid var(--cultured);
  padding: 5px;
  -webkit-border-radius: var(--border-radius-sm);
          border-radius: var(--border-radius-sm);
  -webkit-transition: var(--transition-timing);
  -o-transition: var(--transition-timing);
  transition: var(--transition-timing);
}

.product-grid .btn-action:hover {
  background: var(--eerie-black);
  color: var(--white);
  border-color: var(--eerie-black);
}

.product-grid .showcase-content { padding: 15px 20px 0; }

.product-grid .showcase-category {
  color: var(--salmon-pink);
  font-size: var(--fs-9);
  font-weight: var(--weight-500);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-grid .showcase-title {
  color: var(--sonic-silver);
  font-size: var(--fs-8);
  font-weight: var(--weight-300);
  text-transform: capitalize;
  letter-spacing: 1px;
  margin-bottom: 10px;
  -webkit-transition: var(--transition-timing);
  -o-transition: var(--transition-timing);
  transition: var(--transition-timing);
}

.product-grid .showcase-title:hover { color: var(--eerie-black); }

.product-grid .showcase-rating {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  color: var(--sandy-brown);
  margin-bottom: 10px;
}

.product-grid .price-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  font-size: var(--fs-7);
  color: var(--eerie-black);
  margin-bottom: 10px;
}

.product-grid .price { font-weight: var(--weight-700); }

.product-grid del { color: var(--sonic-silver); }







/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog { margin-bottom: 30px; }

.blog-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 15px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-scroll-snap-type: inline mandatory;
      -ms-scroll-snap-type: inline mandatory;
          scroll-snap-type: inline mandatory;
}

.blog-card {
  min-width: 100%;
  scroll-snap-align: start;
}

.blog-banner {
  width: 100%;
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  margin-bottom: 20px;
}

.blog-category {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  color: var(--salmon-pink);
  font-size: var(--fs-8);
}

.blog-title {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--weight-600);
  line-height: 1.4;
  margin-bottom: 5px;
  -webkit-transition: var(--transition-timing);
  -o-transition: var(--transition-timing);
  transition: var(--transition-timing);
}

.blog-title:hover { color: var(--salmon-pink); }

.blog-meta {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
}

.blog-meta cite {
  font-style: normal;
  color: var(--davys-gray);
}






  /**
   * #CATEGORY
   */

  .category-item-container { gap: 30px; }

  .category-item { min-width: -webkit-calc(50% - 15px); min-width: calc(50% - 15px); }



  /**
   * #PRODUCT
   */

  .product-minimal .showcase-container { min-width: 50%; }

  .product-featured .showcase-img {
    max-width: 450px;
    margin: auto;
  }

  .product-featured .countdown { gap: 20px; }

  .showcase-container {
    transition: transform 0.5s ease;
}


  /**
   * #CTA
   */

  .cta-container { aspect-ratio: 6 / 5; }



  /**
   * #BLOG
   */

  .blog-container { gap: 30px; }

.blog-card { min-width: -webkit-calc(50% - 15px); min-width: calc(50% - 15px); }

} /* Fin de @media (min-width: 570px) */





/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * #CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 2.375rem;

  }



  /**
   * #BASE
   */

  html { font-size: 17px; }



  /**
   * #REUSED STYLE
   */

  .container {
    max-width: 750px;
    margin: auto;
  }



  /**
   * #MODAL
   */

  .modal-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 750px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }

  .newsletter-img { display: block; }

  .newsletter { text-align: left; }



  /**
   * #HEADER
   */

  .header-main .container { gap: 80px; }

  .header-search-container { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; }



  /**
   * #BANNER
   */

  .slider-item {
    aspect-ratio: auto;
    height: 350px;
  }

  .banner-content { max-width: 380px; }

  .banner-subtitle { --fs-7: 1.25rem; }

  .banner-text { --fs-7: 1.125rem; }

  .banner-text b { --fs-2: 1.875rem; }

  .banner-btn { --fs-11: 0.75rem; }



  /**
   * #CATEGORY
   */

  .category-img-box { padding: 20px; }



  /**
   * #PRODUCT
   */

  .product-minimal {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 20px;
  }

  .product-minimal .product-showcase {
    min-width: -webkit-calc(50% - 10px);
    min-width: calc(50% - 10px);
    width: -webkit-calc(50% - 10px);
    width: calc(50% - 10px);
  }

  .product-minimal .showcase-container { min-width: 100%; }

  .product-featured .showcase {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
  }

  .product-featured .showcase-img { max-width: -webkit-fit-content; max-width: -moz-fit-content; max-width: fit-content; }

  .product-featured .showcase-content {
    margin-top: 0;
    min-width: -webkit-calc(100% - 345px);
    min-width: calc(100% - 345px);
  }

/* Style du bouton d'ajout au panier */
.product-container__add-to-cart {
    position: absolute; /* Positionnement absolu pour le positionnement spécifique */
    bottom: 15px; /* Positionnement à 15px du bas */
    left: 15px; /* Positionnement à 15px du côté gauche */
    right: 15px; /* Positionnement à 15px du côté droit */
    opacity: 0; /* Opacité initiale à 0 pour être caché */
    visibility: hidden; /* Visibilité initiale cachée */
    transition: 0.3s; /* Transition pour l'affichage du bouton */
}

/* Style du lien à l'intérieur du bouton d'ajout au panier */
.product-container__add-to-cart > a {
    padding: 12px; /* Rembourrage de 12px autour du texte */
    border-radius: 0.125rem; /* Coins arrondis du bouton */
    font-size: 13px; /* Taille de police de 13px */
    width: 100%; /* Largeur à 100% du conteneur */
    text-align: center; /* Alignement du texte au centre */
    display: block; /* Affichage en bloc pour occuper toute la largeur */
}

/* Affichage du bouton lors du survol de l'élément parent */
.showcase:hover .product-container__add-to-cart {
    opacity: 1; /* Rendre le bouton visible */
    visibility: visible; /* Changer la visibilité en visible */
}



  /**
   * #CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 2.625rem;
    --fs-2: 1.125rem;

  }



  /**
   * #REUSED STYLE
   */

  .container { max-width: 980px; }



  /**
   * #NOTIFICATION TOAST
   */

  .notification-toast { bottom: 30px; }



  
  /**
   * #BANNER
   */

  .banner { margin-top: 0; }

  .slider-item { height: 380px; }

  .banner-content {
    left: 75px;
    max-width: 400px;
  }

  .banner-subtitle { --fs-7: 1.625rem; }

  .banner-text { --fs-7: 1.375rem; }

  .banner-btn { --fs-11: 0.875rem; }



  /**
   * #CATEGORY
   */

  .category-item { min-width: -webkit-calc(33.33% - 20px); min-width: calc(33.33% - 20px); }

  .category-img-box { padding: 10px; }



  /**
   * #PRODUCT
   */

  .product-container .container {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .sidebar {
    --fs-5: 0.941rem;

    position: -webkit-sticky;

    position: sticky;
    top: 30px;
    left: 0;
    padding: 0;
    min-width: -webkit-calc(25% - 15px);
    min-width: calc(25% - 15px);
    margin-bottom: 30px;
    visibility: visible;
    overflow-y: auto;
    -ms-scroll-chaining: chained;
        overscroll-behavior: auto;
    z-index: 0;
  }

  .sidebar-category {
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--cultured);
    -webkit-border-radius: var(--border-radius-md);
            border-radius: var(--border-radius-md);
  }

  .sidebar-close-btn { display: none; }

  .product-box { min-width: -webkit-calc(75% - 15px); min-width: calc(75% - 15px); }

  .product-minimal { margin-bottom: 20px; }

  .product-minimal .product-showcase {
    min-width: -webkit-calc(33.33% - 14px);
    min-width: calc(33.33% - 14px);
    width: -webkit-calc(33.33% - 14px);
    width: calc(33.33% - 14px);
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }

  .product-minimal .showcase-wrapper { gap: 10px; }

  .product-minimal .showcase-container { padding: 2px; }

  .product-featured .countdown-content { padding: 5px 10px; }

  .product-grid { -ms-grid-columns: (1fr)[3]; grid-template-columns: repeat(3, 1fr); }



	/* Style de la section stock */
	.stock-info {
		margin-top: 10px;
		font-size: 14px;
		color: #333;
	}

	.stock-remaining {
		font-weight: bold;
		color: #288DF7; /* Couleur pour mettre en valeur le stock restant */
	}

	#stock-count {
		color: #e63946; /* Couleur différente pour le nombre de stock restant */
		font-weight: bold;
		font-size: 16px;
	}
}








  /**
   * #TESTIMONIALS, CTA & SERVICE
   */

  .testimonials-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 30px;
  }

  .testimonial-card { margin-bottom: 0; }

  .testimonial, .cta-container {
    min-width: -webkit-calc(50% - 15px);
    min-width: calc(50% - 15px);
    width: -webkit-calc(50% - 15px);
    width: calc(50% - 15px);
    margin-bottom: 0;
  }




  /**
   * #BLOG
   */

  .blog-card { min-width: -webkit-calc(33.33% - 20px); min-width: calc(33.33% - 20px); }

  .blog-title { --fs-5: 1rem; }



  
/**
 * responsive larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * #REUSED STYLE
   */

  .container { max-width: 1200px; }



  



  /**
   * #BANNER
   */

  .slider-item:last-child .banner-img { -o-object-position: top; object-position: top; }



  /**
   * #CATEGORY
   */

  .category-item { min-width: -webkit-calc(25% - 22.5px); min-width: calc(25% - 22.5px); }

  .category-item-title { --fs-9: 0.824rem; }



  /**
   * #PRODUCT
   */

  .product-featured .showcase > div { min-width: -webkit-calc(50% - 10px); min-width: calc(50% - 10px); }

  .product-featured .display-number { --fs-5: 1.125rem; }

  .product-grid { -ms-grid-columns: (1fr)[4]; grid-template-columns: repeat(4, 1fr); }



  /**
   * #TESTIMONIALS, CTA, SERVICE
   */

  .testimonial, .service {
    min-width: -webkit-calc(25% - 20px);
    min-width: calc(25% - 20px);
    width: -webkit-calc(25% - 20px);
    width: calc(25% - 20px);
  }

  .cta-container {
    min-width: -webkit-calc(50% - 20px);
    min-width: calc(50% - 20px);
    width: -webkit-calc(50% - 20px);
    width: calc(50% - 20px);
    aspect-ratio: unset;
  }


  /**
   * #BLOG
   */

  .blog { margin-bottom: 50px; }

  .blog-card { min-width: -webkit-calc(25% - 22.5px); min-width: calc(25% - 22.5px); }







/**
 * responsive larger than 1400px screen
 */

@media (min-width: 1400px) {

  /**
   * #BASE
   */

  html { font-size: 18px; }



  /**
   * #REUSED STYLE
   */

  .container { max-width: 1350px; }



  /**
   * #BANNER
   */

  .slider-item { height: 450px; }

  .banner-content {
    left: 110px;
    max-width: 460px;
  }

}
