/* =========================================================
   Ti Salem – super-app stylesheet (Gojek-style)
   Loaded after Tailwind via /assets/css/app.css
   =========================================================
   Color tokens, layout frame, header, bottom nav,
   buttons, cards, service tiles, warung cards,
   menu list, search pill, toastr override.
   ========================================================= */

@font-face {
    font-family: 'Maison Neue';
    src: url('/assets/fonts/fonnts.com-Maison_Neue_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Maison Neue';
    src: url('/assets/fonts/fonnts.com-Maison_Neue_Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Maison Neue';
    src: url('/assets/fonts/fonnts.com-Maison_Neue_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Maison Neue Mono';
    src: url('/assets/fonts/fonnts.com-Maison_Neue_Mono.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --frame-w: 480px;

    --brand-50:  #F0FBEF;
    --brand-100: #E1F4E0;
    --brand-200: #B7E8B5;
    --brand-500: #1FB935;
    --brand-600: #00B818;
    --brand-700: #009412;
    --brand-900: #003F08;

    --accent-red: #E53E3E;
    --accent-red-soft: #FDECEC;
    --accent-amber: #F2A93B;
    --accent-orange: #F2994A;

    --ink:          #1A1A1A;
    --ink-muted:    #6B7280;
    --ink-faint:    #9AA0A6;

    --surface:        #FFFFFF;
    --surface-muted:  #F5F5F5;
    --surface-soft:   #FAFAFA;
    --surface-line:   #ECECEC;

    --radius-card:  12px;
    --radius-soft:  16px;
    --radius-pill:  999px;

    --shadow-card:  0 4px 14px rgba(0,0,0,0.06);
    --shadow-floating: 0 6px 18px rgba(0,0,0,0.10);
    --shadow-nav:   0 -4px 16px rgba(0,0,0,0.06);
}

/* ============================================================
   Base
   ============================================================ */
html, body {
    background: var(--surface-muted);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    touch-action: manipulation;
}
body {
    font-family: 'Maison Neue', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* ============================================================
   Mobile-frame container
   ============================================================ */
.app-frame {
    width: 100%;
    max-width: var(--frame-w);
    margin: 0 auto;
    min-height: 100dvh;
    position: relative;
    background: var(--surface);
}
@media (min-width: 1024px) {
    body {
        background:
            radial-gradient(1200px 600px at 50% -200px, var(--brand-50) 0%, transparent 60%),
            var(--surface-muted);
    }
    .app-frame {
        box-shadow: 0 24px 64px -16px rgba(0,0,0,0.12);
        border-radius: 24px;
        overflow: hidden;
        margin-top: 24px;
        margin-bottom: 24px;
        min-height: calc(100dvh - 48px);
    }
}

/* ============================================================
   App header (default beranda)
   ============================================================ */
.app-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,0.95);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--surface-line);
}
.app-header-loc-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-pill);
    background: var(--brand-50);
    color: var(--brand-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.app-header-icon-btn {
    width: 40px; height: 40px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--surface-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease, background 0.15s ease;
    position: relative;
}
.app-header-icon-btn:active { transform: scale(0.94); }
.app-header-icon-btn .dot-badge {
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    background: var(--accent-red);
    border: 2px solid #fff;
    border-radius: var(--radius-pill);
}
.app-header-avatar {
    width: 40px; height: 40px;
    border-radius: var(--radius-pill);
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: var(--shadow-card);
}

/* ============================================================
   Floating header (di atas hero detail warung)
   ============================================================ */
.floating-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 20;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.floating-header.solid {
    position: sticky;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--surface-line);
}
.floating-header .title {
    flex: 1;
    text-align: center;
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--ink);
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.floating-header.solid .title { opacity: 1; }
.icon-btn {
    width: 40px; height: 40px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    box-shadow: var(--shadow-floating);
    transition: transform 0.15s ease;
}
.icon-btn:active { transform: scale(0.94); }
.chip-loc-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: var(--shadow-floating);
}
.chip-loc-dark ion-icon { color: var(--accent-red); }

/* ============================================================
   Bottom nav
   ============================================================ */
.bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: var(--frame-w);
    background: #fff;
    border-top: 1px solid var(--surface-line);
    box-shadow: var(--shadow-nav);
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom)) 4px;
    z-index: 40;
}
@media (min-width: 1024px) {
    .bottom-nav {
        position: absolute;
        border-radius: 0 0 24px 24px;
        box-shadow: none;
    }
}
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    color: #6B7280;
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    transition: color 0.15s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.nav-item .icon-wrap {
    width: 48px;
    height: 30px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.nav-item:active .icon-wrap { transform: scale(0.9); }
.nav-item ion-icon { font-size: 1.375rem; line-height: 1; }
.nav-item .badge-mini {
    position: absolute;
    top: 0;
    right: calc(50% - 26px);
    background: var(--accent-red);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: var(--radius-pill);
    border: 2px solid #fff;
    line-height: 1;
}
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    border-radius: 0 0 3px 3px;
    background: transparent;
    transition: background 0.2s ease;
}
.nav-item.active {
    color: var(--brand-700);
    font-weight: 800;
    background: linear-gradient(to bottom, rgba(0,170,19,0.10) 0%, transparent 60%);
}
.nav-item.active::before {
    background: var(--brand-600);
}
.nav-item.active .icon-wrap {
    background: none;
    color: var(--brand-600);
}

