/* Product detail: aligned media and purchase summary, responsive readable facts. */
#productPage{max-width:1440px;margin:auto;padding:20px 32px 40px}
#productPage .catalog-path{margin:0 0 8px}
#productPage .product-toolbar{margin:0 0 20px;align-items:center}
#productPage .full-product{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:start}
#productPage .product-visual{background:#151a21;border:1px solid #303945;border-radius:14px;padding:14px}
#productPage #zoomViewport{height:clamp(300px,32vw,430px);border-radius:10px;background:#f5f6f3}
#productPage .zoom-buttons{gap:8px;margin:12px 0 6px;flex-wrap:wrap}
#productPage .zoom-buttons button{min-height:40px;font-size:13px;padding:8px 11px}
#productPage #expandProductPhoto{margin-left:auto}
#productPage .photo-thumbnails{margin:12px 0 0;gap:10px;max-height:150px}
#productPage .photo-thumbnails button{min-width:58px;min-height:58px}
#productPage .photo-thumbnails .photo{width:52px;height:52px}
#productPage .product-heading{margin:0 0 14px;padding:0}
#productPage .product-heading h1{font-size:36px;line-height:1.2;margin:8px 0 0;max-width:none}
#productPage .product-heading .pill{font-size:12px}
#productPage .product-summary h2{font-size:15px;color:#bac4d0;margin:0 0 8px}
#productPage .product-specification dl{margin:0;grid-template-columns:minmax(120px,.85fr) minmax(0,1.15fr);width:100%;max-width:none}
#productPage .product-specification dt,#productPage .product-specification dd{padding:10px 12px;font-size:14px;line-height:1.45}
#productPage .product-specification dt{color:#b2bdcc}
#productPage .product-specification dd{font-weight:550}
#productPage .product-purchase{margin-top:16px;border:1px solid #57402e;border-radius:12px;background:#201b17;padding:14px 16px}
#productPage .product-purchase .product-quantity-actions{margin:0 0 12px;gap:10px;flex-wrap:wrap}
#productPage .product-quantity-actions button{min-height:44px;padding:10px 18px;font-size:15px}
#productPage .product-purchase p{margin:6px 0;font-size:14px}
#productPage .web-product-tabs{margin:24px 0 0}
#productPage .web-tab-nav{gap:6px;padding:10px}
#productPage .web-tab-nav button{min-height:44px;font-size:14px}
#productPage .web-tab-panel{padding:22px}
#productPage .web-tab-panel h2{font-size:21px;margin:0 0 16px}
#productPage .accessory-group{margin:24px 0}
#productPage .quick-table-scroll{max-height:420px}
#productPage .quick-table-scroll th,#productPage .quick-table-scroll td{font-size:14px;padding:12px}
#productPage .quick-table-scroll button{font-size:14px;min-height:44px}
@media(max-width:800px){
 #productPage{padding:16px 16px 30px}
 #productPage .full-product{grid-template-columns:minmax(0,1fr);gap:18px}
 #productPage .product-visual{padding:10px}
 #productPage #zoomViewport{height:clamp(260px,70vw,420px)}
 #productPage .product-heading h1{font-size:30px!important}
 #productPage .product-toolbar{gap:8px;margin-bottom:16px;flex-wrap:nowrap}
 #productPage .product-toolbar button{font-size:13px;min-height:44px;padding:8px 10px}
 #productPage .product-specification dt,#productPage .product-specification dd{font-size:15px;padding:10px 8px}
 #productPage .product-specification dl{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 #productPage .web-tab-panel{padding:16px 10px}
 #productPage .web-tab-nav{scroll-snap-type:x proximity}
 #productPage .web-tab-nav button{scroll-snap-align:start;font-size:15px}
 #productPage .zoom-buttons button{min-height:44px;font-size:14px}
 #productPage .product-purchase{padding:14px}
 #productPage .product-purchase p{font-size:15px}
 #productPage .product-quantity-actions button{flex:1;padding:10px}
}

/* Shared bottom edge for the two desktop columns; media absorbs extra height. */
@media(min-width:801px){
 #productPage .full-product{align-items:stretch;column-gap:28px}
 #productPage .full-product>.product-visual{display:flex;flex-direction:column;min-width:0;min-height:0}
 #productPage .full-product>.product-summary{display:flex;flex-direction:column;min-width:0}
 #productPage .product-visual #zoomViewport{flex:1 1 auto;min-height:clamp(300px,32vw,430px)}
 #productPage .product-visual>:not(#zoomViewport){flex-shrink:0}
 #productPage .product-visual>p:last-child{margin-bottom:0}
 #productPage .product-summary>.product-purchase{margin-top:auto}
 #productPage .product-summary>p{margin-bottom:18px}
 #productPage .product-summary>.product-purchase>:last-child{margin-bottom:0}
}
#productPage .full-product+.web-product-tabs{margin-top:24px}

