/* Only the phone product-detail dialog follows the currently visible viewport. */
html[data-view-mode="phone"] .product-detail-layer[open]{
 position:fixed!important;top:calc(var(--tv-visible-top,0px) + 6px)!important;left:6px!important;right:6px!important;bottom:auto!important;
 width:calc(100% - 12px)!important;height:calc(var(--tv-visible-vh,100dvh) - 12px)!important;max-height:calc(var(--tv-visible-vh,100dvh) - 12px)!important;
 min-height:0!important;margin:0 auto!important;box-sizing:border-box!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;overflow:hidden!important;
}
html[data-view-mode="phone"] .product-detail-layer[open]>.product-detail-scroll{min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch}
html[data-view-mode="phone"] .product-detail-layer[open]>.product-detail-actions{position:relative!important;inset:auto!important;align-self:end;flex-shrink:0;margin:0!important;padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;background:#fff;z-index:5;touch-action:manipulation}
html[data-view-mode="phone"] .product-detail-actions button{min-height:44px!important;height:auto!important;padding:10px 8px!important;line-height:1.35!important;white-space:normal!important}
