.cart {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.main .cart-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.cart-container .links {
    text-align: center;
    margin-top: 10px;
    display: flex;
    gap: 24px;
    justify-content: center;
}

.update-cart-amount {
    margin-left: 1px;
    margin-right: 1px;
    transition: 0.25s all ease-in-out;
    display: none;
    z-index: 10;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.cart .form-container {
    display: flex;
    margin-top: -1px;
    z-index: 1;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.25s border ease-in-out;
}

.cart .cart-item {
    display: flex;
    flex-direction: row;
    border-radius: 4px;
    border-top: 1px solid #ddd;
    padding: 16px;
}

.cart .cart-item:first-of-type {
    border-top: none;
}

.cart .cart-item:last-of-type {
    border-bottom: 1px solid #ddd;
}

.cart .cart-item__image {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart .cart-item__image img {
    max-height: 100px;
    max-width: 80px;
    width: auto;
    height: auto;
    display: block;
}

.cart .cart-item-information {
    display: flex;
    flex-direction: column;
    padding-left: 8px;
}

.cart .cart-item__price {
    display: flex;
    align-items: center;
    flex-grow: 0;
    font-weight: bold;
}

.cart .cart-item__price::after {
    content: ',-';
    display: flex;
    align-items: center;
    padding-left: 1px;
    min-height: 36px;
}

.cart .cart-item__title {
    display: flex;
    font-weight: bold;
    flex-grow: 0;
}

.cart .cart-item__description {
    display: flex;
    color: rgba(0, 0, 0, 0.57);
    font-weight: 600;
    font-size: 13px;
    flex-grow: 1;
}

.cart .cart-item__amount {
    display: block;
    width: 40px;
    border: unset;
    font-weight: bold;
    text-align: center;
    background: white;
    color: inherit;
}

.cart .cart-subtotal {

}

.cart-total {

}

.cart-item-functions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.cart-item-remove {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 8px;
    background: white;
    padding: 0;
    overflow: hidden;
    margin-top: -8px;
}

.cart-item-remove:hover {
    background: white;
}

.cart-item-remove span {
    height: 24px;
    display: flex;
    align-items: center;
    padding: 5px 12px 5px 12px;
}

.cart-item-remove svg {
    width: 12px;
    height: 12px;
    stroke: #777;
    fill: #777;
}

.cart-item__variation {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    color: rgba(0, 0, 0, 0.67);
    font-weight: bold;
}

.cart-item-increment {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    color: #53838b;
    margin: 0;
    font-size: 23px;
    font-weight: bold;
    border-left: 1px solid #eee;
}

.cart-item-decrement {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    color: #53838b;
    margin: 0;
    font-size: 27px;
    margin-top: -3px;
    font-weight: bold;
    border-right: 1px solid #eee;
}

.cart-container .cart-overview {
    margin: 16px auto 16px auto !important;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    padding: 12px 16px 4px 16px;
    background: unset;
}

.cart-container .cart-overview div {
    padding: 11px 0;
    box-sizing: border-box;
}

.cart-container .cart-overview-item {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}

.cart-container .cart-overview-total {
    border-top: 1px solid #bbb;
    padding-bottom: 16px !important;
}


.cart-overview-item span:first-of-type {
    display: flex;
    font-size: 13.6px;
    font-weight: 600;
    flex-grow: 1;
}

.cart-overview-item span:last-of-type {
    display: flex;
    font-weight: 700;
    flex-grow: 0;
}

.cart-overview-title {
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid #bbb;
    width: 100%;
    margin-bottom: 16px;
}

.cart-container .cart-overview-discount {
    display: none;
}

.cart-container .cart-overview-discount.show {
    display: flex;
}

.cart .cart-overview {
}

@media screen and (max-width: 700px) {
    .cart {
        display: flex !important;
    }


    .cart-container .cart-overview {
        width: calc(100% - 32px);
    }


    .cart .cart-item {
        min-height: 100px;
        padding: 24px 8px 24px 8px;
        margin-left: -20px;
        margin-right: -20px;
        position: relative;
    }

    .cart .cart-item__image {
        padding-left: 3%;
        padding-right: 2%;
        min-height: 16%;
        min-width: 80px;
    }

    .cart .cart-item__image img {

    }

    .cart .cart-item-information {
        margin-right: 50px;
    }

    .cart .cart-item__price {
    }

    .cart .cart-item__price::after {
    }

    .cart .cart-item__title {
    }

    .cart .cart-item__description {
    }

    .cart .cart-item__amount {
    }

    .cart .cart-subtotal {

    }

    .cart .cart-total {

    }

    .cart-item-remove {
    }


    .cart .cart-item-functions {
        position: absolute;
        right: 8px;
        top: 24px;
        bottom: 24px;
        display: flex;
        justify-content: flex-end;
    }

    .cart .cart-item__variation {
        display: flex;
        justify-content: flex-end;
    }

    .cart .cart-item-increment {
    }

    .cart .cart-item-decrement {
    }

}

@media screen and (min-width: 701px) {
    .main .cart-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        position: relative;
        margin: 0 auto;
    }

    .cart-container .cart-overview {
        max-width: 300px;
        min-width: 240px;
        flex-grow: 0;
        flex-shrink: 1;
        height: fit-content;
    }

    .cart-container .links {
        flex: 1 1 100%;
    }

    .cart-container .cart {
        flex-grow: 1;
    }

    .cart-item {
        margin-left: 0;
    }

    .cart-item__image {
        padding-right: 2%;
        min-height: 16%;
        min-width: 80px;
        flex-grow: 0;
    }

    .cart-item__image img {
    }

    .cart-item-information {
        flex-grow: 1;
    }

    .cart-item-functions {
        flex-grow: 0;
    }

    .cart-item__price {
    }

    .cart-item__price::after {
    }

    .cart-item__title {
    }

    .cart-item__description {
    }

    .cart-item__amount {
    }

    .cart-subtotal {

    }

    .cart-total {

    }

    .cart-item__variation {
    }

    .cart-item-increment {
    }

    .cart-item-decrement {
    }

}

@media screen and (min-width: 1066px) {
    .cart {
    }

    .cart-container .cart-overview {
        /*position: absolute;*/
        /*right: 64px;*/
        margin-right: 16px !important;
    }


    .cart .cart-container {
        position: relative;
    }

    .cart-item {
        /*margin: 0 auto 0 0;*/
        /*max-width: 600px;*/

    }

    .cart-item__image {
    }

    .cart-item__image img {
    }

    .cart-item-information {
    }

    .cart-item__price {
    }

    .cart-item__price::after {
    }

    .cart-item__title {
    }

    .cart-item__description {
    }

    .cart-item__amount {
    }

    .cart-subtotal {

    }

    .cart-total {

    }

    .cart-item__variation {
    }

    .cart-item-increment {
    }

    .cart-item-decrement {
    }

}