

.cart-main-container {
    position: relative;
	display: block;
	width: 100vw;
	max-width: 800px;
	min-height: 400px;
	padding: 10px;
    margin: auto;
}

.cart-header {
    position: relative;
    display: block;
    width: 200px;
    padding: 10px;
    margin: auto;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.cart-item-container {
    position: relative;
    margin-bottom: 10px;
}

.cart-item-close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    color: #2d3e50;
    z-index: 5;
    border-left: #2d3e50 solid 1px;
    border-bottom: #2d3e50 solid 1px;
    background-color: snow;
}

.cart-item-close:hover {
    color: #FFA500;
    cursor: pointer;
    border-left: #FFA500 solid 1px;
    border-bottom: #FFA500 solid 1px;
}

.cart-item-content {
    display: block;
    width: 100%;
    padding: 10px;
}

.cart-item-info-container {
    float: left;
    display: block;
    width: 100%;
    height: 100px;
}

.cart-item-qty-container {
    float: right;
    display: block;
    width: 300px;
    height: 35px;
    overflow: hidden;
}

.cart-item-image {
    float: left;
    width: 70px;
    height: 70px;
}

.cart-item-name-price-container {
    float: left;
    width: calc(100% - 70px);
    height: 100%;
    padding: 5px;
}

.cart-item-supplier-name {
    display: block;
    max-height: 25px;
    margin-bottom: 5px;
    line-height: 12.5px;
    font-size: 0.9em;
    text-align: left;
    opacity: 0.7;
    overflow: hidden;
}

.cart-item-name {
    display: block;
    max-height: 45px;
    margin-bottom: 5px;
    line-height: 15px;
    font-size: 1.02em;
    text-align: left;
    overflow: hidden;
}

.cart-item-price {
    display: block;
    font-weight: bold;
}

.cart-item-qty-content {
    float: left;
    width: 140px;
    height: 100%;
    text-align: center;
    border-left: grey solid 1px;
    border-right: grey solid 1px;
}

.cart-item-qty-content > span {
    display: none;
}

.cart-item-qty-value-content {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.cart-item-qty-btn {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 26px;
    text-align: center;
    border-radius: 50px;
    font-size: 1.05em;
    color: white;
    background-color: #FFA500;
}

.cart-item-qty-btn:hover {
    background-color: #36454F;
    color: #FFFFFF;
    cursor: pointer;
}

.cart-item-qty-value {
    display: inline-block;
    width: 50px;
    padding: 5px;
    font-size: 1.02em;
    font-weight: bold;
    text-align: center;
    border-bottom: gray solid 1px;
}

.cart-item-subtotal-content {
    float: left;
    width: 150px;
    height: 100%;
    padding-top: 5px;
    line-height: 25px;
    text-align: center;
    vertical-align: bottom;
}

.cart-item-subtotal-content > span:first-child {
    display: none;
}

.cart-summary-container {
    display: block;
    width: 100%;
    margin: 20px 0;
    text-align: end;
}

.cart-summary-total-content {
    margin-bottom: 10px;
}

.cart-summary-total-content > span:first-child {
    float: left;
}

.cart-summary-total-content > span:not(:first-child) {
    font-weight: bold;
}

.cart-summary-info {
    margin: 10px 0;
    opacity: 0.7;
}

.cart-summary-checkout-btn {
    width: 100%;
    margin-top: 10px;
    text-align: end;
}

.cart-summary-checkout-btn > button {
    width: 100%;
    height: 45px;
    border-radius: 5px;
    font-size: 1.02em;
}


@media only screen and (min-width: 481px) {
    .cart-summary-total-content > span:first-child {
        float: none;
    }

    .cart-summary-checkout-btn > button {
        width: 300px;
    }
}


@media only screen and (min-width: 701px) {
    .cart-item-info-container {
        width: calc(100% - 255px);
        
    }
    
    .cart-item-qty-container {
        width: 250px;
        height: 80px;
    }

    .cart-item-qty-content > span {
        display: inline-block;
        margin: 5px 0;
    }

    .cart-item-subtotal-content {
        width: 100px;
    }

    .cart-item-subtotal-content > span:first-child {
        display: block;
    }

    .cart-item-subtotal-content > span:nth-child(2) {
        display: none;
    }
}



