/* lbcompat - bloc images de la fiche produit, comportement repris de l'ancien site (1.4 thgr00001) */
@media (min-width: 992px) {
  /* image principale ~500 px (colonne 520 px : gouttières du thème déduites), la colonne infos prend le reste */
  #product .product-container > .col-md-5 { flex: 0 0 min(520px, 58.333333%); max-width: min(520px, 58.333333%); }
  #product .product-container > .col-md-7.product-buy-wrap { flex: 1 1 0; max-width: none; min-width: 0; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #product .product-container > .col-md-5 { flex: 0 0 50%; max-width: 50%; }
  #product .product-container > .col-md-7.product-buy-wrap { flex: 0 0 50%; max-width: 50%; }
}
/* l'ancien zoom "dans l'image" du thème est remplacé par la loupe */
#product .product-main-images img.zoomed { transform: none !important; }
#product .product-main-images { cursor: crosshair; }
#product .product-main-images .swiper-button-custom, #product .product-main-images__modal-trigger-layer { cursor: pointer; }
#product .product-thumbs__elem { cursor: pointer; opacity: .65; transition: opacity .15s; border: 2px solid transparent; border-radius: 6px; }
#product .product-thumbs__elem.lbc-shown, #product .product-thumbs__elem:hover { opacity: 1; border-color: #e67621; }
/* loupe */
.lbc-zoom-lens { position: absolute; z-index: 5; border: 1px solid #bbb; background: rgba(255,255,255,.35); pointer-events: none; display: none; }
.lbc-zoom-window { position: fixed; z-index: 1040; display: none; background: #fff no-repeat; border: 1px solid #d0d1d5; box-shadow: 0 4px 18px rgba(0,0,0,.18); border-radius: 4px; pointer-events: none; }
/* agrandissement (type fancybox) */
.lbc-lightbox { position: fixed; inset: 0; z-index: 2050; background: rgba(0,0,0,.82); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.lbc-lightbox.lbc-open { opacity: 1; }
.lbc-lightbox__frame { position: relative; background: #fff; padding: 10px; border-radius: 6px; box-shadow: 0 6px 30px rgba(0,0,0,.5); max-width: 94vw; transform: scale(.85); transition: transform .25s; text-align: center; }
.lbc-lightbox.lbc-open .lbc-lightbox__frame { transform: scale(1); }
.lbc-lightbox__img { display: block; max-width: calc(94vw - 20px); max-height: calc(88vh - 60px); width: auto; height: auto; margin: 0 auto; cursor: zoom-out; }
.lbc-lightbox__caption { color: #333; font-size: .9rem; padding: 8px 4px 0; line-height: 1.3; }
.lbc-lightbox__count { color: #888; margin-left: .5em; white-space: nowrap; }
.lbc-lightbox__close { position: absolute; top: -14px; right: -14px; width: 32px; height: 32px; border-radius: 50%; background: #222; color: #fff; border: 2px solid #fff; font-size: 20px; line-height: 26px; text-align: center; cursor: pointer; }
.lbc-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; border: 0; font-size: 26px; line-height: 46px; cursor: pointer; }
.lbc-lightbox__nav:hover { background: #e67621; }
.lbc-lightbox__prev { left: 14px; } .lbc-lightbox__next { right: 14px; }
@media (max-width: 767.98px) { .lbc-lightbox__close { top: 4px; right: 4px; } .lbc-lightbox__nav { width: 38px; height: 38px; line-height: 38px; font-size: 22px; } .lbc-lightbox__prev { left: 4px; } .lbc-lightbox__next { right: 4px; } }
