/* main content */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
}
.empty-cart img {
    height: 36px;
    width: 36px;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
}
.btn-disabled {
    .btn-component {
        height: 50px;
        width: 100% !important;
        flex-direction: row-reverse;
        justify-content: center;
    }
}
.basket-bottom {
    .btn-component {
        width: 100%;
        flex-direction: row-reverse;
        justify-content: center;
    }
}
.basket-bottom {
    display: flex;
    flex-direction: column;

    .btn-primary-blue {
        margin-top: 24px;
    }
}
.basket-bottom-offer p {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 16px;

    .body4 {
        display: flex;
        gap: 6px;
        align-items: center;
        color: var(--greyText1);
    }
    .body3 {
        color: var(--black1);
    }
}
.basket-bottom-offer img {
    height: 24px;
    width: 24px;
}
/* basket items */
/* left side */
.basket-left-side {
    img {
        width: 100px;
        height: 100px;
        object-fit: contain;
    }
}
.product-image-name {
    display: flex;
    align-items: center;
    gap: 20px;
}
.product-name,
.checkout-product-name {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px;
}
.product-brand {
    color: var(--greyText1);
}
.product-power {
    color: var(--greyText1);
}
.mini-cart-price,
.checkout-product-price {
    padding-top: 6px;
}
/* right side */
.basket-right-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.basket-items {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
    margin-top: 24px;
}
.basket-single-item {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.basket-single-item:last-child {
    border-bottom: none;
}

.mini-cart-qty-controls,
.similar-qty-controls {
    display: flex;
    gap: 8px;
}
.qty-minus,
.qty-plus,
.similar-qty-minus,
.similar-qty-plus {
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 50px;
}
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img {
    float: unset;
    margin-left: unset;
    width: unset;
    height: unset;
}
.mini-cart-qty-input,
.qty-input,
.similar-qty-input {
    border: 1px solid var(--greyBorder1);
    color: var(--black1);
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 50px;
    width: 50px;
    padding: 0 8px;
    border-radius: 8px;
    transition: all 0.4s ease;
}
.mini-cart-qty-input:hover,
.qty-input:hover,
.similar-qty-input:hover {
    border-color: var(--greyText1);
}
.mini-cart-qty-input:focus,
.qty-input:focus,
.similar-qty-input:focus {
    border-color: var(--blue1);
}
.remove_from_cart_button {
    display: flex;
    margin-top: 8px;
    justify-content: end;
    color: var(--greyText1) !important;;
    text-decoration: underline;
    width: fit-content !important;
    margin-left: auto;
    transition: all 0.4s ease;
}
.remove_from_cart_button:hover {
    color: var(--blue1) !important;
}

input[type=number].mini-cart-qty-input::-webkit-outer-spin-button,
input[type=number].mini-cart-qty-input::-webkit-inner-spin-button,
input[type=number].qty-input::-webkit-outer-spin-button,
input[type=number].qty-input::-webkit-inner-spin-button,
input[type=number].similar-qty-input::-webkit-outer-spin-button,
input[type=number].similar-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-added-with-points {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--blue2);
    text-align: center;
}

.cart-added-with-points > span {
    color: var(--blue1);
}

.cart-empty-div {
    border-top: 1px solid var(--greyBorder1);
    width: 100%;
    margin-bottom: 24px;
}

.cart-points-text {
    margin-bottom: 16px;
}

/* responsive */
@media (max-width: 1250px) {
    .similar-qty-input {
        height: 50px;
        width: 100%;
    }
}
@media (max-width: 950px){
    .btn-disabled {
        .btn-component {
            height: 45px !important;
        }
    }
    .product-name,
    .checkout-product-name {
        text-align: left !important;

        a {
            width: unset !important;
            height: unset !important;
        }
    }
}
@media (max-width: 767px) {

    .cart-empty-div {
        display: none;
    }

    .basket-single-item {
        flex-direction: column;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--greyBorder1);
    }
    .basket-right-side {
        display: grid;
        grid-template-columns: 2fr 1fr;
        align-items: center;    
        gap: 16px;    
    }
    .mini-cart-qty-controls,
    .similar-qty-controls {
        justify-content: center;
        width: 100%;
    }
    .mini-cart-qty-input,
    .qty-input,
    .similar-qty-input {
        height: 45px;
        width: 100%;
    }
    .qty-minus,
    .qty-plus,
    .similar-qty-minus,
    .similar-qty-plus {
        min-width: 45px;
        height: 45px;
        width: 45px;
    }
    .remove_from_cart_button {
        margin: auto;
    }
    .basket-bottom {
        gap: 16px;

        .btn-primary-blue {
            margin-top: 0;
        }
    }
    .basket-bottom-offer p {
        gap: 6px;
        padding-top: 0;
    }
    .basket-bottom-offer img {
        height: 20px;
        width: 20px;
    }
}
@media (max-width: 500px) {
    .basket-bottom-offer p {
        flex-direction: column;
        align-items: start;
    }
}