/* Styles pour la page d'accueil */
#categories-title {
  display: none;
}

#categories .category-col {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 0.2px solid var(--angy-pink);
}

#categories .category-col a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  text-decoration: none;
  color: transparent;
}

#categories .category-col a.wp-block-button__link {
  position: relative;
  width: auto;
  height: auto;
  z-index: 3;
  color: inherit;
}

#categories .category-col:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 0;
}

#categories .category-col:hover:before {
  transform: scale(1.08);
  filter: brightness(1.2);
}

#categories .category-col::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    0deg,
    rgba(49, 51, 54, 1) 0%,
    rgba(49, 51, 54, 0) 82%
  );
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#categories .category-col:hover::after {
  opacity: 0.5;
}

#categories .category-col h2 {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.4);
}

#categories .category-col:hover .wp-block-button__link {
  background-color: var(--angy-pink) !important;
  color: #ffffff;
}

.description_about p {
  text-align: justify;
}

/** Responsive **/
@media (max-width: 768px) {
  #product-moment .product-moment-content {
    grid-template-columns: 1fr;
  }

  #categories .category-col h2 {
    font-size: 2.2em !important;
  }
}

/* Styles pour les grands écrans */
@media (min-width: 1024px) {
}

/* Styles pour très grands écrans */
@media (min-width: 1280px) {
}

/* Styles pour extra larges écrans */
@media (min-width: 1536px) {
  .home header #ast-desktop-header {
    overflow: visible !important;
    padding: 56px;
    font-size: 32px;
  }
}
