/* ==========================================================================
   Chef's Delight Order Platform — customer app
   ========================================================================== */
.cdk-app {
	--bg: #0d0906;
	--bg2: #130d08;
	--surface: #18110b;
	--surface2: #211810;
	--surface3: #2b2016;
	--line: rgba(255, 220, 160, .09);
	--line2: rgba(255, 220, 160, .16);
	--text: #fff8ee;
	--muted: #b6a48b;
	--muted2: #857560;
	--brand: #ffb800;
	--brand2: #ff7a1a;
	--grad: linear-gradient(135deg, #ffd84d 0%, #ffb300 45%, #ff8a1f 100%);
	--grad-soft: linear-gradient(135deg, rgba(255, 196, 0, .16), rgba(255, 122, 26, .08));
	--on-brand: #1b0e00;
	--green: #22c55e;
	--green2: #16a34a;
	--red: #ef4444;
	--blue: #3b82f6;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
	--r: 20px;
	--r-sm: 14px;
	--font: "Poppins", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Barlow Condensed", "Poppins", sans-serif;
	--script: "Kaushan Script", cursive;
	position: relative;
	display: flex;
	flex-direction: column;
	font-family: var(--font);
	color: var(--text);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 16px 120px;
	min-height: 70vh;
}
.cdk-app.is-light {
	--bg: #faf6f0;
	--bg2: #f3ece2;
	--surface: #ffffff;
	--surface2: #f8f3ec;
	--surface3: #efe6d9;
	--line: rgba(60, 35, 10, .08);
	--line2: rgba(60, 35, 10, .14);
	--text: #1d140c;
	--muted: #6e6152;
	--muted2: #9b8d7c;
	--shadow: 0 8px 24px rgba(70, 40, 10, .08);
	--shadow-lg: 0 24px 60px rgba(70, 40, 10, .18);
}
.cdk-app *, .cdk-app *::before, .cdk-app *::after { box-sizing: border-box; }
.cdk-app [hidden] { display: none !important; }
.cdk-app a { color: inherit; text-decoration: none; }
.cdk-app button { font: inherit; color: inherit; cursor: pointer; }
.cdk-app h1, .cdk-app h2, .cdk-app h3, .cdk-app h4 { margin: 0; line-height: 1.2; color: var(--text); }
.cdk-app p { margin: 0; }
.cdk-app input, .cdk-app textarea, .cdk-app select { font: inherit; }
.cdk-app img { max-width: 100%; display: block; }
html.ca-lock, html.ca-lock body { overflow: hidden; }

.ca-ic { width: 20px; height: 20px; flex: none; }
.ca-ic-xs { width: 13px; height: 13px; }
.ca-ic-sm { width: 16px; height: 16px; }
.ca-ic-lg { width: 26px; height: 26px; }
.ca-ic-xl { width: 44px; height: 44px; }
.ca-rot { transform: rotate(90deg); }
.ca-muted { color: var(--muted); }
.ca-green { color: var(--green) !important; }
.ca-red { color: var(--red) !important; }
.ca-gold { color: var(--brand); }
.ca-center { text-align: center; display: block; }
.ca-xs { font-size: 12px; }
.ca-grow { flex: 1; }

/* boot */
.ca-boot { min-height: 50vh; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--muted, #b6a48b); }
.ca-boot-spin, .ca-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 184, 0, .2); border-top-color: #ffb800; animation: ca-spin .8s linear infinite; }
.ca-spinner { width: 18px; height: 18px; border-width: 2px; display: inline-block; vertical-align: middle; }
@keyframes ca-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Buttons & controls
   ========================================================================== */
.ca-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 14px;
	background: var(--grad); color: var(--on-brand) !important; font-weight: 700; font-size: 15px; letter-spacing: .1px; white-space: nowrap;
	box-shadow: 0 8px 20px rgba(255, 150, 0, .25), inset 0 -2px 0 rgba(0, 0, 0, .1); transition: transform .15s, box-shadow .2s, opacity .2s; position: relative;
}
.ca-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 150, 0, .35); }
.ca-btn:active { transform: scale(.98); }
.ca-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.ca-btn-block { width: 100%; }
.ca-btn-lg { min-height: 54px; font-size: 16px; border-radius: 16px; }
.ca-btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.ca-btn-ghost { background: transparent; color: var(--brand) !important; box-shadow: inset 0 0 0 1.5px var(--brand); }
.ca-btn-ghost:hover { background: var(--grad-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.ca-btn-wa { background: linear-gradient(135deg, #2ee06b, #13a948); color: #fff !important; box-shadow: 0 8px 20px rgba(19, 169, 72, .3); }
.ca-btn.is-loading { color: transparent !important; pointer-events: none; }
.ca-btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--on-brand); border-right-color: transparent; animation: ca-spin .7s linear infinite; }
.ca-link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.ca-icon-btn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface2); display: grid; place-items: center; color: var(--muted); flex: none; }
.ca-icon-btn:hover { color: var(--brand); }
.ca-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 30px; background: var(--grad-soft); border: 1px solid rgba(255, 184, 0, .35); color: var(--brand); font-weight: 700; font-size: 13px; }
.ca-chip .ca-ic { width: 17px; height: 17px; }

/* ==========================================================================
   Top bar & nav
   ========================================================================== */
.ca-top { order: 1; position: sticky; top: 0; z-index: 60; margin: 0 -16px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
body.admin-bar .ca-top { top: 32px; }
.ca-top-row { display: flex; align-items: center; gap: 12px; }
.ca-loc { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; min-width: 0; flex: 1; }
.ca-loc-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); flex: none; box-shadow: 0 6px 16px rgba(255, 150, 0, .3); }
.ca-loc-txt { min-width: 0; }
.ca-loc-txt b { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.ca-loc-txt small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.ca-top-actions { display: flex; align-items: center; gap: 8px; }
.ca-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); border: 1.5px solid var(--line2); color: var(--muted); font-weight: 700; font-size: 14px; }
.ca-avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); }

