/* Bloome — product cards + product gallery */
/* ---------- Cards ---------- */
.bhs-pc .wd-product-img-link,.bhs-pc .product-image-link{position:relative;display:block;overflow:hidden;border-radius:inherit}
.bhs-pc .wd-product-img-link>img,.bhs-pc .product-image-link>img{transition:transform .8s cubic-bezier(.22,.8,.26,1),opacity .45s ease!important;transform-origin:50% 55%;will-change:transform}
.bhs-pc .bhs-hv-img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;opacity:0;transition:opacity .45s ease,transform .8s cubic-bezier(.22,.8,.26,1)!important;transform:scale(1.04);pointer-events:none;margin:0!important;max-width:none!important}
@media (hover:hover) and (pointer:fine){
	.bhs-zoom .wd-product:hover .wd-product-img-link>img,.bhs-zoom .product-grid-item:hover .product-image-link>img{transform:scale(1.07)}
	.bhs-swap .wd-product:hover .bhs-hv-img,.bhs-swap .product-grid-item:hover .bhs-hv-img{opacity:1;transform:scale(1)}
}
.bhs-zoom .bhs-touch .wd-product-img-link>img,.bhs-zoom .bhs-touch .product-image-link>img{transform:scale(1.06)}
.bhs-zoom .bhs-focus .wd-product-img-link>img,.bhs-zoom .bhs-focus .product-image-link>img{transform:scale(1.045);transition-duration:1.6s!important}
.bhs-swap .bhs-touch .bhs-hv-img{opacity:1;transform:scale(1)}
.bhs-swap .bhs-show2 .bhs-hv-img{opacity:1;transform:scale(1);transition-duration:.7s,1.2s!important}
.bhs-swap .bhs-show2 .hover-img{opacity:1!important;visibility:visible!important}
.bhs-pc .bhs-touch{transition:transform .25s ease}
@media (prefers-reduced-motion:reduce){.bhs-pc .wd-product-img-link>img,.bhs-pc .bhs-hv-img{transition:none!important;transform:none!important}}

/* ---------- Single product gallery ---------- */
.bhs-pg{--th:76px;--gap:12px;display:grid;grid-template-columns:var(--th) minmax(0,1fr);gap:var(--gap);width:100%;align-items:start;-webkit-tap-highlight-color:transparent}
.bhs-pg *{box-sizing:border-box}
.bhs-pg-thumbs{display:flex;flex-direction:column;gap:10px;max-height:var(--bhs-pg-h,560px);overflow-y:auto;scrollbar-width:none;padding:2px}
.bhs-pg-thumbs::-webkit-scrollbar{display:none}
.bhs-pg .bhs-pg-thumb{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;font-size:0!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:0!important;border:2px solid transparent!important;border-radius:12px!important;overflow:hidden;background:#fff!important;cursor:pointer;opacity:.62;transition:opacity .25s,border-color .25s,transform .25s;line-height:0}
.bhs-pg .bhs-pg-thumb img{width:100%!important;height:100%!important;aspect-ratio:1/1;object-fit:cover;display:block;margin:0!important}
.bhs-pg .bhs-pg-thumb:hover{opacity:1;transform:translateY(-1px)}
.bhs-pg .bhs-pg-thumb.is-on{opacity:1;border-color:#E1007C!important}
.bhs-pg-main{position:relative;overflow:hidden;border-radius:16px;background:#fff}
.bhs-pg-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.bhs-pg-track::-webkit-scrollbar{display:none}
.bhs-pg-slide{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;position:relative;line-height:0;cursor:zoom-in}
.bhs-pg-slide img{width:100%!important;height:auto!important;display:block;margin:0!important;max-width:100%!important}
/* Prev / next arrows (desktop) */
.bhs-pg .bhs-pg-arrow{position:absolute;top:50%;z-index:3;width:44px!important;height:44px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:#1E1A22!important;box-shadow:0 6px 18px rgba(30,10,24,.16)!important;display:flex!important;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:translateY(-50%) scale(.9);transition:opacity .25s,transform .25s,background .2s,color .2s}
.bhs-pg .bhs-pg-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.bhs-pg .bhs-pg-arrow.is-prev{left:14px}.bhs-pg .bhs-pg-arrow.is-next{right:14px}
.bhs-pg-main:hover .bhs-pg-arrow{opacity:1;transform:translateY(-50%) scale(1)}
.bhs-pg .bhs-pg-arrow:hover{background:#E1007C!important;color:#fff!important}
@media (hover:none){.bhs-pg .bhs-pg-arrow{opacity:.95;transform:translateY(-50%)}}
/* Desktop: use the whole gallery column — bigger 1:1 image, block sits towards the product info */
@media (min-width:768px){
	.wd-single-gallery:has(.bhs-pg){width:100%!important;max-width:100%!important;--container-widget-width:100%!important;align-self:stretch!important}
	.bhs-pg-on{width:100%!important}
	.woocommerce-product-gallery>.bhs-pg,.bhs-pg{--th:84px;width:100%!important;flex:1 1 auto!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
}
.bhs-pg-dots{display:none;justify-content:center;gap:6px;margin-top:12px}
.bhs-pg .bhs-pg-dots button{width:7px;height:7px;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:99px!important;background:#E6D6DF!important;transition:width .35s cubic-bezier(.22,.8,.26,1),background .3s}
.bhs-pg .bhs-pg-dots button.is-on{width:22px;background:#E1007C!important}
.bhs-pg-count{position:absolute;right:12px;top:12px;background:rgba(30,26,34,.55);color:#fff;font-size:12px;font-weight:600;line-height:1;padding:6px 9px;border-radius:20px;backdrop-filter:blur(4px);pointer-events:none}
.bhs-pg-on>*:not(.bhs-pg){display:none!important}
@media (max-width:767px){
	.bhs-pg{grid-template-columns:1fr;gap:0}
	.bhs-pg-thumbs{display:none}
	.bhs-pg-main{border-radius:14px}
	.bhs-pg-dots{display:flex}
	.bhs-pg .bhs-pg-arrow{display:none!important}
}
