.add-to-cart-simple,.add-to-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    cursor: pointer;
    padding: 0 8px;
    height: 28px;
    min-width: 43px;
    max-width: 124px;
    background-color: #fdfdfdff;
    border-radius: 15px;
    border: 1px solid #222;
    box-sizing: border-box;
}
button.add-to-cart-simple {
    border: 1px solid #767676;
}

button.add-to-cart-simple:hover {
    background-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(204, 204, 204, 0);
}

button.woosq-btn.add-to-cart-icon:hover{
    background-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(204, 204, 204, 0);
}
button.add-to-cart-simple{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    cursor: pointer;
    padding: 0 8px;
    height: 28px;
    min-width: 43px;
    max-width: 124px;
    background-color: #fdfdfdff!important;
    border-radius: 15px;
    border: 1px solid #222;
    box-sizing: border-box;
    margin-bottom: 3px;
    margin-right: 3px;

}

button.woosq-btn.add-to-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    cursor: pointer;
    padding: 0 8px;
    height: 28px;
    min-width: 43px;
    max-width: 124px;
    background-color: #fdfdfdff;
    border-radius: 15px;
    border: 1px solid #222;
    box-sizing: border-box;
    margin-bottom: 3px;
    margin-right: 3px;
}



/* Icono SVG con tamaño definido */
.button-icon-simple svg {
    width: 20px;
    height: 20px;
    display: block;
}

svg.icon-module_icon__cart{
    width: 20px;
    height: 20px;
    display: block;
}
button.add-to-cart-simple {
    background-color: #ffffff;
    border: 1px solid #767676;
}


/* Spinner centrado y girando correctamente */
.add-to-cart-simple.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 2px solid #000000ff;
    border-top-color: transparent;
    border-radius: 50%;
    z-index: 2;
    box-sizing: border-box;

    /* Centrado */
    transform: translate(-50%, -50%);
    transform-origin: center;

    /* Animación de giro */
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Ocultar icono y texto al mostrar spinner */
.add-to-cart-simple.loading .button-icon-simple,
.add-to-cart-simple.loading .button-text-simple {
    display: none;
}

button.add-to-cart-simple.disabled {
    display: none;
}