/* FreshBox redesign 2026-11 ("Clean & calm"). Hand-written and prefixed fbx- so it never
   collides with the Tailwind classes on older pages. No build step. */
:root {
  --fbx-green: #6fa01e; --fbx-green-bright: #8ac926; --fbx-green-dark: #5a8518; --fbx-green-deep: #3d5c0f;
  --fbx-tint: #f3f9e6; --fbx-tint-2: #e8f3d3; --fbx-line: #e3e8da; --fbx-line-strong: #cdd5bf;
  --fbx-ink: #1a2110; --fbx-ink-2: #4a5340; --fbx-ink-3: #656d5b; --fbx-bg: #ffffff; --fbx-bg-soft: #f7f9f3;
  --fbx-red: #c0392b; --fbx-red-tint: #fdf0ee; --fbx-amber: #9a6b00; --fbx-amber-tint: #fff6dd;
  --fbx-radius: 16px; --fbx-radius-sm: 12px; --fbx-radius-pill: 999px;
  --fbx-shadow: 0 1px 2px rgba(26,33,16,.06), 0 4px 14px rgba(26,33,16,.06);
  --fbx-shadow-up: 0 -2px 16px rgba(26,33,16,.10);
  --fbx-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fbx-font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --fbx-tap: 48px;
}
.fbx, .fbx * { box-sizing: border-box; }
.fbx { font-family: var(--fbx-font); color: var(--fbx-ink); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.fbx { margin: 0; background: var(--fbx-bg); min-height: 100vh; min-height: 100dvh; }
.fbx h1, .fbx h2, .fbx h3 { font-family: var(--fbx-font-head); color: var(--fbx-ink); margin: 0; letter-spacing: -.01em; }
.fbx h1 { font-size: 24px; font-weight: 800; } .fbx h2 { font-size: 20px; font-weight: 700; } .fbx h3 { font-size: 17px; font-weight: 700; }
.fbx p { margin: 0; } .fbx a { color: var(--fbx-green-dark); }
.fbx-muted { color: var(--fbx-ink-2); font-size: 17px; } .fbx-small { font-size: 14px; color: var(--fbx-ink-3); }
.fbx [hidden] { display: none !important; }

/* Buttons */
.fbx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 22px; width: 100%;
  border: 0; border-radius: var(--fbx-radius); background: var(--fbx-green); color: #fff; font: 700 18px/1 var(--fbx-font-head);
  cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; -webkit-tap-highlight-color: transparent; }
