/* ========================================================================== 
   Kasi Mattress
   File: assets/css/pages/product-cart.css
   Module: Product Cart Controls
   Version: 1.0.0
   ========================================================================== */

.km-product-quantity-control {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 22px 0;
}

.km-product-quantity-control > label {
    color: #26384b;
    font-size: .9rem;
    font-weight: 700;
}

.km-quantity-stepper {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    background: #fff;
}

.km-quantity-stepper button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #0f4c81;
    background: #f7f9fc;
    border: 0;
    cursor: pointer;
}

.km-quantity-stepper button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.km-quantity-stepper input {
    width: 58px;
    height: 42px;
    padding: 0 5px;
    color: #26384b;
    background: #fff;
    border: 0;
    border-right: 1px solid #e6ebf0;
    border-left: 1px solid #e6ebf0;
    text-align: center;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.km-quantity-stepper input::-webkit-outer-spin-button,
.km-quantity-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.km-product-quantity-control > small {
    color: #7b8796;
    font-size: .78rem;
}

.km-product-cart-feedback {
    display: none;
    margin: 14px 0;
    padding: 11px 13px;
    color: #174f37;
    background: #eaf7f0;
    border: 1px solid #ccebd9;
    border-radius: 8px;
    font-size: .88rem;
}

.km-product-cart-feedback.is-visible {
    display: block;
}

.km-product-cart-feedback.is-error {
    color: #842f2b;
    background: #fff0ef;
    border-color: #f1cfcc;
}

.km-product-cart-feedback a {
    margin-left: 5px;
    color: #0f4c81;
    font-weight: 700;
    text-decoration: underline;
}

.km-product-buy[aria-busy="true"] {
    opacity: .8;
    cursor: wait;
}