/* Essentials fit the available laptop height; extended tabs retain normal page scrolling. */
#productPage .product-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;margin-bottom:14px;flex-wrap:wrap}
#productPage .product-topbar .catalog-path,#productPage .product-topbar .product-toolbar{margin:0}
#productPage .product-topbar .product-toolbar{gap:8px;flex-wrap:wrap}
#productPage .product-topbar button{min-height:34px;padding:6px 10px;font-size:12px}
#productPage .photo-help{font-size:12px;color:var(--secondary);margin:0 0 6px}
#productPage .photo-help summary{cursor:pointer;width:fit-content;padding:4px 0}
#productPage .photo-help p{font-size:12px;line-height:1.4;margin:5px 0}
#productPage .product-visual>p:last-child{font-size:12px;line-height:1.45;margin:8px 0 0}
@media(min-width:801px){
 #productPage{max-width:1680px;padding:12px clamp(16px,2vw,32px) 28px}
 #productPage .full-product{grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:20px;align-items:stretch}
 #productPage .product-visual{padding:10px}
 #productPage .product-visual #zoomViewport{contain:size;flex:1 1 auto;height:clamp(160px,calc(100dvh - var(--filter-height,90px) - 430px),300px);min-height:160px}
 #productPage .zoom-buttons{gap:6px;margin:8px 0 2px}
 #productPage .zoom-buttons button{min-height:34px;font-size:12px;padding:5px 9px}
 #productPage .photo-thumbnails{flex-wrap:nowrap;overflow-x:auto;max-height:66px;margin:6px 0;gap:6px}
 #productPage .photo-thumbnails button{min-width:48px;min-height:48px;flex-shrink:0}
 #productPage .photo-thumbnails .photo{width:42px;height:42px}
 #productPage .product-heading{margin:0 0 9px}
 #productPage .product-heading h1{font-size:clamp(24px,2vw,32px);line-height:1.15;margin:5px 0 0;overflow-wrap:anywhere}
 #productPage .product-heading .pill{font-size:11px;padding:3px 7px}
 #productPage .product-summary h2{font-size:14px;margin:0 0 4px}
 #productPage .product-summary dt,#productPage .product-summary dd{padding:6px 10px;font-size:14px;line-height:1.35}
 #productPage .product-summary>p{font-size:12px;line-height:1.4;margin:7px 0 10px}
 #productPage .product-purchase{padding:10px 12px;margin-top:auto}
 #productPage .product-purchase .product-quantity-actions{margin:0 0 5px}
 #productPage .selection-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center}
 #productPage .selection-editor label{margin:0;font-size:14px}
 #productPage .selection-quantity{grid-template-columns:40px 52px 40px;width:max-content}
 #productPage .selection-quantity button{min-height:34px;font-size:18px}
 #productPage .selection-quantity input{font-size:15px;height:40px}
 #productPage .selection-hint{grid-column:1/-1;margin:3px 0!important;font-size:12px!important;line-height:1.35}
 #productPage .selection-editor>small{grid-column:1/-1;font-size:11px;line-height:1.3}
 #productPage .product-purchase p{font-size:12px;line-height:1.35;margin:5px 0 0}
 #productPage .full-product+.web-product-tabs{margin-top:16px}
 #productPage .web-tab-nav{gap:4px;padding:7px}
 #productPage .web-tab-nav button{min-height:38px;font-size:13px;padding:7px 10px}
 #productPage .web-tab-panel{padding:18px}
}
@media(min-width:801px) and (max-height:760px){
 #productPage{padding-top:8px}
 #productPage .product-topbar{margin-bottom:8px}
 #productPage .product-heading h1{font-size:24px}
 #productPage .product-summary dt,#productPage .product-summary dd{padding-top:4px;padding-bottom:4px}
 #productPage .full-product+.web-product-tabs{margin-top:12px}
 #productPage .product-visual #zoomViewport{min-height:150px}
}
@media(max-width:800px){
 #productPage .product-topbar{gap:8px;margin-bottom:12px}
 #productPage .product-topbar .product-toolbar{width:100%;justify-content:space-between}
 #productPage .product-topbar button{min-height:40px}
 #productPage #zoomViewport{height:clamp(180px,30dvh,280px)}
 #productPage .full-product{gap:12px}
 #productPage .product-heading{margin-bottom:10px}
 #productPage .product-heading h1{font-size:25px!important}
 #productPage .photo-thumbnails{flex-wrap:nowrap;overflow-x:auto;max-height:70px}
 #productPage .photo-thumbnails button{flex-shrink:0}
 #productPage .web-product-tabs{margin-top:16px}
}
