/* The original storefront and checkout, with a full-width catalog and cart drawer. */
body:not(.admin-page)>header{position:sticky;top:0;z-index:20;background:var(--bg)}
body:not(.admin-page)>header :is(#contact,#customer-button,#open-checkout){min-height:44px;padding:8px 0;border:0;background:transparent;box-shadow:none;font-size:14px;white-space:nowrap}
body:not(.admin-page)>header #contact{color:var(--ink);gap:7px}
#contact>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#customer-button{gap:7px}
#customer-button>svg{display:block;flex-shrink:0;width:19px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#open-checkout{flex-shrink:0;min-height:44px;gap:8px;white-space:nowrap}
#cart-bag{display:block;width:23px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5;transform-origin:50% 20%}
#header-cart-count{min-width:20px;color:#b74323;font-size:inherit;font-weight:700;font-variant-numeric:tabular-nums}
/* The sticky header provides the cart entry at every screen size. */
#mobile-cart{display:none}
#shop .layout{display:block}
#shop .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html.cart-sheet-open{overflow:hidden}
#checkout-sheet{position:fixed;inset:0 0 0 auto;margin:0;width:min(640px,46vw);max-width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;padding:0;border:0;border-radius:0;background:#fff;overflow:hidden;box-shadow:-12px 0 48px #10271e26}
#checkout-sheet[open]{display:flex;flex-direction:column}
#checkout-sheet::backdrop{background:#10271e66}
.checkout-sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:15px 30px;border-bottom:1px solid var(--line);background:#fff}
.checkout-sheet-toolbar h2{font-size:16px;font-weight:500;margin:0}
#close-checkout{width:44px;height:44px;padding:0;border:0;background:transparent;font-size:28px;line-height:1}
#checkout-sheet #checkout{position:static;flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:30px;border:0;border-radius:0;background:#fff;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#checkout-sheet #checkout>.section-head{margin-bottom:12px;padding-bottom:20px;border-bottom:1px solid var(--line)}
#checkout-sheet #checkout>.section-head h2{font-size:28px}
#checkout-sheet .cart-line{padding:19px 0}
#checkout-sheet .cart-line .qty button{width:38px;height:40px}
#checkout-sheet #checkout h3{margin:28px 0 14px}
#checkout-sheet #submit-order{min-height:48px}
#checkout-sheet>#toast{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));max-width:calc(100% - 40px)}
.cart-flight{position:fixed;z-index:1000;pointer-events:none;user-select:none;will-change:transform,opacity;transform-origin:center;border-radius:8px;box-shadow:0 8px 22px #10271e26}
.shipping-preference{min-width:0;margin:26px 0 20px;padding:0;border:0}
.shipping-preference legend{margin-bottom:12px;padding:0;font-size:17px;font-weight:600;color:var(--ink)}
.shipping-choice{display:flex;align-items:flex-start;gap:11px;padding:14px;margin-bottom:10px;border:1px solid var(--line);border-radius:7px;cursor:pointer;color:var(--ink);background:#fff}
.shipping-choice:has(input:checked){border-color:#8fa28a;background:#f1f4eb}
.shipping-choice:has(input:focus-visible){outline:2px solid #728d70;outline-offset:2px}
.shipping-choice input[type=radio]{display:block;flex:0 0 18px;width:18px;height:18px;min-width:18px;margin:3px 0 0;padding:0;accent-color:var(--ink);cursor:pointer}
.shipping-choice input[type=radio]:focus{outline:none}
.shipping-choice>span{min-width:0}
.shipping-choice-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.shipping-choice-title small{padding:1px 6px;border-radius:3px;background:#e3eadb;color:#596653;font-size:10px;font-weight:400}
.shipping-choice-description{display:block;margin-top:5px;font-size:12px;line-height:1.75;color:#697267}
.shipping-preference-estimate{margin:12px 0 0;font-size:11px;line-height:1.7;color:#697267}
.shipping-preference .shared-shipping-notice{margin-bottom:0}
.order-shipping-summary{margin:16px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.order-shipping-summary .cost{align-items:baseline;gap:12px}
.order-shipping-summary .cost>span{flex-shrink:0}
.order-shipping-summary .cost>strong{text-align:right;overflow-wrap:anywhere}
.order-shipping-summary>p{margin:8px 0 0;line-height:1.7}
@media(max-width:1050px){#checkout-sheet{width:min(600px,70vw)}}
@media(max-width:760px){
 body:not(.admin-page)>footer{padding-bottom:max(22px,env(safe-area-inset-bottom))}
 body:not(.admin-page)>#toast{bottom:max(18px,env(safe-area-inset-bottom))}
 body:not(.admin-page)>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 8px;padding:10px 14px}
 body:not(.admin-page)>header .brand{grid-column:1;grid-row:1;min-width:0;margin:0;font-size:clamp(14px,4.1vw,18px);gap:5px}
 body:not(.admin-page)>header #brand{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body:not(.admin-page)>header .brand-logo{width:30px;height:32px;flex-shrink:0}
 body:not(.admin-page)>header #contact{grid-column:1/-1;grid-row:2;justify-self:start;width:auto;margin:0;text-align:left;line-height:1.5;font-size:13px}
 body:not(.admin-page)>header :is(#customer-button,#open-checkout){padding:7px 0;font-size:13px}
 body:not(.admin-page)>header #customer-button{grid-column:2;grid-row:1;gap:5px}
 #customer-button>svg{width:17px;height:19px}
 #open-checkout{grid-column:3;grid-row:1;gap:4px}
 body:not(.admin-page)>header.contact-inline{grid-template-columns:minmax(0,1fr) auto auto auto}
 body:not(.admin-page)>header.contact-inline #contact{grid-column:2;grid-row:1}
 body:not(.admin-page)>header.contact-inline #customer-button{grid-column:3}
 body:not(.admin-page)>header.contact-inline #open-checkout{grid-column:4}
 #cart-bag{width:20px;height:23px}
 #header-cart-count{min-width:14px}
 #shop .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #checkout-sheet{width:100%}
 .checkout-sheet-toolbar{padding:10px 20px}
 #checkout-sheet #checkout{padding:22px 20px calc(28px + env(safe-area-inset-bottom))}
 #checkout-sheet #checkout>.section-head h2{font-size:25px}
 #checkout-sheet .cart-line .qty button{width:40px;height:44px}
}
@media(max-width:360px){body:not(.admin-page)>header{column-gap:5px}}
@media(prefers-reduced-motion:reduce){.cart-flight{display:none}}