.fbx-btn:hover { background: var(--fbx-green-dark); } .fbx-btn:active { transform: scale(.985); }
.fbx-btn:focus-visible, .fbx-link:focus-visible, .fbx-back:focus-visible { outline: 3px solid var(--fbx-green-deep); outline-offset: 2px; }
.fbx-btn[disabled] { background: var(--fbx-line-strong); color: #fff; cursor: default; }
.fbx-btn--ghost { background: transparent; color: var(--fbx-green-dark); border: 1.5px solid var(--fbx-line-strong); }
.fbx-btn--ghost:hover { background: var(--fbx-tint); }
.fbx-link { background: none; border: 0; padding: 12px 8px; min-height: var(--fbx-tap); color: var(--fbx-green-dark); font: 600 16px var(--fbx-font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.fbx-link[disabled] { color: var(--fbx-ink-3); cursor: default; }
.fbx-spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; animation: fbx-spin .7s linear infinite; }
@keyframes fbx-spin { to { transform: rotate(360deg); } }

/* Fields */
.fbx-label { display: block; font: 800 22px/1.25 var(--fbx-font-head); margin-bottom: 6px; letter-spacing: -.01em; }
.fbx-field-icon { flex: none; color: var(--fbx-green-dark); display: grid; place-items: center; }
.fbx-field { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 16px; background: #fff; border: 1.5px solid var(--fbx-line-strong); border-radius: var(--fbx-radius); }
.fbx-field:focus-within { border-color: var(--fbx-green); box-shadow: 0 0 0 4px var(--fbx-tint-2); }
.fbx-field.is-bad { border-color: var(--fbx-red); box-shadow: 0 0 0 4px var(--fbx-red-tint); }
.fbx-input { flex: 1; min-width: 0; border: 0; outline: 0 !important; box-shadow: none !important; background: transparent; font: 600 20px var(--fbx-font); color: var(--fbx-ink); padding: 14px 0; }
.fbx-input::placeholder { color: #a3aa98; font-weight: 500; }
.fbx-error { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: var(--fbx-radius-sm); background: var(--fbx-red-tint); color: #8f2a1f; font-weight: 600; font-size: 15px; }
.fbx-card { background: var(--fbx-tint); border: 1px solid var(--fbx-tint-2); border-radius: var(--fbx-radius); padding: 16px; }

/* Screen with a top bar (phone) that becomes a centred dialog on wide screens */
.fbx-screen { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #fff; }
.fbx-topbar { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 4px; background: var(--fbx-tint); min-height: 60px; }
.fbx-topbar h1 { font-size: 22px; color: var(--fbx-green-deep); }
.fbx-back { width: var(--fbx-tap); height: var(--fbx-tap); display: grid; place-items: center; border-radius: 50%; color: var(--fbx-green-deep); text-decoration: none; }
.fbx-back:hover { background: var(--fbx-tint-2); }
.fbx-body { padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.fbx-foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--fbx-line); background: #fff; position: sticky; bottom: 0; }
@media (min-width: 700px) {
  body.fbx--dialog { background: rgba(26,33,16,.55); display: grid; place-items: center; padding: 32px 16px; }
  body.fbx--dialog .fbx-screen { min-height: 0; width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
  body.fbx--dialog .fbx-body { padding: 28px 28px 24px; font-size: 18px; }
  body.fbx--dialog .fbx-topbar { padding: 12px 20px 12px 12px; } body.fbx--dialog .fbx-topbar h1 { font-size: 26px; }
  body.fbx--dialog .fbx-foot { padding: 16px 28px 24px; position: static; }
}

/* Six-box code entry drawn behind one real input (paste and SMS autofill keep working) */
.fbx-code { position: relative; height: 64px; }
.fbx-code-boxes { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; pointer-events: none; }
.fbx-code-boxes span { display: grid; place-items: center; border: 1.5px solid var(--fbx-line-strong); border-radius: var(--fbx-radius-sm); background: #fff; font: 700 26px var(--fbx-font-head); }
.fbx-code-boxes span.is-next { border-color: var(--fbx-green); box-shadow: 0 0 0 4px var(--fbx-tint-2); }
.fbx-code.is-bad .fbx-code-boxes span { border-color: var(--fbx-red); }
.fbx-code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 26px; border: 0; background: transparent; caret-color: transparent; }
@media (prefers-reduced-motion: reduce) { .fbx *, .fbx *::before, .fbx *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* "+" and "− 1 +" on product cards */
.fbx-add { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; font-family: var(--fbx-font); }
.fbx-add [hidden] { display: none !important; }
.fbx-add-plus { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fbx-green-dark); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 6px rgba(61,92,15,.3); -webkit-tap-highlight-color: transparent; transition: transform .08s, background .15s; padding: 0; }
.fbx-add-plus:hover { background: var(--fbx-green-deep); } .fbx-add-plus:active { transform: scale(.92); }
.fbx-stepper { display: inline-flex; align-items: center; height: 44px; border-radius: var(--fbx-radius-pill); background: var(--fbx-green-dark); color: #fff; box-shadow: 0 2px 6px rgba(61,92,15,.3); }
.fbx-stepper button { width: 40px; height: 44px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; border-radius: var(--fbx-radius-pill); -webkit-tap-highlight-color: transparent; }
.fbx-stepper button:active { background: rgba(255,255,255,.2); }
.fbx-stepper span { min-width: 26px; text-align: center; font: 700 17px var(--fbx-font-head); color: #fff; }
.fbx-add--lg .fbx-add-plus { width: 100%; height: 56px; border-radius: var(--fbx-radius); }
.fbx-add--lg .fbx-stepper { height: 56px; width: 100%; justify-content: space-between; border-radius: var(--fbx-radius); }
.fbx-add--lg .fbx-stepper button { width: 64px; height: 56px; }
.fbx-add-plus:focus-visible, .fbx-stepper button:focus-visible { outline: 3px solid var(--fbx-green-deep); outline-offset: 2px; }

/* Floating basket pill */
.fbx-pill { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom) + var(--fbx-tabbar-h, 0px));
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 18px 8px 10px; border-radius: var(--fbx-radius-pill);
  background: #26340f; color: #fff !important; text-decoration: none; box-shadow: 0 8px 24px rgba(26,33,16,.35); font: 700 17px var(--fbx-font-head); }
.fbx-pill[hidden] { display: none; }
.fbx-pill-count { flex: none; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; background: var(--fbx-green-bright); color: #1a2110; display: grid; place-items: center; font-size: 16px; }
.fbx-pill-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbx-pill-go { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--fbx-green-bright); font-size: 16px; }
body.fbx-has-pill { padding-bottom: calc(84px + var(--fbx-tabbar-h, 0px)); }
@media (min-width: 700px) { .fbx-pill { left: auto; right: 24px; bottom: 24px; min-width: 360px; } }
@media (max-width: 359px) { .fbx-pill-go svg { display: none; } .fbx-pill { font-size: 15px; padding-right: 12px; } }

/* Small message at the bottom of the screen */
.fbx-toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(150px + env(safe-area-inset-bottom)); max-width: min(92vw, 420px);
  padding: 12px 18px; border-radius: 14px; background: #1a2110; color: #fff; font: 600 15px var(--fbx-font); box-shadow: 0 8px 24px rgba(0,0,0,.3); text-align: center; }
.fbx-toast[hidden] { display: none; }

/* ---------- "Speak your order" (movement chosen 14 Nov) ---------- */
.vx-bar, .vx-pill { position: relative; overflow: hidden; display: flex; align-items: center; background: var(--fbx-green); color: #fff; border: 0; cursor: pointer; text-align: left;
  font-family: var(--fbx-font); -webkit-tap-highlight-color: transparent; box-shadow: 0 4px 14px rgba(90,133,24,.35); transition: background .15s, transform .06s; }
.vx-bar:hover, .vx-pill:hover { background: var(--fbx-green-dark); } .vx-bar:active, .vx-pill:active { transform: scale(.99); }
.vx-bar:focus-visible, .vx-pill:focus-visible, .fbx-tab:focus-visible { outline: 3px solid var(--fbx-green-deep); outline-offset: 2px; }
.vx-bar { gap: 14px; border-radius: 18px; padding: 12px 16px; min-height: 76px; width: 100%; }
.vx-pill { display: inline-flex; gap: 12px; border-radius: 999px; padding: 6px 22px 6px 6px; height: 56px; flex: none; }
.vx-mic { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--fbx-green-dark); display: grid; place-items: center; }
.vx-pill .vx-mic { width: 44px; height: 44px; }
.vx-mic svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.vx-txt { min-width: 0; flex: 1; display: block; }
.vx-txt b { display: block; font: 800 19px/1.2 var(--fbx-font-head); white-space: nowrap; color: #fff; }
.vx-pill .vx-txt { width: 218px; flex: none; } .vx-pill .vx-txt b { font-size: 18px; }
.vx-pulse::before, .vx-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: vxPulse 2.2s ease-out infinite; pointer-events: none; }
.vx-pulse::after { animation-delay: 1.1s; }
@keyframes vxPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
.vx-tick { position: relative; display: block; height: 1.5em; overflow: hidden; font-size: 14px; color: #fff; }
.vx-tick span { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateX(110%); opacity: 0; animation: vxSlide 9s ease-in-out infinite; }
.vx-tick span:nth-child(2) { animation-delay: 3s; } .vx-tick span:nth-child(3) { animation-delay: 6s; }
@keyframes vxSlide { 0% { transform: translateX(110%); opacity: 0; } 6% { transform: translateX(0); opacity: 1; } 28% { transform: translateX(0); opacity: 1; } 34% { transform: translateX(-110%); opacity: 0; } 100% { transform: translateX(-110%); opacity: 0; } }
.vx-wave { display: flex; align-items: center; gap: 3px; height: 30px; flex: none; color: #fff; }
.vx-wave i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform: scaleY(.3); animation: vxWave 1.1s ease-in-out infinite; }
.vx-wave i:nth-child(2) { animation-delay: .15s; } .vx-wave i:nth-child(3) { animation-delay: .3s; } .vx-wave i:nth-child(4) { animation-delay: .45s; } .vx-wave i:nth-child(5) { animation-delay: .6s; }
@keyframes vxWave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .vx-pulse::before, .vx-pulse::after, .vx-wave i, .vx-tick span { animation: none !important; } .vx-tick span:first-child { transform: none; opacity: 1; } }

/* ---------- Header ---------- */
.fbx-header { background: #fff; border-bottom: 1px solid var(--fbx-line); position: sticky; top: 0; z-index: 40; }
.fbx-header-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 60px; max-width: 1440px; margin: 0 auto; }
.fbx-logo { flex: none; display: none; } .fbx-logo img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.fbx-deliver { display: flex; align-items: center; gap: 8px; min-height: var(--fbx-tap); padding: 4px 8px 4px 4px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--fbx-green-dark); min-width: 0; text-align: left; font-family: var(--fbx-font); }
.fbx-deliver:hover { background: var(--fbx-tint); }
.fbx-deliver-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.fbx-deliver-text small { font-size: 13px; color: var(--fbx-ink-3); font-weight: 500; }
.fbx-deliver-text b { font: 700 16px var(--fbx-font-head); color: var(--fbx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.fbx-header-gap { flex: 1; }
.fbx-account { display: inline-flex; align-items: center; gap: 8px; min-height: var(--fbx-tap); padding: 0 6px; border-radius: 12px; text-decoration: none; color: var(--fbx-ink) !important; font: 600 15px var(--fbx-font); white-space: nowrap; flex: none; }
.fbx-account:hover { background: var(--fbx-tint); }
.fbx-account--guest { color: var(--fbx-green-dark) !important; font-weight: 700; padding: 0 10px; border: 1.5px solid var(--fbx-line-strong); }
.fbx-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--fbx-tint-2); color: var(--fbx-green-deep); display: grid; place-items: center; font: 800 17px var(--fbx-font-head); }
.fbx-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: var(--fbx-bg-soft); border: 1.5px solid var(--fbx-line); border-radius: 14px; color: var(--fbx-ink-3); min-width: 0; margin: 0; }
.fbx-search:focus-within { border-color: var(--fbx-green); background: #fff; box-shadow: 0 0 0 4px var(--fbx-tint-2); }
.fbx-search input { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; font: 500 17px var(--fbx-font); color: var(--fbx-ink); padding: 0; height: 100%; -webkit-appearance: none; appearance: none; }
.fbx-search input::placeholder { color: var(--fbx-ink-3); }
.fbx-search--row { margin: 0 12px 10px; }
.fbx-header-basket { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-radius: 14px; background: #26340f; color: #fff !important; text-decoration: none; font: 700 16px var(--fbx-font-head); white-space: nowrap; flex: none; }
.fbx-header-basket:hover { background: #1a2110; }
.fbx-only-wide { display: none !important; }
@media (min-width: 1024px) {
  .fbx-only-wide { display: inline-flex !important; } .fbx-only-narrow { display: none !important; }
  .fbx-logo { display: block; } .fbx-header-row { gap: 16px; padding: 12px 24px; min-height: 80px; }
  .fbx-header .fbx-search { flex: 1; height: 56px; } .fbx-header-gap { display: none; }
  .fbx-deliver-text b { max-width: 200px; }
}

/* ---------- Phone / tablet tab bar ---------- */
:root { --fbx-tabbar-h: 0px; }
.fbx-tabbar { position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: #fff; border-top: 1px solid var(--fbx-line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: var(--fbx-shadow-up); }
.fbx-tab { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-height: 52px; padding: 4px 2px; border: 0; background: transparent; border-radius: 14px; cursor: pointer;
  color: var(--fbx-ink-2) !important; text-decoration: none; font: 600 12.500px var(--fbx-font); -webkit-tap-highlight-color: transparent; }
.fbx-tab svg { width: 26px; height: 26px; }
.fbx-tab.is-on { color: var(--fbx-green-deep) !important; background: var(--fbx-tint-2); font-weight: 700; }
.fbx-tab--speak { color: var(--fbx-ink) !important; font-weight: 700; }
.fbx-tab-mic { position: relative; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; background: var(--fbx-green-dark); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(61,92,15,.45); border: 4px solid #fff; }
.fbx-tab-mic svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.fbx-tab-mic.vx-pulse::before, .fbx-tab-mic.vx-pulse::after { border-color: var(--fbx-green-bright); }
@media (max-width: 1023.980px) { :root { --fbx-tabbar-h: 68px; } body.fbx-shell { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .fbx-tabbar { display: none; } }
.fbx-choose { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--fbx-green-dark); color: var(--fbx-green-dark); font: 700 14px var(--fbx-font); text-decoration: none; white-space: nowrap; }

/* ---------- Pages in the new design ---------- */
.fbx-page { max-width: 1100px; margin: 0 auto; padding: 0 12px 24px; background: transparent; }
.fbx-pagehead { display: flex; align-items: center; gap: 6px; padding: 12px 0 10px; }
.fbx-pagehead h1 { font-size: 26px; color: var(--fbx-green-deep); } .fbx-pagehead .fbx-muted { font-size: 15px; }
.fbx-note { text-align: center; color: var(--fbx-ink-2); margin: 18px 0 0; font-size: 16px; }
.fbx-hint { background: var(--fbx-amber-tint); color: #6b4a00; border-radius: 12px; padding: 10px 12px; font-size: 15px; font-weight: 600; margin: 0 0 12px; }

/* Basket */
.fbx-basket-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .fbx-basket-grid { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); align-items: start; } }
.fbx-shop { background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); overflow: hidden; box-shadow: var(--fbx-shadow); }
.fbx-shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--fbx-tint); border-bottom: 1px solid var(--fbx-tint-2); }
.fbx-shop-head h2 { font-size: 20px; } .fbx-shop-head span { color: var(--fbx-ink-2); font-weight: 600; white-space: nowrap; }
.fbx-lines { list-style: none; margin: 0; padding: 0; }
.fbx-line { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--fbx-line); }
.fbx-line-img { flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--fbx-bg-soft); overflow: hidden; display: grid; place-items: center; }
.fbx-line-img img { width: 100%; height: 100%; object-fit: contain; }
.fbx-line-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fbx-line-text b { font: 700 16px/1.3 var(--fbx-font-head); color: var(--fbx-ink); overflow-wrap: anywhere; }
.fbx-line-text span { color: var(--fbx-ink-2); font-size: 14px; }
.fbx-line-text .fbx-price { color: var(--fbx-green-dark); font-weight: 700; font-size: 16px; } .fbx-price small { color: var(--fbx-ink-3); font-weight: 500; font-size: 13px; }
.fbx-line.is-off { opacity: .7; } .fbx-off-note { color: var(--fbx-red) !important; font-weight: 600; }
.fbx-shop-foot { padding: 14px 16px 16px; background: var(--fbx-bg-soft); }
.fbx-totals { margin: 0 0 12px; display: grid; gap: 6px; }
.fbx-totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; color: var(--fbx-ink-2); }
.fbx-totals dt, .fbx-totals dd { margin: 0; } .fbx-totals dd { font-weight: 600; color: var(--fbx-ink); }
.fbx-totals .is-total { font: 800 20px var(--fbx-font-head); color: var(--fbx-ink); padding-top: 8px; border-top: 1px dashed var(--fbx-line-strong); } .fbx-totals .is-total dd { font-weight: 800; }
.fbx-more { width: 100%; justify-content: center; margin-top: 4px; }
.fbx-shop-foot .fbx-btn { height: auto; min-height: 56px; padding: 10px 16px; text-align: center; line-height: 1.25; }
.fbx-forgot { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 18px; padding: 14px 16px; border: 0; border-radius: var(--fbx-radius); background: var(--fbx-tint-2); color: var(--fbx-green-deep); cursor: pointer; text-align: left; font-family: var(--fbx-font); }
.fbx-forgot > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .fbx-forgot b { font: 700 17px var(--fbx-font-head); color: var(--fbx-ink); } .fbx-forgot small { font-size: 14px; color: var(--fbx-ink-2); }
.fbx-forgot-mic { width: 48px; height: 48px; border-radius: 50%; background: var(--fbx-green-dark); color: #fff; display: grid; place-items: center; flex: none; }
.fbx-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 28px 8px; max-width: 460px; margin: 0 auto; }
.fbx-empty-icon { width: 88px; height: 88px; border-radius: 50%; background: var(--fbx-tint-2); color: var(--fbx-green-dark); display: grid; place-items: center; }

/* fixes after the first screenshots */
.fbx a.fbx-btn, a.fbx-btn { color: #fff; } .fbx a.fbx-btn--ghost { color: var(--fbx-green-dark); }
.fbx-deliver { flex: 0 1 auto; } .fbx-deliver-text b { max-width: calc(100vw - 215px); }
@media (max-width: 1023.980px) { .fbx-pill { bottom: calc(22px + env(safe-area-inset-bottom) + var(--fbx-tabbar-h)); } }
.fb-card div:has(> .fbx-add), .fb-card div:has(> .fbx-choose) { flex-wrap: wrap; row-gap: 6px; }
.fb-card .fbx-add, .fb-card .fbx-choose { margin-left: auto; }
.fbx-add-plus { border-radius: 50% !important; } .fbx-stepper, .fbx-stepper button { border-radius: 999px !important; }
@media (max-width: 1023.980px) { .fbx-header-row { gap: 6px; padding: 8px 10px; } .fbx-account--guest { padding: 0 8px; gap: 5px; } .fbx-deliver { gap: 6px; padding-right: 4px; } .fbx-deliver-text b { max-width: calc(100vw - 196px); font-size: 15.500px; } }

/* ---------- Sheets (bottom sheet on a phone, dialog on wide screens) ---------- */
.fbx-sheet-wrap { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.fbx-sheet-wrap[hidden] { display: none; }
.fbx-sheet-dim { position: absolute; inset: 0; background: rgba(26,33,16,.55); }
.fbx-sheet { position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0;
  padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 40px rgba(0,0,0,.25); animation: fbxUp .22s ease-out; }
@keyframes fbxUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.fbx-sheet h2 { font-size: 22px; padding-right: 44px; }
.fbx-sheet-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--fbx-bg-soft); color: var(--fbx-ink-2); display: grid; place-items: center; cursor: pointer; }
.fbx-sheet-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 12px; }
.fbx-sheet-actions .fbx-btn { padding: 0 12px; }
[data-loc-step="outside"] .fbx-sheet-actions { grid-template-columns: 1fr; }
.fbx-loc-skip { width: 100%; justify-content: center; margin-top: 8px; }
.fbx-loc-search { height: 56px; background: #fff; border-color: var(--fbx-line-strong); }
.fbx-loc-saved { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fbx-loc-saved button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-height: 56px; border: 1.500px solid var(--fbx-line); border-radius: 14px; background: #fff; cursor: pointer; font-family: var(--fbx-font); }
.fbx-loc-saved button:hover { border-color: var(--fbx-green); background: var(--fbx-tint); }
.fbx-loc-saved b { font: 700 16px var(--fbx-font-head); color: var(--fbx-ink); } .fbx-loc-saved span { font-size: 14px; color: var(--fbx-ink-2); }
.fbx-map { position: relative; height: min(46vh, 380px); border-radius: 16px; overflow: hidden; background: #e9efe0; border: 1px solid var(--fbx-line); }
.fbx-map-canvas { position: absolute; inset: 0; } .fbx-map-canvas[hidden] { display: none; }
.fbx-map-plain { position: absolute; inset: 0; display: grid; place-items: end center; padding: 16px; text-align: center; color: var(--fbx-ink-2); font-weight: 600; }
.fbx-map-plain[hidden] { display: none; }
.fbx-map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); z-index: 2; }
.pac-container { z-index: 80 !important; border-radius: 12px; font-family: var(--fbx-font); }
.pac-item { padding: 10px 12px; font-size: 15px; cursor: pointer; }
@media (min-width: 700px) { .fbx-sheet-wrap { align-items: center; } .fbx-sheet { border-radius: 24px; padding: 28px; } }

/* ---------- Confirm your order ---------- */
.fbx-confirm { padding-bottom: 120px; }
.fbx-confirm-grid { display: grid; gap: 14px; }
.fbx-confirm-main { display: grid; gap: 14px; align-content: start; }
.fbx-block { background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); padding: 16px; box-shadow: var(--fbx-shadow); }
.fbx-block h2 { font-size: 20px; }
.fbx-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fbx-place { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; color: var(--fbx-ink); } .fbx-place svg { flex: none; color: var(--fbx-green-dark); margin-top: 2px; }
.fbx-choices { display: grid; gap: 8px; margin-top: 10px; }
.fbx-choice { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border: 1.500px solid var(--fbx-line-strong); border-radius: 14px; cursor: pointer; background: #fff; }
.fbx-choice:has(input:checked) { border-color: var(--fbx-green); background: var(--fbx-tint); box-shadow: 0 0 0 3px var(--fbx-tint-2); }
.fbx-choice input { width: 22px; height: 22px; accent-color: var(--fbx-green-dark); flex: none; margin: 0; }
.fbx-choice-body { flex: 1; min-width: 0; display: flex; flex-direction: column; } .fbx-choice-body b { font: 700 17px var(--fbx-font-head); color: var(--fbx-ink); } .fbx-choice-body small { font-size: 14px; color: var(--fbx-ink-2); }
.fbx-choice-side { font-weight: 700; color: var(--fbx-ink); white-space: nowrap; }
.fbx-choice.is-off { opacity: .6; cursor: default; background: var(--fbx-bg-soft); }
.fbx-choice-more { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; padding: 4px 4px 8px 48px; }
.fbx-choice-more[hidden] { display: none; }
.fbx-select { width: 100%; min-height: 48px; padding: 0 12px; border: 1.500px solid var(--fbx-line-strong); border-radius: 12px; background: #fff; font: 600 16px var(--fbx-font); color: var(--fbx-ink); }
.fbx-check { display: flex; align-items: center; gap: 12px; min-height: 52px; margin-top: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.fbx-check input { width: 22px; height: 22px; accent-color: var(--fbx-green-dark); margin: 0; } .fbx-check small { color: var(--fbx-ink-3); font-weight: 500; }
.fbx-promo { margin-top: 10px; } .fbx-promo summary { cursor: pointer; color: var(--fbx-green-dark); font-weight: 700; min-height: 44px; display: flex; align-items: center; list-style: none; } .fbx-promo summary::-webkit-details-marker { display: none; }
.fbx-promo-row { display: flex; gap: 8px; align-items: stretch; }
.fbx-mini-lines { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.fbx-mini-lines li { display: flex; gap: 8px; font-size: 16px; align-items: baseline; }
.fbx-mini-qty { color: var(--fbx-ink-3); font-weight: 600; white-space: nowrap; } .fbx-mini-name { flex: 1; min-width: 0; overflow-wrap: anywhere; } .fbx-mini-name small { color: var(--fbx-ink-3); } .fbx-mini-price { font-weight: 600; white-space: nowrap; }
.fbx-confirm-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: #fff; border-top: 1px solid var(--fbx-line); padding: 12px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: var(--fbx-shadow-up); }
.fbx-confirm-cta .fbx-btn { min-height: 60px; font-size: 19px; }
body.fbx-shell:has(.fbx-confirm) { padding-bottom: 0; }
@media (min-width: 900px) {
  .fbx-confirm { padding-bottom: 32px; } .fbx-confirm-grid { grid-template-columns: minmax(0, 1.300fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
  .fbx-confirm-side { position: sticky; top: 96px; display: grid; gap: 14px; }
  .fbx-confirm-cta { position: static; border: 0; padding: 0; box-shadow: none; background: transparent; }
  .fbx-block { padding: 20px; } .fbx-block h2 { font-size: 22px; } .fbx-confirm { font-size: 18px; }
}

/* ---------- Order placed ---------- */
.fbx-placed { max-width: 560px; padding-top: 20px; display: grid; gap: 16px; }
.fbx-placed-top { text-align: center; display: grid; gap: 6px; justify-items: center; }
.fbx-tick { width: 88px; height: 88px; border-radius: 50%; background: var(--fbx-green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px var(--fbx-tint-2); margin-bottom: 10px; }
.fbx-placed h1 { font-size: 30px; } .fbx-placed-ur { font-size: 20px; color: var(--fbx-green-dark); font-weight: 700; }
.fbx-facts { margin: 0; display: grid; gap: 0; }
.fbx-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--fbx-line); } .fbx-facts div:last-child { border-bottom: 0; padding-bottom: 0; } .fbx-facts div:first-child { padding-top: 0; }
.fbx-facts dt { color: var(--fbx-ink-3); font-size: 15px; } .fbx-facts dd { margin: 0; font-weight: 700; font-size: 17px; overflow-wrap: anywhere; } .fbx-facts dd small { display: block; font-weight: 500; color: var(--fbx-ink-2); font-size: 14px; }
.fbx-placed-actions { display: grid; gap: 10px; }
.fbx-confirm-grid > *, .fbx-confirm-main > *, .fbx-confirm-side > *, .fbx-basket-grid > * { min-width: 0; }
.fbx-promo-row .fbx-field { min-width: 0; } .fbx-promo-row .fbx-btn { flex: none; padding: 0 16px; }
.fbx-page { overflow-x: clip; }
.fbx-choice input[type="radio"], .fbx-check input[type="checkbox"] { accent-color: var(--fbx-green-dark) !important; color: var(--fbx-green-dark) !important; }
.fbx-choice input[type="radio"]:focus, .fbx-check input:focus { outline: 3px solid var(--fbx-green-deep); outline-offset: 2px; box-shadow: none !important; }

/* ---------- Home ---------- */
.fbx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fbx-home { max-width: 1440px; margin: 0 auto; padding: 10px 12px 8px; display: grid; gap: 14px; overflow-x: clip; }
.fbx-home > * { min-width: 0; }
.fbx-home-line { font-size: 15px; color: var(--fbx-ink-2); margin: -4px 2px 0; }
.fbx-scroll { display: flex; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -12px; padding: 4px 12px 10px; scroll-padding: 0 12px; }
.fbx-scroll::-webkit-scrollbar { display: none; }
.fbx-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.fbx-sec-head h2 { font-size: 21px; } .fbx-sec-head a { font-weight: 700; font-size: 15px; text-decoration: none; padding: 8px 0; white-space: nowrap; }

/* Banners: one fixed shape, whatever the picture */
.fbx-slider { position: relative; }
.fbx-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; background: var(--fbx-tint); }
.fbx-slides::-webkit-scrollbar { display: none; }
.fbx-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; aspect-ratio: 2.400; }
.fbx-slide img, .fbx-banner-side img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fbx-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.fbx-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--fbx-line-strong); transition: width .2s, background .2s; } .fbx-dots i.is-on { width: 20px; border-radius: 4px; background: var(--fbx-green); }
.fbx-banner-side { display: none; }

/* Round store shortcuts */
.fbx-stores { gap: 14px; }
.fbx-store { flex: none; width: 84px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; }
.fbx-store span { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--fbx-tint); border: 2px solid var(--fbx-tint-2); display: block; }
.fbx-store img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fbx-store b { font: 600 13.500px/1.2 var(--fbx-font); color: var(--fbx-ink); }

/* Product cards and sideways rows */
.fbx-row { gap: 10px; }
.fbx-row .fbx-card { flex: none; width: 156px; scroll-snap-align: start; }
.fbx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fbx-line); border-radius: 16px; padding: 10px; box-shadow: var(--fbx-shadow); min-width: 0; }
.fbx-card-img { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; background: var(--fbx-bg-soft); overflow: hidden; margin-bottom: 8px; }
.fbx-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fbx-card-off { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--fbx-red); color: #fff; font: 700 12px var(--fbx-font); }
.fbx-card-name { font: 600 15px/1.3 var(--fbx-font); color: var(--fbx-ink) !important; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.600em; }
.fbx-card-shop { font-size: 12.500px; color: var(--fbx-ink-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbx-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; min-height: 52px; }
.fbx-card-price { font: 800 16px var(--fbx-font-head); color: var(--fbx-ink); display: flex; flex-direction: column; line-height: 1.15; } .fbx-card-price s { font: 500 12px var(--fbx-font); color: var(--fbx-ink-3); }
.fbx-card .fbx-stepper button { width: 34px; } .fbx-card .fbx-stepper span { min-width: 20px; }
.fbx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* Category chips, order again */
.fbx-chips { gap: 8px; }
.fbx-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; border: 1.500px solid var(--fbx-line); color: var(--fbx-ink) !important; font: 600 15px var(--fbx-font); text-decoration: none; white-space: nowrap; }
.fbx-chip img { width: 28px; height: 28px; object-fit: contain; } .fbx-chip:hover { border-color: var(--fbx-green); background: var(--fbx-tint); }
.fbx-again { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.fbx-again-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--fbx-tint); border: 1px solid var(--fbx-tint-2); text-decoration: none; }
.fbx-again-card b { font: 700 17px var(--fbx-font-head); color: var(--fbx-ink); } .fbx-again-card span { color: var(--fbx-ink-2); font-size: 14px; } .fbx-again-card em { font-style: normal; font-weight: 700; margin-top: 6px; }

