:root{--mobile-nav-h:68px}html{overflow-x:hidden}body{overflow-x:hidden}.launch-screen{min-height:100dvh;display:grid;place-items:center;background:#fffaf7;margin:0;font-family:Montserrat,Arial,sans-serif}.launch-card{text-align:center;padding:28px}.launch-card img{width:92px;height:92px;border-radius:22px;margin:auto}.launch-card h1{font:600 38px/1.1 "Cormorant Garamond",serif;margin:16px 0 8px}.launch-card p{color:#7c7470}.mobile-bottom-nav{display:none}.network-state{position:fixed;z-index:200;left:50%;top:10px;transform:translate(-50%,-150%);background:#5b3030;color:#fff;padding:9px 14px;border-radius:999px;font-size:12px;transition:.2s;box-shadow:0 5px 20px #0002}.network-state.show{transform:translate(-50%,0)}.network-state.online{background:#356b48}.app-update{position:fixed;z-index:180;right:14px;bottom:82px;border:0;border-radius:999px;background:#47403f;color:#fff;padding:11px 15px;box-shadow:0 8px 25px #0003}.storefront-card img{content-visibility:auto}.store-toolbar input,.store-toolbar select{min-height:44px}.category-filter-bar{scrollbar-width:none}.category-filter-bar::-webkit-scrollbar{display:none}
@media(max-width:820px){body.app-shell{padding-bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom))}.app-main{width:min(100% - 22px,1180px)!important;padding-top:20px!important}.app-header .app-nav{min-height:62px!important}.app-header .app-logo img{width:118px!important;height:44px!important}.app-header .app-links{display:none!important}.app-header .member-chip{font-size:10px!important;border:0!important;padding:0!important}.app-header .link-btn{font-size:10px!important}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:120;left:0;right:0;bottom:0;min-height:var(--mobile-nav-h);padding:6px max(5px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));background:rgba(255,255,255,.97);border-top:1px solid #eadbd4;box-shadow:0 -8px 30px #3b292214;backdrop-filter:blur(14px)}.mobile-bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:52px;font-size:20px;color:#766d69}.mobile-bottom-nav a span{font-size:9px;font-weight:700;letter-spacing:.02em}.mobile-bottom-nav a.active{color:#b85f69}.admin-mobile-nav a.active{color:#47403f}.mobile-bottom-nav b{position:absolute;top:2px;right:24%;background:#b85f69;color:#fff;border-radius:999px;min-width:17px;height:17px;font-size:9px;display:grid;place-items:center}.page-title{font-size:34px!important}.page-subtitle{font-size:12px;margin-bottom:18px!important}.panel{padding:15px!important}.shop-hero{gap:4px!important}.shop-hero .page-subtitle{display:none}.category-filter-bar{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;padding:2px 1px 10px!important;scroll-snap-type:x proximity}.category-filter{flex:0 0 auto;min-height:42px;scroll-snap-align:start}.store-toolbar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-bottom:18px!important}.store-toolbar #search{grid-column:1/-1;width:100%}.store-toolbar select{width:100%;min-width:0}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.product-card .body,.store-card-info{padding:10px!important}.product-card h2{font-size:19px!important;line-height:1.05!important}.product-card .price{font-size:13px}.product-card .store-brand{font-size:9px}.favorite-btn{width:34px!important;height:34px!important}.store-badge{font-size:8px!important;padding:4px 6px!important}.store-section-head h2{font-size:27px!important}.store-section-head{margin-top:18px!important}.product-card img{aspect-ratio:1/1!important}.product-detail{gap:14px!important}.main-photo{min-height:0!important;aspect-ratio:1/1}.detail-panel{padding-bottom:82px}.card-actions,.actions{gap:8px}.btn,.mini,button{min-height:44px}.cart-item{grid-template-columns:76px 1fr!important;gap:10px!important;padding:12px 0!important}.cart-item img{width:76px!important;height:76px!important}.cart-summary{position:static!important}.checkout-grid{gap:14px!important}.checkout-grid .panel{margin-bottom:10px}.account-grid{grid-template-columns:1fr!important}.order-card{padding:14px!important}.modal{padding:8px!important;align-items:end!important}.modal-box{max-height:92dvh!important;border-radius:16px 16px 0 0!important;padding:18px!important}.modal-head{position:sticky;top:-18px;background:#fff;z-index:2;padding-top:8px}.mobile-input,input,select,textarea{font-size:16px!important}.responsive-table-wrap{overflow:visible!important}.responsive-table-wrap .admin-table thead{display:none}.responsive-table-wrap .admin-table,.responsive-table-wrap .admin-table tbody,.responsive-table-wrap .admin-table tr,.responsive-table-wrap .admin-table td{display:block;width:100%}.responsive-table-wrap .admin-table tr{border:1px solid #eadbd4;border-radius:10px;margin:0 0 10px;padding:8px;background:#fff}.responsive-table-wrap .admin-table td{border:0!important;padding:7px 8px!important}.responsive-table-wrap .admin-table td:not([data-label=""]):before{content:attr(data-label);display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#8b817c;margin-bottom:2px}.responsive-table-wrap .admin-table td .actions{margin-top:4px}.toolbar{align-items:stretch!important}.toolbar input,.toolbar select,.toolbar button{width:100%}.photo-strip{grid-template-columns:repeat(2,1fr)!important}.pos-sticky-checkout{padding-bottom:calc(10px + env(safe-area-inset-bottom))!important;bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom))!important}.pos-main{padding-bottom:150px!important}.scanner-wrap{border:2px solid #b85f69;border-radius:14px;padding:8px;background:#111}.scanner-video,.qr-reader{width:100%!important;max-height:52dvh!important}.pos-payment-grid{grid-template-columns:repeat(2,1fr)!important}.pos-pay-btn{min-height:52px!important}.stat-grid{gap:9px!important}.stat{padding:14px!important}.stat strong{font-size:27px!important}}
@media(max-width:360px){.store-grid{grid-template-columns:1fr!important}.store-toolbar{grid-template-columns:1fr!important}.store-toolbar #search{grid-column:auto}}
@media(min-width:821px) and (max-width:1100px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pos-grid{grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr)!important}.app-main{width:min(100% - 28px,1180px)!important}}
@media(orientation:landscape) and (max-height:600px){.scanner-video,.qr-reader{max-height:42dvh!important}.mobile-bottom-nav{min-height:58px;--mobile-nav-h:58px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
@media(max-width:820px){html.no-mobile-card-tables .responsive-table-wrap{overflow:auto!important}html.no-mobile-card-tables .responsive-table-wrap .admin-table{display:table;width:720px}html.no-mobile-card-tables .responsive-table-wrap .admin-table thead{display:table-header-group}html.no-mobile-card-tables .responsive-table-wrap .admin-table tbody{display:table-row-group}html.no-mobile-card-tables .responsive-table-wrap .admin-table tr{display:table-row;border:0}html.no-mobile-card-tables .responsive-table-wrap .admin-table td{display:table-cell;width:auto}html.no-mobile-card-tables .responsive-table-wrap .admin-table td:before{display:none}}
/* Phase 2N6.1: keep product controls within mobile cards and the heart circular. */
.product-card .favorite-btn{box-sizing:border-box;display:grid;place-items:center;flex:none;aspect-ratio:1;border-radius:50%;padding:0;line-height:1;min-width:0;min-height:0;font-size:19px}
@media(max-width:820px){
  .product-card .favorite-btn{width:30px!important;height:30px!important;min-height:30px!important;font-size:18px;top:8px;right:8px}
  .admin-mobile-nav .admin-mobile-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:52px;border:0;padding:0;background:transparent;color:#766d69;font-size:20px;line-height:1;cursor:pointer}
  .admin-mobile-nav .admin-mobile-more span{font-size:9px;font-weight:700;letter-spacing:.02em}
  .admin-mobile-nav .admin-mobile-more.active{color:#47403f}
  .admin-mobile-more-menu[hidden]{display:none!important}
  .admin-mobile-more-menu{position:absolute;bottom:calc(100% + 8px);right:8px;z-index:2;width:min(310px,calc(100vw - 16px));max-height:min(68dvh,550px);overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:10px;background:#fff;border:1px solid #eadbd4;border-radius:12px;box-shadow:0 12px 35px #3b292238}
  .admin-mobile-more-menu a{display:flex;align-items:center;min-height:42px;padding:8px;border-radius:6px;font-size:12px;color:#47403f;text-decoration:none}
  .admin-mobile-more-menu a:hover,.admin-mobile-more-menu a:focus-visible{background:#fbf3f0;color:#b85f69}
  .app-shell .responsive-table-wrap{overflow:visible!important}
  .app-shell .responsive-table-wrap .admin-table,.app-shell .responsive-table-wrap .admin-table tbody,.app-shell .responsive-table-wrap .admin-table tr,.app-shell .responsive-table-wrap .admin-table td{min-width:0!important;max-width:100%;box-sizing:border-box}
  .app-shell .responsive-table-wrap .admin-table td{overflow-wrap:anywhere}
  .app-shell .responsive-table-wrap .admin-table .actions{min-width:0!important;width:100%;display:flex;flex-wrap:wrap;gap:7px}
  .app-shell .responsive-table-wrap .admin-table .actions>*{width:auto;max-width:100%;min-width:0;min-height:40px;flex:1 1 auto;white-space:normal}
  .app-shell .responsive-table-wrap:after{display:none}
  html.no-mobile-card-tables .app-shell .responsive-table-wrap{overflow-x:auto!important}
  html.no-mobile-card-tables .app-shell .responsive-table-wrap .admin-table{min-width:720px!important;max-width:none}
}

/* Phase 2N6.1h: acknowledgement/modal interaction and admin-aware customer nav */
.modal:not([hidden]){z-index:10050!important;pointer-events:auto!important}
@media(max-width:820px){
  .customer-mobile-nav.has-admin-link{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .customer-mobile-nav.has-admin-link a{min-width:0}
  .customer-mobile-nav.has-admin-link a span{font-size:8px}
  body:has(.modal:not([hidden])) .mobile-bottom-nav{pointer-events:none!important}
}
