/* ==========================================================================
   FixMitra design system
   Navy (logo) · Orange gradient (posters) · Charcoal (posters)
   ========================================================================== */
:root {
	--fm-navy: #04457a;
	--fm-navy-2: #0b5c9e;
	--fm-navy-deep: #032d51;
	--fm-navy-tint: #e9f1f9;
	--fm-orange: #ff6516;
	--fm-orange-2: #ff9a3c;
	--fm-grad: linear-gradient(100deg, #ffa14a 0%, #ff6a1a 55%, #f24d1c 100%);
	--fm-char: #16191f;
	--fm-char-2: #20252d;
	--fm-char-3: #2b313b;
	--fm-ink: #121722;
	--fm-text: #2a3240;
	--fm-muted: #5d6878;
	--fm-line: #e2e7ee;
	--fm-bg: #ffffff;
	--fm-bg-2: #f4f6f9;
	--fm-ok: #129c52;
	--fm-ok-tint: #e6f6ed;
	--fm-err: #d13a2b;
	--fm-wa: #1fb855;
	--fm-r: 14px;
	--fm-r-lg: 22px;
	--fm-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
	--fm-shadow-lg: 0 20px 50px rgba(3, 45, 81, .14);
	--fm-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Noto Sans Kannada", sans-serif;
	--fm-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
	--fm-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--fm-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--fm-text);
	background: var(--fm-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fm-navy); text-decoration: none; }
a:hover { color: var(--fm-navy-2); }
h1, h2, h3, h4 { font-family: var(--fm-display); color: var(--fm-ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(255, 101, 22, .45); outline-offset: 2px; border-radius: 6px; }
.fm-ic { flex: none; }
.fm-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--fm-navy); color: #fff; padding: 10px 16px; }
.fm-skip:focus { left: 12px; top: 12px; }

.fm-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.fm-narrow { max-width: 820px; }
.fm-pad { padding-top: 48px; padding-bottom: 72px; }
.fm-center { text-align: center; }
.fm-muted { color: var(--fm-muted); }
.fm-muted-light { color: rgba(255, 255, 255, .72); }
.fm-grad { background: var(--fm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-orange); margin-bottom: 10px; }
.fm-eyebrow-light { color: var(--fm-orange-2); }
.fm-h3 { margin-top: 28px; }
.fm-lead { font-size: 1.2rem; color: var(--fm-ink); }

