/**
 * INVIA — Service Product Overrides
 * Loaded only on single product pages in the 'invia-services' category.
 * Base layout comes from woocommerce-shop.css (invia-wc-shop).
 */

/* ── Sticky "Book Now" button ── */
/* Кнопка всегда справа — не зависит от dir="rtl/ltr" */
.invia-sticky-book {
	position: fixed !important;
	bottom: 28px !important;
	right: 28px !important;
	left: auto !important;
	z-index: 99999 !important;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	background: #fff !important;
	color: #151515 !important;
	border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
	border-radius: 999px !important;
	padding: 13px 22px !important;
	font-family: 'Ploni', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14) !important;
	transform: translateY(90px);
	opacity: 0;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, box-shadow .2s, border-color .2s;
	pointer-events: none;
}
.invia-sticky-book.is-visible {
	transform: translateY(0) !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}
.invia-sticky-book:hover {
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2) !important;
	border-color: rgba(0, 0, 0, 0.22) !important;
}
@media (max-width: 600px) {
	.invia-sticky-book {
		bottom: 18px !important;
		right: 16px !important;
		left: auto !important;
		padding: 11px 18px !important;
		font-size: 12px;
	}
	.invia-sticky-book svg {
		display: none;
	}
}

/* ── Hide quantity control — services are always qty 1 ── */
.is-service-product .invia-qty-control {
	display: none !important;
}

/* ── Add to cart button takes full width when qty is hidden ── */
.is-service-product .single_add_to_cart_button {
	flex: 1 1 100% !important;
}
