/* Oak Farm Vineyards — bottle zoom for Commerce7 product pages.
   Loaded only on /product/ pages by functions.php (oak_farm_bottle_zoom_assets).
   Source and notes: Custom Section Styles/Features/Product Click to Zoom/. */
.c7-product-detail .c7-product__image.ofz-target { cursor: zoom-in; flex-direction: column; }
.c7-product-detail .c7-product__image.ofz-target img { cursor: zoom-in; }
.ofz-hint { position:static; flex:none; margin:18px auto 0; display:inline-flex; align-items:center; gap:7px;
  font:700 11px/1 'PT Sans',Arial,sans-serif; letter-spacing:2px; text-transform:uppercase; color:#7a1f35;
  background:rgba(253,246,232,.94); border:1px solid rgba(184,145,58,.6); border-radius:3px; padding:8px 12px; white-space:nowrap; z-index:2; cursor:pointer; transition:background .2s,color .2s; }
.ofz-hint:hover { background:#7a1f35; color:#fff; }
.ofz-hint:focus-visible { outline:2px solid #b8913a; outline-offset:3px; }
.ofz-hint svg { width:14px; height:14px; fill:none; stroke:#b8913a; stroke-width:2; stroke-linecap:round; }
.ofz-overlay { position:fixed; inset:0; z-index:999999; background:rgba(255,255,255,.96); display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .2s; overflow:hidden; touch-action:pinch-zoom; }
.ofz-overlay.ofz-open { opacity:1; }
.ofz-stage { width:100%; height:100%; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.ofz-stage img { max-width:92vw; max-height:90vh; object-fit:contain; transition:transform .25s ease; transform-origin:50% 50%; user-select:none; -webkit-user-drag:none; }
.ofz-overlay.ofz-can-zoom .ofz-stage img { cursor:zoom-in; }
.ofz-overlay.ofz-zoomed .ofz-stage img { cursor:zoom-out; }
.ofz-close { position:absolute; top:18px; right:18px; width:46px; height:46px; border-radius:50%; border:1px solid rgba(217,184,102,.7); background:rgba(122,31,53,.9);
  color:#fff; font:400 26px/1 Georgia,serif; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:2; }
.ofz-close:focus-visible { outline:2px solid #d9b866; outline-offset:3px; }
.ofz-tip { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); font:700 11px 'PT Sans',Arial,sans-serif; letter-spacing:2px; text-transform:uppercase; color:#7a1f35; white-space:nowrap; pointer-events:none; margin:0; display:none; }
.ofz-overlay.ofz-can-zoom .ofz-tip { display:block; }
.ofz-overlay.ofz-zoomed .ofz-tip { display:none; }
@media (hover:none) { .ofz-tip-desktop { display:none; } }
@media (hover:hover) { .ofz-tip-touch { display:none; } }
@media (prefers-reduced-motion:reduce) { .ofz-overlay, .ofz-stage img { transition:none; } }
