.storefront-body form.product-layout:has(.store-cart){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(245px,.8fr) 175px;gap:20px}
.store-cart{position:sticky;top:16px;align-self:start;min-width:0;border-left:1px solid #e1e6e2;padding:12px;background:#fff;font-size:12px}
.store-cart h2{font-size:14px;margin:0 0 10px}.store-cart small{font-size:11px;color:#65716b}.store-cart-total{display:block;font-size:20px;font-weight:700;color:#ac5700;margin:3px 0 10px}
.store-cart-next{display:block;text-align:center;border-radius:9px;background:#7aec14;color:#173812;padding:11px 5px;font-size:12px;text-decoration:none;font-weight:600}.store-cart-next:hover{background:#6ddd10}
[data-cart-items]{max-height:65dvh;overflow-y:auto}.store-cart-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;border-top:1px solid #e7ece7;padding:12px 0}.store-cart-thumb{height:42px;width:42px;object-fit:contain;background:#f3f5f2;border-radius:6px}.store-cart-item h3{font-size:12px;margin:0 0 2px;line-height:1.3}.store-cart-item small{display:block}.store-cart-item b{display:block;font-size:12px;margin:4px 0}.store-cart-controls{display:flex;align-items:center;gap:2px}.store-cart-controls small{margin-right:auto}.store-cart .store-cart-controls button{min-width:28px;min-height:28px;width:28px;height:28px;padding:5px;border:0;border-radius:6px;background:transparent;color:#596c62}.store-cart-controls svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:var(--ui-icon-stroke,2);stroke-linecap:round;stroke-linejoin:round}.store-cart-controls button:hover{background:#fff09a}.store-cart-controls button[data-remove]:hover{background:#c32736;color:#fff}
.cart-art-review{width:min(720px,94vw);max-height:90dvh;border:0;border-radius:16px;padding:20px}.cart-art-review::backdrop{background:#18332877}.cart-review-item{padding:12px 0;border-bottom:1px solid #e2e6e2}.cart-review-item img{display:block;max-height:42dvh;width:100%;object-fit:contain;background:#f5f6f3}.cart-review-item label{display:flex;gap:10px;align-items:center;margin:10px 0}.cart-review-item input{width:18px;height:18px;accent-color:#319740}.cart-review-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.checkout-shell{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px}.checkout-shell .store-cart-next{display:none}.store-cart [hidden]{display:none!important}
@media(max-width:1250px){.storefront-body form.product-layout:has(.store-cart){grid-template-columns:minmax(0,1fr) minmax(0,1fr) 265px}.store-cart{grid-column:1/-1;position:static;border:1px solid #e1e6e2;border-radius:12px}[data-cart-items]{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.store-cart-next{max-width:200px;margin-left:auto}}
@media(max-width:1100px){.storefront-body form.product-layout:has(.store-cart),.checkout-shell{grid-template-columns:1fr}.store-cart{grid-column:auto}.store-cart .store-cart-controls{justify-content:flex-start;gap:3px;flex-wrap:wrap}.store-cart .store-cart-controls small{margin-right:0}.store-cart .store-cart-controls button{min-width:36px;min-height:36px;width:36px;height:36px}}

.store-cart .store-cart-controls button{padding:5px!important;gap:0!important;justify-content:center}.store-cart-controls svg{flex-shrink:0}.store-cart-controls small{white-space:nowrap}.store-cart .store-cart-controls button{min-width:26px;width:26px}.store-cart [data-cart-status]:empty{display:none}

.store-header .store-header-cart{position:relative;display:flex;align-items:center;gap:8px;flex-shrink:0;padding:12px 10px;color:#244d3e;text-decoration:none;min-height:48px;border-radius:10px;font-size:13px;font-weight:600}.store-header-cart>svg{width:27px;height:27px;flex-shrink:0}.store-header-cart [data-cart-count]{position:absolute;top:0;left:27px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border-radius:10px;background:#e6f7db;color:#246121;font-size:11px;font-weight:700}.store-header-cart:hover{background:#f1f6ee}.store-header-cart:focus-visible,.store-cart:focus-visible{outline:2px solid #2f7e41;outline-offset:3px}.store-header-cart-label{margin-left:3px}@media(max-width:1100px){.store-header-cart-label{display:none}.store-header .store-header-cart{margin-left:auto;padding:10px;order:2}.store-header .store-search{order:3;flex-basis:100%}}

/* Product cart: continuous compact rail, with independently scrolling products. */
form.product-layout .store-cart{background:#fafbf9}
form.product-layout .store-cart [data-cart-status]{color:#788078;font-size:11px;line-height:1.55;margin:12px 0}
form.product-layout .store-cart.cart-empty [data-cart-status]{text-align:center;padding:20px 4px;max-width:135px;margin:12px auto}
form.product-layout .store-cart.cart-empty [data-cart-status]::before{content:"";display:block;width:38px;height:38px;margin:0 auto 12px;background:#e9eee7;mask:url("/lucide-shopping-cart.svg?v=1") center/contain no-repeat}
form.product-layout .store-cart-item{grid-template-columns:1fr;gap:8px;padding:14px 0;border-color:#e5e9e2}
form.product-layout .store-cart-thumb{width:100%;height:auto;aspect-ratio:1;display:grid;place-items:center;object-fit:contain;background:#f1f1f1;border-radius:9px;color:#84917d;font-size:24px}
form.product-layout .store-cart-item h3{font-weight:500;font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
form.product-layout .store-cart-item b{font-size:13px;color:#283d2d;margin:7px 0 4px}
form.product-layout .store-cart-controls{border-top:0;margin-top:1px;padding-top:0}
form.product-layout .store-cart-total{font-size:21px;color:#293d2e;letter-spacing:-.5px;margin:5px 0 12px}
form.product-layout .store-cart-next{border-radius:8px;padding:10px 6px;font-size:11px;box-shadow:0 2px 3px #2441190a}
@media(min-width:1280px){
.storefront-body:has(form.product-layout .store-cart){padding-right:164px}
.storefront-body form.product-layout:has(.store-cart){grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(245px,.8fr);gap:20px}
form.product-layout .store-cart{position:fixed;right:0;top:0;bottom:0;width:164px;box-sizing:border-box;padding:103px 14px 14px;border-left:1px solid #e1e6dd;border-radius:0;z-index:10;display:flex;flex-direction:column;overflow:hidden;box-shadow:-3px 0 12px #21311a03}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart{position:fixed;right:14px;top:27px;width:136px;height:54px;box-sizing:border-box;justify-content:center;z-index:11;border-radius:0;background:transparent;border-bottom:1px solid #e1e6dd;font-size:12px;padding:8px 0 14px}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart>svg{width:23px;height:23px}
form.product-layout .store-cart h2{display:none}
form.product-layout .store-cart [data-cart-items]{min-height:0;overflow:auto;max-height:none;display:block;scrollbar-width:thin;scrollbar-color:#d4ddcd transparent;margin-top:12px}
form.product-layout .store-cart [data-cart-total],form.product-layout .store-cart-next{flex-shrink:0}
}
@media(max-width:1279px){form.product-layout .store-cart-item{grid-template-columns:64px minmax(0,1fr);gap:12px}form.product-layout .store-cart-thumb{height:auto;aspect-ratio:1}form.product-layout .store-cart.cart-empty [data-cart-status]{max-width:none;padding:0;margin:0;text-align:left}form.product-layout .store-cart.cart-empty [data-cart-status]::before{display:none}}

/* Rounded floating product cart, linked to the header with a pointer. */
form.product-layout .store-cart{border:1px solid #e3e8df;border-radius:18px;background:#fff;box-shadow:0 8px 28px #2536200b}
.store-cart .cart-collapse{display:grid;place-items:center;margin:0 0 8px auto;width:28px;height:28px;min-height:28px;padding:5px!important;border:0;border-radius:50%;background:#f1f4ee;color:#65755d;cursor:pointer}
.store-cart .cart-collapse:hover{background:#fff0a0;color:#926000}.cart-collapse svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:var(--ui-icon-stroke,2);stroke-linecap:round;stroke-linejoin:round}
.store-cart .cart-collapse:focus-visible{outline:2px solid #41853b;outline-offset:2px}
form.product-layout .store-cart[hidden]{display:none!important}
@media(min-width:1280px){
.storefront-body:has(form.product-layout .store-cart){padding-right:188px;transition:padding-right .2s ease}
.storefront-body.cart-collapsed:has(form.product-layout .store-cart){padding-right:0}
form.product-layout .store-cart{top:95px;right:12px;bottom:auto;width:164px;max-height:calc(100dvh - 112px);padding:12px;overflow:visible}
form.product-layout .store-cart::before{content:"";position:absolute;top:-7px;right:34px;width:12px;height:12px;background:#fff;border-left:1px solid #e3e8df;border-top:1px solid #e3e8df;transform:rotate(45deg)}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart{right:22px;top:27px;width:140px;border:0;border-radius:12px;background:#f6f8f3;padding:10px;}
form.product-layout .store-cart [data-cart-items]{flex:1;min-height:0;max-height:calc(100dvh - 325px);overflow-y:auto}
form.product-layout .store-cart.cart-empty [data-cart-status]{padding:8px 2px 14px;margin:0 auto}
}
@media(prefers-reduced-motion:reduce){.storefront-body:has(form.product-layout .store-cart){transition:none}}

.store-cart .cart-collapse{height:28px!important;min-height:28px!important;min-width:28px!important;max-height:28px;flex:0 0 28px;aspect-ratio:1}
@media(min-width:1280px){.storefront-body.cart-collapsed:has(form.product-layout .store-cart) .store-header{padding-right:188px}}

/* Header stays intact; the cart panel begins below the navigation. */
@media(min-width:1280px){
.storefront-body:has(form.product-layout .store-cart){padding-right:0}
.storefront-body:has(form.product-layout .store-cart) main{padding-right:188px}
.storefront-body.cart-collapsed:has(form.product-layout .store-cart) main{padding-right:0}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart{position:relative;right:auto;top:auto;width:auto;height:auto;min-height:48px;padding:12px 10px;background:transparent;border:0;border-radius:10px;z-index:auto}
.storefront-body.cart-collapsed:has(form.product-layout .store-cart) .store-header{padding-right:var(--store-header-padding,28px)}
form.product-layout .store-cart{top:var(--cart-panel-top,164px);max-height:calc(100dvh - var(--cart-panel-top,164px) - 16px)}
form.product-layout .store-cart [data-cart-items]{max-height:calc(100dvh - var(--cart-panel-top,164px) - 230px)}
form.product-layout .store-cart::before{display:none}
}
.cart-header-chevron{width:14px!important;height:14px!important;fill:none;stroke:currentColor;stroke-width:var(--ui-icon-stroke,2);stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.store-header-cart[aria-expanded=true] .cart-header-chevron{transform:rotate(180deg)}

/* Expanded header and panel form one connected floating surface. */
@media(min-width:1280px){
.storefront-body:has(form.product-layout .store-cart):not(.cart-collapsed) .store-header-cart{position:relative;z-index:31;width:140px;box-sizing:border-box;background:#fff;border-radius:16px 16px 0 0;padding:12px 10px}
form.product-layout .store-cart{top:var(--cart-connected-top,28px);right:var(--cart-connected-right,12px);width:164px;padding:var(--cart-connected-inset,64px) 12px 12px;max-height:calc(100dvh - var(--cart-connected-top,28px) - 16px);z-index:30;box-shadow:0 10px 32px #24351d14}
form.product-layout .store-cart .cart-collapse{display:none}
form.product-layout .store-cart [data-cart-items]{max-height:calc(100dvh - var(--cart-connected-top,28px) - 220px)}
form.product-layout .store-cart.cart-empty [data-cart-status]{border-top:1px solid #edf0e9;padding-top:18px;width:100%}
}

@media(min-width:1280px){form.product-layout .store-cart{position:absolute}}

@media(min-width:1280px){
form.product-layout .store-cart{right:0;width:176px;border-right:0;border-radius:18px 0 0 18px}
.storefront-body:has(form.product-layout .store-cart) main{padding-right:184px}
.storefront-body.cart-collapsed:has(form.product-layout .store-cart) main{padding-right:0}
.storefront-body:has(form.product-layout .store-cart):not(.cart-collapsed) .store-header-cart{border-radius:16px 0 0 0}
}

/* Stable cart anchor and compact shadows — current design contract. */
:root{--shadow-floating:0 2px 5px #20321b26}
form.product-layout .store-cart{box-shadow:var(--shadow-floating)}
.cart-header-chevron{box-sizing:content-box;padding:7px;background:#eef2e9;border-radius:50%;flex:0 0 14px}
.store-header-cart:hover .cart-header-chevron{background:#ffe76a}
@media(min-width:1280px){
.storefront-body:has(form.product-layout .store-cart) .store-header{padding-right:190px!important}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart,
.storefront-body:has(form.product-layout .store-cart):not(.cart-collapsed) .store-header-cart{position:fixed;right:0;top:28px;width:176px;height:56px;min-height:56px;box-sizing:border-box;justify-content:flex-end;gap:7px;padding:10px 10px 10px 12px;background:#fff;border:0;border-radius:18px 0 0 0;z-index:31;margin:0}
.storefront-body.cart-collapsed:has(form.product-layout .store-cart) .store-header-cart{border-radius:18px 0 0 18px}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart .cart-header-chevron{width:14px!important;height:14px!important}
form.product-layout .store-cart{position:fixed;top:28px;right:0;padding:64px 12px 12px;max-height:calc(100dvh - 44px);box-shadow:var(--shadow-floating)}
form.product-layout .store-cart [data-cart-items]{max-height:calc(100dvh - 250px)}
.storefront-body.cart-collapsed:has(form.product-layout .store-cart) main{padding-right:28px}
}

/* One outline on the panel; header controls keep a single visual baseline. */
@media(min-width:1280px){
.storefront-body:has(form.product-layout .store-cart) .store-header{position:relative;padding-right:190px!important}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart,
.storefront-body:has(form.product-layout .store-cart):not(.cart-collapsed) .store-header-cart{border:0!important;box-shadow:none;outline-offset:-4px;gap:6px;align-items:center;height:56px;min-height:56px;padding:10px 12px}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart:focus:not(:focus-visible){outline:none}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart:focus-visible{outline:1px solid #609353;outline-offset:-5px;border-radius:12px}
.storefront-body.cart-collapsed:has(form.product-layout .store-cart) .store-header-cart{position:absolute;right:0;top:50%;transform:translateY(-50%);background:transparent;border-radius:0}
.storefront-body:has(form.product-layout .store-cart):not(.cart-collapsed) .store-header-cart{top:var(--cart-anchor-top,28px);transform:none;background:transparent}
form.product-layout .store-cart{top:var(--cart-anchor-top,28px);border:1px solid #e3e8df;border-right:0}
.storefront-body:has(form.product-layout .store-cart) .store-header-cart .cart-header-chevron{padding:4px;width:12px!important;height:12px!important;flex:0 0 12px}
form.product-layout .store-cart.cart-empty [data-cart-status]{border-top:0}
}

/* Brand red identifies the cart; green remains reserved for advancing. */
.store-header .store-header-cart{color:#c8102e}
.store-header-cart [data-cart-count],.storefront-body:has(form.product-layout .store-cart) .store-header-cart [data-cart-count]{background:#c8102e;color:#fff}
.store-header-cart .cart-header-chevron{color:#65755d}

/* Deferred artwork and compact circular utility controls. */
.store-cart .store-cart-thumb-deferred,form.product-layout .store-cart-thumb-deferred{display:grid;place-items:center;background:#f1f1f1;color:#777}
.store-cart-thumb-deferred svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:var(--ui-icon-stroke,2);stroke-linecap:round;stroke-linejoin:round}
.store-cart .store-cart-controls button{--button-height:28px;min-height:28px!important;height:28px!important;max-height:28px;min-width:28px;width:28px;flex:0 0 28px;padding:6px!important;border-radius:50%;margin:0}
@media(pointer:coarse){.store-cart .store-cart-controls button{--button-height:36px;min-height:36px!important;height:36px!important;max-height:36px;min-width:36px;width:36px;flex-basis:36px}}

.cart-art-missing{width:min(460px,94vw)}.cart-art-missing h2{font-size:20px;margin:0}.cart-art-missing p{font-size:14px;line-height:1.5}.cart-art-missing [role=alert]:empty{display:none}.cart-art-missing .secondary{background:#fff0a3;color:#bc6200}.cart-art-missing .secondary:hover{background:#ffe12b;color:#a94d00}.cart-art-missing .cart-review-actions{flex-wrap:wrap}

.cart-art-missing .cart-review-actions button:not(.secondary){background:#75ec16!important;color:#17390e!important}.cart-art-missing .cart-review-actions button:not(.secondary):hover{background:#66d10e!important;color:#17390e!important}

.cart-art-attention{padding:10px 12px;border-radius:10px;background:#fff5cf;color:#805700;font-size:12px;line-height:1.5}

/* Mobile cart dock: items scroll; totals and checkout remain outside the scroll area. */
.cart-mobile-footer{display:contents}.cart-mobile-toggle{display:none}
@media(max-width:1100px){
 .storefront-body.mobile-cart-present{padding-bottom:150px}
 .store-header-cart .cart-header-chevron{display:none!important}
 form.product-layout .store-cart:not(.cart-empty){position:fixed;inset:auto 0 0;z-index:45;display:flex;flex-direction:column;width:100%;max-height:50dvh;box-sizing:border-box;margin:0;padding:8px 14px calc(10px + env(safe-area-inset-bottom));border:1px solid #ddd;border-bottom:0;border-radius:16px 16px 0 0;background:#fff;box-shadow:0 -2px 5px #0002;overflow:hidden}
 form.product-layout .store-cart.cart-empty{display:none!important}
 form.product-layout .store-cart>h2,form.product-layout .store-cart .cart-collapse{display:none}
 form.product-layout .cart-mobile-toggle{display:flex;align-items:center;justify-content:center;gap:0;align-self:center;flex:none;box-sizing:border-box;width:48px;height:24px;min-height:24px!important;padding:0!important;border:0;border-radius:8px;background:transparent;color:#666;font-size:12px!important}
 form.product-layout .store-cart [data-cart-items]{order:1;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:4px 0 8px}
 form.product-layout .store-cart.cart-many-items [data-cart-items]{grid-template-columns:repeat(2,minmax(0,1fr))}
 form.product-layout .store-cart.mobile-cart-closed [data-cart-items]{display:none}
 form.product-layout .store-cart-item{grid-template-columns:40px minmax(0,1fr);gap:7px;padding:8px 0;margin:0}
 form.product-layout .store-cart-thumb{width:40px;height:40px}
 form.product-layout .store-cart-item h3{font-size:11px}
 form.product-layout .store-cart-item b{font-size:12px;margin:3px 0}
 form.product-layout .store-cart-controls{flex-wrap:wrap}
 form.product-layout .cart-mobile-footer{order:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;flex:0 0 auto;border-top:1px solid #eee;padding-top:8px;background:#fff}
 form.product-layout .cart-mobile-footer [data-cart-total]{grid-column:1;grid-row:1}
 form.product-layout .cart-mobile-footer .store-cart-total{font-size:20px;margin:2px 0}
 form.product-layout .cart-mobile-footer .store-cart-next{grid-column:2;grid-row:1;margin:0;max-width:none;padding:12px!important;font-size:13px}
 form.product-layout .cart-mobile-footer [data-cart-status]{grid-column:1/-1;margin:0;font-size:11px}
}

.cart-mobile-toggle>.ui-icon{display:none}

@media(min-width:1101px){form.product-layout .store-cart .cart-mobile-toggle{display:none!important}}

/* Compact product groups; spacing belongs to each group, not inherited text margins. */
form.product-layout .store-cart-item{align-items:start}
form.product-layout .store-cart-item>div{display:flex;flex-direction:column;gap:3px;min-width:0}
form.product-layout .store-cart-item h3{margin:0;line-height:1.35}
form.product-layout .store-cart-item small{margin:0;line-height:1.4}
form.product-layout .store-cart-item b{margin:2px 0 0;line-height:1.35;color:#333}
form.product-layout .store-cart-controls{margin:0;padding:0;gap:3px;min-height:28px}
@media(min-width:1101px){
 form.product-layout .cart-mobile-footer{display:flex;flex-direction:column;gap:8px;flex:none}
 form.product-layout .cart-mobile-footer .store-cart-total{margin:3px 0 0}
 form.product-layout .cart-mobile-footer .store-cart-next{margin:0;max-width:none}
 form.product-layout .store-cart [data-cart-items]{margin-top:12px}
 form.product-layout .store-cart-item{margin:0;padding:12px 0;gap:8px;border-color:#e9e7e4}
 form.product-layout .store-cart-item:last-child{padding-bottom:0}
}
@media(min-width:1280px){
 form.product-layout .store-cart-thumb{width:88px;height:88px;justify-self:center}
}

.store-cart-thumb,form.product-layout .store-cart-thumb{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f3f3f3}.store-cart-thumb>img{max-width:100%;max-height:100%;border-radius:0;min-width:0;flex-shrink:0}

/* Artwork gallery: same compact square in cart and order summary. */
.store-cart-thumb{position:relative}
.store-cart-thumb .store-cart-art-open{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;min-width:0;padding:0;margin:0;border:0;border-radius:8px;background:transparent;cursor:zoom-in;box-shadow:none}
.store-cart-art-open img{display:block;max-width:100%;max-height:100%;flex-shrink:0;border-radius:0}
.store-cart-thumb.has-gallery .store-cart-art-open{width:calc(100% - 22px);height:calc(100% - 22px);align-self:flex-start;margin:0 auto}
.store-cart-thumb .store-cart-art-nav{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;height:22px;background:#f3f3f3;border-radius:0 0 8px 8px}
.store-cart-art-nav small{font-size:10px;line-height:1;color:#606060}
.store-cart-thumb .store-cart-art-nav button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:22px;height:22px;padding:3px;margin:0;border:0;border-radius:50%;background:transparent;color:#b65d00;box-shadow:none}
.store-cart-thumb .store-cart-art-nav button:hover{background:#ffdf58;color:#9c4800}
.store-cart-art-nav svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:var(--ui-icon-stroke,2)}
.store-cart-art-open:focus-visible,.store-cart-art-nav button:focus-visible{outline:2px solid #ba0029;outline-offset:1px}
@media(max-width:1100px){.store-cart-item .store-cart-thumb.has-gallery{width:64px;height:64px;flex-basis:64px}}

@media(max-width:1100px){.store-cart .store-cart-item:has(.has-gallery){grid-template-columns:64px minmax(0,1fr)}}

.store-cart-thumb.has-gallery{min-width:64px;min-height:64px}.store-cart-item:has(.has-gallery){grid-template-columns:64px minmax(0,1fr)}

/* Thumbnail utilities must not inherit purchase-button dimensions or hover. */
.storefront-body .store-cart-thumb .store-cart-art-nav button{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:0!important;flex:0 0 22px;gap:0;border-radius:50%!important;line-height:1;overflow:visible;color:#666!important;background:transparent!important;filter:none!important}
.storefront-body .store-cart-art-nav button svg{display:block;width:14px!important;height:14px!important;min-width:14px;flex:none;stroke:currentColor;fill:none}
.storefront-body .store-cart-thumb .store-cart-art-open{min-height:0!important;padding:0!important;gap:0;background:transparent!important;filter:none!important}
.storefront-body .store-cart-thumb .store-cart-art-open:is(:hover,:focus-visible),.storefront-body .store-cart-thumb .store-cart-art-nav button:is(:hover,:focus-visible){background:#ffe12b!important;color:#555!important;filter:none!important}

.store-cart [data-cart-total] .store-cart-delivery{display:block;margin:5px 0 0;font-size:12px;line-height:1.4;font-weight:500;color:#606060}

/* Entire mobile handle bar is the collapse/expand target. */
@media(max-width:1100px){form.product-layout .cart-mobile-toggle{align-self:stretch;width:100%;height:32px;min-height:32px!important;border-radius:0;background:transparent!important}.store-cart .store-cart-art-open>.ui-icon{display:none!important}}

@media(max-width:1100px){form.product-layout .store-cart [data-cart-items]:has(>.store-cart-item:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Badge follows its icon, independent of the header alignment or disclosure state. */
.storefront-body .store-header .store-header-cart-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px}
.storefront-body .store-header .store-header-cart-icon>svg{display:block;width:24px;height:24px;flex:none}
.storefront-body .store-header .store-header-cart .store-header-cart-icon [data-cart-count]{top:-8px;left:auto;right:-7px;min-width:18px;height:18px}
.storefront-body .store-header-cart[aria-expanded="false"] .cart-header-chevron{display:none!important}
.storefront-body .store-header-cart[aria-expanded="true"] .cart-header-chevron{transform:none;color:#65755d}
@media(min-width:1101px){
 .storefront-body:has(form.product-layout .store-cart) .store-header-cart[aria-expanded="false"]{width:auto;right:12px;padding:10px 12px;border-radius:10px}
 .storefront-body .store-header .store-header-cart[aria-expanded="false"]:hover{background:#fff0a6!important;color:#ac5300}
 .storefront-body .store-header .store-header-cart[aria-expanded="true"]:hover{background:transparent!important;color:#c8102e}
 .storefront-body .store-header-cart[aria-expanded="true"]:hover .cart-header-chevron{background:#eef2e9}
}

/* The close circle responds independently of the expanded cart header. */
@media(min-width:1101px){
 .storefront-body .store-header-cart[aria-expanded="true"] .cart-header-chevron{pointer-events:auto;cursor:pointer}
 .storefront-body .store-header-cart[aria-expanded="true"] .cart-header-chevron:hover,
 .storefront-body .store-header-cart[aria-expanded="true"]:focus-visible .cart-header-chevron{background:#ffdf27;color:#ac5300}
}

form.product-layout .store-cart .store-cart-next{display:flex;align-items:center;justify-content:center;gap:7px}.store-cart-next>.lucide{width:18px;height:18px;flex:0 0 18px;margin:0}

/* File action fills the thumbnail; shared button padding must not shrink its icon. */
.storefront-body .store-cart-thumb>.order-item-upload{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-width:0!important;min-height:0!important;padding:0!important;margin:0;gap:0;border:0;border-radius:8px}
.storefront-body .store-cart-thumb>.order-item-upload>svg{display:block;width:24px!important;height:24px!important;min-width:24px;flex:0 0 24px;margin:0!important}
