:root{--button:var(--ink);--button-ink:#fff;--button-hover:#3b473f;--tint:#edf2ef}
html{scroll-padding-top:108px;scrollbar-gutter:stable}
body{transition:background-color .25s ease,color .25s ease}
body.has-cart{padding-bottom:100px}
.store-header{position:sticky;top:0;z-index:10;box-shadow:0 4px 18px #00000008}
.store-header,.theme-bar,.announcement,.service-strip,.closing-band{transition:background-color .25s ease,border-color .25s ease,color .25s ease}
.header-links a{transition:color .2s}.header-links a:hover{color:var(--accent)}
.cart-trigger{padding:6px 12px;border:1px solid var(--line);border-radius:6px;gap:10px;background:var(--wash);transition:background-color .2s}
.cart-trigger:hover{background:var(--tint)}
.cart-trigger,.store-icon{min-height:44px}
.store-icon{width:44px;height:44px}
.store-button{border-radius:6px;min-height:46px;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.store-button:hover{box-shadow:0 4px 14px #00000012}
.store-button:active,.card-add:active{transform:translateY(1px)}
.collection-heading h2{font-size:26px;font-weight:500}
.collection-toolbar{padding-bottom:20px;gap:20px}
.size-filters{background:var(--wash);padding:4px;border-radius:7px;gap:3px;width:max-content;max-width:100%}
.filter-tab{border-radius:5px;min-height:42px;padding:8px 18px;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.catalog-controls{align-items:center;gap:12px;min-width:0}
.catalog-search{background:var(--wash);border:1px solid var(--line);border-radius:6px;padding:0 13px;min-height:44px;min-width:240px;transition:border-color .2s,box-shadow .2s}
.catalog-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}
.catalog-search input{min-height:42px;font-size:13px;min-width:0}
.catalog-sort select{min-height:44px;border-radius:6px;font-size:12px;padding:8px 12px;max-width:180px}
.product-image-button{border-radius:8px;transition:box-shadow .3s}
.product-image-button:hover{box-shadow:0 8px 24px #0000000e}
.product-image-button>img{transition:transform .65s cubic-bezier(.2,.65,.3,1)}
.product-info{padding-top:17px}
.product-card{display:flex;flex-direction:column}
.product-info{display:flex;flex-direction:column;flex:1}
.product-name-button{font-size:16px;min-height:48px;line-height:1.5}
.product-info-line{margin: auto 0 14px;padding-top:7px}
.product-price{font-size:16px}.product-size{font-size:12px}
.card-bottom{gap:8px;align-items:stretch}
.variant-select{height:44px;border-radius:6px;font-size:13px;padding:8px 10px}
.card-add{min-height:44px;border-radius:6px;font-size:12px;padding:8px 12px;transition:background-color .2s ease,color .2s ease,transform .2s ease}
.stock-label{border-radius:5px;padding:6px 10px}
.product-dialog,.checkout-dialog,.success-dialog{border-radius:8px}
.drawer-heading h2{font-size:21px}.drawer-heading{padding-block:24px}
.dialog-close{border-radius:6px}
.detail-variant,.qty-control{border-radius:6px}
.detail-variant{min-height:44px}
.qty-control{height:46px}.qty-control button{width:36px}
.cart-line .qty-control{height:44px}.cart-line .qty-control button{width:40px}
.cart-line h3{font-size:14px}.cart-line strong{font-size:14px}
.checkout-fields input,.checkout-fields textarea,.checkout-fields select{border-radius:6px;min-height:46px;transition:border-color .2s,box-shadow .2s}
.checkout-fields input:focus,.checkout-fields textarea:focus,.checkout-fields select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}
.checkout-summary,.receipt{border-radius:6px}
.floating-cart{position:fixed;inset-inline-end:24px;bottom:24px;z-index:15;display:flex;align-items:center;gap:14px;width:330px;max-width:calc(100% - 32px);min-height:64px;padding:12px 18px;border:1px solid var(--line);border-radius:8px;background:var(--button);color:var(--button-ink);box-shadow:0 8px 30px #00000025;transition:background-color .2s,box-shadow .2s,transform .2s}
.floating-cart:hover{background:var(--button-hover);box-shadow:0 10px 32px #00000030;transform:translateY(-2px)}
.floating-cart-icon{display:flex;align-items:center;gap:9px;font-size:20px}
.floating-cart .cart-count{background:var(--button-ink);color:var(--button);min-width:22px;font-size:11px}
.floating-cart-label{font-size:13px;font-weight:500;white-space:nowrap}
.floating-cart strong{font:600 16px "DM Sans",sans-serif;margin-inline-start:auto;white-space:nowrap}
.floating-cart>i{font-size:12px}
body:has(dialog[open]) .floating-cart{visibility:hidden}
body.has-cart .store-toast{bottom:102px}
@keyframes store-dialog-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes store-drawer-in{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:translateX(0)}}
@keyframes store-float-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes store-hero-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:no-preference){
    dialog[open]{animation:store-dialog-in .24s ease-out}
    .cart-dialog[open]{animation:store-drawer-in .28s ease-out}
    .floating-cart:not([hidden]){animation:store-float-in .25s ease-out}
    .hero-content{animation:store-hero-in .65s ease-out}
}
@media(max-width:1050px){
    .catalog-search{min-width:160px}
    .catalog-sort select{max-width:155px}
    .filter-tab{padding-inline:12px}
    .collection-toolbar{gap:14px}
    .card-add{padding-inline:8px}
}
@media(max-width:700px){
    html{scroll-padding-top:86px;scrollbar-gutter:auto}
    .cart-trigger{gap:6px;padding:5px 9px}
    .header-tools{min-width:0}
    .collection-heading h2{font-size:22px}
    .collection-toolbar{gap:12px;margin-bottom:24px}
    .size-filters{width:100%}.filter-tab{flex:1;padding-inline:8px;font-size:11px}
    .catalog-controls{gap:8px}.catalog-search{min-width:0;padding-inline:10px;flex:1}
    .catalog-search input{font-size:12px;width:100%}
    .catalog-sort select{max-width:140px;font-size:11px;padding-inline:8px}
    .product-info{padding-top:13px}.product-name-button{font-size:13px;min-height:40px}
    .product-price{font-size:14px}.product-size{font-size:10px}
    .product-info-line{margin-bottom:12px}
    .variant-select{height:42px;font-size:12px}.card-add{min-height:44px;font-size:12px}
    .floating-cart{inset-inline:16px;bottom:calc(14px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;min-height:60px;padding:10px 15px}
    body.has-cart{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
    body.has-cart .store-toast{bottom:calc(90px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{animation:none!important;transition:none!important}
}
