.page-checkout-review #carth,
.page-checkout-review .osummary.split {
    border: solid 1px rgba(94, 102, 113, 0.6);
    margin-bottom: 1em;
    padding-inline: 1.5em;
}
.page-checkout-review #carth th,
.page-checkout-review .osummary.split th,
.page-checkout-review .checkout-pane-payment-information legend{
    font-size: 1.5em;
    font-weight: 500;
    border-bottom: 1px solid #bcbcbc;
    padding-bottom: 0.75em;
}
.page-checkout-review .checkout-pane-order-summary {
    margin-top: 5.4em;
}
.page-checkout-review .checkout-pane-order-summary table.mini.views-table.cols-3 {
    display: none;
}
.page-checkout-review table#cart.mini.deli p {
    margin-bottom: 1em;
}
.page-checkout-review .layout-region-checkout-secondary .view-commerce-cart-summary {
    margin-bottom: 1em;
    grid-row: 1;
}
.page-checkout-review .layout-region-checkout-main {
    padding-right: 0;
}

.page-checkout-review table#cart tbody tr:first-child td {
    padding-top: 1.1em;
}
.page-checkout-review table.mini.confirm p {
    /* margin-bottom: 0.125em; */
}
.page-checkout-review .osummary.split tr.bask h2,
.page-checkout-review .osummary.split tr.bask p {
    display: inline;
} 
.page-checkout-review .osummary.split tr.bask h2 {
    font-weight: 600;
}
.page-checkout-review .checkout-pane-payment-information {
    border: solid 1px rgba(94, 102, 113, 0.6);
    margin-bottom: 1em;
    padding-inline: 1.5em;
}
.page-checkout-review .checkout-pane-payment-information legend {
    float: left;
    display: block;
    width: 100%;
    margin-block: 1em 0.5em;
}
.page-checkout-review #edit-payment-information-billing-information div.form-type-checkbox {
    display: flex;
} 
.page-checkout-review #edit-payment-information-billing-information label {
    margin-top: 9px;
 }
.page-checkout-review .checkout-pane-payment-information input[type="checkbox"] {
    clear: both;
    padding: 5px;
    margin-top: 9px;
}

.page-checkout-review .layout-region-checkout-main .monly {
    display: none;
}
.page-checkout-review .checkout-order-summary .order-total-line__subtotal {
    display: block;
}
.page-checkout-review .view-commerce-cart-summary .order-total-line {
    display: flex;
    justify-content: space-between;
    padding: 0;
    font-size: 1em;
    font-weight: 600;
    margin-block: 1.1em 1.5em;
    border-top: none;
}
.page-checkout-review .view-commerce-cart-summary h2 {
    border-bottom: 1px solid #bcbcbc;
    padding-block: calc(1rem + 0.4em) 0.75em;
}
.page-checkout-review .checkout-pane-payment-information .address-container-inline > .form-item {
    display: block;
}
.page-checkout-review .checkout-pane-payment-information .form-item-payment-information-billing-information-address-0-address-country-code {
    clear: both;
}
.page-checkout-review #edit-actions-next {
    margin-bottom: 1.125em;
}
.page-checkout-review .form-actions .link--previous {
    display: block;
    text-align: center;
    color: #B2B2B2;
}
.page-checkout-review .osummary.split .views-field-line-item-title p:first-child {
    font-size: 0.875em;
    color: #898989;
    margin-bottom: 2em;
    line-height: 1.3;
}
.page-checkout .osummary.split tr.pitem {
    vertical-align: top;
}
.page-checkout .osummary.split tr.pitem td:nth-child(2) {
    line-height: 1.4;
}
.page-checkout .osummary.split .views-field-line-item-title.prod {
    position: relative;
    font-weight: 500;
}
.page-checkout .osummary.split tr.pitem #rQty {
    position: absolute;
    bottom: 0;
    margin-bottom: 0.55em;
    font-size: 0.9375em;
}
.page-checkout tr.bask td {
    padding-top: 1.5em;
}
.page-checkout .osummary.split tr.pitem
.page-checkout-review .checkout-pane-payment-information .page-checkout form input, 
.page-checkout-review .checkout-pane-payment-information .page-checkout form select {
    padding: 0.5em 0.8em;
}
.page-checkout-review td.views-field-commerce-unit-price {
    padding-right: 0;
}
.page-checkout-review td.views-field-commerce-unit-price p {
    line-height: 1.25;
}
.page-checkout-review .page-checkout td.imag img {
    width: 68px;
}

