/* Cart Page Additional Styles */

.checkout-cart-index .columns {
    row-gap: 0;
}

.cart-price .price {
    color: #2159a0;
}

.cart.items .product-item-details .cart-price .price {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .checkout-cart-index .page-main {
        margin-bottom: 0;
    }
}

@media not print {
    .cart-show-on-print {
        display: none !important;
    }
}

/* Print Styles */

.cart-print-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
}

.cart-print-header-logo {
    background: #2159a0;
    padding: 10px;
}

.cart-print-header-logo img {
    display: block;
}

.cart-print-header-text {
    text-align: right;
}

.cart-print-header-title,
.cart-print-header-number {
    font-size: 24px;
    line-height: 24px;
    font-weight: 600;
}

.cart-print-header-date {
    font-size: 14px;
}

.cart-print-footer-1,
.cart-print-footer-2 {
    font-style: italic;
    font-size: 10px;
    line-height: 24px;
}

.cart-print-footer-3 {
    font-size: 7.5px;
    line-height: 24px;
    padding-top: 20px;
    border-top: 1px solid #000;
}

.cart-print-table-title {
    background: #cecece;
    color: #000;
    line-height: 22px;
    padding: 5px;
    border: 1px solid #000;
    border-bottom: 0;
}

@media print {
    .cart-hide-on-print,
    .page-footer,
    .page-header,
    #notification,
    #recommendation,
    #goAssistantButtonContainer,
    #openChatBtn,
    .amsearch-overlay-block,
    .page.messages,
    .product-slider,
    .checkout-methods-items,
    .cart-empty {
        display: none !important;
    }

    @page {
        margin: 20px;
    }

    html {
        scrollbar-gutter: auto;
    }

    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 0;
    }

    .cart-cols {
        display: block;
        padding: 0;
    }

    .cart-cols > div {
        width: 100%;
    }

    .page-main {
        margin-bottom: 0;
    }

    .cart.items {
        border: 1px solid #000;
        border-collapse: collapse;
        margin-bottom: 50px;
    }

    .cart.items thead {
        display: table-header-group;
    }

    .cart.items thead th {
        color: #fff;
        padding: 5px;
        background: #8e8e8e;
        font-weight: 600;
        text-transform: capitalize;
        width: auto;
        text-align: left;
        border-right: 1px solid #000;
        vertical-align: middle;
        display: table-cell;
    }

    .cart.items tbody tr {
        display: table-row;
    }

    .cart.items tbody .item-info td {
        font-size: 14px;
        line-height: 18px;
        color: #000;
        padding: 1px 4px;
        border: 1px solid #000;
        vertical-align: middle;
        display: table-cell;
    }

    .cart.items .cart-price .price {
        font-size: inherit;
        color: inherit;
    }

    .cart.items tbody .col.sku,
    .cart.items tbody .col.price,
    .cart.items tbody .col.qty,
    .cart.items tbody .col.subtotal {
        text-align: left;
        width: auto;
        white-space: nowrap;
    }

    .cart.items tbody .product-item-name a {
        color: #000;
    }

    .cart.items tbody .col.sku {
        width: 150px;
    }

    .cart.items tbody .col.price,
    .cart.items tbody .col.qty {
        width: 100px;
    }

    .cart.items tbody .col.qty {
        position: static;
    }

    .cart.items tbody .col.subtotal {
        width: 143px;
    }

    .cart-summary-wrap {
        max-width: 50%;
        margin-left: auto;
        margin-bottom: 50px;
        padding-right: 15px;
        background: none;
    }

    .cart-summary-title-wrap {
        display: block;
        border: 0;
        padding: 0;
        margin: 0;
    }

    .cart-summary-title {
        font-size: 16px;
        line-height: 20px;
        text-transform: uppercase;
        font-weight: 400;
        border: 1px solid #000;
        background: #cecece;
        padding: 5px;
    }

    .cart-totals-item {
        display: grid;
        grid-template-columns: 1fr 150px;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 0;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
    }

    .cart-summary-content {
        padding: 0;
    }

    .cart-totals-item > div {
        padding: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cart-totals-item > div.items-center {
        align-items: start;
    }

    .cart-totals-item > div:first-child {
        border-right: 1px solid #000;
    }

    .cart-totals-item-grand {
        background: #525252;
        color: #fff;
        border-top: 0;
    }

    .cart-totals-item-grand > div {
        color: inherit;
    }

    .cart-totals-item-grand > div:first-child {
        text-transform: uppercase;
        font-weight: 600;
    }

    .cart.items .product-item-details {
        margin-left: 0;
    }
}
