.complementos-options{
    /* margin-bottom: 42px;
    padding: 24px;
    background-color: var(--sp_color_blanco);
    box-shadow: 0px 0px 20px #0001;
    border-radius: 10px; */

    margin-bottom: 48px;
}

.titulo-complementos{
    margin-bottom: 24px;
    font-size: 1.5em!important;
}

ul.lista-complementos{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-inline-start: 0px;
    margin-bottom: 24px;
}

ul.lista-complementos li.complemento-producto-card{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    font-size: 1em;
    width: 100%;
}

ul.lista-complementos li.complemento-producto-card input{
    display: none;
}

ul.lista-complementos li.complemento-producto-card label{
    background-color: var(--sp_color_blanco);
    box-shadow: 0px 0px 20px #0001;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 3px solid #0000;
    cursor: pointer;
    transition: border 0.2s, transform 0.2s;
    margin-bottom: 0;
    height: 100%;
}

ul.lista-complementos li.complemento-producto-card input[type=checkbox]:checked + label {
    border: 3px solid var(--sp_color_verde);
    transform: scale(1.025);
}

ul.lista-complementos li.complemento-producto-card .price{
    font-size: 100%;
    text-align: center;
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    ul.lista-complementos li.complemento-producto-card .price{
        font-size: 1.2em!important;
    }
}













/* MENU COMPLEMENTOS */

.menu_complementos {
    position: fixed!important;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    overflow: hidden;
    z-index: 99999;
    visibility: hidden;

    transition: transform 0.3s, visibility 0.3s;
}

.menu_complementos .contenido_menu_complementos {
    width: 100%;
    max-width: 600px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: var(--sp_color_blanco);
    color: var(--sp_color_negro);
    overflow: hidden;
    z-index: 999;
    padding: 20px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
}

.menu_complementos.open .contenido_menu_complementos {
    visibility: visible;
    transform: translateX(0);
    overflow-y: auto;
}

.menu_complementos .menu-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sp_color_negro);
    gap: 8px;
    align-items: center;
    transition: color 0.2s;
}

.menu_complementos .menu-close span.icono_cerrar{
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 4px;
}

.menu_complementos .menu-close span.txt_cerrar{
    font-weight: 400;
    font-size: 16px;
}

.menu_complementos .back-arrow:hover,
.menu_complementos .menu-close:hover {
    color: var(--sp_color_naranja);
}

.menu_complementos .menu_complementos_header {
    display: flex;
    align-items: center;
    padding: 12px 0px;
    margin: 12px 0px;
    margin-top: 24px;
    border-bottom: 1px solid var(--sp_color_negro);
}

.menu_complementos .menu-title {
    flex-grow: 1;
    text-align: left;
    font-size: 20px;
}

.menu_complementos.open .overlay {
    opacity: 1;
    visibility: visible;
}

.menu_complementos .overlay {
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0003;
}





/* LISTA RESUMEN */

.toggle_selecciones{
    cursor: pointer;
    position: relative;
    font-size: 1.5em!important;
    margin-block-end: 0;
}

.toggle_selecciones:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--sp_color_gris_oscuro);
    border-left: 2px solid var(--sp_color_gris_oscuro);
    transform: rotate(-135deg);
    transition: transform 0.3s;
}

.toggle_selecciones.active:before{
    transform: translateY(10px) rotate(45deg);
}

.complemento-producto-lista{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 1em;
}

.complemento-producto-lista .price{
    font-size: 1em!important;
}

.ultima_fila_selecciones{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-top: 1px solid var(--sp_color_gris_claro_medio);
    border-bottom: 1px solid var(--sp_color_gris_claro_medio);
}

.ultima_fila_selecciones p{
    margin-bottom: 0;
    font-size: 1.5em!important;
}




#precio_total_lista_complementos .price{ 
    font-size: 1.5em!important;
}

.tus_selecciones{
    margin-top: 12px;
    padding-top: 8px;
    margin-bottom: 8px;

    border-top: 1px solid var(--sp_color_gris_claro_medio);
}


.lista_complementos_seleccionados{
    padding-inline-start: 0px;
    margin-bottom: 24px;
    margin-top: 16px;
}



.complementos-options .complemento-producto-lista .woocommerce-price-suffix{
    display: none;
}

.complementos-options .contenedor_abrir_menu_complementos{
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.complementos-options .contenedor_abrir_menu_complementos .abrir_menu_complementos{
    cursor:pointer;
    text-align: center;
    text-decoration: underline;
    display: block;
    font-weight: bold;
}