@media screen and (max-width: 768px) {
    .page-checkout-review #carth,
    .page-checkout-review .osummary.split,
    .page-checkout-review .checkout-pane-payment-information {
        /* padding-inline: 0.5em; */
    }
    .page-checkout-review div.layout-region-checkout-main, 
    .page-checkout-review div.layout-region-checkout-secondary {
        display: contents;
    }
    .page-checkout-review div[data-drupal-selector="edit-actions"] {
        grid-column: 1;
    }
    .page-checkout-review div[data-drupal-selector="edit-actions"] {
        grid-row: 6;
    }
    .page-checkout .checkout-pane-payment-information {
        grid-row: 5;
    }
    .page-checkout-review .checkout-pane-order-summary {
        margin-top: 2em;
    }

}



/* Order Confirmation page */

.checkout-receipt .carth2 {
    border: solid 1px rgba(94, 102, 113, 0.6);
    padding: 1.5em;
    width: 100%;
    line-height: 1.4;
    max-width: 460px;
}
.checkout-receipt .carth2 h1 {
    margin-bottom: 1em;
}
.checkout-receipt .osummary {
    margin-top: 3.4em;
    padding: 0;
    border: none;
}
.checkout-receipt .col12 .osummary .mini .imag {
    margin: 0.25em 0 2em 0;
    width: 150px;
    padding-right: 2em;
}
.checkout-receipt .col12 .osummary .mini thead tr th {
    font-size: 1.125em;
    font-weight: 500;
    padding-block: 0.25em 0.5em;
    border-bottom: 1px solid #eaeaea;
}
.checkout-receipt .col12 .osummary .order-total-line__adjustment,
.checkout-receipt .col12 .osummary .order-total-line__total {
    border-top: 1px solid rgba( 0, 0, 0, 0.08);
}
.checkout-receipt .col12 .osummary .prod {
    position: relative;
}
.checkout-receipt .col12 .osummary .prod h2 {
    font-size: 1em;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 0.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.checkout-receipt .col12 .osummary .prod p.inc {
    margin-bottom: 1em;
    font-size: 0.875em;
    color: #898989;
    line-height: 1.3;
    margin-bottom: 2.5em
}
.checkout-receipt .col12 .osummary .prod .summary-qty {
    position: absolute;
    bottom: 0.55em;
    font-size: 0.9375em;
}
.checkout-receipt .col12 .osummary tbody tr td {
    vertical-align: top;
}
/* .checkout-receipt .col12 .osummary td.prod,
.checkout-receipt .col12 .osummary td.cost {
    padding-top: 0.8em;
} */
/* .checkout-receipt .col12 .osummary tr:first-child td.prod,
.checkout-receipt .col12 .osummary tr:first-child td.cost {
    padding-top: 1.4em;
} */
.checkout-receipt .col12 .osummary .prod h2,
.checkout-receipt td.cost p {
    margin-top: 0.4em;
}
.checkout-receipt .col12 .osummary tbody tr:first-child td {
    padding-top: 1em;
}
.checkout-receipt .col12 .osummary .checkout-order-summary > h2 {
    border-bottom: none;
    padding-bottom: 1em;
    font-size: 1.25em;
}
.checkout-receipt td.cost p {
    line-height: 1.3;
}
.checkout-receipt main#wrap main#wrap {
    padding-bottom: 0;
}
.page-checkout:has(.checkout-receipt) div.layout-checkout-form {
    margin-bottom: 0;
}
.page-checkout .checkout-receipt .checkout-order-summary .prod .lead {
    margin-bottom: 1em;
}
.checkout-receipt .col12 .btn {
    margin-top: 1em; 
    margin-bottom: 5em;
}
.page-checkout .checkout-receipt .checkout-order-summary .prod .lead {
    margin-bottom: 1em;
}
.checkout-receipt .col12 .btn {
    margin-top: 3em; 
    margin-bottom: 5em;
}

@media screen and (max-width: 768px) {
    .checkout-receipt .col12 .osummary .mini .imag {
        width: 120px;
        padding-right: 1.25em;
    }
    .checkout-receipt .col12 .btn {
    margin-top: 1em; 
    }
}