/* Food7prive — the approved black and champagne direction. */
:root{color-scheme:dark;--gold:#dfbd78;--gold-light:#f3dfb5;--muted:#b6b4ae;--bg:#051131;--ink:#f6f2e9;--line:#0b2671}
body,.catalog-app{background:var(--bg);color:var(--ink)}
body{background:radial-gradient(ellipse at 50% 0,#071948 0,transparent 560px),var(--bg)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold-light);outline-offset:3px}
h1,.tagline{font-family:Georgia,serif;color:var(--ink)}h1{font-weight:700;letter-spacing:-.025em}h2{color:inherit}
header,.catalog-app>header{background:transparent;align-items:flex-start;padding:24px 24px 14px;gap:14px}
/* Opaque sticky header keeps catalog text and photos below its controls. */
.catalog-app>header{background:var(--bg);isolation:isolate;border-bottom:1px solid var(--line);box-shadow:0 6px 18px #02071533}
.brand-block{min-width:0;flex:1}.brand{color:var(--gold-light)}.brand span{font-family:Georgia,serif;font-weight:700;font-size:clamp(25px,4vw,40px);letter-spacing:-.025em}.brand img{border-radius:14px;box-shadow:0 4px 18px #02071555;width:58px;height:58px}.brand small{color:#e4dfd4;font-size:12px;font-weight:400}
.owner-entry{display:inline-flex;align-items:center;gap:12px;margin:12px 0 0 70px;padding:7px 16px;border:1px solid var(--gold);border-radius:12px;color:var(--gold-light);text-decoration:none;font-size:13px;min-height:42px}.owner-entry:hover{background:#dfbd7815}.owner-entry span:last-child{margin-left:8px}
.shopping-tools{gap:8px;align-items:stretch}.catalog-app .cash-top{background:#061640;border:1px solid #746345;box-shadow:none;color:var(--gold-light);min-width:100px;padding:8px 10px}.cash-top strong{color:var(--gold-light);font-size:16px}.cart-top{background:transparent;border:1px solid #746345;color:var(--gold-light);box-shadow:none;min-height:50px}.cart-top b{background:var(--gold);color:#051132;border-radius:50%;padding:2px 6px;font-size:12px}
.catalog-app .service{color:var(--muted);border-color:var(--line);font-size:11px;padding:5px 0 14px;margin:0 0 16px;text-transform:none;letter-spacing:0}.catalog-app .service span+span{border-color:#0d2e87}
.catalog-app .search,.search{background:#06143c;border:1px solid #445d98;border-radius:24px;box-shadow:none;padding:8px 16px}.search input{color:var(--ink);font-size:16px}.search span{color:var(--ink)}input::placeholder,textarea::placeholder{color:#aaa9a3}
.catalog-app .flash-banner{background:linear-gradient(110deg,#071848,#051236);border:1px solid var(--gold);border-radius:14px;color:var(--gold-light);min-height:62px;margin:16px 0 22px;padding:12px 17px;text-align:left;font-size:16px;box-shadow:none}.flash-banner strong{font-family:Georgia,serif;font-size:18px}.flash-countdown{font-size:12px;color:#e4dfd4}
.catalog-app #content>h1{margin:20px 0 16px;font-size:32px}
.catalog-app .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.catalog-app .category-grid .category{aspect-ratio:1.12;min-height:0;padding:0;position:relative;background:#06163f;color:var(--ink);border:1px solid #796b51;border-radius:16px;box-shadow:0 8px 20px #02071533;isolation:isolate}.category:hover,.product:hover{border-color:var(--gold-light)}
.catalog-app .category-grid .category>img,.catalog-app .category-grid .category-photo-group,.catalog-app .category-grid .snack-art,.catalog-app .category-grid .promo-art{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;aspect-ratio:auto;object-fit:cover;background:#071744}.catalog-app .category-grid .category>img{filter:brightness(.83)}.category-photo-group img{height:80%;width:33%;object-fit:contain}.catalog-app .category-grid .category-photo-group{padding:12px 5px 42px;background:#e8e5de}
.catalog-app .category-grid .category-name,.category-grid .category-name{position:absolute;bottom:0;left:0;right:0;max-width:none;background:linear-gradient(0deg,#051131 35%,#051131ed 70%,#05113100);color:#fff8e8;border:0;border-radius:0;font-family:Georgia,serif;font-size:21px;font-weight:700;padding:28px 14px 12px;line-height:1.2;text-shadow:0 1px 3px #020715}
.catalog-app .category-grid .category-name:before{display:none}.category-name:after{content:'›';position:absolute;right:12px;color:var(--gold-light);font-family:system-ui}.category-name{padding-right:28px!important}
.category .symbol,.product-symbol,.cart-symbol{background:radial-gradient(ellipse,#09205f,#06143c);color:var(--gold-light)}.promo-art{color:var(--gold-light)}
.catalog-app .app-actions{margin:24px 0 16px;gap:10px}.catalog-app .app-actions button{min-height:50px;font-size:13px;border-radius:12px}.gold,.catalog-app .gold,.catalog-app .push-preferences #push-enable{background:linear-gradient(120deg,#f0d8a1,#cba45e);color:#051236;border:1px solid #e6c887;box-shadow:none;font-weight:700}
.back,.filters button,.subfilters button,.catalog-app .back,.catalog-app #share-app,.catalog-app .push-preferences #push-test{background:#06153e;color:var(--gold-light);border:1px solid #746345;border-radius:12px}.filters button.active,.subfilters button.active{background:var(--gold);color:#051132}.catalog-app #install-app{background:transparent;border:1px solid var(--gold);color:var(--gold-light)}
.product{background:#06163f;color:var(--ink);border:1px solid #0c2a7d;box-shadow:0 5px 20px #02071533;border-radius:16px}.product h2{font-weight:650}.product-info{padding:16px}.product .price,.total{color:var(--gold-light)}.product-code{background:#081c51;color:#e4dfd4;border-color:#0c2a7d}.cart-row{border-color:var(--line)}.quantity button{background:#071948;border-color:#7b6747;color:var(--gold-light)}
.checkout,dialog,.flash-dialog,.push-news,#promo-dialog,#app-dialog,.owner-catalog-dialog{background:#06163f;color:var(--ink);border:1px solid #746345;border-radius:18px;box-shadow:0 16px 50px #02071566}.checkout input,.checkout textarea,.checkout select,input,textarea,select{background:#051132;color:var(--ink);border-color:#32446e}.checkout input:focus,.checkout textarea:focus{border-color:var(--gold);outline-color:var(--gold)}.empty{border-color:#32446e}.flash-cart-bar{background:#06163f}.flash-cart-target{color:var(--gold-light);border-color:#746345;background:#071948}.login-wrap .checkout{border-top-color:var(--gold)}.password-row button{color:var(--gold-light);background:#071948;border-color:#746345}#form-error,#error{color:#ffb7b0}
body>nav:not(.business-shortcuts){background:#051131f5;border-top:1px solid #0d2c81;box-shadow:0 -5px 25px #02071533;backdrop-filter:blur(16px)}.catalog-app>nav button{color:#b5b4ae;font-size:11px;min-height:54px}.catalog-app>nav button.active{background:#dfbd7810;color:var(--gold-light);border-radius:12px}.catalog-app>nav button[data-nav='checkout']{color:var(--gold-light)}nav button b{background:var(--gold);color:#051132}.tagline{color:var(--gold);font-size:18px}.muted{color:var(--muted)}
.admin-item,.business-panel,.cash-grid>div,.personal-grid article,.purchase-card,.order-item,.category-admin-row,.supplier-card,.pos-product,.pos-panel,.profit-card,.orders-admin,.cash-admin,.customers-admin{background:#06163f;color:var(--ink);border-color:#0c2a7d;box-shadow:none}.business-shortcuts .shortcut{background:#06163f!important;color:var(--ink)!important;border-color:#0c2a7d!important;border-left-color:var(--gold)!important;box-shadow:none}.business-shortcuts .shortcut:hover,.business-shortcuts .shortcut.is-active{background:#081d55!important;color:var(--gold-light)!important;border-color:var(--gold)!important}.business-shortcuts .shortcut small{color:var(--muted)}.business-shortcuts .shortcut svg{fill:var(--gold)}.admin-nav,.admin-navigation{background:#06163f;color:var(--ink);border-color:#0c2a7d}.business-panel input,.business-panel textarea,.business-panel select,.cash input,.cash select{background:#051132;color:var(--ink);border-color:#32446e}.business-panel table{color:var(--ink)}.business-panel th{background:#081b4f;color:#e5d6b5}.business-panel td{border-color:#0c2a7d}.cash-grid strong,.admin-code{color:var(--gold-light)}.danger{color:#ffb7b0;background:#09205f;border-color:#8c4b4b}.admin-symbol{background:#081d55}.personal-grid .personal-negative{color:#ffb7b0}.personal-grid strong{color:#83ddb0}
@media(min-width:1000px){.catalog-app>header,.catalog-app main{max-width:1000px}.catalog-app .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){header,.catalog-app>header{padding:20px 16px 12px;flex-wrap:nowrap}.catalog-app>header .brand{flex:none}.brand{gap:9px}.brand img{width:43px;height:43px}.brand span{font-size:27px}.brand small{font-size:10px}.owner-entry{margin-left:52px;padding:5px 12px;font-size:12px;gap:8px;min-height:38px}.shopping-tools{margin:0}.catalog-app .cash-top{display:none}.shopping-tools .cart-top{min-width:50px;padding:8px;min-height:46px}.catalog-app .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-app .category-grid .category{aspect-ratio:1.05;border-radius:14px}.catalog-app .category-grid .category-name{font-size:18px;padding:26px 10px 10px}.catalog-app #content>h1{font-size:30px}.catalog-app .app-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-app #install-app{grid-column:1/-1}.catalog-app .flash-banner strong{font-size:17px}}
@media(max-width:370px){.brand span{font-size:23px}.brand small{font-size:9px}.brand img{width:36px;height:36px}.owner-entry{margin-left:45px}.catalog-app .category-grid .category-name{font-size:16px}}
@keyframes product-added-green{0%,100%{background:#06163f;transform:scale(1)}35%,70%{background:#167445;transform:scale(1.025)}}
@keyframes flash-glow{50%{box-shadow:0 0 18px #dfbd7833;background:#081d55}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Keep the app frame within the viewport; only its content scrolls. */
html:has(>body.catalog-app){height:100%;overflow:hidden;overscroll-behavior:none}
body.catalog-app{position:fixed;inset:0;height:100%;height:100dvh;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:none;padding:env(safe-area-inset-top) 0 0}
.catalog-app>header{position:relative;top:auto;flex:0 0 auto;width:100%;margin:0 auto;padding-top:12px}
.catalog-app>main{flex:1 1 0;min-height:0;width:100%;margin:0 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:none;-webkit-overflow-scrolling:touch;padding-bottom:16px;scroll-padding-top:16px}
body.catalog-app>nav{position:relative;inset:auto;flex:0 0 auto;width:100%;padding-bottom:max(9px,env(safe-area-inset-bottom));background:var(--bg)}

/* Customer actions precede the category catalog. */
.catalog-app .app-actions{margin:14px 0 12px}.catalog-app .push-preferences{margin:0 0 20px}.catalog-app .push-preferences #push-enable{width:100%}

.admin-update-tools{margin:0 0 22px;padding:18px;border:1px solid #66583c;border-radius:16px;background:#061640}.admin-update-tools>h2{margin:0 0 12px;color:var(--gold-light);font-size:18px;line-height:1.35;font-weight:700}.admin-update-tools .actions{display:flex;align-items:flex-start;gap:12px 20px;flex-wrap:wrap}.admin-update-tools button{flex:0 0 auto;min-width:0;min-height:44px;padding:8px 12px;font-size:14px;line-height:1.35;white-space:normal}.admin-update-tools p{margin-bottom:0}

/* Responsive adaptive layout, shared by customer and reserved pages. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
main,header,section,form,dialog,.brand-block,.product-info{min-width:0}
input,select,textarea{max-width:100%;min-width:0}
img{max-width:100%}
.product h2,.category-name,.cart-row h2,.cart-row h3{overflow-wrap:anywhere}
@media(max-width:1000px){
 .catalog-app .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 header{flex-wrap:wrap}
 .brand-block{flex:1 1 210px}
 .shopping-tools{flex-shrink:0;margin-left:auto}
 .business-panel{min-width:0;max-width:100%;overflow-x:auto}
}
@media(max-width:700px){
 header,.catalog-app>header{padding:12px clamp(12px,4vw,20px);gap:10px;flex-wrap:wrap}
 main,.catalog-app main{padding-inline:clamp(12px,4vw,20px)}
 .brand{max-width:100%;gap:9px}
 .brand span{font-size:clamp(23px,6vw,29px);min-width:0}
 .brand small{font-size:11px;line-height:1.4}
 .brand img{flex-shrink:0;width:43px;height:43px}
 .owner-entry{margin-left:52px}
 .catalog-app .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,3vw,14px)}
 .catalog-app .category-grid .category{aspect-ratio:1.05;min-width:0;height:auto}
 .catalog-app .category-grid .category-name{font-size:clamp(15px,4vw,18px);line-height:1.35;padding:12px 8px;overflow-wrap:anywhere}
 .catalog-app .service{font-size:12px;line-height:1.5;display:flex;flex-wrap:wrap;gap:6px}
 .catalog-app .service span{margin:0}
 .search input,.checkout input,.checkout select,.checkout textarea,.login-wrap input,.business-panel input,.business-panel select,.business-panel textarea{font-size:16px}
 .search input{min-width:0}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-info{padding:12px 10px}
 .product h2{font-size:15px;line-height:1.4}
 .product-info small,.product-code,.muted{font-size:12px;line-height:1.5}
 .cart-row{flex-wrap:wrap;gap:10px}
 .cart-row img,.cart-symbol{flex-shrink:0}
 .cart-row>div{min-width:0;overflow-wrap:anywhere}
 .catalog-app>nav{gap:0;padding-inline:4px}
 .catalog-app>nav button{flex:1;min-width:0;padding-inline:3px}
 dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
 .checkout,.login-wrap{max-width:100%;min-width:0}
 .admin-exit-actions,.admin-update-tools .actions{flex-wrap:wrap}
 .admin-update-tools button{min-width:0;flex-basis:auto}
 .business-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .business-shortcuts .shortcut{min-width:0;overflow-wrap:anywhere}
 .admin-item{min-width:0;flex-wrap:wrap}
}
@media(max-width:360px){
 .brand-block{flex-basis:180px}
 .brand span{font-size:23px}
 .brand img{width:36px;height:36px}
 .owner-entry{margin-left:45px}
 .app-actions button{white-space:normal;overflow-wrap:anywhere}
 .product img,.product-symbol{height:150px}
}

.customer-update-tools{margin:0 0 16px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.customer-update-tools button{min-height:44px}.customer-update-tools p{margin:0}.customer-update-tools p:empty{display:none}

/* Adapt every owner screen without changing its controls or palette. */
@media(max-width:700px){
 .business-panel .form-grid,.checkout .form-grid,.editor-grid,.purchase-price-controls,.purchase-picker,.cash-grid,.audience-stats{grid-template-columns:minmax(0,1fr)}
 .form-grid>*,.actions>*,.admin-top>*{min-width:0;max-width:100%}
 .actions,.admin-top,.purchase-price-row,.flash-selected-row,.pos-product,.pos-line{flex-wrap:wrap}
 .actions label{flex:1 1 160px}
 .business-panel h2,.admin-view h2{overflow-wrap:anywhere}
 .business-panel table{max-width:100%}
 .flash-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
 .flash-pick{min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}
 .admin-update-tools{padding:14px}
 .admin-update-tools .actions{display:flex;flex-direction:column;align-items:flex-start}
 .admin-update-tools button{width:auto;max-width:100%;font-size:14px}
 .admin-view-toolbar{flex-wrap:wrap;gap:8px}
 .catalog-app #content>h1{font-size:clamp(24px,6vw,30px)}
 .catalog-app .category-grid .category-name{padding-top:26px}
 .customer-update-tools{align-items:stretch}
 .customer-update-tools button{width:100%}
}

/* Progressive catalog rendering and added customer tools share existing styles. */
.product{content-visibility:auto;contain-intrinsic-size:auto 380px}
.category{content-visibility:auto;contain-intrinsic-size:auto 200px}
.favorite-toggle{display:block;width:100%;min-height:44px;margin-top:8px;font-size:13px}
.catalog-more{display:block;margin:20px auto;min-height:44px}
#label-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}
#label-suggestions{padding:12px 0}
@media(max-width:700px){.flash-dialog .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-order summary{overflow-wrap:anywhere}.product .price{font-size:clamp(18px,5vw,24px)}.product-info button{max-width:100%;white-space:normal}.checkout{overflow-wrap:anywhere}.customer-update-tools>button{flex:1 1 145px;width:auto}}

/* Always-visible update action in the fixed customer header. */
.catalog-app>header{flex-wrap:wrap}
.catalog-app>header .header-update-tools{flex:0 0 100%;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.header-update-tools #refresh-app{flex:0 0 auto;width:auto;max-width:100%;min-height:44px;padding:8px 12px;font-size:14px;line-height:1.35;white-space:normal}
.header-update-tools p{margin:0;flex:1 1 180px;overflow-wrap:anywhere}
.header-update-tools p:empty{display:none}
.admin-update-tools .admin-update-action{flex:0 1 auto;min-width:0;max-width:100%}
.admin-update-tools .admin-update-action button{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-width:0}
.admin-update-tools .admin-update-action p{margin:8px 0 0;font-size:13px;line-height:1.5}
@media(max-width:700px){.header-update-tools #refresh-app{width:auto}.admin-update-tools .admin-update-action{flex:0 1 auto;width:auto}}

.header-update-tools #refresh-app-status:not(:empty){color:var(--gold-light);font-size:13px;line-height:1.5;border-left:2px solid var(--gold);padding-left:10px}

.header-update-tools #refresh-app[aria-busy="true"]{display:inline-flex;align-items:center;gap:8px}
.header-update-tools #refresh-app[aria-busy="true"]:before{content:'';width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:app-update-spin .8s linear infinite;flex-shrink:0}
@keyframes app-update-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.header-update-tools #refresh-app[aria-busy="true"]:before{animation:none}}

/* Keep scrolling work local and controls within each available column. */
.catalog-app>nav{backdrop-filter:none;background:var(--bg)}
.catalog-app .filters,.catalog-app .subfilters{min-width:0;max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.catalog-app .filters button,.catalog-app .subfilters button{flex:0 0 auto;min-height:44px;touch-action:manipulation}
.catalog-app button,.catalog-app a{touch-action:manipulation}
.catalog-app .product-info,.catalog-app .product-info button{min-width:0;overflow-wrap:anywhere}
.catalog-app .product-info button{white-space:normal;min-height:44px}
@media(min-width:701px){.catalog-app #content>.grid:not(.category-grid){grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}
@media(hover:none){.catalog-app .category:hover{transform:none}}
@media(max-height:500px) and (orientation:landscape){
 .catalog-app>header{padding-block:6px;gap:6px}
 .catalog-app .brand img{width:32px;height:32px}
 .catalog-app .brand span{font-size:23px}
 .catalog-app .owner-entry{margin-top:4px;min-height:32px;padding-block:3px}
 .catalog-app>header .header-update-tools{flex:0 1 auto;margin-left:auto}
 .catalog-app>nav button{min-height:44px}
}

/* v46 isolated responsive correction: dimensions only; preserve the palette. */
@media (max-width:767px), (pointer:coarse) and (max-device-width:600px) and (max-device-height:1400px), (pointer:coarse) and (max-device-width:1400px) and (max-device-height:600px), (min-width:768px) and (max-width:1600px) and (min-device-width:601px) and (min-device-height:601px) and (any-pointer:coarse){
 .catalog-app #content>.grid:not(.category-grid),
 .catalog-app .flash-dialog .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .catalog-app .product{min-width:0}
 .catalog-app .product>img,.catalog-app .product>.product-symbol{width:100%;height:clamp(150px,42vw,200px);object-fit:contain}
 .catalog-app .product-info{padding:12px 10px}
 .catalog-app .product h2{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
 .catalog-app .product-info>.muted,.catalog-app .product-info>small,
 .catalog-app .product-code{font-size:14px;line-height:1.5}
 .catalog-app .product .price{font-size:20px;line-height:1.4}
 .catalog-app .product-info button{font-size:16px;line-height:1.35;min-height:44px;white-space:normal}
 .catalog-app .filters button,.catalog-app .subfilters button{font-size:16px;min-height:44px}
 .catalog-app .app-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-app .app-actions button{font-size:16px;line-height:1.35;min-height:48px}
 .catalog-app #install-app{grid-column:1/-1}
 .catalog-app .search input{font-size:16px;min-height:44px}
 .catalog-app>nav button{font-size:13px;min-width:0;padding-inline:2px;overflow-wrap:anywhere}
 .catalog-app>header{flex-wrap:wrap;gap:10px;padding-inline:clamp(12px,4vw,20px)}
 .catalog-app>header .brand{max-width:100%;min-width:0}
 .catalog-app>header .brand-block{min-width:0}
 .catalog-app .owner-entry{font-size:14px;min-height:44px;max-width:100%;white-space:normal}
 .catalog-app .header-update-tools #refresh-app{font-size:16px;min-height:44px}
 .catalog-app>main{padding-inline:clamp(12px,4vw,20px)}
}

/* Touch tablets share the verified phone scale and two-column organization.
   Both physical screen axes exceed the phone boundary: Samsung phone rules
   above remain unchanged in portrait and landscape. No UA or DPR dependence. */
@media (min-width:768px) and (max-width:1600px) and (min-device-width:601px) and (min-device-height:601px) and (any-pointer:coarse){
 .catalog-app .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .catalog-app .category-grid .category{aspect-ratio:1.05;min-width:0;height:auto}
 .catalog-app .category-grid .category-name{font-size:18px;line-height:1.35;padding:26px 10px 10px}
 .catalog-app .brand{gap:9px}
 .catalog-app .brand img{width:43px;height:43px;flex-shrink:0}
 .catalog-app .brand span{font-size:29px;line-height:1.1}
 .catalog-app .brand small{font-size:11px;line-height:1.4}
 .catalog-app .owner-entry{margin-left:52px}
 .catalog-app .cash-top{display:none}
 .catalog-app .shopping-tools .cart-top{min-width:50px;min-height:46px;padding:8px}
 .catalog-app .service{font-size:12px;line-height:1.5;display:flex;flex-wrap:wrap;gap:6px}
 .catalog-app .service span{margin:0}
}

/* Safari standalone landscape: respect the notch without scaling the UI.
   Existing top and bottom safe-area handling is retained. */
@supports (-webkit-touch-callout:none){
 body.catalog-app>header,body.catalog-app>main{
  padding-left:max(clamp(12px,4vw,24px),env(safe-area-inset-left));
  padding-right:max(clamp(12px,4vw,24px),env(safe-area-inset-right));
 }
 body.catalog-app>nav{
  padding-left:max(4px,env(safe-area-inset-left));
  padding-right:max(4px,env(safe-area-inset-right));
 }
}

/* Installation link fields must override the legacy white-on-white dialog input. */
#app-dialog #install-link,#app-dialog #chrome-app-link{
 background:var(--bg);
 color:var(--ink);
 -webkit-text-fill-color:var(--ink);
}

/* Fly-out inside the dialog top layer, above the installation instructions. */
.install-flying-link{position:fixed;top:50%;left:50%;z-index:10;width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;padding:16px 20px;border-radius:14px;background:#fff;color:#081a4d;font:600 14px/1.4 system-ui,sans-serif;text-align:center;overflow-wrap:anywhere;box-shadow:0 12px 35px rgb(0 0 0 / 22%);opacity:0;transform:translate(-50%,-50%) scale(1);pointer-events:none}
.install-flying-link.vola-via{animation:volaInAlto 600ms ease-in-out forwards}
@keyframes volaInAlto{0%{top:50%;opacity:0;transform:translate(-50%,-50%) scale(.95)}15%{top:50%;opacity:1;transform:translate(-50%,-50%) scale(1)}100%{top:-10%;opacity:0;transform:translate(-50%,-50%) scale(.15)}}
@media(prefers-reduced-motion:reduce){.install-flying-link.vola-via{animation:none}}

#app-dialog.install-opening{overflow:visible}

/* Both WhatsApp destinations stay visible with one explicit selection. */
.catalog-app #checkout .whatsapp-recipients{border:0;padding:0;margin:16px 0;min-width:0}
.catalog-app #checkout .whatsapp-recipients legend{padding:0;margin-bottom:8px}
.catalog-app #checkout .whatsapp-recipient{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 16px;margin:8px 0 0;border:1px solid #746345;border-radius:12px;background:#051132;cursor:pointer}
.catalog-app #checkout .whatsapp-recipient input{appearance:auto;-webkit-appearance:radio;flex:0 0 22px;width:22px;height:22px;min-height:0;margin:0;padding:0;accent-color:#dfbd78}
.catalog-app #checkout .whatsapp-recipient span{font-size:clamp(18px,3vw,22px);font-weight:600;white-space:nowrap;color:#faf8f3}
.catalog-app #checkout .whatsapp-recipient:has(input:checked){border-color:#dfbd78;background:#071848}
.catalog-app #checkout .whatsapp-recipient:focus-within{outline:2px solid #dfbd78;outline-offset:2px}

#store-pos .pos-send-mega{display:block;width:100%;margin-top:16px;background:#15803d!important;color:#fff!important;border:2px solid #4ade80!important;min-height:64px;font-weight:800;white-space:normal}#store-pos .pos-customer-suggestions{display:grid;gap:8px;margin:10px 0}#store-pos .pos-customer-suggestions[hidden]{display:none}.pos-mega-plane{position:fixed;left:0;top:0;color:#4ade80;font-size:40px;z-index:2147483647;pointer-events:none}

.order-editor button[data-order-editor-remove]{box-shadow:0 0 12px #ef444470;border:1px solid #ff6b6b!important;background:#a82035!important;color:#fff!important}.order-editor .order-editor-add-button{margin-top:16px;box-shadow:0 0 12px #e4bd6160}.order-editor [data-order-editor-picker][hidden]{display:none!important}

.order-editor button[data-order-editor-remove]{max-width:100%;padding:10px 6px;font-size:14px;white-space:normal}

.mega-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.mega-header-actions>#refresh-public{margin:0}.mega-top-shortcut{background:#15803d!important;color:#fff!important;border:1px solid #4ade80!important;min-height:48px;border-radius:12px;padding:12px 18px;font-weight:800;box-shadow:0 0 12px #4ade8050}.mega-included-list{max-height:220px;overflow:auto}.mega-included-list p{margin:6px 0}
