/* ORCA — app install, offer notifications, and screen / device adaptation */
.install-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 12px;border:0;border-radius:13px;background:#ed662d;color:#fff;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}
.install-btn svg{width:18px;height:18px;flex:none}
.install-btn:hover{background:#d9551f}
.install-btn:focus-visible,.install-nudge button:focus-visible,.install-card button:focus-visible,.push-ask button:focus-visible,.push-btn:focus-visible{outline:3px solid #ffad73;outline-offset:2px}
@media(max-width:520px){.install-btn{width:40px;padding:0}.install-btn span{display:none}}

.install-nudge{position:fixed;top:calc(78px + env(safe-area-inset-top));left:12px;right:12px;max-width:520px;margin:0 auto;z-index:35;display:flex;align-items:center;gap:10px;background:#faf9f5;color:#17364a;border-radius:16px;padding:10px 12px;box-shadow:0 14px 40px rgba(0,0,0,.35);animation:orcaNudgeIn .3s ease both}
.install-nudge img{width:42px;height:42px;border-radius:11px;flex:none}
.install-nudge .txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.5}
.install-nudge .txt b{font-size:14px}
.install-nudge .txt span{font-size:12px;color:#566876}
.install-nudge .go{border:0;background:#ed662d;color:#fff;border-radius:10px;padding:0 14px;height:40px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.install-nudge .x{border:0;background:transparent;color:#657583;font-size:24px;line-height:1;width:40px;height:40px;cursor:pointer}
@media(max-width:720px){.install-nudge{top:calc(70px + env(safe-area-inset-top))}}
@keyframes orcaNudgeIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

.install-modal{position:fixed;inset:0;z-index:70;background:rgba(3,15,24,.6);backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.install-card{position:relative;width:min(440px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:#faf9f5;color:#17364a;border-radius:20px;padding:24px 22px 20px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.install-card img{border-radius:14px}
.install-card h2{font-size:19px;margin:10px 0 6px;line-height:1.6}
.install-card ol{text-align:start;margin:12px 0 18px;padding-inline-start:22px;font-size:14px;line-height:2.1}
.install-card .mini-ico{width:17px;height:17px;vertical-align:-3px;color:#0a84ff}
.install-warn{background:#fff1e6;color:#9a3a10;border-radius:10px;padding:8px 10px;font-size:13px;font-weight:700;margin:8px 0 0;line-height:1.8}
.install-note{color:#425a69;font-size:13px;line-height:1.9;margin:6px 0 0}
.install-close{position:absolute;top:10px;inset-inline-end:10px;border:0;background:#eef3f5;width:40px;height:40px;border-radius:11px;font-size:22px;color:#17364a;cursor:pointer}
.install-ok{width:100%;border:0;background:#173e55;color:#fff;border-radius:13px;padding:13px;font:inherit;font-weight:800;cursor:pointer}
.install-copy{width:100%;border:1px solid #c5cecf;background:#fff;color:#173e55;border-radius:13px;padding:12px;font:inherit;font-weight:800;cursor:pointer;margin-bottom:10px}
@media(min-width:721px){.install-modal{align-items:center}}

/* Offer notifications: soft prompt + permanent control */
.push-ask{position:fixed;left:12px;right:12px;bottom:calc(16px + env(safe-area-inset-bottom));max-width:520px;margin:0 auto;z-index:36;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#faf9f5;color:#17364a;border-radius:16px;padding:12px;box-shadow:0 14px 40px rgba(0,0,0,.4);animation:orcaUp .3s ease both}
.push-ask.above-cart{bottom:calc(88px + env(safe-area-inset-bottom))}
.push-ask img{width:44px;height:44px;border-radius:11px;flex:none}
.push-ask .txt{flex:1;min-width:170px;display:flex;flex-direction:column;line-height:1.6}
.push-ask .txt b{font-size:14px}.push-ask .txt span{font-size:12px;color:#566876}
.push-ask .acts{display:flex;gap:8px;margin-inline-start:auto}
.push-ask .yes{border:0;background:#ed662d;color:#fff;border-radius:10px;height:42px;padding:0 18px;font:inherit;font-weight:800;cursor:pointer}
.push-ask .no{border:1px solid #c5cecf;background:#fff;color:#4b5f6c;border-radius:10px;height:42px;padding:0 12px;font:inherit;font-weight:700;cursor:pointer}
@keyframes orcaUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.push-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;background:#ffffff0d;border:1px solid #ffffff30;border-radius:12px;padding:12px 14px;color:#edf3f8}
.push-row div{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 200px}
.push-row b{font-size:14px}.push-row span{font-size:12px;color:#c9d9e3;line-height:1.8}
.push-btn{border:0;background:#ed662d;color:#fff;border-radius:10px;height:42px;padding:0 16px;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
.push-btn.off{background:#ffffff1a;border:1px solid #ffffff40}

/* Notch / home-bar safe areas (installed app with a translucent status bar) */
.topbar{padding-top:env(safe-area-inset-top)}
.category-strip{top:calc(72px + env(safe-area-inset-top))}
.cart-fab-wrap{bottom:calc(16px + env(safe-area-inset-bottom))}
.toast{bottom:calc(95px + env(safe-area-inset-bottom))}
@media(max-width:720px){.category-strip{top:calc(64px + env(safe-area-inset-top))}}

/* Readability + tap targets on phones */
@media(max-width:720px){
 .hero-copy p{font-size:12px}
 .hero-contact,.all-menu,.back-categories{display:inline-flex;align-items:center;min-height:40px;padding:0 4px;font-size:12px}
 .language-switch{min-height:40px}
 .cart-fab-wrap strong{font-size:12px}
 footer a{display:inline-flex;align-items:center;min-height:40px}
}
@media(pointer:coarse){.hero-contact,.all-menu,.back-categories,footer a{display:inline-flex;align-items:center;min-height:40px}.qty-controls{gap:10px}.qty-controls button{width:38px;height:38px;border-radius:11px;font-size:17px}}
/* Narrow phones (iPhone SE 1st gen, small Androids): keep the top bar on one line */
@media(max-width:374px){
 .topbar-inner{padding:0 8px}
 .top-actions{gap:5px}
 .brand-mini img{width:52px;height:44px}
 .icon-btn,.install-btn{width:36px;height:38px}
 .language-switch{padding:0 7px!important;font-size:12px}
 .cart-trigger{padding:0 9px;gap:5px;height:38px}
 .hero-cover{height:200px}.cover-copy img{height:130px;width:148px}
 .menu-card{grid-template-columns:96px minmax(0,1fr)}
 .push-ask .acts{width:100%}.push-ask .yes{flex:1}
}
/* Landscape phones: shorter hero so the menu is visible */
@media(max-height:500px) and (orientation:landscape){
 .hero-cover{height:170px}.cover-copy img{height:110px;width:124px}
 .install-nudge{display:none}
}
/* Installed app: no browser chrome, so give the bottom bar room above the home indicator */
html[data-standalone="1"] body{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
@media(prefers-reduced-motion:reduce){.install-nudge,.push-ask{animation:none}}