/* Spacing supaya content tak ketutupan bottom nav */
.content-bottom-space { height: 96px; }

/* ============================================================
   Search pill (beranda)
   ============================================================ */
.pill-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--radius-pill);
    border: 1px solid var(--surface-line);
    box-shadow: var(--shadow-card);
}
.pill-search input {
    flex: 1;
    background: transparent;
    outline: none;
    border: none;
    font-size: 0.9375rem;
    color: var(--ink);
    font-weight: 500;
}
.pill-search input::placeholder { color: var(--ink-muted); font-weight: 500; }

/* ============================================================
   Soft card & buttons
   ============================================================ */
.soft-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-600);
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover { background: var(--brand-700); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary[disabled] {
    background: var(--surface-line);
    color: var(--ink-muted);
    pointer-events: none;
}

.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    color: var(--brand-600);
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--brand-600);
    transition: transform 0.15s ease, background 0.15s ease;
}
.btn-outline-brand:active { transform: scale(0.96); background: var(--brand-50); }

.btn-outline-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    color: var(--ink-muted);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--surface-line);
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-outline-muted:active { transform: scale(0.96); background: var(--surface-soft); }

.chip-soft-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--brand-100);
    color: var(--brand-700);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
}

.badge-promo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}
.badge-open   { background: var(--brand-100); color: var(--brand-700); }
.badge-closed { background: var(--accent-red-soft); color: var(--accent-red); }

/* ============================================================
   Saldo / balance card (beranda Gojek-style)
   ============================================================ */
.balance-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.balance-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: #E8F1FD;
    color: #4A9FD9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.balance-icon ion-icon { font-size: 1.05rem; }
.balance-info { flex: 1; min-width: 0; line-height: 1.15; }
.balance-info .label { font-size: 0.6875rem; color: var(--ink-muted); font-weight: 600; }
.balance-info .value { font-size: 0.9375rem; font-weight: 800; color: var(--ink); }
.balance-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.balance-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ink);
    position: relative;
    padding: 4px 10px 4px 4px;
    background: var(--brand-50);
    border-radius: var(--radius-pill);
}
.balance-action:active { transform: scale(0.96); }
.balance-action .circle {
    width: 24px; height: 24px;
    border-radius: var(--radius-pill);
    background: var(--brand-600);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}
.balance-action .circle ion-icon { font-size: 0.9rem; }
.balance-action .badge-mini {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: var(--radius-pill);
    border: 2px solid #fff;
    line-height: 1;
}

/* ============================================================
   Service tile (grid layanan)
   ============================================================ */
.service-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px;
    transition: transform 0.15s ease;
    cursor: pointer;
}
.service-tile:active { transform: scale(0.96); }
.service-tile .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--brand-700);
    position: relative;
}
.service-tile .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-tile .icon-wrap ion-icon { font-size: 1.875rem; }
.service-tile .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    line-height: 1.15;
    min-height: 1.8em;
    display: flex;
    align-items: center;
}
/* Rotasi pastel — kelas dipasang dgn modulo dari PHP */
.tile-bg-1 { background: #E1F4E0; color: #008010; }
.tile-bg-2 { background: #FFE4DD; color: #B33A1A; }
.tile-bg-3 { background: #FFF3D6; color: #8A6800; }
.tile-bg-4 { background: #DDEEFF; color: #1A5099; }
.tile-bg-5 { background: #F1E1FF; color: #6B26A6; }
.tile-bg-6 { background: #DBF5F0; color: #14756A; }

/* ============================================================
   Section title
   ============================================================ */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}
.section-title h2 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
}
.section-title .subtitle {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

/* ============================================================
   Warung cards (beranda)
   ============================================================ */
.scroll-x {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x > * { scroll-snap-align: start; flex-shrink: 0; }

.warung-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.warung-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease;
}
.warung-card:active { transform: scale(0.97); }
.warung-card .img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--surface-muted);
}
.warung-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.warung-card .card-body {
    padding: 10px 12px 12px;
}
.warung-card .card-dist {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 2px;
}
.warung-card .card-name {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.warung-card .card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6875rem;
    color: var(--ink-muted);
    margin-top: 4px;
}
.warung-card .card-rating ion-icon {
    color: var(--accent-amber);
    font-size: 0.75rem;
}
.warung-card .card-rating .score {
    font-weight: 800;
    color: var(--ink);
}
.warung-card .card-rating .sep {
    margin: 0 1px;
}
.warung-card .card-rating .count {
    color: var(--ink-muted);
}

/* ============================================================
   Promo / info card (beranda)
   ============================================================ */
.promo-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(100deg, #E1F4E0 0%, #F0FBEF 60%, #FFFFFF 100%);
    border-radius: var(--radius-card);
    border: 1px solid var(--brand-100);
    box-shadow: var(--shadow-card);
}
.promo-strip .icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-pill);
    background: rgba(0,170,19,0.12);
    color: var(--brand-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================================
   DETAIL WARUNG (Food)
   ============================================================ */
.warung-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-muted);
}
.warung-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.warung-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.warung-info-card {
    position: relative;
    z-index: 5;
    margin: -130px 16px 0 16px;
    background: #fff;
    border-radius: var(--radius-soft);
    padding: 16px;
    box-shadow: var(--shadow-floating);
}
.warung-info-card .row-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.warung-info-card .info-nama {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
}
.warung-info-card .info-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 0.8125rem;
}
.warung-info-card .info-dot {
    color: var(--ink-faint);
    margin: 0 2px;
}
.warung-info-card .info-score {
    font-weight: 800;
    color: var(--ink);
}
.warung-info-card .info-count {
    color: var(--ink-muted);
}
.tab-switch {
    display: flex;
    background: var(--surface-muted);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-top: 14px;
}
.tab-switch button {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink-muted);
    border-radius: var(--radius-pill);
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.tab-switch button.active {
    background: var(--brand-600);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,170,19,0.25);
}
.warung-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--surface-line);
}
.warung-meta .left {
    display: flex; align-items: center; gap: 6px;
    color: var(--ink); font-weight: 700; font-size: 0.8125rem;
}
.warung-meta .right {
    display: flex; align-items: center; gap: 4px;
    color: var(--ink); font-weight: 600; font-size: 0.8125rem;
    cursor: pointer;
}
.warung-meta .right:active { opacity: 0.7; }

