/* Bazaar Grid Styles */
.bazaar-action-container {
    position: relative;
    display: inline-block;
    min-width: 100px;
}

.bazaar-action-container .action-btn {
    border: 1px solid #ececec;
    border-radius: 5px;
    background: #fff;
    color: #3bb77e;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 16px;
    padding: 0;
    transition: all 0.3s ease;
}

.bazaar-action-container .btn-add-cart-bazaar:hover {
    background-color: #3bb77e;
    color: #fff;
    border-color: #3bb77e;
}

.bazaar-action-container .qty-control {
    background: #fff;
    border: 1px solid #3bb77e;
    border-radius: 5px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    overflow: hidden;
}

.bazaar-action-container .qty-control .action-btn {
    border: none;
    background: transparent;
    color: #3bb77e;
    width: 30px;
    height: 100%;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bazaar-action-container .qty-control .action-btn:hover {
    background-color: #e8f5e9;
}

.bazaar-action-container .qty-text {
    font-weight: 700;
    color: #253d4e;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

/* Loading state */
.button-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.button-loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #3bb77e;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
