/* Estilos del Modal - Corregidos */
#wc-sorteo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.wc-sorteo-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    margin: 0 auto;
}

.wc-sorteo-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.wc-sorteo-cerrar:hover {
    color: #000;
}

/* Botones de cantidad */
.wc-sorteo-quantity-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.wc-sorteo-qty-btn {
    background: #092035;
    color: white;
    border: 2px solid #092035;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.wc-sorteo-qty-btn:hover,
.wc-sorteo-qty-btn.active {
    background: white;
    color: #092035;
}

/* Input carrito */
.wc-block-components-quantity-selector input[readonly] {
    background-color: #f5f5f5 !important;
    pointer-events: none !important;
}

.wc-block-components-quantity-selector button {
    display: none !important;
}

/* Mensajes */
.wc-sorteo-loading {
    color: #092035;
    text-align: center;
}

.wc-sorteo-error {
    color: #d63638;
    text-align: center;
}
/* Inputs de cantidad deshabilitados */
.wc-block-components-quantity-selector__input[disabled],
.quantity input.qty[disabled] {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #333 !important;
}

.wc-block-components-quantity-selector__button,
.quantity .plus, 
.quantity .minus {
    display: none !important;
}

/* Estilo adicional para hacer más evidente que está deshabilitado */
.wc-block-components-quantity-selector,
.quantity {
    position: relative;
}

.wc-block-components-quantity-selector:after,
.quantity:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: not-allowed;
    z-index: 1;
}