/*design1*/
.whatsapp-box{
	padding: 10px 10px;
	bottom: 15px;
	right: 15px;
	position: fixed;
	border-radius: 50px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	cursor: pointer;
	background: #333;
	transition: box-shadow 80ms ease-out,width .4s ease .2s;
	-moz-transition: box-shadow 80ms ease-out,width .4s ease .2s;
	-webkit-transition: box-shadow 80ms ease-out,width .4s ease .2s;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	text-transform: uppercase;
	z-index: 999;
}
.square-txt{
	font-size: 16px;
	line-height: 30px;
	padding-right: 10px;
}

.whatsapp-box.round,.whatsapp-btn.round{
	padding: 12px 15px;
}
.whatsapp-btn.boxsquare,.whatsapp-box.boxsquare  {
	padding: 12px 15px;
	background-color: #08AEEA;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow:0 6px 8px 2px rgba(0,0,0,.14);
	-webkit-box-shadow:0 6px 8px 2px rgba(0,0,0,.14);
	-moz-box-shadow:0 6px 8px 2px rgba(0,0,0,.14);
	z-index: 9;
}
.boxleft{
	left: 15px;
	right: 0px;
}
.whatsapp_chat-wrapper a {
	background: #075e54;
	color: #ffffff;
}
#whatsopenbox .title{
	background: #075e54;
}
#whatsopenbox .title p {
	color: #ffffff;
}

#whatsopenbox .title .close_button {
	color: #ffffff;
}
#whatsopenbox{
	max-width: 400px;
	width: 100%;
	position: fixed;
	bottom: 100px;
	right: 15px;
	z-index: 999;
	background: #ffffff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	transform: translateY(50px) scale(0.9);
	-webkit-transform: translateY(50px) scale(0.9);
	-moz-transform: translateY(50px) scale(0.9);
	transition: all .3s;
}

/* Título centrado, más grande y sin línea roja */
#whatsopenbox .title {
	border: none !important;
	text-align: center !important;
	background: #0f70b7 !important;
	padding: 15px;
	cursor: pointer;
	position: relative;
}

/* Texto del título */
#whatsopenbox .title p {
	margin: 0;
	color: #fff !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	text-transform: capitalize;
}

/* Quitar cualquier línea roja que venga de pseudo-elementos */
#whatsopenbox .title:after,
#whatsopenbox .title .page-title-text:after,
#whatsopenbox .title .filter-title-text:after {
	display: none !important;
}

/* ===== Versión responsive ===== */
@media screen and (max-width: 768px) {
	#whatsopenbox .title p {
		font-size: 20px !important;
	}
}

@media screen and (max-width: 480px) {
	#whatsopenbox .title p {
		font-size: 18px !important;
		padding: 0 10px;
	}
}

#whatsopenbox .title a {
	text-decoration: none;
	font-weight: bold;
	color: #fff;
	font-size: 15px;
}
#whatsopenbox .title .close{
	position: absolute;
	top: 14px;
	right: 7px;
	opacity: 1;
	z-index: 999;
	cursor: pointer;
	transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
}
#whatsopenbox .title .close:hover{
	color:#ffffff;
}
#whatsopenbox .title .close i{
	font-size:18px;
	color:#fff;
}

/* ***** AJUSTE PARA EL TEXTO DE BIENVENIDA ***** */
#whatsopenbox .chatbox p{
	/* Reducido padding vertical, aumentado padding horizontal */
	padding: 5px 25px !important; /* <--- Cambiado aquí */
	background:#fff;
	color: #000;
	text-align: justify !important; /* Texto de bienvenida justificado */
	/* line-height: 1.5; */
}

#whatsopenbox .chatbox{
	height: 325px;
	overflow-x: hidden;
	overflow-y: scroll;
}

