/*
Theme Name: Woo Extensions
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.11
*/

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

/* ---------------------------------------------------------------------------
   Empty cart page
   ---------------------------------------------------------------------------
   Paired with woocommerce/cart/cart-empty.php. The button keeps the theme's own
   .button.secondary classes so it stays the brand blue (var(--main-color)) --
   only its proportions and casing are overridden here, and only for this one
   button. Flatsome's uppercase/padding come from a single-class selector, so a
   two-class selector wins without !important. "primary" is the grey button;
   "secondary" and "alt" are the blue ones on this site.
   --------------------------------------------------------------------------- */
/* Two columns so the whole empty state fits without scrolling; it folds to one
   centred column on phones, where there is no width to spare. */
.gplt-empty-cart {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 42px;
	text-align: left;
	padding: 14px 15px 22px;
}

.gplt-empty-cart__art {
	flex: 0 0 auto;
	width: 150px;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.gplt-empty-cart__body {
	max-width: 44ch;
	min-width: 0;
}

.gplt-empty-cart__title {
	font-size: 27px;
	font-weight: 600;
	letter-spacing: -.01em;
	margin: 0 0 8px;
}

.gplt-empty-cart__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #7a848c;
}

.gplt-empty-cart .return-to-shop {
	margin: 20px 0 0;
}

/* Height only. The theme's own "is-medium" already supplies 5px/34px padding --
   noticeably roomier than the 19.8px the default button had -- and it beats a
   two-class selector here, so there is no point restating it. */
.gplt-empty-cart__cta.button {
	min-height: 48px;
	text-transform: none;
	letter-spacing: .2px;
}


/* ---------------------------------------------------------------------------
   Buy Now / add-to-cart loading state
   ---------------------------------------------------------------------------
   Flatsome's woocommerce.js adds .loading to the submitted add-to-cart button
   and only clears it on pageshow, so the state is on screen for the whole trip
   to the checkout (measured ~2.1s, because CheckoutWC's skip_cart_step sends
   Buy Now straight to /checkout/). Flatsome's own .button.loading fades the
   label to rgba(255,255,255,.05) and centres the spinner where the text was,
   which reads as a broken button.

   Keep the label readable and move the spinner into the button's existing
   34px right-hand padding, so nothing overlaps and nothing shifts. Scoped to
   the add-to-cart and Buy Now buttons only -- every other .loading button on
   the site keeps Flatsome's default treatment.
   --------------------------------------------------------------------------- */
.single_add_to_cart_button.loading,
.ux-buy-now-button.loading {
	color: #fff;
}

.single_add_to_cart_button.loading::after,
.ux-buy-now-button.loading::after {
	top: 50%;
	right: 13px;
	left: auto;
	width: 13px;
	height: 13px;
	margin: -6.5px 0 0 0;
	animation-duration: .55s;
}

@media (prefers-reduced-motion: reduce) {
	.single_add_to_cart_button.loading::after,
	.ux-buy-now-button.loading::after {
		animation: none;
	}
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.gplt-empty-cart {
	flex-direction: column;
	text-align: center;
	gap: 18px;
	padding: 10px 15px 18px;
}

.gplt-empty-cart__art {
	width: 122px;
}

.gplt-empty-cart__title {
	font-size: 23px;
}

.gplt-empty-cart__text {
	font-size: 15px;
}


}