/* Content wrappers retain existing layout. No extra outline on mat cards. */
.hbj-product-picker .hbj-picker-product{position:relative;overflow:hidden}
.hbj-product-picker .hbj-picker-product::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.42) 48%,rgba(255,255,255,.15) 57%,transparent 72%);transform:translateX(-140%);opacity:0}
.hbj-product-picker .hbj-picker-product.is-selection-shimmer::after{animation:hbj-wheel-selection-shimmer .65s ease-out 1}
@keyframes hbj-wheel-selection-shimmer{0%{transform:translateX(-140%);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateX(140%);opacity:0}}
@media(prefers-reduced-motion:reduce){.hbj-product-picker .hbj-picker-product.is-selection-shimmer::after{animation:none}}
.hbj-context-media,.hbj-context-details,.hbj-context-related{display:contents}
.hbj-context-status{font-size:12px!important;color:#253785!important;margin:0 0 12px!important;font-weight:600}
dialog.hbj-product-picker{box-sizing:border-box;width:min(500px,calc(100% - 32px));max-width:500px;height:min(820px,92vh);height:min(820px,92dvh);max-height:none;margin:auto;padding:0;border:1px solid rgba(255,255,255,.95);border-radius:30px;color:#253785;background:linear-gradient(120deg,rgba(255,255,255,.55),rgba(239,247,255,.23));backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);box-shadow:0 24px 90px rgba(24,43,83,.25),inset 0 1px 0 #fff;overflow:hidden;font-family:inherit}
dialog.hbj-product-picker[open]{display:flex;flex-direction:column}
.hbj-product-picker::backdrop{background:rgba(23,40,69,.14)}
.hbj-product-picker .hbj-picker-head{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 14px}
.hbj-product-picker .hbj-picker-head h2{margin:0 0 6px;color:#253785;font-size:28px;line-height:1.2}
.hbj-product-picker .hbj-picker-head p{margin:0;color:#526888;font-size:15px}
/* Reset theme button geometry: the close icon stays circular and centered. */
dialog.hbj-product-picker button.hbj-picker-close,dialog.hbj-product-picker .hbj-picker-nav button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0!important;aspect-ratio:1;border:1px solid white;border-radius:50%;background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(229,240,253,.7));color:#253785;box-shadow:0 5px 16px #25378512,inset 0 1px 0 white;line-height:1;font-size:25px;cursor:pointer;appearance:none}
.hbj-product-picker .hbj-picker-close svg,.hbj-product-picker .hbj-picker-nav svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.hbj-product-picker .hbj-picker-stage{position:relative;flex:1;min-height:0}
.hbj-product-picker .hbj-picker-wheel{position:relative;box-sizing:border-box;height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;touch-action:pan-y;mask-image:linear-gradient(transparent,black 14%,black 86%,transparent);-webkit-mask-image:linear-gradient(transparent,black 14%,black 86%,transparent)}
.hbj-product-picker .hbj-picker-wheel::-webkit-scrollbar{display:none}
.hbj-product-picker .hbj-picker-option{box-sizing:border-box;height:340px;padding:10px 70px 10px 24px;scroll-snap-align:center;scroll-snap-stop:always;cursor:pointer}
.hbj-product-picker .hbj-picker-product{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:100%;padding:18px;text-align:center;color:#253785;background:linear-gradient(120deg,rgba(255,255,255,.55),rgba(239,247,255,.23));border:1px solid #fff;border-radius:24px;box-shadow:0 10px 28px #25378512,inset 0 1px 0 #fff;transform-origin:center;will-change:transform,opacity}
.hbj-product-picker .hbj-picker-image{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;width:100%;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.18)}
.hbj-product-picker .hbj-picker-image img{display:block;width:100%;height:100%;object-fit:contain}
.hbj-product-picker .hbj-picker-product strong{flex:none;font-size:24px;line-height:1.2}
.hbj-product-picker .hbj-picker-copy{flex:none;font-size:13px;line-height:1.45;color:#526888;max-width:38ch}
.hbj-product-picker .hbj-picker-nav{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px}
.hbj-product-picker .hbj-picker-nav button:disabled{opacity:.3;cursor:default}
.hbj-product-picker .hbj-picker-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 24px 24px;border-top:1px solid #ffffff80}
.hbj-product-picker .hbj-picker-position{font-size:13px;color:#526888}
dialog.hbj-product-picker button:focus-visible,.hbj-product-picker .hbj-picker-wheel:focus-visible{outline:2px solid #253785;outline-offset:-3px}
@media(max-width:480px){.hbj-product-picker .hbj-picker-head{padding:18px 16px 12px}.hbj-product-picker .hbj-picker-head h2{font-size:23px}.hbj-product-picker .hbj-picker-head p{font-size:13px}.hbj-product-picker .hbj-picker-option{height:300px;padding:8px 60px 8px 12px}.hbj-product-picker .hbj-picker-product{padding:14px;gap:8px}.hbj-product-picker .hbj-picker-product strong{font-size:21px}.hbj-product-picker .hbj-picker-copy{font-size:12px}.hbj-product-picker .hbj-picker-nav{right:8px;gap:10px}.hbj-product-picker .hbj-picker-footer{padding:14px 16px;gap:8px}.hbj-product-picker .hbj-picker-position{font-size:11px}}
@media(max-height:600px){.hbj-product-picker .hbj-picker-head{padding:10px 16px}.hbj-product-picker .hbj-picker-head h2{font-size:21px}.hbj-product-picker .hbj-picker-head p{display:none}.hbj-product-picker .hbj-picker-option{height:190px}.hbj-product-picker .hbj-picker-product{display:grid;grid-template-columns:40% 1fr;grid-template-rows:auto 1fr;text-align:left;padding:12px}.hbj-product-picker .hbj-picker-image{grid-row:1/3;height:100%;min-height:0}.hbj-product-picker .hbj-picker-copy{font-size:11px}.hbj-product-picker .hbj-picker-product strong{font-size:19px}.hbj-product-picker .hbj-picker-footer{padding:8px 16px}}
@media(prefers-reduced-motion:reduce){.hbj-product-picker .hbj-picker-product{transform:none!important;will-change:auto}}

.hbj-product-picker .hbj-picker-hint{max-width:24ch;font-size:12px;line-height:1.4;color:#526888;text-align:right}
@media(hover:none) and (pointer:coarse){dialog.hbj-product-picker{width:min(612px,calc(100% - 32px));max-width:612px}}
/* Short portrait phones still need full-width copy, not the landscape split. */
@media(max-width:480px) and (max-height:600px){.hbj-product-picker .hbj-picker-option{height:300px}.hbj-product-picker .hbj-picker-product{display:flex;text-align:center}.hbj-product-picker .hbj-picker-image{height:auto}.hbj-product-picker .hbj-picker-copy{font-size:12px}}
@media(max-width:600px),(hover:none) and (pointer:coarse){.hbj-product-picker .hbj-picker-nav{display:none}.hbj-product-picker .hbj-picker-option{padding-left:12px;padding-right:12px}.hbj-product-picker .hbj-picker-hint{font-size:11px;max-width:21ch}}
