/* Mobile content density: retain the single page scroller and normal-flow dock. */
.sf-category-all-icon {width:32px;height:32px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
@media (max-width:700px) ,(max-width:1000px)  and (max-height:500px){
 html body.storefront-v9.sf-navigation.sf-enhanced.web-order .main-head,
 html body.storefront-v9.sf-navigation.sf-enhanced.web-order .main-head.has-realm-segments {
  top:calc(0px - var(--sf-mobile-header-offset,0px));gap:6px 8px;padding-block:6px;
 }
 /* Keyboard users can still reach and see both controls in the brand row. */
 html body.storefront-v9.sf-navigation.sf-enhanced.web-order .main-head:has(.storefront-brand:focus-visible,.realm-segments:focus-within) {top:0}
 html:has(.storefront-v9.sf-navigation),.storefront-v9.sf-navigation .sf-page-scroll {scroll-padding-top:calc(var(--sf-sticky-height,64px) + 8px)}
 html body.storefront-v9.sf-navigation .search-suggestions {max-height:max(44px,min(440px,calc(100dvh - var(--sf-sticky-height,64px) - 80px)))}
 html body.storefront-v9.sf-navigation .sf-category-panel {padding:12px;gap:8px;grid-template-rows:auto minmax(0,1fr)}
 html body.storefront-v9.sf-navigation .sf-category-caption {display:none}
 html body.storefront-v9.sf-navigation .sf-category-heading h2 {font-size:18px;margin:0}
 html body.storefront-v9.sf-navigation .sf-category-links {padding:2px;gap:8px;min-height:0}
 html body.storefront-v9.sf-navigation .sf-category-link {min-height:64px;padding:6px 8px;gap:8px}
 html body.storefront-v9.sf-navigation .sf-category-link img {width:28px;height:28px}
 html body.storefront-v9.sf-navigation .sf-category-link img[hidden] {display:none}
 html body.storefront-v9.sf-navigation .sf-category-copy {gap:2px}
 html body.storefront-v9.sf-navigation .sf-category-copy strong {font-size:14px;line-height:1.35}
 html body.storefront-v9.sf-navigation .sf-category-gift {min-height:52px}
 html body.storefront-v9.sf-navigation .sf-category-selection {display:none}
 html body.storefront-v9.sf-enhanced .main-content {padding:12px}
 html body.storefront-v9 .catalog-heading {font-size:20px;line-height:1.3;margin:0 0 12px}
 html body.storefront-v9 .catalog-filter-tools {grid-template-columns:112px minmax(0,1fr);gap:8px;margin:0 0 8px;align-items:start}
 html body.storefront-v9 .catalog-filter-disclosure > summary {box-sizing:border-box;width:112px;margin:0;padding:11px 8px;min-height:44px;white-space:nowrap;font-size:14px}
 html body.storefront-v9 .catalog-sort {margin:0;padding:0;min-width:0}
 html body.storefront-v9 .catalog-sort-label {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html body.storefront-v9 .catalog-sort select {min-height:44px;margin:0;padding:8px;font-size:16px}
 html body.storefront-v9 .catalog-active-filters {gap:8px;margin-bottom:8px}
 html body.storefront-v9 .catalog-filter-chip {padding:8px 10px}
 html body.storefront-v9 .catalog-toolbar {display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px;min-height:0;margin:0 0 8px;padding:0}
 html body.storefront-v9 .catalog-toolbar .demo-pill {display:none}
 html body.storefront-v9 #catalog-summary {font-size:13px;line-height:1.4;margin:0}
 html body.storefront-v9.sf-enhanced #events {gap:8px}
 html body.storefront-v9.sf-enhanced .sf-gift-entry {min-height:60px;padding:8px 10px;gap:10px}
 html body.storefront-v9.sf-enhanced .sf-gift-thumb {flex-basis:40px;width:40px;height:40px}
 html body.storefront-v9.sf-enhanced .sf-gift-copy strong {font-size:16px}
}
@media (max-width:700px) ,(max-width:1000px)  and (max-height:500px){
 html body.storefront-v9.sf-enhanced #cards .product-card .product-art {height:auto;aspect-ratio:1;min-height:0}
 html body.storefront-v9.sf-enhanced #cards .product-card .product-art img {object-fit:contain}
 html body.storefront-v9.sf-enhanced #cards .product-card .product-info {display:flex;flex-direction:column;gap:4px;padding:8px;min-height:0}
 html body.storefront-v9.sf-enhanced #cards .product-caption {display:none}
 html body.storefront-v9.sf-enhanced #cards .product-code {order:0;font-size:12px!important;line-height:1.3!important;min-height:0;margin:0}
 html body.storefront-v9.sf-enhanced #cards .product-info h3 {order:1;font-size:14px!important;line-height:1.35!important;min-height:0;height:auto;max-height:none;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 html body.storefront-v9.sf-enhanced #cards .product-info .product-title {font:inherit;line-height:inherit}
 html body.storefront-v9.sf-enhanced #cards .product-price {order:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px;min-height:0;margin:2px 0;font-size:20px!important;font-weight:800;line-height:1.2;letter-spacing:0;font-variant-numeric:tabular-nums}
 html body.storefront-v9.sf-enhanced #cards .product-price small {font-size:12px!important;line-height:1.3!important;white-space:nowrap}
 html body.storefront-v9.sf-enhanced #cards .product-info > :is(.product-sub,.case-badge,.quantity-price-badge,.v17-private-badge,.v15-new-pill,.availability-badge) {order:3;min-height:0;margin:0;line-height:1.35!important;font-size:12px!important;overflow-wrap:anywhere}
 html body.storefront-v9.sf-enhanced #cards .product-origin {color:#655a51;padding:0}
 html body.storefront-v9.sf-enhanced #cards :is(.personal-pack,.personal-kg-reference) {padding:0}
 html body.storefront-v9.sf-enhanced #cards :is(.case-badge,.quantity-price-badge,.v17-private-badge,.availability-badge) {padding:4px 6px}
 html body.storefront-v9.sf-enhanced #cards .sf-card-action {min-height:44px;margin:0 8px 8px;padding:6px 4px;font-size:13px;line-height:1.35}
}
@media (min-width:600px) and (max-width:700px) ,(min-width:600px) and (max-width:1000px)  and (max-height:500px){
 html body.storefront-v9.sf-navigation .sf-category-links {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:700px) and (max-height:360px) ,(max-width:1000px) and (max-height:360px)  and (max-height:500px){
 html body.storefront-v9.sf-navigation.sf-enhanced.web-order .main-head,
 html body.storefront-v9.sf-navigation.sf-enhanced.web-order .main-head.has-realm-segments {position:relative;top:0}
 html:has(.storefront-v9.sf-navigation),.storefront-v9.sf-navigation .sf-page-scroll {scroll-padding-top:8px}
 html body.storefront-v9.sf-navigation .sf-category-panel {padding:8px;gap:4px}
}

/* Mobile product detail: large square photo, then identity, price and configuration.
   Keep modal/direct-page scrolling and the normal-flow purchase footer intact. */
.product-name-short,.product-name-meta{display:none}
@media (max-width:700px),(max-width:1000px) and (max-height:500px){
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .product-layout{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px;align-items:start}
 html body.purchase-refined.web-order #product-page :is(.product-media,.product-purchase){display:contents}
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .product-heading{grid-column:1/-1!important;grid-row:3!important}
 html body.purchase-refined.web-order #product-page .product-name-full{display:none}
 html body.purchase-refined.web-order #product-page .product-name-short{display:inline}
 html body.purchase-refined.web-order #product-page .product-heading h1{font-size:18px;line-height:1.3;margin:0 0 4px;overflow-wrap:anywhere}
 html body.purchase-refined.web-order #product-page .product-name-meta{display:block;margin:4px 0;font-size:12px!important;line-height:1.4;color:var(--buy-muted);overflow-wrap:anywhere}
 html body.purchase-refined.web-order #product-page .product-name-meta:empty{display:none}
 html body.purchase-refined.web-order #product-page .sku-halal-detail{margin:4px 0;gap:4px;font-size:12px}
 html body.purchase-refined.web-order #product-page .sku-halal-detail img{width:24px;height:24px}
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .v21-main-photo{grid-column:1/-1!important;grid-row:1!important;width:100%;height:auto;inline-size:100%;block-size:auto;aspect-ratio:1;min-height:0;min-block-size:0;max-height:none;padding:0;border-radius:10px}
 html body.purchase-refined.web-order #product-page .photo-enlarge{font-size:12px;padding:6px 8px;right:8px;bottom:8px}
 html body.purchase-refined.web-order #product-page .photo-enlarge svg{width:16px;height:16px}
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .variant-gallery{grid-column:1/-1!important;grid-row:2!important;padding:2px;margin:0;gap:8px;min-width:0}
 html body.purchase-refined.web-order #product-page .variant-gallery-button{width:44px;height:44px;min-width:44px;min-height:44px;inline-size:44px;block-size:44px;flex-basis:44px}
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .product-price-panel{grid-column:1/-1!important;grid-row:4!important;margin:0;padding:8px 10px;gap:2px 8px;min-width:0}
 html body.purchase-refined.web-order #product-page .purchase-price-label{flex-basis:auto;font-size:12px}
 html body.purchase-refined.web-order #product-page #product-display-price{font-size:24px;line-height:1.25;overflow-wrap:anywhere}
 html body.purchase-refined.web-order #product-page .sf-sku-product-dishes{margin:4px 0 0}
 html body.purchase-refined.web-order #product-page .sf-sku-dish-compact{min-height:44px;padding:4px 8px;gap:6px;background:var(--buy-surface)}
 html body.purchase-refined.web-order #product-page .sf-sku-dish-compact>img{display:none}
 html body.purchase-refined.web-order #product-page .sf-sku-dish-compact-copy{display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline}
 html body.purchase-refined.web-order #product-page .sf-sku-dish-compact-copy :is(strong,span){font-size:12px;line-height:1.3}
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .product-stock{grid-column:1/-1!important;grid-row:5!important}
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .product-layout .variant-body{grid-column:1/-1!important;grid-row:6!important;margin:0;padding:0}
 html body.purchase-refined.web-order #product-page .quantity-control{margin:0 0 8px;padding:0 0 8px}
 html body.purchase-refined.web-order #product-page :is(.quantity-control legend,#cut-method-label){margin:0 0 6px;font-size:14px!important;line-height:1.4}
 html body.purchase-refined.web-order #product-page .quantity-field button{width:44px;height:44px;min-height:44px;flex-basis:44px}
 html body.purchase-refined.web-order #product-page #quantity-input{width:88px;height:44px;min-height:44px;font-size:16px!important}
 html body.purchase-refined.web-order #product-page .cut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body.purchase-refined.web-order #product-page .cut-grid button{grid-column:auto!important;min-height:48px;min-block-size:48px;flex-direction:row;gap:6px;padding:6px 18px 6px 6px;text-align:left;font-size:13px!important}
 html body.purchase-refined.web-order #product-page .cut-grid button .v15-cut-icon{width:30px;height:26px;inline-size:30px;block-size:26px;flex:0 0 30px}
 html body.purchase-refined.web-order #product-page .cut-grid button span{font-size:13px;line-height:1.35}
 html body.purchase-refined.web-order #product-page .purchase-cut-help{margin:6px 0 4px;font-size:12px!important;line-height:1.4}
 html body.purchase-refined.web-order #product-page .purchase-cut-state{margin:0 0 8px;font-size:12px!important}
 html body.purchase-refined.web-order #product-page :is(.product-price-details,.product-specifications){margin-top:8px}
 html body.purchase-refined.web-order #product-page :is(.product-price-details,.product-specifications)>summary{min-height:44px;padding:8px 0;font-size:14px}
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .product-layout .product-specifications{grid-column:1/-1!important;grid-row:7!important}
 html body.purchase-refined.web-order #product-page #sku-social{grid-column:1/-1!important;grid-row:8!important;margin:0;padding:4px 0}
 html body.purchase-refined.web-order #product-page .product-facts{font-size:13px;overflow-wrap:anywhere}
 html body.purchase-refined.web-order--product #product-page{margin-block:8px 12px}
 html body.purchase-refined.web-order #product-page .product-back{margin-bottom:4px}
 html body.purchase-refined.web-order .product-buy-bar{padding-block:6px max(6px,env(safe-area-inset-bottom));gap:6px}
 html body.purchase-refined.web-order .product-buy-bar .variant-submit-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
 html body.purchase-refined.web-order .product-buy-bar .variant-submit-meta strong{font-size:22px}
 html body.purchase-refined.web-order .product-buy-bar #variant-add{background:var(--buy-brand)!important;color:var(--buy-surface)!important}
 html body.purchase-refined.web-order .product-buy-bar #variant-buy{background:var(--buy-surface)!important;color:var(--buy-brand)!important;border:1px solid var(--buy-brand)}
}

.product-quote-note{display:none}
@media (max-width:700px),(max-width:1000px) and (max-height:500px){html body.purchase-refined.web-order #product-page .product-quote-note:not([hidden]){display:block;margin:0 0 10px;color:var(--buy-muted);font-size:12px!important;line-height:1.4}}

@media (max-width:700px),(max-width:1000px) and (max-height:500px){html body.purchase-refined.web-order.quick-order-open #product-page .product-back{display:none}html body.purchase-refined.web-order #product-page .product-heading h1{font-size:18px!important}}

/* The business estimate already has its full weight explanation. */
@media (max-width:700px),(max-width:1000px) and (max-height:500px){html body.purchase-refined.web-order #product-page .product-quote-note:has(+ #weight-pending-note:not([hidden])){display:none}html body.purchase-refined.web-order #product-page .variant-body:has(#weight-pending-note:not([hidden])) #retail-surcharge-note{display:none}}

/* Keep a substantial image without a screen-wide square on short landscape. */
@media (max-width:700px) and (max-height:360px),(max-width:1000px) and (max-height:360px) and (max-height:500px){html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .v21-main-photo{aspect-ratio:auto;height:240px;block-size:240px}}

/* Swipe the main image horizontally; vertical page scroll and pinch stay native. */
.variant-photo-position{display:none}
@media (max-width:700px),(max-width:1000px) and (max-height:500px){
 html body.purchase-refined.web-order #product-page .v21-main-photo{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
 html body.purchase-refined.web-order #product-page .v21-main-photo img{-webkit-user-drag:none}
 html body.purchase-refined.web-order #product-page .photo-enlarge{left:8px;right:auto;bottom:8px}
 html body.purchase-refined.web-order #product-page .variant-photo-position{display:block;position:absolute;right:8px;bottom:8px;z-index:2;padding:5px 9px;border-radius:20px;background:var(--buy-ink);color:var(--buy-surface);font-size:13px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;pointer-events:none}
}

/* Compact cart content, with one scrolling body and normal-flow actions. */
.cart-line-purchase,.cart-line-secondary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-width:0}
.cart-line-secondary{align-items:flex-start;flex-wrap:nowrap}
.cart-line-secondary>.customer-fee-details{flex:1;min-width:0}
.cart-line-secondary>.cart-actions{flex:none}
.cart-product-meta,.cart-weight-hint{display:block}
.cart-product-meta{color:var(--buy-muted);font-size:12px;line-height:1.4}
.cart-weight-hint{color:var(--buy-muted);font-size:12px;line-height:1.5}
.cart-line-purchase>.cart-line-total{margin-inline-start:auto;white-space:nowrap}
#cart-products{min-width:0;margin:0;padding:0;border:0}
#cart-products>summary{display:none}
#cart-products[hidden]{display:none!important}
#cart-panel[data-cart-view=checkout] #cart-products{order:-2;padding:10px 12px;margin-bottom:10px;border:1px solid var(--buy-border);border-radius:10px;background:var(--buy-surface)}
#cart-panel[data-cart-view=checkout] #cart-products>summary{display:list-item;min-height:44px;cursor:pointer;color:var(--buy-ink)}
#cart-products-label{font-weight:650;font-size:14px}
#cart-products>summary>small{display:block;color:var(--buy-muted);font-size:12px;line-height:1.4}
#cart-panel[data-cart-view=checkout] #cart-products[open] #cart-lines{margin-top:10px}
#cart-panel[data-cart-view=checkout] .cart-panel__scroll>.cart-price-context{display:none}
.checkout-extra>summary{min-height:44px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;cursor:pointer;font-weight:600}
.checkout-extra>summary:before{content:'▸'}
.checkout-extra[open]>summary:before{content:'▾'}
.checkout-extra label{display:grid;gap:6px;margin:10px 0}
.checkout-extra>summary small{font-size:12px;color:var(--buy-muted);font-weight:400}
html body.purchase-refined.web-order #cart-panel #submit-order{min-height:44px;border-radius:9px;font-weight:650}
html body.purchase-refined.web-order #cart-panel[data-cart-view=checkout] #submit-order{grid-column:2;min-width:0;font-size:14px!important}
html body.purchase-refined.web-order #cart-panel #submit-order[hidden]{display:none!important}

@media (max-width:700px),(max-width:1000px) and (max-height:500px){
 html body.purchase-refined.web-order #cart-panel .cart-header{padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top));gap:10px}
 html body.purchase-refined.web-order #cart-panel .cart-header>div{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;min-width:0}
 html body.purchase-refined.web-order #cart-panel .cart-header>div>small{display:none}
 html body.purchase-refined.web-order #cart-panel #cart-title{font-size:22px;line-height:1.3;margin:0}
 html body.purchase-refined.web-order #cart-panel[data-cart-view=checkout] .purchase-cart-count{display:none}
 html body.purchase-refined.web-order #cart-panel .cart-panel__scroll{padding:10px 12px;scroll-padding-block:12px;gap:0}
 html body.purchase-refined.web-order #cart-panel .cart-panel__scroll>.cart-price-context{margin:0 0 10px;font-size:12px!important;line-height:1.4}
 html body.purchase-refined.web-order #cart-panel .cart-lines{gap:10px}
 html body.purchase-refined.web-order #cart-panel .cart-item{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:12px}
 html body.purchase-refined.web-order #cart-panel .cart-item-title{gap:10px;align-items:flex-start}
 html body.purchase-refined.web-order #cart-panel .cart-item-thumb{width:56px;height:56px;flex:0 0 56px;border-radius:8px}
 html body.purchase-refined.web-order #cart-panel .cart-item-copy{min-width:0;display:grid;gap:3px;flex:1}
 html body.purchase-refined.web-order #cart-panel .cart-item-title strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px!important;line-height:1.35!important}
 html body.purchase-refined.web-order #cart-panel .cart-product-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px!important}
 html body.purchase-refined.web-order #cart-panel .cart-spec{display:block;font-size:12px;line-height:1.4;color:var(--buy-muted)}
 html body.purchase-refined.web-order #cart-panel .cart-weight-hint{font-size:12px!important;line-height:1.4;color:var(--buy-ink);background:var(--tdf-warning-soft,#fff5df);border-radius:4px;padding:2px 5px;justify-self:start}
 html body.purchase-refined.web-order #cart-panel .cart-line-purchase{gap:6px 8px;width:100%;min-width:0}
 html body.purchase-refined.web-order #cart-panel .cart-quantity-edit{gap:4px;align-items:center;flex:0 0 auto;max-width:100%}
 html body.purchase-refined.web-order #cart-panel .cart-quantity-edit button{width:44px;min-width:44px;min-inline-size:44px;flex:0 0 44px;height:44px;padding:4px}
 html body.purchase-refined.web-order #cart-panel .cart-quantity-edit input{width:48px;min-width:44px;min-inline-size:44px;max-width:none;flex:0 0 48px;height:44px;margin:0;padding:4px;font-size:16px!important}
 html body.purchase-refined.web-order #cart-panel .cart-quantity-edit>span:last-child{font-size:13px;white-space:nowrap}
 html body.purchase-refined.web-order #cart-panel .cart-line-total{font-size:19px;line-height:1.3;font-weight:750}
 html body.purchase-refined.web-order #cart-panel .cart-line-secondary{gap:8px;width:100%}
 html body.purchase-refined.web-order #cart-panel .cart-line-secondary .customer-fee-details{padding:0;margin:0;border:0}
 html body.purchase-refined.web-order #cart-panel .cart-line-secondary summary{min-height:44px;padding:6px 0;font-size:12px!important;line-height:1.4}
 html body.purchase-refined.web-order #cart-panel .cart-line-secondary .customer-fee-details p{font-size:13px!important;line-height:1.5;overflow-wrap:anywhere}
 html body.purchase-refined.web-order #cart-panel .cart-actions button{min-width:44px;padding:6px;font-size:12px!important}
 html body.purchase-refined.web-order #cart-panel .cart-panel__footer{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:4px 8px;max-height:none;overflow:visible}
 html body.purchase-refined.web-order #cart-panel .cart-panel__footer>.cart-total{gap:8px}
 html body.purchase-refined.web-order #cart-panel .cart-panel__footer>.cart-total>span{font-size:12px}
 html body.purchase-refined.web-order #cart-panel :is(#cart-total-value,#shopping-total){font-size:23px;line-height:1.3}
 html body.purchase-refined.web-order #cart-panel #cart-tax-summary{font-size:11px!important;line-height:1.4}
 html body.purchase-refined.web-order #cart-panel :is(#cart-checkout-trigger,#submit-order){margin:0;min-width:0;min-height:44px;padding:8px;font-size:14px!important}
 html body.purchase-refined.web-order #cart-panel[data-cart-view=checkout] .cart-panel__footer{grid-template-columns:minmax(92px,.7fr) minmax(0,1.3fr)}
 html body.purchase-refined.web-order #cart-panel #order-form{padding:0;border:0;background:transparent}
 html body.purchase-refined.web-order #cart-panel #order-form .checkout-steps{padding:8px 10px;margin:0 0 10px;font-size:12px!important;line-height:1.4}
 html body.purchase-refined.web-order #cart-panel #order-form :is(.crm-verify,.checkout-profile,.checkout-address-current,.checkout-extra){padding:10px 12px;margin:0 0 10px;border:1px solid var(--buy-border);border-radius:10px;background:var(--buy-surface);color:var(--buy-ink)}
 html body.purchase-refined.web-order #cart-panel #order-form .crm-verify{display:flex;flex-direction:column;gap:6px}
 html body.purchase-refined.web-order #cart-panel #order-form .crm-verify>h3{font-size:15px;line-height:1.4;margin:0}
 html body.purchase-refined.web-order[data-commerce-realm] #cart-panel #order-form .crm-verify>h3+p{display:none}
 html body.purchase-refined.web-order #cart-panel #order-form #customer-verify-status{margin:0;font-size:13px!important;line-height:1.45}
 html body.purchase-refined.web-order #cart-panel #order-form .crm-verify>p:first-child{order:2;display:flex;gap:8px;margin:2px 0 0;font-size:0!important}
 html body.purchase-refined.web-order #cart-panel #order-form .crm-verify>p:first-child>a{flex:1;min-width:0;min-height:44px;padding:6px;font-size:13px!important;line-height:1.4;text-align:center;border:1px solid var(--buy-border);border-radius:7px;color:var(--buy-brand)}
 html body.purchase-refined.web-order #cart-panel #order-form #checkout-login-link{background:var(--buy-brand);color:var(--buy-surface);text-decoration:none}
 html body.purchase-refined.web-order #cart-panel #order-form .checkout-profile>summary{font-size:15px;line-height:1.4;padding:0;min-height:44px}
 html body.purchase-refined.web-order #cart-panel #order-form :is(.checkout-profile,.checkout-extra) label{display:grid;min-width:0;margin:8px 0 0;gap:4px;font-size:13px!important;line-height:1.4}
 html body.purchase-refined.web-order #cart-panel #order-form :is(input:not([type=hidden]),textarea,select){width:100%;min-width:0;max-width:100%;margin:0;padding:8px;font-size:16px!important}
 html body.purchase-refined.web-order #cart-panel #checkout-profile label:has(#customer-tax-display:placeholder-shown){display:none}
 html body.purchase-refined.web-order #cart-panel .checkout-address-current>strong{font-size:14px;line-height:1.4}
 html body.purchase-refined.web-order #cart-panel .checkout-address-current>p{font-size:13px!important;line-height:1.45;margin:4px 0}
 html body.purchase-refined.web-order #cart-panel .checkout-address-editor>summary{font-size:13px;min-height:44px}
 html body.purchase-refined.web-order #cart-panel .checkout-extra>summary{font-size:14px;line-height:1.4}
 html body.purchase-refined.web-order #cart-panel .commerce-draft-state{font-size:12px;line-height:1.4;margin:8px 0}
}
@media (min-width:360px) and (max-width:700px),(min-width:360px) and (max-width:1000px) and (max-height:500px){
 html body.purchase-refined.web-order #cart-panel #checkout-profile .checkout-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
 html body.purchase-refined.web-order #cart-panel #checkout-profile>summary{width:100%}
 html body.purchase-refined.web-order #cart-panel #checkout-profile .checkout-profile-fields>label:has(textarea,#customer-tax-display){grid-column:1/-1}
}
@media (max-width:700px) and (min-width:480px) and (max-height:360px),(max-width:1000px) and (min-width:480px) and (max-height:360px) and (max-height:500px){
 html body.purchase-refined.web-order #cart-panel .cart-header{padding-block:6px}
 html body.purchase-refined.web-order #cart-panel #cart-title{font-size:19px}
 html body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel .cart-panel__footer{grid-template-columns:minmax(120px,1fr) minmax(92px,.65fr) minmax(0,1.2fr);padding:6px 12px max(6px,env(safe-area-inset-bottom));gap:2px 8px}
 html body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel .cart-panel__footer>.cart-total{grid-column:1;grid-row:1;flex-direction:column;align-items:flex-start;gap:0}
 html body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel #cart-total-value{font-size:20px}
 html body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel #cart-tax-summary{grid-column:1;grid-row:2;text-align:left;white-space:normal;max-width:100%}
 html body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel[data-cart-view=cart] #cart-checkout-trigger{grid-column:2/-1;grid-row:1/3}
 html body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel[data-cart-view=checkout] #cart-checkout-trigger{grid-column:2;grid-row:1/3}
 html body.purchase-refined.web-order:not([data-has-gift-cart="true"]) #cart-panel[data-cart-view=checkout] #submit-order{grid-column:3;grid-row:1/3}
}

/* Catalog controls share one compact row; filters expand below in document flow. */
html body.storefront-v9 #store-catalog .catalog-filter-tools{display:block;margin:0 0 10px;padding:0;min-width:0}
html body.storefront-v9 #catalog-sortbar{--catalog-sort-surface:#efefec;position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;background:var(--catalog-sort-surface);border-radius:4px;min-width:0}
#catalog-sortbar .catalog-sortbar-label,#catalog-sortbar .catalog-sort-buttons,#catalog-sortbar .catalog-price-sort,#catalog-filter-toggle{display:none}
html body.storefront-v9 #catalog-sortbar .catalog-sort{display:block;flex:1 1 220px;max-width:340px;min-width:0;margin:0;padding:0}
html body.storefront-v9 #catalog-sortbar .catalog-sort-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.storefront-v9 #catalog-sortbar select{box-sizing:border-box;display:block;width:100%;height:44px;min-width:0;min-height:44px;margin:0;padding:8px 12px;border:1px solid var(--tdf-border,#d8e1db);border-radius:3px;background-color:var(--tdf-surface,#fff);color:var(--tdf-text,#17221c);font-family:inherit;font-size:16px!important;font-weight:400!important;line-height:1.4!important;cursor:pointer}
html body.storefront-v9.catalog-toolbar-ready #catalog-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;flex:none;min-height:44px;margin:0;padding:8px 12px;border:1px solid var(--tdf-border,#d8e1db);border-radius:3px;background:var(--tdf-surface,#fff);color:var(--tdf-text,#17221c);font-size:calc(.875rem * var(--purchase-scale,1))!important;font-weight:500!important;line-height:1.4!important;white-space:nowrap;cursor:pointer}
#catalog-filter-toggle svg{display:block;flex:none;width:16px;height:16px}
html body.storefront-v9.catalog-toolbar-ready #catalog-filter-toggle[aria-expanded=true]{border-color:var(--tdf-primary,#175943);color:var(--tdf-primary,#175943)}
html body.storefront-v9 #catalog-top-pagination{display:flex;align-items:center;flex:none;gap:14px;margin-left:auto;min-width:0;color:var(--tdf-text,#17221c);font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums}
#catalog-top-pagination .catalog-page-count{display:inline-flex;align-items:baseline;gap:2px;white-space:nowrap}
#catalog-top-pagination .catalog-page-count b{font-weight:500;color:var(--tdf-primary,#175943)}
#catalog-top-pagination .catalog-page-arrows{display:inline-flex;flex:none;border:1px solid var(--tdf-border,#d8e1db);border-radius:3px;overflow:hidden;background:var(--tdf-surface,#fff)}
html body.storefront-v9 #catalog-top-pagination button{box-sizing:border-box;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:var(--tdf-surface,#fff);color:var(--tdf-text,#17221c);cursor:pointer}
html body.storefront-v9 #catalog-top-pagination #catalog-page-prev{border-right:1px solid var(--tdf-border,#d8e1db)}
#catalog-top-pagination button svg{display:block;pointer-events:none}
html body.storefront-v9 #catalog-top-pagination button:disabled{opacity:.35;cursor:default}
html body.storefront-v9 #catalog-top-pagination button:not(:disabled):hover{background:var(--tdf-page,#f4f7f5);color:var(--tdf-primary,#175943)}
html body.storefront-v9 #catalog-top-pagination button:focus-visible{outline:3px solid var(--tdf-focus,#175cd3)!important;outline-offset:-3px!important}
html body.storefront-v9.catalog-toolbar-ready #catalog-filters{grid-column:1/-1;min-width:0;margin:0;padding:0;border:0;background:transparent}
html body.storefront-v9.catalog-toolbar-ready #catalog-filters>summary{display:none}
html body.storefront-v9.catalog-toolbar-ready #catalog-filters[open]{margin-top:8px;padding:12px;border:1px solid var(--tdf-border,#d8e1db);border-radius:4px;background:var(--tdf-surface,#fff)}
html body.storefront-v9 #catalog-filter-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto auto;align-items:end;gap:12px;min-width:0;margin:0;padding:0;border:0;background:transparent}
html body.storefront-v9 #catalog-filter-fields>label{display:grid;gap:6px;min-width:0;margin:0;font-size:13px;line-height:1.4}
html body.storefront-v9 #catalog-filter-fields input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;max-width:none;min-height:44px;margin:0;padding:8px 10px;border:1px solid var(--tdf-border,#d8e1db);border-radius:3px;background:var(--tdf-surface,#fff);color:var(--tdf-text,#17221c);font-size:16px!important}
html body.storefront-v9 #catalog-filter-fields>.v15-new-filter{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 0}
html body.storefront-v9 #catalog-filter-fields #new-only{width:18px;height:18px;min-height:18px;margin:0;flex:none}
html body.storefront-v9 #catalog-filter-fields #clear-filters{min-height:44px;margin:0;padding:8px 12px;border-radius:3px;font-size:14px!important;line-height:1.4!important}
#catalog-filter-error:empty{display:none}
#catalog-filter-error:not(:empty){margin:10px 0 0}
#catalog-active-filters:empty{display:none}
html body.storefront-v9 #store-catalog .catalog-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:0;margin:0 0 10px;padding:0}
html body.storefront-v9 #store-catalog .catalog-toolbar .demo-pill{display:none}
html body.storefront-v9 #catalog-summary{position:relative;margin:0;font-size:13px;line-height:1.4;color:var(--tdf-text-muted,#58645d)}
/* Hidden labels must not enlarge the root outside the page's scroll container. */
#catalog-sortbar :is(.catalog-sort-label,.ui-visually-hidden),#catalog-summary .ui-visually-hidden{top:0;left:0}
@media(min-width:1001px){
 html body.storefront-v9.catalog-toolbar-ready #catalog-sortbar .catalog-sortbar-label{display:block;flex:none;font-size:14px;line-height:1.4;color:var(--tdf-text-muted,#58645d)}
 html body.storefront-v9.catalog-toolbar-ready #catalog-sortbar .catalog-sort-buttons{display:flex;flex:none;gap:8px}
 html body.storefront-v9 #catalog-sortbar .catalog-sort-buttons button{min-height:44px;margin:0;padding:8px 16px;border:1px solid var(--tdf-border,#d8e1db);border-radius:3px;background:var(--tdf-surface,#fff);color:var(--tdf-text,#17221c);font-size:calc(.875rem * var(--purchase-scale,1))!important;font-weight:500!important;line-height:1.4!important;white-space:nowrap;cursor:pointer}
 html body.storefront-v9 #catalog-sortbar .catalog-sort-buttons button[aria-pressed=true]{border-color:var(--tdf-primary,#175943);background:var(--tdf-primary,#175943);color:var(--tdf-on-primary,#fff)}
 html body.storefront-v9 #catalog-sortbar .catalog-sort-buttons button:not([aria-pressed=true]):hover{border-color:var(--tdf-primary,#175943);color:var(--tdf-primary,#175943)}
 html body.storefront-v9.catalog-toolbar-ready #catalog-sortbar .catalog-price-sort{display:block;flex:0 1 210px;min-width:175px;margin:0}
 html body.storefront-v9 #catalog-sortbar #catalog-price-sort{font-size:14px!important}
 html body.storefront-v9 #catalog-sortbar #catalog-price-sort.is-active{border-color:var(--tdf-primary,#175943);color:var(--tdf-primary,#175943)}
 html body.storefront-v9.catalog-toolbar-ready #catalog-sortbar .catalog-sort{display:none}
}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 html body.storefront-v9 #catalog-sortbar{flex-wrap:nowrap;gap:8px;padding:0;background:transparent}
 html body.storefront-v9.catalog-toolbar-ready #catalog-filter-toggle{order:-1;padding:8px 10px}
 html body.storefront-v9 #catalog-sortbar .catalog-sort{flex:1;max-width:none;min-width:0}
 html body.storefront-v9 #catalog-sortbar select{padding-inline:8px}
 html body.storefront-v9 #catalog-top-pagination{gap:10px;font-size:13px}
 html body.storefront-v9 #catalog-filter-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 html body.storefront-v9 #catalog-filter-fields>.v15-new-filter{grid-column:1/-1;padding:4px 0}
 html body.storefront-v9 #catalog-filter-fields #clear-filters{grid-column:1/-1;width:100%}
 html body.storefront-v9.catalog-toolbar-ready #catalog-filters[open]{padding:10px}
}
