/* Inline product-card add-to-cart ("+"/ADD + quantity stepper) - Blinkit style */
.qs-card-cart {
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.product-single-hover .single-product-details .qs-card-cart {
    position: absolute;
    top: -46px;
    right: 8px;
    margin: 0;
    z-index: 15;
}

.qs-card-cart .qs-card-add-btn,
.qs-card-cart .qs-card-stepper {
    pointer-events: auto;
}

.qs-card-add-btn {
    background: #fff;
    color: #1a7d3c;
    border: 1px solid #1a7d3c;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.qs-card-add-btn:hover {
    background: #1a7d3c;
    color: #fff;
}

.qs-card-add-btn.qs-card-add-disabled {
    color: #c0c0c0;
    border-color: #dcdcdc;
    cursor: not-allowed;
    box-shadow: none;
}

.qs-card-stepper {
    display: inline-flex;
    align-items: center;
    background: #1a7d3c;
    border-radius: 9px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .14);
    overflow: hidden;
}

.qs-step-btn {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    width: 30px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qs-step-btn:active {
    background: rgba(0, 0, 0, .12);
}

.qs-step-qty {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    min-width: 24px;
    text-align: center;
}

/* Horizontal cards (food-delivery / flash deal): corner overlay */
.flash_deal_product .qs-card-cart {
    position: absolute;
    right: 10px;
    bottom: 10px;
    margin: 0;
    z-index: 5;
}

/* RTL */
html[dir="rtl"] .product-single-hover .single-product-details .qs-card-cart {
    right: auto;
    left: 8px;
}

html[dir="rtl"] .qs-card-cart {
    justify-content: flex-start;
}

html[dir="rtl"] .flash_deal_product .qs-card-cart {
    right: auto;
    left: 10px;
}
