/** Shopify CDN: Minification failed

Line 789:0 Expected "}" to go with "{"

**/
/* ========================================
   PRODUCT PAGE LAYOUT CSS (Below-the-fold)
   Non-critical styles for deferred loading
   ======================================== */

/* ========================================
   PRODUCT LAYOUT STYLES
   ======================================== */

/* Variables CSS pour les sélecteurs dynamiques */
/* Déplacé vers le bloc style de la section pour éviter les sélecteurs invalides */

/* PAGE PRODUIT: Comportement full-width avec alignement 1600px pour info produit */
@media screen and (min-width: 750px) {
  .main-product .page-width {
    max-width: none;
    padding: 0;
  }
  .main-product .product {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
  }
}

/* LAYOUT TABLETTE ET DESKTOP: Images bords à bords, info avec padding */
@media screen and (min-width: 750px) {
  /* Sélecteur très spécifique pour surcharger base.css */
  /* Déplacé vers le bloc style de la section pour éviter les sélecteurs invalides */
  product-info .page-width {
    padding-left: 0 !important;
    padding-right: 5rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: none !important;
  }
  
  /* Retirer padding top à product-info */
  product-info {
    padding-top: 0 !important;
  }
  
  /* Ajouter padding top de 40px à product__info-wrapper */
  .product__info-wrapper {
    padding-top: 40px !important;
  }

  /* PROPORTIONS COLONNES: 55% galerie / 45% info */
  .product .grid__item.product__media-wrapper {
    width: 55% !important;
    flex: 0 0 55% !important;
  }
  
  .product .grid__item.product__info-wrapper {
    width: 45% !important;
    flex: 0 0 45% !important;
  }
}

/* ======= GALERIE PRODUIT CUSTOM ======= */