@media (min-width: 700px) {
  .fbx-home { padding: 16px 24px; gap: 20px; } .fbx-scroll { margin: 0 -24px; padding-left: 24px; padding-right: 24px; scroll-padding: 0 24px; }
  .fbx-row .fbx-card { width: 180px; } .fbx-store { width: 104px; } .fbx-store span { width: 104px; height: 104px; } .fbx-store b { font-size: 15px; }
  .fbx-sec-head h2 { font-size: 24px; } .fbx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1024px) {
  .fbx-home-line { font-size: 17px; margin-top: 0; }
  .fbx-banners.has-side { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
  .fbx-banner-side { display: grid; gap: 16px; } .fbx-banner-side a { display: block; aspect-ratio: 2.400; border-radius: 18px; overflow: hidden; background: var(--fbx-tint); }
  .fbx-banners.has-side .fbx-dots { margin-top: 10px; }
  .fbx-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 4px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .fbx-row .fbx-card { width: auto; } .fbx-row .fbx-card:nth-child(n+13) { display: none; }
  .fbx-stores { flex-wrap: wrap; overflow: visible; margin: 0; padding: 4px 0 0; gap: 22px; }
  .fbx-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 4px 0 0; }
  .fbx-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.fbx-add--lg .fbx-add-plus { gap: 10px; font: 700 18px var(--fbx-font-head); color: #fff; border-radius: var(--fbx-radius) !important; padding: 0 18px; }
.fbx-add--lg .fbx-stepper { border-radius: var(--fbx-radius) !important; } .fbx-add--lg .fbx-stepper span { font-size: 20px; }
.fbx-add-label { white-space: nowrap; }
.fbx-add--lg .fbx-add-plus { display: flex; align-items: center; justify-content: center; }

/* ---------- Stores ---------- */
.fbx-stores-page { display: grid; gap: 18px; }
.fbx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fbx-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fbx-line); border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: var(--fbx-shadow); }
.fbx-tile-img { display: block; aspect-ratio: 4 / 3; background: var(--fbx-tint); } .fbx-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fbx-tile b { padding: 10px 12px 12px; font: 700 16px/1.25 var(--fbx-font-head); color: var(--fbx-ink); min-height: 3.300em; display: flex; align-items: center; }
.fbx-tile:hover, .fbx-shopcard:hover { border-color: var(--fbx-green); }
.fbx-shops { display: grid; gap: 10px; }
.fbx-shopcard { display: flex; align-items: center; gap: 14px; padding: 12px; min-height: 96px; background: #fff; border: 1px solid var(--fbx-line); border-radius: 16px; text-decoration: none; box-shadow: var(--fbx-shadow); color: var(--fbx-ink-3); }
.fbx-shopcard-img { flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--fbx-bg-soft); } .fbx-shopcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fbx-shopcard-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fbx-shopcard-text b { font: 700 18px/1.25 var(--fbx-font-head); color: var(--fbx-ink); } .fbx-shopcard-text small { font-size: 14px; color: var(--fbx-ink-2); }
.fbx-shopcard-text em { font-style: normal; align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--fbx-tint-2); color: var(--fbx-green-deep); font-size: 13px; font-weight: 700; }
.fbx-shopcard.is-soon { opacity: .7; } .fbx-soon { color: var(--fbx-amber) !important; font-weight: 700; }
@media (min-width: 700px) { .fbx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .fbx-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .fbx-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fbx-shops { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fbx-page { padding-left: 24px; padding-right: 24px; max-width: 1280px; } }

/* ---------- Shop and category pages ---------- */
.fbx-shoppage { display: grid; gap: 14px; padding-top: 10px; } .fbx-shoppage > * { min-width: 0; }
.fbx-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--fbx-ink-3); } .fbx-crumbs a { text-decoration: none; font-weight: 600; } .fbx-crumbs [aria-current] { color: var(--fbx-ink); font-weight: 600; }
.fbx-shophead { display: flex; align-items: center; gap: 12px; }
.fbx-shophead img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 1px solid var(--fbx-line); flex: none; background: #fff; }
.fbx-shophead h1 { font-size: 24px; } .fbx-shophead p { font-size: 14px; color: var(--fbx-ink-2); }
.fbx-shophead-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 4px !important; }
.fbx-shophead-meta span { font-weight: 600; color: var(--fbx-ink); } .fbx-shophead-meta em { font-style: normal; padding: 2px 10px; border-radius: 999px; background: var(--fbx-tint-2); color: var(--fbx-green-deep); font-size: 13px; font-weight: 700; }
.fbx-catbar { position: sticky; top: var(--fbx-header-h, 126px); z-index: 30; background: var(--fbx-bg-page, #f9fafb); margin: 0 -12px; padding: 6px 12px 0; }
.fbx-catbar .fbx-scroll { padding-bottom: 8px; }
.fbx-chip.is-on { background: var(--fbx-green-dark); border-color: var(--fbx-green-dark); color: #fff !important; }
.fbx-tiles--cats .fbx-tile-img img { object-fit: contain; padding: 8px; }
.fbx-tiles--cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fbx-tiles--cats .fbx-tile b { font-size: 14px; padding: 8px 8px 10px; min-height: 3.100em; }
.fbx-grid-head { grid-column: 1 / -1; font: 700 19px var(--fbx-font-head); color: var(--fbx-ink); margin: 10px 0 0; scroll-margin-top: 200px; }
.fbx-grid--shop { align-items: stretch; }
@media (min-width: 700px) { .fbx-tiles--cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fbx-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fbx-catbar { top: 80px; margin: 0 -24px; padding: 8px 24px 0; } .fbx-tiles--cats { grid-template-columns: repeat(7, minmax(0, 1fr)); } .fbx-grid--shop { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } .fbx-shophead h1 { font-size: 28px; } }

/* ---------- Voice window, in the new look (the window itself is the existing one) ---------- */
#fbvOverlay { font-family: var(--fbx-font); z-index: 80; }
#fbvOverlay .fbv-sheet { border-radius: 24px 24px 0 0; }
#fbvOverlay .fbv-head h3 { font: 800 22px var(--fbx-font-head); color: var(--fbx-green-deep); }
#fbvOverlay .fbv-x { width: 44px; height: 44px; border-radius: 50%; font-size: 26px; background: var(--fbx-bg-soft); color: var(--fbx-ink-2); }
#fbvOverlay .fbv-bigmic { width: 112px; height: 112px; background: var(--fbx-green-dark); box-shadow: 0 0 0 10px var(--fbx-tint-2); }
#fbvOverlay .fbv-hint { font-size: 17px; color: var(--fbx-ink); } #fbvOverlay .fbv-hint-ur { font-size: 18px; color: var(--fbx-green-dark); font-weight: 700; }
#fbvOverlay .fbv-example { font-size: 16px; border-radius: 14px; background: var(--fbx-tint); border-color: var(--fbx-tint-2); color: var(--fbx-ink-2); }
#fbvOverlay .fbv-link { color: var(--fbx-green-dark); font-size: 16px; font-weight: 700; min-height: 44px; }
#fbvOverlay .fbv-btn { min-height: 56px; border-radius: 16px; font: 700 17px var(--fbx-font-head); }
#fbvOverlay .fbv-btn-primary { background: var(--fbx-green); color: #fff; } #fbvOverlay .fbv-btn-primary:hover { background: var(--fbx-green-dark); }
#fbvOverlay .fbv-btn-primary[disabled] { background: var(--fbx-line-strong); }
#fbvOverlay .fbv-btn-light { background: #fff; border: 1.500px solid var(--fbx-line-strong); color: var(--fbx-green-dark); }
#fbvOverlay .fbv-name { font: 700 16px/1.3 var(--fbx-font-head); color: var(--fbx-ink); } #fbvOverlay .fbv-sub { font-size: 14px; color: var(--fbx-ink-2); }
#fbvOverlay .fbv-price { font: 800 16px var(--fbx-font-head); color: var(--fbx-ink); }
#fbvOverlay .fbv-chk { width: 26px; height: 26px; accent-color: var(--fbx-green-dark); color: var(--fbx-green-dark); border-radius: 8px; }
#fbvOverlay .fbv-img { width: 60px; height: 60px; border-radius: 12px; background: var(--fbx-bg-soft); }
#fbvOverlay .fbv-step { background: var(--fbx-green-dark); border-radius: 999px; color: #fff; }
#fbvOverlay .fbv-step button { width: 40px; height: 40px; background: transparent; color: #fff; font-size: 20px; border-radius: 999px; }
#fbvOverlay .fbv-step button[disabled] { opacity: .45; } #fbvOverlay .fbv-step span { color: #fff; font-weight: 700; min-width: 24px; text-align: center; }
#fbvOverlay .fbv-textarea { font-size: 17px; border-radius: 14px; border: 1.500px solid var(--fbx-line-strong); min-height: 110px; }
#fbvOverlay .fbv-textarea:focus { outline: 0; border-color: var(--fbx-green); box-shadow: 0 0 0 4px var(--fbx-tint-2); }
#fbvOverlay .fbv-err { font-size: 15px; font-weight: 600; border-radius: 12px; }
#fbvOverlay .fbv-ok { width: 80px; height: 80px; background: var(--fbx-green); color: #fff; box-shadow: 0 0 0 8px var(--fbx-tint-2); }
@media (min-width: 700px) { #fbvOverlay .fbv-sheet { border-radius: 24px; } }
#fbvOverlay .fbv-item .fbv-link { font-size: 14px; min-height: 36px; text-align: left; padding: 0; }
.fbx-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 14px; background: var(--fbx-amber-tint); color: #6b4a00; font-size: 15px; border-bottom: 1px solid #f0dfae; }
.fbx-notice span { flex: 1; min-width: 220px; } .fbx-notice .fbx-link { min-height: 40px; padding: 0 4px; }
.fbx-notfound { display: grid; gap: 18px; } .fbx-notfound > * { min-width: 0; } .fbx-notfound-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }

/* ---- Account and order screens (Phase 5) ---- */
.fbx-acct { display: grid; gap: 16px; max-width: 1100px; }
.fbx-acct-main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.fbx-acct-side { display: none; }
@media (min-width: 1000px) {
  .fbx-acct { grid-template-columns: 290px minmax(0, 1fr); gap: 28px; padding-top: 20px; align-items: start; }
  .fbx-acct-side { display: grid; gap: 14px; position: sticky; top: 110px; }
  .fbx-acct--narrow .fbx-acct-main { max-width: 720px; }
}
.fbx-me { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); box-shadow: var(--fbx-shadow); }
.fbx-me-badge { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--fbx-green-dark); color: #fff; display: grid; place-items: center; font: 800 20px var(--fbx-font-head); }
.fbx-me-text { min-width: 0; display: grid; } .fbx-me-text b { font: 800 19px/1.25 var(--fbx-font-head); overflow-wrap: anywhere; } .fbx-me-text span { color: var(--fbx-ink-2); font-size: 16px; }
.fbx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fbx-stat { display: grid; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); box-shadow: var(--fbx-shadow); text-decoration: none; }
.fbx-stat span { color: var(--fbx-ink-2); font-size: 15px; } .fbx-stat b { font: 800 20px var(--fbx-font-head); color: var(--fbx-green-dark); }
.fbx-menu { background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); overflow: hidden; box-shadow: var(--fbx-shadow); }
.fbx-menu a, .fbx-menu button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 8px 16px; background: #fff; border: 0; border-top: 1px solid var(--fbx-line);
  color: var(--fbx-ink) !important; font: 600 17px var(--fbx-font); text-decoration: none; text-align: left; cursor: pointer; }
