/* Avoid double contact widgets with legacy theme toolbox */
body:has(#wc-cs-floating-button) #toolbox {
	display: none !important;
}

#wc-cs-floating-button,
.wc-cs-floating-container {
	--zroc-fab-bottom: 24px;
	--zroc-fab-right: 24px;
	--zroc-fab-bottom-mobile: 20px;
	--zroc-fab-right-mobile: 16px;
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	position: fixed !important;
	bottom: var(--zroc-fab-bottom) !important;
	right: var(--zroc-fab-right) !important;
	left: auto !important;
	top: auto !important;
	margin: 0 !important;
	z-index: 2147483000 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	gap: 12px !important;
	pointer-events: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
}

.wc-cs-floating-menu {
	position: relative !important;
	display: none;
	margin: 0;
	z-index: 999999;
	pointer-events: auto;
	width: 300px;
	max-width: calc(100vw - 40px);
}
.wc-cs-floating-menu.show {
	display: block;
	visibility: visible;
	opacity: 1;
	animation: zroc-cs-slide-up 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.wc-cs-card {
	background: #fff;
	border: 1px solid #dbe2ec;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 28, 46, 0.16);
	overflow: hidden;
}
.wc-cs-card-head {
	background: linear-gradient(135deg, #0b3a6e 0%, #124f8f 100%);
	color: #fff;
	padding: 16px 18px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.wc-cs-card-head strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
}
.wc-cs-card-head span {
	display: block;
	font-size: 12px;
	opacity: 0.78;
	margin-top: 3px;
	font-weight: 400;
}
.wc-cs-card-close {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
}
.wc-cs-card-close:hover { background: rgba(255, 255, 255, 0.28); }
.wc-cs-card-list {
	padding: 8px 6px;
	background: #f7f9fc;
}
.wc-cs-card-row,
.wc-cs-floating-item.wc-cs-card-row {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	padding: 14px 12px !important;
	border-radius: 10px !important;
	text-decoration: none !important;
	color: #1c2430 !important;
	background: transparent !important;
	box-shadow: none !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	font-weight: 400 !important;
	transition: background 0.2s ease !important;
}
.wc-cs-card-row:hover {
	background: #eef3f9 !important;
	box-shadow: none !important;
}
.wc-cs-card-ico {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e6eaf0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #4b5563;
}
.wc-cs-card-ico svg {
	width: 18px !important;
	height: 18px !important;
	display: block;
}
.wc-cs-floating-whatsapp .wc-cs-card-ico {
	color: #25d366;
	border-color: #c9f0d8;
	background: #f2fcf6;
}
.wc-cs-card-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.wc-cs-card-lab {
	font-size: 12px;
	color: #5b6573;
	font-weight: 600;
}
.wc-cs-card-val {
	font-size: 14px;
	font-weight: 700;
	color: #1c2430;
	letter-spacing: -0.01em;
	word-break: break-all;
	line-height: 1.35;
}
.wc-cs-card-cta {
	display: block;
	margin: 4px 14px 16px;
	text-align: center;
	background: #0056b3;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 10px;
	padding: 12px 14px;
	font-weight: 700;
	font-size: 14px;
	transition: background 0.2s ease, transform 0.2s ease;
}
.wc-cs-card-cta:hover {
	background: #004494;
	color: #fff !important;
}
.wc-cs-card-cta:active { transform: scale(0.98); }

#wc-cs-floating-toggle,
.wc-cs-floating-toggle,
#wc-cs-back-to-top,
.wc-cs-back-to-top {
	position: relative !important;
	width: 56px !important;
	height: 56px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	pointer-events: auto !important;
	-webkit-tap-highlight-color: transparent !important;
	z-index: 1000000 !important;
	outline: none !important;
	transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.4s, transform 0.4s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

.wc-cs-fab-shell {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 56px !important;
	height: 56px !important;
	padding: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow:
		0 8px 24px rgba(255, 87, 34, 0.38),
		0 2px 8px rgba(255, 87, 34, 0.2) !important;
	transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.45s cubic-bezier(0.32, 0.72, 0, 1) !important;
}
.wc-cs-fab-shell--dark {
	background: transparent !important;
	padding: 0 !important;
	box-shadow:
		0 8px 24px rgba(30, 41, 59, 0.35),
		0 2px 8px rgba(15, 23, 42, 0.18) !important;
}
.wc-cs-fab-core {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 999px !important;
	color: #fff !important;
	background: #ff5722 !important;
	box-shadow: none !important;
	transition: background 0.45s cubic-bezier(0.32, 0.72, 0, 1), transform 0.45s cubic-bezier(0.32, 0.72, 0, 1) !important;
}
.wc-cs-fab-core--dark {
	position: relative !important;
	background: #1e293b !important;
	box-shadow: none !important;
}
.wc-cs-fab-icon {
	display: block !important;
	position: absolute !important;
	opacity: 1 !important;
	transform: scale(1) !important;
	transition: opacity 0.28s cubic-bezier(0.32, 0.72, 0, 1), transform 0.28s cubic-bezier(0.32, 0.72, 0, 1) !important;
}
#wc-cs-floating-icon-chat { display: block !important; }
#wc-cs-floating-icon-close {
	display: block !important;
	opacity: 0 !important;
	transform: scale(0.7) rotate(-45deg) !important;
	pointer-events: none !important;
}
.wc-cs-floating-toggle .wc-cs-fab-core { position: relative !important; }
.wc-cs-floating-toggle:hover .wc-cs-fab-shell,
.wc-cs-back-to-top:hover .wc-cs-fab-shell {
	transform: translateY(-2px) scale(1.04) !important;
}
.wc-cs-floating-toggle:hover .wc-cs-fab-shell {
	box-shadow:
		0 12px 30px rgba(255, 87, 34, 0.45),
		0 4px 12px rgba(255, 87, 34, 0.25) !important;
}
.wc-cs-back-to-top:hover .wc-cs-fab-shell--dark {
	box-shadow:
		0 12px 30px rgba(30, 41, 59, 0.42),
		0 4px 12px rgba(15, 23, 42, 0.22) !important;
}
.wc-cs-floating-toggle:hover .wc-cs-fab-core { background: #ff6a3d !important; }
.wc-cs-back-to-top:hover .wc-cs-fab-core--dark { background: #334155 !important; }
.wc-cs-floating-toggle:active .wc-cs-fab-shell,
.wc-cs-back-to-top:active .wc-cs-fab-shell {
	transform: scale(0.96) !important;
}
.wc-cs-floating-toggle.active .wc-cs-fab-core { background: #1e293b !important; }
.wc-cs-floating-toggle.active .wc-cs-fab-shell {
	box-shadow:
		0 8px 24px rgba(15, 23, 42, 0.28),
		0 2px 8px rgba(15, 23, 42, 0.12) !important;
}
.wc-cs-floating-toggle.active #wc-cs-floating-icon-chat {
	opacity: 0 !important;
	transform: scale(0.7) rotate(45deg) !important;
}
.wc-cs-floating-toggle.active #wc-cs-floating-icon-close {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}
.wc-cs-back-to-top.is-hidden {
	visibility: hidden !important;
	opacity: 0 !important;
	transform: translateY(8px) scale(0.92) !important;
	pointer-events: none !important;
}
.wc-cs-back-to-top.show {
	visibility: visible !important;
	opacity: 1 !important;
	transform: translateY(0) scale(1) !important;
	pointer-events: auto !important;
}
.wc-cs-floating-item {
	position: relative !important;
	pointer-events: auto !important;
	cursor: pointer !important;
}

@keyframes zroc-cs-slide-up {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
	#wc-cs-floating-button,
	.wc-cs-floating-container {
		bottom: var(--zroc-fab-bottom-mobile) !important;
		right: var(--zroc-fab-right-mobile) !important;
	}
	.wc-cs-floating-container { gap: 10px !important; }
	.wc-cs-floating-menu { width: min(300px, calc(100vw - 32px)); }
	#wc-cs-floating-toggle,
	.wc-cs-floating-toggle,
	#wc-cs-back-to-top,
	.wc-cs-back-to-top,
	.wc-cs-fab-shell {
		width: 52px !important;
		height: 52px !important;
	}
}

/* Shared inquiry modal (same form as homepage / contact) */
html.zroc-inquiry-modal-open,
html.zroc-inquiry-modal-open body {
	overflow: hidden;
}

.zroc-inquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483600;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

.zroc-inquiry-modal.is-open,
.zroc-inquiry-modal:not([hidden]) {
	display: flex;
}

.zroc-inquiry-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.zroc-inquiry-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(640px, 100%);
	max-height: min(92vh, 900px);
	overflow: auto;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 64px rgba(15, 28, 46, 0.28);
	padding: 28px 24px 20px;
}

.zroc-inquiry-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #334155;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.zroc-inquiry-modal__close:hover {
	background: #e2e8f0;
}

.zroc-inquiry-modal .contact-form-container {
	max-width: none;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.zroc-inquiry-modal .contact-form-title {
	padding-right: 36px;
}

.zroc-inquiry-modal .unified-contact-form .form-control,
.zroc-inquiry-modal .unified-contact-form input[type="text"],
.zroc-inquiry-modal .unified-contact-form input[type="email"],
.zroc-inquiry-modal .unified-contact-form select,
.zroc-inquiry-modal .unified-contact-form textarea {
	border: 1px solid #d1d5db !important;
	background: #fff !important;
	color: #111827 !important;
}

.zroc-inquiry-modal .unified-contact-form .form-control:focus,
.zroc-inquiry-modal .unified-contact-form input:focus,
.zroc-inquiry-modal .unified-contact-form select:focus,
.zroc-inquiry-modal .unified-contact-form textarea:focus {
	border-color: #0065b1 !important;
	box-shadow: 0 0 0 3px rgba(0, 101, 177, 0.12) !important;
}

.zroc-inquiry-modal .unified-contact-form-submit {
	background: #0065b1 !important;
	color: #fff !important;
}

.zroc-inquiry-modal .unified-contact-form-submit:hover {
	background: #085a9c !important;
}

.zroc-inquiry-modal .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 640px) {
	.zroc-inquiry-modal {
		padding: 12px;
		align-items: flex-end;
	}
	.zroc-inquiry-modal__dialog {
		width: 100%;
		max-height: 92vh;
		border-radius: 14px 14px 0 0;
		padding: 22px 16px 16px;
	}
}
