/* ProfPass catalogue — original burgundy palette, glass bevels and tactile surfaces. */
.store,dialog:has(.store-detail),dialog:has(.store-checkout),dialog:has(.store-edit-form){--brand:var(--accent);--surface-2:var(--raised);--store-media:color-mix(in srgb,var(--surface) 72%,var(--soft));--store-art-fill:color-mix(in srgb,var(--raised) 84%,var(--accent));--store-art-stroke:color-mix(in srgb,var(--muted) 90%,var(--ink));--store-success:var(--good,#44775d);--store-glass-edge:rgba(255,255,255,.84);--store-shadow:rgba(50,23,36,.09);--store-bevel-shade:rgba(69,33,50,.08);min-width:0}
[data-theme=dark] .store,[data-theme=dark] dialog:has(.store-detail),[data-theme=dark] dialog:has(.store-checkout),[data-theme=dark] dialog:has(.store-edit-form){--store-media:color-mix(in srgb,var(--surface) 73%,#592b43);--store-art-fill:color-mix(in srgb,var(--raised) 82%,#755165);--store-art-stroke:#b5a9b1;--store-glass-edge:rgba(255,228,241,.15);--store-shadow:rgba(0,0,0,.25);--store-bevel-shade:rgba(0,0,0,.32)}
.store svg:not(.store-art),dialog [class^=store-] svg:not(.store-art){width:20px;height:20px;flex-shrink:0}
.store-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:4px 0 30px}
.store-eyebrow{display:block;color:var(--muted);font-size:.8125rem;font-weight:600;letter-spacing:.14em;line-height:1.5}
.store-heading h1{font-size:clamp(2rem,3.4vw,3.1rem);font-weight:600;letter-spacing:-.055em;line-height:1.1;margin:10px 0 13px}
.store-heading p{color:var(--muted);font-size:.92rem;line-height:1.6;margin:0}
.store-wallet{min-width:207px;flex-shrink:0;padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:17px}
.store-wallet>span{display:block;color:var(--muted);font-size:.8125rem;line-height:1.5}
.store-wallet>span:last-child{font-size:.8125rem;margin-top:4px}
.store-wallet strong{display:block;font-size:1.8rem;font-weight:600;letter-spacing:-.05em;line-height:1.15;margin-top:10px;font-variant-numeric:tabular-nums}
.store-wallet strong small{font-size:.8125rem;letter-spacing:0;font-weight:500;color:var(--muted);margin-left:4px}
.store-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);margin-bottom:24px}
.store-tabs{display:flex;gap:26px;align-self:stretch;min-width:0}
.store-tabs>button{position:relative;display:inline-flex;gap:8px;align-items:center;min-height:52px;padding:0 0 17px;color:var(--muted);background:none;border:0;border-radius:0;font-size:.86rem;font-weight:500;white-space:nowrap}
.store-tabs>button.selected{color:var(--ink)}
.store-tabs>button.selected:after{content:'';position:absolute;inset:auto 0 -1px;height:2px;background:var(--brand);border-radius:2px}
.store-tabs>button span{display:grid;place-items:center;min-width:21px;height:21px;border-radius:6px;background:var(--surface-2);font-size:.8125rem;font-weight:600;padding:0 5px}
.store-nav-actions{display:flex;gap:10px;align-items:center;padding-bottom:14px}
.store-nav-actions .store-add{min-height:38px;padding:8px 12px;font-size:.8125rem;display:inline-flex;align-items:center;gap:7px}
.store-refresh{display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);border-radius:10px;width:38px;height:38px;color:var(--ink);padding:0}
.store-refresh:disabled{opacity:.4;cursor:wait}
.store-tools{display:flex;gap:16px;align-items:center;margin-bottom:22px}
.store-search{display:flex;align-items:center;gap:10px;margin:0;min-width:0;max-width:440px;width:100%;height:46px;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:0 14px;color:var(--muted)}
.store-search input{flex:1;min-width:0;width:100%;height:100%;background:none;border:0;outline:none;box-shadow:none!important;margin:0;padding:0!important;color:var(--ink);font-size:.86rem;border-radius:0}
.store-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 9%,transparent)}
.store-search input:focus{outline:none}
.store-sort{display:flex;gap:12px;align-items:center;margin:0 0 0 auto;white-space:nowrap;color:var(--muted);font-size:.8125rem}
.store-sort select{min-width:170px;max-width:100%;height:42px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);padding:8px 30px 8px 12px;font-size:.8125rem;margin:0}
.store-collection-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;min-width:0}
.store-categories{display:flex;gap:7px;max-width:100%;min-width:0;overflow-x:auto;scrollbar-width:none;padding:2px 0 4px}
.store-categories::-webkit-scrollbar{display:none}
.store-categories>button{white-space:nowrap;flex-shrink:0;background:transparent;border:1px solid var(--line);border-radius:999px;color:var(--muted);padding:9px 14px;line-height:1.3;font-size:.8125rem;font-weight:500;transition:background .15s,color .15s,border-color .15s}
.store-categories>button.selected{background:var(--ink);border-color:var(--ink);color:var(--bg)}
#store-count{flex-shrink:0;color:var(--muted);font-size:.8125rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px;min-width:0}
.store-product{min-width:0;display:flex;flex-direction:column;border:0;background:transparent}
.store-photo{position:relative;display:block;aspect-ratio:4/5;width:100%;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 55%,transparent);border-radius:16px;background:var(--store-media);padding:0;text-align:left;isolation:isolate;transition:border-color .2s}
.store-photo img,.store-detail-photo>img,.store-checkout-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.store-photo img[hidden],.store-detail-photo>img[hidden],.store-checkout-photo>img[hidden]{display:none}
.store-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;gap:12px}
.store-placeholder>span{font-size:.8125rem;font-weight:500;letter-spacing:.04em;color:var(--store-art-stroke);opacity:.85}
.store-photo>img:not([hidden])+.store-placeholder,.store-detail-photo>img:not([hidden])+.store-placeholder,.store-checkout-photo>img:not([hidden])+.store-placeholder{display:none}
.store .store-art,dialog .store-art{width:85%;height:auto;max-height:79%;display:block;flex-shrink:1;overflow:visible}
.store-art g{stroke:var(--store-art-stroke,#77746e);stroke-width:1.5;fill:var(--store-art-fill,#d7d3cb)}
.store-art g .store-art-seam{fill:none;stroke-width:1.1;opacity:.7}
.store-art g .store-art-label{fill:var(--brand);stroke:var(--brand);stroke-width:.6;opacity:.8}
.store-art .store-art-shadow{fill:#000;opacity:.045}
[data-theme=dark] .store-art .store-art-shadow{opacity:.2}
.store-discount{position:absolute;top:14px;left:14px;z-index:1;border-radius:6px;padding:6px 9px;background:var(--surface);color:var(--brand);font-size:.8125rem;font-weight:600;line-height:1}
.store-product-info{padding:15px 1px 0;display:flex;flex-direction:column;flex:1;min-width:0}
.store-product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:.8125rem;line-height:1.5;min-width:0}
.store-product-meta>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.store-stock{flex-shrink:0;color:var(--store-success);white-space:nowrap;font-size:.8125rem}
.store-stock.is-off{color:var(--muted)}
.store-product h2{font-size:1.03rem;font-weight:500;letter-spacing:-.02em;line-height:1.45;margin:7px 0 11px;overflow-wrap:anywhere}
.store-product h2>button{background:none;border:0;padding:0;color:inherit;text-align:left;font:inherit;line-height:inherit;display:block;width:100%}
.store-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.store-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;font-size:1.12rem;font-weight:600;letter-spacing:-.04em;line-height:1.4;font-variant-numeric:tabular-nums}
.store-price small{font-size:.8125rem;font-weight:500;letter-spacing:0;color:var(--muted)}
.store-price del{font-size:.8125rem;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:5px}
.store-product-open{display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--ink);width:36px;height:36px;flex-shrink:0;border-radius:50%;transition:background .2s,color .2s}
.store-edit-link{border:0;border-top:1px solid var(--line);margin-top:13px;padding:12px 0 0;min-height:34px;background:none;text-align:left;font-size:.8125rem;color:var(--muted)}
.store-pickup{display:flex;gap:12px;align-items:center;padding:24px 0;border-top:1px solid var(--line);margin-top:40px;font-size:.82rem;line-height:1.55;color:var(--ink)}
.store-pickup>svg{color:var(--muted)}
.store-pickup small{color:var(--muted);font-size:.8125rem}
.store-empty{grid-column:1/-1;text-align:center;border:1px dashed var(--line);border-radius:17px;padding:64px 24px;background:var(--surface)}
.store-empty>svg{width:36px;height:36px;color:var(--muted);margin:0 auto 20px}
.store-empty h2{font-size:1.3rem;letter-spacing:-.025em;font-weight:500;margin:0 0 10px}
.store-empty p{max-width:390px;color:var(--muted);font-size:.85rem;line-height:1.7;margin:0 auto}
.store-empty .secondary{margin-top:22px}
.store-error{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:14px 18px;border:1px solid color-mix(in srgb,var(--brand) 30%,var(--line));background:color-mix(in srgb,var(--brand) 5%,var(--surface));border-radius:11px;font-size:.85rem;line-height:1.5;margin:0 0 20px}
.store-error .textbtn{flex-shrink:0}
.store-skeleton{padding-top:4px}
.store-skeleton-card{min-width:0}
.store-skeleton-card>div{aspect-ratio:4/5;border-radius:16px;background:var(--surface-2)}
.store-skeleton-card>span{display:block;width:80%;height:15px;margin-top:17px;border-radius:4px;background:var(--surface-2)}
.store-skeleton-card>span:last-child{width:43%;margin-top:10px}
@media(prefers-reduced-motion:no-preference){:root:not([data-motion=reduced]) .store-skeleton-card{animation:store-loading 1.6s ease-in-out infinite alternate}}
@keyframes store-loading{from{opacity:.55}to{opacity:1}}
/* Product sheets and checkout */
dialog:has(.store-detail){width:min(900px,calc(100vw - 40px));max-width:900px;padding:0;overflow-x:hidden}
dialog:has(.store-detail)>.close{z-index:3;background:var(--surface);border:1px solid var(--line);box-shadow:none}
.store-detail{display:grid;grid-template-columns:1fr 1.04fr;min-width:0}

