.cart__empty {
    text-align: center;
    margin-top: 100px;
    font-size: 24px;
    color: #757575;
}

.cart__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.cart-summary {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 6px #e3e3e3;
    background-color: #fff;
    position: sticky;
    top: 90px;
    right: 0;
    z-index: 10;
}

.product-quantity {
    width: 120px;
    display: flex;
    align-items: center;
    background-color: #faf2f2;
    border-radius: 24px;
    padding: 3px 20px;
}

.product-quantity .btn {
    font-size: 24px;
    font-weight: 600;
    color: #E73523;
    cursor: pointer;
}

.product-quantity input {
    width: 100%;
    border: none;
    text-align: center;
    outline: none;
    background: none;
}

.checkout-button {
    background: var(--color-red);
    border-radius: 32px;
    color: white;
    padding: 16px;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    display: block;
    width: 100%;
    text-decoration: none;
}

/* PRODUCT ITEM  */

.cart_items {
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 6px #e3e3e3;
}

.product-image {
    width: 100px;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item {
    height: 120px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e3e3e3;
    padding: 16px;
    background-color: #fff;
}

.cart-item .product-quantity {
    width: 150px;
}

.product-info {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    align-items: center;
    padding-left: 30px;
}


.cart .product-name {
    text-decoration: none;
    font-weight: 300;
    font-size: 16px;
}

.cart-remove-button {
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background-color: #E9EAEB;
}

.cart-remove-button span {
    font-size: 14px;
    display: none;
    color: var(--color-red);
}

.product-info .fa-trash-can,
.wishlist-action {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: right;
    color: gray;
    padding: 16px;
    border-radius: 8px;
}


.product-price {
    text-align: center;
}

.product-price bdi,
.product-price .woocommerce-Price-currencySymbol {
    font-weight: 600;
    font-size: 16px;
}

.order__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order__detail {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order__detail .value bdi,
.order__detail .value span {
    font-weight: bold;
}

.note {
    font-size: 14px;
    color: gray;
    text-align: center;
}

.cart-summary .cart__total {
    padding: 16px 0;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}

.cart__total .order__detail p {
    font-size: 18px;
    font-weight: bold;
}

.cart__total h4 {
    font-size: 18px;
    font-weight: bold;
}

.cart-total bdi,
.cart-total bdi span {
    font-weight: bold;
}

.delivery-fee {
    color: var(--color-green);
}

.quantity__minus,
.quantity__plus {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Standard syntax */
}

.disabled-checkout {
    opacity: 0.5;
    cursor: not-allowed;
}

.order-warning,
.order-warning bdi,
.order-warning span {
    color: var(--color-red);
    font-size: 14px;
    text-align: center;
}

.order-warning bdi,
.order-warning span {
    font-weight: bold;
}

.cart-empty {
    display: flex;
    align-items: center;
    margin: 100px 0;
    flex-direction: column;
}

.cart-empty p {
    font-size: 20px;
}

.cart-empty button {
    width: 150px;
}

.quantity__container {
    display: flex;
    align-items: center;
    gap: 10px
}

.product-info .body {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item .product__unit.phone {
    display: none;
}

@media (max-width: 1200px) {

    .cart-items,
    .cart-summary {
        order: -1;
        position: initial;
    }

    .cart__container {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 868px) {
    .product-name a {
        font-size: 16px;
    }

    .product-price bdi,
    .product-price .woocommerce-Price-currencySymbol {
        font-size: 16px;
    }

    .product-image img {
        width: 100px;
        height: 100px;
    }

}

@media (max-width: 700px) {
    .product-quantity {
        width: 100px;
        height: 40px;
    }

    .product-quantity input {
        font-size: 12px;
    }

    .product-quantity .btn {
        width: 80px;
        display: flex;
        justify-content: center;
        font-size: 20px;
    }

    .checkout-button {
        font-size: 16px;
    }

    .cart__total h4,
    .cart__total .order__detail p {
        font-size: 18px;
    }

    .order__detail {
        font-size: 14px;
    }

    .order-warning,
    .order-warning bdi,
    .order-warning span,
    .note {
        font-size: 12px;
    }

    .cart-items,
    .cart-summary {
        gap: 14px;
        padding: 24px;
    }

    .checkout-button {
        width: 100%;
    }

    .cart-summary .cart__total {
        padding: 14px 0;
    }

    .product-info .cart_items {
        padding-top: 0;
    }

}

@media (max-width: 550px) {
    .section.cart {
        padding-bottom: 50px;
    }

    .product-info .product-info {
        grid-template-columns: 1fr;
    }

    .product-info .body {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }


    .product-info .product-price,
    .woocommerce-Price-amount.amount {
        align-self: flex-start;
    }

    .quantity__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-quantity {
        height: 30px;
        width: 100%;
    }

    .product-info {
        justify-content: space-between;
    }

    .product-info {
        justify-content: space-between;
    }

    .product-info .body {
        justify-content: flex-start;
    }

    .cart-summary {
        padding: 16px;
    }

    .quantity__container {
        flex-direction: row;
        align-items: center;
        font-size: 12px;
    }

    .cart__total h4,
    .cart__total .order__detail p {
        font-size: 16px;
    }

    .product-info .fa-trash-can {
        align-self: flex-end;
    }

    .section.cart .cart_items {
        padding-top: 0;
    }

    .section.cart .cart_items {
        gap: 0
    }

    .product-price bdi {
        font-size: 16px !important;
    }

    .product-info .fa-trash-can {
        font-size: 12px;
    }

    .cart .product-name {
        font-size: 14px;
    }

    .product-quantity-fixed {
        font-size: 12px;
    }

    .cart-item {
        flex-direction: column;
        border-left: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
    }

    .product-quantity {
        padding: 10px 0;
    }

    .product-quantity {
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
        padding: 0;
    }

    .product-quantity .btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section.cart .product-info .body {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 40px;
    }

    .section.cart .product-price {
        grid-column: span 2;
        order: -2;
    }

    .section.cart .quantity__container {
        width: 100%;
        grid-column: span 2;
    }

    .cart-remove-button {
        border: 1px solid var(--color-red);
        grid-column: span 2;
        width: 100%;
        background: none;
    }

    .section.cart .product-info .fa-trash-can,
    .wishlist-action {
        display: none;
    }

    .cart-remove-button i {
        color: var(--color-red);
    }

    .cart-remove-button span {
        display: block;
    }

    .section.cart .quantity__container .cart-item .product-quantity {
        width: 100%;
    }

    .cart-item .product-quantity {
        width: 100%;
    }

    .cart-item .product__unit {
        display: none;
    }

    .cart-item .product__unit.phone,
    .product-price {
        display: inline;
        font-size: 14px;
    }

    .product__unit {
        font-size: 14px;
    }
}

@media (max-width: 430px) {
    .section.cart {
        padding: 0;
    }
}