/* Voucher chips horizontal */
.voucher-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 16px 6px 16px;
    scrollbar-width: none;
}
.voucher-scroll::-webkit-scrollbar { display: none; }
.voucher-chip {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--surface-line);
    border-radius: 10px;
    padding: 10px 14px;
    max-width: 280px;
}
.voucher-chip .icon {
    width: 28px; height: 28px;
    border-radius: var(--radius-pill);
    background: var(--accent-red-soft);
    color: var(--accent-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.voucher-chip .body {
    font-size: 0.75rem;
    color: var(--ink);
    line-height: 1.25;
}
.voucher-chip .body strong { font-weight: 800; }
.voucher-chip .body .muted { color: var(--ink-muted); font-size: 0.6875rem; }

/* Lokasi card (legacy — sekarang dipakai untuk patokan saja) */
.loc-card,
.patokan-card {
    margin: 12px 16px;
    padding: 10px 12px;
    background: #fff;
    border-radius: var(--radius-card);
    border: 1px solid var(--surface-line);
}

/* Bottom sheet untuk konfigurasi lokasi (di-trigger dari chip navbar) */
.loc-sheet {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.loc-sheet.hidden { display: none; }
.loc-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    animation: fadeIn 0.2s ease;
}
.loc-sheet-content {
    position: relative;
    width: 100%;
    max-width: var(--frame-w);
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 10px 16px calc(20px + env(safe-area-inset-bottom)) 16px;
    animation: slideUp 0.25s cubic-bezier(0.16,1,0.3,1);
    max-height: 80dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.loc-sheet-content > .modal-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.loc-sheet-handle {
    width: 36px; height: 4px;
    background: var(--surface-line);
    border-radius: var(--radius-pill);
    margin: 4px auto 12px auto;
}
.loc-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.loc-sheet-head h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
}
.loc-sheet-head button {
    width: 32px; height: 32px;
    border-radius: var(--radius-pill);
    background: var(--surface-muted);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loc-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: var(--surface-muted);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 12px;
}
.loc-mode-toggle button {
    padding: 9px 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink-muted);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.loc-mode-toggle button.active {
    background: #fff;
    color: var(--brand-700);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.chip-loc-dark {
    cursor: pointer;
}
.chip-loc-dark:active { transform: scale(0.96); }
.loc-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.loc-status-info { flex: 1; min-width: 0; }
.loc-status-label-tiny {
    font-size: 0.625rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.2;
}
.loc-status-text {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    margin-top: 1px;
}
.loc-status-dot {
    width: 8px; height: 8px;
    border-radius: var(--radius-pill);
    background: var(--ink-muted);
    flex-shrink: 0;
}
.loc-status-dot.ok      { background: var(--brand-600); }
.loc-status-dot.warn    { background: var(--accent-orange); }
.loc-status-dot.error   { background: var(--accent-red); }
.loc-status-dot.loading { background: #C8CCD0; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.text-link {
    color: var(--brand-600);
    font-weight: 700;
    font-size: 0.8125rem;
}
.text-link:active { opacity: 0.7; }

.field-input {
    width: 100%;
    padding: 11px 14px;
    background: var(--surface-soft);
    border: 1px solid var(--surface-line);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    font-family: inherit;
    resize: vertical;
    min-height: 44px;
}
.field-input:focus {
    border-color: var(--brand-600);
    background: #fff;
}
.field-input::placeholder { color: var(--ink-muted); }
.field-input.field-compact,
.field-compact {
    padding: 9px 12px;
    min-height: 38px;
    font-size: 0.8125rem;
    resize: none;
}
select.field-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236B7280' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Sticky kategori header dalam list menu */
.kategori-head {
    position: sticky;
    top: 0;
    background: var(--surface-muted);
    z-index: 10;
    padding: 14px 16px 8px 16px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-700);
}

/* Menu item ala GoFood */
.menu-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
}
.menu-item + .menu-item { border-top: 1px solid var(--surface-line); }
.menu-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.menu-name {
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--ink);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6875rem;
    line-height: 1;
    color: var(--ink-muted);
    margin-top: 3px;
}
.menu-rating ion-icon { color: var(--accent-amber); font-size: 0.6875rem; }
.menu-rating .val { font-weight: 800; color: var(--ink); }
.menu-desc {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.menu-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.menu-price { font-weight: 800; font-size: 0.875rem; color: var(--ink); }
.menu-price-old {
    font-size: 0.75rem; color: var(--ink-faint); text-decoration: line-through;
}
.menu-off-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-red);
}

