
p {
    text-align: justify;
}

.leading-none {
    line-height: 1;
}

.cartMinusBtn, .cartPlusBtn {
    height: 36px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.1);
}
.cartMinusBtn {
    border-right: 1px solid rgba(69, 43 , 144, .5);
    border-radius: 4px 0 0 4px;
}
.cartPlusBtn {
    border-left: 1px solid rgba(69, 43 , 144, .5);
    border-radius: 0 4px 4px 0;
}

.cartMinusBtn i,
.cartPlusBtn i {
    pointer-events: none;
}

.cartQtyInput {
    height: 36px;
    width: 50px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    border: medium none;
    color: #555;
    font-weight: 500;
    font-size: 16px;
    caret-color: #fff;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.1);
}
.cartQtyInput:focus {
    border: medium none;
    outline: none;
}
.cartQtyInput::placeholder {
    color: #555;
    font-weight: 500;
    font-size: 16px;
}

.cartQtyInput::-webkit-outer-spin-button,
.cartQtyInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cartQtyInput[type=number] {
    -moz-appearance: textfield;
}

.addToCartBtn {
    background: rgba(69, 43 , 144, .4);
    backdrop-filter: blur(1px);
    height: 36px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.addToCartBtn:hover {
    background: rgba(69, 43 , 144, .8);
    backdrop-filter: blur(0);
}

.cartAddedModal {
    padding: 10px;
    background: rgb(70 30 85);
    color: #fff;
    position: absolute;
    right: 0;
    top: 100px;
}

.toast {
    background-color: rgb(70 30 85);
}

.cart-info-wrapper {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: #fff;
    border-radius: 4px 0 0 4px;
}
.cartBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 76px;
    min-height: 66px;
    text-align: center;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 0 16px -1px rgba(0,0,0,.5);
    border: medium none;
    position: relative;
    font-size: 28px;
    transition: all 0.3s ease;
    background: rgba(69, 43 , 144, .1);
    padding: 5px 0;
    color: #333;
}
.cartBtn:hover {
    background: rgba(69, 43 , 144, .2);
}
.cartBtn p {
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #777;
    transition: all 0.3s ease;
}
.cartTotalPrice {
    font-size: 14px;
    border-top: 1px solid #ddd;
    padding-top: 5px;
    margin-top: 5px;
    width: 100%;
    transition: all 0.3s ease;
}

#products .card.glass {
    box-shadow: none;
}


/*Cart image animation*/
.flying-img {
    position: absolute;
    animation: fly_to_cart 1s linear forwards;
    z-index: 1000;
}

@keyframes fly_to_cart {
    0% {
        left: 0;
        top: 0;
    }
    50% {
        transform: scale(.2);
    }
    100% {
        left: calc(var(--left));
        top: var(--top);
        transform: scale(.2);
    }
}

/*Checkout styles*/

.checkout-content-wrapper {
    width: 50%;
    margin: 0 auto;

}
.checkout-content-wrapper h2 {
    text-align: center;
}

.place-order-content-wrapper {
    position: relative;
    margin: 50px 0;
}
.place-order-content-wrapper::before,
.place-order-content-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    background-size: contain;
    height: 20px;
}
.place-order-content-wrapper::before {
    top: -20px;
    background-image: url('img/checkout/border.png');
}
.place-order-content-wrapper::after {
    bottom: -20px;
    background-image: url('img/checkout/border.png');
    transform: rotate(180deg);
}
.place-order-content {
    background: #fff;
    padding: 15px;
}

.checkout-content {
    margin-bottom: 10px;
}

.checkout-content-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-item-info img {
    min-width: 65px;
    max-width: 65px;
    border-radius: 2px;
    height: 65px;
    object-fit: cover;
}

.single-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
}

.checkout-content-list.price .sub-total-price,
.checkout-content-list.price h3 {
    color: rgba(69, 43 , 144, 1);
    font-weight: 500;
}

.checkout-content-list.price h3 {
    font-size: 18px;
}

.single-shipping-charge {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.single-shipping-charge label {
    font-size: 14px;
}

.single-shipping-charge label span {
    color: rgba(69, 43 , 144, 1);
}

.checkout-cart-list {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    max-height: 385px;
    overflow: auto;
}

.cart-item-info .cartMinusBtn, .cart-item-info .cartPlusBtn {
    color: #555;
    border: 1px solid #ddd;
}
.cart-item-info .cartQtyInput {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.single-cart-item:nth-child(n + 2) {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
}

.emptyCartMsgBody {
    text-align: center;
}
.emptyCartMsg {
    color: rgba(69, 43 , 144, 1);
    margin-bottom: 10px;
    font-size: 20px;
}
.goBackMsg {
    font-size: 17px;
}
.goBackMsg a {
    color: rgba(69, 43 , 144, 1);
    text-decoration: underline;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.checkoutMinusBtn,
.checkoutPlusBtn {
    height: 32px;
    width: 32px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 600;
}
.checkoutMinusBtn {
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}
.checkoutPlusBtn {
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
}
.checkoutQtyInput {
    height: 32px;
    width: 42px;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    border: medium none;
    color: #555;
    font-weight: 500;
    caret-color: rgba(69, 43 , 144, 1);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.checkoutQtyInput:focus {
    border: medium none;
    outline: none;
}
.checkoutQtyInput::placeholder {
    color: #555;
    font-weight: 500;
    font-size: 16px;
}

.checkoutQtyInput::-webkit-outer-spin-button,
.checkoutQtyInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.checkoutQtyInput[type=number] {
    -moz-appearance: textfield;
}

.cart-item-info h6 {
    margin-bottom: 5px;
}
.cart-item-info,
.cart-item-info-wrapper {
    gap: 12px;
}

.cartItemRemoveBtn {
    font-size: 18px;
    color: #000;
    transition: all 0.3s ease;
}
.cartItemRemoveBtn:hover {
    color: red;
}

.note {
    font-size: 14px;
    margin-bottom: 10px;
}
.cashOnDeliveryNote {
    background: #f6f6f6;
    padding: 15px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.cashOnDeliveryNote p {
    font-size: 14px;
    color: #555;
}

.policyMsg {
    font-size: 14px;
    color: #555;
}

.checkoutSuccessContent {
    text-align: center;
}
.checkoutSuccessContent h1 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.checkoutSuccessContent p:not(.goBackMsg) {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
}

.invalid-feedback {
    color: red;
}
.error-border-for-validation {
    border: 1px solid red;
}














