dialog.aih-modal {
	border: none;
	border-radius: 12px;
	padding: 0;
	max-width: 440px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

dialog.aih-modal::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

dialog.aih-modal[open] {
	animation: aih-fade-in 0.25s ease;
}

@keyframes aih-fade-in {
	from {
		opacity: 0;
		transform: scale(0.95) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.aih-modal-content {
	position: relative;
}

.aih-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #999;
	padding: 0;
	z-index: 1;
}

.aih-modal-close:hover {
	color: #333;
}

.aih-modal-body {
	padding: 32px 28px 28px;
}

.aih-modal-title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}

.aih-modal-subtitle {
	margin: 0 0 24px;
	font-size: 14px;
	color: #666;
}

.aih-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

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

.aih-label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
}

.aih-field input,
.aih-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	color: #333;
	background: #fafafa;
	transition: border-color 0.2s, background 0.2s;
	box-sizing: border-box;
}

.aih-field input:focus,
.aih-field textarea:focus {
	border-color: #25d366;
	background: #fff;
	outline: none;
}

.aih-form-error {
	background: #fef2f2;
	color: #dc2626;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
}

.aih-form-success {
	background: #f0fdf4;
	color: #16a34a;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
}

.aih-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	line-height: 1.3;
}

.aih-btn-primary {
	background: #25d366;
	color: #fff;
}

.aih-btn-primary:hover {
	background: #20bd5a;
}

.aih-btn-whatsapp {
	background: #25d366;
	color: #fff;
	padding: 12px 30px;
	border-radius: 5px;
	box-shadow: 0 2px 2px 0px rgba(45, 62, 79, 0.3);
}

.aih-btn-whatsapp:hover {
	background: #21bd5b;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px -5px rgba(45, 62, 79, 0.3);
}

.aih-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.aih-product-button {
	margin: 20px 0;
}

li.product .aih-product-button {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	margin: 0;
	opacity: 0;
	transition: .3s;
}

li.product .aih-product-button .aih-btn-whatsapp {
	width: 100%;
	justify-content: center;
	border-radius: 0;
	height: 35px;
	display: flex;
	align-items: center;
	gap: 6px;
}

li.product:hover .aih-product-button {
	opacity: 1;
}
