/* Vaciar carrito: carrito lateral */
.xoo-wsc-footer .lc-empty-side-cart {
    display: block !important;
    width: auto !important;
    margin: 12px auto 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #777 !important;
    font: inherit;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.xoo-wsc-footer .lc-empty-side-cart:hover,
.xoo-wsc-footer .lc-empty-side-cart:focus {
    color: #333 !important;
    background: transparent !important;
}

.xoo-wsc-footer .lc-empty-side-cart.lc-loading {
    opacity: .55;
    cursor: wait !important;
}

/* Checkout: botón Volver al carrito */
.lc-checkout-back-wrap {
    margin: 0 0 24px;
}

.lc-checkout-back-to-cart {
    display: inline-block !important;
    padding: 9px 16px !important;
    border: 1px solid #9fc43b !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #7f9f22 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.lc-checkout-back-to-cart span {
    display: inline-block;
    margin-right: 4px;
    font-size: 22px;
    line-height: 0;
    vertical-align: -2px;
}

.lc-checkout-back-to-cart:hover,
.lc-checkout-back-to-cart:focus {
    background: #f6f9ed !important;
    color: #6f8d1c !important;
    text-decoration: none !important;
}


/* Formularios Elementor: desplegable de referencias compacto y buscable */
.elementor-form .select2-container {
    width: 100% !important;
    font-family: inherit !important;
}

.elementor-form .select2-container .select2-selection--single {
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid #818a91 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.elementor-form .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 38px 0 14px !important;
    line-height: 42px !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    color: #7a7a7a !important;
}

.elementor-form .select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 8px !important;
}

/* El menú abierto no invade toda la pantalla: tiene buscador y scroll. */
.select2-container--open .select2-dropdown {
    border: 1px solid #818a91 !important;
    font-family: inherit !important;
    font-size: 15px !important;
}

.select2-container--open .select2-search--dropdown {
    padding: 8px !important;
}

.select2-container--open .select2-search--dropdown .select2-search__field {
    height: 38px !important;
    padding: 6px 10px !important;
    border: 1px solid #aaa !important;
    font-family: inherit !important;
    font-size: 15px !important;
}

.select2-container--open .select2-results__options {
    max-height: 260px !important;
    overflow-y: auto !important;
}

.select2-container--open .select2-results__option {
    padding: 7px 10px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
}


/* v1.1.5: ajuste fino del selector de referencias */
.elementor-form .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

.elementor-form .select2-container .select2-selection--single .select2-selection__rendered {
    display: block !important;
    width: 100% !important;
    line-height: 1.2 !important;
    padding: 0 38px 0 14px !important;
    margin: 0 !important;
}

/* Resultados algo más compactos para títulos largos. */
body .select2-container .select2-results__option {
    font-size: 15px !important;
    line-height: 1.3 !important;
    padding: 7px 10px !important;
}

/* v1.1.6: caja de búsqueda limpia, sin icono decorativo. */
body .select2-container .select2-search--dropdown .select2-search__field {
    padding-left: 10px !important;
    font-size: 15px !important;
}


/* v1.2.1: botón Vaciar carrito en la página Carrito.
   Comparte el aspecto del botón Volver al carrito del checkout. */
.lc-cart-empty-wrap {
    margin: 0 0 24px;
}

.woocommerce .lc-cart-empty-button {
    display: inline-block !important;
    padding: 9px 16px !important;
    border: 1px solid #9fc43b !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #7f9f22 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: none !important;
    cursor: pointer !important;
}

.woocommerce .lc-cart-empty-button:hover,
.woocommerce .lc-cart-empty-button:focus {
    background: #f6f9ed !important;
    color: #6f8d1c !important;
    border-color: #9fc43b !important;
    text-decoration: none !important;
}

.woocommerce .lc-cart-empty-button.lc-loading {
    opacity: .55;
    cursor: wait !important;
}
