/**
 * CONTACT FORM 7
 *
 * Estilos específicos para los formularios de Contact Form 7 de Carnimad. Este archivo agrupa únicamente la presentación visual de los formularios, campos, mensajes y estados relacionados con CF7 para mantener estos estilos separados del CSS general del tema.
 *
 * @package Carnimad
 */

/* 
  * Contact Form 7 - General Styles
  */
.wpcf7,
.wpcf7 form,
.wpcf7 .wpcf7-form,
.wpcf7 .wpcf7-form-control-wrap {
	width: 100%;
}

/* 
 * Contact Form 7 - Carnimad Subscribe
 */
.carnimad-subscribe-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
}

.carnimad-subscribe-form p {
	margin: 0;
}

.carnimad-subscribe-form__field input[type='email'] {
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 0;
	border-radius: 3px;
	background: var(--c-white, #fff);
	font-size: 14px;
	line-height: 1;
	outline: none;
}

.carnimad-subscribe-form__field input[type='email']::placeholder {
	color: #858585;
	opacity: 1;
}

.carnimad-subscribe-form__privacy .wpcf7-list-item {
	margin: 0;
}

.carnimad-subscribe-form__privacy label {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--c-white, #fff);
	cursor: pointer;
}

.carnimad-subscribe-form__privacy input[type='checkbox'] {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin: 3px 0 0;
}

.carnimad-subscribe-form__privacy a {
	color: inherit;
	text-decoration: none;
}

.carnimad-subscribe-form__privacy a:hover {
	text-decoration: underline;
}

.carnimad-subscribe-form__submit input[type='submit'] {
	width: 100%;
	border: none;
}

/*.carnimad-subscribe-form__submit input[type='submit']:hover {
	transform: translateY(-1px);
}*/

.carnimad-subscribe-form .wpcf7-spinner {
	display: none;
}

@media (max-width: 767px) {
	.carnimad-subscribe-form__submit input[type='submit'] {
		font-size: 14px;
	}
}

/*
 * Contact Form 7 - Carnimad
 */
.carnimad-contact-form .wpcf7-submit {
	width: 100%;
}
.carnimad-contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.carnimad-contact-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.carnimad-contact-form input[type='text'],
.carnimad-contact-form input[type='email'],
.carnimad-contact-form input[type='tel'],
.carnimad-contact-form select,
.carnimad-contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 0;
	border-radius: 3px;
	background: var(--c-white, #fff);
	font-size: 14px;
	line-height: 1.4;
	outline: none;
}

.carnimad-contact-form input[type='text'],
.carnimad-contact-form input[type='email'],
.carnimad-contact-form input[type='tel'],
.carnimad-contact-form select {
	min-height: 52px;
}

.carnimad-contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.carnimad-contact-form input::placeholder,
.carnimad-contact-form textarea::placeholder,
.carnimad-contact-form select {
	color: #858585;
	opacity: 1;
}

.carnimad-contact-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.carnimad-contact-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--c-white, #fff);
	cursor: pointer;
}

.carnimad-contact-form .wpcf7-acceptance input[type='checkbox'] {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin: 3px 0 0;
}

.carnimad-contact-form .wpcf7-acceptance a {
	color: inherit;
	text-decoration: none;
}

.carnimad-contact-form .wpcf7-acceptance a:hover {
	text-decoration: underline;
}

.carnimad-contact-form .wpcf7-spinner {
	display: none;
}

.carnimad-contact-form .wpcf7-submit {
	width: 100%;
}