.product__media-gallery-custom {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* TABLETTE: 1 photo par ligne (750px-1080px) */
@media screen and (min-width: 750px) and (max-width: 1080px) {
  .product__media-wrapper {
    padding: 0 !important;
    width: 100% !important;
  }
  
  /* Afficher seulement desktop sur tablette */
  .product__media-list-desktop {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .product__media-mobile {
    display: none !important;
  }
  
  .product__media-item-custom {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-right: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    box-sizing: border-box !important;
    display: block !important;
    aspect-ratio: 4 / 5;
  }
  
  .product__media-img,
  .product__media-video {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    object-fit: cover !important;
  }
}

/* TABLETTE PETITE: Padding spécifique pour info wrapper (750px-870px) */
@media screen and (min-width: 750px) and (max-width: 870px) {
  .product__info-wrapper {
    padding: 4rem 0 0 2rem !important;
  }
}

/* TABLETTE TRÈS PETITE: Réduction du padding-right pour page-width (750px-815px) */
@media screen and (min-width: 750px) and (max-width: 815px) {
  /* Déplacé vers le bloc style de la section pour éviter les sélecteurs invalides */
  product-info .page-width {
    padding-right: 2rem !important;
  }
}

/* TABLETTE GRANDE: Max-width spécifique pour info wrapper (990px-1080px) */
@media screen and (min-width: 990px) and (max-width: 1080px) {
  .product--large:not(.product--no-media) .product__info-wrapper {
    max-width: 45% !important;
  }
}

/* DESKTOP: 2 colonnes sans gap (1081px+) */
@media screen and (min-width: 1081px) {
  .product__media-wrapper {
    padding: 0 !important;
    width: 100% !important;
  }
  
  /* Afficher seulement desktop sur desktop */
  .product__media-list-desktop {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .product__media-mobile {
    display: none !important;
  }
  
  .product__media-item-custom {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-right: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    box-sizing: border-box !important;
    display: block !important;
    aspect-ratio: 4 / 5;
  }
  
  .product__media-img,
  .product__media-video {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    object-fit: cover !important;
  }
}

/* DESKTOP: Cacher les flèches de navigation mobile */
@media screen and (min-width: 750px) {
  .mobile-nav-arrow {
    display: none !important;
  }
}

/* MOBILE: Photo principale + dots + thumbnails */
@media screen and (max-width: 749px) {
  product-info .product__info-wrapper,
  .product__info-wrapper {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 1.5rem !important;
  }
  
  .product__media-wrapper {
    padding: 0 !important;
  }

  /* Cacher desktop sur mobile */
  .product__media-list-desktop {
    display: none !important;
  }
  
  .product__media-mobile {
    display: block !important;
    position: relative !important;
    z-index: 1 !important; /* Contexte de stacking bas pour éviter les conflits avec le header */
  }

  /* Photo principale */
  .product__media-main {
    position: relative !important;
    width: 100%;
  }
  
  .product__media-main-img {
    width: 100%;
    height: 95vw; /* Encore plus grande sur mobile */
    max-height: 650px; /* Hauteur maximum encore augmentée */
    min-height: 380px; /* Hauteur minimum encore augmentée */
    object-fit: contain;
    display: block;
    object-position: top;
  }
  
  /* Mobile: bordure en bas pour la photo principale */
  .product__media-mobile {
    border-bottom: 1px solid #e0e0e0 !important;
  }

  /* Tablettes: hauteur plus raisonnable */
  @media screen and (min-width: 550px) and (max-width: 749px) {
    .product__media-main-img {
      height: 65vw; /* Augmenté aussi pour les tablettes */
      max-height: 480px;
    }
  }
  
  /* Bouton zoom mobile */
  .mobile-zoom-btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 35px !important;
    height: 35px !important;
    background: transparent !important;
    border: 1px solid #000000 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important; /* Plus bas que le header (z-index 15) */
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: #000000 !important;
  }

  .mobile-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.05) !important;
    color: #ffffff !important;
  }

  .mobile-zoom-btn svg {
    width: 15px !important;
    height: 15px !important;
  }

    /* Masquer les éléments mobiles sur desktop */
@media screen and (min-width: 750px) {
  .mobile-zoom-btn {
    display: none !important;
  }
  
  .product-zoom-mobile-navigation {
    display: none !important;
  }
}

/* Mobile: Modal full-screen adaptée */
@media screen and (max-width: 749px) {
  .product-zoom-modal {
    touch-action: pan-y !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
  }

  .product-zoom-modal.opening {
    opacity: 1;
  }

  .product-zoom-modal.closing {
    opacity: 0;
  }

  .product-zoom-container {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
  }

/* Fix pour résolutions 550px à 749px - photo produit */
@media screen and (min-width: 550px) and (max-width: 749px) {
  .product__media-main-img {
    height: 95vw;
    max-height: 600px;
  }
  
  /* Mobile: retirer padding top et bottom de product-recommendations */
  product-recommendations {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* ========================================
   TYPOGRAPHY & PRICING STYLES
   ======================================== */

/* Prix: Margin négative pour toutes les résolutions */
[id^="price-template--"] {
  margin-bottom: -1rem !important;
}

/* Prix margin fix avec marge négative */
.product__info-wrapper .price__container {
  margin: -1.5rem 0 !important;
}

/* Desktop product title styles */
@media screen and (min-width: 990px) {
  .product__title {
    word-break: break-word !important;
    margin-bottom: 0.5rem !important;
    margin-top: 0.5rem !important;
  }
}

/* ========================================
   PRODUCT ZOOM MODAL - ENHANCED STYLES
   ======================================== */

/* Modal styles moved to product-critical-above-fold.css for immediate loading */

.product-zoom-main {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* ========================================
   PRODUCT ZOOM MODAL - GLOBAL STYLES
   ======================================== */

.product-zoom-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-zoom-close:hover {
  color: #000;
  transform: scale(1.1);
}

.product-zoom-close svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.product-zoom-main {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-zoom-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f5;
  padding: 40px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  width: 100%;
  height: 100%;
}

.product-zoom-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
  width: auto;
  height: auto;
}

.product-zoom-image:active {
  cursor: grabbing;
}

/* Desktop modal controls moved to product-critical-above-fold.css */

.zoom-size-picker {
  display: flex;
  align-items: center;
  gap: 2px;
}

.zoom-size-option {
  cursor: pointer;
  min-width: 24px;
  height: 24px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #000000;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  transition: all 0.2s ease;
  position: relative;
  margin-bottom: 8px;
}

.zoom-size-option::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0.8);
  transform-origin: center;
  bottom: -0.5rem;
  width: calc(24px * 0.8);
  height: 0.2rem;
  background-color: #000000;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.zoom-size-option:hover {
  background: transparent;
}

.zoom-size-option:hover::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.zoom-size-option.active {
  background: transparent;
  color: #000000;
}

.zoom-size-option.active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* Styles pour les options disabled */
.zoom-size-option.disabled {
  color: rgba(0, 0, 0, 0.4) !important;
  text-decoration: line-through !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.zoom-color-option.disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.zoom-color-option.disabled .zoom-color-swatch {
  position: relative;
}

.zoom-color-option.disabled .zoom-color-swatch::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -2px;
  right: -2px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%);
  z-index: 1;
}

.zoom-color-picker {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zoom-color-option {
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  position: relative;
  margin-bottom: 8px;
}

.zoom-color-option:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.zoom-color-option.active {
  border-color: rgba(255, 255, 255, 0.3);
  border-width: 1px;
}

.zoom-color-swatch {
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: block;
  position: relative;
}

.zoom-color-swatch span,
.zoom-color-swatch img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
}

.zoom-color-swatch span {
  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.08);
}