.menu-side {
    width: 110px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.menu-thumb {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--surface-muted);
    flex-shrink: 0;
    position: relative;
}
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-thumb .placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-faint);
}
.menu-item.is-off .menu-thumb img,
.menu-item.is-off .menu-thumb .placeholder { opacity: 0.45; filter: grayscale(1); }
.menu-thumb .ribbon-off {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tombol add / qty (outline brand) */
.menu-action {
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-add {
    width: 100%;
    background: #fff;
    color: var(--brand-600);
    font-weight: 800;
    font-size: 0.8125rem;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--brand-200);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-add:hover { border-color: var(--brand-600); }
.btn-add:active { transform: scale(0.96); background: var(--brand-50); }
.btn-add[disabled] {
    background: var(--surface-muted);
    color: var(--ink-faint);
    border-color: var(--surface-line);
    pointer-events: none;
}
.qty-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--brand-600);
    border-radius: var(--radius-pill);
    padding: 2px;
}
.qty-wrap button {
    width: 30px; height: 30px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-600);
    font-weight: 800;
    font-size: 1.125rem;
    transition: background 0.15s ease, transform 0.15s ease;
}
.qty-wrap button.plus { background: var(--brand-600); color: #fff; }
.qty-wrap button:active { transform: scale(0.92); }
.qty-wrap button ion-icon { font-size: 1.125rem; line-height: 1; display: block; }
.qty-wrap .qty-num {
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--ink);
}

/* Floating menu FAB */
.fab-menu {
    position: fixed;
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 44;
    background: var(--accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.8125rem;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(229,62,62,0.35);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.15s ease;
    border: none;
    cursor: pointer;
}
.fab-menu:active { transform: translateX(-50%) scale(0.94); }
.fab-menu ion-icon { font-size: 1rem; }
.kat-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-muted);
}