/* ***** AJUSTE PARA QUITAR ESPACIO SUPERIOR E INFERIOR DE LA CAJA (CONTENEDOR DE LA LISTA) ***** */
#whatsopenbox .chatbox .mainbox {
	padding: 5px 10px !important; /* Reducido a 5px arriba/abajo */
	min-height: auto;
	display: block;
	overflow: hidden;
	position: relative;
	transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	background: #fff;
	border: 1px solid #ebe9e9;
}

/* AJUSTES PARA LOGO Y TEXTOS */
#whatsopenbox .chatbox .mainbox a {
	display: flex !important;
	align-items: center !important; 
	gap: 25px !important;
	/* *** AJUSTE PARA QUITAR ESPACIO SUPERIOR E INFERIOR DE LA CAJA (ELEMENTO INDIVIDUAL) *** */
	padding: 5px 20px !important; /* Reducido a 5px arriba/abajo */
	text-decoration: none !important;
}

#whatsopenbox .chatbox .mainbox .image {
	/* *** TAMAÑO DEL LOGO: 120x120px *** */
	width: 120px !important; 
	height: 120px !important;
	
	/* Permite que el logo se centre internamente (si es un icono o SVG) */
	display: flex !important;
	align-items: center !important;
	justify-content: center !important; 
	margin: 0 !important;
	flex-shrink: 0 !important;
}


#whatsopenbox .msg-detail {
	/* Ocupa el espacio restante y apila los textos */
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	line-height: 1.3 !important;
	flex-grow: 1; 
}

#whatsopenbox .msg-detail .name {
	/* Centra el nombre para que ocupe todo el ancho horizontal visible */
	text-align: center !important; 
	font-weight: 700 !important;
	font-size: 18px !important;
	color: #1a1a1a !important;
	margin-bottom: 3px !important;
}

#whatsopenbox .msg-detail .msg {
	/* Centra el texto secundario para que ocupe todo el ancho horizontal visible */
	text-align: center !important; 
	font-size: 13.5px !important;
	color: #6f6f6f !important;
	text-transform: capitalize !important;
}

/* opcional: ajusta el puntito verde de estado */
#whatsopenbox .chatbox .mainbox .status {
	margin-left: 8px !important;
}

/* === EFECTO HOVER Y SELECCIÓN === */
#whatsopenbox .mainbox,
.whatsapp-mainbox_item {
	transition: all 0.25s ease-in-out !important;
	border-radius: 10px !important;
	cursor: pointer !important;
}

/* Al pasar el mouse */
#whatsopenbox .mainbox:hover,
.whatsapp-mainbox_item:hover {
	background-color: rgba(0, 180, 80, 0.07) !important;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
	transform: translateY(-2px) !important;
}

/* Cuando el item está seleccionado */
#whatsopenbox .mainbox.selected,
.whatsapp-mainbox_item.selected {
	background-color: rgba(0, 180, 80, 0.15) !important;
	box-shadow: 0 4px 10px rgba(0, 128, 64, 0.25) !important;
	transform: translateY(-2px) !important;
	border: 1px solid #00a859 !important;
}

/* Nombre más fuerte y verde cuando está seleccionado */
#whatsopenbox .mainbox.selected .msg-detail .name,
.whatsapp-mainbox_item.selected .people-detail .name {
	color: #00a859 !important;
	font-weight: 700 !important;
}

/* Animación del punto verde */
@keyframes pulseDot {
	0% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.4); opacity: 0.7; }
	100% { transform: scale(1); opacity: 1; }
}

/* Ajuste botón verde para que no se pegue */
.whatsapp-btn.round {
	bottom: 130px; /* separación del logo y texto */
}