.fbx-menu > :first-child, .fbx-menu form:first-child button { border-top: 0; }
.fbx-menu a:hover, .fbx-menu button:hover { background: var(--fbx-tint); }
.fbx-menu svg { flex: none; color: var(--fbx-green-dark); } .fbx-menu .fbx-menu-go { margin-left: auto; color: var(--fbx-ink-3); }
.fbx-menu .fbx-menu-val { margin-left: auto; color: var(--fbx-ink-2); font-weight: 600; font-size: 15px; white-space: nowrap; }
.fbx-menu a.is-on { background: var(--fbx-green); color: #fff !important; } .fbx-menu a.is-on svg, .fbx-menu a.is-on .fbx-menu-val { color: #fff; }
.fbx-menu .is-out, .fbx-menu .is-out svg { color: var(--fbx-red) !important; }
.fbx-menu form { margin: 0; }

.fbx-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; }
.fbx-tabs button, .fbx-tabs a { flex: none; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--fbx-line); background: #fff; color: var(--fbx-ink); font: 600 16px var(--fbx-font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.fbx-tabs .is-on { background: var(--fbx-green-dark); border-color: var(--fbx-green-dark); color: #fff !important; }
.fbx-orders { display: grid; gap: 14px; }
.fbx-orders h2 { margin-top: 8px; }
.fbx-order { background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); padding: 16px; box-shadow: var(--fbx-shadow); display: grid; gap: 12px; }
.fbx-order.is-active { border: 2px solid var(--fbx-green); }
.fbx-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fbx-order-top div { min-width: 0; display: grid; gap: 2px; } .fbx-order-top span { color: var(--fbx-ink-2); font-size: 15px; } .fbx-order-top b { font: 800 19px/1.25 var(--fbx-font-head); overflow-wrap: anywhere; }
.fbx-order-sum { color: var(--fbx-ink-2); font-size: 16px; } .fbx-order-sum b { color: var(--fbx-ink); }
.fbx-order-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .fbx-order-acts .fbx-btn { min-height: 52px; font-size: 17px; padding: 0 12px; }
.fbx-order-acts.is-one { grid-template-columns: 1fr; }
.fbx-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--fbx-line); margin: 0 -16px -16px; padding: 4px 8px; }
.fbx-order-foot .fbx-link.is-danger { color: var(--fbx-red); }
.fbx-badge { flex: none; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--fbx-tint-2); color: var(--fbx-green-deep); font: 700 13px var(--fbx-font); white-space: nowrap; }
.fbx-badge.is-live { background: var(--fbx-green-bright); color: var(--fbx-green-deep); } .fbx-badge.is-off { background: #eceee8; color: var(--fbx-ink-2); }
.fbx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.fbx-steps li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 600; color: var(--fbx-ink-3); position: relative; }
.fbx-steps li::before { content: ''; position: absolute; top: 17px; right: 50%; width: 100%; height: 3px; background: var(--fbx-line); z-index: 0; }
.fbx-steps li:first-child::before { display: none; }
.fbx-steps i { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #eceee8; color: var(--fbx-ink-3); display: grid; place-items: center; font: 700 15px var(--fbx-font-head); font-style: normal; }
.fbx-steps .is-done { color: var(--fbx-ink); } .fbx-steps .is-done i { background: var(--fbx-green-deep); color: #fff; } .fbx-steps .is-done::before, .fbx-steps .is-now::before { background: var(--fbx-green-deep); }
.fbx-steps .is-now { color: var(--fbx-green-dark); } .fbx-steps .is-now i { background: var(--fbx-green-bright); color: var(--fbx-green-deep); box-shadow: 0 0 0 5px var(--fbx-tint-2); }
.fbx-stars { display: inline-flex; gap: 2px; color: #d5d9cc; font-size: 20px; line-height: 1; } .fbx-stars .is-on { color: var(--fbx-green); }
.fbx-more-btn { justify-self: center; width: auto; min-width: 220px; }
.fbx-ostatus .fbx-order-top b { font-size: 24px; } .fbx-ostatus.is-off { background: var(--fbx-red-tint); border-color: #f3d2cc; }
.fbx-rider { display: flex; align-items: center; gap: 14px; }
.fbx-me-badge.is-soft { background: var(--fbx-tint-2); color: var(--fbx-green-dark); }
.fbx-call { flex: none; margin-left: auto; width: 56px; height: 56px; border-radius: 50%; background: var(--fbx-green-dark); color: #fff !important; display: grid; place-items: center; box-shadow: var(--fbx-shadow); }
.fbx-trackmap { position: relative; border-radius: var(--fbx-radius); overflow: hidden; border: 1px solid var(--fbx-line); background: var(--fbx-bg-soft); }
.fbx-trackmap #map { height: 260px; width: 100%; }
.fbx-eta { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 8px 14px; background: #fff; border-radius: var(--fbx-radius-sm); box-shadow: var(--fbx-shadow); display: grid; }
.fbx-eta span { font-size: 13px; color: var(--fbx-ink-2); } .fbx-eta b { font: 800 20px var(--fbx-font-head); color: var(--fbx-green-dark); }
.fbx-acts { display: grid; gap: 10px; }
@media (min-width: 700px) { .fbx-acts { grid-template-columns: 1fr 1fr; } .fbx-trackmap #map { height: 340px; } }
.fbx-btn--danger { background: #fff; color: var(--fbx-red); border: 1.5px solid #e6b9b2; } .fbx-btn--danger:hover { background: var(--fbx-red-tint); }
/* A light button that is busy or switched off keeps dark words (it used to turn white on a pale background). */
.fbx-btn--danger[disabled] { background: var(--fbx-red-tint); color: var(--fbx-red); border-color: #e6b9b2; opacity: .8; }
.fbx-btn--ghost[disabled] { background: var(--fbx-bg-soft); color: var(--fbx-ink-3); border-color: var(--fbx-line-strong); }
.fbx-rate { display: grid; gap: 10px; justify-items: center; text-align: center; }
.fbx-bigstars { display: flex; gap: 4px; } .fbx-bigstars button { width: 60px; height: 60px; border: 0; background: none; padding: 0; font-size: 54px; line-height: 1; color: #d5d9cc; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fbx-bigstars button.is-on { color: var(--fbx-green); } .fbx-rate-word { font: 700 18px var(--fbx-font-head); color: var(--fbx-green-dark); }
@media (max-width: 380px) { .fbx-bigstars button { width: 52px; height: 52px; font-size: 46px; } }
.fbx-vote { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.fbx-vote button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--fbx-line-strong); background: #fff; color: var(--fbx-ink); font: 600 16px var(--fbx-font); cursor: pointer; }
.fbx-vote button.is-on { background: var(--fbx-green-dark); border-color: var(--fbx-green-dark); color: #fff; }
.fbx-vote--sm { flex: none; flex-wrap: nowrap; gap: 6px; } .fbx-vote--sm button { width: 48px; padding: 0; justify-content: center; }
.fbx-textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--fbx-line-strong); border-radius: var(--fbx-radius); background: #fff; font: 500 17px/1.45 var(--fbx-font); color: var(--fbx-ink); resize: vertical; }
.fbx-textarea:focus { outline: 0; border-color: var(--fbx-green); box-shadow: 0 0 0 4px var(--fbx-tint-2); }
.fbx-again-foot { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 5; padding: 8px 0; background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0)); }
@media (min-width: 1000px) { .fbx-again-foot { bottom: 0; } }
.fbx-hero { display: grid; gap: 4px; padding: 22px 20px; border-radius: 20px; background: var(--fbx-green); color: #fff; box-shadow: var(--fbx-shadow); position: relative; overflow: hidden; }
.fbx-hero::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.12); }
.fbx-hero span { font-size: 16px; opacity: .95; } .fbx-hero b { font: 800 40px/1.1 var(--fbx-font-head); } .fbx-hero p { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.3); font-size: 15px; position: relative; z-index: 1; }
.fbx-hero a { color: #fff !important; font-weight: 700; }
.fbx-moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fbx-moves li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); }
.fbx-moves .fbx-me-badge { width: 44px; height: 44px; } .fbx-moves .fbx-me-text b { font-size: 16px; } .fbx-moves .fbx-me-text span { font-size: 14px; }
.fbx-moves li > b { margin-left: auto; white-space: nowrap; font: 700 17px var(--fbx-font-head); } .fbx-moves li > b.is-in { color: var(--fbx-green-dark); }
.fbx-refcode { font: 800 34px/1.1 var(--fbx-font-head); letter-spacing: .08em; color: var(--fbx-green-dark); padding: 10px 18px; border: 2px dashed var(--fbx-line-strong); border-radius: var(--fbx-radius); background: var(--fbx-tint); overflow-wrap: anywhere; }
.fbx-faq { display: grid; gap: 10px; }
.fbx-faq details { background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); overflow: hidden; }
.fbx-faq summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 44px 10px 16px; font: 700 17px/1.3 var(--fbx-font-head); cursor: pointer; position: relative; }
.fbx-faq summary::-webkit-details-marker { display: none; }
.fbx-faq summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2.500px solid var(--fbx-ink-3); border-bottom: 2.500px solid var(--fbx-ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.fbx-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.fbx-faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fbx-green-dark); color: #fff; display: grid; place-items: center; font: 700 15px var(--fbx-font-head); font-style: normal; }
.fbx-faq details p, .fbx-faq details .fbx-faq-body { padding: 0 16px 16px; color: var(--fbx-ink-2); font-size: 16px; line-height: 1.55; }
.fbx-faq summary:hover { background: var(--fbx-tint); }
.fbx-contact { display: grid; gap: 16px; } @media (min-width: 900px) { .fbx-contact { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; } }
.fbx-form { display: grid; gap: 14px; } .fbx-form-2 { display: grid; gap: 14px; } @media (min-width: 520px) { .fbx-form-2 { grid-template-columns: 1fr 1fr; } }
.fbx-form label { display: grid; gap: 6px; font: 600 15px var(--fbx-font); color: var(--fbx-ink-2); }
.fbx-form input, .fbx-form select, .fbx-form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--fbx-line-strong); border-radius: var(--fbx-radius-sm); background: #fff; font: 500 17px var(--fbx-font); color: var(--fbx-ink); }
.fbx-form input:focus, .fbx-form select:focus, .fbx-form textarea:focus { outline: 0; border-color: var(--fbx-green); box-shadow: 0 0 0 4px var(--fbx-tint-2); }
.fbx-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.3); overflow: hidden; margin-top: 12px; position: relative; z-index: 1; } .fbx-bar i { display: block; height: 100%; background: #fff; border-radius: 999px; }
.fbx-tiers { display: grid; gap: 12px; } @media (min-width: 700px) { .fbx-tiers { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.fbx-tiers .is-mine { border: 2px solid var(--fbx-green); }
.fbx-ticks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.fbx-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fbx-ink-3); } .fbx-ticks li svg { flex: none; margin-top: 2px; color: var(--fbx-line-strong); }
.fbx-ticks li.is-on { color: var(--fbx-ink); } .fbx-ticks li.is-on svg { color: var(--fbx-green); } .fbx-ticks.is-big { margin: 0; } .fbx-ticks.is-big li { font-size: 16px; }

/* ---- Service pages ---- */
.fbx-service { display: grid; gap: 18px; max-width: 1000px; padding-top: 10px; }
.fbx-svc-hero { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--fbx-tint); border: 1px solid var(--fbx-tint-2); }
.fbx-svc-hero img { flex: none; width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.fbx-svc-hero h1 { font-size: 26px; line-height: 1.2; margin: 6px 0; } @media (min-width: 700px) { .fbx-svc-hero { padding: 28px; } .fbx-svc-hero h1 { font-size: 34px; } .fbx-svc-hero img { width: 88px; height: 88px; } }
.fbx-how { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fbx-how li { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 14px 8px; border-radius: var(--fbx-radius-sm); background: var(--fbx-tint); font-weight: 600; font-size: 15px; }
.fbx-how i { width: 36px; height: 36px; border-radius: 50%; background: var(--fbx-green-dark); color: #fff; display: grid; place-items: center; font: 700 16px var(--fbx-font-head); font-style: normal; }
.fbx-svc-grid { display: grid; gap: 12px; } @media (min-width: 700px) { .fbx-svc-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
.fbx-svc-price { font: 800 20px var(--fbx-font-head); color: var(--fbx-green-dark); margin-top: 4px; }
.fbx-svc-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.fbx-svc-more a { display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; } .fbx-svc-more img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; } .fbx-svc-more h4 { font: 700 15px var(--fbx-font-head); color: var(--fbx-ink); margin: 0; }
.fbx-prose { font-size: 16px; line-height: 1.6; color: var(--fbx-ink-2); } .fbx-prose h2, .fbx-prose h3 { margin: 16px 0 8px; } .fbx-prose p { margin: 0 0 12px; } .fbx-prose ul { padding-left: 20px; margin: 0 0 12px; }
.fbx [data-services-form] a.text-white, .fbx [data-services-form] a[class*="bg-fresh-5"] { color: #fff; }

/* ---- School pages: schools list, class list, class-set sheet, uniform guides (DevDesk #116) ---- */
.fbx-school-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fbx-school-head img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; border: 1px solid var(--fbx-line); background: #fff; flex: none; }
.fbx-school-head b { display: block; font: 700 17px var(--fbx-font-head); color: var(--fbx-ink); } .fbx-school-head span { font-size: 15px; color: var(--fbx-ink-2); }
.fbx-school-group { font: 700 15px var(--fbx-font); color: var(--fbx-ink-3); text-transform: uppercase; letter-spacing: .04em; margin: 18px 0 8px; }
.fbx-school-list { display: grid; gap: 10px; }
@media (min-width: 700px) { .fbx-school-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fbx-school-list.is-wide { grid-template-columns: 1fr 1fr 1fr; } }
.fbx-school-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 10px 14px; background: #fff; border: 1.5px solid var(--fbx-line); border-radius: var(--fbx-radius);
  box-shadow: var(--fbx-shadow); text-align: left; text-decoration: none; color: var(--fbx-ink) !important; cursor: pointer; font: inherit; }
.fbx-school-row:hover { border-color: var(--fbx-green); background: var(--fbx-tint); }
.fbx-school-row:focus-visible { outline: 3px solid var(--fbx-green-deep); outline-offset: 2px; }
.fbx-school-row img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--fbx-line); background: #fff; flex: none; }
.fbx-school-row > span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.fbx-school-row b { font: 700 17px/1.25 var(--fbx-font-head); } .fbx-school-row small { font-size: 15px; color: var(--fbx-ink-2); }
.fbx-school-row em { font-style: normal; flex: none; padding: 3px 10px; border-radius: 999px; background: var(--fbx-green-dark); color: #fff; font: 700 13px var(--fbx-font); }
.fbx-school-row > svg { flex: none; color: var(--fbx-ink-3); }
.fbx-school-row.is-in { border-color: var(--fbx-green-dark); }
.fbx-sheet.fbx-set { display: flex; flex-direction: column; padding-bottom: 0; overflow: hidden; }
.fbx-set-books { list-style: none; margin: 10px -4px 0; padding: 0 4px 8px; display: grid; gap: 8px; overflow-y: auto; flex: 1; min-height: 120px; }
.fbx-set-books label { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 12px; border: 1.5px solid var(--fbx-line); border-radius: 14px; background: #fff; cursor: pointer; }
.fbx-set-books label.is-off { background: var(--fbx-bg-soft); } .fbx-set-books label.is-off .fbx-set-name, .fbx-set-books label.is-off .fbx-set-price { color: var(--fbx-ink-3); text-decoration: line-through; }
.fbx-set-books input { width: 26px; height: 26px; flex: none; accent-color: var(--fbx-green-dark); cursor: pointer; }
.fbx-set-books img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: var(--fbx-bg-soft); flex: none; }
.fbx-set-text { flex: 1; min-width: 0; display: grid; gap: 2px; } .fbx-set-name { font: 600 16px/1.3 var(--fbx-font); color: var(--fbx-ink); } .fbx-set-text small { font-size: 14px; color: var(--fbx-ink-3); }
.fbx-set-price { flex: none; font: 700 16px var(--fbx-font-head); color: var(--fbx-ink); white-space: nowrap; }
.fbx-set-foot { border-top: 1px solid var(--fbx-line); margin: 0 -16px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; display: grid; gap: 10px; }
.fbx-set-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; color: var(--fbx-ink-2); } .fbx-set-sum b { font: 800 22px var(--fbx-font-head); color: var(--fbx-ink); }
.fbx-set-act { display: flex; align-items: center; gap: 12px; } .fbx-set-act .fbx-btn { flex: 1; width: auto; }
.fbx-set-act .fbx-stepper { height: 56px; flex: none; } .fbx-set-act .fbx-stepper button { width: 46px; height: 56px; }
.fbx-set-sets { font-size: 14px; color: var(--fbx-ink-3); text-align: center; margin-top: -4px; }
.fbx-guide { display: grid; gap: 18px; margin-top: 12px; } .fbx-guide h3 { font-size: 18px; margin-bottom: 8px; }
.fbx-guide a { display: block; border: 1px solid var(--fbx-line); border-radius: 14px; overflow: hidden; background: var(--fbx-bg-soft); margin-bottom: 8px; } .fbx-guide img { width: 100%; height: auto; display: block; }
@media (min-width: 700px) { .fbx-sheet-wrap.is-mid { align-items: center; } .fbx-sheet-wrap.is-mid .fbx-sheet { border-radius: 24px; max-width: 640px; max-height: 86vh; } }
.fbx .fbx-school-group { margin: 20px 0 8px; }
.fbx .fbx-set-books input[type=checkbox] { color: var(--fbx-green-dark); border-radius: 6px; border: 2px solid var(--fbx-line-strong); }
.fbx .fbx-set-books input[type=checkbox]:checked { border-color: var(--fbx-green-dark); }
.fbx .fbx-set-books input[type=checkbox]:focus { outline: 3px solid var(--fbx-green-deep); outline-offset: 2px; box-shadow: none; }
.fbx-address-map { width: 100%; height: 260px; border-radius: 14px; border: 1px solid var(--fbx-line); background: var(--fbx-bg-soft); margin-top: 6px; overflow: hidden; }
.fbx .fbx-error.hidden { display: none; }

/* ---- Service enquiry form (drawn by js/services-form.js, which is shared and unchanged): new look by scope only ---- */
.fbx [data-services-form] { max-width: 640px; }
.fbx [data-services-form] form { display: grid; gap: 16px; } .fbx [data-services-form] form > * { margin-top: 0 !important; }
.fbx [data-services-form] [data-sf-questions], .fbx [data-services-form] [data-sf-contact] { display: grid; gap: 16px; } .fbx [data-services-form] [data-sf-questions] > *, .fbx [data-services-form] [data-sf-contact] > * { margin-top: 0 !important; }
.fbx [data-services-form] .hidden { display: none !important; }
.fbx [data-services-form] label.block { font: 600 16px/1.35 var(--fbx-font); color: var(--fbx-ink); margin-bottom: 6px; }
.fbx [data-services-form] input:not([type=checkbox]), .fbx [data-services-form] select, .fbx [data-services-form] textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 1.5px solid var(--fbx-line-strong); border-radius: var(--fbx-radius-sm); background: #fff; font: 500 17px var(--fbx-font); color: var(--fbx-ink); }
.fbx [data-services-form] input:not([type=checkbox]):focus, .fbx [data-services-form] select:focus { outline: 0; border-color: var(--fbx-green); box-shadow: 0 0 0 4px var(--fbx-tint-2); }
.fbx [data-services-form] label.flex { min-height: 54px; padding: 10px 14px; border: 1.5px solid var(--fbx-line-strong); border-radius: var(--fbx-radius-sm); background: #fff; font: 500 16px/1.3 var(--fbx-font); color: var(--fbx-ink); gap: 12px; }
.fbx [data-services-form] label.flex:has(input:checked) { border-color: var(--fbx-green-dark); background: var(--fbx-tint); }
.fbx [data-services-form] input[type=checkbox] { width: 24px; height: 24px; flex: none; accent-color: var(--fbx-green-dark); color: var(--fbx-green-dark); border-radius: 6px; }
.fbx [data-services-form] p.text-xs { font-size: 14px; color: var(--fbx-ink-3); margin-top: 6px; }
.fbx [data-services-form] p.text-red-500 { font-size: 15px; font-weight: 600; color: var(--fbx-red); margin-top: 6px; }
.fbx [data-services-form] [data-sf-contact] { border-top: 1px solid var(--fbx-line); padding-top: 18px; }
.fbx [data-services-form] [data-sf-contact] h3 { font: 800 20px var(--fbx-font-head); color: var(--fbx-ink); }
.fbx [data-services-form] button[type=submit], .fbx [data-services-form] [data-sf-reveal] { min-height: 56px; border-radius: var(--fbx-radius-pill); font: 700 18px var(--fbx-font-head); color: #fff; }
.fbx [data-services-form] button[type=submit] { background: var(--fbx-green-dark); } .fbx [data-services-form] button[type=submit]:hover { background: var(--fbx-green-deep); }
.fbx [data-services-form] [data-sf-estimate] { border: 2px solid var(--fbx-green); background: var(--fbx-tint); border-radius: var(--fbx-radius); }

/* ---- My orders on a wide screen: menu, list, and the tapped order side by side ---- */
.fbx-order-pane { display: none; }
@media (min-width: 1280px) {
  .fbx-page.fbx-acct--three { max-width: 1400px; grid-template-columns: 270px minmax(0, 1fr) minmax(0, 440px); gap: 24px; }
  .fbx-acct--three.fbx-acct--narrow .fbx-acct-main { max-width: none; }
  .fbx-acct--three .fbx-order-pane { display: block; position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; padding: 2px 4px 12px 2px; }
  .fbx-order-pane-in { display: grid; gap: 14px; }
  .fbx-acct--three .fbx-order { cursor: pointer; } .fbx-acct--three .fbx-order:hover { border-color: var(--fbx-green); }
  .fbx-acct--three .fbx-order.is-open { border-color: var(--fbx-green-dark); box-shadow: 0 0 0 3px var(--fbx-tint-2), var(--fbx-shadow); }
  .fbx-acct--three .fbx-order-pane .fbx-acts { grid-template-columns: 1fr 1fr; } .fbx-acct--three .fbx-order-pane .fbx-acts .fbx-btn { min-height: 52px; font-size: 16px; padding: 0 10px; }
}

/* ---- Book shop front page: ways in and the schools strip ---- */
.fbx-schoolstrip { display: grid; gap: 12px; margin: 14px 0 6px; }
.fbx-schoolstrip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 6px; } .fbx-schoolstrip-head h2 { font-size: 22px; }
.fbx-schoolstrip-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.fbx-schoolstrip-row a { flex: none; width: 150px; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 14px 10px; background: #fff; border: 1.5px solid var(--fbx-line); border-radius: var(--fbx-radius);
  box-shadow: var(--fbx-shadow); text-decoration: none; color: var(--fbx-ink) !important; scroll-snap-align: start; }
.fbx-schoolstrip-row a:hover { border-color: var(--fbx-green); background: var(--fbx-tint); }
.fbx-schoolstrip-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 1px solid var(--fbx-line); background: #fff; }
.fbx-schoolstrip-row b { font: 600 15px/1.25 var(--fbx-font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fbx-school-row > .fbx-me-badge { flex: none; width: 52px; height: 52px; display: grid; place-items: center; }

/* Audit 15 Nov: breadcrumb links were 15-20px tall, hard to tap on a phone. Same look, taller tap area. */
/* A class-set card: a five-figure price and "Choose books" do not fit on one line of a phone card. */
.fbx-card-foot:has(> [data-testid="choose-books"]) { flex-wrap: wrap; row-gap: 6px; }
.fbx-card-foot > [data-testid="choose-books"] { min-height: 40px; }
.fbx-crumbs a, .fb-crumbs a, .pdp-crumbs a, nav[aria-label="Breadcrumb"] a { display: inline-block; padding: 9px 0; margin: -9px 0; }

/* Audit 15 Nov (second pass): every link, button and field shows a clear ring when reached by keyboard. */
.fbx a:focus-visible, .fbx button:focus-visible, .fbx select:focus-visible, .fbx summary:focus-visible, .fbx [tabindex]:focus-visible,
.fbx-header a:focus-visible, .fbx-header button:focus-visible, .fbx-tabbar a:focus-visible, .fbx-tabbar button:focus-visible { outline: 3px solid var(--fbx-green-deep); outline-offset: 2px; }

/* ---- Sub-category row (DevDesk #119): bold, well spaced names that stay under the header while
        scrolling; the current one is underlined in green. ---- */
.fbx-subbar { display: flex; gap: 4px; align-items: stretch; padding: 2px 0 0; border-bottom: 1px solid var(--fbx-line); }
.fbx-subbar a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; font: 700 17px var(--fbx-font); color: var(--fbx-ink-2) !important;
  text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.fbx-subbar a:hover { color: var(--fbx-ink) !important; }
.fbx-subbar a.is-on { color: var(--fbx-green-deep) !important; border-bottom-color: var(--fbx-green); }
.fbx-catbar--page { margin: 0 0 14px; padding: 0; overflow: hidden; }
.fbx-catbar--page .fbx-subbar { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; max-width: 100%; }
.fbx-crumbs--shop { margin: 0 0 10px; }
.fbx-crumbs a { color: var(--fbx-green-dark); }
@media (min-width: 1024px) { .fbx-subbar a { font-size: 18px; padding: 0 18px; } }
/* Laptop: the shop's long list of category buttons scrolls away; only the sub-category row stays. */
@media (min-width: 1024px) {
  .fbx-shoppage .fbx-catbar { display: contents; }
  .fbx-shoppage .fbx-catbar .fbx-subbar { position: sticky; top: var(--fbx-header-h, 82px); z-index: 30; background: var(--fbx-bg-page, #f9fafb); margin: 6px 0 12px; padding-top: 4px; }
}

/* ---- Product details in a pop-up over a list (DevDesk #121): a sheet from the bottom on a phone,
        a window in the middle on a laptop. ---- */
.fbx-quick-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--fbx-ink);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--fbx-shadow); cursor: pointer; }
#fbxQuick .fbx-sheet { padding: 0; }
.fbx-quick { display: grid; gap: 0; }
.fbx-quick-img { background: var(--fbx-bg-soft); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fbx-quick-img img { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: var(--fbx-radius-sm); }
.fbx-quick-body { padding: 18px 20px calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 10px; align-content: start; }
.fbx-quick-body h2 { font-size: 22px; line-height: 1.2; padding-right: 36px; }
.fbx-quick-shop { font-size: 15px; color: var(--fbx-ink-3); }
.fbx-quick-price { font: 700 18px var(--fbx-font); color: var(--fbx-ink); white-space: nowrap; }
.fbx-quick-price s { margin-left: 8px; font-weight: 500; font-size: 15px; color: var(--fbx-ink-3); }
.fbx-quick-price.is-big { font-size: 26px; }
.fbx-quick-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 4px 0; }
.fbx-quick-sizes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fbx-quick-sizes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--fbx-line); border-radius: var(--fbx-radius-sm); }
.fbx-quick-sizes li > span { display: grid; gap: 2px; min-width: 0; } .fbx-quick-sizes b { font-size: 16px; overflow-wrap: anywhere; }
.fbx-quick-text { font-size: 15px; line-height: 1.5; color: var(--fbx-ink-2); }
.fbx-quick-note { font-size: 15px; color: var(--fbx-ink-2); }
.fbx-quick-more { font-weight: 700; color: var(--fbx-green-dark); text-decoration: none; padding: 6px 0; justify-self: start; }
.fbx-quick-wait { padding: 60px 20px; text-align: center; color: var(--fbx-ink-3); }
@media (min-width: 700px) {
  #fbxQuick .fbx-sheet { max-width: 820px; }
  .fbx-quick { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .fbx-quick-img { padding: 28px; border-radius: 24px 0 0 24px; } .fbx-quick-img img { max-width: 340px; }
  .fbx-quick-body { padding: 30px 28px; }
}

/* ---- Small basket under the header's Basket button on a laptop (DevDesk #120). It shows what
        was just added and the total, does not cover the products, and goes away by itself. ---- */
.fbx-mini { position: fixed; z-index: 50; top: calc(var(--fbx-header-h, 82px) + 8px); right: 24px; width: 380px; max-height: calc(100vh - var(--fbx-header-h, 82px) - 32px);
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); box-shadow: 0 12px 40px rgba(26, 33, 16, .18);
  font-family: var(--fbx-font); color: var(--fbx-ink); animation: fbx-mini-in .18s ease-out; }
.fbx-mini[hidden] { display: none; }
@keyframes fbx-mini-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fbx-mini { animation: none; } }
@media (max-width: 1023.98px) { .fbx-mini { display: none !important; } }
.fbx-minib-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 10px 10px 16px; border-bottom: 1px solid var(--fbx-line); }
.fbx-minib-head b { font: 700 17px var(--fbx-font-head); }
.fbx-minib-x { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; color: var(--fbx-ink-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fbx-minib-x:hover { background: var(--fbx-bg-soft); }
.fbx-minib-lines { list-style: none; margin: 0; padding: 4px 12px; overflow-y: auto; }
.fbx-minib-lines li { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--fbx-line); }
.fbx-minib-lines li:last-child { border-bottom: 0; }
.fbx-minib-lines li.is-new { background: var(--fbx-tint); border-radius: var(--fbx-radius-sm); border-bottom-color: transparent; }
.fbx-minib-img { flex: none; width: 52px; height: 52px; border-radius: 10px; background: var(--fbx-bg-soft); overflow: hidden; }
.fbx-minib-img img { width: 100%; height: 100%; object-fit: contain; }
.fbx-minib-text { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 14px; color: var(--fbx-ink-2); }
.fbx-minib-text b { font-size: 15px; color: var(--fbx-ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fbx-minib-text b span { font-weight: 500; color: var(--fbx-ink-3); }
.fbx-mini .fbx-add--sm .fbx-add-plus { width: 40px; height: 40px; } .fbx-mini .fbx-add--sm .fbx-stepper { height: 40px; } .fbx-mini .fbx-add--sm .fbx-stepper button { width: 36px; height: 40px; }
.fbx-minib-more, .fbx-minib-empty { margin: 0; padding: 8px 16px; font-size: 14px; color: var(--fbx-ink-3); }
.fbx-minib-empty { padding: 20px 16px; }
.fbx-minib-foot { padding: 12px 16px 16px; border-top: 1px solid var(--fbx-line); display: grid; gap: 10px; }
.fbx-minib-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--fbx-ink-2); } .fbx-minib-total b { font-size: 20px; color: var(--fbx-ink); }
.fbx-minib-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .fbx-minib-acts .fbx-btn { min-height: 48px; font-size: 16px; padding: 0 10px; }

/* ---- Category menu in the laptop header (DevDesk #117). ---- */
.fbx-catmenu { position: relative; flex: none; }
.fbx-catmenu-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border-radius: var(--fbx-radius-sm); border: 1.5px solid var(--fbx-line-strong); background: #fff;
  color: var(--fbx-ink); font: 700 16px var(--fbx-font); cursor: pointer; }
