/** Shopify CDN: Minification failed

Line 331:0 Unexpected "}"

**/
/* Styles pour le bouton favoris sur les product cards */

.media {
  position: relative;
}

.wishlist-btn {
  background:none;
  padding:0;
  border-radius: 50%;
  border:none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}


.wishlist-btn .wishlist-icon {
  color: #666;
  transition: all 0.3s ease;
  width: 17px;
  height: 17px;
  display: block;
  
}

.wishlist-btn .wishlist-icon-filled {
  color: #e74c3c;
  display: none;
  transition: all 0.3s ease;
  width: 17px;
  height: 17px;
}

.wishlist-btn.active .wishlist-icon {
  display: none;
}

.wishlist-btn.active .wishlist-icon-filled {
  display: block;
  animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Styles pour l'icône favoris dans le header */
.header__icon--wishlist {
  position: relative;
}

.wishlist-count-bubble {
  position: absolute;
  top: 0;
  right:0;
  background-color:#d62522;
  color: rgb(var(--color-foreground));
  border: 0.1rem solid rgba(var(--color-foreground), 0.04);
  border-radius: 100%;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  min-height: 1rem;
  min-width: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem .3rem;
}

.wishlist-count-bubble.hidden {
  display: none;
}

/* Page de favoris */
.wishlist-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wishlist-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.wishlist-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(var(--color-foreground));
}

.wishlist-subtitle {
  font-size: 1.2rem;
  color: rgb(var(--color-foreground), 0.7);
  margin-bottom: 0.5rem;
}

.wishlist-count {
  font-size: 1rem;
  color: rgb(var(--color-foreground), 0.6);
}

.wishlist-content {
  min-height: 300px;
}

.wishlist-empty {
  text-align: center;
  padding: 4rem 0;
}

.wishlist-empty-title {
  font-size:3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: rgb(var(--color-foreground));
}

.wishlist-empty-text {
  font-size: 1.6rem;
  color: rgb(var(--color-foreground), 0.7);
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.wishlist-empty-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wishlist-empty-button:hover {
  background-color: rgb(var(--color-button), 0.9);
  transform: translateY(-1px);
}

.wishlist-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.wishlist-item {
  overflow: hidden;
  transition: all 0.3s ease;
  display:flex;
  flex-direction: column;
  justify-content:space-between;
}

.wishlist-item:hover {
  border-color: rgba(var(--color-foreground), 0.2);
  box-shadow: 0 4px 12px rgba(var(--color-foreground), 0.1);
}

.wishlist-item-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wishlist-item:hover .wishlist-item-image img {
  transform: scale(1.05);
}

.wishlist-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(231, 76, 60, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.wishlist-item:hover .wishlist-remove-btn {
  opacity: 1;
  transform: scale(1);
}

.wishlist-remove-btn:hover {
  background: rgba(231, 76, 60, 1);
  transform: scale(1.1);
}

.wishlist-item-details {
  padding: 1.5rem 0;
}

.wishlist-item-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgb(var(--color-foreground));
  text-decoration: none;
  display: block;
  line-height: 1.4;
}

.wishlist-item-title:hover {
  color: rgb(var(--color-link));
}

.wishlist-item-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  margin-bottom: 1rem;
}

.wishlist-item-actions {
  display: flex;
  gap: 0.5rem;
}

.wishlist-add-to-cart {
  flex: 1;
  padding: 0.75rem 1rem;
  background-color: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: block;
}

.wishlist-add-to-cart:hover {
  background-color: rgb(var(--color-button), 0.9);
  color: rgb(var(--color-button-text));
}

.wishlist-clear-all {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
}

.wishlist-clear-btn {
  background: transparent;
  color: #d62522;
  border: 1px solid #d62522;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.wishlist-clear-btn:hover {
  color: #e74c3c;

}


  .wishlist-page {
    padding: 0 1.5rem;
  }
  
  .wishlist-title {
    font-size: 2rem;
  }
  
  .wishlist-products {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .wishlist-item-details {
    padding: 1rem;

  }
}

@media screen and (max-width: 550px) {
  .wishlist-products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 3rem;
  }
  
  .wishlist-btn {
    width: 28px;
    height: 28px;
    top: 6px;
    right: 6px;
  }
}

.wishlist-btn-large:hover {
  border-color: #e74c3c !important;
  color: #e74c3c !important;
}

.wishlist-btn-large.active .wishlist-icon {
  display: none !important;
}

.wishlist-btn-large.active .wishlist-icon-filled {
  display: block !important;
  color: #e74c3c !important;
}

.wishlist-btn-large.active .wishlist-text {
  color: #e74c3c !important;
}