.zoom-color-swatch::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0.8);
  transform-origin: center;
  bottom: -5px;
  width: calc(24px * 0.8);
  height: 0.2rem;
  background-color: #000000;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.zoom-color-option:hover .zoom-color-swatch::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.zoom-color-option.active .zoom-color-swatch::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.zoom-percentage {
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  margin-right: 8px;
  min-width: 40px;
  text-align: center;
}

.zoom-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  transition: all 0.2s ease;
}

.zoom-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.zoom-slider {
  width: 80px;
  height: 2px;
  background: #444;
  border-radius: 1px;
  outline: none;
  -webkit-appearance: none;
  margin: 0 8px;
}

.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.zoom-slider::-webkit-slider-thumb:hover {
  background: #ffffff;
}

.zoom-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.zoom-slider::-moz-range-thumb:hover {
  background: #ffffff;
}

/* Desktop modal thumbnails moved to product-critical-above-fold.css */

/* Desktop modal thumbnail styles moved to product-critical-above-fold.css */

/* Ajouter un curseur de zoom sur les images de la galerie */
.product__media-img {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.product__media-img:hover {
  opacity: 0.9;
}

/* Cursor styles moved to product-critical-above-fold.css */

/* ========================================
   MOBILE MODAL STYLES
   ======================================== */

@media screen and (max-width: 749px) {
  /* Cacher les contrôles de zoom sur mobile */
  .product-zoom-controls {
    display: none !important;
  }

  /* Cacher les miniatures sur mobile */
  .product-zoom-thumbnails {
    display: none !important;
  }

  /* Centrer les variantes en bas */
  .product-zoom-variants {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(238, 236, 228, 0.6) !important;
    padding: 8px 16px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 15 !important;
  }

  /* Afficher les flèches de navigation mobile */
  .mobile-nav-arrow {
    position: fixed !important;
    bottom: 20px !important;
    z-index: 15 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }

  .mobile-nav-left {
    left: 20px !important;
  }

  .mobile-nav-right {
    right: 20px !important;
  }

  /* Centrer l'image dans la modal mobile */
  .product-zoom-modal {
    background: #F7F7F5 !important;
  }

  .product-zoom-main {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
    padding: 0 !important;
    background: #F7F7F5 !important;
  }

  .product-zoom-image-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
  }

  .product-zoom-image {
    max-height: 100vh !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* DESKTOP: Cacher les flèches de navigation mobile */
@media screen and (min-width: 750px) {
  .mobile-nav-arrow {
    display: none !important;
  }
}

/* Mobile: bordure en bas pour la photo principale */
.product__media-mobile {
  border-bottom: 1px solid #e0e0e0 !important;
}
