html.tm-photo-viewer-open{overflow:hidden}
dialog.tm-photo-viewer{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#0d1715;color:#fff;overflow:hidden;box-shadow:none}
dialog.tm-photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
dialog.tm-photo-viewer::backdrop{background:#0d1715}
.tm-photo-viewer .tm-photo-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(20px,env(safe-area-inset-left));min-height:44px}
.tm-photo-viewer .tm-photo-viewer-counter{font-size:15px;font-weight:600;line-height:1.4;color:#fff}
.tm-photo-viewer .tm-photo-viewer-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;touch-action:pan-y pinch-zoom}
.tm-photo-viewer .tm-photo-viewer-image{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;border:0;border-radius:0;user-select:none;-webkit-user-select:none}
.tm-photo-viewer button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:none;width:48px;height:48px;min-height:48px;margin:0;padding:0;border:1px solid #ffffff38;border-radius:50%;background:#18362bcc;color:#fff;font:400 36px/1 Arial,sans-serif;cursor:pointer;box-shadow:none;opacity:1;transform:none}
.tm-photo-viewer button:hover{background:#315c49}.tm-photo-viewer button:disabled{opacity:.3;cursor:default}.tm-photo-viewer button:focus-visible{outline:3px solid #ddf29f;outline-offset:3px}
.tm-photo-viewer .tm-photo-viewer-prev,.tm-photo-viewer .tm-photo-viewer-next{position:absolute;z-index:2;top:50%;transform:translateY(-50%)}
.tm-photo-viewer .tm-photo-viewer-prev{left:max(16px,env(safe-area-inset-left))}.tm-photo-viewer .tm-photo-viewer-next{right:max(16px,env(safe-area-inset-right))}
.tm-photo-viewer .tm-photo-viewer-caption{margin:0;padding:12px 24px max(14px,env(safe-area-inset-bottom));font-size:14px;font-weight:400;line-height:1.5;text-align:center;overflow-wrap:anywhere;max-height:20vh;overflow:auto;color:#e0e9e4}
.tm-photo-viewer .tm-photo-viewer-message{position:absolute;z-index:1;left:50%;bottom:16px;transform:translateX(-50%);box-sizing:border-box;width:max-content;max-width:calc(100% - 40px);margin:0;padding:8px 12px;background:#0d1715d9;border-radius:8px;font-size:14px;line-height:1.5;text-align:center;pointer-events:none;color:#fff}.tm-photo-viewer .tm-photo-viewer-message:empty{display:none}
.tm-photo-viewer .tm-photo-viewer-watermark{position:absolute;z-index:1;bottom:20px;right:24px;max-width:70%;padding:8px 12px;border-radius:6px;background:#13241fc4;color:white;font-size:14px;line-height:1.4;font-weight:600;overflow-wrap:anywhere;pointer-events:none;text-shadow:0 1px 2px #0008}
.tm-photo-viewer .tm-photo-viewer-watermark-bottom-left{left:24px;right:auto}.tm-photo-viewer .tm-photo-viewer-watermark-center{top:50%;left:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);text-align:center;opacity:.82}
.tm-photo-viewer [hidden]{display:none!important}
.product-page .slider .main a.tm-listing-photo-open{display:block;position:relative;cursor:zoom-in;text-decoration:none;color:inherit}
.product-page .slider .main a.tm-listing-photo-open:focus-visible{outline:3px solid #237646;outline-offset:-3px}
.product-page .slider .main .tm-listing-photo-hint{position:absolute;top:12px;right:12px;z-index:3;border-radius:20px;padding:6px 10px;background:#112f25bd;color:white;font-size:12px;line-height:1.4;pointer-events:none}
@media(max-width:600px){.tm-photo-viewer .tm-photo-viewer-prev{left:8px}.tm-photo-viewer .tm-photo-viewer-next{right:8px}.tm-photo-viewer .tm-photo-viewer-caption{font-size:13px;padding-left:16px;padding-right:16px}.tm-photo-viewer .tm-photo-viewer-watermark{font-size:12px;bottom:12px;right:12px}.tm-photo-viewer .tm-photo-viewer-watermark-bottom-left{left:12px;right:auto}.tm-photo-viewer .tm-photo-viewer-watermark-center{bottom:auto;right:auto}}