/* Sticky bottom CTA pemesanan */
.order-cta {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--frame-w);
    z-index: 45;
    background: #fff;
    border-top: 1px solid var(--surface-line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) 16px;
    box-shadow: var(--shadow-nav);
}
@media (min-width: 1024px) {
    .order-cta {
        position: absolute;
        border-radius: 0 0 24px 24px;
        box-shadow: none;
    }
}
.order-cta button[type="submit"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--brand-600);
    color: #fff;
    font-weight: 800;
    font-size: 0.9375rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: transform 0.15s ease, background 0.15s ease;
}
.order-cta button[type="submit"]:hover { background: var(--brand-700); }
.order-cta button[type="submit"]:active { transform: scale(0.98); }
.order-cta button[type="submit"][disabled] {
    background: var(--surface-line);
    color: var(--ink-muted);
    pointer-events: none;
}
.cta-count {
    background: rgba(255,255,255,0.22);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================================================
   BERANDA — hero banner + overlay header
   ============================================================ */
.home-hero {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.home-hero .swiper { width: 100%; height: 100%; }
.home-hero .swiper-slide {
    position: relative;
    background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 100%);
    color: #fff;
    overflow: hidden;
}
.home-hero .swiper-slide img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.home-hero .slide-overlay {
    position: absolute;
    inset: 0;
    padding: 90px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.45) 100%);
}
.home-hero .slide-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.home-hero .slide-subtitle {
    font-size: 0.8125rem;
    margin-top: 4px;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.home-hero .swiper-pagination {
    bottom: 14px !important;
}
.home-hero .swiper-pagination-bullet {
    background: rgba(255,255,255,0.6);
    opacity: 1;
    width: 6px; height: 6px;
    transition: width 0.2s ease;
}
.home-hero .swiper-pagination-bullet-active {
    background: #fff;
    width: 18px;
    border-radius: 999px;
}

.home-overlay-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 14px 14px 0 14px;
}
.home-overlay-header .header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: opacity 0.18s ease;
}
.home-overlay-header .header-row.hidden { display: none; }
.home-overlay-header .pill-search {
    flex: 1;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.home-loc-pill {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    color: var(--ink);
    height: 42px;
    transition: transform 0.15s ease;
}
.home-loc-pill:active { transform: scale(0.98); }
.home-loc-pill .icon {
    width: 30px; height: 30px;
    border-radius: var(--radius-pill);
    background: var(--brand-100);
    color: var(--brand-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.home-loc-pill .text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.05;
}
.home-loc-pill .text small {
    font-size: 0.625rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}
.home-loc-pill .text strong {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.home-overlay-header .header-action {
    width: 42px; height: 42px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    position: relative;
    flex-shrink: 0;
}
.home-overlay-header .header-action:active { transform: scale(0.94); }
.home-overlay-header .header-action img {
    width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-pill);
}
.home-overlay-header .header-action .dot-badge {
    position: absolute;
    top: 4px; right: 4px;
    width: 9px; height: 9px;
    background: var(--accent-red);
    border: 2px solid #fff;
    border-radius: var(--radius-pill);
}

/* lokasi chip kecil di bawah search */
.home-loc-strip {
    position: absolute;
    top: 70px;
    left: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.42);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.home-loc-strip ion-icon { color: var(--accent-red); }

/* konten yang overlap bawah hero */
.home-content-top {
    position: relative;
    z-index: 5;
    margin-top: -32px;
    padding: 0 16px;
}

/* ============================================================
   BERANDA — Quick filter cards
   ============================================================ */
.quick-filter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.qf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 14px 6px 12px;
    border-radius: 16px;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease;
}
.qf-card:active { transform: scale(0.95); }
.qf-card.is-red   { background: #FFF1EE; }
.qf-card.is-green { background: #EDFBF0; }
.qf-card.is-pink  { background: #FFF0F3; }
.qf-card.is-blue  { background: #EEF4FF; }
.qf-icon {
    font-size: 1.75rem;
    margin-bottom: 8px;
    line-height: 1;
}
.qf-card.is-red   .qf-icon { color: #E53E3E; }
.qf-card.is-green .qf-icon { color: var(--brand-600); }
.qf-card.is-pink  .qf-icon { color: #E5326E; }
.qf-card.is-blue  .qf-icon { color: #1A5099; }
.qf-label {
    font-size: 0.6875rem;
    line-height: 1.2;
    color: var(--ink-muted);
    font-weight: 500;
}
.qf-label-bold {
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.qf-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #E5326E;
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1.3;
}

/* ============================================================
   DETAIL WARUNG — extra: action row, slider dots, flash sale
   ============================================================ */
.detail-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* dots indicator di bawah info card */
.dots-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 4px 0;
}
.dots-indicator span {
    width: 6px; height: 6px;
    border-radius: var(--radius-pill);
    background: var(--surface-line);
    transition: width 0.2s ease, background 0.2s ease;
}
.dots-indicator span.active {
    background: var(--brand-600);
    width: 18px;
}

/* Flash sale card di atas menu list */
.flash-sale-section {
    margin: 16px 16px 8px 16px;
}
.flash-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.flash-title {
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--ink);
}
.flash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.flash-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--surface-line);
    text-decoration: none;
    color: var(--ink);
}
.flash-img {
    width: 100%;
    height: 80px;
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.flash-img .placeholder { font-size: 1.5rem; color: var(--ink-faint); }
.flash-img img { width: 100%; height: 100%; object-fit: cover; }
.flash-meta {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.flash-name {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.flash-desc {
    font-size: 0.75rem;
    color: var(--ink-muted);
    line-height: 1.3;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.flash-rating {
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink-muted);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}
.flash-rating ion-icon { color: var(--accent-amber); font-size: 0.6875rem; }
.flash-price-old {
    font-size: 0.75rem;
    color: var(--ink-faint);
    text-decoration: line-through;
}
.flash-price {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--ink);
}

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton-detail {
    transition: opacity 0.3s ease;
}
@keyframes skPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
.sk-pulse { animation: skPulse 1.4s ease-in-out infinite; }
.sk-line  { background: var(--surface-line); border-radius: 6px; }
.sk-w25   { width: 25%; }
.sk-w30   { width: 30%; }
.sk-w35   { width: 35%; }
.sk-w40   { width: 40%; }
.sk-w45   { width: 45%; }
.sk-w50   { width: 50%; }
.sk-w60   { width: 60%; }
.sk-w70   { width: 70%; }
.sk-h10   { height: 10px; }
.sk-h12   { height: 12px; }
.sk-h14   { height: 14px; }
.sk-mt6   { margin-top: 6px; }
.sk-mt10  { margin-top: 10px; }
.sk-mt12  { margin-top: 12px; }
.sk-hero {
    width: 100%;
    height: 200px;
    background: var(--surface-muted);
}
.sk-info-card {
    padding: 16px;
}
.sk-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.sk-tab {
    height: 38px;
    background: var(--surface-muted);
    border-radius: 10px;
}
.sk-meta {
    display: flex;
    justify-content: space-between;
}
.sk-voucher-row {
    display: flex;
    gap: 10px;
    padding: 0 16px;
}
.sk-voucher {
    flex-shrink: 0;
    width: 260px;
    height: 52px;
    background: var(--surface-muted);
    border-radius: 10px;
}
.sk-section {
    padding: 16px;
}
.sk-flash-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sk-flash {
    height: 160px;
    background: var(--surface-muted);
    border-radius: 10px;
}
.sk-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface-line);
}
.sk-menu-info {
    flex: 1;
}
.sk-menu-thumb {
    width: 100px;
    height: 80px;
    border-radius: 12px;
    background: var(--surface-muted);
    flex-shrink: 0;
}

/* ============================================================
   AUTH (login + verify OTP)
   form components yang dipakai di views yang extends Layout/app
   ============================================================ */
.auth-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    display: block;
}

.wa-input-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--surface-line);
    border-radius: 12px;
    background: var(--surface-soft);
    overflow: hidden;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.wa-input-group:focus-within {
    border-color: var(--brand-600);
    background: #fff;
}
.wa-input-group .prefix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-right: 1px solid var(--surface-line);
    font-weight: 800;
    color: var(--ink);
    font-size: 0.9375rem;
}
.wa-input-group .prefix ion-icon { color: var(--brand-600); font-size: 1rem; }
.wa-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 14px;
    font-size: 1rem;
    color: var(--ink);
    font-family: inherit;
    letter-spacing: 0.02em;
    min-width: 0;
}
.wa-input-group input::placeholder { color: var(--ink-faint); }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--ink-faint);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--surface-line);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9375rem;
    border: 1.5px solid var(--surface-line);
    border-radius: var(--radius-pill);
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-google:hover  { background: var(--surface-soft); }
.btn-google:active { transform: scale(0.98); }
.btn-google img,
.btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }

/* OTP boxes */
.otp-boxes {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 12px 0 16px 0;
}
.otp-boxes input {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    text-align: center;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--ink);
    border: 1.5px solid var(--surface-line);
    border-radius: 12px;
    background: var(--surface-soft);
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.otp-boxes input:focus {
    border-color: var(--brand-600);
    background: #fff;
    transform: scale(1.02);
}
.otp-boxes input.filled {
    border-color: var(--brand-600);
    color: var(--brand-700);
    background: #fff;
}

.resend-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--ink-muted);
    margin-top: 14px;
}
.resend-row button,
.resend-row form button {
    color: var(--brand-600);
    font-weight: 800;
    padding: 4px 6px;
    background: transparent;
}
.resend-row button[disabled] {
    color: var(--ink-faint);
    pointer-events: none;
}

/* Spinner utility (dipakai di tombol verifikasi OTP) */
.spin-anim { animation: spin360 0.9s linear infinite; display: inline-block; }
@keyframes spin360 { to { transform: rotate(360deg); } }

/* ============================================================
   Toastr soft
   ============================================================ */
.toast-soft {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid var(--surface-line);
}

/* ============================================================
   Modal bottom-sheet (pilih desa)
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: background 0.25s ease;
}
.modal-overlay.is-open {
    background: rgba(0,0,0,0.45);
}
.modal-sheet {
    width: 100%;
    max-width: var(--frame-w);
    max-height: 70vh;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 12px 16px 24px;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
.modal-overlay.is-open .modal-sheet {
    transform: translateY(0);
}
.modal-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--surface-line);
    margin: 0 auto 12px;
}
.modal-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
}
.modal-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-muted);
    border-radius: var(--radius-pill);
    padding: 10px 14px;
    margin-bottom: 12px;
}
.modal-search ion-icon {
    color: var(--ink-muted);
    font-size: 1.125rem;
    flex-shrink: 0;
}
.modal-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 0.875rem;
    color: var(--ink);
}
.modal-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    border: none;
    background: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    border-radius: 10px;
    transition: background 0.12s ease;
    cursor: pointer;
}
.modal-item:active {
    background: var(--brand-50);
}
.modal-item ion-icon {
    color: var(--brand-600);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* ============================================================
   Konfirmasi pesanan (GoFood-style checkout)
   ============================================================ */
.konfirmasi-page {
    padding: 16px;
}
.konfirmasi-section {
    margin-bottom: 20px;
}
.konfirmasi-label {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}
.konfirmasi-card {
    background: #fff;
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-floating);
}
.delivery-row,
.alamat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}
.patokan-field {
    padding: 0 14px 14px;
}
.paket-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    cursor: pointer;
    transition: background 0.12s ease;
    border-bottom: 1px solid var(--surface-line);
}
.paket-option:last-child { border-bottom: none; }
.paket-option input[type="radio"] { display: none; }
.paket-option::before {
    content: '';
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--surface-line);
    flex-shrink: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.paket-option.active::before {
    border-color: var(--brand-600);
    box-shadow: inset 0 0 0 4px var(--brand-600);
}
.paket-option.active {
    background: var(--brand-50);
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    cursor: pointer;
    transition: background 0.12s ease;
    border-bottom: 1px solid var(--surface-line);
}
.payment-option:last-child { border-bottom: none; }
.payment-option input[type="radio"] { display: none; }
.payment-option::before {
    content: '';
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--surface-line);
    flex-shrink: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.payment-option.active::before {
    border-color: var(--brand-600);
    box-shadow: inset 0 0 0 4px var(--brand-600);
}
.payment-option.active {
    background: var(--brand-50);
}
.payment-option.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.conf-menu-item {
    display: flex;
    gap: 12px;
    padding: 14px;
}
.conf-menu-item.border-top {
    border-top: 1px solid var(--surface-line);
}
.conf-menu-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.conf-menu-name {
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--ink);
    line-height: 1.25;
}
.conf-menu-price {
    font-weight: 800;
    font-size: 0.8125rem;
    color: var(--ink);
    margin-top: 4px;
}
.conf-menu-side {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}
.conf-menu-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-muted);
}
.conf-menu-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.conf-menu-thumb .placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-faint); font-size: 1.5rem;
}
.conf-qty-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--brand-600);
    border-radius: var(--radius-pill);
    padding: 2px;
}
.conf-qty-wrap button {
    width: 30px; height: 30px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-600);
    font-weight: 800;
    font-size: 1.125rem;
    transition: background 0.15s ease, transform 0.15s ease;
    background: none;
    border: none;
    cursor: pointer;
}
.conf-qty-wrap button.plus { background: var(--brand-600); color: #fff; }
.conf-qty-wrap button:active { transform: scale(0.92); }
.conf-qty-wrap button ion-icon { font-size: 1.125rem; line-height: 1; display: block; }
.conf-qty-wrap .conf-qty-num {
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--ink);
}
.order-note {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 0.8125rem;
    color: var(--ink-muted);
}
.summary-row + .summary-row {
    border-top: 1px solid var(--surface-line);
}
.summary-row.is-total {
    font-weight: 800;
    color: var(--ink);
    font-size: 0.9375rem;
    background: var(--surface-soft);
}