/* Buttons */
.fm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; font-size: .98rem; cursor: pointer; line-height: 1.2; white-space: nowrap;
	transition: transform .15s var(--fm-ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.fm-btn:active { transform: translateY(1px) scale(.99); }
.fm-btn-primary { background: var(--fm-grad); color: #fff; box-shadow: 0 8px 22px rgba(255, 101, 22, .32); }
.fm-btn-primary:hover { color: #fff; box-shadow: 0 10px 28px rgba(255, 101, 22, .45); transform: translateY(-1px); }
.fm-btn-navy { background: var(--fm-navy); color: #fff; }
.fm-btn-navy:hover { background: var(--fm-navy-2); color: #fff; }
.fm-btn-ghost { background: #fff; color: var(--fm-navy); border-color: var(--fm-line); }
.fm-btn-ghost:hover { border-color: var(--fm-navy); color: var(--fm-navy); }
.fm-btn-wa { background: var(--fm-wa); color: #fff; }
.fm-btn-wa:hover { background: #18a24a; color: #fff; }
.fm-btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.fm-btn-sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.fm-btn-block { width: 100%; }
.fm-btn[disabled], .fm-btn.is-busy { opacity: .6; pointer-events: none; }
.fm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.fm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fm-navy); }
.fm-link .fm-ic { transition: transform .2s var(--fm-ease); }
a:hover .fm-link .fm-ic, .fm-link:hover .fm-ic { transform: translateX(3px); }
.fm-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .88rem; font-weight: 600; }
.fm-chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Topbar + header */
.fm-topbar { background: var(--fm-navy-deep); color: rgba(255, 255, 255, .86); font-size: .82rem; }
.fm-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.fm-topbar span, .fm-topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.fm-topbar-r { gap: 18px !important; }
.fm-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--fm-line); }
.fm-header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.fm-logo img { height: 44px; width: auto; }
.fm-nav { display: flex; gap: 4px; margin-left: 12px; }
.fm-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--fm-text); font-size: .96rem; }
.fm-nav a:hover { background: var(--fm-bg-2); color: var(--fm-ink); }
.fm-nav a.is-active { color: var(--fm-navy); background: var(--fm-navy-tint); }
.fm-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fm-acct { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-weight: 600; color: var(--fm-text); }
.fm-acct:hover { background: var(--fm-bg-2); }
.fm-lang { position: relative; }
.fm-lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--fm-line); background: #fff; cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--fm-navy); }
.fm-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; background: #fff; border: 1px solid var(--fm-line); border-radius: 14px; box-shadow: var(--fm-shadow-lg); padding: 6px; display: none; z-index: 60; }
.fm-lang.is-open .fm-lang-menu { display: block; }
.fm-lang-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; font-weight: 600; }
.fm-lang-menu button:hover, .fm-lang-menu button.is-on { background: var(--fm-navy-tint); color: var(--fm-navy); }
.fm-burger { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--fm-ink); align-items: center; justify-content: center; }
.fm-drawer { position: fixed; inset: 0; z-index: 70; background: rgba(10, 16, 26, .45); }
.fm-drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 84px 20px 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--fm-shadow-lg); animation: fmSlide .25s var(--fm-ease); }
.fm-drawer-panel > a:not(.fm-btn) { padding: 14px 12px; border-radius: 12px; font-weight: 700; color: var(--fm-ink); font-size: 1.05rem; }
.fm-drawer-panel > a:not(.fm-btn):hover { background: var(--fm-bg-2); }
.fm-drawer-panel .fm-btn { margin-top: 14px; }
@keyframes fmSlide { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Page heads */
.fm-pagehead { background: linear-gradient(180deg, var(--fm-navy-tint), #fff); padding: 44px 0 28px; }
.fm-pagehead h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }
.fm-pagehead-dark { background: radial-gradient(1200px 400px at 85% -20%, rgba(255, 101, 22, .25), transparent 60%), radial-gradient(900px 500px at 0% 120%, rgba(11, 92, 158, .5), transparent 60%), var(--fm-char); color: #fff; padding: 56px 0 48px; }
.fm-pagehead-dark h1 { color: #fff; }
.fm-pagehead-dark p { color: rgba(255, 255, 255, .78); max-width: 640px; }
.fm-crumbs { font-size: .9rem; color: var(--fm-muted); margin: 22px 0; }
.fm-crumbs span { margin: 0 6px; }

/* Hero */
.fm-hero { position: relative; overflow: hidden; color: #fff; background: var(--fm-char); padding: 64px 0 88px; }
.fm-hero-glow { position: absolute; inset: 0; background:
	radial-gradient(700px 420px at 82% 30%, rgba(255, 106, 26, .28), transparent 62%),
	radial-gradient(800px 520px at 8% 110%, rgba(11, 92, 158, .55), transparent 60%),
	linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%); pointer-events: none; }
.fm-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.fm-hero-title { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 18px; }
.fm-hero-title .fm-grad { display: inline-block; }
.fm-hero-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 520px; }
.fm-hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; margin: 28px 0 18px; max-width: 560px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); color: var(--fm-muted); }
.fm-hero-search input { flex: 1 1 auto; width: 100%; min-width: 0; border: 0; outline: 0; padding: 12px 4px; font-size: 1.02rem; color: var(--fm-ink); background: transparent; }
.fm-hero-search .fm-btn { min-height: 50px; }
.fm-hero-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-hero-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; transition: background .2s; }
.fm-hero-cats a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.fm-hero-art { position: relative; }
.fm-hero-art > img { width: 100%; border-radius: 28px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); aspect-ratio: 5/4; object-fit: cover; }
.fm-hero-placeholder { aspect-ratio: 5/4; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(140deg, var(--fm-char-3), var(--fm-char-2)); color: rgba(255, 255, 255, .25); }
.fm-hero-float { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .96); color: var(--fm-ink); padding: 12px 16px; border-radius: 16px; box-shadow: var(--fm-shadow-lg); animation: fmFloat 6s ease-in-out infinite; }
.fm-hero-float .fm-ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--fm-grad); color: #fff; }
.fm-hero-float strong { display: block; font-size: .95rem; line-height: 1.2; }
.fm-hero-float span { font-size: .8rem; color: var(--fm-muted); }
.fm-hero-float-a { left: -26px; bottom: 34px; }
.fm-hero-float-b { right: -14px; top: 28px; animation-delay: -3s; }
.fm-hero-float-b .fm-ic { background: var(--fm-navy); }
@keyframes fmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Services */
.fm-services { position: relative; margin-top: -48px; z-index: 2; }
.fm-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fm-service { position: relative; display: block; background: #fff; border-radius: var(--fm-r-lg); padding: 26px; box-shadow: var(--fm-shadow-lg); border: 1px solid var(--fm-line); color: var(--fm-text); transition: transform .25s var(--fm-ease), box-shadow .25s; overflow: hidden; }
.fm-service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--fm-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--fm-ease); }
.fm-service:hover { transform: translateY(-4px); color: var(--fm-text); }
.fm-service:hover::after { transform: scaleX(1); }
.fm-service-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--fm-grad); color: #fff; margin-bottom: 14px; }
.fm-service-repair .fm-service-ic { background: var(--fm-navy); }
.fm-service-buy .fm-service-ic { background: var(--fm-char); }
.fm-service h3 { margin-bottom: 6px; }
.fm-service p { color: var(--fm-muted); margin-bottom: 14px; }

/* Trust bar */
.fm-trustbar { padding: 34px 0 6px; }
.fm-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fm-trust-grid div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--fm-r); background: var(--fm-bg-2); color: var(--fm-navy); }
.fm-trust-grid strong { color: var(--fm-ink); font-size: .96rem; }

/* Sections */
.fm-section { padding: 72px 0; }
.fm-section-tint { background: var(--fm-bg-2); }
.fm-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.fm-section-head h2 { margin: 0; }
.fm-section-head.fm-center { justify-content: center; text-align: center; }
.fm-grid { display: grid; gap: 16px; }
.fm-grid-models { grid-template-columns: repeat(4, 1fr); }
.fm-model { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 16px; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-r-lg); color: var(--fm-ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--fm-ease); cursor: pointer; }
.fm-model:hover { border-color: rgba(4, 69, 122, .35); box-shadow: var(--fm-shadow); transform: translateY(-2px); color: var(--fm-ink); }
.fm-model-img { width: 96px; height: 96px; display: grid; place-items: center; color: var(--fm-navy); background: var(--fm-navy-tint); border-radius: 22px; overflow: hidden; }
.fm-model-img img { width: 100%; height: 100%; object-fit: contain; }
.fm-model strong { font-size: .98rem; line-height: 1.3; }
.fm-upto { font-size: .84rem; color: var(--fm-muted); }
.fm-upto b { color: var(--fm-ok); font-size: .95rem; }

