/* V46.62 product media, overrides all earlier storefront card dimensions only for the second layer. */
.product-card .product-image-wrap {position:relative; isolation:isolate; overflow:hidden;}
.product-card .product-image-wrap > .product-image {display:block; width:100%; height:100%; object-fit:cover; transition:transform .48s cubic-bezier(.22,.61,.36,1), opacity .42s ease !important;}
.product-card .veja-card-hover-image,
.product-card .veja-card-hover-video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;visibility:hidden;pointer-events:none;z-index:1;transition:opacity .42s ease, visibility 0s linear .42s;}
.product-card.veja-secondary-active .veja-card-hover-image,
.product-card.veja-video-ready .veja-card-hover-video {opacity:1;visibility:visible;transition:opacity .42s ease, visibility 0s;}
.product-card .product-image-wrap > .product-pill {position:absolute;z-index:3;}
.product-card .product-wish {z-index:4;}
@media (hover:hover) and (pointer:fine) {
 .product-card.veja-has-secondary:hover .product-image-wrap > .product-image {transform:scale(1.035);}
}
@media (prefers-reduced-motion:reduce) {
 .product-card .veja-card-hover-image,.product-card .veja-card-hover-video,.product-card .product-image-wrap > .product-image {transition:none !important;}
}
/* Detail: video and main photo have exactly the same canvas and no visible playback controls. */
#veja-detail-gallery .veja-detail-stage {position:relative;overflow:hidden;}
#veja-detail-gallery .veja-inline-product-video {width:100%;height:100%;max-height:100%;object-fit:contain;background:#f8f6f2;}
#veja-detail-gallery .veja-inline-product-video[hidden],
#veja-detail-gallery .veja-open-zoom[hidden] {display:none !important;}
#veja-detail-gallery .veja-inline-product-video.veja-video-visible {display:block;}
#veja-detail-gallery .thumb {position:relative;overflow:hidden;}
#veja-detail-gallery .veja-video-thumb-label {position:absolute;bottom:4px;left:4px;right:4px;display:block;text-align:center;background:rgba(20,20,20,.77);color:white;padding:3px 2px;font-size:10px;letter-spacing:.02em;pointer-events:none;}
.veja-dialog-product-video {display:block;max-width:100%;max-height:78vh;object-fit:contain;background:#111;}
/* Admin uploader */
.vh62-video-editor {max-width:850px;padding:0 4px 10px;color:inherit;}
.vh62-video-preview {max-width:520px;margin:0 0 20px;}
.vh62-video-preview[hidden],.vh62-progress-wrapper[hidden]{display:none !important;}
.vh62-video-current {display:block;width:100%;max-height:300px;object-fit:contain;background:#080808;border-radius:9px;}
.vh62-video-current-actions {display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 2px;color:#cad3df;font-size:13px;}
.vh62-video-remove {border:1px solid #b34b52;border-radius:7px;padding:8px 12px;background:transparent;color:#eb8c96;cursor:pointer;}
.vh62-upload-label {display:block;margin-bottom:9px;font-size:14px;font-weight:600;}
.vh62-video-file {display:block;max-width:100%;width:100%;padding:16px;border:1px dashed #637084;border-radius:9px;background:rgba(255,255,255,.03);cursor:pointer;color:inherit;}
.vh62-video-file::file-selector-button {border:0;border-radius:6px;background:#e69a00;color:#161616;font-weight:700;padding:10px 15px;margin-right:14px;cursor:pointer;}
.vh62-note {font-size:12px;color:#94a3b8;margin-top:8px;}
.vh62-progress-wrapper {margin:18px 0 8px;}
.vh62-progress {width:100%;height:10px;accent-color:#df9b1b;}
.vh62-progress-text {display:block;font-size:13px;margin-top:6px;}
.vh62-message {min-height:20px;font-size:13px;line-height:1.5;}
