.yith-wcbk-help-tip {
    cursor: pointer;
}

.yith-wcbk-select-alt__container {
    position: relative;
    cursor: pointer;
}

.yith-wcbk-select-alt__container select {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    padding-right: 10px;
    cursor: pointer;
}

.yith-wcbk-select-alt__container .yith-wcbk-select-alt__arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    pointer-events: none;
    font-size: 16px;
    color: inherit;
    opacity: .7;
}

.yith-wcbk-select-alt__container.yith-wcbk-select-alt__container--unselected select {
    color: #888;
}

.yith-wcbk-select-alt__container.yith-wcbk-select-alt__container--opened .yith-wcbk-select-alt__arrow {
    transform: translateY(-50%) rotate(179deg);
    color: var(--yith-wcbk-border-color-focus);
    opacity: .7;
}

.yith-wcbk-select-alt__container .select2-selection__arrow {
    display: none;
}

.yith-wcbk-select-list {
    font-size: var(--yith-wcbk-fields-font-size);
}

.yith-wcbk-select-list select,
.yith-wcbk-select-list .select2 {
    display: none !important;
}

.yith-wcbk-select-list .yith-wcbk-select-list__options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 10px;
}
/* ... (código anterior sin cambios) ... */

.yith-wcbk-select-list .yith-wcbk-select-list__option,
.yith-wcbk-select-list .yith-wcbk-select-list__empty-message {
    padding: 0 15px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--yith-wcbk-fields-font-size);
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
    box-sizing: border-box;
    overflow: visible;
	background-color: green;
    position: relative;
    color: transparent; /* Hacer el texto original transparente */
	font-weight: bold; 
	transition: background-color 0.3s ease; 
}


/* Asegurarse de que los slots de tiempo tengan un tamaño mínimo */
.yith-wcbk-select-list .yith-wcbk-select-list__option {
    min-height: 44px; /* Altura mínima para facilitar la interacción táctil */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background-color: green !important;
    color: white;
    cursor: pointer;
}

.yith-wcbk-select-list .yith-wcbk-select-list__empty-message {
    background-color: red !important;
}

/* Ajustar la regla de ocultación para excluir el pseudo-elemento :before */
.yith-wcbk-select-list .yith-wcbk-select-list__option > *:not(:before),
.yith-wcbk-select-list .yith-wcbk-select-list__empty-message > *:not(:before) {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    user-select: none;
    visibility: hidden !important;
}

/* Mostrar el nuevo contenido */
.yith-wcbk-select-list .yith-wcbk-select-list__option::after,
.yith-wcbk-select-list .yith-wcbk-select-list__empty-message::after {
    content: attr(data-value);
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     background-color: inherit;
}

/* Estilos específicos para las opciones de hora */
.yith-wcbk-select-list .yith-wcbk-select-list__option[data-value="10:00"]::after {
    content: "10:00 - 15:00";
}

.yith-wcbk-select-list .yith-wcbk-select-list__option[data-value="16:30"]::after {
    content: "16:30 - 21:30";
}

.yith-wcbk-select-list .yith-wcbk-select-list__option[data-value="22:30"]::after {
    content: "22:30 - 03:30";
}

/* Estilo para "Día completo" */
.yith-wcbk-select-list .yith-wcbk-select-list__empty-message::after {
    content: "Día completo";
}

/* ... (resto del código sin cambios) ... */

.yith-wcbk-select-list .yith-wcbk-select-list__option-skeleton {
    border-radius: 4px;
    height: calc(1.5em + 20px);
    background: rgba(209, 209, 209, 0.2);
}




.yith-wcbk-selector,
.yith-wcbk-selector * {
	box-sizing: border-box
}

.yith-wcbk-selector {
	position: relative;
	cursor: pointer;
	user-select: none;
	font-size: var(--yith-wcbk-fields-font-size)
}

.yith-wcbk-selector select,
.yith-wcbk-selector .select2 {
	display: none !important
}