.fm-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.fm-steps li { position: relative; background: #fff; border-radius: var(--fm-r-lg); padding: 30px 26px; border: 1px solid var(--fm-line); }
.fm-steps li > .fm-ic { color: var(--fm-orange); margin-bottom: 14px; }
.fm-step-n { position: absolute; top: 18px; right: 22px; font-family: var(--fm-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--fm-navy-tint); }
.fm-steps p { color: var(--fm-muted); margin: 0; }

.fm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fm-split-media img, .fm-media-placeholder { width: 100%; border-radius: 26px; aspect-ratio: 4/3; object-fit: cover; }
.fm-media-placeholder { display: grid; place-items: center; background: var(--fm-char-2); color: rgba(255, 255, 255, .2); }
.fm-repair-band { background: var(--fm-char); color: #fff; }
.fm-repair-band h2 { color: #fff; }
.fm-repair-list { display: grid; gap: 10px; margin-top: 22px; }
.fm-repair-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--fm-char-2); border: 1px solid rgba(255, 255, 255, .08); color: #fff; transition: background .2s, border-color .2s; }
.fm-repair-list a:hover { background: var(--fm-char-3); border-color: rgba(255, 154, 60, .5); color: #fff; }
.fm-repair-list a > .fm-ic:last-child { margin-left: auto; color: var(--fm-orange-2); }
.fm-repair-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 106, 26, .14); color: var(--fm-orange-2); flex: none; }
.fm-repair-list strong { display: block; }
.fm-repair-list small { color: rgba(255, 255, 255, .6); }
.fm-addr { display: flex; gap: 10px; align-items: flex-start; }
.fm-addr .fm-ic { color: var(--fm-orange); margin-top: 3px; }
.fm-refurb-promo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; background: var(--fm-bg-2); border-radius: var(--fm-r-lg); padding: 28px; }
.fm-refurb-promo img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; }
.fm-refurb-promo:not(:has(img)) { grid-template-columns: 1fr; }

.fm-cta-band { background: var(--fm-grad); color: #fff; padding: 52px 0; }
.fm-cta-band h2 { color: #fff; margin-bottom: 6px; }
.fm-cta-band p { margin: 0; color: rgba(255, 255, 255, .9); }
.fm-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fm-cta-band .fm-btn-primary { background: #fff; color: var(--fm-orange); box-shadow: none; }
.fm-cta-band .fm-btn-primary:hover { color: #e1500f; }

/* FAQ */
.fm-faq details { border: 1px solid var(--fm-line); border-radius: var(--fm-r); background: #fff; margin-bottom: 10px; overflow: hidden; }
.fm-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--fm-ink); position: relative; }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--fm-orange); transition: transform .2s; }
.fm-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fm-faq details p { padding: 0 20px 18px; margin: 0; color: var(--fm-muted); }

/* Cards / generic */
.fm-card { background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-r-lg); padding: 26px; box-shadow: var(--fm-shadow); }
.fm-note { padding: 14px 16px; border-radius: var(--fm-r); background: #fff6ee; border: 1px solid #ffd9bd; color: #8a3c0b; font-size: .94rem; }
.fm-note-ok { background: var(--fm-ok-tint); border-color: #bfe8cf; color: #0b6b37; }
.fm-note-err { background: #fdecea; border-color: #f6c2bd; color: #a12a1e; }
.fm-ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.fm-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.fm-ticks .fm-ic { color: var(--fm-ok); margin-top: 3px; }
.fm-prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.fm-prose ul { padding-left: 1.2em; }
.fm-prose li { margin-bottom: .4em; }
.fm-loading { min-height: 50vh; display: grid; place-items: center; }
.fm-loading span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--fm-line); border-top-color: var(--fm-orange); animation: fmSpin .8s linear infinite; }
@keyframes fmSpin { to { transform: rotate(360deg); } }
.fm-empty { text-align: center; padding: 60px 20px; color: var(--fm-muted); }
.fm-empty .fm-ic { color: var(--fm-line); margin-bottom: 10px; }
.fm-empty h3 { color: var(--fm-ink); }

/* Contact */
.fm-contact { padding: 40px 20px 72px; }
.fm-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fm-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--fm-r-lg); }

/* ==========================================================================
   App (sell / repair / track / account / staff)
   ========================================================================== */
.fm-wrap { padding: 0 0 80px; }
.fm-app { min-height: 50vh; }
.fm-apphead { background: radial-gradient(900px 300px at 90% -40%, rgba(255, 106, 26, .22), transparent 60%), radial-gradient(800px 400px at -10% 140%, rgba(11, 92, 158, .5), transparent 60%), var(--fm-char); color: #fff; padding: 40px 0 34px; }
.fm-apphead h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.fm-apphead p { color: rgba(255, 255, 255, .76); margin: 0; }
.fm-apphead .fm-hero-search { margin: 22px 0 0; }
.fm-apphead-slim { padding: 14px 0; }
.fm-apphead-slim .fm-container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fm-slim-t { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.fm-slim-t:hover { color: var(--fm-orange-2); }
.fm-slim-c { color: rgba(255, 255, 255, .65); font-size: .92rem; }
.fm-tabs { display: inline-flex; gap: 6px; padding: 5px; background: rgba(255, 255, 255, .08); border-radius: 999px; margin-top: 20px; border: 1px solid rgba(255, 255, 255, .12); flex-wrap: wrap; }
.fm-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: rgba(255, 255, 255, .85); padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 700; }
.fm-tabs button.is-on { background: #fff; color: var(--fm-navy); }
.fm-app-body { padding-top: 28px; }
.fm-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--fm-muted); font-weight: 600; cursor: pointer; padding: 6px 0; margin-bottom: 14px; }
.fm-back .fm-ic { transform: rotate(180deg); }
.fm-back:hover { color: var(--fm-navy); }
.fm-h2 { font-size: 1.5rem; margin-bottom: 6px; }
.fm-sub { color: var(--fm-muted); margin-bottom: 20px; }

