/* A full product view in the existing catalogue, with no navigation or layout reset. */
#detail-dialog.product-page-view{inset:0;width:min(1180px,calc(100% - 48px));height:min(900px,94dvh);max-width:1180px;max-height:94dvh;margin:auto;padding:0;border:1px solid #e6e3d8;border-radius:24px;background:#fffefa;overflow:hidden}
.product-page-view #detail-content{height:100%;display:flex;flex-direction:column;min-height:0}
.product-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:10px 22px;border-bottom:1px solid #e8e5da;background:#fffefa;z-index:5}
.product-view-back,.product-view-cart,.product-view-bottom-back{border:0;background:transparent;color:#253f77;min-height:44px;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:8px;cursor:pointer}
.product-view-back>span{font-size:24px;line-height:1}.product-view-brand{font:900 26px 'Nunito',sans-serif;letter-spacing:-1px;color:#253f77}.product-view-brand>span{font:12px sans-serif;color:#d8ad34;margin-left:2px}.product-view-cart{position:relative;min-width:48px;border-radius:12px;background:#f9df85}.product-view-cart svg{width:25px;height:25px}.product-view-cart [data-product-cart-count]{position:absolute;top:0;right:-5px;min-width:19px;height:19px;border-radius:10px;background:#253f77;color:white;display:grid;place-items:center;font-size:10px;border:2px solid #fffefa}
.product-view-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.product-view-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:38px;padding:30px}
.product-view-visual{position:sticky;top:24px;min-width:0}
#detail-dialog.product-page-view .product-gallery{width:100%;min-width:0;margin:0;background:#f7f5ed;padding:20px;border:1px solid #ece8dc;border-radius:20px}
#detail-dialog.product-page-view .product-gallery>img{display:block;width:100%;height:min(58dvh,530px);max-height:none;object-fit:contain;border-radius:12px;background:#fff;mix-blend-mode:multiply}
#detail-dialog.product-page-view .product-gallery-thumbs{justify-content:flex-start;gap:8px;padding:14px 2px 4px}
#detail-dialog.product-page-view .product-gallery-thumbs button{width:56px;height:56px;flex-basis:56px;padding:4px;border-radius:10px}#detail-dialog.product-page-view .product-gallery-thumbs img{width:44px;height:44px}.product-view-visual .missing-photo{min-height:300px}
.product-view-info{min-width:0}.product-view-summary{min-width:0;margin-bottom:22px}
#detail-dialog.product-page-view h2{font-size:clamp(26px,3vw,36px);line-height:1.16;letter-spacing:-.8px;margin:10px 0 14px;overflow-wrap:anywhere}
#detail-dialog.product-page-view .detail-price,#detail-dialog.product-page-view .accessory-price,#detail-dialog.product-page-view .po-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 9px;font-size:24px;font-weight:750;line-height:1.5;color:#253f77;margin:12px 0}
#detail-dialog.product-page-view .listing-was{font-size:14px;font-weight:400;color:#85877f}#detail-dialog.product-page-view .listing-off{font-size:11px}
#detail-dialog.product-page-view dl.product-specs{grid-template-columns:100px minmax(0,1fr);gap:7px 14px;padding:18px 0;margin:0 0 16px;border-top:1px solid #e9e5db;border-bottom:1px solid #e9e5db;font-size:14px;line-height:1.5}
#detail-dialog.product-page-view .detail-section p,.product-view-info>p{font-size:15px;line-height:1.7;color:#637087;overflow-wrap:anywhere}#detail-dialog.product-page-view .detail-section h3{font-size:17px;margin:20px 0 9px}
.product-view-purchase{flex:none;display:flex;justify-content:flex-end;gap:12px;align-items:center;padding:14px 30px;background:#fffefa;border-top:1px solid #e8e5da;z-index:5}
#detail-dialog.product-page-view .product-view-purchase>.product-view-buy{background:#253f77;color:white;border:1px solid #253f77;border-radius:13px;min-height:48px;min-width:250px;font-size:15px;padding:12px 24px;font-weight:700;box-shadow:none;margin:0;display:inline-flex;justify-content:center;align-items:center}
.product-view-purchase>.wishlist-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 16px;background:#fffefa;color:#253f77;border:1px solid #d9dcd9;border-radius:13px}.product-view-purchase>.wishlist-button svg{width:21px;height:21px}
#detail-dialog.product-page-view .product-view-secondary{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.product-view-secondary:empty{display:none!important}
.product-view-bottom-back{font-size:13px;font-weight:600;margin-top:20px;padding-left:0;text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){
 #detail-dialog.product-page-view{width:100%;height:100dvh;max-height:100dvh;max-width:none;border:0;border-radius:0;margin:0}
 .product-view-toolbar{padding:8px 14px;padding-top:max(8px,env(safe-area-inset-top))}.product-view-brand{font-size:24px}.product-view-back{font-size:13px;padding-left:0;gap:7px}
 .product-view-layout{display:block;padding:18px 18px 24px}.product-view-visual{position:static;margin-bottom:22px}
 #detail-dialog.product-page-view .product-gallery{padding:14px;border-radius:17px}
 #detail-dialog.product-page-view .product-gallery>img{height:clamp(230px,39dvh,360px)}
 #detail-dialog.product-page-view h2{font-size:27px;line-height:1.18}#detail-dialog.product-page-view .detail-price,#detail-dialog.product-page-view .accessory-price,#detail-dialog.product-page-view .po-price{font-size:23px}
 .product-view-summary{margin-bottom:18px}.product-view-purchase{padding:10px 18px max(12px,env(safe-area-inset-bottom));gap:10px}
 #detail-dialog.product-page-view .product-view-purchase>.product-view-buy{flex:1;min-width:0;font-size:14px;padding:12px}
 .product-view-purchase>.wishlist-button{width:48px;flex:0 0 48px;padding:10px}.product-view-purchase>.wishlist-button>span{display:none}
 #detail-dialog.product-page-view dl.product-specs{grid-template-columns:92px minmax(0,1fr);font-size:14px}
 .product-page-view .product-secondary-actions{display:flex!important;flex-wrap:wrap;gap:6px 18px!important}.product-page-view .photo-note{font-size:12px!important;line-height:1.6!important}
}
@media(prefers-reduced-motion:no-preference){.product-page-view[open] .product-view-layout{animation:product-view-enter 160ms ease-out}@keyframes product-view-enter{from{opacity:.7;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}

.product-zoom-button{display:block;margin:6px auto 0;min-height:44px;padding:8px 14px;font-size:12px;font-weight:600;color:#526588;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px}.product-page-view .product-gallery>img{cursor:zoom-in}.product-zoom-dialog{inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:72px 20px 20px;background:#fffefa;overflow:hidden}.product-zoom-dialog>img{display:block;width:100%;height:100%;object-fit:contain}.product-zoom-close{position:absolute;top:max(12px,env(safe-area-inset-top));left:20px;min-height:44px;padding:10px 16px;border:1px solid #dce0e6;border-radius:12px;background:#fffefa;color:#253f77;font-weight:650;font-size:14px}
