/* Store interface: compact discovery on phones; a wider catalogue on desktop. */
.store-page{--store-blue:#1557ff;--store-line:#e2e8f0;--store-surface:#fff;background:#f4f6fa}
.store-page .store-wrap{max-width:1200px}
.store-nav{background:#fff;box-shadow:0 1px 4px #0f172a0a}
.store-page .store-nav{z-index:80}
.store-page .store-nav-inner{min-height:68px;gap:24px;flex-wrap:nowrap;padding-block:8px}
.store-brand{font-size:23px;white-space:nowrap}
.store-nav-links{align-items:center;gap:28px}
.store-nav-links a{min-height:44px;display:flex;align-items:center}
.cart-open{display:flex;align-items:center;gap:8px;white-space:nowrap;background:#eef3ff;border-color:#dce6ff;color:#173c86}
.cart-open svg{width:20px;height:20px;flex-shrink:0}
.cart-open [data-cart-count]{margin:0}
.preview-banner{padding:5px 16px;min-height:28px;font-size:12px;justify-content:center}
.store-intro{padding-block:28px 18px}
.store-intro h1{font:700 32px/1.2 var(--font-display);letter-spacing:-.03em;margin:0 0 6px}
.store-intro p{margin:0;color:#526174;font-size:15px}
.catalogue .store-search{display:flex;flex-direction:row;align-items:center;gap:12px;border:1px solid #b8c9e9;border-radius:10px;padding:0 14px;background:#fff;max-width:100%}
.store-search:focus-within{outline:2px solid #1557ff;outline-offset:2px}
.store-search svg{flex-shrink:0;width:21px;height:21px;color:#526174}
.store-search input{border:0!important;border-radius:10px;padding:13px 0;min-width:0;outline:none!important;box-shadow:none!important;background:transparent;font-size:16px;width:100%;min-height:48px}
.store-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:20px 0 16px;border-bottom:1px solid var(--store-line)}
.store-categories button{border:1px solid var(--store-line);background:#fff;color:#475569;border-radius:12px;padding:12px 8px;display:flex;justify-content:center;align-items:center;gap:10px;font-size:14px;min-height:56px;min-width:0}
.store-categories svg{width:28px;height:28px;flex-shrink:0}
.store-categories [aria-pressed=true]{background:#eef3ff;border-color:#1557ff;color:#1042c0;font-weight:700}
.store-categories button:hover{border-color:#1557ff}
.store-quick-filters{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0 12px}
.store-quick-filters button{min-height:44px;border:1px solid #d4dce7;background:#fff;border-radius:24px;padding:8px 18px;color:#475569;font-size:13px;white-space:nowrap}
.store-quick-filters [aria-pressed=true]{border-color:#1557ff;background:#eaf0ff;color:#103c9b;font-weight:700}
.catalogue-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;position:relative;z-index:20;isolation:isolate}
.store-filters{padding:0;position:relative;min-width:140px;display:block}
.store-filters summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;background:#fff;border:1px solid #d4dce7;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600}
.store-filters summary::-webkit-details-marker{display:none}
.store-filters summary::before{content:'☷';font-size:20px;line-height:1}
.store-filters summary::after{content:'⌄';margin-left:auto}
.store-filters[open] summary{border-color:#1557ff;color:#1042c0}
.filter-fields{position:absolute;top:calc(100% + 8px);left:0;width:min(560px,calc(100vw - 40px));padding:20px;background:#fff;border:1px solid #d4dce7;border-radius:12px;box-shadow:0 12px 40px #0f172a22;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.catalogue .filter-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px}
.filter-fields select{width:100%;font-size:14px;min-width:0}
.filter-actions{grid-column:1/-1;display:flex;gap:12px;justify-content:flex-end}
.store-filters .filter-actions button{min-height:44px;font-size:13px;padding:10px 16px;text-decoration:none}
.store-filters .filter-actions .button-blue{background:#1557ff;color:#fff}
.store-filters .filter-actions .button-outline{border:1px solid #cbd5e1;background:#fff;color:#334155}
.sort-label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;font-size:13px!important}
.sort-label select{min-height:44px;max-width:210px;font-size:13px;background:#fff}
.sort-label{min-width:0}
.sort-label select{width:auto;min-width:0}
.results-line{gap:12px;align-items:center;margin-bottom:16px}
.results-line h2{font:700 22px/1.3 var(--font-display);margin:0}
.results-line p{font-size:13px;color:#526174}
.store-page .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-card{border-radius:12px;border:1px solid var(--store-line);box-shadow:0 2px 4px #0f172a04}
.product-card .product-visual{aspect-ratio:1/1;padding:28px 18px 24px;background:#fff;border-bottom:1px solid #eff2f6}
.product-card .product-visual img{mix-blend-mode:normal}
.product-placeholder{min-height:0;height:100%;gap:12px;color:#64748b}
.product-placeholder svg{width:100px;height:110px;stroke:#778cab;fill:#f0f4fa;stroke-width:1.1}
.product-placeholder span{font-size:11px}
.product-card .product-body{padding:16px;gap:0;min-width:0}
.product-brand{font-size:11px;font-weight:600;color:#526174;margin:0 0 5px;text-transform:uppercase;letter-spacing:.04em}
.product-card h2{font:600 17px/1.4 var(--font-body);margin:0 0 7px;overflow-wrap:anywhere}
.product-highlights{font-size:12px;line-height:1.5;color:#526174;margin:0 0 14px;overflow-wrap:anywhere}
.product-price{font-size:22px;line-height:1.3;margin:auto 0 8px;font-weight:700}
.condition{top:10px;left:10px;font-size:11px;padding:3px 8px;background:#f5f7fa;color:#334155;border-color:#e2e8f0}
.sample-label{bottom:8px;left:8px;padding:2px 7px;font-size:10px}
.warranty-badge{display:inline-flex;align-items:center;align-self:flex-start;max-width:100%;font-size:11px;line-height:1.4;background:#f0f3f7;color:#475569;padding:4px 7px;border-radius:5px;overflow-wrap:anywhere}
.warranty-badge[data-warranty-state=under_warranty]{color:#126038;background:#eaf7ef}
.product-code-mini{font:10px/1.5 ui-monospace,monospace;color:#64748b;overflow-wrap:anywhere;margin:8px 0}
.product-card .button{width:100%;margin-top:6px;min-height:44px;border-color:#cbd5e1;font-size:13px}
.catalogue-freshness{font-size:12px;color:#526174;margin:20px 0 0;overflow-wrap:anywhere}
.store-page .store-assist.store-wrap{margin-block:40px;padding:28px!important;gap:24px;align-items:center}
.store-assist>div{min-width:0;flex:1}
.store-assist>.button{flex-shrink:0;max-width:100%}
.store-assist h2{font-size:26px;margin:0 0 8px}
.store-assist p{margin:0;line-height:1.6}
.store-bottom-nav{display:none}
.product-breadcrumb{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.product-breadcrumb>span:last-child{min-width:0}
.product-information h1{font-size:clamp(26px,3.5vw,40px);overflow-wrap:anywhere}
.product-main-image .product-placeholder svg{width:150px;height:180px}
.detail-highlights{font-size:14px;color:#475569;padding-left:20px;line-height:1.7}
.detail-price{font-variant-numeric:tabular-nums}
.product-information .warranty-badge{font-size:13px}
.store-toast{max-width:min(520px,calc(100% - 32px));pointer-events:none}
.empty-state .button{margin:6px}
@media(max-width:1050px){.store-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 .store-page{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
 .store-page .store-nav-inner{min-height:60px;padding-block:8px;gap:10px;flex-wrap:nowrap}
 .store-brand{font-size:20px;gap:6px}
 .store-brand img{width:36px;height:20px}
 .store-nav-links{display:none}
 .cart-open{font-size:12px;padding:8px 10px;min-height:44px;gap:6px}
 .cart-open svg{width:18px;height:18px}
 .cart-open [data-cart-count]{padding:1px 6px}
 .preview-banner{font-size:11px;padding:4px 12px;min-height:24px;justify-content:center;text-align:center}
 .store-intro{padding-block:14px 12px}
 .store-intro h1{font-size:22px;margin-bottom:3px}
 .store-intro p{font-size:12px}
 .store-search{gap:10px;padding-inline:12px;border-radius:9px}
 .store-search input{min-height:46px;padding-block:11px;font-size:16px}
 .store-categories{gap:4px;padding:12px 0 10px}
 .store-categories button{flex-direction:column;gap:5px;border:0;background:transparent;border-radius:8px;padding:7px 1px;font-size:10px;line-height:1.2;min-height:62px}
 .store-categories svg{width:26px;height:26px}
 .store-categories [aria-pressed=true]{background:#eaf0ff;box-shadow:inset 0 -2px #1557ff}
 .store-quick-filters{padding:10px 0;gap:6px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 .store-quick-filters button{padding:7px 3px;font-size:11px;min-height:44px;border-radius:8px;white-space:normal;line-height:1.25}
 .catalogue-tools{gap:8px;margin-bottom:14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
 .store-filters{min-width:0}
 .store-filters summary{font-size:12px;min-height:44px;padding:9px 12px}
 .filter-fields{width:calc(100vw - 32px);padding:16px;gap:12px;max-height:60dvh;overflow-y:auto;overscroll-behavior:contain}
 .filter-fields select{font-size:16px}
 .sort-label{gap:5px!important;font-size:11px!important;min-width:0;justify-content:flex-end}
 .sort-label select{font-size:16px!important;min-width:0;width:100%;padding:9px 7px}
 .results-line{gap:8px;margin-bottom:12px}
 .results-line h2{font-size:18px}
 .results-line p{font-size:12px}
 .store-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .product-card{border-radius:10px}
 .product-card .product-visual{padding:24px 10px 20px;aspect-ratio:1/1}
 .product-placeholder svg{width:72px;height:82px;max-width:100%}
 .product-placeholder span{font-size:9px}
 .product-card .product-body{padding:11px}
 .product-brand{font-size:9px;margin-bottom:4px}
 .product-card h2{font-size:13px;line-height:1.4;margin-bottom:6px}
 .product-highlights{font-size:11px;line-height:1.5;margin-bottom:10px}
 .product-price{font-size:18px;margin-bottom:6px}
 .warranty-badge{font-size:10px;padding:3px 5px}
 .product-code-mini{font-size:9px;margin-block:6px}
 .product-card .button{font-size:12px;padding-inline:4px;min-height:44px;margin-top:4px}
 .condition{font-size:10px;top:8px;left:8px}
 .sample-label{font-size:9px}
 .store-page .store-assist.store-wrap{padding:22px!important;margin-block:28px;gap:18px;align-items:flex-start}
 .catalogue-tools{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:stretch}
 .catalogue-tools .store-filters,.catalogue-tools .sort-label{min-width:0}
 .catalogue-tools .store-filters summary{height:100%;box-sizing:border-box}
 .catalogue-tools .sort-label{gap:6px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)}
 .catalogue-tools .sort-label select{width:100%;max-width:100%;box-sizing:border-box}
 .store-assist h2{font-size:22px}
 .store-assist p{font-size:13px}
 .store-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:40;background:#fff;border-top:1px solid #dce3ed;padding:5px max(8px,env(safe-area-inset-left,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-right,0px));box-shadow:0 -2px 8px #0f172a08}
 .store-bottom-nav a,.store-bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:0;background:transparent;text-decoration:none;color:#526174;font-size:10px;min-height:50px;padding:3px 2px;line-height:1.3;font-weight:500}
 .store-bottom-nav svg{width:21px;height:21px}
 .store-bottom-nav [aria-current=page]{color:#1557ff;font-weight:700}
 .store-toast{bottom:calc(78px + env(safe-area-inset-bottom,0px));font-size:12px}
 .product-breadcrumb{font-size:11px;padding-block:16px;gap:7px}
 .product-information h1{font-size:27px}
 .product-main-image{padding:24px}
 .product-detail{gap:20px}
 .product-detail-sections h2{font-size:21px}
 .specs>div{gap:10px}
 dialog{max-height:calc(100dvh - 24px);padding:18px}
}
@media(max-width:359px){
 .store-brand{font-size:18px;gap:4px}.store-brand img{width:30px;height:17px}
 .cart-open{gap:4px;padding-inline:8px}.cart-open .list-label{font-size:11px}
 .product-card .product-body{padding:9px}.product-price{font-size:16px}
 .store-categories button{font-size:9px}.store-categories svg{width:24px;height:24px}
 .filter-fields{grid-template-columns:minmax(0,1fr)}
}