.fm-brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.fm-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 14px 10px; border-radius: var(--fm-r); border: 1px solid var(--fm-line); background: #fff; cursor: pointer; font-family: var(--fm-display); font-weight: 700; font-size: 1.08rem; color: var(--fm-ink); transition: all .2s var(--fm-ease); }
.fm-brand small { font-family: var(--fm-font); font-weight: 500; font-size: .78rem; color: var(--fm-muted); }
.fm-brand:hover { border-color: var(--fm-navy); box-shadow: var(--fm-shadow); transform: translateY(-2px); }
.fm-searchbox { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--fm-line); border-radius: 999px; padding: 4px 18px; background: #fff; margin-bottom: 20px; color: var(--fm-muted); max-width: 520px; }
.fm-searchbox:focus-within { border-color: var(--fm-navy); }
.fm-searchbox input { flex: 1; border: 0; outline: 0; padding: 10px 0; background: transparent; color: var(--fm-ink); min-width: 0; }
.fm-grid-models.fm-grid-app { grid-template-columns: repeat(5, 1fr); }

.fm-flow { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.fm-flow-main { min-width: 0; }
.fm-summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-r-lg); padding: 22px; box-shadow: var(--fm-shadow); }
.fm-summary-dev { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed var(--fm-line); margin-bottom: 16px; }
.fm-summary-dev .fm-model-img { width: 64px; height: 64px; border-radius: 16px; }
.fm-summary-dev strong { display: block; color: var(--fm-ink); line-height: 1.3; }
.fm-summary-dev span { font-size: .88rem; color: var(--fm-muted); }
.fm-summary-price { display: flex; justify-content: space-between; align-items: baseline; }
.fm-summary-price b { font-family: var(--fm-display); font-size: 1.5rem; color: var(--fm-ok); }
.fm-summary-list { list-style: none; padding: 0; margin: 14px 0 0; font-size: .86rem; color: var(--fm-muted); display: grid; gap: 6px; }
.fm-summary-list li { display: flex; justify-content: space-between; gap: 10px; }
.fm-summary-list li span:last-child { color: var(--fm-ink); font-weight: 600; text-align: right; }

.fm-progress { height: 6px; background: var(--fm-bg-2); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.fm-progress i { display: block; height: 100%; background: var(--fm-grad); border-radius: 99px; transition: width .35s var(--fm-ease); }

.fm-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.fm-opt { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 16px 16px; border-radius: var(--fm-r); border: 1.5px solid var(--fm-line); background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; color: var(--fm-ink); font-weight: 700; }
.fm-opt small { font-weight: 500; color: var(--fm-muted); font-size: .84rem; }
.fm-opt:hover { border-color: rgba(4, 69, 122, .45); }
.fm-opt.is-on { border-color: var(--fm-navy); background: var(--fm-navy-tint); box-shadow: 0 0 0 3px rgba(4, 69, 122, .1); }
.fm-opt.is-on::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--fm-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.fm-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fm-opts-3 { grid-template-columns: repeat(3, 1fr); }
.fm-yesno { display: grid; gap: 12px; }
.fm-yn { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--fm-line); border-radius: var(--fm-r); background: #fff; }
.fm-yn > span { font-weight: 600; color: var(--fm-ink); }
.fm-yn-btns { display: flex; gap: 8px; flex: none; }
.fm-yn-btns button { min-width: 68px; height: 40px; border-radius: 999px; border: 1.5px solid var(--fm-line); background: #fff; font-weight: 700; cursor: pointer; }
.fm-yn-btns button.is-yes { background: var(--fm-ok); border-color: var(--fm-ok); color: #fff; }
.fm-yn-btns button.is-no { background: var(--fm-err); border-color: var(--fm-err); color: #fff; }
.fm-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }

.fm-quote { text-align: center; padding: 34px 26px; border-radius: var(--fm-r-lg); background: radial-gradient(500px 200px at 50% -20%, rgba(18, 156, 82, .14), transparent 70%), #fff; border: 1px solid var(--fm-line); box-shadow: var(--fm-shadow); }
.fm-quote-label { font-weight: 700; color: var(--fm-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.fm-quote-price { font-family: var(--fm-display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 3.8rem); color: var(--fm-ok); line-height: 1.1; margin: 8px 0; }
.fm-quote-note { color: var(--fm-muted); font-size: .92rem; max-width: 460px; margin: 0 auto 18px; }
.fm-quote-perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin: 18px 0 4px; font-size: .9rem; font-weight: 600; color: var(--fm-ink); }
.fm-quote-perks span { display: inline-flex; align-items: center; gap: 6px; }
.fm-quote-perks .fm-ic { color: var(--fm-ok); }
.fm-toggle { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--fm-r); border: 1.5px dashed var(--fm-orange-2); background: #fff8f2; text-align: left; margin: 16px 0; cursor: pointer; }

/* Forms */
.fm-form { display: grid; gap: 16px; }
.fm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm-field label { display: block; font-weight: 700; font-size: .9rem; color: var(--fm-ink); margin-bottom: 6px; }
.fm-field input, .fm-field select, .fm-field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--fm-line); border-radius: 12px; background: #fff; color: var(--fm-ink); transition: border-color .15s, box-shadow .15s; }
.fm-field textarea { min-height: 96px; resize: vertical; }
.fm-field input:focus, .fm-field select:focus, .fm-field textarea:focus { outline: 0; border-color: var(--fm-navy); box-shadow: 0 0 0 4px rgba(4, 69, 122, .1); }
.fm-field .fm-help { font-size: .82rem; color: var(--fm-muted); margin-top: 4px; }
.fm-phone { display: flex; align-items: stretch; }
.fm-phone span { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--fm-line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--fm-bg-2); font-weight: 700; color: var(--fm-muted); }
.fm-phone input { border-radius: 0 12px 12px 0 !important; }
.fm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-chip { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--fm-line); background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; line-height: 1.25; text-align: center; }
.fm-chip small { display: block; font-weight: 500; color: var(--fm-muted); font-size: .76rem; }
.fm-chip.is-on { border-color: var(--fm-navy); background: var(--fm-navy-tint); color: var(--fm-navy); }
.fm-chip.is-on small { color: var(--fm-navy); }
.fm-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--fm-muted); cursor: pointer; }
.fm-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fm-navy); flex: none; }
.fm-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fm-mode { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 16px; border: 1.5px solid var(--fm-line); border-radius: var(--fm-r); background: #fff; cursor: pointer; }
.fm-mode .fm-ic { color: var(--fm-orange); margin-top: 2px; }
.fm-mode strong { display: block; color: var(--fm-ink); }
.fm-mode small { color: var(--fm-muted); }
.fm-mode.is-on { border-color: var(--fm-navy); background: var(--fm-navy-tint); }
.fm-err { color: var(--fm-err); font-weight: 600; font-size: .9rem; }

.fm-done { text-align: center; padding: 40px 24px; }
.fm-done-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--fm-ok); color: #fff; box-shadow: 0 12px 30px rgba(18, 156, 82, .35); animation: fmPop .5s var(--fm-ease); }
@keyframes fmPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.fm-ref { display: inline-block; font-family: var(--fm-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .06em; padding: 8px 18px; border-radius: 12px; background: var(--fm-navy-tint); color: var(--fm-navy); margin: 6px 0 14px; }
.fm-timeline { list-style: none; padding: 0; margin: 20px 0 0; text-align: left; }
.fm-timeline li { position: relative; padding: 0 0 18px 34px; color: var(--fm-muted); }
.fm-timeline li::before { content: ""; position: absolute; left: 7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--fm-line); }
.fm-timeline li::after { content: ""; position: absolute; left: 12px; top: 20px; bottom: 0; width: 2px; background: var(--fm-line); }
.fm-timeline li:last-child::after { display: none; }
.fm-timeline li.is-done { color: var(--fm-ink); font-weight: 600; }
.fm-timeline li.is-done::before { background: var(--fm-ok); border-color: var(--fm-ok); }
.fm-timeline li.is-cur::before { background: var(--fm-orange); border-color: var(--fm-orange); box-shadow: 0 0 0 5px rgba(255, 101, 22, .18); }