.store-detail-photo{position:relative;min-height:510px;background:var(--store-media);overflow:hidden}
.store-detail-info{padding:48px 32px 28px;min-width:0}
.store-detail-info>.store-eyebrow{padding-right:15px}
.store-detail-info>h2{font-size:1.8rem;letter-spacing:-.045em;line-height:1.2;margin:13px 0 15px;font-weight:550;overflow-wrap:anywhere}
.store-detail-stock{font-size:.8125rem;color:var(--store-success,#43664d);display:inline-flex;align-items:center;gap:7px}
.store-detail-stock:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.store-detail-stock.is-off{color:var(--muted)}
.store-description{font-size:.86rem;line-height:1.8;color:var(--muted);white-space:pre-wrap;margin:22px 0;overflow-wrap:anywhere}
.store-detail-price{font-size:1.85rem;line-height:1.3;font-weight:550;letter-spacing:-.04em;margin:22px 0;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.store-detail-price small{font-size:.86rem;letter-spacing:0;font-weight:400;color:var(--muted)}
.store-detail-price del{font-size:.85rem;letter-spacing:0;font-weight:400;color:var(--muted);margin-left:8px}
.store-quantity-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:20px}
.store-quantity-row>label{font-size:.82rem;margin:0;color:var(--ink);font-weight:400}
.store-stepper{display:flex;align-items:center;height:42px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}
.store-stepper button{width:36px;height:40px;padding:0;display:grid;place-items:center;border:0;border-radius:0;background:none;color:var(--ink)}
.store-stepper button svg{width:16px;height:16px}
.store-stepper button:disabled{opacity:.3}
.store-stepper input{height:40px;width:36px!important;min-width:0;border:0;border-radius:0;margin:0;padding:0!important;font-size:.86rem;text-align:center;background:none;color:var(--ink);appearance:textfield;box-shadow:none}
.store-stepper input::-webkit-inner-spin-button,.store-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.store-quantity-note{min-height:20px;margin:13px 0 17px;font-size:.8125rem;color:var(--muted);line-height:1.6}
.store-buy{font-size:.86rem!important;min-height:48px}
.store-detail-footer{display:flex;align-items:center;justify-content:center;gap:7px;font-size:.8125rem;color:var(--muted);margin-top:17px}
.store-detail-footer>svg{width:16px!important;height:16px!important}
.store-checkout{padding-top:6px;min-width:0}
.store-checkout>h2{margin:12px 30px 24px 0;line-height:1.2}
.store-checkout>p{font-size:.87rem;color:var(--muted);line-height:1.7}
.store-checkout-product{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding-bottom:23px;margin-bottom:23px}
.store-checkout-photo{position:relative;width:80px;height:96px;flex-shrink:0;overflow:hidden;border-radius:10px;background:var(--store-media)}
.store-checkout-photo .store-placeholder{gap:0}
.store-checkout-photo .store-placeholder>span{display:none}
.store-checkout-photo .store-art{width:94%;max-height:92%}
.store-checkout-product h3{font-size:1rem;line-height:1.4;font-weight:500;margin:0 0 9px;overflow-wrap:anywhere}
.store-checkout-product p{color:var(--muted);font-size:.8125rem;margin:0}
.store-receipt{margin:0 0 24px;display:grid;gap:14px}
.store-receipt>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;min-width:0;font-size:.85rem}
.store-receipt dt{color:var(--muted)}
.store-receipt dd{font-weight:550;text-align:right;margin:0;flex-shrink:0;font-variant-numeric:tabular-nums}
.store-error-text{color:var(--brand)!important;font-size:.8125rem;line-height:1.5;margin:0 0 14px}
.store-error-text:empty{display:none}
.store-checkout .store-checkout-note{text-align:center;font-size:.8125rem;color:var(--muted);line-height:1.6;margin:16px 0 0}
.store-checkout>.secondary{margin-top:10px}
.store-edit-form,.store-status-form{padding-top:8px}
.store-edit-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.store-edit-prices>div{min-width:0}
.store-edit-prices label{font-size:.8125rem}
.store-edit-form .store-field-help{font-size:.8125rem;color:var(--muted);line-height:1.65;margin:10px 0 18px}
.store-edit-options{display:grid;gap:12px;margin:20px 0 25px}
.store-edit-options label{display:flex;align-items:center;gap:10px;font-size:.83rem;margin:0}
.store-edit-options input{width:18px;height:18px;margin:0;padding:0;flex-shrink:0;accent-color:var(--brand)}
/* Order list */
.store-orders{display:grid;gap:18px;max-width:900px}
.store-order{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:22px 24px}
.store-order>header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px;font-size:.8125rem;color:var(--muted);line-height:1.5}
.store-order-status{display:inline-flex;white-space:nowrap;border-radius:6px;padding:5px 9px;background:var(--surface-2);color:var(--ink);font-size:.8125rem;font-weight:500}
.store-order-status.status-ready,.store-order-status.status-issued{background:color-mix(in srgb,var(--store-success) 10%,var(--surface));color:var(--store-success)}
.store-order-status.status-cancelled,.store-order-status.status-returned{color:var(--muted)}
.store-order-main{display:flex;align-items:center;gap:16px;min-width:0;margin-bottom:22px}
.store-order-symbol{display:grid;place-items:center;background:var(--surface-2);color:var(--muted);border-radius:12px;width:52px;height:60px;flex-shrink:0}
.store-order-symbol svg{width:24px;height:24px}
.store-order-main>div:nth-child(2){min-width:0;flex:1}
.store-order-main h2{font-size:1rem;font-weight:500;letter-spacing:-.02em;line-height:1.4;margin:0 0 6px;overflow-wrap:anywhere}
.store-order-main p{font-size:.8125rem;color:var(--muted);line-height:1.5;margin:0}
.store-order-main>strong{font-size:1.15rem;font-weight:550;white-space:nowrap;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.store-order-main>strong small{font-size:.8125rem;color:var(--muted);font-weight:400;letter-spacing:0}
.store-order>details{border-top:1px solid var(--line);padding-top:15px;font-size:.8125rem}
.store-order>details summary{display:flex;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;color:var(--muted)}
.store-order>details summary::-webkit-details-marker{display:none}
.store-order>details summary>span{font-size:1rem;line-height:1;transition:transform .18s}
.store-order>details[open] summary>span{transform:rotate(45deg)}
.store-order-timeline{list-style:none;padding:22px 0 3px;margin:0;display:grid;gap:21px}
.store-order-timeline li{display:flex;gap:13px;position:relative}
.store-order-timeline li>span{position:relative;z-index:1;width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--brand);margin:6px 0 0 2px}
.store-order-timeline li:not(:last-child):after{content:'';position:absolute;top:14px;bottom:-25px;left:5px;width:1px;background:var(--line)}
.store-order-timeline strong{font-size:.8125rem;font-weight:500;display:block}
.store-order-timeline time{font-size:.8125rem;color:var(--muted);display:block;margin-top:5px}
.store-order-timeline p{font-size:.8125rem;line-height:1.5;color:var(--muted);margin:7px 0 0}
.store-order-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.store-order-actions>button{font-size:.8125rem;min-height:40px}
@media(hover:hover){.store-photo:hover img{transform:scale(1.035)}.store-photo:hover{border-color:color-mix(in srgb,var(--ink) 30%,var(--line))}.store-product-open:hover{background:var(--ink);color:var(--bg)}.store-categories>button:not(.selected):hover{background:var(--surface)}.store-edit-link:hover{color:var(--brand)}}
@media(min-width:1450px){.store-grid{gap:34px 28px}}
@media(max-width:1050px) and (min-width:761px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-heading{gap:20px}.store-wallet{min-width:180px;padding:18px}.store-sort>span{display:none}.store-product-meta{font-size:.8125rem}.store-stock{font-size:.8125rem}}
@media(max-width:760px){
 .store-heading{align-items:flex-start;gap:18px;padding:0 0 24px}.store-heading>div:first-child{min-width:0}.store-heading .store-eyebrow{font-size:.8125rem;letter-spacing:.11em}.store-heading h1{font-size:2.2rem;margin:9px 0 10px}.store-heading p{font-size:.8125rem;line-height:1.6;max-width:235px}.store-wallet{min-width:0;padding:12px 14px;border-radius:12px;margin-top:3px}.store-wallet>span:first-child{font-size:.8125rem;max-width:105px}.store-wallet strong{font-size:1.25rem;white-space:nowrap;margin-top:7px}.store-wallet strong small{font-size:.8125rem;margin-left:1px}.store-wallet>span:last-child{display:none}
 .store-nav{margin-bottom:19px;gap:10px}.store-tabs{gap:22px}.store-tabs>button{font-size:.82rem;min-height:44px;padding-bottom:14px}.store-tabs>button span{font-size:.8125rem;min-width:19px;height:19px}.store-nav-actions{gap:6px;padding-bottom:10px}.store-nav-actions .store-add{width:34px;height:34px;padding:0;min-height:34px;display:grid;place-items:center;border-radius:9px}.store-add>span{display:none}.store-refresh{width:34px;height:34px;border-radius:9px}.store-refresh svg{width:17px;height:17px}
 .store-tools{gap:10px;margin-bottom:17px}.store-search{height:44px;padding:0 11px;gap:7px;flex:1}.store-search>svg{width:17px;height:17px}.store-search input{font-size:16px}.store-sort{flex-shrink:0;margin-left:0}.store-sort>span{display:none}.store-sort select{width:138px;min-width:0;height:44px;padding:8px 21px 8px 10px;font-size:.8125rem}
 .store-collection-bar{margin-bottom:18px;gap:0;display:block}.store-categories{gap:7px;margin-right:-2px;padding-bottom:4px}.store-categories>button{font-size:.8125rem;padding:8px 12px;min-height:34px}#store-count{display:block;font-size:.8125rem;margin-top:12px}
 .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.store-photo{border-radius:12px;aspect-ratio:4/5}.store-placeholder{gap:8px}.store-placeholder>span{font-size:.8125rem}.store-discount{left:9px;top:9px;border-radius:5px;padding:5px 7px;font-size:.8125rem}.store-product-info{padding-top:12px}.store-product-meta{display:block;font-size:.8125rem}.store-product-meta>span:first-child{display:block}.store-stock{display:block;font-size:.8125rem;line-height:1.5;margin-top:3px}.store-product h2{font-size:.9rem;line-height:1.45;margin:7px 0 10px}.store-product-bottom{gap:3px}.store-price{font-size:.99rem;gap:4px}.store-price small{font-size:.8125rem}.store-price del{font-size:.8125rem;margin-left:0}.store-product-open{width:32px;height:32px}.store-product-open svg{width:17px;height:17px}.store-edit-link{font-size:.8125rem;padding-top:10px;margin-top:10px;line-height:1.5}.store-pickup{margin-top:30px;padding:20px 0;font-size:.8125rem;gap:10px}.store-pickup small{font-size:.8125rem}.store-empty{padding:44px 20px;border-radius:13px}.store-empty h2{font-size:1.14rem}.store-empty p{font-size:.8125rem}.store-empty>svg{width:30px;height:30px}.store-error{font-size:.8125rem;padding:12px 14px;gap:12px}.store-skeleton-card>div{border-radius:12px}
 dialog:has(.store-detail){width:calc(100vw - 20px);max-height:calc(100dvh - 24px);margin:auto;border-radius:20px}.store-detail{display:block}.store-detail-photo{min-height:0;aspect-ratio:5/4;max-height:360px}.store-detail-photo .store-art{max-height:83%;width:70%}.store-detail-info{padding:25px 22px 24px}.store-detail-info>h2{font-size:1.6rem;margin:11px 0 12px}.store-description{font-size:.85rem;margin:18px 0;line-height:1.75}.store-detail-price{font-size:1.65rem;margin:18px 0}.store-quantity-row{padding-top:17px}.store-quantity-row>label{font-size:.84rem}.store-stepper{height:44px}.store-stepper button{width:40px;height:42px}.store-stepper input{font-size:16px;height:42px;width:40px!important}.store-quantity-note{font-size:.8125rem;margin:12px 0 16px}.store-detail-footer{font-size:.8125rem}.store-buy{min-height:48px!important}.store-checkout-product{gap:14px}.store-checkout-photo{width:68px;height:84px}.store-checkout-product h3{font-size:.93rem}.store-checkout-product p{font-size:.8125rem}.store-receipt>div{font-size:.8125rem;gap:12px}.store-checkout>.store-checkout-note{font-size:.8125rem}.store-edit-prices{gap:8px}.store-edit-prices label{font-size:.8125rem}.store-edit-prices input{padding-left:9px!important;padding-right:9px!important}.store-edit-options label{font-size:.83rem}
 .store-orders{gap:14px}.store-order{padding:18px 16px;border-radius:13px}.store-order>header{font-size:.8125rem;gap:10px;margin-bottom:18px}.store-order-status{font-size:.8125rem;padding:5px 7px}.store-order-main{gap:12px;flex-wrap:wrap}.store-order-symbol{width:44px;height:52px;border-radius:10px}.store-order-main h2{font-size:.88rem}.store-order-main p{font-size:.8125rem}.store-order-main>strong{font-size:1rem;margin-left:56px;margin-top:-3px;flex-basis:100%}.store-order-main>strong small{font-size:.8125rem}.store-order>details{font-size:.8125rem}.store-order-actions{gap:8px;margin-top:18px}.store-order-actions button{font-size:.8125rem;min-height:40px}
}
@media(max-width:350px){.store-heading{gap:10px}.store-heading h1{font-size:1.95rem}.store-heading p{font-size:.8125rem}.store-wallet{padding:11px 10px}.store-wallet>span:first-child{font-size:.8125rem;max-width:90px}.store-wallet strong{font-size:1.15rem}.store-tools{flex-wrap:wrap;gap:8px}.store-search{flex-basis:100%;max-width:none}.store-sort{margin-left:auto}.store-sort select{height:38px;width:155px}.store-sort>span{display:block;font-size:.8125rem}.store-grid{gap:22px 11px}.store-product h2{font-size:.84rem}.store-product-bottom{align-items:flex-end}.store-price{font-size:.91rem}.store-product-open{width:29px;height:29px}.store-price del{display:block;flex-basis:100%}.store-tabs{gap:17px}.store-tabs>button{font-size:.8125rem}.store-edit-prices{grid-template-columns:1fr 1fr}.store-edit-prices>div:last-child{grid-column:1/-1}.store-order>header{align-items:flex-start}.store-order-status{white-space:normal;text-align:right}}
:root[data-motion=reduced] .store *{animation:none!important;transition:none!important}

