/* Public menu: compact chrome, touchable categories and a centered product dialog. */
.app-header{display:grid;grid-template-columns:44px minmax(0,1fr) 96px;gap:10px;padding:0 24px}
.header-back-slot{width:44px;height:44px}.header-actions{display:flex;justify-content:flex-end;gap:4px}.header-actions .icon-button,.header-back{width:44px;height:44px;background:transparent;border:0}
.app-header .brand{justify-self:start;width:auto;min-width:0}.page{padding-top:22px}.page-heading h1{font-size:26px}
.compact-hero{height:240px;min-height:0;aspect-ratio:auto;display:block}.compact-hero>img{object-position:center 55%}
.discover-page .section{margin-top:22px}.category-switcher{margin-top:0;margin-bottom:20px}
.category-label{left:16px;right:16px;bottom:18px;display:block}.category-label h2{padding:0;font-size:clamp(20px,3vw,30px)}.category-card{aspect-ratio:1.15}
.ribbon-container{position:relative;min-width:0}.category-ribbon{margin:0;padding:5px 28px 10px 0;gap:16px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c6cebd transparent}
.category-ribbon>a{scroll-snap-align:start;flex:0 0 84px}.category-ribbon .ribbon-photo{width:78px;height:78px}.category-ribbon>a.active .ribbon-photo{outline:3px solid var(--green);outline-offset:2px}.category-ribbon>a.active{font-weight:800}
.category-ribbon{scrollbar-width:none}.category-ribbon::-webkit-scrollbar{display:none}
.ribbon-prev,.ribbon-next{position:absolute;top:22px;width:44px;height:44px;z-index:2;background:var(--paper);box-shadow:0 2px 12px #15392a22}.ribbon-prev{left:-10px}.ribbon-next{right:-10px}
.product-info h3{margin:0}.product-bottom{padding-top:10px}.product-detail{display:block;max-width:700px;margin:auto}.detail-photo{aspect-ratio:1.25;border-radius:20px;max-height:460px}
.detail-copy{padding:22px 4px 12px;margin:0;min-height:0}.detail-copy h1{margin:0;font-size:30px;max-width:none}.detail-copy .detail-price{margin:12px 0 18px;font-size:27px}.detail-copy .detail-intro{font-size:16px}.detail-copy .product-facts:empty{display:none}
.product-sheet{position:fixed;inset:0;border:0;padding:0;width:min(600px,calc(100vw - 40px));max-width:none;max-height:90dvh;margin:auto;border-radius:26px;background:var(--cream);color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 90px #081a2266}
.product-sheet::backdrop{background:#0c1e19a8}.product-sheet[open]{animation:sheet-enter .2s ease-out}.sheet-toolbar{height:0;position:sticky;top:12px;z-index:3;display:flex;justify-content:flex-end;pointer-events:none;padding:0 12px}.sheet-toolbar button{pointer-events:auto;background:var(--paper);font-size:30px;line-height:1;box-shadow:0 2px 12px #15392a22}
.sheet-content{min-height:200px}.product-sheet .detail-photo{border-radius:0;max-height:none}.product-sheet .detail-copy{padding:24px 24px calc(26px + env(safe-area-inset-bottom));background:var(--cream)}.product-sheet .detail-photo .favorite-button{top:12px;right:auto;left:12px}
.sheet-message{padding:82px 24px 38px;text-align:center}.sheet-message h2{font-size:23px;margin-bottom:16px}.sheet-message p{margin-bottom:20px}.sheet-open{overflow:hidden}.sheet-open .toast{z-index:100}
.sheet-content[aria-busy=true]{cursor:progress}.sheet-content h1:focus{outline:none}.install-card{padding:24px}.install-card h2{font-size:25px}.install-card .eyebrow{display:none}
@keyframes sheet-enter{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(max-width:800px){.app-header{padding:env(safe-area-inset-top) 12px 0;gap:4px;grid-template-columns:44px minmax(0,1fr) 92px}.app-header .brand-logo{width:140px;height:60px}.app-header .brand-logo img{width:152px;height:152px;left:-6px;top:-45px}.app-header .brand-logo.optimized img{position:static;width:100%;height:100%;object-fit:contain}.app-header .brand{justify-self:center}.compact-hero{height:165px;border-radius:18px}.page{padding-top:18px}.category-ribbon{margin-right:-10px;gap:14px}.category-switcher .category-ribbon{gap:14px}.product-info h3,.discovery-products .product-info h3{font-size:14px}.product-page{padding:18px 20px 24px}.detail-copy{padding:22px 0}.detail-copy h1{font-size:27px}.detail-photo{border-radius:18px}.product-screen .toast{bottom:calc(var(--bottom) + env(safe-area-inset-bottom) + 12px)}}
@media(max-width:640px){.product-sheet{width:calc(100vw - 32px);max-height:calc(100dvh - 48px);border-radius:24px}.product-sheet .detail-copy h1{font-size:27px}.category-label h2{font-size:22px}.category-card{aspect-ratio:1}.category-label{bottom:16px}}
@media(max-width:359px){.app-header .brand-logo{width:118px}.app-header .brand-logo img{width:128px;height:128px;left:-5px;top:-33px}.compact-hero{height:150px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-label h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.product-sheet[open]{animation:none}}

