select.form-select {
    padding: 5px !important;
    height: 45px !important;
}

#cart_items {
    font-size: 20px !important;
}

#cart_items table tbody tr td {
    padding: 5px 0 !important;
}

#cart_items td.product {
    display: flex;
    position: relative;
    align-items: center;
    padding: 5px 0;
}

#cart_items td.product-subtotal {
    text-align: center !important;
}

#cart_items td .product-info a {
    font-size: 0.95em !important;
}

#cart_items td .product-price {
    min-width: max-content;
    font-weight: bold;
    position: absolute;
    right: 10px;
    bottom: -1px;
    font-size: 0.97em;
}


#cart_items td.product img {
    height: 65px;
    object-fit: contain;
    margin-right: 10px;
    image-resolution: from-image;
}

#cart_items td.product a {
    display: flex;
    align-items: center;
}

.product-quantity {
    width: 100px;
    height: 35px;
    display: flex;
    padding: 0 3px;
    border-radius: 5px;
    align-items: center;
    background-color: #f3f3f3;
    border: 1px solid #e2e0e0;
    justify-content: space-between;
}

.product-quantity input {
    margin: 0;
    width: 50px;
    height: 30px;
    text-align: center;
    border: 0 !important;
    padding: 5px !important;
    min-height: 20px !important;
    background-color: white !important;
}

.product-quantity span {
    font-size: 20px;
    color: darkgrey;
    cursor: pointer;
}

.cart-total {
    width: 50%;
    min-width: 265px;
    margin-left: auto;
}

.cart-total p {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
    text-align: left;
}

#total_Payment {
    border-bottom: 1px solid #e2e0e0;
    border-top: 1px solid #e2e0e0;
    padding: 5px 0 10px 0;
    font-weight: bold;
    margin: 10px 0;
}

.cart-total p>span {
    right: 0;
    display: flex;
    width: 100px;
    text-align: right;
    position: absolute;
    max-width: max-content;
    justify-content: space-between;
}

.cart-total p>span>span {
    width: 75px;
    display: block;
    margin-left: 3px;
    text-align: right;
    min-width: max-content;
}

#products .product-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid silver;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    overflow: hidden;
    padding: 8px;
    position: relative;
    transition: all 0.2s;
}

.product-item:hover {
    background-color: #f7f7f7;
}

.product-item:hover .product-details {
    z-index: 9999;
}

.product-item:hover .product-details .product-quantity>span,
#cart_items tr[data-product]:hover .product-quantity>span {
    color: #00bbbb;
}

#products .product-item>div {
    width: 100%;
    text-align: left;
    position: relative;
    min-height: 7em;
}

#products .product-item img {
    width: 7em;
    margin-right: 1em;
}

#products .product-item .product-details {
    display: flex;
    position: absolute;
    align-items: center;
    min-width: 100%;
    bottom: 5px;
}

#products .product-item .product-details .product-quantity {
    margin-right: 45px;
}

#products .product-item .product-details .product-quantity+span {
    font-weight: bold
}

input.product-select-check-box[type="checkbox"] {
    margin: 0 30px 0 15px;
    transform: scale(2.2);
}

input.product-select-check-box:checked, input.product-select-check-box[type="checkbox"]:checked:hover {
    accent-color: teal !important;
}

.product-subtotal p {
    margin: 0 !important;
    min-width: max-content !important;
}

i.lni-check-mark-circle.a-icon {
    padding: 5px;
}

@media only screen and (max-width: 767px) {
    /* styles for mobile devices */
}

@media only screen and (max-width: 479px) {

    /* styles for mobile devices in portrait mode */
    input.product-select-check-box {
        top: 15px;
        left: 0;
        z-index: 9;
        position: absolute;
        transform: scale(1.8) !important;
    }

    .product-item a {
        line-height: 18px;
        font-size: 13px;
    }

    #products .product-item .product-details .product-quantity {
        margin-right: 35px;
    }
}

.btn.btn-grey:hover {
    background: #24b666 !important;
    border-color: #14a254;
    color: #ffffff !important;
}

.footer-link {
	color: #E2C466 !important; 
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-link:hover {
	color: #E2C466 !important;
	text-decoration: underline;
}


@media only screen and (max-width: 320px) {

    /* styles for mobile devices in portrait mode */
    input.product-select-check-box {
        top: 12px;
        left: -2px;
        z-index: 9;
        position: absolute;
        transform: scale(1.5) !important;
    }

    .product-quantity {
        width: 75px;
        height: 25px;
    }

    #cart_items .product-quantity {
        transform: rotate(-90deg);
    }

    #cart_items .product-quantity input.quantity {
        transform: rotate(90deg);
    }

    #cart_items .product-quantity {
        font-size: 1.2em;
    }

    #cart_items .product-quantity span {
        font-size: 1em;
    }

    #products .product-item .product-details .product-quantity {
        margin-right: 8px;
    }

    .product-quantity input {
        margin: 0;
        width: 35px;
        height: 28px;
    }

    #products .product-item img {
        width: 5em;
        margin-right: 1em;
    }

    .product-item a {
        line-height: 18px;
        font-size: 12px;
    }

    #products .product-item>div {
        min-height: 5em;
    }
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* styles for tablet devices */
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    /* styles for tablet devices in landscape mode */
}