/* EH Product Gallery 1.0.0 - colours follow eh_best_sellers.css */
.eh-gal { --eh-green: #009933; --eh-green-dark: #068041; --eh-line: #cfe3bf; margin: 0 0 20px; }
.eh-gal-src { display: none !important; }

.eh-gal__stage { position: relative; background: #fff; border: 1px solid #e3f0d6; border-radius: 12px; overflow: hidden; outline: none; }
.eh-gal__stage:focus-visible { border-color: var(--eh-green); }
.eh-gal__main { display: flex; align-items: center; justify-content: center; padding: 10px; cursor: zoom-in; min-height: 240px; }
.eh-gal__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 500px; }
.eh-gal--many .eh-gal__main { padding-left: 52px; padding-right: 52px; }

.eh-gal__nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 0 0 4px; border-radius: 50%; border: 1px solid var(--eh-line); background: #fff; color: var(--eh-green-dark); font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: background .15s, color .15s, border-color .15s; z-index: 2; -webkit-tap-highlight-color: transparent; }
.eh-gal__nav--prev { left: 10px; }
.eh-gal__nav--next { right: 10px; }
.eh-gal__nav:hover, .eh-gal__nav:focus-visible { background: var(--eh-green); border-color: var(--eh-green); color: #fff; outline: none; }
.eh-gal__nav:active { transform: scale(.94); }

.eh-gal__count { position: absolute; left: 12px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(34, 34, 34, .62); color: #fff; font-size: 12px; line-height: 1.4; pointer-events: none; }
.eh-gal__zoom { position: absolute; right: 12px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--eh-line); color: var(--eh-green-dark); display: flex; align-items: center; justify-content: center; font-size: 14px; pointer-events: none; }

.eh-gal__strip { display: flex; gap: 8px; margin-top: 10px; padding: 2px 2px 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; position: relative; }
.eh-gal__thumb { flex: 0 0 auto; width: 72px; height: 72px; padding: 3px; background: #fff; border: 2px solid #e3e3e3; border-radius: 8px; cursor: pointer; opacity: .75; transition: border-color .15s, opacity .15s; -webkit-tap-highlight-color: transparent; }
.eh-gal__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.eh-gal__thumb:hover, .eh-gal__thumb:focus-visible { opacity: 1; border-color: var(--eh-line); outline: none; }
.eh-gal__thumb.is-active { opacity: 1; border-color: var(--eh-green); }

@media (max-width: 767px) {
  .eh-gal__main { padding: 6px; min-height: 0; }
  .eh-gal--many .eh-gal__main { padding-left: 6px; padding-right: 6px; }
  .eh-gal__img { max-height: 380px; }
  .eh-gal__nav { width: 38px; height: 38px; margin-top: -19px; background: rgba(255, 255, 255, .92); }
  .eh-gal__nav--prev { left: 6px; }
  .eh-gal__nav--next { right: 6px; }
  .eh-gal__thumb { width: 60px; height: 60px; }
}

/* Lightbox (Magnific Popup) */
.eh-gal-mfp.mfp-bg { background: #10160f; opacity: .9; }
.eh-gal-mfp .mfp-close { position: fixed; top: 12px; right: 12px; width: 46px; height: 46px; line-height: 42px; padding: 0; text-align: center; border-radius: 50%; background: #fff; color: #222 !important; font-size: 30px; opacity: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); cursor: pointer; }
.eh-gal-mfp .mfp-close:hover, .eh-gal-mfp .mfp-close:focus { background: #009933; color: #fff !important; }
.eh-gal-mfp .mfp-close:active { top: 12px; }
.eh-gal-mfp .mfp-figure:after { display: none; }
.eh-gal-mfp .mfp-title, .eh-gal-mfp .mfp-counter { color: #f3f3f3; }
.eh-gal-mfp .mfp-arrow { opacity: .9; }
.eh-gal-mfp .mfp-arrow:hover { opacity: 1; }
.eh-gal-mfp .mfp-image-holder .mfp-content { cursor: default; }
@media (max-width: 767px) {
  .eh-gal-mfp .mfp-arrow { transform: scale(.7); }
}
