/* Shared store shell. All component styles are opt-in; legacy page sections keep their styles. */
.store-container { width: min(1280px,calc(100% - 64px)); margin-inline: auto; }
.ui-scope.store-header { position: sticky; top: 0; z-index: 300; border-bottom: 1px solid var(--ui-border); background: var(--ui-surface); }
.store-servicebar { height: 32px; background: #f1f0ff; color: #443b78; font-size: 12px; }
.store-servicebar .store-container { display: flex; justify-content: space-between; align-items: center; height: 100%; gap: 16px; }
.store-servicebar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.store-servicebar svg { width: 14px; height: 14px; }
.store-header-main { min-height: 96px; display: flex; align-items: center; gap: 40px; }
.store-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--ui-text) !important; text-decoration: none; font-weight: 650; font-size: 16px; letter-spacing: -.04em; }
.store-brand-mark { display: grid; place-content: center; position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--ui-primary); color: #fff; font-size: 28px; line-height: 1; font-weight: 650; letter-spacing: -.1em; padding-right: 6px; }
.store-brand-mark i { position: absolute; right: 6px; bottom: 7px; font-style: normal; color: #ffb183; }
.store-brand img { height: 44px; width: 44px; object-fit: contain; }
.store-brand small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--ui-muted); margin-top: 5px; font-weight: 550; }
.store-search { flex: 1; display: flex; min-width: 0; align-items: center; position: relative; height: 48px; border: 1px solid var(--ui-border-strong); border-radius: var(--ui-radius-sm); background: var(--ui-canvas); }
.store-search:focus-within { border-color: var(--ui-primary); box-shadow: var(--ui-focus); }
.store-search input { width: 100%; min-width: 0; height: 100%; padding: 0 16px; border: 0; background: transparent; color: var(--ui-text); font-family: var(--ui-font); font-size: 13px; border-radius: var(--ui-radius-sm); }
.store-search input:focus { outline: none; box-shadow: none; }
.store-search input::placeholder { color: var(--ui-muted); }
.store-search > button { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 46px; color: var(--ui-primary); border: 0; border-radius: 0 8px 8px 0; background: transparent; cursor: pointer; }
.store-search > button:hover { background: var(--ui-primary-soft); }
.store-search-panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); overflow: hidden; box-shadow: var(--ui-shadow-lg); z-index: 20; }
.store-search-panel ul { list-style: none; padding: 8px; max-height: min(380px,50dvh); overflow-y: auto; }
.store-search-panel li[role="option"] { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: 8px; cursor: pointer; font-size: 12px; }
.store-search-panel li[aria-selected="true"],.store-search-panel li[role="option"]:hover { background: var(--ui-primary-soft); }
.store-search-panel img { width: 48px; height: 40px; object-fit: contain; flex-shrink: 0; }
.store-search-panel li > span { min-width: 0; }
.store-search-panel strong { display: block; font-weight: 550; }
.store-search-panel small { color: var(--ui-muted); display: block; margin-top: 4px; }
.store-search-all { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-top: 1px solid var(--ui-border); font-size: 12px; text-decoration: none; font-weight: 550; }
.store-header-actions { display: flex; align-items: center; gap: 16px; }
.store-icon-action { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; min-width: 44px; min-height: 48px; padding: 4px; background: none; border: 0; border-radius: 8px; color: var(--ui-text); text-decoration: none; cursor: pointer; }
.store-icon-action:hover { color: var(--ui-primary); background: var(--ui-primary-soft); }
.store-action-label { font-size: 12px; line-height: 1.4; font-weight: 500; }
.store-count { position: absolute; top: -3px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; font-size: 9px; font-weight: 650; color: #fff; background: var(--ui-primary); border-radius: 99px; border: 2px solid var(--ui-surface); box-sizing: content-box; }
.store-account { position: relative; }
.store-account summary { list-style: none; }
.store-account summary::-webkit-details-marker { display: none; }
.store-account-panel { position: absolute; right: 0; top: calc(100% + 12px); width: 240px; background: var(--ui-surface); padding: 16px; border: 1px solid var(--ui-border); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); z-index: 25; }
.store-account-panel strong { display: block; font-size: 14px; margin-bottom: 8px; }
.store-account-panel a,.store-account-panel button { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; color: var(--ui-muted); width: 100%; border: 0; background: none; text-align: left; padding: 8px 0; cursor: pointer; }
.store-account-panel a:hover,.store-account-panel button:hover { color: var(--ui-primary); text-decoration: underline; }
.store-nav-row { border-top: 1px solid var(--ui-border); }
.store-nav-row > .store-container { display: flex; align-items: center; gap: 32px; min-height: 48px; }
.store-nav-row nav { display: flex; gap: 28px; align-items: center; }
.store-nav-row nav a,.store-quote-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 12px; color: var(--ui-muted); text-decoration: none; font-weight: 550; white-space: nowrap; }
.store-nav-row nav a:hover,.store-quote-link:hover { color: var(--ui-primary); }
.store-quote-link { margin-left: auto; color: var(--ui-primary); font-size: 12px; }
.store-quote-link svg { width: 16px; height: 16px; }
.store-categories > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-right: 24px; border-right: 1px solid var(--ui-border); cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ui-text); list-style: none; }
.store-categories > summary::-webkit-details-marker { display: none; }
.store-categories > summary svg { width: 18px; height: 18px; }
.store-categories > summary svg:last-child { width: 14px; }
.store-mega { position: absolute; left: max(32px,calc((100% - 1280px)/2)); width: min(820px,calc(100% - 64px)); top: 100%; display: grid; grid-template-columns: 1fr 240px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 0 0 16px 16px; box-shadow: var(--ui-shadow-lg); overflow: hidden; }
.store-mega > div { padding: 24px; }
.store-kicker { color: var(--ui-primary); font-size: 12px; font-weight: 650; letter-spacing: .1em; margin-bottom: 16px; }
.store-mega-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.store-mega-categories a { display: flex; align-items: center; gap: 12px; padding: 16px 8px; border-radius: 8px; text-decoration: none; color: var(--ui-text); }
.store-mega-categories a:hover { background: var(--ui-primary-soft); }
.store-category-symbol { display: grid; place-items: center; background: var(--ui-canvas); color: var(--ui-primary); border-radius: 8px; width: 40px; height: 40px; flex-shrink: 0; }
.store-category-symbol svg { width: 20px; height: 20px; }
.store-mega-categories strong { display: block; font-size: 12px; font-weight: 550; }
.store-mega-categories small { display: block; font-size: 12px; margin-top: 4px; color: var(--ui-muted); }
.store-mega-categories a > svg { width: 16px; height: 16px; margin-left: auto; flex-shrink: 0; }
.store-mega .store-mega-aside { background: var(--ui-canvas); }
.store-mega-aside a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 12px; color: var(--ui-text); text-decoration: none; }
.store-mega-aside a:hover { color: var(--ui-primary); }
.store-mega-aside .store-mega-help { display: block; border-top: 1px solid var(--ui-border); padding-top: 16px; margin-top: 16px; font-size: 12px; color: var(--ui-muted); line-height: 1.8; }
.store-mega-help strong { color: var(--ui-primary); font-weight: 550; }
.store-mobile-toggle { display: none; }
.store-breadcrumbs { border-bottom: 1px solid var(--ui-border); background: var(--ui-surface); padding-block: 8px; }
.store-breadcrumbs .ui-breadcrumb { font-size: 12px; }
.store-breadcrumbs .ui-breadcrumb ol { font-size: 12px; }
.store-breadcrumbs [aria-current] { overflow-wrap: anywhere; }
/* Footer */
.ui-scope.store-footer { background: #fff; border-top: 1px solid var(--ui-border); }
.store-newsletter { padding-block: 48px; background: #eeedff; border-bottom: 1px solid #dedbf9; scroll-margin-top: 180px; }
.store-newsletter > .store-container { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 80px; }
.store-newsletter h2 { font-size: 32px; line-height: 1.2; font-weight: 650; letter-spacing: -.05em; margin-bottom: 16px; color: var(--ui-text); }
.store-newsletter p:not(.store-kicker) { color: var(--ui-muted); font-size: 12px; line-height: 1.7; }
.store-newsletter .store-kicker { margin-bottom: 12px; }
.store-newsletter-fields { display: flex; gap: 8px; }
.store-newsletter-fields input { min-width: 0; }
.store-newsletter-fields button { flex-shrink: 0; }
.store-newsletter .ui-checkbox { font-size: 12px; margin-top: 8px; }
.store-newsletter .ui-hint { font-size: 12px !important; }
.store-newsletter-status { margin-top: 8px !important; }
.store-newsletter [data-newsletter-manage] { display: inline-block; margin-top: 8px; font-size: 12px; }
.store-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.store-footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 48px; padding-block: 56px; }
.store-footer-about p { font-size: 12px; color: var(--ui-muted); line-height: 1.9; margin-top: 24px; max-width: 32ch; }
.store-footer-about .store-brand { font-size: 14px; }
.store-market-note { display: block; margin-top: 16px; font-size: 12px; color: var(--ui-muted); }
.store-footer-grid h2 { margin-bottom: 16px; color: var(--ui-text); font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.store-footer-grid nav > a,.store-footer-grid nav > button { display: flex; align-items: center; min-height: 36px; color: var(--ui-muted); font-size: 12px; text-decoration: none; padding: 4px 0; text-align: left; }
.store-footer-grid nav > a:hover,.store-footer-grid nav > button:hover { color: var(--ui-primary); text-decoration: underline; }
.store-text-button { min-height: 44px; font: inherit; padding: 8px 0; border: 0; background: none; color: var(--ui-primary); cursor: pointer; text-align: left; }
.store-footer-contact a { display: flex; align-items: flex-start; gap: 12px; color: var(--ui-text); font-size: 12px; text-decoration: none; margin-bottom: 16px; min-height: 32px; }
.store-footer-contact a > span { overflow-wrap: anywhere; }
.store-footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ui-muted); }
.store-footer-contact p { font-size: 12px; color: var(--ui-muted); line-height: 1.8; margin-top: 12px; }
.store-footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--ui-border); padding-block: 24px; gap: 24px; font-size: 12px; color: var(--ui-muted); }
.store-payment-note { display: flex; align-items: center; gap: 16px; }
.store-payment-note > span { display: flex; gap: 8px; }
.store-payment-note svg { width: 28px; height: 28px; padding: 4px; border: 1px solid var(--ui-border); border-radius: 4px; }
.store-payment-note a { font-size: 12px; color: var(--ui-muted); }
.store-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-socials a { font-size: 12px; color: var(--ui-muted); text-decoration: none; }
/* Drawers and utility UI reuse the design-system modal and button styles. */
.store-overlays .ui-modal { z-index: 500; }
#store-mobile-nav { margin: 0 auto 0 0; height: 100dvh; max-height: 100dvh; width: min(400px,90vw); border-radius: 0 24px 24px 0; }
.store-drawer-nav { display: flex; flex-direction: column; }
.store-drawer-nav a { display: flex; min-height: 48px; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--ui-text); text-decoration: none; border-bottom: 1px solid var(--ui-border); }
.store-drawer-nav a:hover { color: var(--ui-primary); }
.store-drawer-nav .store-kicker { margin: 24px 0 8px; }
.store-drawer-nav a > span { color: var(--ui-muted); font-size: 12px; }
.store-button-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 16px; color: #fff !important; background: var(--ui-primary); border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 550; font-size: 13px; }
.store-button-link:hover { background: var(--ui-primary-hover); }
.store-button-link svg { width: 18px; height: 18px; }
.store-saved-empty { padding: 64px 16px; text-align: center; }
.store-saved-empty > svg { width: 48px; height: 48px; color: var(--ui-primary); margin-bottom: 24px; }
.store-saved-empty h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; }
.store-saved-empty p { font-size: 13px; color: var(--ui-muted); }
.store-saved-item { display: grid; grid-template-columns: 72px minmax(0,1fr) 32px; align-items: start; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--ui-border); }
.store-saved-item img { width: 72px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--ui-canvas); }
.store-saved-item a { font-size: 13px; font-weight: 550; text-decoration: none; color: var(--ui-text); }
.store-saved-item p { font-size: 12px; color: var(--ui-muted); margin-top: 8px; }
.store-saved-item button { background: none; border: 0; color: var(--ui-muted); min-width: 32px; min-height: 44px; cursor: pointer; font-size: 24px; }
.store-cookie-banner { position: fixed; bottom: 24px; left: 24px; z-index: 600; width: min(600px,calc(100vw - 48px)); padding: 24px; border: 1px solid var(--ui-border); border-radius: 16px; background: var(--ui-surface); box-shadow: var(--ui-shadow-lg); }
.store-cookie-banner h2 { font-size: 20px; font-weight: 650; letter-spacing: -.03em; margin-bottom: 8px; color: var(--ui-text); }
.store-cookie-banner p:not(.store-kicker) { font-size: 12px; line-height: 1.8; color: var(--ui-muted); }
.store-cookie-banner .store-kicker { margin-bottom: 8px; }
.store-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 16px; }
.store-cookie-actions .store-text-button { font-size: 12px; }
.store-cookie-options { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.store-cookie-options .ui-checkbox { font-size: 14px; }
.store-backtop { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 250; width: 44px; height: 44px; background: var(--ui-primary); color: #fff; border: 0; border-radius: 50%; box-shadow: var(--ui-shadow); cursor: pointer; }
.store-backtop[hidden] { display: none; }
.floating-contact { bottom: 88px; z-index: 200; }
.store-noscript-cookie { padding: 16px; background: var(--ui-canvas); text-align: center; font-size: 12px; color: var(--ui-muted); }
/* Basic search is a destination for header links, not the later full filter/product-detail build. */
.store-search-page,.store-preferences-page { padding-block: 48px 64px; min-height: 50vh; }
.store-search-heading { margin-bottom: 32px; }
.store-search-heading h1,.store-preferences-page h1 { font-size: clamp(28px,3vw,40px); font-weight: 650; line-height: 1.2; letter-spacing: -.05em; margin-bottom: 16px; color: var(--ui-text); }
.store-search-heading > p:last-child { font-size: 13px; color: var(--ui-muted); }
.store-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 32px; }
.store-product-grid .ui-card { display: flex; flex-direction: column; }
.store-product-grid .ui-card-footer { margin-top: auto; gap: 8px; }
.store-product-grid .ui-card-footer > a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 12px; text-decoration: none; }
.store-product-grid .ui-card-footer > a svg { width: 16px; height: 16px; }
.store-product-grid [aria-pressed="true"] { color: var(--ui-primary); background: var(--ui-primary-soft); }
.store-product-grid [aria-pressed="true"] svg { fill: var(--ui-primary-soft); }
.store-preferences-card { max-width: 600px; margin: auto; border: 1px solid var(--ui-border); border-radius: 16px; padding: 32px; background: var(--ui-surface); }
.store-preferences-card > p { margin-bottom: 24px; font-size: 14px; line-height: 1.7; color: var(--ui-muted); }
@media (max-width: 1100px) {
 .store-header-main { gap: 24px; }.store-brand { font-size: 13px; }.store-brand small { font-size: 10px; }.store-header-actions { gap: 8px; }.store-quote-link { display: none; }.store-footer-grid { gap: 32px; }.store-newsletter > .store-container { gap: 40px; }
}
@media (max-width: 960px) {
 .store-container { width: calc(100% - 48px); }.ui-scope.store-header { top: 0; }.store-servicebar,.store-nav-row { display: none; }.store-mobile-toggle { display: flex; }
 .store-header-main { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 16px; padding-block: 16px; }.store-header-main > .store-brand { justify-self: start; }.store-search { grid-column: 1/-1; grid-row: 2; width: 100%; }.store-header-actions { justify-self: end; }.store-header-actions > .store-account { display: none; }.store-action-label { display: none; }.store-icon-action { min-height: 44px; }.store-brand small { font-size: 10px; }.store-header-main .store-brand-mark { width: 40px; height: 40px; font-size: 26px; }.store-count { top: -2px; right: -3px; }
 .store-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.store-newsletter > .store-container { grid-template-columns: 1fr; gap: 24px; }.store-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
 .store-cookie-visible .floating-contact,.store-cookie-visible .store-backtop { display: none; }
 .store-container { width: calc(100% - 32px); }.store-header-main { grid-template-columns: 32px minmax(0,1fr) 80px; gap: 8px; padding-block: 12px; }.store-mobile-toggle { min-width: 32px; }.store-brand { gap: 8px; font-size: 12px; }.store-brand small { display: none; }.store-brand-mark { width: 36px !important; height: 36px !important; font-size: 24px !important; border-radius: 8px; }.store-brand-mark i { bottom: 6px;right: 5px; }.store-header-actions { gap: 0; }.store-header-actions .store-icon-action { min-width: 40px; }.store-search input { font-size: 12px; padding-left: 12px; }.store-search { height: 44px; }.store-search > button { height: 42px; }.store-header-main > .store-brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.store-header-main > .store-brand { min-width: 0;max-width: 100%; }.store-header-main > .store-brand .store-brand-mark { flex-shrink: 0; }.store-search-panel li[role="option"] { padding: 8px; }.store-search-panel ul { max-height: 40dvh; }
 .store-newsletter { padding-block: 32px; }.store-newsletter h2 { font-size: 28px; }.store-newsletter-fields { flex-direction: column; }.store-newsletter-fields .ui-button { width: 100%; }.store-footer-grid { gap: 32px 16px; padding-block: 40px; }.store-footer-about { grid-column: 1/-1; }.store-footer-grid > .store-footer-contact { grid-column: 1/-1; }.store-footer-about p { max-width: 100%; margin-top: 16px; }.store-footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }.store-footer-contact p { max-width: 40ch; }
 .store-cookie-banner { left: 16px; bottom: 16px; width: calc(100vw - 32px); padding: 16px; max-height: 65dvh; overflow-y: auto; }.store-cookie-banner h2 { font-size: 18px; }.store-cookie-actions { gap: 8px; }.store-cookie-actions .ui-button { flex: 1; }.store-cookie-actions .store-text-button { width: 100%; text-align: center; }.store-backtop { right: 16px; }.store-breadcrumbs .ui-breadcrumb ol { font-size: 12px; }
 .store-product-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }.store-search-page { padding-top: 32px; }.store-preferences-card { padding: 24px; }.store-saved-item { grid-template-columns: 56px minmax(0,1fr) 32px; gap: 12px; }.store-saved-item img { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion:no-preference) { #store-mobile-nav[open] { animation: store-slide-left .2s ease-out; }}
@keyframes store-slide-left { from { transform: translateX(-100%); }to { transform:none; } }
@keyframes store-slide-right { from { transform: translateX(100%); }to { transform:none; } }

/* App showcase shell additions */
.store-header-cta{display:inline-flex;align-items:center;gap:8px;background:#151c3c;color:#fff!important;border-radius:999px;padding:10px 18px;font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none}
.store-header-cta:hover{background:#4338ca}
.store-header-cta svg{width:16px;height:16px}
.store-mega-note{font-size:12px;line-height:1.7;color:#667085;margin:0 0 16px;max-width:260px}
.store-footer-note{display:block;font-size:11px;line-height:1.6;color:#8a93a6;margin-top:12px}
@media(max-width:760px){.store-header-cta{display:none}}

/* Brand logo */
.store-brand .brand-logo { display: block; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; }
.store-brand .brand-logo--custom { width: auto; max-width: 180px; height: 44px; border-radius: 0; object-fit: contain; }
