/* Customer ordering app */
.top { position: sticky; top: 0; z-index: 50; background: rgba(12,12,13,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.top img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #2b2b2f; }
.top .brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .04em; line-height: 1; }
.cart-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(240,100,30,.35); }
.cart-btn .n { background: #fff; color: var(--orange); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 13px; }

.hero { position: relative; padding: 26px 0 10px; overflow: hidden;
  background: radial-gradient(900px 300px at 20% -10%, rgba(240,100,30,.35), transparent 60%), radial-gradient(600px 200px at 90% 0%, rgba(255,138,61,.18), transparent 60%); }
.hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: .95; }
.hero h1 span { color: var(--orange2); }
.hero p { color: var(--muted); margin: 10px 0 0; max-width: 560px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.special { flex: 0 0 78%; max-width: 330px; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; position: relative; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.special img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.special .body { padding: 12px 14px 14px; }
.special .day { position: absolute; top: 10px; left: 10px; }
.special .price { position: absolute; top: 10px; right: 10px; background: var(--orange); color: #fff; font-family: var(--display); font-size: 22px; padding: 4px 12px; border-radius: 999px; transform: rotate(-3deg); }
.special h3 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .02em; }
.special p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
@media (min-width: 760px) { .special { flex-basis: 320px; } }

.chips { position: sticky; top: 64px; z-index: 40; background: rgba(12,12,13,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chips .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.chips .wrap::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.chip.on { background: var(--orange); color: #fff; border-color: transparent; }

.cat { padding: 26px 0 8px; scroll-margin-top: 120px; }
.cat h2 { font-size: 30px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cat h2 small { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); font-weight: 500; }
.cat[data-look="cream"] { background: var(--cream); margin: 20px -16px 0; padding: 26px 16px 16px; border-radius: 26px; color: var(--brown); }
.cat[data-look="cream"] h2 { color: var(--brown); } .cat[data-look="cream"] h2 small { color: #8a6a52; }
.cat[data-look="cream"] .chead { display: flex; align-items: center; gap: 14px; }
.cat[data-look="cream"] .chead img { width: 86px; border-radius: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.item { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .1s, border-color .15s; }
.item:active { transform: scale(.98); } .item:hover { border-color: #3d3d44; }
.item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.item .b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.item h3 { font-size: 15px; line-height: 1.25; }
.item p { margin: 0; font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .pr { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; }
.item .pr b { color: var(--orange2); font-size: 16px; } .item .pr small { color: var(--dim); font-size: 11px; margin-right: 3px; }
.item .add { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.item.out { opacity: .5; } .item.out .add { display: none; }
.item .tag { position: absolute; top: 8px; left: 8px; }
.item.wide { grid-column: span 2; }

.sheet-img { width: calc(100% + 32px); margin: 0 -16px; max-height: 240px; object-fit: cover; }

/* drawers (basket + checkout) */
.drawer { position: fixed; inset: 0; z-index: 95; background: var(--bg); transform: translateX(100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.show { transform: translateX(0); }
.drawer .dh { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer .dh h2 { font-size: 26px; }
.drawer .db { flex: 1; overflow: auto; padding: 16px; }
.drawer .df { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--panel); }
@media (min-width: 760px) { .drawer { left: auto; width: 520px; box-shadow: var(--shadow); border-left: 1px solid var(--line); } }
.line { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; }
.line img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.line .ph { width: 56px; height: 56px; border-radius: 10px; background: var(--panel2); display: grid; place-items: center; font-size: 22px; flex: none; }
.line h4 { margin: 0; font-size: 15px; } .line p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.line .amt { font-weight: 700; white-space: nowrap; }
.line .acts { display: flex; gap: 10px; margin-top: 6px; font-size: 13px; }
.line .acts button { color: var(--orange2); font-weight: 600; }
.tot { display: flex; justify-content: space-between; padding: 6px 0; } .tot.big { font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); } .empty .ico { font-size: 54px; }

.pay { display: grid; gap: 8px; }
.pay label { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r2); background: var(--bg2); border: 1px solid var(--line); }
.pay label.on { border-color: var(--orange); background: rgba(240,100,30,.12); }
.pay input { accent-color: var(--orange); width: 18px; height: 18px; }
.pay b { display: block; font-size: 15px; } .pay small { color: var(--muted); }

.done { text-align: center; padding: 30px 16px; }
.done .num { font-family: var(--display); font-size: 84px; line-height: 1; color: var(--orange2); }
.done .acts { display: grid; gap: 10px; max-width: 360px; margin: 20px auto 0; }

footer.site { margin-top: 40px; padding: 30px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .cols { display: grid; gap: 20px; grid-template-columns: 1fr; } @media (min-width: 640px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site table { border-collapse: collapse; } footer.site td { padding: 3px 14px 3px 0; } footer.site td.today { color: var(--orange2); font-weight: 700; }
.mine { position: fixed; right: 14px; bottom: 14px; z-index: 60; }
