.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: var(--desktop-content);
    margin: var(--desktop-gap) auto;
    gap: var(--desktop-gap);
}
.checkout-container .checkout-left, 
.checkout-container .checkout-right {
    display: flex;
    flex-direction: column;
}
.checkout-container h3 {
    font-size: 1.45rem;
}
.checkout-container h2 {
    font-size: 1.65rem;
}
.checkout-right h2 {
    text-align: center;
}
.checkout-container h2.shipping,
.checkout-container h2.contact {
    margin-top: 2rem;
}
.checkout-right {
    padding: 2rem;
    box-shadow: var(--default-shadow);
    top: 6rem;
    position: sticky;
}
.checkout-left p.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    /* width: 100%; */
}
.checkout-left p.form-row  p#billing_address_2_field {
    margin-top: 0;
}
.checkout-left p.form-row  p#billing_address_2_field input {
    border-top: 0;
}
.checkout-left p.form-row label {
    font-weight: var(--font-secondary-bold-weight);
    color: var(--text);
}
#checkout-form label {
    font-size: var(--font-secondary-regular-size-desktop);
    font-family: var(--font-secondary-regular-family);
    /* font-weight: var(--font-primary-semibold-weight); */
    color: var(--text);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#checkout-form .form-row input, 
#checkout-form .form-row textarea,
#checkout-form .form-row select {
    border: 1px solid #ccc;
    padding: 1em;
    max-width: 100%;
    width: 100%;
    font-size: 1rem;
}
#checkout-form input::placeholder, 
#checkout-form select::placeholder,
#checkout-form textarea::placeholder {
    font-size: 0.85rem;
    color: var(--accent-gray);
    text-transform: lowercase;
}
#checkout-form {
    display: flex;
    flex-direction: column;
}
#checkout-form input:focus, 
#checkout-form textarea:focus,
#checkout-form input:active, 
#checkout-form textarea:active {
    border: 1px solid var(--main-accent);
    outline: none; 
}
#checkout-form label.checkbox {
    display: flex;
    justify-content: center;
    position: relative;
    font-weight: var(--font-secondary-bold-weight);
    margin: 1rem 0;
}
#checkout-form  input#shipping_toggle {
    margin-left: 1rem;
    order: 1;
    cursor: pointer;
    width: 1rem;
}
#checkout-form .shipping-fields-box label {
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
    gap: 8px;
    font-weight: var(--font-secondary-bold-weight);
    align-items: center;
    justify-content: center;
    transition: .4s;
    cursor: pointer;
}
#checkout-form button#place_order {
    color: var(--tlo-background);
    border-radius: var(--default-radius);
    text-transform: uppercase;
    padding: 1rem 2rem;
    width: fit-content;
    margin: auto;
    min-width: 100%;
    text-align: center;
    text-align: center;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
    background-color: var(--main-accent);
    cursor: pointer;
    border: none!important;
    margin-top: -1rem;
}
#checkout-form button#place_order:hover {
    transform: scale(1.1);
}
#checkout-form label span.required {
    color: var(--accent-red);
    font-weight: var(--font-secondary-bold-weight);
    margin-left: 3px;
}
#checkout-form .order-product-item {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    gap: 1rem;
    padding: 8px;
}
#checkout-form .order-product-item a {
    font-size: 1rem;
}
#checkout-form .box.order-total p.vat-info,
#checkout-form .box.order-total p.vat-info span,
#checkout-form .box.order-total p.vat-info span bdi {
    font-size: 0.85rem;
}
#checkout-form .box.order-total .order-total-amount {
    display: flex;
    gap: 8px;
    align-items: center;
}
#checkout-form .product-name,
#checkout-form .header-product {
    flex: 1;
}
#checkout-form .product-name a:hover {
    color: var(--main-accent);
}
#checkout-form .product-thumbnail {
    max-width: 38px;
}
#checkout-form .checkout-right .box {
    margin: 1rem 0;
}
#checkout-form .checkout-right .box.order-shipping span.shipping-price, 
#checkout-form .checkout-right .woocommerce-Price-amount.amount.exchanged {
    font-weight: var(--font-secondary-bold-weight);
}
#checkout-form .order-items-header {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    font-size: 1rem;
    gap: 1rem;
    color: #000;
    border: 1px solid #ccc;
}
#checkout-form .order-product-item span, 
#checkout-form .order-product-item bdi {
    font-size: 1rem;
    font-weight: var(--font-secondary-bold-weight);
}
#checkout-form .box.order-total {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-weight: var(--font-secondary-bold-weight);
    margin-top: 3rem;
    margin-bottom: 0;
    align-items: center;
}
#checkout-form .box.order-total p,
#checkout-form .box.order-total span {
    font-size: 1.45rem;
    font-weight: var(--font-secondary-bold-weight);
}
#checkout-form .box.order-total .price-value {
    display: flex;
    align-items: center;
    gap: 8px;
}
#checkout-form .box.order-payment {
    /* margin-top: 2rem; */
}
#checkout-form .box.order-payment h3 {
    margin: 2rem 0 1rem 0;
}
div#payment {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
ul.wc_payment_methods.payment_methods.methods li {
    display: flex;
    align-items: center;
    gap: 1rem;
}
ul.wc_payment_methods.payment_methods.methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.woocommerce-privacy-policy-text {
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--text);
    background: var(--tlo-background);
}
.woocommerce-privacy-policy-text p a {
    font-weight: var(--font-secondary-bold-weight);
}
.woocommerce-privacy-policy-text p a:hover {
    color: var(--main-accent);
}
input#terms {
    width: 1rem!important;
    display: block;
}
#checkout-form .woocommerce-terms-and-conditions-wrapper label.checkbox {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0rem 0!important;
    gap: 1rem;
}
#checkout-form span.optional {
    font-size: 0.85rem;
}
#checkout-form span.woocommerce-terms-and-conditions-checkbox-text a {
    font-weight: var(--font-secondary-bold-weight);
}
#checkout-form span.woocommerce-terms-and-conditions-checkbox-text a:hover {
    color: var(--main-accent);
}
#checkout-form .box.order-payment p.form-row.validate-required span.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 1rem;
}
#checkout-form .box.order-payment p.form-row.validate-required {
    margin: 2rem 0 3rem;
}
#checkout-form .shipping-fields-box label:hover {
    color: var(--main-accent);
}
#checkout-form .shipping-option bdi,.shipping-option bdi span {
    font-weight: var(--font-secondary-bold-weight);
}

#checkout-form .checkout-right #ajax-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 998;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
}
#checkout-form .product-quantity{
    font-size: 0.85rem;
}
#checkout-form .product-quantity,
#checkout-form .header-quantity, 
#checkout-form .product-price,
#checkout-form .header-price {
    flex: 0.25;
    text-align: right;
}
form#checkout-form .col-wrapper {
    position: relative;
}
#checkout-form .checkout-right #ajax-spinner svg#loader {
    display: block!important;
    z-index: 999;
    position: relative;
}
#checkout-form .checkout-right #ajax-spinner span.spinner {
    width: 3rem;
    height: 3rem;
}
#checkout-form .product-name {
    display: flex;
    gap: 8px;
    align-items: center;
}
#checkout-form .checkout-right .product-price {
    display: block;
}

@media all and (max-width: 1366px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: var(--tablet-gap);
    }
}
@media all and (max-width: 1024px) {
    .checkout-container {
        width: var(--desktop-shop-content);
        margin: var(--tablet-gap) auto;
    }
}

.woocommerce-checkout-review-order-table{
    padding:1rem;
}