/* ===== Diseño 2 ===== */
.whatsapp-detail-box{
	width:350px;
	border-radius:5px 5px 8px 8px;
	-webkit-border-radius:5px 5px 8px 8px;
	-moz-border-radius:5px 5px 8px 8px;
	position:fixed;
	overflow:hidden;
	box-shadow:0 10px 10px 4px rgba(0,0,0,.04);
	-webkit-box-shadow:0 10px 10px 4px rgba(0,0,0,.04);
	-moz-box-shadow:0 10px 10px 4px rgba(0,0,0,.04);
	bottom:114px;
	right:10px;
	z-index: 999999;
	opacity:0;
	visibility:hidden;
	-ms-transform:translate(0,50px);
	transform:translate(0,50px);
	-webkit-transform:translate(0,50px);
	-moz-transform:translate(0,50px);
	transition:.4s ease all;
	-webkit-transition:.4s ease all;
	-moz-transition:.4s ease all;
}
.whatsapp-detail-box:hover,.whatsapp-detail-box:focus,.whatsapp-detail-box:active{
	box-shadow:0 10px 10px 4px rgba(32,32,37,.23);
	-webkit-box-shadow:0 10px 10px 4px rgba(32,32,37,.23);
	-moz-box-shadow:0 10px 10px 4px rgba(32,32,37,.23)
}
.whatsapp-detail-box.active{
	-ms-transform:translate(0,0);
	transform:translate(0,0);
	-webkit-transform:translate(0,0);
	-moz-transform:translate(0,0);
	visibility:visible;
	opacity:1;
}
.whatsapp-detail-box .top-heading{
	position:relative;
	padding:15px;
	color:#d9ebc6;
	background:#2db742;
	position: relative;
}
.whatsapp-detail-box .top-heading .close_button{
	color: #fff;
	right: 10px;
	top:10px;
	opacity: 1;
	position: absolute;
	cursor: pointer;
	font-size: 18px;
}
.whatsapp-detail-box .top-heading .start-heading{
	padding:5px 0;
	color:#fff;
	font-size:18px;
	line-height:24px;
}
.whatsapp-detail-box .top-heading .intro{
	padding:5px 0 0;
	font-size:12px;
	line-height:20px;
}
.whatsapp-detail-box .whatsapp-mainbox{
	background:#fff;
	padding:15px 15px;
	text-align:center;
	height: 278px;
	overflow: auto;
}

.whatsapp-mainbox_list .whatsapp-mainbox_item{
	text-align: left;
	margin: 0 0 10px;
	transform: translate(0,0);
	-webkit-transform: translate(0,0);
	-moz-transform: translate(0,0);
	transition:.2s ease all;
	-webkit-transition:.2s ease all;
	-moz-transition:.2s ease all;
	transition-delay: .3s;
	-webkit-transition-delay: .3s;
	-moz-transition-delay: .3s;
	opacity:1;
	padding:10px;
	position:relative;
	display:block;
	width: 100%;
	background:#f5f7f9;
}
.whatsapp-mainbox_list .whatsapp-mainbox_item:last-child{
	margin: 0;
}
.whatsapp-mainbox_list .whatsapp-mainbox_item.online:hover,.whatsapp-mainbox_list .whatsapp-mainbox_item.online:active,.whatsapp-mainbox_list .whatsapp-mainbox_item.online:focus{
	background:#fff;
	box-shadow:0 7px 15px 1px rgba(55,62,70,.07);
	-webkit-box-shadow:0 7px 15px 1px rgba(55,62,70,.07);
	-moz-box-shadow:0 7px 15px 1px rgba(55,62,70,.07);
}
.whatsapp-mainbox_list .whatsapp-mainbox_item .image{
	display: inline-block;
	position: relative;
	margin-right: 15px;
	vertical-align: top;
}
.whatsapp-mainbox_list .whatsapp-mainbox_item .name{
	font-size:14px;
	color:#363c47;
	line-height:1.188em!important;
}
.whatsapp-mainbox_list .whatsapp-mainbox_item .designation{
	font-size:11px;
	color:#000;
	padding:2px 0 0;
	line-height:1.125em !important;
}
.whatsapp-mainbox_list .whatsapp-mainbox_item .people-detail{
	display:inline-block;
	min-height:48px;
	text-align: left;
	padding:10px 10px;
}
.whatsapp-btn{
	position:fixed;
	right:20px;
	bottom:15px;
	cursor:pointer;
	z-index: 9888;
}
.round .fa{
	border-radius:50%;
	-webkit-border-radius:50%;
	-moz-border-radius:50%;
}
.closebtn{
	transition: .4s ease all;
	-webkit-transition: .4s ease all;
	-moz-transition: .4s ease all;
	-ms-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg);
	-webkit-transform: scale(1) rotate(0deg);
	-moz-transform: scale(1) rotate(0deg);
}
.whatsapp-btn .whatsapp-btn-icon .fa,.whatsapp-box.round .fa{
	font-size: 30px;
	-moz-background-size: 30px auto;
	transition: .4s ease all;
	-webkit-transition: .4s ease all;
	-moz-transition: .4s ease all;
}

