.buscador-wrapper h3, .buscador-wrapper .cjp-search-input, .buscador-wrapper .btn-buscar, .search-loading, .meta-title h5, .meta-tile a, .search-item .search-sub, .medico-info .search-sub, .next-scheduled, .btn-clear-search{
	font-family:'Montserrat';
}
.buscador-wrapper {
	display: flex;
	justify-content: center;
	font-family: 'Montserrat';
}
.buscador-wrapper.layout-right{
	display:flex;
	padding:0;
}
.buscador-wrapper.layout-right .buscador-card{
	padding: 0;
    background: transparent;
    box-shadow: none;
	display:flex;
	align-items:center;
	gap:20px;
	max-width: 100%;
	margin-bottom: 35px;
}

/* buscador */
.layout-right .buscador-main{
	flex:0 0 50%;
}

/* filtros */
.layout-right .buscador-filtros{
	flex:0 0 50%;
	display:flex;
	gap:30px;
	flex-wrap:nowrap;
	margin: 0;
}

.layout-right .buscador-input-group, .layout-right input{
	background-color: #fff !important;
}
/* radios */
.filtro-opciones{
	display:flex;
	gap:15px;
	margin-top:6px;
	font-size:14px;
}
.layout-right .filtro-opciones label:before {
	background-color: #DFE6F6;
	border: 1px solid #DFE6F6;
    content: '';
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
    border-radius: 50px;
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
	margin-right: 10px;
}
.layout-right .filtro-opciones input:checked+label:before {
    background-image: url(/wp-content/uploads/2026/03/check-icon-cjp.svg);
    background-color: #fff;
    border-color: #395CAF;
}
.layout-right .filtro-opciones input{
	position: absolute;
	opacity: 0;
}
.buscador-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    max-width: 830px;
    width: 100%;
    box-shadow: 2px 10px 25px rgb(32 49 102 / 11%);
    position: relative;
}

.buscador-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #033E8C;
}

.buscador-input-group {
    display: flex;
    background-color: #F4F9FF;
    border-radius: 40px;
    border: 1px solid #395CAF;
    overflow: hidden;
    align-items: stretch;
}

.buscador-input-group input {
    flex: 1;
    border: none;
    padding: 14px 20px 14px 50px;
    font-size: 15px;
    outline: none;
    background-color: #F4F9FF;
	background-image: url(/wp-content/uploads/2026/08/search-cjp-icon.svg);
    background-repeat: no-repeat;
    background-position: 20px 50%;
}

.btn-buscar {
    background: #203166;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s ease;
	display: flex;
    column-gap: 20px;
    align-items: center;
	cursor:pointer;
}

.btn-buscar:hover {
    background: #16324f;
}

.buscador-filtros {
    margin-top: 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.filtro-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
	column-gap: 10px;
	max-width: 350px;
	width: 100%;
}

.filtro-item label {
    font-size: 14px;
    color: #555;
	width: fit-content;
	display: flex;
	align-items: center;
	border: 1px solid #395CAF;
	padding: 6px 10px;
	border-radius: 100px;
}

.filtro-item select {
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 14px;
    outline: none;
	appearance: none;
    background-image: url(/wp-content/uploads/2026/03/arrow-select-cjp.svg);
	background-repeat: no-repeat;
	background-position: 90% 50%;
    max-width: 130px;
    width: 100%;
    background-size: 14px;
}
.container-resultados-medicos {
    position: absolute;
    top: 150px;
    left: 50%;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 2px 2px 25px rgb(32 49 102 / 11%);
    padding: 30px 27px 40px;
    z-index: 999;
    display: none;
    max-width: 640px;
    transform: translatex(-60%);
    color: #232C5A;
/* 	max-height: 371px;
    overflow-y: scroll; */
}
.container-medicos{
	width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 35px;
    padding: 0 10px 0 30px;
}
.resultados-medicos {
    position: relative;
    display: block;
    height: 100%;
}
.resultados-medicos .meta-title{
    display: flex;
    gap: 17px;
    align-items: center;
    margin-bottom: 11px;
}
.resultados-medicos .meta-title h5{
    font-size: 13px;
    text-transform: uppercase;
    margin: 0;
}
.container-resultados-medicos.active {
    display: flex;
}
.resultados-medicos .search-item{
    padding-left: 30px;
}

.resultados-medicos .search-section:not(:last-child){
    border-bottom: 1px solid rgb(35 44 90 / 10%);
    margin-bottom: 16px;
}
.medico-item {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.medico-item h4 {
    margin-bottom: 8px;
}
.search-item{
    margin-bottom: 17px;
}
.search-item a, .medico-card .medico-info a{
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    color: #232C5A;
	line-height: 100%;
}
.search-item .search-sub{
    font-size: 12px;
}
.medico-card {
    width: 100%;
    float: left;
    display: flex;
    column-gap: 10px;
    flex-basis: calc(50% - (35px / 2));
	flex-grow: 1;
}
.medico-img {
    min-width: 50px;
    height: 50px;
    position: relative;
    overflow: hidden;
    border-radius: 100px;
}
.medico-card .medico-img img {
    object-fit: cover;
    position: absolute;
    width: 50px;
    height: 80px;
}
.medico-card .medico-img img[src*="default"] {
	height: 50px;
}
.medico-card .medico-info{
    font-size: 12px;
    color: #232C5A;
}
.cjp-search .overlay-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* Oscurece el fondo */
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cjp-search.search-focused .overlay-search {
    opacity: 1;
    pointer-events: auto;
}

.cjp-search.search-focused .buscador-wrapper {
    position: relative;
    z-index: 999;
}
.search-item .search-sub, .medico-info .search-sub{
	font-size:12px;
	font-weight: 500;
	line-height: 100%;
	margin-top: 6px;
}
.next-scheduled{
	display:flex;
	column-gap: 10px;
	font-size: 12px;
	font-weight: 400;
	line-height: 100%;
    margin-top: 7px;
}
.next-scheduled img{
	min-width:12px;
}
.cjp-search-input::-webkit-search-decoration,
.cjp-search-input::-webkit-search-cancel-button,
.cjp-search-input::-webkit-search-results-button,
.cjp-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.btn-clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #203166; 
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    z-index: 2;
	font-weight: 300;
}

