/* Floating "add your business for free" tab on the left edge (includes/join-tab.php, 1.42.3). Design: Lori, 29.11.2026.
   Orange with white text is Naor's standing choice for orange buttons on this site (DECISIONS.md, 23.11.2026).
   Stacking: above the sticky header (50), the menu drawer (100), the phone action bar (900) and map panes (up to 1000);
   below the trip planner (9000), the cookie banner (9500), the age gate (9550), the accessibility widget (9600) and the search dialog (9700). */
.tbg-join-tab {
	position: fixed;
	left: 0;
	top: 50%;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 16px 12px 18px;
	padding-left: calc(12px + env(safe-area-inset-left, 0px));
	border-radius: 0 16px 16px 0;
	background: var(--c-orange, #ff7a05);
	color: #fff;
	font-family: var(--font, 'Heebo', 'Arial Hebrew', Arial, sans-serif);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(13, 46, 36, .28);
	transform: translateY(-50%);
	transition: padding-left 200ms cubic-bezier(.2, .7, .2, 1), background-color 200ms;
}
.tbg-join-tab:hover,
.tbg-join-tab:focus-visible { background: var(--c-orange-dark, #e66a00); color: #fff; padding-left: calc(18px + env(safe-area-inset-left, 0px)); text-decoration: none; }
.tbg-join-tab:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 3px; box-shadow: 0 0 0 3px #fff, 0 6px 20px rgba(13, 46, 36, .28); }
.tbg-join-tab__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--c-orange, #ff7a05); flex: none; }
.tbg-join-tab__icon svg { display: block; width: 14px; height: 14px; }
/* Reads top to bottom, starting under the plus. */
.tbg-join-tab__text { direction: rtl; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; letter-spacing: .01em; }

/* Out of the way while a full screen layer of the theme is open. */
body.tbg-drawer-open .tbg-join-tab,
body.tbg-fp-mapview .tbg-join-tab { display: none; }

@media (max-width: 768px) {
	.tbg-join-tab { gap: 7px; padding: 10px 6px 12px; padding-left: calc(6px + env(safe-area-inset-left, 0px)); border-radius: 0 12px 12px 0; font-size: 13px; }
	.tbg-join-tab:hover,
	.tbg-join-tab:focus-visible { padding-left: calc(6px + env(safe-area-inset-left, 0px)); }
	.tbg-join-tab__icon { width: 18px; height: 18px; }
	.tbg-join-tab__icon svg { width: 10px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) { .tbg-join-tab { transition: none; } }
@media print { .tbg-join-tab { display: none; } }
