.prodImages .zh-video-product-link{display:block;position:absolute;z-index:4;right:12px;top:10px;margin:0;max-width:calc(100% - 24px)}
.prodImages .zh-video-product-link [data-zh-video-start]{display:inline-flex;align-items:center;gap:5px;background:#ff7e00;color:#fff;padding:8px 15px;font-size:16px;line-height:1.4;cursor:pointer;border-radius:3px;box-shadow:0 1px 3px -1px #000;text-decoration:none}
.prodImages .zh-video-product-link [data-zh-video-start]:focus-visible{outline:3px solid #159db8;outline-offset:3px}
.zh-video-product-link [data-zh-video-status]:empty{display:none}
.zh-video-shared-panel>[data-zh-video-external]{display:block;margin:0 0 8px;font-size:14px}

/* Short landscape screens: reserve only the video and a reachable close control. */


@media(max-width:600px) and (orientation:portrait){
 .zh-video-shared-panel[open]{box-sizing:border-box;width:calc(100vw - 4px);max-width:calc(100vw - 4px);padding:2px;border-radius:4px}
 .zh-video-shared-panel[open]>.zh-video-shared-title,.zh-video-shared-panel[open]>p,.zh-video-shared-panel[open]>[data-zh-video-external]{margin:8px}
 .zh-video-shared-panel[open]>.zh-video-close{margin:0 8px 8px}
}


.zh-video-shared-panel[open]>.zh-video-close{box-sizing:border-box;display:block;width:140px;min-width:140px;max-width:140px;height:48px;min-height:48px;margin:0 8px 8px auto;padding:6px 10px;border:1px solid #aab5ad;border-radius:5px;background:#354239;color:#fff;font-size:14px;line-height:1.2;cursor:pointer}
.zh-video-shared-panel[open]>.zh-video-close::before{display:none}
.zh-video-shared-panel[open]>.zh-video-close:hover{background:#495149}
.zh-video-shared-panel[open]>.zh-video-close:focus-visible{outline:3px solid #159db8;outline-offset:3px}





.zh-video-shared-panel[open]>.zh-video-close{background:#ff7e00;border-color:#ff7e00;color:#fff;box-shadow:0 1px 3px -1px #000}
.zh-video-shared-panel[open]>.zh-video-close:hover{background:#e97000;border-color:#e97000}

.zh-video-shared-panel[open]>.zh-video-close::before{display:inline;content:'×';font-size:18px;line-height:1;vertical-align:middle;margin-right:6px}

.zh-video-option-link{display:block;float:right;border-bottom:1px dotted;line-height:1;padding:3px 0;color:#08a900;font-weight:normal;font-size:11px}
.zh-video-option-value-link{color:#08a900;border-bottom:1px dotted;display:inline-block}
.zh-video-option-link [data-zh-video-start],.zh-video-option-value-link [data-zh-video-start]{color:inherit;text-decoration:none;cursor:pointer;font-size:inherit;font-weight:inherit}
.zh-video-option-link [data-zh-video-start]:focus-visible,.zh-video-option-value-link [data-zh-video-start]:focus-visible{outline:2px solid #159db8;outline-offset:3px}

.zh-shared-category-videos{border:1px solid #ddd;border-radius:3px;margin-bottom:10px}
.zh-video-category-link [data-zh-video-start]{color:inherit;text-decoration:none;cursor:pointer}
.zh-video-category-link [data-zh-video-start]:focus-visible{outline:2px solid #159db8;outline-offset:3px}

.catProdVideo .zh-video-catalog-action{display:block;width:24px;height:24px;padding:2px;color:#fff!important;text-align:center;border-radius:2px;font-size:16px;background:rgba(0,0,0,.3);cursor:pointer}
.catProdVideo .zh-video-catalog-action:hover{background:#0c840a}
.zh-video-catalog-action:focus-visible{outline:2px solid #ff7e00;outline-offset:2px}
.zh-video-shared-title .zh-video-context-link{display:block;margin-top:8px;font-size:13px;line-height:1.3;font-weight:normal;color:#ff7e00;overflow-wrap:anywhere}

/* Compact visible symbols; each separate control keeps a 44px touch target. */
.zh-compact-control,
.subCatVideo a.zh-compact-control,
.catProdVideo a.zh-compact-control,
.catProdFullImg a.zh-compact-control {
 position:relative;display:block!important;width:44px!important;height:44px!important;
 min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;
 box-sizing:border-box;background:transparent!important;border:0!important;cursor:pointer;
 border-radius:5px;line-height:44px!important;text-decoration:none!important;
}
.zh-compact-control::before {content:"";position:absolute;inset:10px;
 background:#00a6df;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.25);}
.zh-compact-control::after {content:"";position:absolute;left:19px;top:16px;
 width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;
 border-left:9px solid #fff;}
.zh-compact-control > i {display:none!important;}
.zh-compact-control.zh-compact-zoom::before {background:#ff7e00;}
.zh-compact-control.zh-compact-zoom::after {left:14px;top:14px;width:16px;height:16px;border:0;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='m15 15 6 6M10 7v6M7 10h6'/%3E%3C/svg%3E") center/contain no-repeat;}
.zh-compact-control:focus-visible {outline:2px solid #00698e;outline-offset:1px;}
.zh-compact-control:hover::before {filter:brightness(.9);}
.zh-compact-card {position:relative;}
.zh-compact-card .catProdVideo,.zh-compact-card .subCatVideo {top:0!important;right:0!important;z-index:4;}
.zh-compact-card .catProdFullImg {top:48px!important;right:0!important;z-index:4;}
.zh-compact-card.zh-compact-no-video .catProdFullImg {top:0!important;}
.zh-home-video-player [data-zh-video-start] > span[aria-hidden="true"],
.zh-category-video [data-zh-video-start] > span[aria-hidden="true"] {
 width:24px!important;height:24px!important;min-width:0!important;min-height:0!important;
 border-radius:4px!important;background:#00a6df!important;font-size:0!important;
 box-shadow:0 1px 3px rgba(0,0,0,.25)!important;
}
.zh-home-video-player [data-zh-video-start] > span[aria-hidden="true"]::after,
.zh-category-video [data-zh-video-start] > span[aria-hidden="true"]::after {
 content:"";display:block;width:0;height:0;border-top:6px solid transparent;
 border-bottom:6px solid transparent;border-left:9px solid white;
}

.zh-image-shared-panel>.zh-video-shared-stage{background:#f5f5f5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.zh-image-shared-panel>.zh-video-shared-stage>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.zh-image-shared-panel>p:empty{display:none}

/* Photo and video actions share one footer, preserving overlay/back-button handling. */
.zh-video-shared-panel[open] .zh-image-actions{display:flex;justify-content:flex-end;align-items:stretch;gap:8px;flex-wrap:nowrap;margin:8px 8px 8px 0}
.zh-video-shared-panel[open] .zh-image-actions>.zh-image-calculate,.zh-video-shared-panel[open] .zh-image-actions>.zh-video-close{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 1 160px;width:160px;min-width:0;max-width:160px;height:48px;min-height:48px;margin:0;padding:6px 10px;border:1px solid;border-radius:5px;font-size:14px;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;box-shadow:0 1px 3px -1px #000}
.zh-video-shared-panel[open] .zh-image-actions>.zh-image-calculate{background:#ff8a00;border-color:#ff8a00;color:#fff}
.zh-video-shared-panel[open] .zh-image-actions>.zh-image-calculate:hover{background:#e87900;border-color:#e87900;color:#fff}
.zh-video-shared-panel[open] .zh-image-actions>.zh-image-calculate:active{background:#cc6c00;transform:translateY(1px)}
.zh-video-shared-panel[open] .zh-image-actions>.zh-video-close::before{content:'×';margin-right:6px;font-size:18px;line-height:1}
.zh-video-shared-panel[open] .zh-image-actions>:focus-visible{outline:3px solid #159db8;outline-offset:3px}


/* Shared landscape-phone viewer: full-height media at left, scrollable details and stacked actions at right. */
@media(orientation:landscape) and (max-height:600px) and (max-width:1366px){
 .zh-video-shared-panel[open]{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) clamp(140px,20vw,180px);grid-template-rows:auto minmax(0,1fr) auto auto;column-gap:8px;row-gap:6px;width:calc(100vw - 4px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-width:calc(100vw - 4px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));height:calc(100vh - 4px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(100vh - 4px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin:auto;padding:2px;border:0;border-radius:4px;background:#fff;overflow:hidden}
 .zh-video-shared-panel[open]>.zh-video-shared-stage{grid-column:1;grid-row:1/5;align-self:stretch;box-sizing:border-box;min-width:0;min-height:0;width:100%;height:100%;max-height:none;padding:0;aspect-ratio:auto;border-radius:3px}
 .zh-video-shared-panel[open]>[data-zh-video-external]{display:block;grid-column:2;grid-row:1;min-width:0;margin:2px 4px 0 0;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
 .zh-video-shared-panel[open]>.zh-video-shared-title{display:block;grid-column:2;grid-row:2;align-self:stretch;min-width:0;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;margin:0 4px 0 0;padding:0;font-size:13px;line-height:1.35;overflow-wrap:anywhere;text-align:left}
 .zh-video-shared-panel[open]>p{display:block;grid-column:2;grid-row:3;min-width:0;max-height:48px;overflow:auto;margin:0 4px 0 0;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
 .zh-video-shared-panel[open]>p:empty{display:none}
 .zh-video-shared-panel[open] .zh-image-actions{grid-column:2;grid-row:4;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;align-self:end;min-width:0;gap:6px;margin:0 4px 2px 0}
 .zh-video-shared-panel[open] .zh-image-actions>.zh-image-calculate,.zh-video-shared-panel[open] .zh-image-actions>.zh-video-close{flex:0 0 48px;width:100%;min-width:0;max-width:none;height:48px;min-height:48px;margin:0;padding:5px;font-size:13px;white-space:normal}
 @supports(height:100dvh){.zh-video-shared-panel[open]{height:calc(100dvh - 4px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 4px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}}
}

/* Status updates must never resize or recenter the shared viewer. */
.zh-video-shared-panel .zh-video-shared-stage>.zh-media-status{position:absolute;left:56px;right:56px;bottom:40px;z-index:5;box-sizing:border-box;display:block;margin:0;padding:7px 10px;max-height:30%;overflow:auto;border-radius:5px;background:rgba(255,255,255,.95);color:#4b5549;font:12px/1.35 Arial,sans-serif;text-align:center;overflow-wrap:anywhere;box-shadow:0 1px 4px #0002}
.zh-video-shared-panel .zh-video-shared-stage>.zh-media-status:empty{display:none}
.zh-video-shared-panel[open]>[data-zh-video-external]{box-sizing:border-box;height:22px;min-height:22px;max-height:22px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(orientation:landscape) and (max-height:600px) and (max-width:1366px){
 .zh-video-shared-panel[open]>[data-zh-video-external]{height:34px;min-height:34px;max-height:34px;line-height:16px;white-space:normal}
}

/* Shared photo navigation also serves each published review gallery. */
.zh-image-shared-panel .zh-image-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:44px;height:52px;min-width:44px;min-height:44px;border:1px solid #cbd8c5;border-radius:7px;background:rgba(255,255,255,.94);color:#53664c;font:400 36px/1 Arial,sans-serif;cursor:pointer;padding:0;box-shadow:0 2px 8px #0002}
.zh-image-shared-panel .zh-image-gallery-prev{left:8px}.zh-image-shared-panel .zh-image-gallery-next{right:8px}
.zh-image-shared-panel .zh-image-gallery-arrow:disabled{opacity:.35;cursor:default}
.zh-image-shared-panel .zh-image-gallery-count{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:4;border-radius:12px;background:rgba(255,255,255,.94);padding:3px 10px;color:#53664c;font-size:13px;line-height:1.4}
.zh-image-shared-panel .zh-image-gallery-arrow[hidden],.zh-image-shared-panel .zh-image-gallery-count[hidden]{display:none!important}
.zh-image-shared-panel .zh-image-gallery-count{pointer-events:none}
