/* V52 — frontend visibility and image-fit fixes. Loaded after all legacy layers. */

/* Instagram: render the admin thumbnail immediately, then fade the live embed in. */
.instagram-live-section .live-reel-card{position:relative!important;background:#0a1814!important;isolation:isolate}
.instagram-live-section .live-reel-card .ig-fallback-card{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:5!important;transition:opacity .28s ease,visibility .28s ease!important}
.instagram-live-section .live-reel-card .ig-frame-wrap{display:block!important;opacity:0!important;visibility:visible!important;pointer-events:none!important;z-index:6!important;transition:opacity .35s ease!important;background:#fff!important}
.instagram-live-section .live-reel-card.instagram-embed-loaded .ig-frame-wrap{opacity:1!important;pointer-events:auto!important}
.instagram-live-section .live-reel-card.instagram-embed-loaded .ig-fallback-card{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.instagram-live-section .live-reel-card.embed-failed .ig-frame-wrap{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.instagram-live-section .live-reel-card.embed-failed .ig-fallback-card{opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:7!important}
.instagram-live-section .ig-fallback-card img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}

/* Product media: never crop uploaded feature artwork or text-led product images. */
html.shop-v41-document body.shop-v41-page .product-card--shop-luxe>.product-card-media-direct{background:#fbf7ee!important}
html.shop-v41-document body.shop-v41-page .product-card--shop-luxe>.product-card-media-direct>img.primary-img{
  object-fit:contain!important;object-position:center!important;padding:10px!important;background:#fbf7ee!important;transform:none!important;
}
html.shop-v41-document body.shop-v41-page .product-card--shop-luxe:hover>.product-card-media-direct>img.primary-img{transform:none!important}
.product-card .product-media,.product-card .product-card-media-direct{background:#fbf7ee!important}
.product-card .product-media img,.product-card .product-card-media-direct img,.product-card .product-image-link img{
  object-fit:contain!important;object-position:center!important;background:#fbf7ee!important;
}
.product-card:hover .product-media img,.product-card:hover .product-card-media-direct img{transform:none!important}
.product-card .product-short-description,.product-card .product-body>p{font-weight:850!important;color:#315247!important;opacity:1!important}

/* Product details gallery uses the complete image without edge cropping. */
.product-page .gallery-main{display:grid!important;place-items:center!important;background:#fbf7ee!important;min-height:0!important}
.product-page .gallery-main img{display:block!important;width:100%!important;height:auto!important;max-height:min(72vh,760px)!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;padding:14px!important;background:#fbf7ee!important}
.product-page .thumbs img{width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;padding:6px!important;background:#fbf7ee!important}
.product-page .product-reel-preview img{object-fit:contain!important;object-position:center!important;background:#fbf7ee!important}

@media(max-width:767px){
  html.shop-v41-document body.shop-v41-page .product-card--shop-luxe>.product-card-media-direct>img.primary-img{padding:6px!important}
  .product-page .gallery-main img{max-height:66vh!important;padding:8px!important}
}


/* V53 — make short descriptions consistently bold in Shop and every category-filtered product list. */
html.shop-v41-document body.shop-v41-page .product-card .product-short-description,
html.shop-v41-document body.shop-v41-page .product-card .product-body > p,
body.shop-page .product-card .product-short-description,
body.shop-page .product-card .product-body > p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  font-weight:900!important;
  color:#203f36!important;
  opacity:1!important;
  line-height:1.48!important;
}
@media(max-width:767px){
  html.shop-v41-document body.shop-v41-page .product-card .product-short-description,
  html.shop-v41-document body.shop-v41-page .product-card .product-body > p,
  body.shop-page .product-card .product-short-description,
  body.shop-page .product-card .product-body > p{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    font-size:12px!important;
    margin-top:8px!important;
  }
}