.fbx-catmenu-btn:hover, .fbx-catmenu-btn[aria-expanded="true"] { background: var(--fbx-tint); border-color: var(--fbx-green); color: var(--fbx-green-deep); }
.fbx-catmenu-panel { position: absolute; z-index: 60; top: calc(100% + 10px); left: 0; display: grid; grid-template-columns: 230px 270px 300px; min-height: 380px; max-height: calc(100vh - 130px);
  background: #fff; border: 1px solid var(--fbx-line); border-radius: var(--fbx-radius); box-shadow: 0 16px 48px rgba(26, 33, 16, .2); overflow: hidden; }
.fbx-catmenu-panel[hidden] { display: none; }
.fbx-catmenu-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* no gap for the pointer to fall through */
.fbx-catmenu-col { list-style: none; margin: 0; padding: 8px; overflow-y: auto; border-right: 1px solid var(--fbx-line); }
.fbx-catmenu-col[hidden] { display: none; }
.fbx-catmenu-col:last-child, .fbx-catmenu-subs { border-right: 0; }
.fbx-catmenu-subs ul { list-style: none; margin: 0; padding: 0; }
.fbx-catmenu-types { background: var(--fbx-bg-soft); }
.fbx-catmenu-col button, .fbx-catmenu-col a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; background: none;
  border-radius: 10px; text-align: left; font: 600 15.5px var(--fbx-font); color: var(--fbx-ink) !important; text-decoration: none; cursor: pointer; }
