/* 0.5.1-review.10/12 product gallery + shop card images. Mobile first. */
.ng-product-gallery{margin:1.25rem 0;display:grid;gap:.75rem}
.ng-product-gallery-main{display:block;border-radius:12px;overflow:hidden;background:#f4f6f5;line-height:0}
.ng-product-gallery-main img{display:block;width:100%;height:auto}
.ng-product-gallery-thumbs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
.ng-product-gallery-thumbs li{margin:0;padding:0}
.ng-product-gallery-thumb{display:block;border:2px solid transparent;border-radius:8px;overflow:hidden;line-height:0;min-height:44px}
.ng-product-gallery-thumb img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.ng-product-gallery a:focus-visible{outline:3px solid #1d6b4f;outline-offset:2px}
.ng-product-gallery-thumb:hover{border-color:#1d6b4f}
@media (min-width:768px){.ng-product-gallery{max-width:720px}.ng-product-gallery-thumbs{grid-template-columns:repeat(6,minmax(0,1fr))}}
.ng-lightbox{border:0;padding:0;max-width:min(96vw,1200px);max-height:94vh;background:transparent;overflow:visible}
.ng-lightbox::backdrop{background:rgba(0,0,0,.85)}
.ng-lightbox figure{margin:0;display:grid;gap:.5rem;justify-items:center}
.ng-lightbox img{max-width:100%;max-height:80vh;width:auto;height:auto;border-radius:8px;background:#fff}
.ng-lightbox figcaption{color:#fff;font-size:.9rem;max-width:70ch;text-align:center}
.ng-lightbox-bar{display:flex;gap:.5rem;justify-content:center;margin-top:.5rem}
.ng-lightbox button{min-width:44px;min-height:44px;border:0;border-radius:999px;background:#fff;color:#111;font-size:1rem;padding:0 1rem;cursor:pointer}
.ng-lightbox button:focus-visible{outline:3px solid #8fd3b6;outline-offset:2px}
.ng-product-card-media{display:block;margin:.75rem 0;border-radius:10px;overflow:hidden;line-height:0;background:#f4f6f5}
.ng-product-card-media img{display:block;width:100%;height:auto}
.ng-product-gallery+.ng-csr-buy{margin-top:.5rem}
/* 0.5.1-review.12: image right above the price; 'Other products you may need' row. Mobile first: 2 columns, 4 on desktop. */
.ng-related{margin:2rem 0 1.5rem;padding-top:1.25rem;border-top:1px solid #e3e8e6}
.ng-related h2{font-size:1.25rem;margin:0 0 .75rem}
.ng-related-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.ng-related-grid li{margin:0;padding:0}
.ng-related-card{display:flex;flex-direction:column;gap:.4rem;height:100%;padding:.5rem;border:1px solid #e3e8e6;border-radius:10px;color:inherit;text-decoration:none;background:#fff}
.ng-related-card:hover{border-color:#1d6b4f}
.ng-related-card:focus-visible{outline:3px solid #1d6b4f;outline-offset:2px}
.ng-related-media{display:block;border-radius:8px;overflow:hidden;line-height:0;background:#f4f6f5}
.ng-related-media img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.ng-related-name{font-weight:600;font-size:.95rem;line-height:1.3}
.ng-related-price{font-size:.95rem;color:#1d6b4f}
@media (min-width:768px){.ng-related-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}}
/* 0.5.1-review.16: buy block at the top, just under the image. Mobile first. */
.ng-csr-buy-cartlink{margin:.25rem 0 1.25rem;font-size:.95rem}
