.preview-note{padding:10px 20px;background:#e8eee8;color:#234632;text-align:center;font:12px system-ui}.shop-dialog{width:min(680px,94vw);max-height:90vh;padding:28px;border:1px solid #d6d7ce;border-radius:8px;background:#fbfaf6;color:#252d26}.shop-dialog::backdrop{background:#14281c88}.shop-dialog h2{font:30px Georgia;margin:0 0 18px}.shop-dialog label{display:block;font:13px system-ui;margin:16px 0 6px}.shop-dialog input,.shop-dialog textarea,.shop-dialog select{width:100%;padding:12px;border:1px solid #bbb;background:white;border-radius:4px;font:15px system-ui}.shop-dialog button,.commerce-button{padding:12px 18px;border:0;border-radius:4px;background:#274a37;color:white;cursor:pointer;font:14px system-ui}.shop-dialog .close{float:right;background:transparent;color:#333;font-size:22px;padding:0 6px}.cart-row{display:grid;grid-template-columns:1fr 72px 35px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #ddd}.cart-row input{padding:8px}.cart-row button{padding:6px;background:#ddd;color:#222}.shop-status{font:14px/1.6 system-ui;white-space:pre-wrap}.shop-status:empty{display:none}.honeypot{position:absolute;left:-10000px}.shop-dialog .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.shop-dialog .submit{margin-top:20px;width:100%}.shop-dialog small{display:block;margin:12px 0;color:#62665e;font:12px/1.6 system-ui}.shop-dialog button:disabled{opacity:.5;cursor:wait}.card-meta{display:none}@media(max-width:480px){.shop-dialog{padding:20px}.shop-dialog .row{grid-template-columns:1fr}}
@media(max-width:720px){.product-layout{grid-template-columns:1fr!important;gap:24px!important;margin-bottom:38px!important}}

/* Responsive storefront and touch controls */
.thumb img,.cat-img img,.product-layout img{object-fit:contain!important}
.card:hover .thumb img,.cat:hover .cat-img img{transform:none}
.cat-img,.thumb{background:#f7f4ef}
.editorial-img img{object-fit:contain;background:#f7f4ef}
.category-hero{height:auto;min-height:400px;background:#f7f4ef;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:32px max(24px,calc((100vw - 1280px)/2));gap:32px}
.category-hero>img{position:static;inset:auto;grid-column:2;grid-row:1;width:100%;height:360px;object-fit:contain}
.category-hero::after{display:none}
.category-hero .detail-hero-content{grid-column:1;grid-row:1;padding:20px 0;color:var(--ink)}
.category-hero p,.category-hero .breadcrumb,.category-hero .breadcrumb a{color:#586052}
.category-hero .breadcrumb span{opacity:1}
@media(max-width:760px){.category-hero{grid-template-columns:minmax(0,1fr);padding:24px 20px;gap:12px}.category-hero>img{grid-column:1;grid-row:1;height:260px}.category-hero .detail-hero-content{grid-column:1;grid-row:2}.cat-img,.thumb{aspect-ratio:1/1}}
.thumb img[src^="/assets/products/"]{object-fit:contain;background:#f7f4ef}
.product-layout img[src^="/assets/products/"]{object-fit:contain!important;background:#f7f4ef}
.shop-dialog{margin:auto;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.shop-dialog input,.shop-dialog textarea,.shop-dialog select{min-width:0;font-size:16px}
.shop-dialog .close{min-width:44px;min-height:44px;display:grid;place-items:center;margin:-8px -8px 0 8px}
.shop-dialog h2{padding-top:4px;overflow-wrap:anywhere}
.cart-row>span,.product-layout>div{min-width:0;overflow-wrap:anywhere}
body:has(dialog[open]){overflow:hidden}
.menu-dialog a{display:block;padding:12px 4px;border-bottom:1px solid #e4e6de;min-height:44px}
.breadcrumb{flex-wrap:wrap;overflow-wrap:anywhere}
.detail-body>.breadcrumb{color:#60685f!important}
.detail-body>.breadcrumb a{color:#475b48}
.detail-body>.breadcrumb span{opacity:1}
@media(max-width:760px){
.head{height:auto;min-height:72px;gap:12px;justify-content:space-between;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
.tools{margin-left:auto;gap:8px}
.tool-btn{min-height:44px;min-width:44px;justify-content:center;font-size:15px}
.menu-btn{font-size:22px}.head .search{display:none}
.hero-content{min-width:0;padding-top:52px;padding-bottom:40px}
.hero h1{font-size:clamp(32px,8vw,46px);line-height:1.12}
.hero{height:auto;min-height:460px}
section{padding:48px 0}.sec-top{gap:16px;margin-bottom:24px}
.filters{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:10px;-webkit-overflow-scrolling:touch}
.filters .chip{flex:none;min-height:44px}
.btn{min-height:44px;text-align:center}.card .add{min-width:44px;min-height:44px}
.card h3,.cat .nm{overflow-wrap:anywhere}
.detail-body{padding-top:28px!important;padding-bottom:40px}
.product-layout{grid-template-columns:minmax(0,1fr)!important}
.product-layout>div:first-child{aspect-ratio:1/1!important}
.detail-cta{padding:32px 20px;margin-top:40px!important}
.toast{max-width:calc(100vw - 32px);width:max-content;text-align:center;bottom:calc(16px + env(safe-area-inset-bottom))}
.pay{flex-wrap:wrap;letter-spacing:.06em}.foot{gap:24px;margin-bottom:36px}.foot-bot{padding-top:22px}
.shop-dialog{padding:20px 16px;max-width:calc(100vw - 16px);width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding-bottom:calc(20px + env(safe-area-inset-bottom))}
.shop-dialog .row{grid-template-columns:minmax(0,1fr);gap:0}
.shop-dialog .cart-row{grid-template-columns:minmax(0,1fr) 64px 36px;gap:8px}
.shop-dialog h2{font-size:27px}.menu-dialog input{margin:12px 0 6px}
}
@media(max-width:380px){
.wrap{padding-left:14px;padding-right:14px}.head{gap:8px}
.head .logo{font-size:17px;gap:5px}.head .logo em{font-size:11px}
.tools{gap:2px}.head .tool-btn[title="Wishlist"]{display:none}
.hero-content{padding-top:36px;padding-bottom:32px}
.shop-dialog{padding-left:8px;padding-right:8px}
}
