/* Outlined, so the store's own Add to cart / Buy Now stay the main buttons. */
.tson-wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 10px 0 4px;
	padding: 12px 20px;
	border: 2px solid #1ea952;
	border-radius: 999px;
	background: #fff;
	color: #168a41 !important;
	font-weight: 700;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background .2s, color .2s, transform .15s;
}
.tson-wa-btn svg { flex: 0 0 auto; width: 24px; height: 24px; color: #1ea952; }
.tson-wa-btn:hover,
.tson-wa-btn:focus-visible { background: #1ea952; color: #fff !important; }
.tson-wa-btn:hover svg,
.tson-wa-btn:focus-visible svg { color: #fff; }
.tson-wa-btn:active { transform: scale(.98); }

/* Product page: under Add to cart, same height and font. */
.tson-wa-btn--product {
	min-height: 54px;
	margin: 12px 0 6px;
	padding: 0 22px;
	font-family: "Inter", "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
}

/* In the button row: its own line. */
#shop-now .tson-wa-btn--product {
	flex: 1 1 100%;
	order: 20;
	margin: 0;
}
/*
 * Store Style product page on a desktop: under Add to cart + Buy Now, between the quantity box
 * (138px + 12px gap) and the wishlist heart (12px + 58px + 12px gap).
 */
@media (min-width: 1200px) {
	body.tson-ps #shop-now .tson-wa-btn--product {
		flex: 0 0 auto;
		width: calc(100% - 232px);
		margin-left: 150px;
	}
}

/* Phones: full-width row in the theme's sticky Add to cart / Buy Now bar. */
.mobile-btn-cart-click .tson-wa-btn--bar {
	order: 4;
	flex: 1 1 calc(100% - 16px);
	width: auto;
	height: 46px;
	margin: 0 8px; /* lines up with the theme's Add to cart / Buy Now margins */
	padding: 0 16px;
	font-family: "Inter", "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1;
}
body.tson-wa-bar .mobile-btn-cart-click {
	flex-wrap: wrap;
	row-gap: 8px;
}
body.tson-wa-bar .tson-wa-btn--product { display: none; }
/* Other floating buttons (chat bubbles, back-to-top) move up above the bar. */
body.tson-wa-bar .float-btn__wrapper,
body.tson-wa-bar .kodee-fab {
	bottom: calc(var(--tson-wa-bar-h, 120px) + 8px) !important;
}
body.tson-wa-bar .tbay-to-top-mobile {
	bottom: calc(var(--tson-wa-bar-h, 120px) + 56px) !important;
}
/* The wishlist heart is in the header too; the bar keeps just the three buttons. */
body.tson-wa-bar .mobile-btn-cart-click .tbay-mobile-wishlist { display: none; }

.tson-wa-float {
	position: fixed;
	right: 18px;
	bottom: 90px;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
	transition: transform .2s;
}
.tson-wa-float:hover { transform: scale(1.06); }
.tson-wa-float svg { width: 30px; height: 30px; }
