.fbp-top { display:grid; grid-template-columns:1.6fr 1fr; gap:12px; margin:0 0 16px; }
.fbp-calc { background:linear-gradient(160deg, #0f3d66, #1d6fb8); color:#fff; border-radius:16px; padding:16px 18px; display:grid; grid-template-columns:1fr auto; gap:12px 20px; align-items:start; }
.fbp-calc h2 { color:#fff; margin:0; grid-column:1 / -1; }
.fbp-opts { display:grid; gap:10px; }
.fbp-lab { font-size:12px; text-transform:uppercase; letter-spacing:.05em; opacity:.8; }
.fbp-row { display:flex; flex-wrap:wrap; gap:6px; }
.fbp-calc button { font:600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor:pointer; margin:0; }
.fbp-row button { border:1px solid rgba(255,255,255,.4); background:transparent; color:#fff; border-radius:999px; padding:7px 13px; }
.fbp-row button:hover { background:rgba(255,255,255,.12); }
.fbp-row button.on { background:#fff; color:#0f3d66; border-color:#fff; }
.fbp-step { display:flex; align-items:center; gap:10px; }
.fbp-step button { width:32px; height:32px; border-radius:50%; border:0; background:#fff; color:#0f3d66; font-size:18px; padding:0; }
.fbp-step b { font-size:19px; min-width:1.2em; text-align:center; }
.fbp-sum { min-width:215px; }
.fbp-tot { text-align:right; }
.fbp-tot b { font-size:46px; line-height:1; }
.fbp-break { font-size:13.5px; margin:8px 0 0 !important; padding:8px 0 0 !important; list-style:none !important; border-top:1px solid rgba(255,255,255,.25); }
.fbp-break li { display:flex; justify-content:space-between; gap:14px; padding:1px 0; margin:0; opacity:.92; }
.fbp-small { font-size:12px; opacity:.75; margin:0 !important; grid-column:1 / -1; }

.fbp-side.fbp-st { display:flex; flex-direction:column; border:1px solid #e3e7ec; border-radius:16px; overflow:hidden; background:#fff; font-size:13.5px; line-height:1.4; color:#374151; }
.fbp-sth { display:flex; align-items:center; gap:8px; padding:10px 14px; background:#eef0f3; }
.fbp-sth b { font-size:16px; }
.fbp-dot { width:10px; height:10px; border-radius:50%; background:#9ca3af; flex:none; }
.fbp-st.ok .fbp-sth { background:#e8f6ec; color:#15803d; } .fbp-st.ok .fbp-dot { background:#16a34a; box-shadow:0 0 0 3px rgba(22,163,74,.2); }
.fbp-st.warn .fbp-sth { background:#fef3c7; color:#92400e; } .fbp-st.warn .fbp-dot { background:#d97706; }
.fbp-st.night .fbp-sth { background:#e8ecf6; color:#33427a; } .fbp-st.night .fbp-dot { background:#4f5fa8; }
.fbp-st p { margin:0 !important; }
.fbp-ship { padding:8px 14px 2px; }
.fbp-ship:empty { display:none; }
.fbp-ship b { font-weight:700; }
.fbp-st .fm-muted { color:#9ca3af; }
.fbp-nx { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:10px; padding:8px 14px; border-top:1px solid #eef1f4; }
.fbp-ship + .fbp-nx, .fbp-sth + .fbp-nx { border-top:0; }
.fbp-nx small { display:block; font-size:14px; font-weight:600; color:#1f2937; }
.fbp-nx i { display:block; font-style:normal; font-size:12px; color:#9ca3af; }
.fbp-nx b { font-size:26px; line-height:1; font-variant-numeric:tabular-nums; color:#1d6fb8; }
.fbp-nx em { font-style:normal; font-size:12px; font-weight:600; color:#1d6fb8; background:#e8f1fa; border-radius:999px; padding:3px 9px; white-space:nowrap; min-width:92px; text-align:center; }
.fbp-foot { margin-top:auto !important; padding:8px 14px; background:#f8fafc; border-top:1px solid #eef1f4; font-size:12.5px; color:#6b7280; display:flex; flex-direction:column; gap:1px; }
.fbp-foot span:empty { display:none; }
.fbp-wx.warn { color:#92400e; }

.fbp-ms { display:grid; grid-template-columns:minmax(0, 1.6fr) minmax(0, 1fr); gap:14px; margin:0 0 16px; align-items:start; }
.fbp-ms .feribot-map { margin:0; display:block; }
.fbp-ms .feribot-map .fm-map { height:420px; }
.feribot-map.fm-mirrored .fm-info { display:none; }
.fbp-ms-sched h2 { margin:0 0 10px; }
.fbp-ms-sched .fbp-sched { grid-template-columns:1fr; gap:10px; }
.fbp-ms-sched .fbp-hrs { display:grid; grid-template-columns:repeat(6, 1fr); gap:4px; }
.fbp-ms-sched .fbp-hrs i { width:auto; font-size:13.5px; padding:4px 0; }
.fbp-ms-sched .fbp-sub { margin:8px 0 0 !important; font-size:12.5px; }
@media (max-width:820px) { .fbp-ms { grid-template-columns:1fr; } }
.fbp-sched { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fbp-bank { border-radius:14px; padding:14px; }
.fbp-bank.or { background:#fbf5e3; }
.fbp-bank.be { background:#fbeee6; }
.fbp-bank h3 { margin:0 0 10px; font-size:16px; }
.fbp-hrs { display:flex; flex-wrap:wrap; gap:5px; }
.fbp-hrs i { font-style:normal; width:54px; text-align:center; padding:5px 0; border-radius:8px; background:#fff; font-variant-numeric:tabular-nums; font-size:14px; color:#1f2937; }
.fbp-hrs i.p { color:#bcc2ca; background:rgba(255,255,255,.5); }
.fbp-hrs i.n { background:#1d6fb8; color:#fff; font-weight:700; box-shadow:0 2px 6px rgba(29,111,184,.4); }
@media (max-width:820px) {
	.fbp-top, .fbp-sched { grid-template-columns:1fr; }
}
@media (max-width:560px) {
	.fbp-calc { grid-template-columns:1fr; }
	.fbp-sum { min-width:0; }
	.fbp-tot { text-align:left; }
}

.fbp-short { display:none; }
.fbp-plus { font-weight:400; }
.fbp-ptab { border:1px solid #dbe3ec; border-radius:14px; overflow:hidden; box-shadow:0 2px 10px rgba(15,61,102,.07); }
.fbp-scroll { overflow-x:auto; }
.fbp-prices { width:100%; border-collapse:collapse; font-size:15px; margin:0 !important; border:0 !important; }
.fbp-prices th, .fbp-prices td { text-align:left; padding:11px 12px; border:0 !important; background:none; vertical-align:middle; }
.fbp-prices thead th { background:#0f3d66; color:#fff; font-size:13px; font-weight:700; line-height:1.25; white-space:nowrap; }
.fbp-prices thead th small { display:block; font-weight:400; font-size:11px; opacity:.75; margin-top:2px; }
.fbp-prices tbody tr:nth-child(even) td { background:#f5f8fb; }
.fbp-prices tbody tr:hover td { background:#e8f1fa; }
.fbp-prices tbody td { border-top:1px solid #e8edf2 !important; color:#1f2937; }
.fbp-prices .n { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.fbp-prices thead th.fbp-rt { background:#1d6fb8; }
.fbp-prices td.fbp-rt { background:#eef5fc !important; color:#0f3d66; }
.fbp-prices td.fbp-rt b { font-size:16px; }
.fbp-prices tr.fbp-hl td { background:#fff7e0 !important; font-weight:600; }
.fbp-prices tr.fbp-hl td.fbp-rt { background:#ffefc2 !important; }
.fbp-vi { width:50px; height:22px; color:#1d6fb8; vertical-align:middle; margin-right:10px; flex:none; }
.fbp-q { display:inline-block; width:20px; height:20px; line-height:20px; text-align:center; border-radius:50%; background:#eef0f3; color:#6b7280; font-size:12px; font-weight:700; cursor:help; }
.fbp-flag { display:inline-block; width:16px; height:11px; border-radius:2px; margin-right:5px; vertical-align:-1px; box-shadow:0 0 0 1px rgba(0,0,0,.12); }
.fbp-flag.bg { background:linear-gradient(#fff 33.3%, #00966e 33.3% 66.6%, #d62612 66.6%); }
.fbp-flag.ro { background:linear-gradient(90deg, #002b7f 33.3%, #fcd116 33.3% 66.6%, #ce1126 66.6%); }
.fbp-pnote { margin:0 !important; padding:10px 14px; font-size:13px; color:#4b5563; background:#f9fafb; border-top:1px solid #e8edf2; }
.fbp-fees { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0 0; }
.fbp-fees div { background:#f3f5f7; border-radius:10px; padding:10px 12px; font-size:14px; }
.fbp-fees b { display:block; margin-bottom:4px; }

.fbp-sec { margin:26px 0 0; }
.fbp-sub { color:#6b7280; font-size:14px; }
.fbp-calls { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 8px; }
.fbp-calls a { display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:10px; background:#e8f1fa; color:#1d6fb8 !important; font-weight:600; text-decoration:none !important; font-size:15px; }
.fbp-photos { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.fbp-photos img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:8px; display:block; margin:0; }
.fbp-360 { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.fbp-360 a { position:relative; display:block; border-radius:10px; overflow:hidden; color:#fff !important; text-decoration:none !important; }
.fbp-360 img { width:100%; aspect-ratio:3/2; object-fit:cover; display:block; margin:0; }
.fbp-360 span { position:absolute; left:8px; bottom:8px; background:rgba(0,0,0,.55); padding:3px 9px; border-radius:999px; font-size:13px; font-weight:600; }
.fbp-owner { display:flex; gap:12px; align-items:center; border:1px solid #e3e7ec; border-radius:12px; padding:12px; }
.fbp-owner img { width:120px; border-radius:8px; margin:0; flex:none; }
@media (max-width:560px) {
	.fbp-photos { grid-template-columns:1fr 1fr; }
	.fbp-fees { grid-template-columns:1fr; }
		.fbp-owner { flex-direction:column; align-items:flex-start; }
}
@media (max-width:700px) {
	.fbp-prices { font-size:13px; table-layout:fixed; }
	.fbp-prices th, .fbp-prices td { padding:7px 4px; }
	.fbp-prices th:first-child, .fbp-prices td:first-child { width:31%; padding-left:8px; }
	.fbp-prices th.fbp-rt, .fbp-prices td.fbp-rt { width:21%; }
	.fbp-full { display:none; } .fbp-short { display:inline; }
	.fbp-plus { display:block; font-size:10.5px; }
	.fbp-prices th:last-child, .fbp-prices td:last-child { padding-right:8px; }
	.fbp-prices thead th { white-space:normal; font-size:11px; letter-spacing:0; text-transform:none; vertical-align:bottom; }
	.fbp-prices thead th small { display:none; }
	.fbp-prices thead th.fbp-rt small { display:block; font-size:10px; }
	.fbp-prices .fbp-flag { display:block; margin:0 0 3px auto; }
	.fbp-prices td:first-child { line-height:1.25; }
	.fbp-prices .fbp-vi { display:block; width:34px; height:15px; margin:0 0 3px; }
	.fbp-prices td.fbp-rt b { font-size:14px; }
	.fbp-prices .n { white-space:normal; }
	.fbp-q { width:18px; height:18px; line-height:18px; }
}
.fbp-nx small, .fbp-nx i { white-space:nowrap; }
@media (max-width:560px) {
	.fbp-nx { gap:8px; padding:8px 12px; }
	.fbp-nx b { font-size:22px; }
	.fbp-nx em { min-width:0; padding:3px 7px; }
}

.fbp-g2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:10px 14px 4px; background:#f8fafc; border-top:1px solid #eef1f4; }
.fbp-g2[hidden] { display:none; }
.fbp-glab { font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:#6b7280; font-weight:700; }
.fbp-gval { display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px; margin:2px 0 0; }
.fbp-gval b { font-size:19px; font-weight:800; color:#1f2937; }
.fbp-pill { font-size:11px; font-weight:700; border-radius:999px; padding:2px 8px; white-space:nowrap; }
.fbp-pill.ok { background:#e8f6ec; color:#15803d; } .fbp-pill.warn { background:#fef3c7; color:#92400e; } .fbp-pill.bad { background:#fdecec; color:#b91c1c; }
.fbp-scale { position:relative; height:9px; border-radius:6px; margin:8px 0 18px; }
.fbp-scale.river { background:linear-gradient(90deg, #dc2626 0 var(--z, 14%), #f59e0b var(--z, 14%) var(--c, 18%), #22c55e var(--c, 18%)); }
.fbp-scale.wind { background:linear-gradient(90deg, #22c55e 0 56.25%, #facc15 56.25% 68.75%, #f97316 68.75% 81.25%, #dc2626 81.25%); }
.fbp-scale i { position:absolute; top:-4px; left:0; width:4px; height:17px; margin-left:-2px; background:#1f2937; border-radius:2px; box-shadow:0 0 0 2px #fff; }
.fbp-scale span { position:absolute; top:12px; font-size:10.5px; color:#6b7280; transform:translateX(-50%); }
.fbp-scale span.e { left:auto; right:0; transform:none; }
.fbp-foot { margin-top:0 !important; border-top:0 !important; padding-top:0 !important; }
.fbp-side .fbp-g2 { margin-top:auto; }
.fbp-scale span.z { transform:translateX(calc(-100% - 2px)); }
.fbp-scale span.c { transform:translateX(3px); }

.fbp-menu { position:relative; z-index:1100; display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; background:rgba(255,255,255,.96); backdrop-filter:blur(6px); padding:8px 0; margin:0 0 14px; border-bottom:1px solid #e3e7ec; }
.fbp-menu::-webkit-scrollbar { display:none; }
.fbp-menu a { flex:none; padding:7px 14px; border-radius:999px; background:#f1f4f7; color:#1f2937 !important; font:600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-decoration:none !important; white-space:nowrap; }
.fbp-menu a:hover { background:#e3e9ef; }
.fbp-menu a.on { background:#0f3d66; color:#fff !important; }
#now, #map, #schedule, #prices, #contacts, #photos-head, #owner { scroll-margin-top:calc(var(--wp-admin--admin-bar--height, 0px) + 64px); }
.fbp-menu.fixed { position:fixed; margin:0; box-shadow:0 4px 10px -6px rgba(0,0,0,.25); }
.fbp-menu-ph { margin:0 0 14px; }
.fbp-menu-ph:empty { margin:0; }
