/** Shopify CDN: Minification failed

Line 327:28 Expected "}" to go with "{"

**/
/* === Base structure === */
.ugc-carousel-section {
  background: #f5f5f3;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1rem;
}

.ugc-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem 1rem;
}

.ugc-carousel-title {
  color: #333;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.ugc-carousel-instagram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.ugc-carousel-instagram-icon {
  display: block;
  width: 1.5rem !important;
  height: 1.5rem !important;
  transition: filter 0.2s;
}

.ugc-carousel-instagram-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.ugc-carousel-instagram:hover .ugc-carousel-instagram-icon {
  filter: brightness(0) saturate(100%) invert(34%) sepia(87%) saturate(748%) hue-rotate(320deg) brightness(94%) contrast(90%);
}

.ugc-carousel-instagram:hover .ugc-carousel-instagram-text {
  color: #e1306c;
}

/* === Carousel horizontal scroll === */
.ugc-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #c1bebe #f5f5f3;
  gap: 1rem;
  padding: 0;
}

.ugc-carousel::-webkit-scrollbar {
  height: 8px;
}

.ugc-carousel::-webkit-scrollbar-track {
  background: #f5f5f3;
  border-radius: 4px;
}

.ugc-carousel::-webkit-scrollbar-thumb {
  background-color: #c1bebe;
  border-radius: 4px;
  border: 2px solid #f5f5f3;
  transition: background-color 0.2s;
}

.ugc-carousel::-webkit-scrollbar-thumb:hover {
  background-color: #a69f9d;
}

.ugc-carousel::-webkit-scrollbar-thumb:active {
  background-color: #8e8684;
}

/* === Cards === */
.ugc-card {
  flex: 0 0 240px;
  background-color: white;
  border-radius: 0.5rem;
  height: 320px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.ugc-card:first-child {
  margin-left: 2rem;
}

/* === Image wrapper === */
.ugc-image-wrapper {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.ugc-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
  border-radius: inherit;
}

.ugc-image-wrapper:hover img {
  filter: blur(2px);
}

.ugc-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  color: #000;
  font-weight: bold;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease;
}

.ugc-image-wrapper:hover .ugc-overlay {
  opacity: 1;
}

/* === Navigation buttons === */
.ugc-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.ugc-nav button {
  background: transparent;
  border: 1px solid #5C4338;
  border-radius: 50%;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  transition: background 0.2s;
  color: #5c4338;
}

.ugc-nav button:hover {
  background: #e6e6e6;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .ugc-carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.ugc-carousel-section {
  background: #f5f5f3;
  border-radius: 1rem;
  overflow-x: visible;
  padding: 2rem;
}

.ugc-carousel-title {
  color: #333;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.ugc-card {
  background-color: white;
  border-radius: 0.5rem;
  flex: 0 0 240px;
  height: 320px;
  overflow: hidden;
  position: relative;
}

/* backup si certains vieux navigateurs n’appliquent pas scroll-padding */
.ugc-card:first-child {
  margin-left: 2rem;
}

.ugc-image-wrapper {
  height: 100%;
  width: 100%;
}

.ugc-image-wrapper img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
  width: 100%;
}

.ugc-image-wrapper:hover img {
  filter: blur(2px);
}

.ugc-image-wrapper:hover .ugc-overlay {
  opacity: 1;
}

.ugc-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.ugc-nav button {
  background: transparent;
  border: 1px solid #5C4338;
  border-radius: 50%;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  transition: background 0.2s;
}

.ugc-nav button:hover {
  background: #e6e6e6;
}

.ugc-overlay {
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  color: #000;
  display: flex;
  font-weight: bold;
  height: 100%;
  justify-content: center;
  opacity: 0;
  padding: 1rem;
  position: absolute;
  text-align: center;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100%;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .ugc-carousel {
    padding: 1rem;              /* réduit le padding sur les petits écrans */
    scroll-padding-left: 1rem;  /* idem */
  }

  .ugc-carousel-button {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .ugc-carousel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .ugc-carousel-title {
    font-size: 1.5rem;
  }
}

/* === Scrollbar pour WebKit (Chrome, Safari, Edge) === */
.ugc-carousel {
  /* active la scrollbar sur l’axe horizontal */
  overflow-x: auto;
  scrollbar-width: thin;            /* pour Firefox */
  scrollbar-color: #c1bebe #f5f5f3; /* pour Firefox : thumb track */
}

/* largeur de la scrollbar */
.ugc-carousel::-webkit-scrollbar {
  height: 8px;
}

/* zone “track” derrière le thumb */
.ugc-carousel::-webkit-scrollbar-track {
  background: #f5f5f3;
  border-radius: 4px;
}

/* thumb (curseur) */
.ugc-carousel::-webkit-scrollbar-thumb {
  background-color: #c1bebe;
  border-radius: 4px;
  border: 2px solid #f5f5f3; /* crée un effet “piste” autour */
  transition: background-color 0.2s;
}

/* thumb au hover */
.ugc-carousel::-webkit-scrollbar-thumb:hover {
  background-color: #a69f9d;
}

/* thumb au active (clic) */
.ugc-carousel::-webkit-scrollbar-thumb:active {
  background-color: #8e8684;