.berta-photo-open{position:absolute;z-index:10;top:14px;right:14px;width:36px;height:36px;display:grid;place-items:center;padding:8px;border:1px solid #c7aa8380;border-radius:50%;background:#181510c9;backdrop-filter:blur(12px);color:#e8d7ba;cursor:zoom-in}
.berta-photo-open svg,.berta-photo-viewer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.woocommerce-product-gallery__image>a{cursor:zoom-in}
.berta-photo-viewer{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#100e0b;color:#e8dbc1;overflow:hidden;font:400 12px/1.6 var(--berta-font-body,sans-serif)}
.berta-photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.berta-photo-viewer::backdrop{background:#080706f5}
.berta-photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 22px;border-bottom:1px solid #c7aa8326;background:#1a1610;z-index:3}
.berta-photo-brand{font:400 21px/1.4 Georgia,serif;letter-spacing:.18em;white-space:nowrap}.berta-photo-brand span{display:inline-block;margin-inline-start:18px;font:400 11px/1.4 var(--berta-font-body,sans-serif);letter-spacing:0;color:#a9977b}
.berta-photo-tools{display:flex;gap:5px;align-items:center}.berta-photo-viewer button{display:grid;place-items:center;min-width:38px;min-height:38px;padding:7px;border:1px solid transparent;border-radius:7px;color:#dfccaa;background:transparent;cursor:pointer;font:inherit}
.berta-photo-viewer button:hover{background:#c7aa8317;border-color:#c7aa8333}.berta-photo-tool-divider{height:22px;width:1px;background:#c7aa8330;margin:0 7px}
.berta-photo-percentage{width:48px;text-align:center;font:400 12px/1.5 sans-serif;font-variant-numeric:tabular-nums;color:#c7aa83}
.berta-photo-range{width:105px;accent-color:#c7aa83;cursor:pointer;height:24px}
.berta-photo-stage{position:relative;min-height:0;overflow:hidden;background:radial-gradient(ellipse at center,#242017 0%,#0d0b08 85%);touch-action:none;outline:0;cursor:zoom-in;user-select:none}
.berta-photo-stage.is-zoomed{cursor:grab}.berta-photo-stage.is-dragging{cursor:grabbing}
.berta-photo-image{position:absolute;left:50%;top:50%;translate:-50% -50%;max-width:none!important;max-height:none!important;display:block;margin:0;object-fit:contain;transform-origin:center;will-change:transform;user-select:none;pointer-events:none}
.berta-photo-loading{position:absolute;inset:50% 15% auto;text-align:center;color:#ac9878;pointer-events:none}
.berta-photo-stage>button{position:absolute;top:50%;translate:0 -50%;z-index:2;width:44px;height:50px;background:#17130fb8;border:1px solid #c7aa834d;border-radius:9px;backdrop-filter:blur(12px)}
.berta-photo-stage>[data-photo-action=previous]{left:20px}.berta-photo-stage>[data-photo-action=next]{right:20px}
.berta-photo-bottom{padding:9px 24px 15px;border-top:1px solid #c7aa8326;background:#1a1610;z-index:3}
.berta-photo-info{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:10px;line-height:1.6}
.berta-photo-counter{font:400 12px/1.6 sans-serif;color:#dcc6a0}.berta-photo-hint{font-size:10px;color:#ad9a7d}
.berta-photo-thumbnails{display:flex;justify-content:center;gap:9px;max-width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#66563f transparent}
.berta-photo-viewer .berta-photo-thumbnails button{flex:0 0 52px;padding:0;min-width:52px;height:61px;border:1px solid #70604466;border-radius:5px;overflow:hidden;background:#100e0b;opacity:.5}
.berta-photo-thumbnails button img{width:100%;height:100%;object-fit:cover;pointer-events:none}.berta-photo-viewer .berta-photo-thumbnails button[aria-current=true]{opacity:1;border:2px solid #d1b17b}
.berta-photo-viewer :is(button,input):focus-visible,.berta-photo-open:focus-visible{outline:2px solid #ead2a5;outline-offset:3px}
@media(max-width:700px){.berta-photo-toolbar{padding:10px 12px;gap:6px;flex-wrap:wrap}.berta-photo-brand{font-size:17px}.berta-photo-brand span{display:none}.berta-photo-tools{gap:1px}.berta-photo-viewer button{min-width:33px;min-height:36px;padding:6px}.berta-photo-tool-divider{margin:0 3px}.berta-photo-range{width:65px}.berta-photo-percentage{width:39px;font-size:11px}.berta-photo-bottom{padding:9px 14px 12px}.berta-photo-hint{font-size:9px}.berta-photo-stage>[data-photo-action=previous]{left:9px}.berta-photo-stage>[data-photo-action=next]{right:9px}.berta-photo-stage>button{width:35px;height:44px}.berta-photo-viewer .berta-photo-thumbnails button{flex-basis:45px;min-width:45px;height:54px}}
@media(max-width:420px){.berta-photo-brand{width:100%;text-align:center;font-size:16px}.berta-photo-tools{width:100%;justify-content:center}.berta-photo-hint{max-width:240px;text-align:right;line-height:1.7}.berta-photo-range{width:75px}}
