/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Hide "View cart" button in Flatsome off-canvas / mini cart (keep checkout). */
.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout) {
	display: none !important;
}

.woocommerce-MyAccount-navigation {
display: none;
}

.woocommerce-account .woocommerce-MyAccount-content {
width: 100%;
}

.ux-mobile-blog-drawer-shell {
	display: none;
	position: static;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
#content.blog-wrapper .post-sidebar {
	display: none !important;
}

	.ux-mobile-blog-drawer-shell {
		display: block;
	}

	body.woocommerce-page .ux-mobile-blog-drawer-shell {
		display: none !important;
	}

html.ux-mobile-blog-drawer-open,
html.ux-mobile-blog-drawer-open body {
	overflow: hidden !important;
}

.ux-mobile-blog-filter-chip {
	position: fixed;
	left: calc(env(safe-area-inset-left) + 16px);
	bottom: calc(env(safe-area-inset-bottom) + 16px);
	top: auto;
	z-index: 99999;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 999px;
	border: 1px solid rgba(0, 124, 186, 0.9);
	background: #007cba;
	box-shadow: 0 10px 24px rgba(0, 124, 186, 0.28);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	-webkit-tap-highlight-color: transparent;
	backdrop-filter: blur(6px);
	pointer-events: auto;
}

.ux-mobile-blog-filter-chip:active {
	transform: translateY(1px);
	background: #005a87;
}

.ux-mobile-blog-filter-chip__icon {
	width: 18px;
	height: 18px;
	display: inline-flex;
}

.ux-mobile-blog-drawer__toggle {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.ux-mobile-blog-drawer__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.38);
	opacity: 0;
	transition: opacity 180ms ease;
	touch-action: none;
	pointer-events: none;
	z-index: 99997;
}

.ux-mobile-blog-drawer__toggle:checked ~ .ux-mobile-blog-drawer__overlay {
	opacity: 1;
	pointer-events: auto;
}

.ux-mobile-blog-drawer__panel {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: min(92vw, 380px);
	background: #fff;
	transform: translateX(100%);
	transition: transform 220ms ease;
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.24);
	touch-action: pan-y;
	z-index: 99998;
	pointer-events: none;
}

.ux-mobile-blog-drawer__toggle:checked ~ .ux-mobile-blog-drawer__panel {
	transform: translateX(0);
	pointer-events: auto;
}

.ux-mobile-blog-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 14px 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ux-mobile-blog-drawer__title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.ux-mobile-blog-drawer__close {
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	padding: 4px 8px;
	color: #111;
	-webkit-tap-highlight-color: transparent;
}

.ux-mobile-blog-drawer__body {
	padding: 14px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.ux-mobile-blog-drawer__body .live-search-results {
	display: none !important;
}

}
