/* =========================================================
   Filo Makan — gaya depan v1.1
   Fon: Montserrat · Ikon: Bootstrap Icons
   ========================================================= */
.fm-app {
	--fm-primary: var(--fm-brand, #E8692F);
	--fm-primary-dark: color-mix(in srgb, var(--fm-primary) 82%, #000);
	--fm-primary-soft: color-mix(in srgb, var(--fm-primary) 10%, #fff);
	--fm-primary-soft2: color-mix(in srgb, var(--fm-primary) 18%, #fff);
	--fm-ink: #1a1d29;
	--fm-ink-2: #3d4152;
	--fm-muted: #7a7f8f;
	--fm-line: #ebecef;
	--fm-bg: #f7f7f9;
	--fm-ok: #12a150;
	--fm-ok-soft: #e7f7ee;
	--fm-bad: #d9480f;
	--fm-star: #f5a623;
	--fm-radius: 18px;
	--fm-radius-sm: 12px;
	--fm-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
	--fm-shadow: 0 6px 24px rgba(16, 24, 40, .07);
	--fm-shadow-lg: 0 18px 48px rgba(16, 24, 40, .14);
	--fm-gutter: clamp(16px, 3vw, 40px);
	font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--fm-ink);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.fm-app *, .fm-app *::before, .fm-app *::after { box-sizing: border-box; }

/* ---------- Penuh lebar skrin ---------- */
html, body { overflow-x: clip; }
.fm-app.fm-bleed {
	display: block; position: relative;
	width: 100vw !important; max-width: 100vw !important;
	margin: 0 calc(50% - 50vw) !important;
	padding-left: 0 !important; padding-right: 0 !important;
}
.fm-app.fm-main { background: var(--fm-bg); padding-bottom: 56px; min-height: 50vh; }
.fm-app.fm-bleed + br, .fm-app.fm-bleed + p:empty, p:empty:has(+ .fm-app.fm-bleed) { display: none; }
body.fm-page .entry-header, body.fm-page .page-header, body.fm-page h1.entry-title,
body.fm-page .entry-footer, body.fm-page #comments, body.fm-page .comments-area { display: none !important; }
body.fm-page .site-content, body.fm-page .site-main, body.fm-page #primary, body.fm-page #content,
body.fm-page article.page, body.fm-page .entry-content, body.fm-page .post-content,
body.fm-page .ct-inner-content, body.fm-page .ct-section-inner-wrap, body.fm-page .oxy-inner-content {
	margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
}
body.fm-page .entry-content > :last-child, body.fm-page .ct-inner-content > :last-child { margin-bottom: 0 !important; }

/* ---------- Asas ---------- */
.fm-app h1, .fm-app h2, .fm-app h3, .fm-app h4 { font-family: inherit; color: var(--fm-ink); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
.fm-app h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
.fm-app h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
.fm-app h3 { font-size: 1.05rem; font-weight: 700; }
.fm-app h4 { font-size: .95rem; font-weight: 600; }
.fm-app p { margin: 0 0 .75em; }
.fm-app a { color: var(--fm-primary); text-decoration: none; }
.fm-app img { max-width: 100%; display: block; }
.fm-app .bi { line-height: 1; vertical-align: -.125em; }
.fm-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--fm-gutter); }
.fm-narrow { max-width: 500px; padding-top: 40px; padding-bottom: 20px; }
.fm-muted { color: var(--fm-muted); }
.fm-ok { color: var(--fm-ok); font-weight: 600; }
.fm-bad { color: var(--fm-bad); font-weight: 600; }
.fm-right { text-align: right; }
.fm-center { text-align: center; }
.fm-grow { flex: 1; min-width: 0; }

/* ---------- Butang ---------- */
.fm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--fm-primary); color: #fff !important; border: 0; border-radius: 999px;
	padding: 11px 22px; font: 600 14px/1.2 'Montserrat', sans-serif; cursor: pointer; white-space: nowrap;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--fm-primary) 30%, transparent);
	transition: transform .12s, background .15s, box-shadow .15s;
}
.fm-btn:hover { background: var(--fm-primary-dark); box-shadow: 0 6px 18px color-mix(in srgb, var(--fm-primary) 38%, transparent); }
.fm-btn:active { transform: scale(.97); }
.fm-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.fm-btn-sm { padding: 8px 15px; font-size: 13px; }
.fm-btn-lg { padding: 14px 28px; font-size: 15px; }
.fm-btn-block { width: 100%; margin: 12px 0 6px; padding: 14px; font-size: 15px; }
.fm-btn-ghost { background: #fff; color: var(--fm-ink) !important; border: 1px solid var(--fm-line); box-shadow: var(--fm-shadow-sm); }
.fm-btn-ghost:hover { background: #fafafa; box-shadow: var(--fm-shadow-sm); border-color: #d9dbe1; }
.fm-btn-light { background: #fff; color: var(--fm-ink) !important; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.fm-btn-light:hover { background: #fff7f2; }
.fm-btn-danger { background: #fff; color: var(--fm-bad) !important; border: 1px solid #f3c7b5; box-shadow: none; }
.fm-btn-danger:hover { background: #fff4ef; box-shadow: none; }
.fm-link { background: none; border: 0; color: var(--fm-primary); cursor: pointer; padding: 6px 0; font: 600 14px 'Montserrat', sans-serif; display: inline-flex; align-items: center; gap: 6px; }
.fm-x { background: #f2f3f5; border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; line-height: 1; color: var(--fm-ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fm-x:hover { background: #e7e8ec; }

/* ---------- Borang ---------- */
.fm-app label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 14px; color: var(--fm-ink-2); }
.fm-app input[type=text], .fm-app input:not([type]), .fm-app input[type=email], .fm-app input[type=tel], .fm-app input[type=password],
.fm-app input[type=number], .fm-app input[type=time], .fm-app input[type=search], .fm-app select, .fm-app textarea {
	display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid #e2e4e9; border-radius: var(--fm-radius-sm);
	font: 500 14px 'Montserrat', sans-serif; background: #fff; color: var(--fm-ink); transition: border-color .15s, box-shadow .15s;
}
.fm-app input[type=file] { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 1.5px dashed #d6d9e0; border-radius: var(--fm-radius-sm); background: #fafbfc; font: 500 13px 'Montserrat', sans-serif; }
.fm-app input:focus, .fm-app select:focus, .fm-app textarea:focus { outline: 0; border-color: var(--fm-primary); box-shadow: 0 0 0 4px var(--fm-primary-soft2); }
.fm-app .fm-check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.fm-app .fm-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--fm-primary); flex-shrink: 0; }
.fm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fm-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.fm-inline { display: flex; gap: 8px; margin-top: 10px; }
.fm-inline input { margin: 0 !important; }

/* ---------- Kad, amaran, lencana ---------- */
.fm-card { background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--fm-shadow-sm); }
.fm-card > h3:first-child, .fm-card > h2:first-child { display: flex; align-items: center; gap: 10px; }
.fm-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.fm-card-head h3 { margin: 0; }
.fm-step-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--fm-primary-soft); color: var(--fm-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.fm-alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: var(--fm-radius-sm); margin: 0 0 16px; font-size: 14px; font-weight: 500; }
.fm-alert-success { background: var(--fm-ok-soft); color: #0b6b36; }
.fm-alert-error { background: #fff0ed; color: #b42318; }
.fm-alert-warn { background: #fff7e8; color: #9a5b00; }
.fm-app > .fm-alert { max-width: 1440px; margin: 16px auto; width: calc(100% - 2 * var(--fm-gutter)); }
.fm-empty { padding: 48px 20px; text-align: center; color: var(--fm-muted); background: #fff; border: 1.5px dashed #e3e5ea; border-radius: var(--fm-radius); }
.fm-empty h3 { margin-top: 6px; }
.fm-empty-ico { font-size: 44px; margin-bottom: 8px; }
.fm-badge { display: inline-flex; align-items: center; gap: 5px; background: #f2f3f5; color: var(--fm-ink-2); font-size: 11.5px; font-weight: 600; font-style: normal; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.fm-badge .bi-circle-fill { font-size: 7px; }
.fm-badge-open { background: var(--fm-ok-soft); color: #0b7a3e; }
.fm-badge-closed { background: #1f2230; color: #fff; }
.fm-badge-deliver { background: #fff; color: var(--fm-ink); }
.fm-badge-soldout { background: #1f2230; color: #fff; }
.fm-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.fm-pill small { font-weight: 500; color: var(--fm-muted); }
.fm-pill-rating .bi { color: var(--fm-star); }
.fm-pill-new { color: var(--fm-primary); }

/* ---------- Header ---------- */
.fm-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--fm-line); position: sticky; top: 0; z-index: 60; }
.admin-bar .fm-header { top: 32px; }
.fm-header-in { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.fm-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--fm-ink) !important; letter-spacing: -.02em; }
.fm-brand img { max-height: 42px; width: auto; }
.fm-brand-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--fm-primary), color-mix(in srgb, var(--fm-primary) 70%, #ffb000)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: 0 4px 12px color-mix(in srgb, var(--fm-primary) 35%, transparent); }
.fm-nav { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.fm-nav > a:not(.fm-btn) { color: var(--fm-ink-2); padding: 9px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; transition: background .15s, color .15s; }
.fm-nav > a:not(.fm-btn):hover { background: #f4f5f7; color: var(--fm-ink); }
.fm-nav > a .bi { font-size: 16px; color: var(--fm-muted); }
.fm-nav .fm-nav-muted { color: var(--fm-muted) !important; }
.fm-nav .fm-btn { margin-left: 6px; }
.fm-cart-link { position: relative; width: 44px; height: 44px; justify-content: center; padding: 0 !important; border-radius: 50% !important; background: var(--fm-primary-soft) !important; color: var(--fm-primary) !important; font-size: 19px; margin-left: 6px; display: inline-flex; align-items: center; }
.fm-cart-link .bi { color: var(--fm-primary) !important; font-size: 19px !important; }
.fm-cart-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--fm-primary); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.fm-cart-count:empty, .fm-cart-count[data-n="0"] { display: none; }
.fm-lang { display: inline-flex; background: #f2f3f5; border-radius: 999px; padding: 3px; margin-left: 8px; }
.fm-lang a { padding: 4px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; color: var(--fm-muted) !important; }
.fm-lang a.is-active { background: #fff; color: var(--fm-ink) !important; box-shadow: var(--fm-shadow-sm); }
.fm-header-actions { display: none; align-items: center; gap: 8px; }
.fm-burger { background: #f2f3f5; border: 0; width: 44px; height: 44px; border-radius: 12px; font-size: 22px; cursor: pointer; color: var(--fm-ink); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Footer ---------- */
.fm-footer { background: #15171f; color: #a9adbb; margin: 0; padding: 56px 0 24px; font-size: 14px; }
.fm-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.fm-footer ul { list-style: none; margin: 0; padding: 0; }
.fm-footer li { margin-bottom: 9px; }
.fm-footer a { color: #d5d8e1 !important; }
.fm-footer a:hover { color: #fff !important; }
.fm-footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.fm-brand-light { color: #fff !important; margin-bottom: 12px; }
.fm-footer-brand p { max-width: 360px; }
.fm-pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fm-pay-logos span { background: #232634; color: #d5d8e1; font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 8px; letter-spacing: .02em; }
.fm-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #262a37; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #7d8292; }

/* ---------- Hero ---------- */
.fm-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); text-align: center;
	background: radial-gradient(1200px 400px at 50% -10%, var(--fm-primary-soft2), transparent 70%), linear-gradient(180deg, #fff 0%, var(--fm-bg) 100%); }
.fm-hero-in { position: relative; z-index: 1; }
.fm-hero-deco span { position: absolute; font-size: clamp(30px, 4vw, 54px); opacity: .9; filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); animation: fmFloat 6s ease-in-out infinite; }
.fm-hero-deco span:nth-child(1) { top: 16%; left: 7%; }
.fm-hero-deco span:nth-child(2) { top: 62%; left: 4%; animation-delay: -2s; }
.fm-hero-deco span:nth-child(3) { top: 12%; right: 8%; animation-delay: -1s; }
.fm-hero-deco span:nth-child(4) { top: 60%; right: 5%; animation-delay: -3s; }
.fm-hero-deco span:nth-child(5) { top: 82%; left: 18%; font-size: 30px; animation-delay: -4s; }
.fm-hero-deco span:nth-child(6) { top: 84%; right: 18%; font-size: 30px; animation-delay: -5s; }
@keyframes fmFloat { 50% { transform: translateY(-12px) rotate(4deg); } }
.fm-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--fm-line); color: var(--fm-primary); font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; box-shadow: var(--fm-shadow-sm); margin-bottom: 18px; }
.fm-eyebrow-light { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); color: #fff; box-shadow: none; }
.fm-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; max-width: 820px; margin: 0 auto 16px; }
.fm-hero h1 span { color: var(--fm-primary); }
.fm-hero-sub { font-size: clamp(15px, 1.5vw, 17px); color: var(--fm-ink-2); max-width: 600px; margin: 0 auto; }
.fm-search { display: flex; align-items: center; gap: 6px; max-width: 820px; margin: 28px auto 14px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--fm-shadow-lg); border: 1px solid var(--fm-line); }
.fm-search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; position: relative; }
.fm-search-field .bi { color: var(--fm-muted); font-size: 17px; }
.fm-search-q { flex: 2; }
.fm-search-state { flex: 1; border-left: 1px solid var(--fm-line); }
.fm-search input, .fm-search select { margin: 0 !important; border: 0 !important; box-shadow: none !important; padding: 12px 0 !important; background: transparent !important; font-size: 15px !important; }
.fm-locate { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--fm-line); color: var(--fm-ink-2); font: 600 13.5px 'Montserrat', sans-serif; cursor: pointer; padding: 9px 16px; border-radius: 999px; box-shadow: var(--fm-shadow-sm); }
.fm-locate .bi { color: var(--fm-primary); }
.fm-locate.is-set { border-color: var(--fm-primary-soft2); background: var(--fm-primary-soft); }
.fm-hero-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 13.5px; font-weight: 600; color: var(--fm-ink-2); }
.fm-hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.fm-hero-trust .bi { color: var(--fm-primary); }

/* ---------- Seksyen laman utama ---------- */
.fm-section { padding-top: 36px; }
.fm-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.fm-section-head h2 { margin: 0; }
.fm-section-head p { margin: 4px 0 0; font-size: 14px; }
.fm-center-head { justify-content: center; text-align: center; }
.fm-cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fm-cats::-webkit-scrollbar { display: none; }
.fm-cat { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 6px; border-radius: var(--fm-radius); background: #fff; border: 1.5px solid transparent; box-shadow: var(--fm-shadow-sm); color: var(--fm-ink) !important; text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s; }
.fm-cat:hover { transform: translateY(-3px); box-shadow: var(--fm-shadow); }
.fm-cat.is-active { border-color: var(--fm-primary); }
.fm-cat-ico { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.fm-cat-label { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.fm-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 18px; scrollbar-width: none; }
.fm-chips::-webkit-scrollbar { display: none; }
.fm-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 1px solid var(--fm-line); padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fm-ink-2) !important; background: #fff; transition: all .15s; }
.fm-chip:hover { border-color: #d3d6dd; }
.fm-chip.is-active { background: var(--fm-ink); color: #fff !important; border-color: var(--fm-ink); }

/* ---------- Kad kedai ---------- */
.fm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.fm-mcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--fm-radius); overflow: hidden; border: 1px solid var(--fm-line); color: var(--fm-ink) !important; box-shadow: var(--fm-shadow-sm); transition: box-shadow .2s, transform .2s; }
.fm-mcard:hover { box-shadow: var(--fm-shadow-lg); transform: translateY(-4px); }
.fm-mcard-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--fm-primary-soft2), #fff3e0) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.fm-mcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.25)); }
.fm-mcard-ph { font-size: 52px; }
.fm-mcard.is-closed .fm-mcard-img { filter: grayscale(.85) brightness(.95); }
.fm-mcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.fm-mcard-badges .fm-badge { box-shadow: var(--fm-shadow-sm); }
.fm-mcard-logo { position: absolute; left: 14px; bottom: -22px; width: 52px; height: 52px; border-radius: 14px; object-fit: cover; border: 3px solid #fff; background: #fff; box-shadow: var(--fm-shadow); z-index: 1; }
.fm-mcard-body { padding: 16px 16px 18px; }
.fm-mcard-logo + * { margin-top: 0; }
.fm-mcard-img:has(.fm-mcard-logo) + .fm-mcard-body { padding-top: 28px; }
.fm-mcard-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.fm-mcard-title h3 { margin: 0 0 3px; font-size: 1rem; }
.fm-mcard-sub { margin: 0 0 12px !important; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-mcard-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.fm-mcard-meta span { display: inline-flex; align-items: center; gap: 5px; background: var(--fm-bg); padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--fm-ink-2); }
.fm-mcard-meta .bi { color: var(--fm-primary); }
.fm-pager { display: flex; gap: 6px; justify-content: center; margin: 32px 0 0; flex-wrap: wrap; }
.fm-pager a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--fm-line); background: #fff; color: var(--fm-ink) !important; font-weight: 600; }
.fm-pager a.is-active { background: var(--fm-primary); color: #fff !important; border-color: var(--fm-primary); }

/* ---------- Cara berfungsi & CTA ---------- */
.fm-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fm-how-step { position: relative; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); padding: 26px 22px; box-shadow: var(--fm-shadow-sm); }
.fm-how-num { position: absolute; top: 18px; right: 20px; font-size: 40px; font-weight: 800; color: #f1f2f4; line-height: 1; }
.fm-how-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--fm-primary-soft); color: var(--fm-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.fm-how-step p { color: var(--fm-muted); font-size: 14px; margin: 0; }
.fm-cta { position: relative; overflow: hidden; margin-top: 44px; border-radius: 28px; padding: clamp(28px, 4vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 24px;
	background: linear-gradient(120deg, var(--fm-primary) 0%, color-mix(in srgb, var(--fm-primary) 70%, #ff3d6e) 100%); color: #fff; box-shadow: var(--fm-shadow-lg); }
.fm-cta::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.08); right: -80px; top: -140px; }
.fm-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.fm-cta p { color: rgba(255,255,255,.9); max-width: 560px; margin-bottom: 22px; }
.fm-cta-text { position: relative; z-index: 1; }
.fm-cta-art { position: relative; z-index: 1; font-size: clamp(70px, 10vw, 130px); filter: drop-shadow(0 12px 20px rgba(0,0,0,.2)); }

/* ---------- Halaman kedai ---------- */
.fm-shop-cover { position: relative; height: clamp(170px, 26vw, 300px); background: linear-gradient(135deg, var(--fm-primary-soft2), #ffe9d6) center/cover no-repeat; }
.fm-shop-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); }
.fm-shop-cover-deco { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(40px, 6vw, 70px); letter-spacing: 18px; opacity: .55; }
.fm-shop-card { position: relative; z-index: 2; display: flex; gap: 22px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 24px; margin: -70px 0 22px; box-shadow: var(--fm-shadow-lg); border: 1px solid var(--fm-line); }
.fm-shop-logo { width: 104px; height: 104px; border-radius: 22px; object-fit: cover; border: 4px solid #fff; background: #fff; box-shadow: var(--fm-shadow); flex-shrink: 0; margin-top: -48px; }
.fm-shop-logo-ph { display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--fm-primary); background: var(--fm-primary-soft); }
.fm-shop-info { flex: 1; min-width: 0; }
.fm-shop-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fm-shop-title h1 { margin: 0; }
.fm-shop-info > .fm-muted { margin: 6px 0 10px; font-size: 14px; }
.fm-shop-desc { color: var(--fm-ink-2); font-size: 14px; max-width: 760px; }
.fm-shop-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fm-shop-facts > div { display: flex; flex-direction: column; gap: 3px; background: var(--fm-bg); border-radius: var(--fm-radius-sm); padding: 10px 14px; min-width: 120px; }
.fm-shop-facts b { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.fm-shop-facts b .bi { color: var(--fm-primary); }
.fm-shop-facts small { color: var(--fm-muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.fm-cat-tabs { position: sticky; top: 70px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 0 0 6px; background: var(--fm-bg); scrollbar-width: none; }
.admin-bar .fm-cat-tabs { top: 102px; }
.fm-cat-tabs::-webkit-scrollbar { display: none; }
.fm-cat-tabs a { white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--fm-ink-2) !important; background: #fff; border: 1px solid var(--fm-line); }
.fm-cat-tabs a small { color: var(--fm-muted); margin-left: 3px; }
.fm-cat-tabs a.is-active { background: var(--fm-ink); color: #fff !important; border-color: var(--fm-ink); }
.fm-cat-tabs a.is-active small { color: rgba(255,255,255,.7); }
.fm-menu-sec { padding-top: 22px; scroll-margin-top: 140px; }
.fm-menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.fm-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); padding: 16px; box-shadow: var(--fm-shadow-sm); transition: box-shadow .15s, border-color .15s, transform .15s; }
.fm-item.is-clickable { cursor: pointer; }
.fm-item.is-clickable:hover { box-shadow: var(--fm-shadow); border-color: var(--fm-primary-soft2); transform: translateY(-2px); }
.fm-item.is-off { opacity: .6; }
.fm-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fm-item-body h4 { margin: 0 0 5px; font-size: 15px; font-weight: 700; }
.fm-item-body p { margin: 0 0 10px; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fm-item-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fm-price { font-size: 15.5px; font-weight: 800; color: var(--fm-ink); }
.fm-item-tag { font-size: 11.5px; font-weight: 600; color: var(--fm-muted); display: inline-flex; align-items: center; gap: 4px; }
.fm-item-media { position: relative; flex-shrink: 0; }
.fm-item-img { width: 112px; height: 112px; object-fit: cover; border-radius: 14px; }
.fm-item-img-ph { display: flex; align-items: center; justify-content: center; background: var(--fm-bg); color: #c9ccd4; font-size: 34px; }
.fm-add-btn { position: absolute; right: -6px; bottom: -6px; width: 38px; height: 38px; border-radius: 50%; background: var(--fm-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; border: 3px solid #fff; box-shadow: var(--fm-shadow); transition: transform .15s; }
.fm-item.is-clickable:hover .fm-add-btn { transform: scale(1.1); }
.fm-item-media .fm-badge-soldout { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); }

/* ---------- Bar troli, drawer, modal, toast ---------- */
.fm-cartbar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; width: min(560px, calc(100% - 28px)); animation: fmUp .25s ease-out; }
@keyframes fmUp { from { transform: translate(-50%, 30px); opacity: 0; } }
.fm-cartbar button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--fm-ink); color: #fff; border: 0; border-radius: 18px; padding: 12px 12px 12px 20px; font: 600 15px 'Montserrat', sans-serif; cursor: pointer; box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.fm-cartbar-count { display: inline-flex; align-items: center; gap: 8px; }
.fm-cartbar-total { background: var(--fm-primary); padding: 9px 16px; border-radius: 12px; font-weight: 700; }
.fm-overlay { position: fixed; inset: 0; background: rgba(15, 17, 26, .5); backdrop-filter: blur(2px); z-index: 998; animation: fmFade .2s; }
@keyframes fmFade { from { opacity: 0; } }
.fm-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 999; display: flex; flex-direction: column; animation: fmSlide .25s ease-out; box-shadow: var(--fm-shadow-lg); }
@keyframes fmSlide { from { transform: translateX(100%); } }
.fm-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--fm-line); }
.fm-drawer-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.fm-drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.fm-drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--fm-line); }
.fm-drawer-shop { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 12px 0 4px; }
.fm-drawer-shop .bi { color: var(--fm-primary); }
.fm-dline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--fm-line); }
.fm-dline b { font-size: 14px; }
.fm-qty { display: inline-flex; align-items: center; background: var(--fm-bg); border-radius: 999px; padding: 3px; }
.fm-qty button { background: #fff; border: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--fm-primary); box-shadow: var(--fm-shadow-sm); display: inline-flex; align-items: center; justify-content: center; }
.fm-qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.fm-modal { position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100% - 24px)); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 24px; box-shadow: var(--fm-shadow-lg); animation: fmPop .2s ease-out; }
@keyframes fmPop { from { transform: translate(-50%, -46%); opacity: 0; } }
.fm-modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; box-shadow: var(--fm-shadow); }
.fm-modal-img { width: 100%; height: 230px; object-fit: cover; }
.fm-modal-body { padding: 22px; }
.fm-modal-price { font-size: 18px; font-weight: 800; color: var(--fm-primary); margin-bottom: 10px; }
.fm-modal-body h4 { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--fm-muted); }
.fm-modal-foot { position: sticky; bottom: 0; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px 20px; border-top: 1px solid var(--fm-line); }
.fm-modal-foot .fm-btn { flex: 1; }
.fm-app .fm-addon-opt { padding: 12px 14px; margin: 0 0 8px; border: 1.5px solid var(--fm-line); border-radius: var(--fm-radius-sm); }
.fm-app .fm-addon-opt:has(input:checked) { border-color: var(--fm-primary); background: var(--fm-primary-soft); }
.fm-addon-opt .fm-muted { margin-left: auto; font-weight: 600; }
.fm-toast { position: fixed; z-index: 1000; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--fm-ink, #1a1d29); color: #fff; padding: 12px 20px; border-radius: 999px; font: 600 14px 'Montserrat', sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: all .25s; }
.fm-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Checkout ---------- */
.fm-page-head { padding: 32px 0 8px; }
.fm-page-head h1 { margin: 0 0 4px; }
.fm-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.fm-sticky { position: sticky; top: 92px; }
.fm-radio-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.fm-app .fm-radio { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--fm-line); border-radius: 14px; padding: 15px 16px; cursor: pointer; font-weight: 600; margin: 0 0 8px; background: #fff; transition: all .15s; }
.fm-app .fm-radio .bi { font-size: 20px; color: var(--fm-muted); }
.fm-app .fm-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--fm-primary); }
.fm-app .fm-radio:has(input:checked) { border-color: var(--fm-primary); background: var(--fm-primary-soft); }
.fm-app .fm-radio:has(input:checked) .bi { color: var(--fm-primary); }
.fm-map { height: 300px; border-radius: 14px; margin: 14px 0; border: 1px solid var(--fm-line); z-index: 1; }
.fm-summary-shop { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; }
.fm-sline { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--fm-line); }
.fm-totals { margin-top: 12px; }
.fm-totals > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: var(--fm-ink-2); }
.fm-totals .fm-grand { font-size: 18px; color: var(--fm-ink); font-weight: 700; border-top: 1px solid var(--fm-line); margin-top: 8px; padding-top: 12px; }
.fm-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--fm-muted); margin-top: 4px; }

