/* All viewport sizes share the same controls and content. */
.home-browse{width:100%;flex-basis:100%;gap:8px!important;scroll-padding-inline:8px;overscroll-behavior-inline:contain}
.home-browse>[hidden]{display:none!important}
.home-browse>.home-trigger{scroll-margin-inline:8px}
.home-order-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.home-order-actions button{min-width:44px;min-height:44px}
.shop-toolbar:has(.home-browse) .search input{width:100%;font-size:14px}
.shop-toolbar:has(.home-browse) .search,.shop-toolbar:has(.home-browse) #sort{min-height:44px}
.home-trigger{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:44px;text-align:center;white-space:nowrap;font:inherit;padding:10px 17px}
.home-trigger.home-direct{border-radius:8px}.home-chevron{font-size:1.2em}
.shop-toolbar:has(.home-browse){display:flex;flex-direction:column;align-items:stretch;gap:10px}
.shop-toolbar:has(.home-browse)>.shop-controls{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,220px);gap:10px}
#home-browse-panel{width:100%;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--cream,#fffaf4);color:var(--ink);max-height:65dvh;overflow-y:auto;overscroll-behavior:contain}
#home-browse-panel[hidden]{display:none}
html[data-theme=dark] #home-browse-panel{background:var(--front-dark-background,#10262b);color:#e7eeee}
.home-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.home-panel-heading>button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;color:inherit;font-size:24px}
.home-category-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}
.home-category-menu>button{min-height:48px;display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:start;border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:transparent;color:inherit;font:inherit;overflow-wrap:anywhere}
.home-category-menu img{width:40px;height:40px;object-fit:cover;border-radius:6px}
.home-category-menu>button:hover,.home-category-menu>button[aria-pressed=true]{background:var(--brand-primary);color:var(--front-on-light,#fff)}
html[data-theme=dark] .home-category-menu>button:hover,html[data-theme=dark] .home-category-menu>button[aria-pressed=true]{background:var(--front-dark-primary);color:var(--front-on-dark,#10262b)}
.home-browse button:focus-visible,.home-category-menu button:focus-visible,.home-page-disclosure>summary:focus-visible{outline:2px solid var(--brand-primary);outline-offset:3px}
#home-selection-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block:8px 16px}#home-selection-title[hidden]{display:none}
.home-collection{padding-block:24px}.home-collection>h2{margin:0 0 12px}.home-collection>p{max-width:70ch;white-space:pre-line}.home-section-image{width:100%;max-height:280px;object-fit:contain;border-radius:12px}
.home-page-disclosure{border:1px solid var(--line);border-radius:12px;padding:14px}.home-page-disclosure>summary{min-height:44px;cursor:pointer;align-content:center}.home-page-disclosure[open]>summary{margin-bottom:12px}
.home-section-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px;max-height:88dvh;padding:50px 24px 24px}.home-product-grid{margin-block:12px}.home-empty{padding:16px;border:1px dashed var(--line);border-radius:10px}
.home-collection .product-card img{border-radius:0;max-height:none}.home-section-dialog h2{padding-inline-end:40px}
#home-order-preview{margin-block:18px;padding:12px;border:1px solid var(--line);border-radius:12px}#home-order-preview>summary{cursor:pointer;min-height:40px}
.home-admin-preview{display:grid;gap:10px;max-width:850px;margin-inline:auto}.home-preview-block{padding:14px;border:1px solid var(--line);border-radius:10px}.home-preview-block.is-hidden{opacity:.55;border-style:dashed}.home-preview-block small{display:block}.home-preview-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-block:12px}.home-preview-tabs>span{padding:8px 12px;border:1px solid var(--line);border-radius:8px}
.home-product-picker{max-height:350px;overflow:auto}.home-pick-row{display:flex;gap:6px;align-items:center;padding:6px;border-bottom:1px solid var(--line);min-width:0}.home-pick-row label{flex:1;display:flex;align-items:center;gap:8px;min-width:0}.home-pick-row small{display:block;opacity:.8}.home-pick-row button{min-width:40px;min-height:40px}.home-pick-row input{width:auto!important}
.home-section-editor details{grid-column:1/-1;border:1px solid var(--line);padding:12px;border-radius:8px}.home-section-editor details>summary{cursor:pointer;min-height:36px}.home-section-editor [data-home-collection-settings]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-column:1/-1}.home-copy[open]{display:grid;gap:10px}.home-tax-contents{grid-column:1/-1}
@media(min-width:900px){.home-browse .home-trigger{min-width:135px}.shop-toolbar:has(.home-browse)>.shop-controls{max-width:900px}}
@media(max-width:650px){
 .home-browse .home-trigger{padding:10px 13px;font-size:15px;min-width:max-content}
 .shop-toolbar:has(.home-browse)>.shop-controls{grid-template-columns:minmax(0,1fr) minmax(115px,40%);gap:8px}
 #home-browse-panel{padding:12px}.home-category-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-category-menu>button{padding:10px 8px;font-size:14px;min-width:0}.home-category-menu img{width:28px;height:28px}
 .home-section-dialog{width:calc(100vw - 16px);padding:48px 12px 16px}.home-collection{padding-block:18px}.home-collection h2{font-size:24px}
 .home-section-editor [data-home-collection-settings]{grid-template-columns:1fr}.home-pick-row label{font-size:14px}
}
/* v26: compact customer layout, shared content at every breakpoint. */
.home-browse{flex:0 0 auto!important;min-width:0;max-width:100%;overflow-x:auto!important;overflow-y:hidden;align-items:stretch;justify-content:flex-start!important;padding:4px 2px 8px;scroll-snap-type:x proximity}
.home-browse>.home-trigger{flex:0 0 auto!important;min-width:max-content;width:auto;max-width:none;scroll-snap-align:start;line-height:1.4;border-radius:10px}
.shop-toolbar,.shop-controls,.shop-toolbar>*{min-width:0}.home-scroll-hint{display:none;color:var(--muted);font-size:12px;margin-block:-7px 0}
#discovery-actions{flex-wrap:wrap;overflow:visible;gap:8px}#discovery-actions>*{max-width:100%;white-space:normal}
#discovery-quick-tax{display:flex;gap:8px;overflow-x:auto;padding-block:4px 8px;max-width:100%;scrollbar-width:thin}
#discovery-quick-tax .discovery-chip{flex:0 0 auto;display:flex;align-items:center;gap:7px;border-radius:9px;min-height:44px;white-space:nowrap}
#discovery-quick-tax small{font-size:12px;opacity:.8}#discovery-quick-tax span{font-weight:600}
#hero-loyalty.home-system-section{margin:12px auto 24px;padding-inline:20px;max-width:740px;width:100%;justify-self:auto}
#home-trust-strip{width:100%;justify-content:safe center;min-height:34px;margin-block:8px;flex-wrap:wrap;white-space:normal;gap:8px 20px}
.hero.loyalty-hidden .hero-copy{margin-inline:auto;width:100%}.hero.loyalty-hidden{gap:0;padding-block:22px}
.home-section-editor [hidden]{display:none!important}
@media(max-width:650px){
 .home-scroll-hint{display:block}.home-browse>.home-trigger{font-size:15px;padding:10px 14px;min-height:46px}
 .header .header-inner{height:auto;min-height:0;gap:0 10px;padding-block:2px}
 .header .brand{width:92px;height:68px;justify-content:center}.header .brand-logo{width:92px;height:68px;object-fit:contain}
 .header.header-compact .brand{width:68px;height:48px}.header.header-compact .brand-logo{width:68px;height:48px}
 .header.header-compact nav a{padding-block:4px}.header nav a{min-height:40px;display:inline-flex;align-items:center;white-space:nowrap}
 .header-actions{gap:6px}.header-control,.cart-button{min-height:44px}
 .product-card .product-meta{padding-top:6px;gap:4px;flex-wrap:wrap}.product-card h3{margin-top:3px;line-height:1.4}
 .product-card .product-description{min-height:0;margin-block:3px;line-height:1.45}.product-card .rating-button{margin-block:4px;padding-block:3px;min-height:40px;gap:3px}
 .product-card .card-bottom{margin-top:5px;padding-top:6px;gap:6px}.product-card .details-button{min-height:44px;line-height:1.35}
 .product-card .wishlist-button{min-width:44px;min-height:44px}.product-card .sale-prices{row-gap:1px}
 #hero-loyalty.home-system-section{margin-block:6px 16px;padding-inline:16px;max-width:510px}
 .hero.loyalty-hidden{padding-block:16px}.hero.loyalty-hidden h1{font-size:30px;margin-block:6px}.hero.loyalty-hidden .hero-copy>p{margin-bottom:12px;line-height:1.6}
 #home-browse-panel .home-category-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.home-category-menu>button{white-space:normal}
}
