/* V1.4.0 · Rê chuột xem lớn ảnh sản phẩm. Không làm thay đổi chiều cao hàng. */
img.thumb-v12,img.product-detail-image{cursor:zoom-in;transition:box-shadow .15s ease,border-color .15s ease}
img.thumb-v12:hover,img.thumb-v12:focus-visible,img.product-detail-image:hover,img.product-detail-image:focus-visible{box-shadow:0 0 0 2px #e86b62,0 4px 14px #23293315;outline:none}
.product-zoom-pop{position:fixed;z-index:4000;pointer-events:none;width:340px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #e0e5ea;border-radius:14px;box-shadow:0 20px 54px #1d273033;overflow:hidden;opacity:0;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease}
.product-zoom-pop.is-visible{opacity:1;transform:translateY(0)}
.product-zoom-pop-head{min-height:40px;display:flex;justify-content:space-between;align-items:center;padding:10px 14px;gap:12px;border-bottom:1px solid #eceff2}
.product-zoom-pop-head strong{font-size:13px;letter-spacing:.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1f2730}
.product-zoom-pop-head small{font-size:10px;font-weight:600;color:#909aa4;white-space:nowrap}
.product-zoom-pop-body{height:415px;max-height:calc(100vh - 110px);display:flex;align-items:center;justify-content:center;background:#f9fafb;padding:9px}
.product-zoom-pop-body img{max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain;border-radius:8px}
.product-zoom-lightbox{position:fixed;inset:0;z-index:5100;background:#111923d9;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(4px)}
.product-zoom-lightbox[hidden]{display:none!important}
.product-zoom-dialog{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:min(740px,100%);width:100%;max-height:calc(100dvh - 32px);overflow:hidden;border-radius:15px;background:white;box-shadow:0 26px 90px #10151a66}
.product-zoom-dialog-top{align-items:center;justify-content:space-between;display:flex;gap:16px;width:100%;padding:10px 14px;border-bottom:1px solid #eceff2;color:#252c34}
.product-zoom-dialog-top strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-zoom-close{border:0;background:#f0f2f4;color:#29313a;width:36px;height:36px;flex:none;border-radius:9px;font-size:25px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.product-zoom-close:hover{background:#e6e8eb}
.product-zoom-large{width:100%;max-height:calc(100dvh - 115px);height:min(690px,calc(100dvh - 115px));object-fit:contain;background:#fff;padding:10px}
.product-zoom-caption{font-size:11px;color:#82909d;padding:0 12px 12px;text-align:center}
@media (prefers-reduced-motion:reduce){.product-zoom-pop,img.thumb-v12,img.product-detail-image{transition:none!important}}
@media (hover:none),(pointer:coarse){.product-zoom-pop{display:none!important}}