@media(max-width:760px){.store-order>header{align-items:flex-start;flex-wrap:wrap}.store-order-status{white-space:normal;max-width:55%;text-align:right}.store-sort select{width:155px}.store-wallet>span:first-child{max-width:115px}}
.store-search input,.store-stepper input{min-height:0}

/* Material refinement. These surfaces follow the existing ProfPass chrome. */
.store-wallet{
 position:relative;isolation:isolate;overflow:hidden;border-radius:22px;
 border-color:color-mix(in srgb,var(--accent) 14%,var(--line));
 background:radial-gradient(ellipse at 5% 0%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 72%),linear-gradient(150deg,color-mix(in srgb,var(--surface) 98%,white),color-mix(in srgb,var(--surface) 91%,var(--raised)));
 box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -2px 3px var(--store-bevel-shade),0 11px 28px var(--store-shadow);
}
.store-wallet:after{content:'';position:absolute;width:145px;height:185px;right:-65px;top:-50px;border:1px solid color-mix(in srgb,var(--accent) 12%,transparent);border-radius:45%;rotate:25deg;pointer-events:none;z-index:-1}
.store-wallet strong{color:var(--ink);text-shadow:0 1px 0 var(--store-glass-edge)}
.store-nav{border-bottom:0;padding:0 0 10px;margin-bottom:20px}
.store-tabs{padding:4px;gap:3px;background:color-mix(in srgb,var(--raised) 72%,transparent);border:1px solid color-mix(in srgb,var(--line) 72%,transparent);border-radius:15px;box-shadow:inset 0 1px 3px var(--store-bevel-shade)}
.store-tabs>button{min-height:40px;padding:10px 17px;border-radius:11px;transition:color .25s,background .35s,box-shadow .35s}
.store-tabs>button.selected{color:var(--accent);background:linear-gradient(155deg,var(--surface),color-mix(in srgb,var(--surface) 83%,var(--soft)));box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -1px 2px var(--store-bevel-shade),0 3px 8px var(--store-shadow)}
.store-tabs>button.selected:after{display:none}
.store-nav-actions{padding-bottom:0}
.store-refresh,.store-search,.store-sort select,.store-stepper{
 background:linear-gradient(155deg,color-mix(in srgb,var(--surface) 95%,white),color-mix(in srgb,var(--surface) 90%,var(--raised)));
 border-color:color-mix(in srgb,var(--line) 85%,transparent);
 box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -1px 2px var(--store-bevel-shade),0 3px 10px color-mix(in srgb,var(--store-shadow) 30%,transparent);
}
.store-search{border-radius:14px}.store-sort select{border-radius:13px}.store-refresh{border-radius:13px}
.store-categories{padding:4px 2px 6px}
.store-categories>button{background:color-mix(in srgb,var(--surface) 60%,transparent);border-color:color-mix(in srgb,var(--line) 80%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--store-glass-edge) 70%,transparent);transition:color .25s,border-color .25s,background .35s,box-shadow .35s}
.store-categories>button.selected{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 25%,var(--line));background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 85%,var(--soft)),var(--soft));box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -1px 2px var(--store-bevel-shade),0 4px 9px var(--store-shadow)}
.store-grid{gap:24px 20px;perspective:1400px}
.store-product{
 position:relative;isolation:isolate;overflow:hidden;padding:9px;border-radius:26px;border:1px solid color-mix(in srgb,var(--line) 74%,transparent);
 background:linear-gradient(155deg,color-mix(in srgb,var(--surface) 98%,white),color-mix(in srgb,var(--surface) 92%,var(--raised)));
 box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -2px 3px var(--store-bevel-shade),0 12px 26px color-mix(in srgb,var(--store-shadow) 65%,transparent);
 transition:border-color .4s,box-shadow .45s var(--ease);
}
.store-photo{
 --store-light-x:32%;--store-light-y:14%;
 border-radius:19px;border-color:color-mix(in srgb,var(--line) 68%,transparent);
 background:radial-gradient(ellipse at var(--store-light-x) var(--store-light-y),color-mix(in srgb,var(--surface) 75%,transparent),transparent 62%),linear-gradient(145deg,var(--store-media),color-mix(in srgb,var(--store-media) 84%,var(--raised)));
 box-shadow:inset 0 1px 2px var(--store-glass-edge),inset 0 -3px 6px var(--store-bevel-shade),0 1px 2px var(--store-shadow);
 transition:transform .55s var(--ease),border-color .4s,box-shadow .4s;
}
.store-photo:before{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;background:linear-gradient(122deg,transparent 22%,rgba(255,255,255,.09) 43%,rgba(255,255,255,.23) 49%,transparent 66%);opacity:.35;translate:-30% 0;transition:translate 1.1s var(--ease),opacity .7s}
.store-photo:after{content:'';position:absolute;inset:1px;border:1px solid color-mix(in srgb,var(--store-glass-edge) 65%,transparent);border-bottom-color:transparent;border-radius:inherit;pointer-events:none;z-index:2}
.store .store-photo .store-art,dialog .store-placeholder .store-art{width:85%;height:auto;aspect-ratio:1;max-height:79%;flex-shrink:1}
.store-art{filter:drop-shadow(0 5px 5px var(--store-bevel-shade));transition:transform .7s var(--ease),filter .7s}
.store-photo img{transition:transform .85s var(--ease)}
.store-product-info{padding:18px 13px 13px}
.store-product h2{font-size:1.08rem;font-weight:550;letter-spacing:-.025em}
.store-product-open{
 color:var(--accent);border-color:color-mix(in srgb,var(--accent) 19%,var(--line));
 background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--soft) 60%,var(--surface)));
 box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -1px 2px var(--store-bevel-shade),0 4px 10px var(--store-shadow);
 transition:transform .35s var(--ease),color .25s,background .25s,box-shadow .35s;
}
.store-discount{background:color-mix(in srgb,var(--surface) 86%,transparent);border:1px solid var(--store-glass-edge);backdrop-filter:blur(10px);box-shadow:0 3px 10px var(--store-shadow);border-radius:8px;z-index:3}
.store-empty,.store-order{border-style:solid;background:linear-gradient(150deg,var(--surface),color-mix(in srgb,var(--surface) 93%,var(--raised)));box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -1px 2px var(--store-bevel-shade),0 9px 25px color-mix(in srgb,var(--store-shadow) 45%,transparent);border-radius:22px}
.store-empty>svg{color:var(--accent)}
.store-detail-photo{background:radial-gradient(ellipse at 20% 5%,color-mix(in srgb,var(--surface) 75%,transparent),transparent 65%),linear-gradient(145deg,var(--store-media),color-mix(in srgb,var(--store-media) 80%,var(--raised)));box-shadow:inset 0 1px 1px var(--store-glass-edge),inset -1px 0 2px var(--store-bevel-shade)}
.store-detail-info{background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--surface) 96%,var(--soft)))}
dialog:has(.store-detail){border-radius:28px;border:1px solid color-mix(in srgb,var(--line) 76%,var(--store-glass-edge));box-shadow:inset 0 1px 1px var(--store-glass-edge),0 30px 100px #170c2452}
dialog:has(.store-detail)>.close{background:color-mix(in srgb,var(--surface) 85%,transparent);backdrop-filter:blur(14px);box-shadow:inset 0 1px 1px var(--store-glass-edge),0 5px 15px var(--store-shadow)}
.store-checkout-photo{box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -2px 4px var(--store-bevel-shade)}
dialog .store-checkout-photo .store-art{width:94%;height:auto;max-height:92%}
.store-detail .store-buy,.store-checkout>.primary,.store-edit-form>.primary{border:1px solid #cc6d8859!important;background:linear-gradient(155deg,#a93556,#792849)!important;color:#fff!important;box-shadow:inset 0 1px 1px #ffdce860,inset 0 -2px 3px #3e173c45,0 9px 22px #6a17351c!important;border-radius:15px}
.store .primary,.store .secondary,.store-checkout .primary,.store-checkout .secondary,.store-edit-form .primary{font-size:13px;min-height:42px}
.store-checkout label,.store-edit-form label{font-size:13px}
.store-search input,.store-stepper input{min-height:0!important}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 :root:not([data-motion=reduced]) .store-product:hover{border-color:color-mix(in srgb,var(--accent) 22%,var(--line));box-shadow:inset 0 1px 1px var(--store-glass-edge),inset 0 -2px 3px var(--store-bevel-shade),0 20px 38px var(--store-shadow)}
 :root:not([data-motion=reduced]) .store-product:hover .store-photo{transform:translateY(-2px)}
 :root:not([data-motion=reduced]) .store-product:hover .store-photo:before{translate:40% 0;opacity:.8}
 :root:not([data-motion=reduced]) .store-product:hover .store-photo img{transform:scale(1.035)}
 :root:not([data-motion=reduced]) .store-product:hover .store-art{transform:translateY(-4px) rotate(-2deg);filter:drop-shadow(0 10px 7px var(--store-bevel-shade))}
 :root:not([data-motion=reduced]) .store-product-open:hover{transform:translateX(2px);box-shadow:inset 0 1px 1px var(--store-glass-edge),0 6px 16px var(--store-shadow)}
}
@media(max-width:760px){
 .store-heading{gap:17px;padding-bottom:25px}.store-heading h1{font-size:2.1rem;margin-top:9px}.store-heading p{font-size:13px;line-height:1.65}.store-eyebrow{font-size:11px;letter-spacing:.12em}
 .store-wallet{border-radius:19px;padding:16px 15px;min-width:133px}.store-wallet>span,.store-wallet>span:last-child{font-size:13px}.store-wallet strong{font-size:1.45rem}
 .store-nav{padding-bottom:4px;margin-bottom:20px;gap:10px}.store-tabs{gap:2px;border-radius:14px}.store-tabs>button{font-size:13px;min-height:39px;padding:10px 12px;border-radius:10px}.store-tabs>button span{font-size:13px}.store-nav-actions{padding-bottom:0}
 .store-search,.store-sort select{border-radius:12px}.store-sort select{font-size:13px;width:136px}.store-search input{font-size:16px}.store-categories>button{font-size:13px;padding:9px 13px}
 .store-grid{gap:16px 12px}.store-product{border-radius:20px;padding:6px}.store-photo{border-radius:15px;aspect-ratio:4/5}.store-photo:before{opacity:.22}.store-product-info{padding:13px 8px 10px}.store-product-meta,.store-stock{font-size:13px}.store-product h2{font-size:15px;line-height:1.4;margin:8px 0 12px}.store-price{font-size:17px;letter-spacing:-.04em;gap:3px}.store-price small,.store-price del{font-size:13px}.store-product-bottom{gap:4px;align-items:flex-end}.store-product-open{width:31px;height:31px}.store-discount{left:8px;top:8px;font-size:13px}.store-placeholder>span{font-size:13px}.store-edit-link{font-size:13px}.store-photo .store-art{max-height:75%}
 .store-detail-info{padding:26px 22px}.store-detail-info>h2{font-size:26px}.store-description{font-size:14px;line-height:1.75}.store-detail-stock,.store-detail-footer,.store-quantity-note{font-size:13px}.store-detail-photo{aspect-ratio:5/4;min-height:0}.store-detail-photo .store-placeholder .store-art{width:70%;height:auto;max-height:83%}dialog:has(.store-detail){border-radius:25px;max-width:calc(100% - 20px);max-height:calc(100dvh - 24px);margin:auto}
 .store-detail .store-buy{font-size:14px!important;min-height:48px!important}.store-checkout-product p,.store-receipt>div,.store-checkout>.store-checkout-note,.store-checkout>p{font-size:13px}.store-edit-prices input{font-size:16px}.store-order{border-radius:20px}
}
@media(max-width:360px){.store-product-info{padding-left:5px;padding-right:5px}.store-grid{gap:15px 10px}.store-price{font-size:16px}.store-product-open{width:27px;height:29px}.store-tabs>button{padding:9px 10px}.store-wallet{min-width:118px;padding:15px 12px}.store-heading{gap:13px}.store-heading h1{font-size:1.9rem}.store-sort select{width:122px}.store-product h2{font-size:14px}.store-stock,.store-product-meta,.store-placeholder>span{font-size:13px}}
@media(prefers-reduced-motion:reduce){.store *,.store *:before,.store *:after{animation:none!important;transition:none!important}}
:root[data-motion=reduced] .store *,:root[data-motion=reduced] .store *:before,:root[data-motion=reduced] .store *:after{animation:none!important;transition:none!important}