.ca-nav {
	order: 4; position: fixed; z-index: 70; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; align-items: center;
	padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); border-radius: 22px; background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line2); box-shadow: var(--shadow-lg);
}
.ca-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted2); padding: 4px 10px; border-radius: 14px; transition: color .2s; min-width: 56px; }
.ca-nav a .ca-ic { width: 22px; height: 22px; }
.ca-nav a.is-on { color: var(--brand); }
.ca-nav a.is-on .ca-ic { filter: drop-shadow(0 4px 10px rgba(255, 184, 0, .5)); }
.ca-nav-spin i { width: 48px; height: 48px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); box-shadow: 0 10px 24px rgba(255, 150, 0, .45), 0 0 0 5px var(--bg); animation: ca-wobble 3s ease-in-out infinite; }
.ca-nav-spin i .ca-ic { width: 26px; height: 26px; }
@keyframes ca-wobble { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-18deg); } 92% { transform: rotate(14deg); } }
.ca-view { order: 3; min-width: 0; }

/* ==========================================================================
   Home
   ========================================================================== */
.ca-hero { display: grid; gap: 16px; padding: 18px 0 6px; }
.ca-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .2px; }
.ca-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); display: inline-block; animation: ca-ping 1.6s infinite; }
.ca-dot.is-off { background: var(--red); box-shadow: 0 0 0 4px rgba(239, 68, 68, .18); animation: none; }
@keyframes ca-ping { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .05); } }
.ca-hero h1 { font-family: var(--script); font-weight: 400; font-size: clamp(34px, 6vw, 52px); margin: 4px 0 2px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; padding-bottom: 2px; }
.ca-hero-copy p { color: var(--muted); }
.ca-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ca-hero-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.ca-hero-meta .ca-ic { width: 15px; height: 15px; color: var(--brand); }