.fbx-catmenu-col button span, .fbx-catmenu-col a span { color: var(--fbx-ink-3); font-size: 18px; line-height: 1; }
.fbx-catmenu-col button:hover, .fbx-catmenu-col a:hover, .fbx-catmenu-col .is-on { background: var(--fbx-tint-2); color: var(--fbx-green-deep) !important; }
.fbx-catmenu-types button { font-weight: 700; }
.fbx-catmenu-all { font-weight: 800 !important; color: var(--fbx-green-dark) !important; border-bottom: 1px solid var(--fbx-line); border-radius: 10px 10px 0 0 !important; margin-bottom: 4px; }
@media (max-width: 1180px) { .fbx-catmenu-btn span { display: none; } .fbx-catmenu-panel { grid-template-columns: 200px 240px 260px; } }
.fbx-catmenu-wait { grid-column: 1 / -1; margin: 0; padding: 40px 20px; text-align: center; color: var(--fbx-ink-3); }

/* ---- Footer (redesigned 17 Nov): a deep green block, four facts on top, clear columns, big ways to reach us. ---- */
.fbx-footer { margin-top: 32px; background: var(--fbx-green-deep); color: #e9f1dc; font-family: var(--fbx-font); }
.fbx-footer a { color: #fff; text-decoration: none; }
.fbx-footer h2 { font: 700 13px var(--fbx-font); letter-spacing: .08em; text-transform: uppercase; color: #b9d38a; margin: 0 0 12px; }
.fbx-footer-facts { background: #34500c; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fbx-footer-facts ul { list-style: none; margin: 0 auto; padding: 14px 16px; max-width: 1280px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.fbx-footer-facts li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fbx-footer-facts svg { flex: none; color: var(--fbx-green-bright); }
.fbx-footer-facts span { font-size: 13px; line-height: 1.3; color: #d5e3bd; min-width: 0; }
.fbx-footer-facts b { display: block; font-size: 15px; color: #fff; }
.fbx-footer-main { max-width: 1280px; margin: 0 auto; padding: 26px 16px 8px; display: grid; gap: 26px; }
.fbx-footer-logo { display: inline-flex; align-items: center; gap: 12px; font: 800 24px var(--fbx-font-head); }
.fbx-footer-logo img { width: 56px; height: 56px; border-radius: 14px; background: #fff; }
.fbx-footer-brand p { margin: 12px 0 16px; font-size: 15px; line-height: 1.5; color: #d5e3bd; max-width: 380px; }
.fbx-footer-reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.fbx-footer-reach a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 8px; border-radius: var(--fbx-radius-sm); background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; font-size: 15px; }
.fbx-footer-reach a:hover, .fbx-footer-apps a:hover, .fbx-footer-social a:hover { background: rgba(255, 255, 255, .2); }
.fbx-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.fbx-footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fbx-footer-links a { display: inline-block; padding: 7px 0; font-size: 15.5px; color: #e9f1dc; }
.fbx-footer-links a:hover { color: #fff; text-decoration: underline; }
.fbx-footer-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 420px; margin-bottom: 22px; }
.fbx-footer-apps a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px; border-radius: var(--fbx-radius-sm); background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .18); }
.fbx-footer-apps span { font-weight: 700; font-size: 15px; line-height: 1.15; } .fbx-footer-apps small { display: block; font-weight: 500; font-size: 11.500px; color: #c9d9ad; }
.fbx-footer-address { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #d5e3bd; max-width: 380px; }
.fbx-footer-social { display: flex; gap: 10px; }
.fbx-footer-social a { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.fbx-footer-base { max-width: 1280px; margin: 18px auto 0; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; font-size: 13.500px; color: #c9d9ad; }
.fbx-footer-base p { margin: 0; }
.fbx-footer-base ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fbx-footer-base li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #e9f1dc; font-size: 12.500px; font-weight: 600; }
@media (min-width: 700px) {
  .fbx-footer-facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px 24px; }
  .fbx-footer-main { padding: 36px 24px 12px; grid-template-columns: 1fr 1fr; gap: 32px; }
  .fbx-footer-links { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); order: 3; }
  .fbx-footer-base { padding: 18px 24px; grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1024px) {
  .fbx-footer-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) minmax(0, 1.1fr); gap: 48px; padding-top: 44px; }
  .fbx-footer-links { grid-column: auto; order: 0; }
}
