.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}
.cursor-pointer{
    cursor:pointer;
}

/*sidebar css*/ 
.sidenav {
	height: 100%;
	width: 470px;
	position: fixed;
	z-index: 9999;
	top: 0;
	right: 0;
	background-color: #fff;
	overflow-x: hidden;
	/*transition: 0.5s; */
	transition: transform 0.4s ease-in-out;
  	transform: translateX(100%); /* Inicia fuera de la pantalla a la derecha */
  	box-shadow: -8px 0 30px rgba(0,0,0,0.18);
}
.sidenav.open {
  transform: translateX(0); /* Se desliza a la vista */
}
.sidenav a { 
	text-decoration: none;
	font-size: 15px;
	color: #818181;
	display: block;
	transition: 0.3s;
}
.sidenav a:hover {
	color: #343434;
}
.sidenav .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}
@media screen and (max-width: 767px) {
	.sidenav { width: 100vw; }
}
.sidenav .sidenav-header {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #f0f0f0;
	padding: 0 4px;
}
.sidenav .sidenav-header h5 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: 0.3px;
}
.sidenav .sidenav-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: #f5f5f5;
	color: #333;
	font-size: 16px;
	transition: all .2s ease;
	cursor: pointer;
}
.sidenav .sidenav-close:hover {
	background: #e8e8e8;
	transform: rotate(90deg);
}
.sidenav .btn_footer {
	transition: all .2s ease;
	background: transparent;
	border-radius: 10px;
	margin: 4px;
}
.sidenav .btn_footer i {
	transition: transform .2s ease;
}
.sidenav .btn_footer:hover {
	background: #f3f4f6;
	transform: translateY(-2px);
}
.sidenav .btn_footer:hover i {
	transform: scale(1.1);
}

/* Tabs del sidebar (Publicar producto / Mis publicaciones) */
.sidenav .tab-sidebar-container {
	display: flex;
	background: #f7f8fa;
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 16px;
	gap: 4px;
}
.sidenav .tab-sidebar {
	flex: 1;
	text-align: center;
	padding: 9px 4px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	transition: all .2s ease;
	cursor: pointer;
	line-height: 1.2;
}
.sidenav .tab-sidebar.active {
	background: #fff;
	color: #111827;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sidenav .tab-sidebar i {
	margin-right: 4px;
}

/* Formulario publicar producto */
.sidenav .form-publicar label {
	font-size: 12px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 4px;
}
.sidenav .form-publicar .form-control {
	border-radius: 8px;
	border: 1px solid #e2e4e9;
	padding: 9px 12px;
	font-size: 14px;
	background: #fafafa;
	transition: all .2s ease;
}
.sidenav .form-publicar .form-control:focus {
	border-color: #547a2b;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(84,122,43,0.12);
}
.sidenav .form-publicar .required {
	color: #dc2626;
}
.sidenav .btn-publicar-producto {
	width: 100%;
	margin-bottom: 8px;
	border: none;
	border-radius: 8px;
	padding: 11px;
	background: #547a2b;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all .2s ease;
}
.sidenav .btn-publicar-producto:hover {
	background: #466826;
	box-shadow: 0 4px 14px rgba(84,122,43,0.35);
}

/* Listado de publicaciones */
.sidenav .card-publicacion {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	padding: 10px;
	margin-bottom: 10px;
	transition: all .2s ease;
	cursor: pointer;
}
.sidenav .card-publicacion:hover {
	border-color: #ddd;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	transform: translateY(-1px);
}
.sidenav .card-publicacion .thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	background: #f5f5f5;
	flex-shrink: 0;
}
.sidenav .card-publicacion .badge-estado {
	padding: 2px 8px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
}

/* Perfil / Mi cuenta */
.sidenav .sidebar-perfil-card {
	background: #fafafa;
	border-radius: 14px;
	padding: 18px;
	border: 1px solid #f0f0f0;
}
.sidenav .sidebar-perfil-card label {
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: .3px;
	margin-bottom: 4px;
}
.sidenav .sidebar-perfil-card .form-control {
	border-radius: 8px;
	border: 1px solid #e2e4e9;
	font-size: 14px;
	background: #fff;
	transition: all .2s ease;
}
.sidenav .sidebar-perfil-card .form-control:focus {
	border-color: #547a2b;
	box-shadow: 0 0 0 3px rgba(84,122,43,0.12);
}
.sidenav .foto_perfil img {
	border-radius: 50%;
	border: 2px solid #e0e0e0;
	transition: all .2s ease;
}
.sidenav .foto_perfil:hover img {
	border-color: #547a2b;
}

/* Footer de navegación del sidebar */
.sidenav .sidebar-footer {
	margin-top: auto;
}
.sidenav .sidebar-footer ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	border-top: 1px solid #f0f0f0;
	height: 88px;
}
.sidenav .sidebar-footer li {
	flex: 1;
	height: 100%;
}
.sidenav .sidebar-footer .btn_footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #6b7280;
	font-size: 12px;
}
.sidenav .sidebar-footer .btn_footer i {
	font-size: 20px;
	margin-bottom: 3px;
	color: #9ca3af;
}
.sidenav .sidebar-footer .btn_footer:hover {
	color: #547a2b !important;
}
.sidenav .sidebar-footer .btn_footer:hover i {
	color: #547a2b;
}
.sidenav .sidebar-footer .btn_footer.active {
	color: #547a2b;
	font-weight: 600;
}
.sidenav .sidebar-footer .btn_footer.active i {
	color: #547a2b;
}

/* Pedidos */
.sidenav .tabs-pedidos > a {
	font-size: 12px;
	font-weight: 600;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	color: #6b7280;
	padding: 8px 6px;
	transition: all .2s ease;
}
.sidenav .tabs-pedidos > a.active {
	background: #547a2b;
	color: #fff !important;
	border-color: #547a2b;
}

@media screen and (max-height: 450px) {
	.sidenav {padding-top: 15px;}
	.sidenav a {font-size: 18px;}
}
#overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #000000b5; /* transparente */
	z-index:9999;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
} 
#overlay.open {
	display: block;
	opacity: 1;
}
.btn_footer:hover{
	color:#000 !important;
}
