/**
* Theme Name: Amore Child
* Description: This is a child theme of Amore.
* Author: <a href="https://neuronthemes.com">NeuronThemes</a>
* Template: amore
* Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════
   Contact Modal
═══════════════════════════════════════════════════════════ */

.cmo-body-lock {
	overflow: hidden;
}

/* Overlay */
.cmo-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.cmo-overlay[hidden] {
	display: none;
}

.cmo-overlay--open {
	opacity: 1;
	pointer-events: auto;
}

.cmo-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

/* Dialog */
.cmo-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 32px 96px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
	width: 100%;
	max-width: 600px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 48px 44px 20px 44px;
	transform: translateY(24px) scale(0.97);
	transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
	box-sizing: border-box;
	scrollbar-width: thin;
	scrollbar-color: #d1d5db transparent;
}

.cmo-dialog::-webkit-scrollbar {
	width: 6px;
}

.cmo-dialog::-webkit-scrollbar-track {
	background: transparent;
	margin: 16px;
}

.cmo-dialog::-webkit-scrollbar-thumb {
	background: #d1d5db;
	border-radius: 100px;
}

.cmo-dialog::-webkit-scrollbar-thumb:hover {
	background: #9ca3af;
}

.cmo-overlay--open .cmo-dialog {
	transform: translateY(0) scale(1);
}

/* Close button */
.cmo-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	border-radius: 50% !important;
	border: none !important;
	background: #f3f4f6 !important;
	color: #6b7280 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
	line-height: 0 !important;
	padding: 0 !important;
	flex-shrink: 0;
	z-index: 1;
	appearance: none;
	-webkit-appearance: none;
	font-size: 0;
}

.cmo-close:hover {
	background: #e5e7eb;
	color: #111827;
}

/* Contact quick-links */
.cmo-contacts {
	display: flex;
	gap: 8px;
	margin-bottom: 15px;
}

.cmo-contact-link {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #f5f5f7;
	text-decoration: none;
	transition: background 0.2s ease;
	cursor: pointer;
}

.cmo-contact-link:hover {
	background: #ebebed;
}

.cmo-contact-icon {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cmo-contact-icon--wa {
	background: #25d366;
	color: #ffffff;
}

.cmo-contact-icon--ig {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #ffffff;
}

.cmo-contact-icon--em {
	background: #000000;
	color: #ffffff;
}

.cmo-contact-name {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #000000;
	line-height: 1.3;
}

.cmo-contact-value {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	color: #6b7280;
	line-height: 1.3;
}

.cmo-contact-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

/* Or divider */
.cmo-or-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.cmo-or-divider::before,
.cmo-or-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
}

.cmo-or-divider span {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

/* Header */
.cmo-title {
	font-family: 'Inter', sans-serif !important;
	font-size: 28px !important;
	font-weight: 600 !important;
	color: #000000 !important;
	letter-spacing: -0.03em !important;
	line-height: 1.15 !important;
	margin: 0 0 8px !important;
	word-spacing: normal !important;
}

.cmo-desc {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	color: #6b7280;
	line-height: 1.6;
	margin: 0 0 15px;
}

/* Form */
.cmo-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cmo-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cmo-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cmo-input {
	width: 100% !important;
	border: 1.5px solid #e5e7eb !important;
	border-radius: 12px !important;
	background: #f9fafb;
	padding: 14px 16px !important;
	font-size: 15px !important;
	font-family: 'Inter', sans-serif !important;
	color: #111827 !important;
	outline: none !important;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-sizing: border-box !important;
}

.cmo-input::placeholder {
	color: #9ca3af;
}

.cmo-input:focus {
	border-color: #000000;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.cmo-input--error {
	border-color: #ef4444 !important;
	background: #fff5f5 !important;
}

.cmo-textarea {
	resize: none;
	min-height: 110px;
}

.cmo-error {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	color: #ef4444;
	margin: 0;
	min-height: 1em;
}

/* Submit */
.cmo-submit {
	width: 100%;
	border: none !important;
	border-radius: 100px !important;
	background: #000000;
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	font-family: 'Inter', sans-serif !important;
	padding: 18px !important;
	cursor: pointer !important;
	transition: background 0.2s, opacity 0.2s !important;
	
}

.cmo-submit-text {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.cmo-submit:hover:not(:disabled) {
	background: #1a1a1a;
}

.cmo-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Spinner */
.cmo-spinner {
	animation: cmo-spin 0.75s linear infinite;
}

@keyframes cmo-spin {
	to { transform: rotate(360deg); }
}

/* Divider */
.cmo-divider {
	border: none;
	border-top: 1px solid #f3f4f6;
	margin: 4px 0 8px;
}

/* Success */
.cmo-success {
	text-align: center;
	padding: 16px 0 8px;
	flex-direction: column;
	align-items: center;
}

.cmo-success[hidden] {
	display: none !important;
}

.cmo-success:not([hidden]) {
	display: flex;
}

.cmo-success-icon {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #f0fdf4;
	color: #16a34a;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.cmo-success .cmo-title {
	margin-bottom: 8px !important;
}

.cmo-success .cmo-desc {
	margin-bottom: 24px;
}

.cmo-success .cmo-submit {
	max-width: 180px;
	margin: 0 auto;
}

/* Trigger buttons (for use in Elementor / shortcode) */
.cmo-trigger {
	cursor: pointer;
	border: none;
	border-radius: 100px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 500;
	padding: 14px 28px;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cmo-trigger--primary {
	background: #000000;
	color: #ffffff;
}

.cmo-trigger--primary:hover {
	background: #1a1a1a;
}

.cmo-trigger--outline {
	background: transparent;
	color: #000000;
	border: 1.5px solid #000000;
}

.cmo-trigger--outline:hover {
	background: #000000;
	color: #ffffff;
}

.cmo-trigger--text {
	background: transparent;
	color: #000000;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#text-seo h2 {
	font-size: 32px !important;
	font-family: 'Inter', sans-serif !important;
}

#text-seo h3 {
	font-size: 28px !important;
	font-family: 'Inter', sans-serif !important;
}

#text-seo p {
	font-size: 15px !important;
}

@media (max-width: 640px) {
	.cmo-dialog {
		padding: 36px 24px 28px;
		border-radius: 22px;
	}

	.cmo-contacts {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.cmo-row {
		grid-template-columns: 1fr;
	}

	#text-seo h2 {
		font-size: 30px !important;
	}

	#text-seo p {
		font-size: 15px !important;
	}
	#footer-mobile .m-neuron-nav-menu > ul {
		flex-direction: column !important;
		gap: 15px !important;
	}
}

/* ═══════════════════════════════════════════════════════════
   WPML Language Switcher — fix dropdown disappearing on hover
   Bridges the gap between the trigger and the submenu so the
   mouse hover is not interrupted when moving between them.
═══════════════════════════════════════════════════════════ */

/* Extend the hoverable area downward via padding that overlaps the gap */
.wpml-ls-item.menu-item-has-children > .sub-menu {
	padding-top: 10px !important;
	margin-top: 0px !important;
	border-radius: 10px !important;
}

.wpml-ls-item.menu-item-has-children > .sub-menu li {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}

/* Small delay before hiding so a slow mouse move doesn't close the menu */
.wpml-ls-item.menu-item-has-children .sub-menu {
	transition-property: visibility, opacity;
	transition-duration: 0.15s;
	transition-delay: 0.1s;
}

.wpml-ls-item.menu-item-has-children:hover > .sub-menu,
.wpml-ls-item.menu-item-has-children:focus-within > .sub-menu {
	transition-delay: 0s;
}

