/* Account-only storefront navigation. Existing account/auth components retain ownership. */
.account-store-nav157{position:relative;display:inline-flex;flex:none;max-width:300px;color:#123d49;isolation:isolate}
.account-store-split157{display:flex;align-items:stretch;min-width:0;border:1px solid #acd4dd;border-radius:12px;background:#fff}
.account-store-return157{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:7px 12px;box-sizing:border-box;min-width:0;color:#007f8c!important;text-decoration:none!important;font-size:14px;font-weight:650;line-height:1.25}
.account-store-return157 span{max-width:200px;overflow-wrap:normal}
.account-store-nav157 svg{width:19px;height:19px;flex:none}
.account-store-toggle157{display:grid;place-items:center;flex:none;min-width:38px;padding:6px;border:0;border-inline-start:1px solid #d0e5ea;border-radius:0 11px 11px 0;background:transparent;color:#007f8c;cursor:pointer}
[dir=rtl] .account-store-toggle157{border-radius:11px 0 0 11px}
.account-store-return157:hover,.account-store-toggle157:hover{background:#edf8f8}
.account-store-menu157{position:absolute;inset-inline-end:0;top:calc(100% + 9px);z-index:120;box-sizing:border-box;width:min(335px,calc(100vw - 24px));padding:7px;border:1px solid #c7e1e7;border-radius:15px;background:#fff;box-shadow:0 15px 40px #123d4924;text-align:start}
.account-store-menu157[hidden]{display:none}
.account-store-menu157>a{display:flex!important;align-items:center;gap:10px;padding:9px;border-radius:10px;text-decoration:none!important;color:#143e4b!important;background:transparent!important;white-space:normal!important}
.account-store-menu157>a:hover{background:#eef8f8!important}
.account-store-menu157 img{width:44px;height:52px;object-fit:cover;border-radius:7px;flex:none}
.account-store-menu157>a>span{min-width:0;flex:1}
.account-store-menu157 strong{display:block;font-size:14px;line-height:1.3;font-weight:700}
.account-store-menu157 small{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:#5b7580}
.account-storefronts157{min-width:0;text-align:start}
.account-storefronts157>h2{margin:0 0 12px;font-size:20px;font-weight:700;line-height:1.3;color:#143e4b}
.account-store-cards157{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.account-store-card157{display:flex;align-items:stretch;min-width:0;overflow:hidden;border:1px solid #c9dfe6;border-radius:15px;background:#fff;color:#143e4b!important;text-decoration:none!important;transition:border-color .16s,box-shadow .16s,transform .16s}
.account-store-card157:hover{border-color:#41acb6;box-shadow:0 7px 20px #0a606e12;transform:translateY(-2px)}
.account-store-card157>img{display:block;width:94px;min-height:132px;max-height:150px;height:100%;align-self:stretch;object-fit:cover;flex:none}
.account-store-card157.is-platform>img{object-position:65% center}
.account-store-card-copy157{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:14px 12px;box-sizing:border-box}
.account-store-card-copy157>strong{display:block;font-size:15px;line-height:1.35;font-weight:700;overflow-wrap:normal}
.account-store-card-copy157>span{display:block;font-size:12px;line-height:1.45;color:#5b7580}
.account-store-card-copy157>svg{margin-top:auto;color:#008795;width:18px;height:18px}
[dir=rtl] .account-store-card-copy157>svg,[dir=rtl] .account-store-return157>svg{transform:scaleX(-1)}
.account-store-nav157 a:focus-visible,.account-store-nav157 button:focus-visible,.account-store-card157:focus-visible{outline:2px solid #008e9a;outline-offset:3px}
@media(max-width:1200px) and (min-width:651px){.account-store-card157{flex-direction:column}.account-store-card157>img{width:100%;height:112px;min-height:112px;max-height:112px;object-position:center 40%}.account-store-card157.is-platform>img{object-position:65% center}.account-store-card-copy157{flex:1;width:100%;padding:12px}.account-store-card-copy157>strong{font-size:14px}}
@media(max-width:650px){.account-store-cards157{grid-template-columns:minmax(0,1fr);gap:9px}.account-store-card157>img{width:82px;min-height:104px;max-height:118px}.account-store-card-copy157{padding:11px 13px;gap:5px}.account-store-card-copy157>strong{font-size:15px}.account-storefronts157>h2{font-size:18px;margin-bottom:10px}.account-store-nav157{max-width:100%;min-width:0}.account-store-return157{font-size:12px;padding:6px 8px;min-height:40px;gap:4px}.account-store-return157 span{max-width:155px}.account-store-toggle157{min-width:32px}.account-store-nav157 svg{width:17px;height:17px}.account-store-menu157 strong{font-size:13px}.account-store-menu157 small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.account-store-card157{transition:none}.account-store-card157:hover{transform:none}}

@media(max-width:650px){.account-top-actions .account-store-nav157{grid-column:1/-1;order:20;width:100%;max-width:none}.account-store-split157{width:100%}.account-store-return157{flex:1}.account-store-return157 span{max-width:none}.account-store-menu157{max-width:calc(100vw - 24px)}}

/* Keep the return control on a separate row in phone landscape as well. */
@media(max-width:900px){.account-topbar .account-top-actions{flex-wrap:wrap}.account-topbar .account-top-actions .account-store-nav157{display:inline-flex!important;grid-column:1/-1;order:20;flex-basis:100%;width:100%;max-width:none}.account-topbar .account-store-split157{width:100%}.account-topbar .account-store-return157{flex:1}.account-topbar .account-store-return157 span{max-width:none}.account-topbar .account-top-actions>.account-top-store{display:inline-flex!important;grid-column:1/-1;order:20;flex-basis:100%;width:100%;justify-content:center}}

/* Return160: one translated chooser; mobile row lives outside the responsive header. */
.account-store-toggle160{width:100%;border:0;border-radius:11px;background:transparent;text-align:start;cursor:pointer;font-family:inherit}
.account-store-toggle160>span{flex:1}.account-store-toggle160>svg:last-child{margin-inline-start:auto}
.account-mobile-store160{display:none}
@media(max-width:900px){
 .account-shell:has(>.account-mobile-store160) .account-topbar .account-store-nav157{display:none!important}
 .account-mobile-store160{display:block;position:sticky;top:var(--account-store-top160,0px);z-index:60;padding:8px 12px;background:#f4f8f9;border-bottom:1px solid #d6e7eb}
 .account-mobile-store160>.account-store-nav157{display:flex;width:100%;max-width:none}
 .account-mobile-store160 .account-store-split157{width:100%}
 .account-mobile-store160 .account-store-toggle160{min-height:44px;width:100%}
 .account-mobile-store160 .account-store-menu157{inset-inline:0;width:auto;max-width:none;max-height:calc(100vh - var(--account-store-top160,0px) - 80px);max-height:calc(100dvh - var(--account-store-top160,0px) - 80px);overflow:auto;overscroll-behavior:contain}
}

/*163: larger text in the existing mobile return control and storefront choices.*/
@media(max-width:900px){
 .account-mobile-store160 .account-store-toggle160{font-size:16px;line-height:1.35}
 .account-store-menu157 strong{font-size:16px;line-height:1.35}
 .account-store-menu157 small{font-size:14px;line-height:1.45}
 .account-store-card-copy157>strong{font-size:17px;line-height:1.35}
 .account-store-card-copy157>span{font-size:14px;line-height:1.45}
}

/*164: a circle only, while normal browser navigation waits for the selected page.*/
.account-store-toggle160[data-account-store-pending164]>svg:last-child,
.account-store-menu157>a[data-account-store-pending164]>svg:last-child,
.account-store-card157[data-account-store-pending164] .account-store-card-copy157>svg{display:none}
.account-store-toggle160[data-account-store-pending164]::after,
.account-store-menu157>a[data-account-store-pending164]::after,
.account-store-card157[data-account-store-pending164] .account-store-card-copy157::after{content:'';display:block;flex:0 0 16px;width:16px;height:16px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:account-store-spin164 .9s linear infinite}
.account-store-toggle160[data-account-store-pending164]::after{margin-inline-start:auto}
.account-store-card157[data-account-store-pending164] .account-store-card-copy157::after{margin-top:auto;color:#008795}
[data-account-store-pending164]{cursor:progress}
@keyframes account-store-spin164{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){[data-account-store-pending164]::after,.account-store-card157[data-account-store-pending164] .account-store-card-copy157::after{animation:none}}