.ca-offers { position: relative; min-width: 0; }
.ca-offers-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 0 6px; }
.ca-offers-track::-webkit-scrollbar { display: none; }
.ca-offer {
	scroll-snap-align: start; flex: 0 0 min(86%, 340px); display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); border: 0; text-align: left;
	color: #fff !important; position: relative; overflow: hidden; min-height: 92px; box-shadow: var(--shadow);
}
.ca-offer::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.ca-offer b { display: block; font-size: 15.5px; line-height: 1.25; }
.ca-offer small { display: block; font-size: 12.5px; opacity: .88; margin-top: 3px; }
.ca-offer-ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }
.ca-offer-ic .ca-ic { width: 24px; height: 24px; }
.o-cb { background: linear-gradient(135deg, #f59e0b, #d9480f); }
.o-spin { background: linear-gradient(135deg, #8b5cf6, #db2777); }
.o-free { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.o-cpn { background: linear-gradient(135deg, #10b981, #047857); }
.o-refer, .o-ref { background: linear-gradient(135deg, #ec4899, #be123c); }
.o-new { background: linear-gradient(135deg, #ffb800, #ff6a00); color: #1b0e00 !important; }
.o-new .ca-offer-ic { background: rgba(0, 0, 0, .12); }
.o-closed { background: linear-gradient(135deg, #475569, #1e293b); }
.ca-dots { display: flex; justify-content: center; gap: 5px; margin-top: 4px; }
.ca-dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line2); transition: all .3s; }
.ca-dots i.is-on { width: 18px; background: var(--brand); }

.ca-tools { display: flex; gap: 10px; align-items: center; margin: 14px 0 6px; flex-wrap: wrap; }
.ca-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); flex: none; }
.ca-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .2s, background .25s; }
.ca-seg button small { font-weight: 500; font-size: 11.5px; opacity: .8; }
.ca-seg button.is-on { background: var(--grad); color: var(--on-brand); box-shadow: 0 6px 16px rgba(255, 150, 0, .3); }
.ca-seg-ind { display: none; }
.ca-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.ca-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 184, 0, .12); }
.ca-search input { flex: 1; border: 0; background: none; outline: none; color: var(--text); height: 100%; min-width: 0; }

.ca-cats { position: sticky; top: 61px; z-index: 40; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 0; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.admin-bar .ca-cats { top: 93px; }
.ca-cats::-webkit-scrollbar { display: none; }
.ca-cats a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 14px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; color: var(--muted); transition: all .2s; }
.ca-cats a em { font-style: normal; font-size: 11px; background: var(--surface3); border-radius: 10px; padding: 1px 7px; }
.ca-cats a.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.ca-cats a.is-on em { background: rgba(127, 127, 127, .25); }

.ca-menu-grid { display: grid; gap: 24px; }
.ca-sec { padding-top: 18px; scroll-margin-top: 140px; }
.ca-sec header { margin-bottom: 12px; }
.ca-sec h2 { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: .2px; }
.ca-sec header p { color: var(--muted); font-size: 13.5px; }
.ca-dishes { display: grid; gap: 14px; }

/* dish card */
.ca-dish { display: grid; grid-template-columns: 1fr 138px; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.ca-dish:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.ca-dish.is-off { opacity: .55; }
.ca-dish-info { min-width: 0; }
.ca-dish-top { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.ca-dish h3 { font-size: 17px; font-weight: 700; margin: 6px 0 4px; }
.ca-price { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.ca-price small { font-weight: 500; color: var(--muted); font-size: 12px; }
.ca-spice { font-size: 11px; letter-spacing: -2px; }
.ca-desc { color: var(--muted); font-size: 13px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ca-size-hint { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ca-size-hint span { font-size: 11.5px; color: var(--muted); background: var(--surface2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 8px; }
.ca-size-hint b { color: var(--text); font-weight: 600; }
.ca-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #ff9f1a; background: rgba(255, 159, 26, .12); padding: 2px 8px; border-radius: 6px; }
.ca-badge .ca-ic { fill: currentColor; }
.ca-mark { width: 16px; height: 16px; border: 1.6px solid #c2410c; border-radius: 4px; display: inline-grid; place-items: center; flex: none; background: #fff; }
.ca-mark i { width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid #c2410c; }
.ca-mark-veg { border-color: #15803d; } .ca-mark-veg i { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #15803d; }
.ca-mark-egg { border-color: #ca8a04; } .ca-mark-egg i { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #eab308; }
.ca-dish-media { position: relative; height: 128px; }
.ca-dish-media img, .ca-noimg { width: 100%; height: 118px; object-fit: cover; border-radius: 16px; cursor: pointer; background: var(--surface2); display: grid; place-items: center; font-size: 40px; transition: transform .35s; }
.ca-dish:hover .ca-dish-media img { transform: scale(1.03); }
.ca-add-wrap { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); }
.ca-add {
	min-width: 104px; height: 38px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); color: var(--green) !important; font-weight: 800; font-size: 15px; letter-spacing: .5px;
	display: inline-flex; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); position: relative; transition: transform .15s;
}
.cdk-app.is-dark .ca-add { background: #fff; color: #15803d !important; border-color: #fff; }
.ca-add i { position: absolute; top: 2px; right: 5px; font-style: normal; }
.ca-add:active { transform: scale(.95); }
.ca-add:disabled { color: var(--muted2) !important; background: var(--surface2); border-color: var(--line); cursor: not-allowed; font-size: 12px; }
.ca-add-sm { min-width: 74px; height: 34px; font-size: 13px; box-shadow: none; }
.ca-step { display: inline-flex; align-items: center; height: 38px; min-width: 104px; border-radius: 12px; background: var(--grad); color: var(--on-brand); box-shadow: 0 8px 18px rgba(255, 150, 0, .35); overflow: hidden; animation: ca-pop .2s ease; }
.ca-step button { width: 36px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--on-brand); }
.ca-step button:hover { background: rgba(0, 0, 0, .08); }
.ca-step span { flex: 1; text-align: center; font-weight: 800; }
.ca-step .ca-ic { width: 16px; height: 16px; stroke-width: 3; }
.ca-step-sm { height: 32px; min-width: 88px; border-radius: 10px; box-shadow: none; }
.ca-step-sm button { width: 30px; }
@keyframes ca-pop { from { transform: scale(.85); } }
.ca-custom { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 10.5px; color: var(--muted2); }

/* side cart (desktop) */
.ca-side-cart { display: none; }
.ca-side-empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.ca-side-empty h3 { margin: 8px 0 4px; font-size: 16px; }

/* empty */
.ca-empty { text-align: center; padding: 48px 20px; display: grid; justify-items: center; gap: 8px; }
.ca-empty-art { font-size: 54px; line-height: 1; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); margin-bottom: 8px; }
.ca-empty h3 { font-size: 19px; }
.ca-empty p { color: var(--muted); max-width: 320px; margin-bottom: 8px; }

/* floating cart bar */
.ca-cartbar {
	position: fixed; z-index: 65; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 10px 10px 18px; border-radius: 18px; background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; box-shadow: 0 16px 34px rgba(22, 163, 74, .4); overflow: hidden;
	animation: ca-up .35s cubic-bezier(.2, .8, .2, 1);
}
.ca-cartbar[hidden] { display: none; }
.ca-cartbar b { display: block; font-size: 15px; }
.ca-cartbar small { display: block; font-size: 12px; opacity: .9; }
.ca-cartbar .ca-btn { background: #fff; color: #15803d !important; box-shadow: none; }
.ca-cartbar-prog { position: absolute; left: 0; bottom: 0; height: 3px; background: #fde047; transition: width .4s; }
@keyframes ca-up { from { transform: translateY(140%); } }

/* ==========================================================================
   Pages
   ========================================================================== */
.ca-page { padding: 8px 0 20px; animation: ca-fade .25s ease; }
@keyframes ca-fade { from { opacity: 0; transform: translateY(8px); } }
.ca-page-head { display: flex; align-items: center; gap: 12px; padding: 12px 0 16px; }
.ca-page-head h1 { font-size: 22px; font-weight: 800; flex: 1; }
.ca-back { width: 40px; height: 40px; border-radius: 13px; border: 1px solid var(--line2); background: var(--surface); display: grid; place-items: center; }
.ca-back-inline { background: none; border: 0; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; padding: 0; margin-bottom: 8px; }
.ca-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.ca-card-h { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.ca-card-h .ca-ic { color: var(--brand); width: 18px; height: 18px; }
.ca-card-h small { margin-left: auto; font-weight: 500; font-size: 12px; }
.ca-h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; margin: 22px 0 10px; }
.ca-h3 .ca-ic { color: var(--brand); }
.ca-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; margin: 18px 0 10px; }
.ca-skel { height: 88px; border-radius: var(--r); margin-bottom: 12px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: ca-shimmer 1.2s infinite; }
.ca-skel-sm { height: 48px; }
@keyframes ca-shimmer { to { background-position: -200% 0; } }

/* checkout */
.ca-checkout { display: grid; gap: 14px; }
.ca-co-main, .ca-co-side { min-width: 0; }
.ca-eta { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 12px 0; }
.ca-eta .ca-ic { color: var(--brand); width: 17px; }
.ca-only-type { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.ca-addr-box { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface2); border: 1px dashed var(--line2); cursor: pointer; }
.ca-addr-box > .ca-ic { color: var(--brand); }
.ca-addr-box div { flex: 1; min-width: 0; }
.ca-addr-box b { display: block; font-size: 14.5px; }
.ca-addr-box small { display: block; color: var(--muted); font-size: 13px; }
.ca-addr-box.is-pickup { cursor: default; border-style: solid; }
.ca-lines { display: grid; gap: 2px; }
.ca-line { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ca-line:last-child { border-bottom: 0; }
.ca-line-info { min-width: 0; }
.ca-line-info b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-line-info small { color: var(--muted); font-size: 12px; }
.ca-line-unit { display: block; font-size: 11.5px; color: var(--muted2); }
.ca-line-total { min-width: 56px; text-align: right; font-size: 14px; }
.ca-add-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 13.5px; margin: 10px 0; }
.ca-note { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); color: var(--muted); }
.ca-note input { flex: 1; background: none; border: 0; outline: none; color: var(--text); height: 100%; font-size: 13.5px; }
.ca-coupon-row { display: flex; gap: 8px; }
.ca-coupon-row input { flex: 1; height: 44px; border-radius: 12px; border: 1px dashed var(--line2); background: var(--surface2); color: var(--text); padding: 0 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; outline: none; min-width: 0; }
.ca-coupon-row input:focus { border-color: var(--brand); }
.ca-coupon-on { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); }
.ca-coupon-on > .ca-ic { color: var(--green); }
.ca-coupon-on div { flex: 1; }
.ca-coupon-on b { display: block; letter-spacing: 1px; }
.ca-coupon-on small { font-size: 12px; }
.ca-view-cpn { margin-top: 10px; }
.ca-wallet-row:not(:empty) { margin-top: 12px; }
.ca-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--grad-soft); border: 1px solid rgba(255, 184, 0, .3); cursor: pointer; }
.ca-toggle > .ca-ic { color: var(--brand); }
.ca-toggle span { flex: 1; }
.ca-toggle b { display: block; font-size: 14px; }
.ca-toggle small { color: var(--muted); font-size: 12px; }
.ca-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.ca-toggle i { width: 46px; height: 26px; border-radius: 26px; background: var(--surface3); position: relative; transition: .25s; flex: none; }
.ca-toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .25s; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.ca-toggle input:checked + i { background: var(--green); }
.ca-toggle input:checked + i::after { left: 23px; }
.ca-login-nudge { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--grad-soft); border: 1px dashed rgba(255, 184, 0, .5); text-align: left; }
.ca-login-nudge > .ca-ic:first-child { color: var(--brand); }
.ca-login-nudge span { flex: 1; }
.ca-login-nudge b { display: block; font-size: 14px; }
.ca-login-nudge small { color: var(--muted); font-size: 12px; }
.ca-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--muted); }
.ca-row span:last-child { color: var(--text); }
.ca-row small { font-size: 11.5px; }
.ca-row s { color: var(--muted2); }
.ca-free { color: var(--green); }
.ca-bill hr { border: 0; border-top: 1px dashed var(--line2); margin: 8px 0; }
.ca-bill-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line2); margin-top: 8px; padding-top: 12px; font-size: 17px; font-weight: 800; }
.ca-bill-total b { font-size: 20px; }
.ca-saved { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(59, 130, 246, .1); color: #93c5fd; font-size: 13px; text-align: center; }
.cdk-app.is-light .ca-saved { color: #1d4ed8; }
.ca-cb { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(34, 197, 94, .1); color: #86efac; font-size: 13px; }
.cdk-app.is-light .ca-cb { color: #15803d; }
.ca-hint { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.ca-warn, .ca-msg:not([hidden]) { color: #fecaca; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); padding: 10px 12px; border-radius: 12px; font-size: 13.5px; margin-top: 10px; }
.cdk-app.is-light .ca-warn, .cdk-app.is-light .ca-msg:not([hidden]) { color: #b91c1c; }
.ca-prog { height: 6px; border-radius: 6px; background: var(--surface3); margin-top: 12px; overflow: hidden; }
.ca-prog i { display: block; height: 100%; border-radius: 6px; background: var(--grad); transition: width .4s; }
.ca-pay-list { display: grid; gap: 8px; }
.ca-pay-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface2); cursor: pointer; transition: all .2s; }
.ca-pay-opt input { position: absolute; opacity: 0; }
.ca-pay-opt span:nth-of-type(2) { flex: 1; }
.ca-pay-opt b { display: block; font-size: 14px; }
.ca-pay-opt small { color: var(--muted); font-size: 12px; }
.ca-pay-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface3); color: var(--brand); flex: none; }
.ca-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); flex: none; position: relative; }
.ca-pay-opt.is-on { border-color: var(--brand); background: var(--grad-soft); }
.ca-pay-opt.is-on .ca-radio { border-color: var(--brand); }
.ca-pay-opt.is-on .ca-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }
.ca-paid-wallet { display: flex; gap: 8px; align-items: center; color: var(--green); font-weight: 600; }
.ca-place-wrap { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 5; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 30%); }
.ca-secure { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted2); margin-top: 8px; }

/* ==========================================================================
   Sheets
   ========================================================================== */
.ca-sheet-wrap { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: flex-end; justify-content: center; }
.ca-sheet-wrap[hidden] { display: none; }
.ca-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.ca-sheet {
	position: relative; width: 100%; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg2); border-radius: 26px 26px 0 0; border: 1px solid var(--line2); border-bottom: 0;
	transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); padding-bottom: env(safe-area-inset-bottom);
}
.ca-sheet::before { content: ""; position: sticky; top: 8px; display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--line2); margin: 8px auto -13px; z-index: 3; }
.ca-sheet-wrap.is-on .ca-scrim { opacity: 1; }
.ca-sheet-wrap.is-on .ca-sheet { transform: none; }
.ca-sheet-x { position: absolute; top: 14px; right: 14px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px); display: grid; place-items: center; }
.ca-sheet-body { padding: 26px 20px 22px; }
.ca-sheet-body > h2 { font-size: 21px; font-weight: 800; margin-bottom: 4px; padding-right: 40px; }
.ca-sheet-hero { height: 220px; background-size: cover; background-position: center; border-radius: 26px 26px 0 0; position: relative; }
.ca-sheet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, var(--bg2)); border-radius: inherit; }
.ca-sheet-dish .ca-sheet-body { padding-top: 10px; }
.ca-sheet-dish h2 { margin-top: 8px; }
.ca-sheet-foot { position: sticky; bottom: 0; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg2) 25%); }
.ca-sizes { display: grid; gap: 10px; }
.ca-size-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); transition: all .2s; }
.ca-size-row.is-on { border-color: var(--brand); background: var(--grad-soft); }
.ca-size-row b { display: block; font-size: 15px; }
.ca-size-row small { color: var(--muted); font-size: 12.5px; }
.ca-size-row strong { font-size: 15px; }

