/* Subtle interactions, explicitly enabled by the server only for Legenda. */
html[data-legenda-hover="on"] {
  --legenda-effect-accent:var(--shop-commerce-brand-color,var(--sp-accent,#111));
  --legenda-effect-ease:cubic-bezier(.2,.7,.25,1);
}
/* Keyboard feedback stays visible even when movement is disabled. */
html[data-legenda-hover="on"] body :is(.sp-btn,.sp-product,.sp-category-card,.sp-reference-card,.sp-collection-tile,.sp-index-row):focus-visible {
  outline:2px solid currentColor!important;outline-offset:4px!important;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#viewCatalog #grid,#viewFavorites #gridFav,#viewProduct #relatedSection) .pCard:not(.isSkeleton) {
    transition:transform .3s var(--legenda-effect-ease),box-shadow .3s ease,border-color .25s ease!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#viewCatalog #grid,#viewFavorites #gridFav,#viewProduct #relatedSection) .pCard:not(.isSkeleton):not(.isPressed):hover {
    transform:translateY(-3px)!important;box-shadow:0 10px 24px #0000000c!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#viewCatalog #grid,#viewFavorites #gridFav,#viewProduct #relatedSection) .pCard .pMedia {overflow:hidden!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#viewCatalog #grid,#viewFavorites #gridFav,#viewProduct #relatedSection) .pCard .pImg {
    transition:transform .55s var(--legenda-effect-ease)!important;transform-origin:center!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#viewCatalog #grid,#viewFavorites #gridFav,#viewProduct #relatedSection) .pCard:hover .pImg {transform:scale(1.025)!important;}
  /* Existing block-level image effects retain their configured zoom amount. */
  html[data-legenda-hover="on"]:not([data-motion="off"]) body .sp-products :is(.sp-product-media img) {transition:transform .5s var(--legenda-effect-ease)!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(a.sp-category-card>.sp-category-media img,a.sp-reference-card>img,a.sp-collection-tile>img) {
    transition:transform .5s var(--legenda-effect-ease)!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body a.sp-category-card>.sp-category-media {overflow:hidden;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body a.sp-category-card:hover>.sp-category-media img {transform:scale(1.025);}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body a.sp-reference-card:hover>img {transform:scale(1.015);}
  /* Preserve the merchant's button colors, and add a small physical response. */
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(.sp-btn,.sp-products-loader,.sp-products-more>a),
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #buyBarInline :is(.ibBtn,#favTopBtn),
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewCart #goCheckout {
    transition:translate .2s var(--legenda-effect-ease),filter .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(.sp-btn,.sp-products-loader,.sp-products-more>a):not(:disabled):not([aria-disabled="true"]):hover,
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #buyBarInline :is(.ibBtn,#favTopBtn):not(:disabled):not(.ibBtnOff):hover,
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewCart #goCheckout:not(:disabled):hover {
    translate:0 -2px;filter:brightness(.96)!important;box-shadow:0 5px 14px #00000010!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #swatches .swThumb:not(.colorMarkerChoice) .swThumbImg,
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct :is(#sizes .sz,#galleryThumbs .galleryThumb) {
    transition:translate .22s var(--legenda-effect-ease),border-color .22s ease,background-color .22s ease,box-shadow .22s ease!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #swatches .swThumb:not(.colorMarkerChoice):hover .swThumbImg {translate:0 -2px;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #swatches .swThumb:not(.swThumbOn):not(.colorMarkerChoice):hover .swThumbImg {border-color:color-mix(in srgb,var(--legenda-effect-accent) 55%,transparent)!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #sizes .sz:not(.szOn):not(.szOff):not(:disabled):hover,
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #galleryThumbs .galleryThumb:not(.isActive):hover {
    border-color:color-mix(in srgb,var(--legenda-effect-accent) 60%,transparent)!important;background:color-mix(in srgb,var(--legenda-effect-accent) 5%,transparent)!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #linkedProductsList .linkedFabricChoice:not(:only-child):not(.isCurrent) {
    transition:background-color .2s ease,border-color .2s ease!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #linkedProductsList .linkedFabricChoice:not(:only-child):not(.isCurrent):hover {background:color-mix(in srgb,var(--legenda-effect-accent) 5%,transparent)!important;border-color:var(--legenda-effect-accent)!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct .productCommonSections summary {transition:color .2s ease!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct .productCommonSections summary:hover {color:var(--legenda-effect-accent)!important;}
  /* A moving underline uses backgrounds so header layout and status icons stay intact. */
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#desktopStoreHeader,.sp-nav).sp-nav-legenda .sp-legenda-links a:not(.active):not([aria-current="page"]) {
    background-image:linear-gradient(currentColor,currentColor)!important;background-repeat:no-repeat!important;
    background-position:50% calc(50% + 12px)!important;background-size:0 1px!important;
    transition:background-size .28s var(--legenda-effect-ease),opacity .2s ease!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#desktopStoreHeader,.sp-nav).sp-nav-legenda .sp-legenda-links a:not(.active):not([aria-current="page"]):hover {background-size:100% 1px!important;opacity:1!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(.desktopSiteFooter,.catalogSiteSubfooter,.sp-footer,.sp-subfooter) nav a {
    text-decoration:underline!important;text-decoration-color:transparent!important;text-underline-offset:4px;transition:text-decoration-color .2s ease,color .2s ease!important;
  }
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(.desktopSiteFooter,.catalogSiteSubfooter,.sp-footer,.sp-subfooter) nav a:hover {text-decoration-color:currentColor!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#desktopStoreHeader,.sp-nav).sp-nav-legenda .sp-legenda-actions :is(a,button) svg {transition:scale .22s var(--legenda-effect-ease)!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(#desktopStoreHeader,.sp-nav).sp-nav-legenda .sp-legenda-actions :is(a,button):hover svg {scale:1.06;}
}
@media (prefers-reduced-motion:no-preference) {
  html[data-legenda-hover="on"]:not([data-motion="off"]) body :is(.sp-btn,.sp-products-loader):not(:disabled):not([aria-disabled="true"]):active,
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #viewProduct #buyBarInline :is(.ibBtn,#favTopBtn):not(:disabled):not(.ibBtnOff):active {translate:0 1px;filter:brightness(.92)!important;}
}
/* Saved motion-off has the same meaning on published builder pages as in catalog. */
html[data-legenda-hover="on"][data-motion="off"] *,
html[data-legenda-hover="on"][data-motion="off"] *::before,
html[data-legenda-hover="on"][data-motion="off"] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
html[data-legenda-hover="on"][data-motion="off"] body :is(.pCard:hover,.pCard.isPressed,.pCard:hover .pImg,.sp-product:hover .sp-product-media img,.sp-category-card:hover .sp-category-media img,.sp-reference-card:hover>img,.sp-editorial-card:hover>img) {transform:none!important;translate:none!important;}
@media (prefers-reduced-motion:reduce) {
  html[data-legenda-hover="on"] *,html[data-legenda-hover="on"] *::before,html[data-legenda-hover="on"] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
  html[data-legenda-hover="on"] body :is(.pCard:hover,.pCard.isPressed,.pCard:hover .pImg,.sp-product:hover .sp-product-media img,.sp-category-card:hover .sp-category-media img,.sp-reference-card:hover>img,.sp-editorial-card:hover>img) {transform:none!important;translate:none!important;}
}

/* Legenda buyer-account menu. Existing identity and navigation handlers stay intact. */
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) {
  --legenda-account-accent:var(--shop-commerce-brand-color,var(--primary,#b1003c));
  box-sizing:border-box!important;width:420px!important;max-width:calc(100vw - 32px)!important;
  padding:22px!important;border:1px solid #e9e5e6!important;border-radius:20px!important;
  background:#fff!important;background-image:none!important;
  box-shadow:0 16px 50px #27101920!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay).hidden {display:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) > .sheetPatternOverlay {display:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) > .searchHeader {padding:0 44px 18px 0!important;flex:0 0 auto!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accSheetTitle {font-size:23px!important;line-height:1.2!important;font-weight:600!important;letter-spacing:-.025em!important;margin:0 0 6px!important;text-transform:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) > .searchHeader > div[style*="opacity"] {font-size:12px!important;line-height:1.5!important;color:#727079!important;opacity:1!important;padding:0!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .sheetCloseButton {
  top:0!important;right:0!important;width:36px!important;height:36px!important;min-width:36px!important;
  padding:8px!important;border:0!important;border-radius:50%!important;background:#f6f4f5!important;
  color:#5b555a!important;box-shadow:none!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .sheetCloseButton svg {width:19px!important;height:19px!important;stroke-width:1.7!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults {
  display:flex!important;flex-direction:column!important;gap:4px!important;flex:1 1 auto!important;
  min-height:0!important;padding:0 2px 2px 0!important;margin:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;scrollbar-width:thin;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountProfileCard:not(.hidden) {
  display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;
  gap:10px!important;margin:0 0 8px!important;padding:12px!important;min-height:0!important;
  border:0!important;border-radius:14px!important;background:#faf7f8!important;background-image:none!important;box-shadow:none!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountProfileCard .accountProfileAvatar {
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;flex:0 0 48px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;box-shadow:none!important;
  overflow:hidden!important;background:color-mix(in srgb,var(--legenda-account-accent) 10%,#fff)!important;color:var(--legenda-account-accent)!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileAvatar .accountAvatarFallback {width:100%!important;height:100%!important;background:transparent!important;color:inherit!important;display:grid!important;place-items:center!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileAvatar .accountAvatarFallback svg {width:28px!important;height:28px!important;color:inherit!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileBody {min-width:0!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileName {font-size:15px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileMeta {font-size:12px!important;line-height:1.5!important;font-weight:400!important;color:#767079!important;opacity:1!important;margin-top:3px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileActions {grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileActions .accountProfileAction {
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex:0 0 36px!important;
  padding:9px!important;margin:0!important;border:0!important;border-radius:10px!important;
  background:transparent!important;color:#665a61!important;box-shadow:none!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileActions .accountProfileAction svg {width:18px!important;height:18px!important;stroke-width:1.7!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileActions .accountProfileAction span {display:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem {
  position:relative!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 20px!important;grid-template-rows:auto!important;
  align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;
  min-height:66px!important;height:auto!important;flex:0 0 auto!important;margin:0!important;padding:10px!important;
  border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;transform:none!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem .srImg {
  grid-column:1!important;grid-row:1!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  padding:7px!important;margin:0!important;display:grid!important;place-items:center!important;
  border:0!important;border-radius:10px!important;background:color-mix(in srgb,var(--legenda-account-accent) 6%,#fff)!important;
  color:var(--legenda-account-accent)!important;box-shadow:none!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem .srImg svg {width:21px!important;height:21px!important;stroke-width:1.6!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem .srBody {grid-column:2!important;grid-row:1!important;min-width:0!important;margin:0!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem .srTitle {font-size:15px!important;line-height:1.35!important;font-weight:600!important;color:#292229!important;letter-spacing:0!important;text-transform:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem .srPrice {font-size:12px!important;line-height:1.4!important;font-weight:400!important;color:#7f7680!important;opacity:1!important;letter-spacing:0!important;text-transform:none!important;margin-top:3px!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem::after {content:'›'!important;position:static!important;grid-column:3!important;grid-row:1!important;justify-self:center!important;align-self:center!important;font-size:23px!important;font-weight:400!important;line-height:1!important;color:#a69aa3!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem .badgeCount {position:static!important;grid-column:3!important;grid-row:1!important;justify-self:center!important;min-width:22px!important;min-height:22px!important;padding:3px 5px!important;border-radius:999px!important;background:var(--legenda-account-accent)!important;color:var(--product-card-accent-text,#fff)!important;font-size:11px!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem:has(.badgeCount:not(.hidden))::after {content:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess .wholesaleAccessCard {
  display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:start!important;gap:6px 10px!important;
  padding:12px!important;margin:2px 0 10px!important;border:1px solid #ebe5e8!important;border-radius:12px!important;
  background:#faf8f9!important;box-shadow:none!important;
}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess .wholesaleAccessCard.isApproved {border-color:#e4ede7!important;background:#f5f9f6!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess .wholesaleAccessIcon {width:30px!important;height:30px!important;border-radius:50%!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess h3 {font-size:13px!important;line-height:1.45!important;font-weight:600!important;margin:0 0 3px!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess p {font-size:12px!important;line-height:1.45!important;font-weight:400!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess form {grid-column:1/-1!important;gap:8px!important;margin-top:8px!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess input {border-radius:8px!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #wholesaleAccountAccess .wholesaleAccessButton {border-radius:8px!important;font-size:12px!important;min-height:42px!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #recentlyViewedContainer {flex:0 0 auto!important;margin:12px 0 0!important;padding:16px 0 0!important;border:0!important;border-top:1px solid #f0ebee!important;border-radius:0!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #recentlyViewedContainer > .srTitle {font-size:14px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important;margin:0 0 10px!important;text-transform:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #recentlyViewedList .accountRecentCard {border-radius:8px!important;border:0!important;box-shadow:none!important;overflow:hidden!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #webTelegramLoginPanel {margin:0 0 10px!important;padding:16px!important;border:0!important;border-radius:14px!important;background:#faf7f8!important;box-shadow:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #webTelegramLoginTitle {font-size:16px!important;line-height:1.4!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .webTelegramLoginHint {font-size:12px!important;line-height:1.5!important;font-weight:400!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) :is(.webEmailLoginInput,.webEmailCodeInput) {border-radius:9px!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .webEmailLoginButton {border-radius:9px!important;background:var(--legenda-account-accent)!important;color:var(--product-card-accent-text,#fff)!important;font-size:14px!important;}
/* These existing login modes intentionally hide the rest of the menu. */
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults:is(.emailLinkActive,.promoClaimActive) > :not(#webTelegramLoginPanel) {display:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountProfileCard.hidden,
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #webTelegramLoginPanel.hidden,
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .hidden {display:none!important;}
html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) :is(button,a,input):focus-visible {outline:2px solid var(--legenda-account-accent)!important;outline-offset:3px!important;}
@media (min-width:1024px) {
  html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) {margin-right:16px!important;max-height:calc(100dvh - var(--sp-legenda-visible-h,177px) - 28px)!important;}
  html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .sheetHandle {display:none!important;}
}
@media (max-width:1023px) {
  html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) {width:min(100%,540px)!important;max-width:100%!important;max-height:88dvh!important;padding:12px 18px calc(18px + env(safe-area-inset-bottom))!important;margin:0 auto!important;border-radius:22px 22px 0 0!important;}
  html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .sheetHandle {display:block!important;width:36px!important;height:4px!important;margin:0 auto 14px!important;border-radius:999px!important;background:#d8cfd4!important;}
  html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .sheetCloseButton {width:44px!important;height:44px!important;}
  html[data-legenda-hover="on"] body #accountOverlay.accountSheet:is(#accountOverlay) .accountProfileActions .accountProfileAction {width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex-basis:44px!important;}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem {transition:background-color .2s ease!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #accountOverlay.accountSheet:is(#accountOverlay) #accountSheetResults > .searchResultItem:hover {background:color-mix(in srgb,var(--legenda-account-accent) 5%,#fff)!important;}
  html[data-legenda-hover="on"]:not([data-motion="off"]) body #accountOverlay.accountSheet:is(#accountOverlay) :is(.sheetCloseButton,.accountProfileAction):hover {background:color-mix(in srgb,var(--legenda-account-accent) 9%,#fff)!important;color:var(--legenda-account-accent)!important;}
}

/* Keep the contact shortcut from covering account rows while the sheet is open. */
html[data-legenda-hover="on"] body:has(#accountOverlay.active) #checkoutSupportWidget {visibility:hidden!important;pointer-events:none!important;}
