.woocommerce-product-gallery__image[hidden]{display:none!important}.woocommerce-product-gallery .flex-control-thumbs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.woocommerce-product-gallery .flex-control-thumbs li{width:auto!important;float:none!important}.woocommerce-product-gallery .flex-control-thumbs button{padding:0;border:0;background:none;display:block;width:100%;cursor:pointer}.woocommerce-product-gallery .flex-control-thumbs img{display:block;width:100%;opacity:.5}.woocommerce-product-gallery .flex-control-thumbs .flex-active img,.woocommerce-product-gallery .flex-control-thumbs button:hover img{opacity:1}.tigla-gallery-dialog{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100%;padding:0;border:0;margin:0;background:#000e;color:#fff;z-index:999999;overflow:auto}.tigla-gallery-dialog::backdrop{background:#000}.tigla-gallery-dialog[open]{display:flex;align-items:center;justify-content:center}.tigla-gallery-dialog .tigla-gallery-full{max-width:90%;max-height:90%;width:auto;height:auto;object-fit:contain}.tigla-gallery-dialog .tigla-gallery-full.is-zoomed{max-width:none;max-height:none;cursor:zoom-out}.tigla-gallery-bar{position:fixed;top:0;left:0;right:0;display:flex;align-items:center;padding:6px 16px;background:#0005}.tigla-gallery-count{margin-right:auto}.tigla-gallery-dialog button{border:0;background:transparent;color:white;cursor:pointer;font-size:32px;line-height:1;padding:10px 16px}.tigla-gallery-prev,.tigla-gallery-next{position:fixed;top:48%}.tigla-gallery-prev{left:0}.tigla-gallery-next{right:0}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image{width:100%!important;float:none!important}.woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image img{display:block;width:100%;height:auto}.woocommerce-product-gallery button.woocommerce-product-gallery__trigger{position:absolute;z-index:5;top:1em;right:1em;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#fff;color:#8b93a4;font-size:0;box-shadow:none}.woocommerce-product-gallery button.woocommerce-product-gallery__trigger::before{content:'';position:absolute;width:11px;height:11px;border:2px solid #8b93a4;border-radius:50%;top:9px;left:9px}.woocommerce-product-gallery button.woocommerce-product-gallery__trigger::after{content:'';position:absolute;width:8px;height:2px;background:#8b93a4;transform:rotate(45deg);top:23px;left:21px}
@media (hover:hover) and (pointer:fine){.woocommerce-product-gallery__image>a{display:block;position:relative;overflow:hidden}.tigla-zoom-preview{position:absolute;inset:0;pointer-events:none;opacity:0;background-repeat:no-repeat;background-size:175% auto}.woocommerce-product-gallery__image>a:hover .tigla-zoom-preview{opacity:1}}

/* Consistent square product imagery and spacing below each section. */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image>a{display:block;aspect-ratio:1/1;overflow:hidden}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:cover;object-position:center}
.single-product .tigla-description-wrap{clear:both;padding-top:48px!important}
.single-product .related.products{clear:both;margin-top:56px!important}
.single-product .related.products>h2{font-size:22px!important;line-height:1.25;margin:0 0 24px!important}
@media(max-width:767px){.single-product .tigla-description-wrap{padding-top:32px!important}.single-product .related.products{margin-top:40px!important}.single-product .related.products>h2{font-size:20px!important;margin-bottom:20px!important}}

/* Separate the thumbnails from the main image. */
.woocommerce-product-gallery .flex-control-thumbs{margin-top:12px!important}

/* Align related product cards with the section title on small screens. */
@media(max-width:767px){
  .single-product .related.products ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px;margin:0!important;padding:0!important}
  .single-product .related.products ul.products::before,.single-product .related.products ul.products::after{display:none!important}
  .single-product .related.products ul.products li.product{width:auto!important;float:none!important;clear:none!important;margin:0!important}
}
