* {
    box-sizing: border-box;
}

.cart .banner-info {
    background: #000;
    text-align: center;
    width: 100%;
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25rem;
    padding: .5rem 2rem;
}

.cart-empty {
    display: none;
    max-width: 960px;
    margin: auto;
    padding: 1rem;
}

.cart .banner-info a,
.cart .banner-info a:hover {
    text-decoration: none;
    color: #fff;
    font-size: .8rem;
}

.cart-heading {
    display: flex;
    justify-content: center;
    align-items: baseline;
    text-transform: uppercase;
    font-size: .875rem;
    margin: 1.5rem 0 0.5rem 0;
}

.cart-container {
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
    flex-direction: column;
}

.cart-main,
.cart-footer {
    padding: 1rem;
    width: 100%;
}

.cart-footer-wrapper {
    background-color: #f2f2f2;
    padding: 1rem;
}

.cart-item {
    padding: 1rem;
    border-radius: 3px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 1px rgba(60, 64, 67, .16);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cart-item-remove {
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    position: absolute;
    top: 1rem;
    right: 1rem;
    height: 1rem;
    width: 1rem;
    padding: 0;
    display: block;
    cursor: pointer;
}

.cart-item-remove svg {
    pointer-events: none;
}

.cart-item-image {
    text-align: center;
}

.cart-item-image img {
    height: 150px;
}

.cart-item-title-name {
    margin-top: 1rem;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: .05rem;
    line-height: 1;
    font-family: Oswald, sans-serif;
}

.cart-item-title-code {
    font-size: .8rem;
    margin-top: 1rem;
}

.cart-item-price {
    margin-top: 1rem;
    font-size: .9rem;
}

.cart-item-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cart-item-amount-input {
    border-radius: 0;
    font-size: 1rem;
    color: #000000;
    outline: 0;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 0.75rem 0;
    max-width: 75px;
    display: flex;
    justify-content: center;
}

.cart-item-amount-up,
.cart-item-amount-down {
    font-size: 1.5rem;
    color: #000;
    height: 100%;
    width: 100%;
    text-align: center;
}

.cart-item-sum {
    margin-top: 1rem;
    font-size: 1.25rem;
}

.cart-item-amount-actions {
    display: flex;
    flex-direction: column;
    width: 22px;
}

.cart-footer .subtotal-wrapper {
    width: 100%;
    text-transform: uppercase;
    margin: 1rem 0;
}

.cart-footer .subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: .875rem;
}

.cart-footer .subtotal-cell.heading {
    font-weight: 500;
    text-transform: none;
}

.cart .continue-shopping {
    border-radius: 0;
    font-size: 1rem;
    overflow: auto;
    transition: background 0.2s, color 0.2s;
    vertical-align: middle;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    word-break: break-word;
    color: #000000;
    cursor: pointer;
    background: #fff;
    border: none;
    font-weight: 500;
}

.cart .cart-empty .continue-shopping {
    border: 1px solid #000;
}

.cart-empty form {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.cart .continue-shopping:hover {
    color: #ffffff;
    background: #000000;
}

.cart-footer>form {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.cart-footer .check-out {
    border: none;
    margin: 1rem 0;
    padding: 0;
    width: 100%;
}

.cart-footer .check-out a {
    font-weight: 500;
    font-size: .9rem;
    padding: 0.4rem 1.5rem;
    width: 100%;
    height: 100%;
    display: block;
    background: #6dcff6;
    color: #000;
    transition: background 0.2s, color 0.2s;
}

.cart-footer .check-out a:hover {
    background: #fff;
}

.cart-item-wrapper.desktop {
    display: none;
}

@media only screen and (min-width: 1024px) {
    .cart-container {
        display: none;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
    }

    .cart-footer,
    .cart-main {
        padding: 0;
    }

    .cart-footer {
        max-width: 300px;
        position: sticky;
        top: 1rem;
    }

    .cart-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .cart-item-image {
        min-width: 150px;
        width: 150px;
        margin-right: 1rem;
    }

    .cart-item-image img {
        height: unset;
        width: 150px;
    }
}