@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans&display=swap');

.cart {
    background: #F34646;
    width: 100%;
    height: calc(100vh - 100px);
    display: block;
    flex-direction: column;
    overflow-y: scroll;
    scrollbar-width: none;
}

.cart .centered {
    margin-left: auto;
    margin-right: auto;
    width: 1300px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart .subheader {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 200px;
    min-height: 200px;
}

.cart .back-link {
    position: absolute;
    left: 0;
    color: #FFFFFF;
    font-family: "Bebas Neue", sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
}

.cart .cart-title {
    color: #FFFFFF ;
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-size: 150px;
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.cart .cart-information {
    width: 100%;
    height: calc(100vh - 300px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.cart .cart-contents {
    height: calc(100vh - 300px);
    width: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cart .cart-product {
    background: #FFFFFF;
    border-radius: 33px;
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

.cart .image-display {
    height: calc(100% - 34px);
    width: 250px;
    margin: 17px;
    border-radius: 25px;
    background: #FFE86D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart .product-information {
    margin-left: 10px;
}

.cart .product-title {
    color: #000000;
    font-family: "Bebas Neue", sans-serif;
    font-size: 64px;
    margin-top: 45px;
    margin-bottom: 0;
}

.cart .product-detail {
    color: #797979;
    font-family: "Work Sans", sans-serif;
    font-size: 34px;
    margin-top: 0;
    margin-bottom: 0;
}

.cart .delete-button {
    position: absolute;
    right: 25px;
    top: 25px;
    border-radius: 50%;
    background: transparent;
    border: none;
    width: 88px;
    height: 88px;
    cursor: pointer;
}

.cart .delete-button:disabled {
    background: #D98282;
    color: #404040;
    cursor: not-allowed;
}

.cart .product-image {
    max-height: 100%;
    max-width: 100%;
    height: max-content;
    display: flex;
    align-self: center;
}

.cart .cart-summary {
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cart .cart-price-frame {
    border-radius: 33px;
    background: #FFFFFF;
    width: 360px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.cart .price-together {
    color: #000000;
    font-family: "Bebas Neue", sans-serif;
    text-align: center;
    font-size: 47px;
    margin-top: 45px;
    margin-bottom: 0;
}

.cart .actual-price {
    color: #F34646;
    font-family: "Bebas Neue", sans-serif;
    text-align: center;
    font-size: 85px;
    margin-top: 5px;
    margin-bottom: 0;
}

.cart .checkout-button {
    border-radius: 33px;
    background: #FFE86D;
    border: none;
    width: 100%;
    height: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-family: "Bebas Neue", sans-serif;
    font-size: 34px;
    cursor: pointer;
}

.cart .cart-text {
    color: #000000;
    text-align: justify;
    font-family: "Work Sans", sans-serif;
    font-size: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: calc(7.5vh - 15px);
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 50px;
}

@media screen and (max-width: 1340px) {
    .cart .centered {
        width: calc(100% - 40px);
        padding-right: 20px;
        padding-left: 20px;
        height: auto;
    }
}

@media screen and (max-width: 1200px) {
    .cart .cart-information {
        flex-direction: column;
        height: auto;
    }

    .cart .cart-contents {
        height: auto;
        margin-bottom: 20px;
    }

    .cart .cart-summary {
        width: 100%;
    }

    .cart .cart-price-frame {
        width: 100%;
    }

    #summary { order: 1; }
    #contents { order: 2; }/
}