/** Shopify CDN: Minification failed

Line 10:0 Unexpected "<"
Line 182:0 Unexpected "<"

**/


/* CSS from section stylesheet tags */
<style>
.category-grid-wrapper {
  padding: 40px 20px;
  width: 100%;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 1vw;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 2vw;
  }
}

@media (min-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 blocs côte à côte */
  }
}

.category-card {
  background-color: #f8f8f5;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 500px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.category-image-container {
  flex: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-content {
  flex: 3;
  background-color: #121212;
  padding: 20px;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.category-content h2 {
  font-size: 25px;
  font-weight: 600;
  margin: 0;
}

.category-content p {
  display: none;
  font-size: 15px;
  margin: 0;
  opacity: 0.9;
}

.category-content a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 10px;
  width: 40%;
  display: flex;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
}

button:after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  z-index: -1;
  background-color: #fff;
  border-radius: 5px;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  transition: all 0.3s ease;
}
button:hover {
  color: #black;
}
button:hover:after {
  left: 0;
  width: 100%;
}
button:active {
  top: 2px;
}

.category-content a:hover {
  background-color: #fff;
  color: #000;
}

/* 📱 Mobile : image à gauche, texte à droite */
@media (max-width: 767px) {
  .category-card {
    flex-direction: row;
    height: auto;
  }

  .category-grid {
    padding: 4vw;
    gap: 15px;
  }

  .category-content a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 10px;
  width: 70%;
  display: flex;
  justify-content: center;
  }

  .category-image-container {
    flex: 0 0 45%;
    height: 100%;
  }

  .category-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .category-content {
    flex: 1;
    text-align: left;
    padding: 15px;
    align-items: flex-start;
    display: flex;
    align-items: center;
  }
}
</style>