/* ============================================================
   Tracking / Detail Pesanan
   ============================================================ */
.trk-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--surface-line);
    position: sticky;
    top: 0;
    z-index: 20;
}
.trk-topbar-back {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--ink);
}
.trk-topbar-title {
    flex: 1;
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--ink);
}
.trk-topbar-help {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-600);
}
.trk-status-bar {
    padding: 16px 16px 12px;
    background: #fff;
    border-bottom: 1px solid var(--surface-line);
}
.trk-status-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--ink);
}
.trk-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.trk-status-dot.is-red { background: var(--accent-red); }

.trk-stepper {
    display: flex;
    align-items: flex-start;
}
.trk-sdot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    width: 56px;
}
.trk-sdot-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--surface-muted);
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.trk-sdot.done .trk-sdot-circle {
    background: var(--brand-100);
    color: var(--brand-700);
}
.trk-sdot.current .trk-sdot-circle {
    background: var(--brand-600);
    color: #fff;
    box-shadow: 0 0 0 4px var(--brand-100);
}
.trk-sdot span {
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.trk-sdot.done span { color: var(--brand-700); }
.trk-sdot.current span { color: var(--brand-700); font-weight: 800; }
.trk-sline {
    flex: 1;
    height: 2px;
    background: var(--surface-line);
    margin-top: 17px;
}
.trk-sline.done {
    background: var(--brand-600);
}
.trk-content {
    padding: 12px 16px;
}
.trk-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: 12px;
    overflow: hidden;
}
.trk-card-title {
    padding: 12px 14px 0;
    font-weight: 800;
    font-size: 0.8125rem;
    color: var(--ink);
}
.trk-qris {
    padding: 16px 14px 18px;
    text-align: center;
}
.trk-qris img {
    width: 180px; height: 180px;
    border-radius: 12px;
    border: 1px solid var(--surface-line);
    display: block;
    margin: 0 auto;
}
.trk-qris p {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin: 10px 0 14px;
}
.trk-qris button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 18px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: var(--radius-pill);
    border: none;
}
.trk-qris button:active { opacity: 0.8; }
.trk-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}
.trk-person-ava {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface-muted);
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.trk-person-info { flex: 1; min-width: 0; }
.trk-person-name { font-weight: 800; font-size: 0.875rem; color: var(--ink); }
.trk-person-sub { font-size: 0.6875rem; color: var(--ink-muted); }
.trk-wa-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.trk-wa-btn:active { opacity: 0.8; }
.trk-links {
    padding: 6px 14px 14px;
    display: flex;
    flex-direction: column;
}
.trk-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-600);
    border-top: 1px solid var(--surface-line);
}
.trk-links a:first-child { border-top: none; }
.trk-route {
    padding: 12px 14px 14px;
}
.trk-stop {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.trk-stop-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2px;
}
.trk-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.trk-dot.is-green  { background: var(--brand-600); }
.trk-dot.is-orange { background: var(--accent-orange); }
.trk-vline {
    width: 2px;
    height: 24px;
    background: var(--surface-line);
    margin: 4px 0;
}
.trk-stop-body { flex: 1; min-width: 0; padding-bottom: 10px; }
.trk-stop-name { font-weight: 700; font-size: 0.8125rem; color: var(--ink); }
.trk-stop-addr { font-size: 0.75rem; color: var(--ink-muted); margin-top: 1px; }
.trk-stop-thumb {
    width: 40px; height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.trk-list {
    padding: 6px 14px 12px 32px;
    margin: 0;
}
.trk-list li {
    font-size: 0.8125rem;
    color: var(--ink);
    padding: 4px 0;
}
.trk-note {
    padding: 0 14px 12px;
    font-size: 0.75rem;
    color: var(--ink-muted);
}
.trk-summary > div {
    display: flex;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 0.8125rem;
    color: var(--ink-muted);
}
.trk-summary > div + div { border-top: 1px solid var(--surface-line); }
.trk-summary > div.is-total {
    font-weight: 800;
    color: var(--ink);
    background: var(--surface-soft);
}
.trk-meta { padding: 2px 0; }
.trk-meta > div {
    display: flex;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 0.8125rem;
    color: var(--ink-muted);
}
.trk-meta > div + div { border-top: 1px solid var(--surface-line); }
.trk-meta > div span:last-child { font-weight: 700; color: var(--ink); }
.trk-upload {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.trk-bukti { padding: 12px 14px 14px; }
.trk-bukti img { width: 100%; border-radius: 10px; }
.trk-action-btn {
    width: 100%;
    padding: 10px;
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--surface-line);
    background: #fff;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}
.trk-action-btn.is-primary {
    background: var(--brand-600);
    color: #fff;
    border-color: var(--brand-600);
}
.trk-action-btn:active { opacity: 0.8; }
.trk-home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-top: 4px;
}

/* ============================================================
   Riwayat Pesanan
   ============================================================ */
.ord-page {
    padding: 0 16px 24px;
}
.ord-empty {
    text-align: center;
    padding: 60px 20px;
}
.ord-empty ion-icon {
    font-size: 3rem;
    color: var(--surface-line);
    margin-bottom: 12px;
}
.ord-empty-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--ink);
}
.ord-empty-sub {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    margin-top: 4px;
}
.ord-date-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-muted);
    padding: 16px 0 8px;
}
.ord-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: 8px;
    transition: transform 0.12s ease;
}
.ord-card:active { transform: scale(0.98); }
.ord-card-img {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--surface-muted);
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    overflow: hidden;
}
.ord-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.ord-card-body {
    flex: 1;
    min-width: 0;
}
.ord-card-title {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ord-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.ord-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}
.ord-badge.is-amber { background: #FFF8E1; color: #B17B00; }
.ord-badge.is-blue  { background: #E8F1FD; color: #1A5099; }
.ord-badge.is-green { background: #E6F7EA; color: var(--brand-700); }
.ord-badge.is-red   { background: #FFEDEA; color: var(--accent-red); }
.ord-card-time {
    font-size: 0.6875rem;
    color: var(--ink-faint);
}
.ord-card-amount {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--ink);
    flex-shrink: 0;
    text-align: right;
}
.ord-card-amount.is-green {
    color: var(--brand-600);
}

/* ============================================================
   Profil
   ============================================================ */
.prof-banner {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.prof-banner-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    position: relative;
    z-index: 2;
}
.prof-banner-back {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--ink);
}
.prof-banner-title {
    flex: 1;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
}

.prof-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -32px 16px 0;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-floating);
    position: relative;
    z-index: 3;
}
.prof-card-ava {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.prof-card-ava img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.prof-card-initials {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.prof-card-info { flex: 1; min-width: 0; }
.prof-card-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
}
.prof-card-detail {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prof-card-edit {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--ink-muted);
    flex-shrink: 0;
}

.prof-body {
    padding: 0 16px;
    margin-top: 16px;
}
.prof-group-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink-muted);
    padding: 16px 0 8px;
}
.prof-menu-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.prof-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    border-top: 1px solid var(--surface-line);
    cursor: pointer;
}
.prof-menu-item:first-child { border-top: none; }
.prof-menu-item:active { background: var(--surface-soft); }
.prof-menu-item ion-icon:first-child {
    font-size: 1.25rem;
    color: var(--ink-muted);
}
.prof-menu-item span { flex: 1; }
.prof-chevron {
    font-size: 1rem;
    color: var(--ink-faint);
}
.prof-menu-item.is-danger {
    color: var(--accent-red);
}
.prof-menu-item.is-danger ion-icon { color: var(--accent-red); }

