/* body {
    background-color: #f7f7f7;
} */

div.cart-overview {
    display: flex;
    align-items: flex-start;
}
div.cart-overview div.tab {
    background-color: #fff;
    /* padding: 24px; */
    border-radius: 17px;
}
div.cart-overview div.tab.start {
    width: calc(100% - 300px);
    height: auto;
}
div.cart-overview div.tab.end {
    width: 300px;
    height: auto;
    background-color: #f7f7f7;
    padding: 20px;
    margin-top: 54px;
}

div.cart-overview div.tab.end p.subtotal {
    font-size: 20px;
    font-weight: 400;
    color: #353535;
}
div.cart-overview div.tab.end p.amount {
    font-size: 28px;
    font-weight: 600;
    margin: 7px 0 14px 0;
}
div.cart-overview div.tab.end button.checkout {
    padding: 10px 0;
    font-size: 16px;
    border: 0;
    font-weight: 600;
    width: 100%;
    border-radius: 17px;
    background-color: #00BDF2;
    color: #fff;
    cursor: pointer;
}
div.cart-overview div.tab.end button.checkout:hover {
    background-color: #2f3a53;
}

div.item {
    position: relative;
    width: calc(100% - 40px);
    height: auto;
    margin-top: 20px;
    border-radius: 17px;
    overflow: hidden;
    background-color: #f7f7f7;
    display: flex;
    align-items: flex-start;
}
div.item img {
    aspect-ratio: 1/1;
    height: 130px;
    object-fit: cover;
    border-radius:11px;
}
div.item a.image {
    display: flex;
    margin: 20px;
}
div.item div.contents {
    position: relative;
    display: block;
    padding: 20px 20px 20px 0;
    text-decoration: none;
    color: #000;
    height: 100%;
    flex: 1;
    & p.desc {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.4;
        & span {
            font-weight: 500;
            margin-top: 7px;
            display:block;
        }
    }
}
div.item a.product-name {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}
div.item p.amount {
    font-size: 22px;
    font-weight: 600;
    margin: 20px;
}
div.item div.quantity {
    border-radius: 50px;
    display: inline-flex;
    margin-top: 20px;
    align-items: center;
    background-color: #fff;
    padding: 3px;
}
div.item div.quantity p {
    padding: 0 14px;
}
div.item div.quantity button {
    height: 34px;
    width: 34px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    border: 0;
    cursor: pointer;

}
div.item div.quantity button[data-visibility="hidden"] {
    display: none;
}
div.item div.quantity button svg {
    height: 14px;
    width: 14px;
    display: flex;
}
div.item div.quantity button:hover {
    background-color: #d3d3d3;
}
div.item button.delete {
    position: absolute;
    right: 20px;
    bottom: 20px;
    border: 1px solid #fff;
    height: 38px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;

}
div.item button.delete:hover svg {
    fill: #ff0000;
}
div.item button.delete svg {
    height: 20px;
    width: 20px;
    display: flex;;
    fill: #454545;
}
footer {
    background-color: #fff;
    padding-top: 10px;
}

div.empty-cart {
    height: auto;
    display: flex;
    align-items: center;
    padding: 20px 0;
    justify-content: center;
}
div.empty-cart div.child {
    display: block;
    text-align: center;
    max-width: 50%;
}
div.empty-cart div.child img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;

}
div.empty-cart div.child p.desc {
    color: #454545;
    margin-top: 10px;
    font-size: 15px;
    line-height: 22px;
}
div.empty-cart div.child a {
    text-decoration: none;
    padding: 8px 16px;
    background-color: #00BDF2;
    color: #fff;
    margin-top: 20px;
    display: block;
    width: 120px;
    font-size: 15px;
    margin: 20px auto 0 auto;
    border-radius: 7px;
    font-weight: 600;
}
div.empty-cart div.child a:hover {
    opacity: 0.7;
}
