/* Sticky shell remains below every cart/checkout dialog. */
:root{--shop-sticky-height:200px}
html{scroll-padding-top:calc(var(--shop-sticky-height) + 16px)}
.shopStickyShell,.shopStickyEnabled{position:sticky!important;top:0!important;z-index:40!important;background:#fff;isolation:isolate}
.shopStickyShell .storefrontHeader{position:relative!important;top:auto!important;z-index:2!important}
.shopStickyShell .storeMainNav{position:relative!important;top:auto!important;z-index:1!important}
.shopStickyShell.is-scrolled{box-shadow:0 5px 22px #15203b19}
html body .shopStickyShell.is-scrolled .storefrontHeaderRow{min-height:78px!important;grid-template-columns:200px minmax(180px,1fr) auto!important;padding-top:5px!important;padding-bottom:5px!important}
html body .shopStickyShell.is-scrolled #homeBtn{height:66px!important;min-height:66px!important}
html body .shopStickyShell.is-scrolled .brandDescriptor,html body .shopStickyShell.is-scrolled .brandAvatar{display:none!important}
#storeMenuPanel{max-height:calc(100dvh - var(--shop-sticky-height) - 12px);overflow:auto;overscroll-behavior:contain}
.shopSearchHost{position:relative;overflow:visible!important;min-width:0}
html body .shopSearchHost input{padding-right:36px!important}
.shopSearchClear{position:absolute;right:2px;top:2px;width:38px;height:40px;border:0;border-radius:12px;background:white;color:#536078;font:25px/1 system-ui;cursor:pointer}
.shopSearchClear[hidden],.shopSearchPanel[hidden]{display:none!important}
.shopSearchPanel{position:absolute;top:calc(100% + 8px);left:0;min-width:100%;width:min(460px,calc(100vw - 28px));background:#fff;border:1px solid #d7e2f0;border-radius:16px;box-shadow:0 16px 38px #15203b26;overflow:hidden;text-align:left;color:#17213a}
.shopSearchHeading{font-size:14px;line-height:1.4;padding:12px 14px;margin:0;background:#f2f6ff;color:#435778}
#shopSearchList{max-height:min(380px,45dvh);overflow:auto;overscroll-behavior:contain}
.shopSearchOption{display:flex;align-items:center;gap:12px;padding:10px 14px;cursor:pointer;border-top:1px solid #e9edf5;min-height:76px}
.shopSearchOption[aria-selected=true],.shopSearchOption:hover{background:#edf4ff}
.shopSearchOption>span:last-child{min-width:0}
.shopSearchOption strong{display:block;font-size:15px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.shopSearchOption small{display:block;font-size:14px;color:#4a5f7b;margin-top:4px}
.shopSearchThumb{flex:0 0 48px;width:48px;height:56px;border:1px solid #dce4f1;border-radius:8px;position:relative;display:grid;place-items:center;overflow:hidden;background:#f5f7fc}
.shopSearchThumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:white}
.shopSearchEmpty{font-size:15px;padding:16px;margin:0;color:#526078}
.shopSearchAll{display:block;width:100%;border:0;border-top:1px solid #e0e6ef;background:#fff4f5;color:#a81c37;min-height:44px;font:700 15px system-ui;cursor:pointer}
.shopSrOnly{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body button.is-selected-gift{background:linear-gradient(130deg,#7241ad,#563195)!important;color:#fff!important;border-color:#7241ad!important;white-space:normal!important;line-height:1.3;min-height:44px;padding:10px 12px!important}
.selectedGiftNote{margin-top:8px;padding:8px 10px;background:#f2e8ff;color:#542689;border:1px solid #d8bff1;border-radius:10px;font-size:14px;font-weight:700;line-height:1.4}
.has-selected-gift{border-color:#b68ddd!important}
html body .storeBadge.hit,.hitBadge,.productBadge.hit{background:#b42635!important;color:#fff!important}
@media(max-width:820px){html body .shopStickyShell.is-scrolled .storefrontHeaderRow{grid-template-columns:150px minmax(160px,1fr) auto!important}html body .shopStickyShell.is-scrolled #homeBtn{height:58px!important;min-height:58px!important}.shopSearchPanel{width:min(370px,calc(100vw - 28px))}}
@media(max-width:560px){html body .shopStickyShell.is-scrolled .storefrontHeaderRow{grid-template-columns:minmax(0,1fr) auto!important;min-height:0!important}html body .shopStickyShell.is-scrolled #homeBtn{height:46px!important;min-height:46px!important}.shopSearchPanel{width:100%;min-width:0}.shopSearchHeading{font-size:14px}.shopStickyEnabled.siteHeader .headerInner{padding:8px 12px}.shopStickyEnabled.siteHeader .productPlainLogo{width:135px;flex-basis:135px}.shopStickyEnabled.siteHeader .productBrandAvatar{display:none!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

html body .buyBox{top:calc(var(--shop-sticky-height) + 16px)}