.prof-saldo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}
.prof-saldo-amount {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--ink);
}
.prof-saldo-sub {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin-top: 2px;
}
.prof-topup-btn {
    padding: 8px 18px;
    background: var(--brand-600);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: var(--radius-pill);
}
.prof-topup-btn:active { opacity: 0.8; }

.prof-earn-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--ink-muted);
    border-top: 1px solid var(--surface-line);
}
.prof-earn-row:first-child { border-top: none; }
.prof-earn-val {
    font-weight: 700;
    color: var(--ink);
}

/* ============================================================
   Settings / Ubah Profil
   ============================================================ */
.prof-save-btn {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-600);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}
.prof-save-btn:active { opacity: 0.7; }

.set-page {
    padding: 0 16px;
}
.set-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin: 12px 0;
}
.set-status-label {
    font-size: 0.8125rem;
    color: var(--ink-muted);
}
.set-status-val {
    font-weight: 700;
    font-size: 0.9375rem;
}
.set-status-val.is-on { color: var(--brand-600); }
.set-status-val.is-off { color: var(--ink-muted); }
.set-toggle {
    width: 48px; height: 28px;
    border-radius: 14px;
    background: var(--surface-line);
    border: none;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}
.set-toggle.is-on { background: var(--brand-600); }
.set-toggle-knob {
    position: absolute;
    top: 3px; left: 3px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: left 0.2s ease;
}
.set-toggle.is-on .set-toggle-knob { left: 23px; }

.set-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-muted);
    padding: 20px 0 6px;
}
.set-required { color: var(--accent-red); }
.set-photo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0 4px;
}
.set-photo-ava {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--brand-600);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.set-photo-ava img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.set-photo-text {
    font-size: 0.8125rem;
    color: var(--ink);
    line-height: 1.4;
}
.set-field {
    border-bottom: 1px solid var(--surface-line);
    padding: 4px 0 10px;
}
.set-field input,
.set-field select {
    width: 100%;
    border: none;
    outline: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    font-family: inherit;
    padding: 6px 0;
}
.set-field input[readonly] { color: var(--ink-muted); }
.set-field input::placeholder { color: var(--ink-faint); }
.set-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236B7280' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 16px;
    padding-right: 20px;
}
.set-field-wa {
    display: flex;
    align-items: center;
    gap: 8px;
}
.set-wa-prefix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    padding: 6px 8px 6px 0;
    border-right: 1px solid var(--surface-line);
}
.set-field-hint {
    font-size: 0.75rem;
    margin-top: 4px;
}
.set-field-hint.is-error { color: var(--accent-red); }
.set-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-600);
    cursor: pointer;
    margin-left: auto;
}
.set-photo-btn:active { opacity: 0.7; }