/* ---------- Pesanan pelanggan ---------- */
.fm-order-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--fm-ink) !important; transition: box-shadow .15s; }
.fm-order-row:hover { box-shadow: var(--fm-shadow); }
.fm-order-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--fm-primary-soft); color: var(--fm-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.fm-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #f2f3f5; white-space: nowrap; }
.fm-s-new { background: #fff4d6; color: #8a5a00; }
.fm-s-accepted, .fm-s-preparing { background: #e3edff; color: #1d4ed8; }
.fm-s-ready, .fm-s-out_for_delivery { background: #f0e9ff; color: #6d28d9; }
.fm-s-completed { background: var(--fm-ok-soft); color: #0b7a3e; }
.fm-s-rejected, .fm-s-cancelled { background: #ffe9e6; color: #b42318; }
.fm-s-pending_payment { background: #f2f3f5; color: #4b5060; }
.fm-steps { list-style: none; padding: 0; margin: 6px 0 16px; display: flex; counter-reset: s; }
.fm-steps li { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--fm-muted); position: relative; padding-top: 40px; counter-increment: s; }
.fm-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: #eceef1; color: var(--fm-muted); line-height: 30px; font-weight: 700; z-index: 1; }
.fm-steps li::after { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: #eceef1; }
.fm-steps li:first-child::after { display: none; }
.fm-steps li.is-done::before { content: '✓'; background: var(--fm-ok); color: #fff; }
.fm-steps li.is-done::after, .fm-steps li.is-current::after { background: var(--fm-ok); }
.fm-steps li.is-current { color: var(--fm-ink); }
.fm-steps li.is-current::before { background: var(--fm-primary); color: #fff; animation: fmPulse 1.6s infinite; }
@keyframes fmPulse { 50% { box-shadow: 0 0 0 7px var(--fm-primary-soft2); } }
.fm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fm-table th, .fm-table td { padding: 11px 10px; border-bottom: 1px solid var(--fm-line); text-align: left; vertical-align: top; }
.fm-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--fm-muted); font-weight: 700; background: #fafbfc; }
.fm-table td.fm-right, .fm-table th.fm-right { text-align: right; }
.fm-table tbody tr:hover td { background: #fcfcfd; }
.fm-scroll { overflow-x: auto; padding: 0; }
.fm-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.fm-actions form { margin: 0; }
.fm-star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 12px; }
.fm-star-input input { display: none; }
.fm-star-input label { font-size: 34px; color: #dcdee3; cursor: pointer; margin: 0; transition: color .1s; }
.fm-star-input input:checked ~ label, .fm-star-input label:hover, .fm-star-input label:hover ~ label { color: var(--fm-star); }

/* ---------- Log masuk / daftar ---------- */
.fm-auth { display: flex; justify-content: center; padding: clamp(28px, 6vw, 64px) var(--fm-gutter) 0; }
.fm-auth .fm-card { width: 100%; max-width: 480px; padding: clamp(24px, 4vw, 36px); box-shadow: var(--fm-shadow); }
.fm-auth-head { text-align: center; margin-bottom: 22px; }
.fm-auth-head .fm-brand-mark { width: 52px; height: 52px; font-size: 24px; border-radius: 16px; margin-bottom: 12px; }
.fm-auth-head p { color: var(--fm-muted); margin: 0; }
.fm-divider { display: flex; align-items: center; gap: 10px; color: var(--fm-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin: 20px 0 14px; }
.fm-divider::before, .fm-divider::after { content: ''; flex: 1; height: 1px; background: var(--fm-line); }

/* ---------- Panel peniaga ---------- */
.fm-merchant { padding-top: 28px; }
.fm-mhead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.fm-mhead-id { display: flex; align-items: center; gap: 14px; }
.fm-mhead-logo { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: var(--fm-primary-soft); color: var(--fm-primary); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.fm-mhead h1 { margin: 0; font-size: 1.5rem; }
.fm-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--fm-line); border-radius: 16px; padding: 5px; margin-bottom: 20px; overflow-x: auto; box-shadow: var(--fm-shadow-sm); scrollbar-width: none; }
.fm-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; color: var(--fm-ink-2) !important; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s; }
.fm-tabs a:hover { background: var(--fm-bg); }
.fm-tabs a.is-active { background: var(--fm-ink); color: #fff !important; }
.fm-toggle { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--fm-line); border-radius: 999px; padding: 7px 16px 7px 7px; font: 700 13px 'Montserrat', sans-serif; cursor: pointer; box-shadow: var(--fm-shadow-sm); color: var(--fm-ink); }
.fm-toggle span { width: 44px; height: 24px; border-radius: 999px; background: #d4d7de; position: relative; transition: background .2s; flex-shrink: 0; }
.fm-toggle span::after { content: ''; position: absolute; width: 20px; height: 20px; top: 2px; left: 2px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.fm-toggle.is-on span { background: var(--fm-ok); }
.fm-toggle.is-on span::after { left: 22px; }
.fm-toggle-sm { padding: 4px; border: 0; box-shadow: none; }
.fm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.fm-stat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); padding: 18px; box-shadow: var(--fm-shadow-sm); }
.fm-stat-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; background: var(--fm-primary-soft); color: var(--fm-primary); flex-shrink: 0; }
.fm-stat-ico.is-green { background: var(--fm-ok-soft); color: var(--fm-ok); }
.fm-stat-ico.is-blue { background: #e3edff; color: #1d4ed8; }
.fm-stat small { display: block; color: var(--fm-muted); font-size: 12px; font-weight: 600; }
.fm-stat b { font-size: 22px; font-weight: 800; }
.fm-hint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-radius-sm); padding: 10px 14px; font-size: 13.5px; color: var(--fm-ink-2); margin-bottom: 16px; }
.fm-hint .bi { color: var(--fm-primary); }
.fm-orders-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.fm-morder { border-top: 4px solid #e5e7eb; margin: 0; background: #fff !important; color: inherit !important; }
.fm-morder.fm-s-new { border-top-color: #f5a623; animation: fmGlow 2s infinite; }
.fm-morder.fm-s-accepted, .fm-morder.fm-s-preparing { border-top-color: #3b82f6; }
.fm-morder.fm-s-ready, .fm-morder.fm-s-out_for_delivery { border-top-color: #8b5cf6; }
@keyframes fmGlow { 50% { box-shadow: 0 0 0 5px #ffe7b3; } }
.fm-morder-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.fm-morder-head strong { font-size: 15px; }
.fm-morder p { margin: 6px 0; font-size: 14px; }
.fm-mitems { margin: 12px 0; padding: 12px 14px; list-style: none; font-size: 14px; background: var(--fm-bg); border-radius: var(--fm-radius-sm); }
.fm-mitems li { padding: 3px 0; }
.fm-note { background: #fff8e6; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; }
.fm-mtotal { border-top: 1px dashed var(--fm-line); padding-top: 10px !important; }
.fm-mitem { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--fm-line); }
.fm-mitem:last-child { border-bottom: 0; }
.fm-mitem img, .fm-mitem-ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--fm-bg); color: #c9ccd4; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.fm-cat-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--fm-line); margin: 0; font-weight: 600; font-size: 14px; }
.fm-cat-row .fm-x { width: 28px; height: 28px; font-size: 13px; }
.fm-narrow-form { max-width: 720px; }
.fm-addon-row { display: grid; grid-template-columns: 1fr 130px 34px; gap: 8px; margin-bottom: 8px; align-items: center; }
.fm-addon-row input { margin: 0 !important; }
.fm-preview { width: 96px; border-radius: 12px; margin-bottom: 12px; }
.fm-hours td { padding: 8px 6px; vertical-align: middle; }
.fm-hours input { margin: 0 !important; }
.fm-hours .fm-check { margin: 0; }

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
	.fm-how { grid-template-columns: repeat(2, 1fr); }
	.fm-footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.fm-cols { grid-template-columns: 1fr; }
	.fm-sticky { position: static; }
	.fm-header-actions { display: inline-flex; }
	.fm-cart-desktop { display: none !important; }
	.fm-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px var(--fm-gutter) 18px; border-bottom: 1px solid var(--fm-line); box-shadow: var(--fm-shadow); gap: 2px; }
	.fm-nav > a:not(.fm-btn) { padding: 12px; }
	.fm-nav .fm-btn { margin: 8px 0 0; }
	.fm-nav .fm-lang { align-self: flex-start; margin: 10px 0 0; }
	.fm-header.is-open .fm-nav { display: flex; }
	.fm-header-in { position: relative; }
	.fm-cta-art { display: none; }
}
@media (max-width: 640px) {
	.fm-app { font-size: 14.5px; }
	.fm-hero-deco span:nth-child(n+3) { display: none; }
	.fm-hero-deco span { opacity: .5; }
	.fm-search { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 10px; }
	.fm-search-state { border-left: 0; border-top: 1px solid var(--fm-line); }
	.fm-search .fm-btn { width: 100%; }
	.fm-form-grid, .fm-grid-3 { grid-template-columns: 1fr; }
	.fm-how { grid-template-columns: 1fr; }
	.fm-footer-in { grid-template-columns: 1fr; gap: 24px; }
	.fm-shop-card { flex-direction: column; gap: 10px; padding: 18px; margin-top: -50px; }
	.fm-shop-logo { width: 84px; height: 84px; margin-top: -58px; }
	.fm-shop-facts > div { min-width: calc(50% - 5px); flex: 1; }
	.fm-item-img { width: 92px; height: 92px; }
	.fm-steps li { font-size: 10px; }
	.fm-card { padding: 18px; }
	.fm-mcard-sub { white-space: normal; }
}
.fm-narrow-wide { max-width: 920px; }
.fm-auth-wide .fm-card { max-width: 640px; }
.fm-demo-box code { background: #f6f7f7; padding: 2px 6px; }

/* =========================================================
   Aplikasi rider (PWA)
   ========================================================= */
.fm-btn-success { background: var(--fm-ok); box-shadow: 0 4px 14px rgba(18, 161, 80, .3); }
.fm-btn-success:hover { background: #0e8a44; }
.fm-rider-app { background: var(--fm-bg); min-height: 100vh; padding-bottom: 90px; }
.fm-rbar { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--fm-line); }
.admin-bar .fm-rbar { top: 32px; }
.fm-rbar-in { max-width: 640px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; }
.fm-rbody { max-width: 640px; margin: 0 auto; padding: 18px 16px; }
.fm-online { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 6px 16px 6px 6px; font: 700 13px 'Montserrat', sans-serif; cursor: pointer; background: #2a2d3a; color: #fff; transition: background .2s; }
.fm-online span { width: 46px; height: 26px; border-radius: 999px; background: #4b4f60; position: relative; flex-shrink: 0; }
.fm-online span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; }
.fm-online.is-on { background: var(--fm-ok); }
.fm-online.is-on span { background: rgba(255,255,255,.35); }
.fm-online.is-on span::after { left: 23px; }
.fm-online .fm-online-on, .fm-online.is-on .fm-online-off { display: none; }
.fm-online.is-on .fm-online-on { display: inline; }
.fm-rnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; justify-content: center; background: #fff; border-top: 1px solid var(--fm-line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.05); }
.fm-rnav a { flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; border-radius: 12px; color: var(--fm-muted) !important; font-size: 11.5px; font-weight: 700; }
.fm-rnav a .bi { font-size: 21px; }
.fm-rnav a.is-active { color: var(--fm-primary) !important; background: var(--fm-primary-soft); }
.fm-rstats { grid-template-columns: 1fr 1fr; }
.fm-rstats .fm-stat { padding: 14px; }
.fm-rstats .fm-stat b { font-size: 19px; }
.fm-gps { display: flex; gap: 8px; align-items: center; background: #fff0ed; color: #b42318; font-weight: 600; font-size: 13.5px; padding: 12px 14px; border-radius: var(--fm-radius-sm); margin-bottom: 14px; }
.fm-rstate { text-align: center; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); padding: 36px 20px; margin-bottom: 16px; }
.fm-rstate-ico { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; background: #f0f1f4; color: var(--fm-muted); }
.fm-radar { position: relative; width: 110px; height: 110px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.fm-radar i { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: var(--fm-primary); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.fm-radar span { position: absolute; inset: 0; border-radius: 50%; background: var(--fm-primary); opacity: .25; animation: fmRadar 2s ease-out infinite; }
.fm-radar span:nth-child(2) { animation-delay: 1s; }
@keyframes fmRadar { from { transform: scale(.55); opacity: .4; } to { transform: scale(1.35); opacity: 0; } }
.fm-rjob { padding: 18px; }
.fm-rjob-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.fm-rjob-head h3 { margin: 2px 0 0; }
.fm-rjob-fee { text-align: right; font-size: 22px; font-weight: 800; color: var(--fm-ok); line-height: 1.1; }
.fm-rjob-fee small { display: block; font-size: 11px; font-weight: 600; color: var(--fm-muted); }
.fm-rcod { display: flex; align-items: center; gap: 8px; background: #fff7e8; color: #8a5a00; border-radius: var(--fm-radius-sm); padding: 11px 14px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.fm-rcod b { font-size: 16px; }
.fm-rcod.is-paid { background: var(--fm-ok-soft); color: #0b7a3e; }
.fm-rstep { position: relative; display: flex; gap: 14px; padding: 0 0 18px; opacity: .55; }
.fm-rstep:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--fm-line); }
.fm-rstep.is-current, .fm-rstep.is-done { opacity: 1; }
.fm-rstep-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eef0f3; color: var(--fm-muted); flex-shrink: 0; font-size: 16px; }
.fm-rstep.is-current .fm-rstep-dot { background: var(--fm-primary); color: #fff; box-shadow: 0 0 0 5px var(--fm-primary-soft2); }
.fm-rstep.is-done .fm-rstep-dot { background: var(--fm-ok); color: #fff; }
.fm-rstep p { margin: 4px 0 8px; font-size: 13.5px; }
.fm-rbtns { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.fm-app .fm-pod { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--fm-bg); border-radius: var(--fm-radius-sm); padding: 12px; margin: 10px 0 0; font-weight: 600; }
.fm-app .fm-pod input { flex-basis: 100%; }
.fm-rhero { text-align: center; padding: 18px 0 8px; }
.fm-rhero-art { font-size: 72px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.15)); }
.fm-rhero h1 { font-size: 1.6rem; }
.fm-rhero p { color: var(--fm-ink-2); }
.fm-rperks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.fm-rperks span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--fm-line); padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.fm-rperks .bi { color: var(--fm-primary); }
.fm-rtabs { display: flex; background: #eceef1; border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.fm-rtabs button { flex: 1; border: 0; background: none; padding: 11px; border-radius: 11px; font: 700 14px 'Montserrat', sans-serif; color: var(--fm-muted); cursor: pointer; }
.fm-rtabs button.is-active { background: #fff; color: var(--fm-ink); box-shadow: var(--fm-shadow-sm); }
.fm-vehicles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.fm-app .fm-vehicle { flex-direction: column; justify-content: center; text-align: center; gap: 4px; padding: 12px 6px; font-size: 12.5px; }
.fm-app .fm-vehicle input { position: absolute; opacity: 0; pointer-events: none; }
.fm-vehicle-ico { font-size: 28px; }
.fm-rprofile { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fm-rprofile img, .fm-rprofile > span { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--fm-primary-soft); color: var(--fm-primary); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.fm-rprofile h2 { margin: 0; }
.fm-offer { position: fixed; z-index: 999; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); background: #fff; border-radius: 26px 26px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px rgba(0,0,0,.25); animation: fmSheet .25s ease-out; }
@keyframes fmSheet { from { transform: translate(-50%, 100%); } }
.fm-offer-top { display: flex; justify-content: space-between; align-items: center; }
.fm-offer-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--fm-primary-soft); color: var(--fm-primary); font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 999px; }
.fm-offer-ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.fm-offer-ring circle { fill: none; stroke: #eef0f3; stroke-width: 7; }
.fm-offer-ring .fm-offer-prog { stroke: var(--fm-primary); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.fm-offer-ring text { transform: rotate(90deg); transform-origin: 40px 40px; font: 800 20px 'Montserrat', sans-serif; fill: var(--fm-ink); }
.fm-offer-fee { font-size: 40px; font-weight: 800; color: var(--fm-ok); margin: 6px 0 12px; letter-spacing: -.02em; }
.fm-offer-shop { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.fm-offer-shop > .bi { width: 42px; height: 42px; border-radius: 12px; background: var(--fm-bg); color: var(--fm-primary); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.fm-offer-shop small { display: block; color: var(--fm-muted); }
.fm-offer-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.fm-offer-meta span { display: inline-flex; align-items: center; gap: 5px; background: var(--fm-bg); padding: 7px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.fm-offer-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.fm-offer-actions .fm-btn { padding: 16px; font-size: 16px; }

/* Jejak rider untuk pelanggan */
.fm-rider-card { display: flex; align-items: center; gap: 12px; background: var(--fm-bg); border-radius: var(--fm-radius-sm); padding: 12px 14px; margin: 6px 0 12px; }
.fm-rider-card img, .fm-rider-card > span { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; color: var(--fm-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.fm-track-map { height: 260px; border-radius: 14px; border: 1px solid var(--fm-line); margin-bottom: 12px; z-index: 1; }
.fm-rider-searching { display: flex; align-items: center; gap: 10px; color: var(--fm-ink-2); font-weight: 600; font-size: 13.5px; }
.fm-dots::after { content: '…'; animation: fmDots 1.2s steps(3) infinite; display: inline-block; width: 1em; overflow: hidden; vertical-align: bottom; }
@keyframes fmDots { from { width: 0; } }
.fm-pin{font-size:26px;line-height:30px;text-align:center;filter:drop-shadow(0 3px 4px rgba(0,0,0,.3));}
.fm-maint-banner { display: flex; align-items: center; justify-content: center; gap: 8px; background: #1a1d29; color: #fff; font: 600 13.5px 'Montserrat', sans-serif; padding: 10px 16px; text-align: center; }
.fm-maint-banner .bi { color: #ffb020; }
