/* ==================================================================
   Web pemesan pelanggan — mobile first
   ================================================================== */
.cust-body { background: #f6f8fa; min-height: 100vh; padding-bottom: 84px; }
.cust-shell { max-width: 780px; margin: 0 auto; background: #f6f8fa; min-height: 100vh; position: relative; }
@media (min-width: 900px) { .cust-body { background: #eef2f6; } .cust-shell { box-shadow: 0 0 60px rgba(12,27,42,.08); } }

.c-hero { position: relative; color: #fff; padding: 18px 18px 58px; overflow: hidden; background: var(--brand); }
.c-hero::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -110px; background: rgba(255,255,255,.12); }
.c-hero::before { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; left: -60px; bottom: -40px; background: rgba(255,255,255,.08); }
.c-hero-top { display: flex; align-items: center; gap: 11px; position: relative; z-index: 2; }
.c-logo { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 20px; overflow: hidden; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); }
.c-logo img { width: 100%; height: 100%; object-fit: cover; }
.c-hero-top b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.c-hero-top span { font-size: 11.5px; opacity: .85; }
.c-hero-top .c-switch { margin-left: auto; font-size: 10px; white-space: nowrap; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); padding: 5px 10px; border-radius: 99px; color: #fff; }
.c-hours { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 11px; background: rgba(255,255,255,.15); padding: 5px 11px; border-radius: 99px; position: relative; z-index: 2; }
.c-hours .dot { width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; }
.c-hours.closed .dot { background: #fca5a5; }
.c-hero h1 { font-size: 27px; line-height: 1.12; letter-spacing: -1px; margin-top: 16px; font-weight: 800; position: relative; z-index: 2; }
.c-hero p { font-size: 12.5px; opacity: .85; margin-top: 6px; max-width: 340px; position: relative; z-index: 2; }
.c-search { margin-top: 18px; position: relative; z-index: 2; }
.c-search input { width: 100%; border: none; background: rgba(255,255,255,.95); border-radius: 12px; padding: 11px 12px 11px 38px; font-size: 13px; outline: none; color: var(--ink); }
.c-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-4); }

.c-sheet { max-width: 780px; margin: -34px auto 0; position: relative; z-index: 3; padding: 0 14px; }
.c-card { background: #fff; border-radius: 18px; box-shadow: 0 8px 30px -18px rgba(12,27,42,.25); border: 1px solid #eef2f6; }
.c-promo { display: flex; gap: 11px; padding: 13px 14px; align-items: center; background: linear-gradient(110deg, #fffbeb, #fff); border-color: #fde68a; }
.c-promo .pi { width: 36px; height: 36px; border-radius: 11px; background: #fef3c7; color: #b45309; display: grid; place-items: center; flex: none; }
.c-promo b { font-size: 12px; display: block; }
.c-promo span { font-size: 10.5px; color: var(--ink-3); }

.c-section { padding: 20px 0 4px; }
.c-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.c-sec-head h2 { font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.c-sec-head p { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.c-cats { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.c-cats::-webkit-scrollbar { display: none; }
.c-cats button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 13px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.c-cats button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.c-list { display: flex; flex-direction: column; gap: 10px; }
.c-item { display: flex; gap: 12px; padding: 13px; align-items: center; }
.c-item .thumb { width: 62px; height: 62px; border-radius: 13px; background: linear-gradient(145deg, #e6f7f4, #d3f0ea); display: grid; place-items: center; font-size: 24px; flex: none; overflow: hidden; }
.c-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-item b { font-size: 13px; display: block; letter-spacing: -.1px; }
.c-item p { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-item .meta { font-size: 10px; color: var(--ink-4); margin-top: 3px; }
.c-item .price { font-size: 13px; font-weight: 800; margin-top: 5px; display: block; }
.c-item .old { font-size: 10px; color: var(--ink-4); text-decoration: line-through; font-weight: 500; margin-left: 4px; }
.c-add { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; flex: none; align-self: flex-end; }
.c-add:active { transform: scale(.94); }
.c-flag { position: absolute; top: -6px; left: 10px; background: #f43f5e; color: #fff; font-size: 8.5px; font-weight: 800; padding: 2px 7px; border-radius: 99px; }

.c-cartbar { position: fixed; left: 0; right: 0; bottom: 70px; z-index: 30; padding: 0 14px; max-width: 780px; margin-inline: auto; transform: translateY(90px); transition: .25s; }
.c-cartbar.show { transform: none; }
.c-cartbar button { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: none; border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 30px -12px rgba(12,27,42,.6); }
.c-cartbar .cc { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.c-cartbar b { font-size: 12.5px; }
.c-cartbar small { display: block; font-size: 10px; color: #9fb3c6; }
.c-cartbar .ct { margin-left: auto; font-weight: 800; font-size: 13.5px; }

.c-nav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); z-index: 35; max-width: 780px; margin-inline: auto; }
.c-nav-in { display: flex; padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); }
.c-nav button { flex: 1; border: none; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px; font-size: 9.5px; font-weight: 700; color: var(--ink-4); }
.c-nav button svg { width: 20px; height: 20px; }
.c-nav button.active { color: var(--brand-700); }
.c-nav button.active svg { stroke-width: 2.3; }

.c-view { padding: 16px 14px 8px; }
.c-page-head { margin-bottom: 14px; }
.c-page-head h1 { font-size: 21px; font-weight: 800; letter-spacing: -.6px; }
.c-page-head p { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

.c-order { padding: 14px; margin-bottom: 10px; }
.c-order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.c-order-top .code { font-size: 10.5px; font-weight: 800; color: var(--brand-700); }
.c-order .route { display: flex; align-items: center; gap: 4px; margin: 12px 0 6px; }
.c-order .route i { width: 18px; height: 3px; border-radius: 2px; background: var(--line); flex: 1; }
.c-order .route i.on { background: var(--brand); }
.c-order .rlabels { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--ink-4); }
.c-order .rlabels .on { color: var(--brand-700); font-weight: 700; }
.c-order-foot { display: flex; justify-content: space-between; font-size: 11.5px; border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 9px; }

.c-empty { text-align: center; padding: 46px 20px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.c-empty .ico { width: 58px; height: 58px; border-radius: 20px; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; margin: 0 auto 12px; }
.c-empty h3 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.c-empty p { font-size: 11.5px; color: var(--ink-3); }

.c-input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 11px 12px; font-size: 13px; outline: none; min-height: 42px; }
.c-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.c-label { font-size: 11px; font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 5px; }
.c-field { margin-bottom: 12px; }

.cart-sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(8,20,33,.5); backdrop-filter: blur(3px); }
.cart-panel { background: #fff; width: 100%; max-width: 780px; border-radius: 22px 22px 0 0; max-height: 88vh; display: flex; flex-direction: column; animation: sheetUp .22s ease; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: .7; } }
.cart-head { padding: 16px 18px 10px; display: flex; align-items: center; justify-content: space-between; }
.cart-head h3 { font-size: 16px; font-weight: 800; }
.cart-body { padding: 4px 18px 12px; overflow-y: auto; }
.cart-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.cart-line:last-child { border: none; }
.cart-line b { font-size: 12px; display: block; }
.cart-line .p { font-size: 10.5px; color: var(--ink-3); }
.qty2 { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; }
.qty2 button { width: 28px; height: 28px; border: none; background: none; font-size: 15px; color: var(--ink-3); }
.qty2 span { min-width: 22px; text-align: center; font-size: 12px; font-weight: 700; }

.c-track { padding: 14px; }
.tl { display: flex; flex-direction: column; gap: 0; margin: 12px 0; }
.tl-item { display: flex; gap: 10px; position: relative; padding-bottom: 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .td { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff; flex: none; position: relative; z-index: 2; display: grid; place-items: center; }
.tl-item:not(:last-child)::before { content: ''; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.tl-item.on .td { background: var(--brand); border-color: var(--brand); color: #fff; }
.tl-item.on:not(:last-child)::before { background: var(--brand); }
.tl-item b { font-size: 12px; display: block; }
.tl-item span { font-size: 10.5px; color: var(--ink-3); }

.faq { border-bottom: 1px solid var(--line-2); padding: 12px 0; }
.faq b { font-size: 12.5px; display: block; margin-bottom: 3px; }
.faq p { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.upload-zone { display:block; border: 1.5px dashed #c9d8e4; border-radius: 12px; padding: 16px; text-align: center; font-size: 12px; color: var(--ink-3); cursor: pointer; background:#fff; }
.upload-zone:active { border-color: var(--brand); background: #f4fdfb; }
.upload-zone svg { width: 22px; height: 22px; margin: 0 auto 6px; color: var(--ink-4); }
.gap-6 { gap: 6px; }

.total-row { display:flex; justify-content:space-between; align-items:baseline; gap:12px; font-size:12.5px; padding:4px 0; }
.total-row.grand { font-size:16px; font-weight:800; border-top:1px dashed var(--line); margin-top:6px; padding-top:9px; letter-spacing:-.4px; }
.chip { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:9px; border:1px solid var(--line); background:#fff; font-size:12px; font-weight:600; color:var(--ink-3); }
.chip.active { background:var(--ink); color:#fff; border-color:var(--ink); }
.upload-zone span { display:block; }