.btn-clear-search span {
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
}

.btn-clear-search:hover {
    color: #1f2937; 
}
.search-more-doctors {
    margin-top: 30px;
    text-align: center;
}
.btn-more-doctors {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #395CAF;
    color: #232C5A;
    font-size: 13px;
}
/* RESULTADOS NO ENCONTRADOS */
.resultados-medicos:has(.search-empty) {
	width: 100%;
}
.search-empty__head {
	display: flex;
	gap: 0;
    padding: 0 14px 24px;
    align-items: center;
    border-bottom: 1px solid #232C5A1A;
    width: 100%;
	font-family: 'Montserrat';
	font-weight: 400;
	font-size: 13px;
	line-height: 21px;
	letter-spacing: 0px;
	color: #232C5A;
	margin-bottom: 1.5rem;
}
.search-empty__head small {
	font-family: 'Montserrat';
    font-weight: 400;
    font-size: 13px;
    line-height: 21px;
    letter-spacing: 0px;
}
.search-empty .meta-title {
	margin: 0 0 4px 24px;
}
.search-empty .search-sub {
	margin-top: 0;
}
.search-empty .search-item {
	margin-left: 24px;
}
.search-empty__slug {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 13px;
	line-height: 21px;
	letter-spacing: 0px;
	color: #232C5A;
	margin-left: 24px;
}
.search-empty__slug + .meta-title {
	margin-top: 0.6875rem;
}
.search-empty .divider {
	width: 100%;
    display: block;
    height: 1px;
    background: #232C5A1A;
    margin-top: 24px;
}
.search-empty__btn {
	font-family: Montserrat;
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    color: #fff;
    padding: 9px 5px;
    border-radius: 174px;
    background: #203166;
    width: 200px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0 0 24px;
    height: 36px;
}
.search-empty__btn:hover {
	color: #fff;
	background: #203166;
}
.search-empty__keyword {
	font-weight: 600;
	font-family: Montserrat;
}
.search-empty__head svg {
	margin-right: 13px;
}
@media (max-width:1024px){
	.zi3{
		z-index:100;
	}
}
@media (max-width:767px){
	.cjp-search.search-focused .buscador-input-group input{
		border-radius: 100px;
		transition: 0.5s;
		padding: 13px 20px;
	}
	html.cjp-overflow-hidden {
        overflow: hidden;
    }
	.buscador-wrapper {
		padding: 0px;
	}
	.buscador-input-group {
		background-color: transparent;
		border-radius: 0;
		border: none;
		flex-direction: column;
		row-gap: 15px;
	}
	.resultados-medicos .meta-title {
		gap: 15px;
		padding: 0 10px;
	}
	.buscador-title {
		margin-bottom: 15px;
		font-size: 18px;
		text-align:center;
		line-height: 26px;
	}
	.search-item .search-sub, .medico-info .search-sub {
		line-height: 1.2rem;
	}
	.resultados-medicos .search-item {
		padding-left: 37px;
	}
	.buscador-input-group input{
		border-radius: 8px;
		padding: 13px 8px;
		border: 1.5px solid #395CAF;
		background-image: none;
		transition: all 0.5s;
	}
	.buscador-input-group input:focus{
		border-color: #395CAF;
	}
	.listaMedica .btn-buscar, .btn-buscar {
		justify-content: center;
		padding: 18px 8px;
		
        font-weight: 700;
        letter-spacing: 1%;
	}
	.btn-buscar {
		font-size: 14px;
	}
	.listaMedica .btn-buscar{
		font-size: 0px;
	}
	.buscador-card {
		padding: 20px 10px;
	}
	.container-resultados-medicos{
		max-height: 68vh;
        overflow: scroll;
		top: 150px;
		width: 100%;
		max-width: 90vw;
		transform: translatex(-50%);
		border: 1.5px solid #203166;
		border-radius: 8px;
		padding: 20px 10px 30px;
	}
	.container-medicos{
		gap: 25px 0;
        padding: 0 10px;
	}
	.resultados-medicos {
		height: 100%;
	}
	.medico-card{
        width: 100%;
		flex-basis: inherit;
	}

	.resultados-medicos .meta-title h5 {
		font-size: 13px;
	}
	.search-item {
		margin-bottom: 15px;
	}
	.search-empty__head {
		padding: 0 14px 14px;
	}
	.search-empty__btn {
		margin: 20px auto 0;
	}
	.search-empty__head svg {
		height: 28px;
		width: 28px;
	}
	.search-empty .meta-title {
		margin: 0 0 4px 14px;
	}
	.search-empty .search-item {
		margin-left: 14px;
	}
}