/** Shopify CDN: Minification failed

Line 215:2 Unexpected "{"
Line 215:3 Expected identifier but found "%"
Line 223:2 Unexpected "{"
Line 223:3 Expected identifier but found "%"

**/
/* 
  QUICKVIEW PATINES CSS - Version Theme Editor
  Tous les styles sont maintenant gérés par les variables CSS dans la section
*/

/* Styles de base qui ne changent pas */
.grid-product__image-mask {
  position: relative;
}

.btn-quickview-patines {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 10;
  /* IMPORTANT: Complètement invisible par défaut */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Afficher le bouton UNIQUEMENT au survol de l'image du produit */
.grid-product__image-mask:hover .btn-quickview-patines {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.btn-quickview-patines:hover {
  transform: translateX(-50%) translateY(0) scale(1.05);
  border-color: transparent;
}

/* Modal structure */
.modal-quickview-patines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s;
  z-index: 1;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-header {
  border-bottom: 1px solid;
  padding: 30px; /* Valeur par défaut */
}

.modal-header h3 {
  margin: 0;
}

.modal-subtitle {
  margin: 8px 0 0;
}

.modal-info {
  margin: 5px 0 0;
  font-style: italic;
}

.modal-body {
  max-height: calc(85vh - 200px);
  overflow-y: auto;
  padding: 30px; /* Valeur par défaut */
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.patines-grid {
  display: grid;
  margin-bottom: 0; /* Pas de marge, gérée par modal-footer padding-top */
}

.patine-item {
  cursor: default;
  transition: all 0.3s ease;
  overflow: hidden; /* Toujours garder hidden */
  position: relative;
}

.patine-item:hover {
  transform: translateY(-5px);
  z-index: 10;
}

.patine-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.patine-item-title {
  text-align: center;
  font-weight: 500;
}

/* Badge patine actuelle */
.patine-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.patine-item.current-patine {
  position: relative;
}

.modal-footer {
  text-align: center;
  padding: 30px; /* Les variables CSS écraseront les valeurs spécifiques */
}

#voir-toutes-patines {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

#voir-toutes-patines:hover {
  transform: translateX(5px);
}

/* Désactiver le zoom sur desktop si option désactivée */
  {% unless section.settings.enable_zoom_desktop %}
    .patine-item:hover {
      transform: scale(var(--qp-item-hover-scale)) !important;
    }

    .patine-item:hover img {
      transform: scale(1) !important;
    }
  {% endunless %}

/* Mobile */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .modal-header {
    padding: 20px; /* Les variables CSS écraseront les valeurs left/right */
  }
  
  .modal-body {
    padding: 20px; /* Les variables CSS écraseront les valeurs left/right */
  }

  .modal-footer {
    padding: 20px; /* Les variables CSS écraseront tout */
  }
  
  .patine-item img {
    height: 150px;
    transform-origin: center center;
  }
  
  .btn-quickview-patines span {
    display: none;
  }
  
  .btn-quickview-patines {
    padding: 8px 12px !important;
  }
}

/* Indicateur de scroll mobile */
.scroll-indicator {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Afficher uniquement sur mobile quand il y a du scroll */
@media (max-width: 768px) {
  .modal-body {
    position: relative;
  }
  
  .modal-body.has-scroll .scroll-indicator {
    display: flex;
  }
}

/* Cacher l'indicateur quand on scrolle */
.modal-body.scrolled .scroll-indicator {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}