/* C03/C04 structural implementation; source-native assets, server prices. */
.storefront-v9{--red:#087a45;--green:#087a45;background:#f6f8f7}
.storefront-v9 .main-head{display:flex;flex-wrap:wrap;padding:16px 28px;gap:24px}
.storefront-v9 .main-head .wordmark{margin-right:0;flex:0 0 auto}
.storefront-v9 .main-head .global-search{flex:1;min-width:220px;margin:0;position:relative}
.storefront-v9 .main-head .search-hint,.storefront-v9 .main-head nav,.storefront-v9 #search-shortcut{display:none}
.v9-category-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 28px;background:white;border-block:1px solid #edf0ed}
.v9-category-strip button{flex:0 0 auto;background:white;border:0;border-radius:6px;padding:12px 16px;color:#25392d;cursor:pointer}
.v9-category-strip button[aria-current=true]{background:var(--tdf-primary,#087a45);color:white}
.v9-category-strip .v9-events-link{display:flex;flex:0 0 auto;align-items:center;padding:10px 14px;color:var(--tdf-primary,#087a45);font-size:14px;font-weight:700}
.v9-top-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,22%);align-items:start;gap:16px;margin:16px auto;max-width:1600px;padding:0 16px}
.v9-main-left{min-width:0}.storefront-v9 .hero{width:100%;margin:0;max-width:none;border-radius:9px;min-height:340px}
.storefront-v9 .hero-main{padding:28px}.storefront-v9 .hero h1{font-size:38px}.storefront-v9 .hero-photo{min-height:300px}
.storefront-v9 .featurebar{margin:0;width:100%;padding:16px 8px;gap:10px}.storefront-v9 .featurebar>div{min-width:0}
.storefront-v9 .main-content{max-width:1600px;padding:0 24px;margin:auto}
.storefront-v9 .catalog-with-sidebar{display:block}.storefront-v9 .v15-category-sidebar,.storefront-v9 #category-menu-toggle{display:none}
.storefront-v9 .products-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.storefront-v9 .product-info{padding:12px}.storefront-v9 .product-info h3{font-size:16px}.storefront-v9 .product-price{font-size:20px}
.v9-checkout{margin-top:16px}.v9-sticky-cart{display:none}
/* Catalog composition. The REV04 overlay shell lives in quick_order_rev04.css. */
.storefront-v9 .v9-top-split{display:block}
@media(max-width:1099px){.v9-top-split{display:block}.storefront-v9 .products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.storefront-v9{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.storefront-v9 .main-head{padding:12px;gap:12px}.storefront-v9 .main-head .global-search{order:5;flex-basis:100%;min-width:0}.v9-category-strip{padding:8px 12px}.v9-top-split{padding:0 12px;margin:12px 0}.storefront-v9 .hero{grid-template-columns:1fr;min-height:0}.storefront-v9 .hero-main{padding:22px}.storefront-v9 .hero h1{font-size:28px}.storefront-v9 .hero-photo{min-height:180px}.storefront-v9 .hero-stats{display:none}.storefront-v9 .featurebar{display:grid;grid-template-columns:1fr 1fr}.storefront-v9 .main-content{padding:0 12px}.storefront-v9 .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v9-sticky-cart{display:block;position:fixed;bottom:0;left:0;right:0;width:100%;padding:18px 12px calc(18px + env(safe-area-inset-bottom));background:#087a45;color:white;border:0;font-weight:700;z-index:8}}

/* Final composition: desktop top split, full-width catalog, mobile circular rail. */
.storefront-v9{--red:var(--tdf-primary,#087a45);--green:var(--tdf-primary,#087a45)}
.storefront-v9 .main-head{flex-wrap:nowrap;gap:20px;padding:16px 24px;min-width:0}
.storefront-v9 .main-head .wordmark{font-size:22px}.storefront-v9 .brand-logo{width:48px;height:48px;object-fit:contain}
.storefront-v9 .main-head .global-search{min-width:0;flex:1}.storefront-v9 .search-control{min-height:44px}.storefront-v9 .search-control input{width:100%;min-width:0;font-size:14px}
.storefront-v9 .main-head .reader-tools{display:none}.v9-account{font-size:13px;white-space:nowrap;color:#344054}
.v9-delivery{background:transparent;border:0;color:#344054;font:inherit;font-size:12px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px;cursor:pointer;order:2}
.storefront-v9 #cart-open{order:4;white-space:nowrap;background:transparent!important;border:0;color:var(--tdf-primary,#087a45)!important;padding:8px;min-width:100px}.v9-header-total{display:block;font-weight:700;color:#b42318;margin-top:4px}
.v9-account{order:3}.v9-category-strip{scrollbar-width:thin}.v9-category-strip img{display:none}.v9-category-strip button[aria-current=true]{color:var(--tdf-primary,#087a45);background:var(--tdf-soft,#eaf7f0)}
/* Reserve the async featured cards before they arrive. Inserting them above a
   closed product sheet must not trigger vertical scroll anchoring. */
.v9-featured-cards{min-block-size:150px}
@media(max-width:700px){.v9-featured-cards{min-block-size:250px}}
.v9-featured{background:#fff;border-radius:8px;padding:16px;margin-top:8px}.v9-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.v9-section-heading h2{font-size:22px;margin:0;color:#17221c}.v9-section-heading a{color:var(--tdf-primary,#087a45);font-size:13px;white-space:nowrap}
.v9-featured-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v9-featured-card{display:flex;border:1px solid #e5e9e5;border-radius:8px;overflow:hidden;color:#17221c;min-width:0;text-decoration:none;background:white}.v9-featured-card img{width:39%;min-width:0;object-fit:cover}.v9-featured-card>div{padding:12px;min-width:0}.v9-featured-card h3{font-size:15px;line-height:1.4;margin:0 0 8px}.v9-featured-card small{font-size:12px;color:#667085}.v9-featured-card strong{display:block;font-size:14px;color:var(--tdf-primary,#087a45);margin-top:9px}
.storefront-v9 .cart-header h2{font-size:22px}.storefront-v9 .cart-item-title strong{font-size:14px}.storefront-v9 .cart-item-thumb{width:58px;height:58px}.storefront-v9 .cart-lines input{min-width:0}.storefront-v9 .cart-total{font-size:15px}
.storefront-v9 .main-content{box-sizing:border-box;width:100%;max-width:1600px}.storefront-v9 .catalog-head{margin:22px 0 12px}.storefront-v9 .catalog-head h2{font-size:26px}.storefront-v9 .catalog-head p{font-size:14px}.storefront-v9 .product-card{border:1px solid #e5e9e5;box-shadow:0 2px 5px #17221c05;border-radius:9px;min-width:0;overflow:hidden}.storefront-v9 .product-art{height:150px;min-height:0;aspect-ratio:1.5}.storefront-v9 .product-title{font-size:15px;line-height:1.4}.storefront-v9 .product-info h3{min-height:42px;margin:8px 0}.storefront-v9 .product-code{font-size:10px}.storefront-v9 .product-caption{font-size:11px}.storefront-v9 .product-order-link{font-size:13px;padding:11px 6px;background:var(--tdf-primary,#087a45)}
.v9-hero{width:100%;min-width:0;border-radius:9px;overflow:hidden;background:var(--tdf-soft,#eaf7f0)}.v9-hero-track{aspect-ratio:3.2;position:relative}.v9-hero-slide{display:block;width:100%;height:100%;position:absolute;inset:0;color:#173b25}.v9-hero-slide picture,.v9-hero-slide img{display:block;width:100%;height:100%;object-fit:cover}.v9-hero-cta{position:absolute;bottom:24px;left:28px;background:white;color:var(--tdf-primary,#087a45);padding:12px 20px;border-radius:6px;font-weight:700;font-size:15px}.v9-image-fallback{position:absolute;top:30%;left:10%;font-size:26px;font-weight:700}.v9-hero-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px;background:#fff;min-height:42px}.v9-hero-controls button{min-height:32px;min-width:32px;border:0;background:transparent;color:var(--tdf-primary,#087a45);font-size:14px;cursor:pointer}.v9-hero-dots{display:flex;gap:3px}.v9-hero-dots button{position:relative;padding:8px;min-width:24px}.v9-hero-dots button:after{content:'';display:block;width:9px;height:9px;border-radius:50%;background:#d1d9d3}.v9-hero-dots button[aria-selected=true]:after{background:var(--tdf-primary,#087a45)}
.v9-bottom-nav{display:none}.v9-network-status{margin:0;padding:12px;background:#fffaeb;color:#93370d;font-size:14px;text-align:center}
.storefront-v9 :is(button,a,input,select,summary):focus-visible{outline:3px solid #175cd3;outline-offset:3px}
@media(min-width:1100px){.storefront-v9 .hero{min-height:310px}.storefront-v9 .hero h1{font-size:32px}.storefront-v9 .hero-main{padding:24px}.storefront-v9 .hero-main p{font-size:14px}.storefront-v9 .hero-stats{display:none}.storefront-v9 .hero-photo{min-height:300px}.storefront-v9 .cart-panel{padding:15px}.storefront-v9 .cart-lines{max-height:340px}.storefront-v9 .cart-header>div>small{font-size:10px}.storefront-v9 .featurebar b{font-size:12px}.storefront-v9 .featurebar small{font-size:11px}}
@media(min-width:701px) and (max-width:1099px){.storefront-v9 .main-head{flex-wrap:wrap}.storefront-v9 .main-head .global-search{flex-basis:40%}.v9-delivery{max-width:180px}.v9-featured-card img{width:40%}}
@media(max-width:700px){
 .storefront-v9{padding-bottom:calc(140px + env(safe-area-inset-bottom))}.storefront-v9 .top-ribbon{font-size:9px;line-height:1.4;padding:5px 8px}
 .storefront-v9 .main-head{display:flex;flex-wrap:wrap;padding:12px 16px;gap:10px}.storefront-v9 .main-head .wordmark{font-size:21px;margin-right:auto}.storefront-v9 .main-head .wordmark .brand-logo{width:38px;height:38px}.storefront-v9 .v9-account{font-size:12px;max-width:76px;white-space:normal;text-align:center}.storefront-v9 #cart-open{display:none}.storefront-v9 #search-shortcut{display:block;order:2;border:0;padding:8px;color:var(--tdf-primary,#087a45);background:white}.storefront-v9 #search-shortcut span{display:none}.storefront-v9 .main-head .global-search{display:none;order:6;flex-basis:100%}.storefront-v9 .main-head.is-searching .global-search{display:block}.v9-delivery{order:5;flex-basis:100%;max-width:100%;text-align:left;border-top:1px solid #edf0ed;padding:13px 0 0;margin-top:3px;font-size:14px}
 .storefront-v9 .hero{border-radius:12px;grid-template-columns:1fr 1fr;min-height:220px;gap:0}.storefront-v9 .hero-main{padding:18px 16px}.storefront-v9 .hero .eyebrow{font-size:9px;letter-spacing:.5px}.storefront-v9 .hero h1{font-size:24px;line-height:1.25;margin:12px 0}.storefront-v9 .hero-main>p{display:none}.storefront-v9 .hero-photo{min-height:220px}.storefront-v9 .hero-main>.btn{font-size:12px;padding:10px 12px}.storefront-v9 .hero-photo .tag-photo{display:none}.storefront-v9 .featurebar{display:none}
 .v9-hero{border-radius:12px}.v9-hero-track{aspect-ratio:1.6}.v9-hero-cta{bottom:18px;left:18px;font-size:13px;padding:10px 14px}.v9-hero-controls{min-height:34px;padding:3px 6px;gap:6px}.v9-hero-controls button{font-size:12px}.v9-hero-dots{gap:0}
 .v9-category-strip{border:0;background:transparent;margin:14px -2px 6px;padding:4px 0 10px;gap:12px;align-items:start}.v9-category-strip button{display:flex;flex-direction:column;align-items:center;white-space:normal;flex:0 0 74px;padding:0 2px;background:transparent!important;color:#25392d!important;font-size:12px;line-height:1.4;min-height:100px}.v9-category-strip img{display:block;width:64px;height:64px;border-radius:50%;object-fit:cover;background:#eaf7f0;margin-bottom:8px}.v9-category-strip button[aria-current=true] img{outline:3px solid var(--tdf-primary,#087a45);outline-offset:2px}
 .v9-featured{padding:12px 0;background:transparent}.v9-section-heading h2{font-size:21px}.v9-section-heading a{font-size:12px}.v9-featured-cards{display:flex;overflow-x:auto;gap:10px;padding:2px 2px 12px;scroll-snap-type:x proximity}.v9-featured-card{flex:0 0 42%;display:flex;flex-direction:column;scroll-snap-align:start}.v9-featured-card img{width:100%;height:110px}.v9-featured-card>div{padding:10px}.v9-featured-card h3{font-size:14px}.v9-featured-card small{font-size:11px}.v9-featured-card strong{font-size:14px}
 .v9-sticky-cart{bottom:calc(62px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;min-height:65px;padding:18px 12px;font-size:13px;background:var(--tdf-primary,#087a45)}.v9-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(62px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:white;z-index:8;box-shadow:0 -1px 4px #17221c12;box-sizing:border-box}.v9-bottom-nav a{flex:1;text-align:center;padding:6px 2px;color:#5f6a63;display:flex;flex-direction:column;align-items:center;gap:3px}.v9-bottom-nav a:first-child{color:var(--tdf-primary,#087a45)}.v9-bottom-nav span{font-size:24px;line-height:27px}.v9-bottom-nav small{font-size:11px}
 .storefront-v9 .catalog-head h2{font-size:22px}.storefront-v9 .catalog-head .eyebrow,.storefront-v9 .catalog-head p{display:none}.storefront-v9 .v15-filter-bar{display:flex;flex-wrap:wrap;padding:12px;gap:10px}.storefront-v9 .v15-filter-bar label{flex:1 1 40%;min-width:0}.storefront-v9 .v15-filter-bar input,.storefront-v9 .v15-filter-bar select{min-width:0;width:100%;font-size:13px}.storefront-v9 .product-art{height:140px}.storefront-v9 .product-price{font-size:19px}.storefront-v9 .product-info{padding:10px}.storefront-v9 .product-info h3{font-size:14px;min-height:39px}.storefront-v9 .product-sub{font-size:10px}.storefront-v9 .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.storefront-v9 *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){.storefront-v9 .main-head #search-shortcut{width:38px;min-width:38px;flex:0 0 38px;margin:0;padding:8px;display:flex;justify-content:center}.storefront-v9 .main-head .v9-account{font-size:0;min-height:44px;flex:0 0 30px;max-width:30px;display:flex;align-items:center;justify-content:center}.storefront-v9 .v9-account:before{content:'♙';font-size:27px;color:var(--tdf-primary,#087a45)}.storefront-v9 .main-head .wordmark{flex:1;gap:7px;min-width:0}.storefront-v9 .main-head .wordmark strong{font-size:20px}.storefront-v9 .main-head{gap:8px}.storefront-v9 .top-ribbon{font-size:10px!important;line-height:1.4!important}.storefront-v9 .v9-category-strip button{padding:0 2px!important;font-size:12px!important;border-radius:0}.storefront-v9 .v9-category-strip button:first-child{background:transparent!important}.storefront-v9 .v9-bottom-nav small{font-size:11px!important}.storefront-v9 .v9-featured-card small{font-size:11px!important}.storefront-v9 .v9-sticky-cart{font-size:13px!important}}
@media(max-width:700px){.storefront-v9 .v15-filter-bar{max-width:100%}.storefront-v9 .v15-filter-bar label{white-space:normal;max-width:100%;min-width:0}.storefront-v9 .v15-filter-bar .v15-new-filter{flex-basis:100%;display:flex;align-items:center;gap:10px;white-space:normal}.storefront-v9 .v15-filter-bar input[type=checkbox]{width:20px;max-width:20px;flex:0 0 20px;min-height:20px}}
.v9-hero{position:relative}.v9-hero-controls button{padding:4px 8px;font-size:12px!important;line-height:1.25;min-height:30px}.v9-featured-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.v9-featured-card img{max-height:145px}.v9-featured-card>div{padding:10px}.v9-category-all{display:none}
@media(min-width:701px){.v9-hero-track{aspect-ratio:3.6}.v9-hero-controls{position:absolute;bottom:4px;left:0;right:0;background:transparent;padding:0;min-height:30px}.v9-hero-controls>button{background:#fffffff0;border-radius:6px}.v9-hero-dots button:after{background:#fff}.storefront-v9 .main-head{padding:12px 24px}.v9-category-strip{padding-block:6px}.v9-category-strip button{min-height:44px;padding:10px 14px;font-size:14px!important}.storefront-v9 .featurebar>div{padding:12px 6px;border:0;box-shadow:none;border-radius:0;background:white}.storefront-v9 .featurebar{padding:8px;background:white}.storefront-v9 .featurebar b{font-size:12px!important}.storefront-v9 .featurebar small{font-size:11px!important}.storefront-v9 .top-ribbon{font-size:11px!important;padding:4px;line-height:1.4!important}}
@media(max-width:700px){.storefront-v9 .v9-category-strip button:first-child{color:#25392d!important}.v9-hero-track{aspect-ratio:1.8}.v9-hero-controls{padding:4px;min-height:32px}.v9-category-all{display:flex;width:64px;height:64px;align-items:center;justify-content:center;background:var(--tdf-soft,#eaf7f0);color:var(--tdf-primary,#087a45);font-size:30px;border-radius:50%;margin-bottom:8px}}
@media(max-width:700px){.v9-category-strip .v9-events-link{display:none}.v9-hero-controls{flex-wrap:wrap}.v9-hero-controls>button:first-child,.v9-hero-controls>button:nth-child(3){display:none}.v9-hero-dots{flex-wrap:wrap;max-width:100%;justify-content:center}.v9-hero-dots button{width:18px;min-width:18px;padding:4px}}