/* forms */
.ca-form { display: grid; gap: 12px; margin-top: 14px; }
.ca-form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ca-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .ca-form textarea {
	width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--surface); color: var(--text); font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.ca-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.ca-form input:focus, .ca-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 184, 0, .12); }
.ca-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ca-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ca-chips button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 30px; border: 1.5px solid var(--line2); background: var(--surface); font-weight: 600; font-size: 13px; color: var(--muted); }
.ca-chips button.is-on { border-color: var(--brand); color: var(--brand); background: var(--grad-soft); }

/* login */
.ca-login { text-align: center; }
.ca-login .ca-form { text-align: left; }
.ca-login-art { width: 84px; height: 84px; margin: 4px auto 14px; border-radius: 26px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); box-shadow: 0 16px 36px rgba(255, 150, 0, .35); transform: rotate(-6deg); }
.ca-login h2 { padding: 0 !important; }
.ca-phone { display: flex !important; grid-template-columns: none; align-items: center; gap: 0 !important; border: 1.5px solid var(--line2); border-radius: 14px; background: var(--surface); overflow: hidden; }
.ca-phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 184, 0, .12); }
.ca-phone span { padding: 0 6px 0 16px; font-weight: 700; color: var(--text); font-size: 16px; }
.ca-phone input { border: 0 !important; box-shadow: none !important; font-size: 17px !important; letter-spacing: 1px; background: none !important; }
.ca-or { display: flex; align-items: center; gap: 12px; color: var(--muted2); font-size: 12px; margin: 16px 0; text-transform: uppercase; letter-spacing: 2px; }
.ca-or::before, .ca-or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.ca-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ca-otp input { height: 56px !important; padding: 0 !important; text-align: center; font-size: 22px !important; font-weight: 800; }
.ca-demo { margin: 12px 0 0; padding: 10px; border-radius: 12px; background: rgba(255, 184, 0, .12); color: var(--brand); border: 1px dashed var(--brand); font-size: 14px; }
.ca-ref { margin-top: 16px; text-align: left; }
.ca-ref summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 13.5px; }
.ca-ref input { margin-top: 8px; width: 100%; height: 44px; border-radius: 12px; border: 1.5px dashed var(--line2); background: var(--surface); color: var(--text); padding: 0 14px; text-transform: uppercase; letter-spacing: 1px; outline: none; }
.ca-wa-login { display: grid; gap: 12px; margin-top: 10px; }
.ca-wa-code { font-family: ui-monospace, monospace; font-size: 26px; font-weight: 800; letter-spacing: 4px; padding: 16px; border-radius: 16px; background: var(--surface); border: 2px dashed #22c55e; color: #22c55e; }
.ca-waiting { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.ca-waiting .ca-spinner { border-top-color: #22c55e; border-color: rgba(34, 197, 94, .2); border-top-color: #22c55e; }

/* address */
.ca-gps { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px solid rgba(255, 184, 0, .4); background: var(--grad-soft); text-align: left; margin-top: 14px; }
.ca-gps > .ca-ic:first-child { color: var(--brand); }
.ca-gps span { flex: 1; }
.ca-gps b { display: block; color: var(--brand); }
.ca-gps small { color: var(--muted); font-size: 12.5px; }
.ca-addr-list { display: grid; gap: 8px; margin-bottom: 14px; }
.ca-addr { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); }
.ca-addr.is-on { border-color: var(--brand); }
.ca-addr-pick { flex: 1; display: flex; gap: 12px; align-items: flex-start; text-align: left; background: none; border: 0; padding: 8px; min-width: 0; }
.ca-addr-pick > .ca-ic { color: var(--brand); margin-top: 2px; }
.ca-addr-pick b { display: block; font-size: 14.5px; }
.ca-addr-pick small { display: block; color: var(--muted); font-size: 12.5px; }
.ca-pinned { font-style: normal; font-size: 10.5px; color: var(--green); font-weight: 600; }
.ca-map { height: 210px; border-radius: 18px; overflow: hidden; margin-top: 12px; background: var(--surface); border: 1px solid var(--line2); position: relative; }
.ca-map iframe, .ca-map-canvas { width: 100%; height: 100%; border: 0; }
.ca-map-empty { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 4px; border: 0; background: var(--grad-soft); color: var(--brand); }
.ca-map-empty small { color: var(--muted); }
.ca-map-dist { position: absolute; left: 10px; bottom: 10px; z-index: 500; padding: 5px 10px; border-radius: 20px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; }
.ca-map-dist:empty { display: none; }
.ca-map-hint { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.ca-pin span { display: block; width: 36px; height: 46px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 46'%3E%3Cpath d='M18 45s16-15 16-27A16 16 0 0 0 2 18c0 12 16 27 16 27Z' fill='%23ff8a1f' stroke='%23fff' stroke-width='3'/%3E%3Ccircle cx='18' cy='18' r='6' fill='%23fff'/%3E%3C/svg%3E"); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.ca-type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.ca-type-card { display: grid; justify-items: center; gap: 4px; padding: 18px 10px; border-radius: 18px; border: 1.5px solid var(--line2); background: var(--surface); }
.ca-type-card .ca-ic { color: var(--brand); }
.ca-type-card small { color: var(--muted); font-size: 12px; }
.ca-type-card.is-on { border-color: var(--brand); background: var(--grad-soft); }
.ca-addr-mini { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ca-addr-mini > .ca-ic { color: var(--brand); }
.ca-addr-mini div { flex: 1; min-width: 0; }
.ca-addr-mini b { display: block; font-size: 14px; }
.ca-addr-mini em { font-style: normal; font-size: 10.5px; color: var(--green); border: 1px solid; border-radius: 6px; padding: 0 5px; margin-left: 4px; }
.ca-addr-mini small { color: var(--muted); font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-addr-mini + .ca-btn { margin-top: 12px; }

/* UPI */
.ca-upi { text-align: center; }
.ca-upi h2 { font-family: var(--display); font-size: 42px !important; color: var(--brand) !important; margin: 4px 0 16px !important; padding: 0 !important; }
.ca-upi-apps { color: var(--muted); font-size: 12px; margin: 8px 0 14px; }
.ca-upi-qr { display: inline-block; background: #fff; padding: 12px; border-radius: 18px; }
.ca-upi-qr small { display: block; color: #333; font-size: 11px; margin-top: 4px; }
.ca-upi-qr.is-hide { display: none; }
.ca-upi .ca-form { text-align: left; }

/* ==========================================================================
   Orders & tracking
   ========================================================================== */
.ca-orders { display: grid; gap: 12px; }
.ca-order { display: block; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.ca-order:hover { border-color: var(--line2); }
.ca-order.is-live { border-color: rgba(255, 184, 0, .4); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.ca-order-top { display: flex; justify-content: space-between; align-items: center; }
.ca-order-items { color: var(--muted); font-size: 13.5px; margin: 8px 0; }
.ca-order-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted2); }
.ca-order-foot b { color: var(--text); font-size: 15px; }
.ca-order-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ca-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--surface3); }
.ca-st .ca-dot { width: 7px; height: 7px; }
.ca-st-new { color: #60a5fa; } .ca-st-accepted { color: #fb923c; } .ca-st-ready { color: #c084fc; } .ca-st-out { color: #22d3ee; }
.ca-st-delivered { color: var(--green); } .ca-st-cancelled { color: var(--muted2); }
.ca-track-hero { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 24px; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.ca-track-hero.st-new { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.ca-track-hero.st-ready { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.ca-track-hero.st-out { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.ca-track-hero.st-delivered { background: linear-gradient(135deg, #22c55e, #15803d); }
.ca-track-hero.st-cancelled { background: linear-gradient(135deg, #64748b, #334155); }
.ca-track-hero h2 { color: #fff; font-size: 22px; font-weight: 800; }
.ca-track-hero p { opacity: .9; font-size: 14px; }
.ca-track-anim { position: relative; width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.ca-track-anim i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ca-ripple 2s infinite; }
.ca-track-anim i + i { animation-delay: 1s; }
.st-delivered .ca-track-anim i, .st-cancelled .ca-track-anim i { animation: none; opacity: 0; }
.st-out .ca-track-anim .ca-ic { animation: ca-ride 1.2s ease-in-out infinite; }
.st-accepted .ca-track-anim .ca-ic { animation: ca-cook 1.4s ease-in-out infinite; }
@keyframes ca-ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes ca-ride { 50% { transform: translateX(5px) rotate(-3deg); } }
@keyframes ca-cook { 50% { transform: translateY(-4px) rotate(4deg); } }
.ca-eta-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border-radius: 20px; background: rgba(0, 0, 0, .22); font-size: 13px; }
.ca-steps { list-style: none; margin: 0 0 14px; padding: 18px 12px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ca-steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 11.5px; color: var(--muted2); }
.ca-steps li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 3px; background: var(--surface3); z-index: 0; }
.ca-steps li:first-child::before { display: none; }
.ca-steps li span { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface3); color: var(--muted2); }
.ca-steps li.is-done { color: var(--text); }
.ca-steps li.is-done::before { background: var(--brand); }
.ca-steps li.is-done span { background: var(--grad); color: var(--on-brand); }
.ca-steps li.is-now span { box-shadow: 0 0 0 6px rgba(255, 184, 0, .2); animation: ca-ping2 1.6s infinite; }
@keyframes ca-ping2 { 50% { box-shadow: 0 0 0 10px rgba(255, 184, 0, .05); } }
.ca-pay-due { border-color: rgba(255, 184, 0, .5); }
.ca-pay-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ca-note-card { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.ca-pay-st { text-transform: capitalize; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 8px; }
.ca-pay-paid { color: var(--green) !important; background: rgba(34, 197, 94, .12); }
.ca-pay-pending, .ca-pay-verifying { color: #f59e0b !important; background: rgba(245, 158, 11, .12); }
.ca-pay-failed { color: var(--red) !important; background: rgba(239, 68, 68, .12); }
.ca-track .ca-bill .ca-row { gap: 8px; }
.ca-track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ca-track-actions .ca-btn { flex: 1; min-width: 140px; }
.ca-spin-promo { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: linear-gradient(135deg, #8b5cf6, #db2777); color: #fff !important; box-shadow: var(--shadow); }
.ca-spin-promo span { flex: 1; }
.ca-spin-promo b { display: block; }
.ca-spin-promo small { opacity: .85; font-size: 12.5px; }

/* ==========================================================================
   Wallet, coupons, refer, spin, account
   ========================================================================== */
.ca-wallet-hero { position: relative; overflow: hidden; padding: 24px; margin-bottom: 8px; border-radius: 26px; color: #1b0e00; background: radial-gradient(120% 140% at 0% 0%, #ffe27a 0%, #ffb800 45%, #e96b00 100%); box-shadow: 0 20px 44px rgba(255, 140, 0, .3); }
.ca-wallet-hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ca-wallet-hero span { display: flex; align-items: center; gap: 8px; font-weight: 700; opacity: .8; }
.ca-wallet-hero strong { display: block; font-family: var(--display); font-size: 54px; line-height: 1.05; margin: 6px 0; }
.ca-wallet-hero small { opacity: .8; }
.ca-wallet-ways { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.ca-wallet-ways > * { padding: 6px 12px; border-radius: 20px; background: rgba(0, 0, 0, .14); font-size: 12.5px; font-weight: 700; color: #1b0e00 !important; }
.ca-coupons { display: grid; gap: 10px; }
.ca-coupon { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1.5px dashed var(--line2); position: relative; }
.ca-coupon.is-personal { border-color: rgba(168, 85, 247, .5); }
.ca-coupon-l { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); flex: none; }
.ca-coupon-m { flex: 1; min-width: 0; }
.ca-coupon-m b { display: block; font-size: 14px; }
.ca-coupon-m small { color: var(--muted); font-size: 12px; display: block; }
.ca-coupon-m code { display: inline-block; margin-top: 6px; font-weight: 800; letter-spacing: 1.5px; color: var(--brand); background: var(--grad-soft); padding: 2px 8px; border-radius: 6px; }
.ca-tx { padding: 4px 16px; }
.ca-tx-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ca-tx-row:last-child { border-bottom: 0; }
.ca-tx-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface2); font-size: 18px; flex: none; }
.ca-tx-row div { flex: 1; min-width: 0; }
.ca-tx-row b { display: block; font-size: 13.5px; font-weight: 600; }
.ca-tx-row small { color: var(--muted); font-size: 12px; }

.ca-refer-hero { text-align: center; padding: 26px 18px; border-radius: 26px; background: linear-gradient(135deg, #ec4899, #9333ea); color: #fff; margin-bottom: 14px; box-shadow: var(--shadow); }
.ca-refer-art { font-size: 54px; animation: ca-float 3s ease-in-out infinite; }
@keyframes ca-float { 50% { transform: translateY(-6px); } }
.ca-refer-hero h2 { color: #fff; font-size: 26px; font-weight: 800; }
.ca-refer-hero p { opacity: .92; margin-top: 6px; }
.ca-ref-code { display: grid; gap: 10px; text-align: center; }
.ca-ref-code > small { color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 700; }
.ca-code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px; border: 2px dashed var(--brand); background: var(--grad-soft); }
.ca-code-box code { font-size: 22px; font-weight: 800; letter-spacing: 3px; color: var(--brand); font-family: ui-monospace, monospace; }
.ca-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ca-stats div { text-align: center; padding: 14px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ca-stats b { display: block; font-size: 20px; font-family: var(--display); }
.ca-stats small { color: var(--muted); font-size: 12px; }
.ca-how { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.ca-how li { counter-increment: s; position: relative; padding-left: 46px; }
.ca-how li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; }
.ca-how b { display: block; }
.ca-how small { color: var(--muted); }

.ca-spin-page { text-align: center; }
.ca-spin-head h2 { font-size: 28px; font-weight: 800; }
.ca-spin-head p { color: var(--muted); margin-top: 4px; }
.ca-wheel-wrap { position: relative; width: min(340px, 86vw); aspect-ratio: 1; margin: 22px auto 16px; border-radius: 50%; padding: 12px; background: radial-gradient(circle, #3a2a14, #140d06); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 6px #ffcf3a, 0 0 60px rgba(255, 184, 0, .35); }
.ca-wheel { width: 100%; height: 100%; border-radius: 50%; display: block; }
.ca-wheel-pointer { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 3; width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid #fff; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.ca-wheel-btn { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26%; aspect-ratio: 1; border-radius: 50%; border: 5px solid #fff; background: var(--grad); color: var(--on-brand); font-weight: 900; font-size: 16px; letter-spacing: 1px; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); transition: transform .15s; }
.ca-wheel-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.ca-wheel-btn:disabled { opacity: .85; }
.ca-wheel-lights { position: absolute; inset: 0; pointer-events: none; }
.ca-wheel-lights i { position: absolute; top: 50%; left: 50%; width: 50%; height: 8px; margin-top: -4px; transform-origin: 0 50%; }
.ca-wheel-lights i::after { content: ""; position: absolute; right: 1px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff7c2; box-shadow: 0 0 8px #ffd34d; animation: ca-blink 0.8s infinite alternate; animation-delay: inherit; }
@keyframes ca-blink { to { opacity: .25; } }
.ca-spins-left { margin-bottom: 16px; font-size: 15px; }
.ca-spins-left b { color: var(--brand); font-size: 20px; }
.ca-rules { text-align: left; }
.ca-rules ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.ca-win-art { font-size: 72px; animation: ca-pop .5s cubic-bezier(.2, 2, .4, 1); }
.ca-win h2 { padding: 0 !important; margin: 6px 0 !important; }
.ca-win p { color: var(--muted); margin-bottom: 14px; }
.ca-row-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

.ca-acc-head { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; }
.ca-acc-head div:nth-child(2) { flex: 1; }
.ca-acc-head h2 { font-size: 20px; font-weight: 800; }
.ca-acc-head p { color: var(--muted); }
.ca-acc-av { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); font-size: 22px; font-weight: 800; }
.ca-acc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ca-acc-grid a { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ca-acc-grid .ca-ic { color: var(--brand); margin-bottom: 6px; }
.ca-acc-grid b { font-size: 18px; }
.ca-acc-grid small { color: var(--muted); font-size: 12px; }
.ca-acc-guest { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 10px; }
.ca-help { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ca-help > div:first-child { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(34, 197, 94, .14); color: #22c55e; flex: none; }
.ca-help > div:nth-child(2) { flex: 1; }
.ca-help b { display: block; }
.ca-help small { color: var(--muted); font-size: 12.5px; }
.ca-logout { width: 100%; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 16px; border: 1px solid rgba(239, 68, 68, .35); background: rgba(239, 68, 68, .08); color: #f87171; font-weight: 700; }

/* toast & confetti */
.ca-toast { position: fixed; z-index: 99999; left: 50%; top: 18px; transform: translate(-50%, -30px); opacity: 0; transition: all .3s cubic-bezier(.2, .8, .2, 1); padding: 12px 18px; border-radius: 16px; max-width: calc(100% - 28px); background: #1f1710; color: #fff; border: 1px solid rgba(255, 220, 160, .2); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; font-family: var(--font); }
.ca-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ca-toast.is-ok { background: #14532d; border-color: #22c55e; }
.ca-toast.is-err { background: #7f1d1d; border-color: #ef4444; }
.ca-toast[hidden] { display: none; }
body.admin-bar .ca-toast { top: 50px; }
.ca-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100000; overflow: hidden; }
.ca-confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: ca-fall linear forwards; }
@keyframes ca-fall { to { transform: translateY(110vh) rotate(720deg); opacity: .8; } }

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 900px) {
	.cdk-app { padding: 0 24px 60px; }
	.ca-top { margin: 0 -24px; padding: 12px 24px; }
	.ca-nav { order: 2; position: sticky; top: 64px; left: auto; right: auto; bottom: auto; margin: 12px auto 0; justify-content: center; gap: 4px; padding: 6px; border-radius: 18px; width: max-content; box-shadow: var(--shadow); z-index: 55; }
	body.admin-bar .ca-nav { top: 96px; }
	.ca-nav a { flex-direction: row; gap: 8px; font-size: 14px; padding: 9px 16px; color: var(--muted); }
	.ca-nav a .ca-ic { width: 19px; height: 19px; }
	.ca-nav a.is-on { background: var(--grad); color: var(--on-brand); }
	.ca-nav a.is-on .ca-ic { filter: none; }
	.ca-nav-spin i { width: auto; height: auto; margin: 0; background: none; box-shadow: none; color: inherit; animation: none; }
	.ca-nav-spin i .ca-ic { width: 19px; height: 19px; }
	.ca-loc-txt small { max-width: 420px; }
	.ca-hero { grid-template-columns: minmax(280px, .8fr) 1.2fr; align-items: center; gap: 28px; padding-top: 26px; }
	.ca-offer { flex-basis: calc(50% - 6px); }
	.ca-cats { top: 128px; margin: 4px 0 0; padding: 10px 0; }
	body.admin-bar .ca-cats { top: 160px; }
	.ca-menu-grid { grid-template-columns: 1fr 340px; align-items: start; }
	.ca-dishes { grid-template-columns: 1fr 1fr; }
	.ca-dish { grid-template-columns: 1fr 140px; }
	.ca-side-cart { display: block; position: sticky; top: 190px; margin-top: 18px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 210px); overflow-y: auto; }
	.ca-side-cart h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin-bottom: 8px; }
	.ca-side-cart h3 span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
	.ca-side-cart .ca-line { grid-template-columns: auto 1fr auto; }
	.ca-side-cart .ca-line-total { grid-column: 2 / 4; text-align: right; margin-top: -6px; font-size: 13px; color: var(--muted); }
	.ca-side-sub { display: flex; justify-content: space-between; padding: 12px 0; font-size: 16px; border-top: 1px dashed var(--line2); margin-top: 6px; }
	.ca-cartbar { display: none !important; }
	.ca-checkout { grid-template-columns: 1fr 380px; align-items: start; }
	.ca-co-side { position: sticky; top: 140px; }
	.ca-place-wrap { position: static; background: none; }
	.ca-sheet-wrap { align-items: center; }
	.ca-sheet { max-width: 520px; border-radius: 26px; border-bottom: 1px solid var(--line2); transform: translateY(30px) scale(.97); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
	.ca-sheet-wrap.is-on .ca-sheet { opacity: 1; }
	.ca-sheet::before { display: none; }
	.ca-acc-grid { grid-template-columns: repeat(4, 1fr); }
	.ca-page-account .ca-page-body, .ca-page-refer .ca-page-body, .ca-page-track .ca-page-body { max-width: 760px; }
	.ca-page-body { max-width: 980px; margin: 0 auto; }
	.ca-page-cart .ca-page-body { max-width: none; }
}
@media (max-width: 899px) {
	.ca-page-body .ca-place-wrap { margin: 0 -16px; padding: 10px 16px; }
	.cdk-has-app .cd-float-wa { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 380px) {
	.ca-dish { grid-template-columns: 1fr 112px; gap: 12px; padding: 14px; }
	.ca-dish-media img, .ca-noimg { height: 100px; }
	.ca-add, .ca-step { min-width: 90px; }
	.ca-seg button small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cdk-app *, .ca-sheet { animation: none !important; transition: none !important; }
}

/* ===== v2.1: announcement, pickup-soon, roti add-on, reviews ===== */
.ca-ann { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; padding: 14px 16px; border-radius: var(--r); background: var(--grad-soft); border: 1px solid rgba(255, 184, 0, .4); color: var(--text); position: relative; }
.ca-ann-ic { font-size: 24px; line-height: 1; }
.ca-ann-txt { flex: 1; min-width: 0; }
.ca-ann-txt b { display: block; font-size: 15px; margin-bottom: 2px; }
.ca-ann-txt p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.ca-ann-btn { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 30px; background: var(--grad); color: var(--on-brand) !important; font-weight: 700; font-size: 12.5px; }
.ca-ann-x { background: none; border: 0; color: var(--muted); padding: 2px; cursor: pointer; }
.ca-soon { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface2); color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.ca-soon b { color: var(--text); }
.ca-roti-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface2); border: 1px dashed var(--line2); }
.ca-roti-row > div:nth-child(2) { flex: 1; min-width: 0; }
.ca-roti-row b { display: block; font-size: 14px; }
.ca-roti-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ca-roti-ic { font-size: 26px; }
.ca-roti-btns { display: flex; gap: 6px; }
.ca-chipbtn { height: 32px; min-width: 40px; padding: 0 10px; border-radius: 30px; border: 1px solid var(--brand); background: transparent; color: var(--brand); font-weight: 700; cursor: pointer; }
.ca-chipbtn:hover { background: var(--grad-soft); }
.ca-roti-nudge:empty { display: none; }
.ca-stars { color: var(--brand); letter-spacing: 1px; white-space: nowrap; }
.ca-stars i { font-style: normal; color: var(--line2); }
.ca-reviews { margin: 28px 0 90px; }
.ca-reviews header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ca-reviews h2 { margin: 0; font-size: 20px; }
.ca-rv-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.ca-rv-track .ca-rv { flex: 0 0 min(300px, 82%); scroll-snap-align: start; }
.ca-rv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.ca-rv p { margin: 8px 0; font-size: 14px; line-height: 1.55; }
.ca-rv small { color: var(--muted); }
.ca-rv-reply { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface2); font-size: 12.5px; color: var(--muted); }
.ca-rv-hero { text-align: center; padding: 22px 16px; border-radius: var(--r); background: var(--grad-soft); margin-bottom: 14px; }
.ca-rv-hero b { display: block; font-size: 44px; line-height: 1; color: var(--brand); }
.ca-rv-hero .ca-stars { font-size: 20px; }
.ca-rv-hero small { display: block; color: var(--muted); margin-top: 4px; }
.ca-rv-list { display: grid; gap: 12px; margin-bottom: 14px; }
.ca-review-promo { display: flex; align-items: center; gap: 12px; padding: 16px; margin-top: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--brand); color: var(--text) !important; }
.ca-review-promo > span:nth-child(2) { flex: 1; }
.ca-review-promo b { display: block; }
.ca-review-promo small { color: var(--muted); }
.ca-rp-stars { color: var(--brand); font-size: 16px; letter-spacing: 1px; }
.ca-rv-form-card { padding: 20px; }
.ca-rv-form-card h2 { margin: 0 0 4px; }
.ca-rv-pick { display: flex; justify-content: center; gap: 6px; margin: 14px 0 4px; }
.ca-rv-pick button { background: none; border: 0; font-size: 40px; line-height: 1; color: var(--line2); cursor: pointer; transition: transform .15s, color .15s; }
.ca-rv-pick button.is-on { color: var(--brand); }
.ca-rv-pick button:active { transform: scale(1.2); }
.ca-rv-form-card textarea { width: 100%; }
