/* Mobile dock: fixed bottom bar, glass, phones + portrait tablets only. */
:not(#_) .aob-dock { display: none; }

@media (max-width: 767px) {
	:not(#_) body.aob-has-dock { --aob-dock-h: 72px; }

	:not(#_) .aob-dock {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 900;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		height: calc(var(--aob-dock-h, 72px) + env(safe-area-inset-bottom, 0px));
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 16px;
		border-top: 1px solid rgba(200, 138, 74, 0.25);
		background: linear-gradient(180deg, rgba(26, 24, 22, 0.88), rgba(17, 16, 14, 0.94));
		-webkit-backdrop-filter: blur(16px) saturate(140%);
		backdrop-filter: blur(16px) saturate(140%);
		box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
		font-family: var(--aob-font-body);
	}
	:not(#_) .aob-dock,
	:not(#_) .aob-dock *,
	:not(#_) .aob-dock *::before,
	:not(#_) .aob-dock *::after { box-sizing: border-box; }

	:not(#_) .aob-dock__phone {
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
		color: var(--aob-white);
		text-decoration: none;
	}
	:not(#_) .aob-dock__phone-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 36px;
		height: 36px;
		border: 1px solid var(--aob-brand);
		border-radius: 50%;
		color: var(--aob-brand);
	}
	:not(#_) .aob-dock__phone-text { display: flex; flex-direction: column; min-width: 0; }
	:not(#_) .aob-dock__phone-label { color: var(--aob-light-2); font-size: 12px; font-weight: 500; line-height: 16px; }
	:not(#_) .aob-dock__phone-number { font-size: 15px; font-weight: 500; line-height: 20px; white-space: nowrap; }

	:not(#_) .aob-dock .aob-btn { height: 46px; gap: 8px; padding: 4px 4px 4px 16px; font-size: 14px; flex: none; }
	:not(#_) .aob-dock .aob-btn__icon { width: 36px; height: 36px; }

	/* keep page content and the footer clear of the dock */
	:not(#_) body.aob-has-dock { padding-bottom: 0; }
}
@media (max-width: 429px) {
	/* tight phones: the CTA keeps only its label so the phone number is never clipped */
	:not(#_) .aob-dock .aob-btn__icon { display: none; }
	:not(#_) .aob-dock .aob-btn { padding: 4px 16px; }
}
@media (max-width: 389px) {
	/* narrow phones: the phone icon stays, just smaller, so the number and the CTA still fit */
	:not(#_) .aob-dock { padding-left: 12px; }
	:not(#_) .aob-dock__phone { gap: 6px; }
	:not(#_) .aob-dock__phone-icon { width: 26px; height: 26px; }
	:not(#_) .aob-dock__phone-icon svg { width: 13px; height: 13px; }
	:not(#_) .aob-dock__phone-number { font-size: 14px; }
	:not(#_) .aob-dock .aob-btn { padding-left: 14px; }
}
@media (max-width: 349px) {
	/* 320 px class: a bit tighter so the whole number is visible next to the CTA */
	:not(#_) .aob-dock { padding-left: 10px; padding-right: 10px; }
	:not(#_) .aob-dock__phone { gap: 5px; }
	:not(#_) .aob-dock__phone-icon { width: 24px; height: 24px; }
	:not(#_) .aob-dock__phone-number { font-size: 13px; }
	:not(#_) .aob-dock .aob-btn { padding: 4px 12px; font-size: 13px; }
}
