/* Match Woodmart / WooCommerce button styling */
.wcu-contact-button,
a.wcu-contact-button.button,
button.wcu-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--btn-height, 42px);
	padding: var(--btn-padding, 5px 20px);
	border: 0;
	border-radius: var(--btn-accented-brd-radius, 5px);
	background-color: var(--btn-accented-bgcolor, #000);
	color: var(--btn-accented-color, #fff) !important;
	font-family: var(--wd-text-font, inherit);
	font-size: var(--wd-text-font-size, 14px);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	box-shadow: var(--btn-accented-box-shadow, none);
	transition: all 0.25s ease;
	cursor: pointer;
}

.wcu-contact-button:hover,
a.wcu-contact-button.button:hover,
button.wcu-contact-button:hover {
	background-color: var(--btn-accented-bgcolor-hover, #000);
	color: var(--btn-accented-color-hover, #fff) !important;
	box-shadow: var(--btn-accented-box-shadow-hover, none);
	transform: var(--btn-accented-transform, none);
}

.wcu-contact-button span {
	display: inline-block;
}

.wcu-contact-button--single {
	width: 100%;
	min-height: 48px;
	font-size: 15px;
}

.wcu-contact-button--loop {
	width: 100%;
}

.wcu-contact-button--disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.wcu-single-contact-wrap {
	margin-top: 20px;
}

.wcu-header-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none !important;
	color: inherit;
	padding: 0 4px;
	transition: opacity 0.2s ease;
}

.wcu-header-contact:hover {
	opacity: 0.75;
}

.wcu-header-contact .wcu-header-contact-label {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	text-transform: none;
}

.wcu-header-contact svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	flex-shrink: 0;
}

.wcu-header-cart-hidden {
	display: none !important;
}

body.wcu-replace-cart .wd-header-cart > a {
	pointer-events: none;
}

body.wcu-replace-cart .wd-header-cart .wd-dropdown-cart,
body.wcu-replace-cart .cart-widget-side,
body.wcu-replace-cart .woocommerce-mini-cart,
body.wcu-replace-cart .elementor-menu-cart__container {
	display: none !important;
}

/* Floating WhatsApp button */
.wcu-floating-wrap {
	position: fixed;
	right: 24px;
	bottom: 100px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	pointer-events: none;
}

.wcu-floating-button {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 18px 0 14px;
	border: 0;
	border-radius: 999px;
	background: #25d366;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	animation: wcu-float-pulse 2.5s ease-in-out infinite;
}

.wcu-floating-button:hover {
	background: #1ebe57;
	color: #fff !important;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.wcu-floating-button svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
	flex-shrink: 0;
}

.wcu-floating-button-text {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.wcu-floating-button--icon-only {
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
}

@keyframes wcu-float-pulse {
	0%,
	100% {
		box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
	}
	50% {
		box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
	}
}

@media (max-width: 768px) {
	.wcu-floating-wrap {
		right: 16px;
		bottom: 100px;
	}

	.wcu-floating-button-text {
		display: none;
	}

	.wcu-floating-button {
		width: 56px;
		height: 56px;
		padding: 0;
		border-radius: 50%;
	}

	.wcu-header-contact .wcu-header-contact-label {
		display: none;
	}
}
