/* InSyncPetz product gallery v7.2.16: independent of WooCommerce FlexSlider. */
body.single-product .isp-inner-product-panel.woocommerce .isp-pdp-media .isp-gallery16 {
  position:relative;width:100%;max-width:100%;min-width:0;margin:0;padding:0;
  color:#173468;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-stage {
  position:relative;box-sizing:border-box;display:block;width:100%;aspect-ratio:4/3;
  max-height:520px;min-height:280px;border:1px solid #dfe9f6;border-radius:16px;
  overflow:hidden;background:#fff;isolation:isolate;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-hero-link {
  position:absolute;inset:0;display:flex!important;align-items:center;justify-content:center;
  text-decoration:none!important;background:transparent!important;border:0!important;
  padding:18px!important;z-index:1;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-hero-link img,
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-hero-link img:hover {
  display:block!important;position:relative!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
  background:transparent!important;padding:0!important;margin:0!important;border:0!important;
  border-radius:0!important;opacity:1!important;visibility:visible!important;
  transform:none!important;filter:none!important;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-hero-link img[hidden]{display:none!important}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-stage.is-unavailable .isp-gallery16-hero-link{display:none!important}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-message {
  position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:24px;
  text-align:center;color:#587398;background:#f9fbff;font-size:14px;line-height:1.6;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-message[hidden]{display:none!important}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-empty {
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:8px;text-align:center;padding:24px;color:#506c90;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-empty>span{font-size:66px;line-height:1;color:#b5c9e4}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-empty strong{font-size:16px;color:#24477f}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-empty small{max-width:33ch;font-size:13px;line-height:1.5}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-nav,
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-enlarge {
  position:absolute;z-index:5;display:grid;place-items:center;width:41px;height:41px;
  background:rgba(255,255,255,.97)!important;border:1px solid #d8e4f6!important;
  border-radius:50%!important;color:#173468!important;box-shadow:0 5px 16px rgba(13,44,95,.10);
  cursor:pointer;font-size:20px;font-weight:700;padding:0!important;line-height:1;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-nav:hover,
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-enlarge:hover{background:#eaf3ff!important;border-color:#91bbe9!important}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-nav:disabled{display:none!important}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-prev{left:12px;top:50%;transform:translateY(-50%)}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-next{right:12px;top:50%;transform:translateY(-50%)}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-enlarge{top:12px;right:12px;width:40px;height:40px}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-count {
  position:absolute;bottom:12px;right:12px;z-index:4;padding:7px 11px;border-radius:999px;
  background:rgba(255,255,255,.96);border:1px solid #e1eaf5;color:#425f88;
  font:700 12px/1.1 system-ui,sans-serif;font-variant-numeric:tabular-nums;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs {
  display:flex;align-items:center;gap:9px;max-width:100%;min-width:0;overflow-x:auto;
  margin-top:13px;padding:2px 2px 7px;scrollbar-width:thin;scrollbar-color:#bfcfe5 transparent;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs button {
  box-sizing:border-box;display:grid;place-items:center;flex:0 0 72px;width:72px;height:70px;
  background:#fff!important;border:2px solid #dce8f5!important;border-radius:11px!important;
  padding:4px!important;overflow:hidden;cursor:pointer;box-shadow:none!important;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs button[aria-pressed="true"] {
  border-color:#0865ea!important;box-shadow:0 0 0 2px rgba(8,101,234,.12)!important;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs button:disabled{opacity:.4;cursor:not-allowed}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs img {
  display:block!important;width:100%!important;height:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;opacity:1!important;
  padding:0!important;margin:0!important;border:0!important;transform:none!important;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-admin {
  display:block;text-align:right;margin:7px 0 0;font:600 10px/1.3 system-ui,sans-serif;color:#6b829e;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog {
  box-sizing:border-box;position:fixed;margin:auto;inset:0;border:1px solid #d9e6f6;
  border-radius:20px;background:#fff;box-shadow:0 25px 90px rgba(10,30,66,.23);
  width:min(1000px,calc(100vw - 32px));max-width:1000px;max-height:calc(100dvh - 32px);
  padding:22px;overflow:auto;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog:not([open]){display:none!important}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog::backdrop{background:rgba(11,30,63,.78)}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog-close {
  display:grid;place-items:center;margin-left:auto;width:39px;height:39px;
  border-radius:50%;border:1px solid #d8e4f3;background:#fff;color:#1a376e;font-size:26px;cursor:pointer;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog-media {
  display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;
  gap:10px;width:100%;height:min(70vh,680px);
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog-media img {
  width:100%!important;height:100%!important;max-height:100%!important;
  display:block!important;object-fit:contain!important;object-position:center!important;
  border:0!important;padding:0!important;margin:0!important;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog-media button{
  width:38px;height:38px;display:grid;place-items:center;border:1px solid #dbe6f7;
  border-radius:50%;background:#fff;color:#123a78;font-size:20px;cursor:pointer;
}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog-media button:disabled{visibility:hidden}
body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog>p {
  margin:5px 0 0!important;color:#536d92;text-align:center;font:700 12px/1.4 system-ui,sans-serif;
}
@media(max-width:780px){
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-stage{min-height:220px;max-height:440px;aspect-ratio:4/3}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-hero-link{padding:12px!important}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs button{flex-basis:62px;width:62px;height:61px}
}
@media(max-width:470px){
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-stage{min-height:225px;aspect-ratio:1.12/1}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-nav{width:33px;height:33px;font-size:17px}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-hero-link{padding:8px!important}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs{gap:6px}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-thumbs button{flex-basis:56px;width:56px;height:54px}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog{padding:12px;border-radius:12px}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog-media{grid-template-columns:31px minmax(0,1fr) 31px;gap:3px;height:65vh}
  body.single-product .isp-inner-product-panel.woocommerce .isp-gallery16-dialog-media button{width:29px;height:29px}
}
@media(prefers-reduced-motion:reduce){body.single-product .isp-gallery16 *{scroll-behavior:auto!important;transition:none!important}}
