/* ==========================================
 assets/css/modules/carrito.css
========================================== */

.store-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: 14px;
}

.store-product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-product-action {
    width: 42px;
    height: 42px;

    border: 1px solid var(--store-border);
    border-radius: 12px;

    background: #fff;
    color: var(--store-primary);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: all .25s ease;

    text-decoration: none;
    cursor: pointer;
}

.store-product-action i {
    font-size: 1rem;
    line-height: 1;
}

.store-product-action:hover {
    transform: translateY(-2px);

    background: var(--store-accent);
    color: #fff;

    border-color: var(--store-accent);

    box-shadow: var(--store-shadow-sm);
}

.store-product-action:active {
    transform: scale(.96);
}

.store-product-action:disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.store-product-action.loading {
    background: var(--store-soft);
    color: var(--store-muted);
}

.store-product-action.success {
    background: var(--store-accent);
    border-color: var(--store-accent);
    color: #fff;
}

@media (max-width: 576px) {

    .store-product-action {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .store-product-action i {
        font-size: .9rem;
    }

}