/*layout3*/
#qlwapp.qlwapp-show .qlwapp-box {
	visibility: visible;
	opacity: 1;
	transform: translateY(0) scale(1);
	display: block;
	transition: transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in;
	box-shadow: 0 8px 25px -5px rgba(45,62,79,0.15);
}
.boxsquare .fa{
	font-size: 22px !important;
}
.layout3 .whatsapp-mainbox_list .whatsapp-mainbox_item{
	margin: 0 0 5px;
}
.layout3 .whatsapp-mainbox_list .whatsapp-mainbox_item .status{
	position: absolute;
	right: 10px;
	top: 10px;
	color: #000;
}
.layout3 {
	transform: translateY(50px) scale(0.9);
	transition: transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in;
}
.layout3.active{
	transform: translateY(0) scale(1);
}
.layout3 .whatsapp-mainbox_list .whatsapp-mainbox_item .people-detail{
	padding: 5px 10px;
}

.diamond{
	display:inline-block!important;
	width:60px;
	height:60px;
	transform:rotate(45deg);
	border-radius: 5px;
}
.image .diamond{
	width:auto;
	height:auto;
	overflow: hidden;
	transform:rotate(0deg);
}
.diamond .fa{
	font-size: 40px !important;
	transform:rotate(-45deg);
	margin: 0px 0px 0px 4px;
}
.whatsapp-btn.diamond .whatsapp-btn-icon .fa{
	margin: 7px 0px 0px 13px;
}
.whatsapp-btn.round {
	bottom: 56px;
}
.swiper-buttons{
	z-index: 1 !important;
}
.nav-tabs > li {
	z-index: 1;
}
ul.nav-tabs > li:hover, ul.nav-tabs > li.active, ul.nav-tabs > li:focus {
	z-index: 1;
}


/* ==== Media Queries (Ajustes de espaciado para móviles si son necesarios) ==== */

@media screen and (max-width: 768px) {
	/* Se mantiene el logo a 120px en tabletas/móviles grandes */
	#whatsopenbox .chatbox .mainbox a {
		padding: 8px 15px !important; 
		gap: 18px !important;
	}
	/* Ajuste para el texto de bienvenida en móviles */
	#whatsopenbox .chatbox p {
		padding: 5px 20px !important; /* Ajustado para que el padding sea menor en móviles */
	}
}

@media screen and (max-width: 480px) {
	/* Se mantiene el logo a 120px en móviles pequeños */
	#whatsopenbox .chatbox .mainbox a {
		padding: 6px 12px !important; 
		gap: 12px !important;
	}
	#whatsopenbox .msg-detail .name {
		font-size: 16px !important;
	}
	#whatsopenbox .msg-detail .msg {
		font-size: 12px !important;
	}
	/* Ajuste para el texto de bienvenida en móviles */
	#whatsopenbox .chatbox p {
		padding: 5px 15px !important; /* Ajustado para que el padding sea menor en móviles */
	}
}