.yith-wcbk-selector .yith-wcbk-selector__head {
	min-height: 42px;
	background: #fff;
	border: 1px solid var(--yith-wcbk-border-color);
	border-radius: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	padding-left: 14px
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__label__image {
	width: 30px;
	height: 30px;
	margin: 0 7px 0 -5px;
	border-radius: 4px;
	padding: 7px 0;
	box-sizing: content-box
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__label__image img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover
}

.yith-wcbk-selector .yith-wcbk-selector__head.yith-wcbk-selector__head--no-image .yith-wcbk-selector__label__image {
	display: none
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__label {
	flex: 1;
	padding: 7px 14px 7px 0
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__label.yith-wcbk-selector__label--placeholder {
	opacity: .5
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__head__arrow {
	margin: 0 10px;
	font-size: 15px;
	color: inherit;
	opacity: .7;
	transition: all 0.3s ease-in-out
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__head__clear {
	position: relative;
	display: flex;
	opacity: .6;
	align-items: center;
	justify-content: center;
	padding: 7px;
	background: transparent;
	border-radius: 50%;
	box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
	transition: background .3s ease-in-out, box-shadow .3s ease-in-out, color .3s ease-in-out
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__head__clear:hover {
	background: rgba(0, 0, 0, 0.03);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
	color: var(--yith-wcbk-red);
	opacity: 1
}

.yith-wcbk-selector .yith-wcbk-selector__head .yith-wcbk-selector__head__clear i {
	font-size: 14px
}

.yith-wcbk-selector .yith-wcbk-selector__dropdown {
	display: none;
	position: absolute;
	width: 100%;
	background: #fff;
	border-radius: 0;
	z-index: 99999;
	min-width: 300px;
	right: 0;
	box-shadow: var(--yith-wcbk-shadow);
	line-height: 1.5em
}

.yith-wcbk-selector.yith-wcbk-selector--opened .yith-wcbk-selector__dropdown {
	display: block
}

.yith-wcbk-selector.yith-wcbk-selector--opened .yith-wcbk-selector__head {
	border-color: var(--yith-wcbk-border-color-focus);
	box-shadow: var(--yith-wcbk-shadow-focus)
}

.yith-wcbk-selector.yith-wcbk-selector--opened .yith-wcbk-selector__head .yith-wcbk-selector__head__arrow {
	transform: rotate(180deg);
	color: var(--yith-wcbk-border-color-focus)
}

.yith-wcbk-selector.yith-wcbk-selector--opened.yith-wcbk-selector--opened--below .yith-wcbk-selector__dropdown {
	margin-top: 6px
}

.yith-wcbk-selector.yith-wcbk-selector--opened.yith-wcbk-selector--opened--above .yith-wcbk-selector__dropdown {
	bottom: 100%;
	margin-bottom: 6px
}

.yith-wcbk-selector .yith-wcbk-selector__items {
	max-height: 300px;
	overflow-y: auto
}

.yith-wcbk-selector .yith-wcbk-selector__item {
	padding: 15px;
	display: flex
}

.yith-wcbk-selector .yith-wcbk-selector__item .yith-wcbk-selector__item__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center
}

.yith-wcbk-selector .yith-wcbk-selector__item__description {
	font-size: .85em
}

.yith-wcbk-selector .yith-wcbk-selector__item:hover,
.yith-wcbk-selector .yith-wcbk-selector__item--selected {
	background: var(--yith-wcbk-underlined-bg);
	color: var(--yith-wcbk-underlined-text)
}

.yith-wcbk-selector.yith-wcbk-selector--use-images .yith-wcbk-selector__item:hover,
.yith-wcbk-selector.yith-wcbk-selector--use-images .yith-wcbk-selector__item--selected {
	background: transparent
}

.yith-wcbk-selector .yith-wcbk-selector__item__check {
	position: relative;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	border: 1px solid var(--yith-wcbk-border-color);
	background: #fff;
	margin-top: calc(0.75em - 10px)
}

.yith-wcbk-selector .yith-wcbk-selector__item--selected .yith-wcbk-selector__item__check:before {
	content: '';
	width: 11px;
	height: 7px;
	position: absolute;
	top: 4px;
	left: 4px;
	border: 2px solid var(--yith-wcbk-primary);
	border-top: none;
	border-right: none;
	background: transparent;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	box-sizing: border-box
}

.yith-wcbk-selector:not(.yith-wcbk-selector--use-images):not(.yith-wcbk-selector--multiple) .yith-wcbk-selector__item {
	padding: 10px 15px
}

.yith-wcbk-selector .yith-wcbk-selector__item__image {
	width: 3.5em;
	height: 3.5em;
	margin-right: .8em;
	border-radius: 4px;
	position: relative
}

.yith-wcbk-selector .yith-wcbk-selector__item__image img {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	object-fit: cover
}

.yith-wcbk-selector.yith-wcbk-selector--multiple.yith-wcbk-selector--use-images .yith-wcbk-selector__item__check {
	margin-top: calc(1.75em - 10px)
}

.yith-wcbk-selector:not(.yith-wcbk-selector--multiple) .yith-wcbk-selector__item--selected .yith-wcbk-selector__item__image:before {
	content: "\f114";
	font-family: yith-icon;
	position: absolute;
	top: -5px;
	left: -5px;
	color: #fff;
	font-size: 8px;
	width: 16px;
	height: 16px;
	line-height: 16px;
	border-radius: 50%;
	background: var(--yith-wcbk-primary);
	text-align: center;
	font-weight: 600
}

.yith-wcbk-selector .yith-wcbk-selector__footer {
	padding: 15px 20px;
	text-align: right;
	background: #f1f1f1
}

.yith-wcbk-selector .yith-wcbk-selector__link {
	color: var(--yith-wcbk-primary);
	font-size: .85em;
	text-decoration: underline;
	display: inline-block
}

.yith-wcbk-selector .yith-wcbk-selector__button {
	display: inline-block;
	padding: 5px 17px;
	background: var(--yith-wcbk-primary);
	border-radius: 5px;
	color: var(--yith-wcbk-primary-contrast);
	font-weight: 600;
	cursor: pointer;
	margin-left: 10px
}

.yith-wcbk-selector:not(.yith-wcbk-selector--selected) .yith-wcbk-selector__clear {
	display: none
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout .yith-wcbk-selector__head {
	display: none
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout .yith-wcbk-selector__items {
	max-height: none;
	overflow: initial
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout .yith-wcbk-selector__items .yith-wcbk-selector__item+.yith-wcbk-selector__item {
	margin-top: 10px
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout .yith-wcbk-selector__item {
	background: transparent
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout:not(.yith-wcbk-selector--multiple) .yith-wcbk-selector__item {
	border-radius: 4px;
	border: 1px solid var(--yith-wcbk-border-color);
	position: relative
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout:not(.yith-wcbk-selector--multiple) .yith-wcbk-selector__item.yith-wcbk-selector__item--selected {
	border-color: var(--yith-wcbk-primary)
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout:not(.yith-wcbk-selector--use-images):not(.yith-wcbk-selector--multiple) .yith-wcbk-selector__item.yith-wcbk-selector__item--selected:before {
	content: "\f114";
	font-family: yith-icon;
	position: absolute;
	top: -7px;
	right: -7px;
	color: var(--yith-wcbk-primary-contrast);
	font-size: 8px;
	width: 16px;
	height: 16px;
	line-height: 16px;
	border-radius: 50%;
	background: var(--yith-wcbk-primary);
	text-align: center;
	font-weight: 600
}

/* Estilos específicos para el tick de selección */
.yith-wcbk-select-list .yith-wcbk-select-list__option.yith-wcbk-select-list__option--selected:before {
    content: "\f114";
    font-family: yith-icon;
    position: absolute;
    top: -7px;
    right: -7px;
    color: var(--yith-wcbk-primary-contrast);
    font-size: 8px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    background: var(--yith-wcbk-primary);
    text-align: center;
    font-weight: 600;
    opacity: 1;
    visibility: visible !important;
    z-index: 10;
}



.yith-wcbk-selector.yith-wcbk-selector--list-layout.yith-wcbk-selector--multiple .yith-wcbk-selector__item {
	padding: 0
}

.yith-wcbk-selector.yith-wcbk-selector--list-layout .yith-wcbk-selector__footer {
	background: transparent;
	padding: 0
}

.yith-wcbk-selector::-webkit-scrollbar-track {
	-webkit-box-shadow: none;
	background-color: transparent
}

.yith-wcbk-selector::-webkit-scrollbar {
	width: 8px;
	background-color: transparent
}

.yith-wcbk-selector::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 8px
}
.yith-wcbk-select-list .yith-wcbk-select-list__option.selected,
.yith-wcbk-select-list .yith-wcbk-select-list__option.selected::after {
    background-color: #1397A9;
}


/* Ajuste para el estado seleccionado */
.yith-wcbk-select-list .yith-wcbk-select-list__option.selected,
.yith-wcbk-select-list .yith-wcbk-select-list__option.selected::after,
.yith-wcbk-select-list__option.yith-wcbk-select-list__option--selected {
    background-color: #1397A9 !important;
}



// COLOR LOS FINES DE SEMANA

/* Estilo para sábados (penúltima columna) */
.ui-datepicker-calendar tr td:nth-last-child(2):not(.ui-datepicker-unselectable),
/* Estilo para domingos (última columna) */
.ui-datepicker-calendar tr td:last-child:not(.ui-datepicker-unselectable) {
    background-color: rgba(0, 255, 0, 0.6) !important; /* Verde con opacidad 0.6 */
}

/* Asegurarse de que el texto sea legible */
.ui-datepicker-calendar tr td:nth-last-child(2):not(.ui-datepicker-unselectable) a,
.ui-datepicker-calendar tr td:last-child:not(.ui-datepicker-unselectable) a {
    color: #000000 !important; /* Texto negro para mejor contraste */
}

/* Mantener el estilo al pasar el mouse por encima */
.ui-datepicker-calendar tr td:nth-last-child(2):not(.ui-datepicker-unselectable):hover,
.ui-datepicker-calendar tr td:last-child:not(.ui-datepicker-unselectable):hover {
    background-color: rgba(0, 255, 0, 0.8) !important; /* Verde más oscuro al pasar el mouse */
}

/* Ajuste para el día seleccionado */
.ui-datepicker-calendar tr td:nth-last-child(2):not(.ui-datepicker-unselectable).ui-datepicker-current-day,
.ui-datepicker-calendar tr td:last-child:not(.ui-datepicker-unselectable).ui-datepicker-current-day {
    background-color: #1397A9 !important; /* Color turquesa para el día seleccionado */
}

.ui-datepicker-calendar tr td:nth-last-child(2):not(.ui-datepicker-unselectable).ui-datepicker-current-day a,
.ui-datepicker-calendar tr td:last-child:not(.ui-datepicker-unselectable).ui-datepicker-current-day a {
    color: #ffffff !important; /* Texto blanco para el día seleccionado */
}


/* Media query para dispositivos móviles */
@media screen and (max-width: 767px) {
    .yith-wcbk-select-list .yith-wcbk-select-list__options {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .yith-wcbk-select-list .yith-wcbk-select-list__option {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Estilo para los domingos */
.ui-datepicker-calendar tr td:nth-child(7):not(.ui-datepicker-unselectable) {
    background-color: rgba(0, 128, 0, 0.6) !important; /* Verde más oscuro */
}

/* Asegurar que el texto sea legible en los domingos */
.ui-datepicker-calendar tr td:nth-child(7):not(.ui-datepicker-unselectable) a {
    color: #000000 !important;
}

/* Mantener el estilo al pasar el mouse por encima en los domingos */
.ui-datepicker-calendar tr td:nth-child(7):not(.ui-datepicker-unselectable):hover {
    background-color: rgba(0, 128, 0, 0.8) !important; /* Verde más oscuro al pasar el mouse */
}

/* Ajuste para el día seleccionado en domingo */
.ui-datepicker-calendar tr td:nth-child(7).ui-datepicker-current-day {
    background-color: #1397A9 !important;
}

.ui-datepicker-calendar tr td:nth-child(7).ui-datepicker-current-day a {
    color: #ffffff !important;
}

/* Estilo para los sábados */
.ui-datepicker-calendar tr td:nth-child(6):not(.ui-datepicker-unselectable) {
    background-color: rgba(0, 255, 0, 0.6) !important; /* Verde claro original */
}

/* Asegurar que el texto sea legible en los sábados */
.ui-datepicker-calendar tr td:nth-child(6):not(.ui-datepicker-unselectable) a {
    color: #000000 !important;
}

/* Mantener el estilo al pasar el mouse por encima en los sábados */
.ui-datepicker-calendar tr td:nth-child(6):not(.ui-datepicker-unselectable):hover {
    background-color: rgba(0, 255, 0, 0.8) !important; /* Verde claro al pasar el mouse */
}

/* Ajuste para el día seleccionado en sábado */
.ui-datepicker-calendar tr td:nth-child(6).ui-datepicker-current-day {
    background-color: #1397A9 !important;
}

.ui-datepicker-calendar tr td:nth-child(6).ui-datepicker-current-day a {
    color: #ffffff !important;
}

/* Estilo para los viernes (sin cambios) */
.ui-datepicker-calendar td:nth-child(5):not(.ui-datepicker-unselectable) {
    background-color: rgba(255, 255, 0, 0.6) !important; /* Amarillo con opacidad */
}

/* Asegurar que el texto sea legible en los viernes */
.ui-datepicker-calendar td:nth-child(5):not(.ui-datepicker-unselectable) a {
    color: #000000 !important;
}

/* Mantener el estilo al pasar el mouse por encima en los viernes */
.ui-datepicker-calendar td:nth-child(5):not(.ui-datepicker-unselectable):hover {
    background-color: rgba(255, 255, 0, 0.8) !important; /* Amarillo más intenso al pasar el mouse */
}

