#cart-banner {
    background: url('/storage/cx/images/cart.webp') no-repeat center center/cover;
    height: 15rem;
    position: relative;
    overflow: hidden;
}

#cart-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#cart-banner .title {
    z-index: 2;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-product img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
}
tfoot th, tfoot td {
    text-align: center !important;
}

.cart-loader { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    } 
    100% {
        transform: rotate(360deg);
    }
}
.hidden {
    display: none !important;
}

/* Hide arrows in the cart table quantity inputs */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type=number] {
  -moz-appearance: textfield;
}

@media (max-width: 767.98px) {
    .title{
        font-size: 1.2rem;
    }
    #cart-banner {
        height: 8rem;
    }
}