/* Desktop photo menu. Mobile retains native category navigation. */

@media(min-width:1200px){
 #top-menu{position:relative}
 #header .header-bottom .header-bottom__container.container-md{max-width:var(--bd-content-max,1320px)!important}
 #header .ps-mainmenu--desktop .ps-mainmenu__tree{flex-wrap:wrap!important;max-width:100%!important}
 #top-menu>.ps-mainmenu__tree-item:has(>.bd-category-menu){position:static!important}
 .ps-mainmenu--desktop .ps-mainmenu__tree>.ps-mainmenu__tree-item>.bd-category-menu,.ps-mainmenu--desktop .ps-mainmenu__tree>.ps-mainmenu__tree-item>.bd-photo-menu{left:var(--bd-photo-left,0px)!important;right:auto!important;width:var(--bd-photo-width,1100px)!important;min-width:0!important;max-width:calc(100vw - 40px)!important;max-height:var(--bd-photo-max-height,calc(100dvh - 180px));overflow-y:auto!important;border-radius:0 0 14px 14px!important;border-top:4px solid #168af7!important}
 .bd-photo-menu__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;flex-wrap:wrap;background:linear-gradient(110deg,#0d294a,#163e64);color:#fff}
 .bd-photo-menu__header>div>span{display:block;font-size:0.625rem;font-weight:700;letter-spacing:1.8px;color:#96caff;margin-bottom:3px}
 .bd-photo-menu__header strong{display:block;font-size:1.25rem;line-height:1.2;color:#fff}
 #top-menu .bd-photo-menu .bd-photo-menu__header>a{display:flex!important;align-items:center;gap:16px;padding:10px 14px!important;border:1px solid #7292b1;border-radius:6px;color:#fff!important;font-size:0.8125rem!important;text-transform:none!important;text-decoration:none!important;background:transparent!important;white-space:nowrap}
 .bd-photo-menu__body{display:grid;grid-template-columns:210px minmax(0,1fr);background:#fff}
 .bd-photo-menu__sidebar{display:flex;flex-direction:column;padding:14px 12px;background:#f1f6fb;border-right:1px solid #dbe6f0}
 #top-menu .bd-photo-menu a.bd-photo-menu__category{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 8px;padding:13px!important;border-radius:7px;background:#e2efff!important;color:#123b63!important;font-size:0.875rem!important;line-height:1.4;text-decoration:none!important;text-transform:none!important}
 .bd-photo-menu__category small{grid-column:1!important;grid-row:2!important;color:#607187;font-size:0.6875rem}
 .bd-photo-menu__category>span{grid-column:2!important;grid-row:1/3!important;align-self:center;color:#087df0}
 .bd-photo-menu__section-label{display:block;margin:0 10px 8px;font-size:0.625rem;font-weight:700;letter-spacing:1.1px;color:#607187}
 #top-menu .bd-photo-menu a.bd-photo-menu__support{display:flex!important;justify-content:space-between;align-items:center;padding:10px 11px!important;border-bottom:1px solid #dbe6f0;background:transparent!important;color:#123b63!important;font-size:0.875rem!important;font-weight:700;text-decoration:none!important;text-transform:none!important}
 .bd-photo-menu__support span{color:#087df0}
 .bd-photo-menu__help{display:flex;flex-direction:column;gap:7px;margin-top:auto;padding:14px 11px 0;color:#607187;font-size:0.75rem}
 #top-menu .bd-photo-menu .bd-photo-menu__help>a{padding:0!important;color:#0969b9!important;background:transparent!important;font-size:0.8125rem!important;font-weight:700;text-decoration:none!important;text-transform:none!important;white-space:normal!important;overflow-wrap:anywhere}
 .bd-photo-menu__products{padding:14px 16px 16px;min-width:0}
 .bd-photo-menu__products>p{margin:0 0 10px;color:#607187;font-size:0.75rem;font-weight:500}
 .bd-photo-menu__grid{display:grid;grid-template-columns:repeat(var(--bd-photo-columns,4),minmax(0,1fr));gap:12px;min-height:0}
 #top-menu .bd-photo-menu a.bd-photo-menu__machine{display:flex!important;flex-direction:column;min-width:0;padding:0 10px 10px!important;border:1px solid #dbe6f0;border-radius:9px;background:#fff!important;color:#123b63!important;text-transform:none!important;text-decoration:none!important;white-space:normal!important;transition:border-color .15s,box-shadow .15s,transform .15s}
 .bd-photo-menu__photo{display:flex;align-items:center;justify-content:center;height:clamp(104px,20vh,136px);margin:6px 0 8px;background:#fff}
 .bd-photo-menu__photo img{width:100%;height:100%;object-fit:contain}
 .bd-photo-menu__photo picture{display:block;width:100%;height:100%}
 .bd-photo-menu__machine strong{display:block;font-size:1rem;line-height:1.35;color:#123b63;min-height:0;overflow-wrap:anywhere}
 .bd-photo-menu__description{display:block;font-size:0.75rem;line-height:1.45;color:#607187;margin-top:5px;overflow-wrap:anywhere}
 .bd-photo-menu__view{display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding-top:9px;font-size:0.75rem;font-weight:700;color:#0969b9}
 #top-menu .bd-photo-menu a.bd-photo-menu__machine:hover{border-color:#168af7;background:#f7fbff!important;box-shadow:0 6px 18px #102f5014;transform:translateY(-2px)}
 #top-menu .bd-photo-menu a:after{content:none!important}
 #top-menu .bd-photo-menu a:focus-visible{outline:3px solid #168af7;outline-offset:3px}
 #top-menu .bd-photo-menu a.bd-photo-menu__support:hover{color:#087df0!important;background:#e7f1fb!important}
 .bd-photo-menu__choice{display:grid;grid-template-columns:minmax(0,1fr) 34px;border-bottom:1px solid #dbe6f0;border-radius:5px}
 #top-menu .bd-photo-menu .bd-photo-menu__choice>a{border-bottom:0;line-height:1.4;font-size:0.8125rem!important;white-space:normal!important}
 #top-menu .bd-photo-menu .bd-photo-menu__choice[data-depth="2"]>a{padding-left:20px!important}
 #top-menu .bd-photo-menu .bd-photo-menu__choice[data-depth="3"]>a{padding-left:28px!important}
 #top-menu .bd-photo-menu .bd-photo-menu__choice[data-depth="4"]>a{padding-left:36px!important}
 .bd-photo-menu__preview{align-self:stretch;border:0;border-radius:4px;background:transparent;color:#087df0;font-size:1.125rem;cursor:pointer;padding:0}
 .bd-photo-menu__preview:hover,.bd-photo-menu__choice.is-selected{background:#e2efff}
 .bd-photo-menu__preview:focus-visible{outline:3px solid #168af7;outline-offset:-3px}
 .bd-photo-menu__status{font-size:0.8125rem;line-height:1.5;color:#607187;margin:0 0 12px}
 .bd-photo-menu__status:empty{display:none}
 .bd-photo-menu__placeholder{display:flex;flex-direction:column;min-height:250px;border:1px solid #dbe6f0;border-radius:9px;background:#fff;padding:12px}
 .bd-photo-menu__placeholder-photo{display:block;height:clamp(104px,20vh,136px);background:#edf3f8;border-radius:5px;margin-bottom:12px}
 .bd-photo-menu__placeholder-title{display:block;height:18px;width:75%;background:#edf3f8;border-radius:3px;margin-bottom:18px}
 .bd-photo-menu__placeholder-copy{display:block;height:50px;background:#f2f6fa;border-radius:3px}
 .bd-photo-menu__choices{max-height:320px;overflow-y:auto;padding:3px}
}
@media(min-width:1200px) and (max-width:1350px){
 #header #top-menu>.ps-mainmenu__tree-item>.ps-mainmenu__tree-item-wrapper>.ps-mainmenu__tree-link{padding-inline:8px!important}
}
@media(prefers-reduced-motion:reduce){.bd-photo-menu__machine{transition:none!important;transform:none!important}}
