/* Shared chrome primitives. A single shell family follows this file. */
body[data-header-layout] .store-header .theme-shell-composition { display:block; padding-block:14px; max-width:var(--store-content-width); }
.theme-shell-composition :is(.store-shell-brand,.store-header-search) { min-width:0; }
.theme-shell-composition .theme-menu-identity { min-width:0; }
.theme-shell-composition .store-shell-brand { grid-area:brand; }
.theme-shell-composition .store-shell-actions { grid-area:actions; justify-self:end; flex-shrink:0; gap:8px; }
.theme-shell-composition .store-header-search { grid-area:search; width:100%; margin:0; }
.theme-shell-composition .store-shell-actions > * + * { margin-left:0; }
.theme-shell-composition .store-brand-link { min-width:0; }
.theme-shell-composition #store-logo-btn .rounded-full { border-radius:var(--theme-radius); box-shadow:none; }
.theme-shell-composition #store-logo-btn img { object-fit:contain; }
.theme-shell-composition .store-brand-link h1 { overflow-wrap:anywhere; font-size:1.25rem; }
.theme-shell-composition .theme-shopping-row { display:grid; grid-template-columns:minmax(10rem,.75fr) minmax(0,2fr) auto; grid-template-areas:"brand search actions"; align-items:center; gap:24px; }
.theme-shell-composition .theme-masthead { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.theme-shell-composition .theme-search-band { display:flex; gap:24px; align-items:center; margin-top:16px; }
.theme-shell-composition .theme-search-band > .store-header-search { flex:1; }
.theme-shell-composition .search-bar-container { overflow:visible; }
.theme-shell-composition .search-input-theme { border-top-right-radius:0; border-bottom-right-radius:0; }
.theme-shell-composition .store-header-search .filters-panel-theme { color:var(--color-text-primary); }
.theme-shell-composition .theme-cart-label { font-size:.78rem; font-weight:600; margin-inline:8px 2px; }
.theme-shell-composition .header-cart-btn { width:auto; padding:8px 11px; display:inline-flex; align-items:center; justify-content:center; border-radius:var(--theme-radius); }
.theme-shell-contact { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; white-space:nowrap; font-size:.8rem; font-weight:600; text-decoration:none; color:inherit; }
.theme-shell-contact i { font-size:1.1rem; }
.theme-shell-description { font-size:.8rem; line-height:1.6; max-width:42rem; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:8px 0 0; }
.theme-shell-home { display:inline-flex; align-items:center; gap:8px; font-size:.8rem; min-height:44px; color:inherit; }
.theme-departments { position:relative; flex-shrink:0; text-align:left; }
.theme-departments > summary { display:flex; gap:12px; align-items:center; min-height:44px; padding:8px 13px; cursor:pointer; list-style:none; font-size:.8rem; font-weight:650; }
.theme-departments > summary::-webkit-details-marker { display:none; }
.theme-departments > summary > i:last-child { font-size:.6rem; }
.theme-departments[open] > summary > i:last-child { transform:rotate(180deg); }
.theme-departments-menu { position:absolute; left:0; top:calc(100% + 6px); z-index:45; min-width:250px; max-width:min(350px,calc(100vw - 40px)); max-height:55dvh; overflow:auto; padding:8px; background:var(--color-background-secondary); color:var(--color-text-primary); border:1px solid var(--color-border); border-radius:var(--theme-radius); box-shadow:0 12px 32px #0002; }
.theme-departments-menu > a { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px; min-height:44px; font-size:.85rem; text-decoration:none; }
.theme-departments-menu > a:hover { background:var(--color-background-tertiary); }
.theme-departments-menu > a > i { font-size:.65rem; }
.theme-department-band,.theme-project-index,.theme-shortcuts { display:flex; align-items:center; gap:24px; padding-top:10px; margin-top:10px; border-top:1px solid color-mix(in srgb,var(--theme-on-header) 15%,transparent); }
.theme-department-band > .theme-shell-contact,.theme-project-index > .theme-shell-contact,.theme-shortcuts > .theme-shell-contact { margin-left:auto; }
.theme-shortcuts > a { font-size:.8rem; min-height:44px; display:inline-flex; align-items:center; }
.theme-help-actions { display:flex; align-items:center; gap:24px; }
body[data-header-layout] .store-category-nav-shell { max-width:var(--store-content-width); }
body[data-header-layout] .store-category-navigation .category-pill { white-space:nowrap; }
body[data-footer-layout] .theme-footer-content { padding-block:40px 24px; }
body[data-footer-layout] .theme-footer-main { align-items:flex-start; }
body[data-footer-layout] .theme-footer-links { flex-wrap:wrap; justify-content:flex-end; }
body[data-footer-layout] .theme-footer-categories { border-top:1px solid rgba(var(--footer-text-rgb),.18); margin-top:28px; padding-top:24px; }
.theme-footer-categories h4 { color:inherit; font-family:var(--font-heading); font-size:1rem; margin:0 0 14px; }
.theme-footer-categories > div { display:flex; flex-wrap:wrap; gap:6px 28px; }
.theme-footer-categories a { min-height:40px; display:inline-flex; align-items:center; font-size:.8rem; }
body[data-cart-layout] #cart-sidebar { color:var(--color-text-primary); border-left:1px solid var(--color-border); }
body[data-cart-layout] #cart-sidebar .cart-header { background:var(--color-background-secondary); color:var(--color-text-primary); border-bottom:1px solid var(--color-border); padding:24px; }
body[data-cart-layout] #cart-sidebar .cart-header h3 { color:inherit; font-family:var(--font-heading); font-size:1.35rem; font-weight:var(--theme-heading-weight); letter-spacing:-.025em; }
body[data-cart-layout] #cart-sidebar .cart-header .cart-close { color:var(--color-text-primary); background:var(--color-background-tertiary); border-radius:var(--theme-radius); }
body[data-cart-layout] #cart-sidebar .cart-footer { background:var(--color-background-secondary); border-top:1px solid var(--color-border); }
body[data-cart-layout] #cart-sidebar .cart-item { border-color:var(--color-border); border-radius:var(--theme-radius); background:var(--color-background-secondary); }
body[data-cart-layout] #cart-sidebar .cart-summary { border-radius:var(--theme-radius); background:var(--color-background-tertiary); color:var(--color-text-primary); }
body[data-cart-layout] #cart-sidebar .cart-checkout-btn { background:var(--color-primary); color:var(--color-on-primary); border-radius:var(--theme-radius); }
@media(max-width:1100px) { .theme-shell-composition .theme-cart-label { display:none; } .theme-shell-composition .theme-shopping-row { gap:16px; grid-template-columns:minmax(8rem,.65fr) minmax(0,2fr) auto; } }
@media(max-width:767px) {
 body[data-header-layout] .store-header .theme-shell-composition { padding-block:10px; }
 .theme-shell-composition .theme-shopping-row { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"brand actions" "search search"; gap:12px; }
 .theme-shell-composition .theme-search-band { gap:10px; margin-top:12px; }
 .theme-shell-composition .theme-search-band > .theme-shell-contact { display:none; }
 .theme-shell-composition .theme-masthead { gap:12px; }
 .theme-shell-composition .store-shell-actions { gap:2px; }
 .theme-shell-composition .store-brand-link { gap:8px; }
 .theme-shell-composition .store-brand-link > * + * { margin-left:0; }
 .theme-shell-composition .store-brand-link h1 { font-size:1rem!important; }
 .theme-shell-composition .search-input-theme { padding-block:12px; }
 .theme-shell-composition .filters-toggle-btn { padding:12px; }
 .theme-shell-composition .theme-help-actions { gap:4px; }
 .theme-shell-composition .theme-help-actions > .theme-shell-contact { padding-inline:8px; }
 .theme-shell-composition .theme-help-actions > .theme-shell-contact span { display:none; }
 .theme-shell-composition .theme-search-band > .theme-departments > summary { padding-inline:6px; }
 .theme-shell-composition .theme-search-band > .theme-departments > summary span { display:none; }
 .theme-department-band,.theme-project-index,.theme-shortcuts { padding-top:5px; margin-top:6px; gap:14px; }
 .theme-project-index .theme-shell-description { display:none; }
 .theme-footer-categories > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 20px; }
 body[data-footer-layout] .theme-footer-links { justify-content:flex-start; gap:16px; }
 body[data-footer-layout] .theme-footer-main { align-items:flex-start; }
 body[data-cart-layout] #cart-sidebar .cart-header { padding:18px; }
}
