/*
Theme Name: Scalo Child
Theme URI: https://wpgrids.net/fbth/
Description: Finest Base is a smart, fast & fully customized WordPress theme, built for blog, business website, personal
website and ecommmerce store. Finest Base Theme fully responsive layouts display beautifully across desktop, mobile, and
all devices. Easy installation and demo imports allows you to build a complete website immediately after the activation.
Currently Finest Base has pre-made demos for minimal blog website, Plumber website, yoga trainer website, solar website.
We are consistently updating Finest Base with new demos every two weeks.
Author: wpgrids
Author URI: https://profiles.wordpress.org/wpgrids/
Template: scalo
Version: 1.2.4
*/

/* Mobile contact bar: inc/mobile-contact-bar.php */
.macho-contact-bar {
	display: none;
}

@media (max-width: 767px) {
	.macho-contact-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9999;
		display: flex;
		background: #2b4dad;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	}

	/* The safe area is padded inside each button so both colours reach the bottom edge. */
	.macho-contact-bar__button {
		display: flex;
		flex: 1 1 50%;
		align-items: center;
		justify-content: center;
		gap: 8px;
		box-sizing: content-box;
		min-height: 56px;
		padding: 0 12px env(safe-area-inset-bottom);
		color: #fff;
		font-size: 16px;
		font-weight: 600;
		line-height: 1;
		text-decoration: none;
	}

	.macho-contact-bar__button:hover,
	.macho-contact-bar__button:focus,
	.macho-contact-bar__button:active {
		color: #fff;
		filter: brightness(0.92);
	}

	.macho-contact-bar__button--whatsapp {
		background: #25d366;
	}

	/* Keeps the end of the page visible above the bar. */
	body {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}
}

/* Sticky header offset: inc/sticky-header-offset.php */
html {
	scroll-padding-top: var(--macho-header-offset, 0px);
}
