/* =============================================================
   FRAN EXPRESS — LOOK & FEEL
   Change the brand colors here (the --variables below).
   Works as a website on computers and as an app on phones.
   ============================================================= */
:root {
  --green: #0B4F43;        /* Rainforest — main brand color */
  --green-2: #12715B;
  --green-soft: #E3F1EC;
  --lava: #FF5A36;         /* Lava orange — buttons & highlights */
  --lava-2: #E8431F;
  --lava-soft: #FFF1EC;
  --sun: #FFC145;          /* Sunshine — small accents */
  --bg: #FAF7F2;           /* Warm cream background */
  --card: #FFFFFF;
  --ink: #15201C;
  --muted: #6B7873;
  --line: #ECE6DC;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(21, 32, 28, .07);
  --shadow-lg: 0 14px 40px rgba(21, 32, 28, .14);
  --tabbar-h: 0px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
@media (max-width: 899px) { :root { --tabbar-h: 68px; } }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); min-height: 100vh; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.m-only { } .d-only { display: none !important; }
@media (min-width: 900px) { .m-only { display: none !important; } .d-only { display: revert !important; } }

/* ---------- Demo ribbon ---------- */
.ribbon { background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; text-align: center; padding: 6px 12px; }

/* ---------- Site header ---------- */
#header { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 242, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
#header.scrolled { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand svg { width: 36px; height: 36px; flex: 0 0 36px; }
.brand em { font-style: normal; color: var(--lava); margin-left: 4px; }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a.on { color: var(--ink); background: #F1ECE4; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill { display: flex; border-radius: 99px; background: var(--card); border: 1px solid var(--line); padding: 3px; font-size: 12px; font-weight: 700; }
.pill span { padding: 5px 9px; border-radius: 99px; color: var(--muted); }
.pill span.on { background: var(--green); color: #fff; }
.hbtn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; }
.hbtn.dark { background: var(--green); color: #fff; border-color: var(--green); }
.hbtn .count { background: var(--sun); color: var(--ink); border-radius: 6px; padding: 0 6px; font-size: 12px; }
.avatar-sm { width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; display: grid; place-items: center; }
@media (max-width: 440px) {
  .hdr { gap: 8px; }
  .brand { font-size: 17px; gap: 7px; } .brand svg { width: 30px; height: 30px; flex-basis: 30px; } .brand em { margin-left: 3px; }
  .hdr-right { gap: 5px; }
  .pill span { padding: 4px 7px; }
  .hbtn { padding: 7px 9px; }
  .avatar-sm { width: 32px; height: 32px; }
}
@media (max-width: 899px) {
  .hdr { height: 58px; }
  body.sub #header { display: none; }
}

/* ---------- Home hero ---------- */
.hero-band { background: radial-gradient(120% 140% at 100% 0%, #1E8C6E 0%, var(--green) 50%, #083A31 100%); color: #fff; border-radius: 26px; padding: 30px 28px; margin-top: 8px; position: relative; overflow: hidden; }
.hero-band::after { content: "🌋"; position: absolute; right: 24px; bottom: -18px; font-size: 150px; opacity: .18; pointer-events: none; }
.hero-band h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.hero-band p { opacity: .85; margin-top: 8px; font-size: 15px; max-width: 520px; }
.hero-ctrls { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 20px; max-width: 760px; position: relative; z-index: 1; }
.hero-ctrls .searchbar { grid-column: 1 / -1; }
@media (min-width: 900px) { .hero-ctrls { grid-template-columns: 1.2fr .7fr 1.5fr; } .hero-ctrls .searchbar { grid-column: auto; } }
@media (max-width: 599px) { .hero-band { padding: 22px 18px; border-radius: 22px; } .hero-band::after { font-size: 110px; } }

.loc { min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; }
.loc > span:nth-child(2) { min-width: 0; flex: 1; }
.loc small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.loc b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc .ic { font-size: 18px; }
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; color: var(--muted); text-align: left; font-size: 15px; width: 100%; }
.hours { margin-top: 12px; font-size: 12px; font-weight: 600; opacity: .85; position: relative; z-index: 1; }

/* ---------- Promo tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
@media (max-width: 599px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; align-items: center; gap: 14px; text-align: left; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); width: 100%; }
.tile.sun { background: #FFF6DF; } .tile.lava { background: var(--lava-soft); }
.tile .big { font-size: 38px; }
.tile h3 { font-size: 16px; font-weight: 800; }
.tile p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.tile .cta { margin-left: auto; background: var(--ink); color: #fff; font-weight: 800; font-size: 12px; padding: 8px 12px; border-radius: 99px; white-space: nowrap; }

/* ---------- Sections ---------- */
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 28px 0 12px; }
.sec-h h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.sec-h p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sec-h .link { font-weight: 700; font-size: 13px; color: var(--green-2); white-space: nowrap; }

.types { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-top: 18px; padding-bottom: 2px; }
.types::-webkit-scrollbar { display: none; }
.type { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.type span { font-size: 20px; }
.type.on { background: var(--green); color: #fff; border-color: var(--green); }

.cuis-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.hscroll::-webkit-scrollbar { display: none; }
.cuis-row .hscroll { flex: 1; }
.cat { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 74px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cat span { width: 58px; height: 58px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-size: 27px; transition: transform .15s; }
.cat.on { color: var(--ink); }
.cat.on span { background: var(--green-soft); border-color: var(--green-2); transform: translateY(-2px); }
.filter-btn { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; font-size: 12px; font-weight: 700; }
.filter-btn span { width: 58px; height: 58px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; position: relative; }
.filter-btn i { position: absolute; top: -4px; right: -4px; background: var(--lava); color: #fff; font-style: normal; font-size: 11px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }

/* ---------- Store cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.scard { position: relative; text-align: left; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; width: 100%; }
.scard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.scard.closed .thumb { filter: grayscale(.65) brightness(.95); }
.thumb { position: relative; height: 130px; display: grid; place-items: center; font-size: 58px; flex: 0 0 auto; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--lava); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 8px; }
.state { position: absolute; bottom: 10px; left: 10px; background: rgba(21,32,28,.82); color: #fff; font-weight: 700; font-size: 11px; padding: 4px 8px; border-radius: 8px; }
.fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; font-size: 16px; box-shadow: var(--shadow); z-index: 2; }
.scard .info { padding: 12px 14px 14px; min-width: 0; }
.name { font-weight: 800; font-size: 16px; }
.tag { color: var(--muted); font-size: 13px; margin-top: 2px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted); margin-top: 7px; font-weight: 600; }
.meta .star { color: var(--ink); }
.meta .star::before { content: "★ "; color: #F2A900; }
.peek { margin-top: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek b { color: var(--ink); font-weight: 600; }
@media (max-width: 599px) {
  .grid { grid-template-columns: 1fr; gap: 10px; }
  .grid .scard { flex-direction: row; align-items: center; padding: 10px; }
  .grid .thumb { height: 82px; width: 82px; flex: 0 0 82px; border-radius: 16px; font-size: 38px; }
  .grid .badge { top: 5px; left: 5px; font-size: 10px; padding: 2px 5px; }
  .grid .state { left: 5px; bottom: 5px; font-size: 9px; padding: 2px 5px; }
  .grid .scard .info { padding: 0 26px 0 12px; flex: 1; }
  .grid .fav { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 13px; }
}
.hscroll .scard { flex: 0 0 290px; scroll-snap-align: start; }
@media (max-width: 599px) { .hscroll .scard { flex-basis: 78%; } }

.dish { flex: 0 0 170px; scroll-snap-align: start; text-align: left; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.dish .pic { height: 100px; display: grid; place-items: center; font-size: 46px; background: #F3EEE6; position: relative; }
.dish .pic .badge { font-size: 10px; padding: 2px 6px; top: 8px; left: 8px; }
.dish .d { padding: 10px 12px 12px; }
.dish b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dish small { display: block; color: var(--muted); font-size: 12px; margin: 2px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.money { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.money b { font-weight: 800; }
.money small { font-size: 11px; color: var(--muted); font-weight: 600; }

.install-band { margin-top: 28px; display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px; }
.install-band .big { font-size: 40px; }
.install-band p { opacity: .75; font-size: 13px; margin-top: 2px; }
.install-band .btn { width: auto; margin-left: auto; }

/* ---------- Page title bar ---------- */
.bar { display: flex; align-items: center; gap: 10px; padding: 16px 0 12px; }
.bar h1 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.bar .back { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 18px; display: grid; place-items: center; flex: 0 0 40px; }
@media (max-width: 899px) { .bar { position: sticky; top: 0; z-index: 20; background: rgba(250,247,242,.94); backdrop-filter: blur(10px); padding-top: max(14px, env(safe-area-inset-top)); margin: 0 -18px; padding-left: 14px; padding-right: 14px; } }

/* ---------- Store page ---------- */
.s-hero { position: relative; height: 210px; display: grid; place-items: center; font-size: 90px; border-radius: 0 0 26px 26px; }
@media (min-width: 900px) { .s-hero { border-radius: 26px; margin-top: 12px; height: 240px; } }
@media (max-width: 899px) { .s-hero { margin: 0 -18px; } }
.iconbtn { position: absolute; top: max(14px, env(safe-area-inset-top)); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; font-size: 19px; box-shadow: var(--shadow); text-decoration: none; }
.iconbtn.l { left: 14px; } .iconbtn.r { right: 14px; } .iconbtn.r2 { right: 64px; }
.store-head { background: var(--card); margin: -34px 14px 0; position: relative; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .store-head { margin: -48px 28px 0; padding: 22px 24px; } }
.store-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.openline { font-size: 13px; font-weight: 700; margin-top: 6px; }
.openline.ok { color: var(--green-2); } .openline.no { color: var(--lava-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.stats b { display: block; color: var(--ink); font-size: 15px; }
.promo-line { margin-top: 10px; background: var(--lava-soft); color: var(--lava-2); font-weight: 700; font-size: 13px; padding: 8px 10px; border-radius: 10px; }
.secnav { position: sticky; top: 0; z-index: 15; background: rgba(250,247,242,.95); backdrop-filter: blur(8px); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; margin-top: 8px; }
@media (min-width: 900px) { .secnav { top: 64px; } }
.secnav::-webkit-scrollbar { display: none; }
.store-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .store-layout { grid-template-columns: 1fr 340px; align-items: start; } }
.side-cart { position: sticky; top: 84px; }
.menu-sec h2 { font-size: 19px; font-weight: 800; margin: 18px 0 6px; }
.items { display: grid; gap: 0 18px; }
@media (min-width: 700px) { .items { grid-template-columns: 1fr 1fr; } }
.item { display: flex; gap: 12px; align-items: center; padding: 14px 0; text-align: left; width: 100%; border-bottom: 1px solid var(--line); }
.item > div:first-child { flex: 1; min-width: 0; }
.item.out { opacity: .5; }
.item .iname { font-weight: 700; font-size: 15px; }
.item .pop { display: inline-block; font-size: 10px; font-weight: 800; color: var(--green-2); background: var(--green-soft); padding: 2px 6px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.item .pop.out { color: #fff; background: var(--muted); }
.item .idesc { color: var(--muted); font-size: 13px; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .money { margin-top: 6px; }
.item-pic { position: relative; flex: 0 0 86px; height: 86px; border-radius: 16px; background: #F3EEE6; display: grid; place-items: center; font-size: 40px; }
.plus { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: var(--green); font-size: 22px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.18); }

.review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review .top-line { display: flex; justify-content: space-between; font-size: 14px; }
.review .stars { color: #F2A900; letter-spacing: 1px; }
.review p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border-radius: 16px; font-weight: 800; font-size: 16px; text-decoration: none; }
.btn.primary { background: var(--lava); color: #fff; box-shadow: 0 8px 20px rgba(255, 90, 54, .3); }
.btn.primary:active { transform: scale(.98); background: var(--lava-2); }
.btn.primary:disabled { background: #C9C2B8; box-shadow: none; cursor: default; }
.btn.ghost { background: var(--green-soft); color: var(--green); }
.btn.dark { background: var(--green); color: #fff; }
.btn.line { background: var(--card); border: 1px solid var(--line); }
.btn.small { width: auto; padding: 9px 14px; font-size: 13px; border-radius: 12px; }

/* ---------- Floating things (phones) ---------- */
#cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom)); z-index: 25; max-width: 520px; margin: 0 auto; }
body.sub #cartbar { bottom: calc(14px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { #cartbar { display: none; } }
.cartbtn { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--green); color: #fff; padding: 14px 16px; border-radius: 16px; font-weight: 800; box-shadow: 0 10px 24px rgba(11,79,67,.35); animation: pop .25s ease; }
.cartbtn .count { background: var(--sun); color: var(--ink); min-width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; }
.cartbtn .money { margin-left: auto; } .cartbtn .money small { color: #CFE5DD; }

.wa-fab { position: fixed; right: 18px; bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom)); z-index: 26; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(37, 211, 102, .45); }
body.has-cart .wa-fab { bottom: calc(var(--tabbar-h) + 84px + env(safe-area-inset-bottom)); }
body.sub .wa-fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
body.sub.has-cart .wa-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
body.no-wa .wa-fab { display: none; }
@media (min-width: 900px) { body.has-cart .wa-fab, body.sub .wa-fab, .wa-fab { bottom: 24px; right: 24px; } }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 28; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 6px max(10px, env(safe-area-inset-bottom)); }
body.sub .tabbar { display: none; }
@media (min-width: 900px) { .tabbar { display: none; } }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); }
.tab i { font-style: normal; font-size: 21px; filter: grayscale(1); opacity: .65; }
.tab.on { color: var(--green); } .tab.on i { filter: none; opacity: 1; }

/* ---------- Cards / forms ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.card h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.seg { display: flex; background: #F1ECE4; border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.seg button { flex: 1; padding: 9px 6px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.field { width: 100%; border: 1px solid var(--line); background: #FCFAF7; border-radius: 12px; padding: 12px 13px; font-size: 15px; outline: none; margin-bottom: 10px; }
.field:focus { border-color: var(--green-2); background: #fff; }
textarea.field { resize: none; min-height: 70px; }
label.lbl { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 4px 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inline { display: flex; gap: 8px; } .inline .field { margin: 0; } .inline .btn { flex: 0 0 auto; }
.okmsg { color: var(--green-2); font-weight: 700; font-size: 13px; margin-top: 8px; }
.errmsg { color: var(--lava-2); font-weight: 700; font-size: 13px; margin-top: 8px; }
.checkrow { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 6px 0 14px; }
.checkrow input { width: 18px; height: 18px; accent-color: var(--green); }

.places { display: flex; flex-direction: column; max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.place, .opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px; text-align: left; width: 100%; border-bottom: 1px solid var(--line); }
.place:last-child, .opt:last-child { border-bottom: 0; }
.place small { display: block; color: var(--muted); font-size: 12px; }
.place b { font-weight: 600; font-size: 14px; }
.radio, .check { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9C2B8; display: grid; place-items: center; }
.check { border-radius: 6px; }
.on > .radio, .on > .check { border-color: var(--green); background: var(--green); }
.on > .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.on > .check::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 800; }
.opt .grow { flex: 1; font-size: 15px; }
.opt .add { color: var(--muted); font-size: 13px; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 13px; border-radius: 99px; border: 1px solid var(--line); background: #FCFAF7; font-size: 13px; font-weight: 700; white-space: nowrap; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.chips.days { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.hint { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.warn { font-size: 13px; color: var(--lava-2); background: var(--lava-soft); border-radius: 10px; padding: 9px 11px; margin-bottom: 10px; font-weight: 600; }

.pay { display: flex; flex-direction: column; gap: 8px; }
.pay .opt { border: 1px solid var(--line); border-radius: 12px; }
.pay .opt.on { border-color: var(--green); background: var(--green-soft); }
.democard { margin: 2px 0 0 32px; font-size: 12px; color: var(--muted); }

.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--muted); }
.sum-row.total { color: var(--ink); font-size: 17px; font-weight: 800; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; }
.sum-row.disc { color: var(--lava-2); font-weight: 700; }
.demo { text-align: center; font-size: 12px; color: var(--muted); margin: 6px 20px 0; }

.co-layout { display: grid; gap: 0 24px; }
@media (min-width: 1000px) { .co-layout { grid-template-columns: 1fr 380px; align-items: start; } .co-side { position: sticky; top: 84px; } }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 24; padding: 12px 14px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, rgba(250,247,242,0)); }
@media (min-width: 1000px) { .sticky-cta { position: static; padding: 0; background: none; } }
.page-pad { padding-bottom: 110px; }
@media (min-width: 1000px) { .page-pad { padding-bottom: 40px; } }

.line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-of-type { border-bottom: 0; }
.line .lt { flex: 1; min-width: 0; }
.line .lt b { font-weight: 700; }
.line .lt small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.stepper { display: flex; align-items: center; gap: 2px; background: #F1ECE4; border-radius: 99px; padding: 3px; height: fit-content; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; font-size: 18px; font-weight: 700; color: var(--green); }
.stepper button:active { background: #fff; }
.stepper span { min-width: 22px; text-align: center; font-weight: 800; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 60px; margin-bottom: 10px; }
.empty .btn { margin: 18px auto 0; max-width: 260px; }

/* ---------- Map ---------- */
.mapwrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); cursor: crosshair; }
.map { display: block; width: 100%; height: auto; }

/* ---------- Tracking ---------- */
.track-layout { display: grid; gap: 0 24px; }
@media (min-width: 1000px) { .track-layout { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.track-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 14px; }
.eta { display: flex; align-items: center; justify-content: space-between; }
.eta b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.steps { list-style: none; margin: 14px 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 16px 34px; color: var(--muted); }
.steps li::before { content: ""; position: absolute; left: 6px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #C9C2B8; background: #fff; }
.steps li::after { content: ""; position: absolute; left: 13px; top: 21px; bottom: 0; width: 2px; background: #E2DCD2; }
.steps li:last-child::after { display: none; }
.steps li b { display: block; font-size: 15px; }
.steps li small { font-size: 12px; }
.steps li.done, .steps li.now { color: var(--ink); }
.steps li.done::before { background: var(--green); border-color: var(--green); }
.steps li.done::after { background: var(--green); }
.steps li.now::before { background: var(--lava); border-color: var(--lava); box-shadow: 0 0 0 5px rgba(255, 90, 54, .2); animation: pulse 1.4s infinite; }
.driver { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-size: 26px; flex: 0 0 48px; }
.driver .grow { flex: 1; min-width: 0; }
.driver small { color: var(--muted); font-size: 12px; display: block; }
.wa-btn { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff; padding: 10px 14px; border-radius: 12px; font-weight: 800; font-size: 13px; text-decoration: none; white-space: nowrap; }
.sched { text-align: center; padding: 24px 16px; }
.sched .big { font-size: 46px; }
.sched b { display: block; font-size: 20px; margin: 8px 0 14px; }
.starpick { display: flex; gap: 6px; justify-content: center; margin: 8px 0 12px; }
.starpick button { font-size: 34px; filter: grayscale(1); opacity: .35; transition: transform .1s; }
.starpick button.on { filter: none; opacity: 1; }
.starpick button:active { transform: scale(1.2); }

/* ---------- Orders ---------- */
.order { display: flex; flex-direction: column; gap: 10px; }
.order .top-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.status { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 8px; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.status.live { background: var(--lava-soft); color: var(--lava-2); }
.order .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cols2 { display: grid; gap: 0 16px; }
@media (min-width: 800px) { .cols2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Info pages ---------- */
.p-hero { padding: 34px 26px 36px; color: #fff; background: radial-gradient(120% 120% at 0% 0%, #1E8C6E 0%, var(--green) 50%, #072F28 100%); border-radius: 26px; margin-top: 12px; }
.p-hero.lava { background: radial-gradient(120% 120% at 0% 0%, #FF8A5B 0%, var(--lava) 45%, #B8321A 100%); }
.p-hero.ink { background: radial-gradient(120% 120% at 0% 0%, #34423D 0%, var(--ink) 60%); }
.p-hero .e { font-size: 46px; }
.p-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-top: 10px; }
.p-hero p { opacity: .88; margin-top: 8px; font-size: 15px; line-height: 1.5; max-width: 620px; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.benefit { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.benefit .e { font-size: 28px; }
.benefit b { display: block; font-size: 15px; margin-top: 8px; }
.benefit p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: s; }
.how div { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); font-weight: 700; display: flex; gap: 12px; align-items: center; }
.how div::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 800; }
.form-wrap { max-width: 560px; }
.success { text-align: center; padding: 20px 6px; }
.success .big { font-size: 54px; }
.success b { display: block; font-size: 20px; margin: 8px 0 6px; }
.success p { color: var(--muted); font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.ticks li { background: var(--card); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); font-weight: 600; }
.ticks li::before { content: "✓"; color: var(--green-2); font-weight: 800; margin-right: 10px; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.store-badges span { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 13px; color: var(--muted); }

.menu-list { display: flex; flex-direction: column; }
.menu-list a, .menu-list button { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; text-align: left; width: 100%; }
.menu-list a:last-child, .menu-list button:last-child { border-bottom: 0; }
.menu-list span { font-size: 20px; width: 26px; text-align: center; }
.menu-list .chev { margin-left: auto; color: var(--muted); }
.danger { color: var(--lava-2); }

/* ---------- Partner portal ---------- */
.portal-grid { display: grid; gap: 0 20px; }
@media (min-width: 1000px) { .portal-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.porder { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; background: #fff; }
.porder.new { border-color: var(--lava); box-shadow: 0 0 0 3px rgba(255,90,54,.12); }
.porder .top-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.porder ul { margin: 6px 0 10px; padding-left: 18px; font-size: 14px; }
.porder .meta2 { font-size: 12px; color: var(--muted); }
.toggle { position: relative; width: 44px; height: 26px; border-radius: 99px; background: #D3CCC1; flex: 0 0 44px; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle.on { background: var(--green-2); } .toggle.on::after { transform: translateX(18px); }
.trow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.trow:last-child { border-bottom: 0; }
.trow .grow { flex: 1; }
.kpi { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Footer ---------- */
footer { margin-top: 48px; background: var(--ink); color: #DDE5E1; padding: 36px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
@media (max-width: 799px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
.foot .brand { color: #fff; }
.foot p { font-size: 13px; opacity: .7; margin-top: 10px; line-height: 1.5; max-width: 320px; }
.foot h4 { margin: 4px 0 10px; font-size: 13px; color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.foot a { display: block; text-decoration: none; font-size: 14px; opacity: .8; padding: 4px 0; }
.foot a:hover { opacity: 1; }
.copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; opacity: .6; }

/* ---------- Sheet (bottom sheet on phones, pop-up on computers) ---------- */
.sheet-root { position: fixed; inset: 0; z-index: 50; }
.backdrop { position: absolute; inset: 0; background: rgba(10, 20, 17, .45); animation: fade .2s ease; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90%; display: flex; flex-direction: column; background: var(--bg); border-radius: 24px 24px 0 0; animation: up .28s cubic-bezier(.2,.9,.3,1); }
@media (min-width: 700px) {
  .sheet { left: 50%; top: 50%; bottom: auto; width: min(540px, 92vw); max-height: 86vh; border-radius: 24px; transform: translate(-50%, -50%); animation: zoom .22s ease; }
  .grab { display: none; }
}
.grab { width: 40px; height: 5px; border-radius: 3px; background: #D3CCC1; margin: 8px auto 4px; flex: 0 0 auto; }
.sheet-body { overflow-y: auto; padding: 8px 20px 0; }
.sheet-body h2 { font-size: 20px; font-weight: 800; padding: 10px 0 12px; }
.sheet-foot { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0 max(16px, env(safe-area-inset-bottom)); margin-top: 8px; }
.item-hero { height: 150px; border-radius: 20px; background: #F3EEE6; display: grid; place-items: center; font-size: 80px; margin: 6px 0 14px; }
.ogroup { background: var(--card); border-radius: 14px; margin: 12px 0; overflow: hidden; }
.ogroup .oh { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: #F6F2EB; font-weight: 800; font-size: 14px; }
.ogroup .req { font-size: 11px; padding: 3px 7px; border-radius: 6px; background: var(--ink); color: #fff; }
.ogroup .req.opt-l { background: #E2DCD2; color: var(--muted); }
.foot-row { display: flex; gap: 10px; align-items: center; }
.foot-row .btn { flex: 1; }
.confirm p { color: var(--muted); margin: 0 0 16px; }
.confirm .foot-row { padding-bottom: 18px; }

.toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: 14px; animation: drop .3s ease; white-space: nowrap; box-shadow: var(--shadow-lg); }

@keyframes up { from { transform: translateY(100%); } }
@keyframes zoom { from { opacity: 0; transform: translate(-50%, -46%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
@keyframes drop { from { transform: translate(-50%, -20px); opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 90, 54, .05); } }