/* Shop */
.fm-shop { padding-top: 26px; padding-bottom: 72px; }
.fm-shop-bar { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.fm-seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--fm-bg-2); border-radius: 999px; }
.fm-seg button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--fm-muted); }
.fm-seg button.is-on { background: #fff; color: var(--fm-navy); box-shadow: var(--fm-shadow); }
.fm-shop-selects { display: flex; gap: 8px; flex-wrap: wrap; }
.fm-shop-selects select { min-height: 44px; padding: 8px 36px 8px 14px; border-radius: 999px; border: 1px solid var(--fm-line); background: #fff; font-weight: 600; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6878' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.fm-grid-shop { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fm-prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-r-lg); overflow: hidden; color: var(--fm-ink); transition: box-shadow .2s, transform .2s var(--fm-ease); }
.fm-prod:hover { box-shadow: var(--fm-shadow-lg); transform: translateY(-3px); color: var(--fm-ink); }
.fm-prod-img { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #f7f9fc, #eef2f7); display: grid; place-items: center; color: #c5cfdb; }
.fm-prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .35s var(--fm-ease); }
.fm-prod:hover .fm-prod-img img { transform: scale(1.04); }
.fm-prod-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fm-prod-body strong { font-size: 1rem; line-height: 1.3; }
.fm-prod-spec { font-size: .82rem; color: var(--fm-muted); }
.fm-prod-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.fm-prod-price b { font-family: var(--fm-display); font-size: 1.3rem; }
.fm-prod-price s { color: var(--fm-muted); font-size: .86rem; }
.fm-off { color: var(--fm-ok); font-weight: 700; font-size: .86rem; }
.fm-grade { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--fm-navy); color: #fff; }
.fm-grade-superb { background: var(--fm-ok); }
.fm-grade-good { background: var(--fm-navy); }
.fm-grade-fair { background: #b26a00; }
.fm-grade-new { background: var(--fm-char); }
.fm-tag-reserved { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: #fff; color: var(--fm-err); }

.fm-product { padding-bottom: 72px; }
.fm-product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.fm-gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--fm-r-lg); background: linear-gradient(180deg, #f7f9fc, #eef2f7); display: grid; place-items: center; overflow: hidden; color: #c5cfdb; }
.fm-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.fm-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.fm-gallery-thumbs button { width: 76px; height: 76px; flex: none; border-radius: 12px; border: 2px solid transparent; background: var(--fm-bg-2); padding: 4px; cursor: pointer; }
.fm-gallery-thumbs button.is-on { border-color: var(--fm-navy); }
.fm-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.fm-product-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.fm-specline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fm-specline span { padding: 5px 12px; border-radius: 999px; background: var(--fm-bg-2); font-weight: 600; font-size: .88rem; }
.fm-pricebox { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.fm-price { font-family: var(--fm-display); font-size: 2.3rem; color: var(--fm-ink); }
.fm-pricebox s { color: var(--fm-muted); }
.fm-grade-card { border-radius: var(--fm-r); background: var(--fm-navy-tint); padding: 14px 16px; margin-bottom: 16px; }
.fm-grade-card strong { color: var(--fm-navy); }
.fm-grade-card p { margin: 2px 0 0; font-size: .92rem; }
.fm-facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.fm-facts li { display: flex; gap: 10px; align-items: center; }
.fm-facts .fm-ic { color: var(--fm-orange); }
.fm-buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fm-noimg { color: #c5cfdb; }
.fm-desc { margin-top: 24px; color: var(--fm-text); }

/* Modal */
.fm-modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 16, 26, .55); display: grid; place-items: center; padding: 16px; animation: fmFade .2s; }
.fm-modal-box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; padding: 28px 24px 24px; box-shadow: var(--fm-shadow-lg); animation: fmPop .25s var(--fm-ease); }
.fm-modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fm-bg-2); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.fm-or { display: flex; align-items: center; gap: 12px; color: var(--fm-muted); font-size: .85rem; margin: 6px 0; }
.fm-or::before, .fm-or::after { content: ""; flex: 1; height: 1px; background: var(--fm-line); }
.fm-gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border-radius: 999px; border: 1.5px solid var(--fm-line); background: #fff; font-weight: 700; cursor: pointer; }
.fm-gbtn:hover { border-color: #b8c2cf; }
@keyframes fmFade { from { opacity: 0; } to { opacity: 1; } }
.fm-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--fm-ink); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 95; font-weight: 600; box-shadow: var(--fm-shadow-lg); animation: fmFade .2s; }

/* Staff */
.fm-staff-list { display: grid; gap: 12px; }
.fm-staff-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-r); cursor: pointer; text-align: left; width: 100%; }
.fm-staff-item:hover { border-color: var(--fm-navy); }
.fm-staff-item strong { color: var(--fm-ink); }
.fm-staff-item small { color: var(--fm-muted); }
.fm-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--fm-navy-tint); color: var(--fm-navy); }
.fm-badge-new { background: #fff1e6; color: #b14a0a; }
.fm-badge-completed { background: var(--fm-ok-tint); color: #0b6b37; }
.fm-badge-rejected, .fm-badge-cancelled { background: #fdecea; color: #a12a1e; }
.fm-sect { background: #fff; border: 1px solid var(--fm-line); border-radius: var(--fm-r-lg); padding: 20px; margin-bottom: 16px; }
.fm-sect h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.fm-kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; font-size: .94rem; }
.fm-kv dt { color: var(--fm-muted); }
.fm-kv dd { margin: 0; color: var(--fm-ink); font-weight: 600; }
.fm-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fm-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 1px solid var(--fm-line); }
.fm-upload { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 10px; border: 2px dashed var(--fm-line); color: var(--fm-muted); cursor: pointer; font-size: 1.6rem; }
.fm-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fm-pricebar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin: 0 -20px; background: #fff; border-top: 1px solid var(--fm-line); box-shadow: 0 -8px 24px rgba(16, 24, 40, .08); }
.fm-pricebar b { font-family: var(--fm-display); font-size: 1.5rem; color: var(--fm-ok); }

/* Add device / stock (staff) */
.fm-st-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.fm-st-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fm-grad); color: #fff; font-size: .85rem; }
.fm-st-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 28px 18px; border: 2px dashed #b6c6d8; border-radius: 16px; background: var(--fm-navy-tint); cursor: pointer; }
.fm-st-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fm-st-drop strong { color: var(--fm-navy); font-size: 1.08rem; }
.fm-st-drop span { color: var(--fm-muted); font-size: .88rem; max-width: 460px; }
.fm-st-gal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fm-st-ph { position: relative; width: 120px; border-radius: 12px; overflow: hidden; border: 1px solid var(--fm-line); background: #fff; }
.fm-st-ph img { width: 120px; height: 120px; object-fit: cover; display: block; }
.fm-st-ph div { display: flex; justify-content: space-between; background: var(--fm-bg-2); }
.fm-st-ph button { border: 0; background: none; padding: 6px 8px; cursor: pointer; }
.fm-st-ph.is-main { outline: 3px solid var(--fm-orange); outline-offset: -3px; }
.fm-st-ph.is-main::after { content: "Main"; position: absolute; top: 6px; left: 6px; background: var(--fm-orange); color: #fff; font-size: .7rem; font-weight: 800; padding: 1px 7px; border-radius: 99px; }
.fm-st-busy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 152px; padding: 8px; text-align: center; font-size: .75rem; color: var(--fm-muted); }
.fm-st-busy .fm-loading span { width: 26px; height: 26px; }
.fm-st-big { font-family: var(--fm-display); font-size: 1.4rem !important; font-weight: 800; }
.fm-st-private { margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px dashed #c3cbd6; background: #fafbfc; }
.fm-st-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.fm-st-list { display: grid; gap: 12px; }
.fm-st-item { display: flex; gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--fm-line); border-radius: 16px; }
.fm-st-thumb { width: 84px; height: 84px; flex: none; border-radius: 12px; overflow: hidden; background: var(--fm-bg-2); display: grid; place-items: center; font-size: 2rem; }
.fm-st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fm-st-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fm-st-info small { color: var(--fm-muted); }
.fm-st-quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.fm-st-price { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--fm-line); border-radius: 10px; padding: 0 8px; font-weight: 700; }
.fm-st-price input { width: 90px; border: 0; outline: 0; padding: 8px 2px; font-weight: 700; }
.fm-st-quick select { min-height: 40px; border: 1.5px solid var(--fm-line); border-radius: 10px; padding: 0 8px; background: #fff; }
.fm-st-head ~ .fm-pricebar, #fm-stock .fm-pricebar { margin: 16px 0 0; border-radius: 16px; }

/* Footer */
.fm-footer { background: var(--fm-char); color: rgba(255, 255, 255, .72); padding: 60px 0 0; font-size: .94rem; }
.fm-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.fm-footer-brand img { height: 52px; width: auto; margin-bottom: 8px; }
.fm-footer-tag { font-size: .72rem; letter-spacing: .2em; color: rgba(255, 255, 255, .55); }
.fm-footer h4 { color: #fff; font-family: var(--fm-font); font-size: .95rem; margin-bottom: 14px; }
.fm-footer a { display: block; color: rgba(255, 255, 255, .72); padding: 4px 0; }
.fm-footer p a { display: inline; }
.fm-footer a:hover { color: var(--fm-orange-2); }
.fm-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.fm-social { display: flex; gap: 16px; }
.fm-wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--fm-wa); color: #fff; box-shadow: 0 10px 28px rgba(31, 184, 85, .45); transition: transform .2s var(--fm-ease); }
.fm-wa-float:hover { transform: scale(1.06); color: #fff; }
.fm-bottombar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ---------- Responsive: large tablets / small laptops ---------- */
@media (max-width: 1180px) {
	.fm-nav a { padding: 8px 10px; font-size: .92rem; }
	.fm-hero-float-a { left: -10px; }
	.fm-hero-float-b { right: -6px; }
}
@media (max-width: 1080px) {
	.fm-nav { display: none; }
	.fm-burger { display: inline-flex; }
	.fm-brands { grid-template-columns: repeat(4, 1fr); }
	.fm-grid-models.fm-grid-app { grid-template-columns: repeat(4, 1fr); }
	.fm-grid-shop { grid-template-columns: repeat(3, 1fr); }
	.fm-hero-grid { gap: 32px; }
	.fm-flow { grid-template-columns: 1fr 300px; gap: 20px; }
	.fm-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
}
/* ---------- Tablets ---------- */
@media (max-width: 900px) {
	.fm-hero { padding: 36px 0 72px; }
	.fm-hero-grid, .fm-split, .fm-product-grid, .fm-contact-grid, .fm-refurb-promo { grid-template-columns: minmax(0, 1fr); }
	.fm-hero-grid > *, .fm-split > *, .fm-product-grid > *, .fm-contact-grid > *, .fm-flow > * { min-width: 0; }
	.fm-hero-copy { max-width: 640px; }
	.fm-hero-art { width: 100%; max-width: 560px; margin: 0 auto; }
	.fm-hero-art > img, .fm-hero-placeholder { aspect-ratio: 16 / 10; border-radius: 22px; }
	.fm-hero-float-a { left: 12px; bottom: -18px; }
	.fm-hero-float-b { right: 12px; top: -16px; }
	.fm-services { margin-top: -40px; }
	.fm-services-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.fm-service { padding: 20px 18px; }
	.fm-service h3 { font-size: 1.05rem; }
	.fm-service p { font-size: .9rem; }
	.fm-steps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.fm-steps li { padding: 22px 18px; }
	.fm-trust-grid { grid-template-columns: repeat(2, 1fr); }
	.fm-grid-models { grid-template-columns: repeat(4, 1fr); gap: 12px; }
	.fm-model-img { width: 80px; height: 80px; }
	.fm-flow { grid-template-columns: 1fr; }
	.fm-summary { position: static; order: -1; padding: 16px; }
	.fm-summary .fm-summary-list { display: none; }
	.fm-summary-dev { border: 0; padding: 0; margin: 0 0 12px; }
	.fm-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.fm-footer-brand { grid-column: 1 / -1; }
	.fm-split { gap: 32px; }
	.fm-split-store .fm-split-media { order: -1; }
	.fm-product-grid { gap: 24px; }
	.fm-gallery { max-width: 560px; width: 100%; margin: 0 auto; }
	.fm-map iframe { min-height: 300px; }
}
/* ---------- Phones ---------- */
@media (max-width: 700px) {
	.fm-services-grid, .fm-steps { grid-template-columns: 1fr; }
	.fm-service { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
	.fm-service-ic { grid-row: span 3; margin: 0; }
	.fm-service h3, .fm-service p { margin-bottom: 4px; }
	.fm-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 18px; }
	.fm-steps li > .fm-ic { grid-row: span 2; margin: 2px 0 0; }
	.fm-steps h3 { margin-bottom: 2px; font-size: 1.05rem; }
	.fm-step-n { font-size: 2.2rem; top: 12px; right: 16px; }
	.fm-grid-models { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.fm-container { padding: 0 16px; }
	/* stop iOS zooming into form fields */
	input, select, textarea, .fm-field input, .fm-field select, .fm-field textarea { font-size: 16px !important; }
	.fm-topbar { font-size: .76rem; }
	.fm-topbar-inner { min-height: 32px; flex-wrap: nowrap; }
	.fm-topbar-l { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.fm-topbar-l > span { overflow: hidden; text-overflow: ellipsis; }
	.fm-topbar-r { flex: none; }
	.fm-topbar-r a:last-child { display: none; }
	.fm-header-inner { min-height: 60px; gap: 8px; }
	.fm-logo { display: inline-flex; align-items: center; min-height: 44px; }
	.fm-logo img { height: 34px; }
	.fm-hide-sm, .fm-acct-label { display: none; }
	.fm-acct { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
	.fm-lang-btn { padding: 0 10px; height: 40px; }
	.fm-burger { width: 44px; height: 44px; }
	.fm-back { min-height: 44px; }
	.fm-section { padding: 48px 0; }
	h2 { font-size: 1.55rem; }

	.fm-hero { padding: 26px 0 64px; }
	.fm-hero-grid { gap: 22px; }
	.fm-hero-art { order: 2; }
	.fm-hero-art > img, .fm-hero-placeholder { aspect-ratio: 16 / 10; border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
	.fm-hero-float { padding: 8px 12px; gap: 8px; border-radius: 12px; }
	.fm-hero-float .fm-ic { width: 30px; height: 30px; padding: 7px; border-radius: 9px; }
	.fm-hero-float strong { font-size: .8rem; }
	.fm-hero-float span { font-size: .7rem; }
	.fm-hero-float-a { left: 8px; bottom: -14px; }
	.fm-hero-float-b { right: 8px; top: auto; bottom: -14px; }
	.fm-hero-title { font-size: clamp(2rem, 9.5vw, 2.6rem); margin-bottom: 12px; }
	.fm-hero-sub { font-size: 1rem; }
	.fm-hero-search { margin: 20px 0 14px; padding: 5px 5px 5px 14px; gap: 6px; }
	.fm-hero-search > .fm-ic { width: 18px; height: 18px; }
	.fm-hero-search input { padding: 10px 2px; }
	.fm-hero-search .fm-btn { min-height: 46px; padding: 8px 16px; font-size: .92rem; }
	.fm-hero-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
	.fm-hero-cats::-webkit-scrollbar { display: none; }
	.fm-hero-cats a { flex: none; padding: 9px 14px; min-height: 44px; }
	.fm-services { margin-top: -36px; }
	.fm-trust-grid { gap: 10px; }
	.fm-trust-grid div { padding: 12px; gap: 8px; }
	.fm-trust-grid strong { font-size: .85rem; line-height: 1.25; }
	.fm-model { padding: 16px 10px; }
	.fm-model-img { width: 84px; height: 84px; }
	.fm-model strong { font-size: .92rem; }
	.fm-repair-list a { padding: 12px; }
	.fm-repair-list small { display: none; }
	.fm-refurb-promo { padding: 18px; }

	.fm-brands { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.fm-brand { min-height: 72px; font-size: .98rem; }
	.fm-grid-models.fm-grid-app { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.fm-variants { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.fm-grid-shop { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.fm-prod-body { padding: 10px 12px 14px; }
	.fm-prod-body strong { font-size: .92rem; }
	.fm-prod-price b { font-size: 1.1rem; }
	.fm-prod-price s, .fm-off { font-size: .78rem; }
	.fm-shop-bar { flex-direction: column; gap: 10px; }
	.fm-seg { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
	.fm-seg::-webkit-scrollbar { display: none; }
	.fm-seg button { flex: 1 0 auto; min-height: 40px; padding: 8px 14px; }
	.fm-shop-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
	.fm-shop-selects select { width: 100%; }
	.fm-shop-selects select[data-filter="sort"] { grid-column: 1 / -1; }
	.fm-opts, .fm-opts-3, .fm-row2, .fm-modes, .fm-buy-actions { grid-template-columns: 1fr; }
	.fm-yn { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
	.fm-yn-btns button { flex: 1; min-height: 44px; }
	.fm-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.fm-cta-inner { flex-direction: column; align-items: flex-start; }
	.fm-cta-band .fm-btn-row { width: 100%; }
	.fm-cta-band .fm-btn { flex: 1; }
	.fm-pagehead { padding: 28px 0 16px; }
	.fm-pagehead-dark { padding: 32px 0 28px; }
	.fm-card { padding: 20px 16px; }
	.fm-quote { padding: 26px 16px; }
	.fm-price { font-size: 1.9rem; }
	.fm-product-info h1 { font-size: 1.55rem; }
	.fm-chip { min-height: 40px; }
	.fm-btn-row .fm-btn { flex: 1 1 auto; }
	.fm-contact { padding: 24px 16px 48px; }

	.fm-footer { padding: 40px 0 76px; }
	.fm-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
	.fm-footer-bottom { margin-top: 26px; }
	.fm-footer a { padding: 7px 0; }

	/* WhatsApp lives in the bottom bar on phones */
	.fm-wa-float { display: none; }
	.fm-bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--fm-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(16, 24, 40, .06); }
	.fm-bottombar a { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-height: 48px; font-size: .7rem; font-weight: 700; color: var(--fm-muted); padding: 2px 0; }
	.fm-bottombar a .fm-ic { color: var(--fm-navy); }
	.fm-bb-wa { color: #128c3e !important; }
	.fm-bb-wa-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: var(--fm-wa); color: #fff; box-shadow: 0 6px 16px rgba(31, 184, 85, .4); border: 3px solid #fff; }
	.fm-wrap { padding-bottom: 96px; }
	.fm-tabs { display: flex; flex-wrap: nowrap; width: 100%; }
	.fm-tabs button { flex: 1; justify-content: center; padding: 10px 6px; min-height: 44px; }
	.fm-apphead { padding: 24px 0 20px; }
	.fm-apphead h1 { font-size: 1.6rem; }
	.fm-kv { grid-template-columns: 96px 1fr; }
	.fm-pricebar { margin: 0 -16px; bottom: calc(62px + env(safe-area-inset-bottom)); padding: 12px 16px; }
	.fm-pricebar .fm-btn { min-height: 46px; }
	.fm-sect { padding: 16px; }
	.fm-st-head { margin: 18px 0 14px; }
	.fm-st-head .fm-seg { width: 100%; }
	.fm-st-ph, .fm-st-ph img { width: calc((100vw - 32px - 34px - 20px) / 3); height: auto; }
	.fm-st-ph img { aspect-ratio: 1; }
	.fm-st-item { flex-direction: row; padding: 10px; gap: 10px; }
	.fm-st-thumb { width: 72px; height: 72px; }
	.fm-staff-item { grid-template-columns: 1fr; }
	.fm-staff-item > span:last-child { text-align: left !important; }
	.fm-modal-box { padding: 24px 16px 18px; border-radius: 18px; }
	.fm-modal { align-items: end; padding: 0; }
	.fm-modal-box { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; }
}
@media (max-width: 360px) {
	.fm-container { padding: 0 12px; }
	.fm-brands { grid-template-columns: repeat(2, 1fr); }
	.fm-hero-search .fm-btn span { font-size: .85rem; }
	.fm-hero-float-b { display: none; }
	.fm-lang-btn .fm-ic { display: none; }
	.fm-trust-grid { grid-template-columns: 1fr 1fr; }
	.fm-footer-grid { grid-template-columns: 1fr; }
	.fm-pricebar { margin: 0 -12px; }
}
/* ---------- Large screens ---------- */
@media (min-width: 1440px) {
	.fm-container { max-width: 1320px; }
	.fm-grid-models.fm-grid-app { grid-template-columns: repeat(6, 1fr); }
	.fm-grid-shop { grid-template-columns: repeat(5, 1fr); }
	.fm-brands { grid-template-columns: repeat(7, 1fr); }
}
@media (min-width: 1800px) {
	html { font-size: 17px; }
	.fm-container { max-width: 1440px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
