﻿.error-message{
    color: red;
}

.checkout {
    max-width: 750px;
    margin: auto;
    padding: 10px;
    background-color: #fff;
    position: relative;
}
.checkout .empty-cart {
    text-align: center;
    padding: 150px 0;
}
.checkout .empty-cart .button{
    margin: 20px 0;
    display: inline-block;
    background-color: #2980b9;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 5px;
}
.checkout .account-links{
    position: absolute;
    top: 10px;
    right: 10px;
}
.checkout .account-links a{
    color: #003756;
    text-decoration: none;
    font-weight: 700;
}

.checkout .products{
    margin: 10px 0 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.checkout .products .product{
    position: relative;
    border-bottom: 1px solid #efefef;
    clear: both;
    min-height: 120px;
}
.checkout .products .product:last-child{
    border-bottom: none;
}
.checkout .products .image{
    position: absolute;
    top: 0;
    left: 20px;
    bottom: 0;
    width: 120px;
    overflow: hidden;
    text-align: center;
    margin: 10px;
}
.checkout .products .product-img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    max-width: 110%;
    max-height: 110%;
    display: block;
}
.checkout .products .product-info{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(90px, max-content);
    align-items: start;
    gap: 10px;
    margin-left: 160px;
    padding: 10px;
}
.checkout .products .product-details{
    min-width: 0;
    overflow-wrap: anywhere;
}
.checkout .products .name{
    font-size: 20px;
    margin: 0;
}
.checkout .products .name a{
    text-decoration: none;
}
.checkout .products .description{
    text-transform:capitalize;
}
.checkout .products .quantity-editor{
    width: 84px;
}
.checkout .products .quantity{
    position: relative;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #fff;
}
.checkout .products .quantity-input {
    box-sizing: border-box;
    display: block;
    width: calc(100% - 26px);
    height: 100%;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    font-size: 18px;
    appearance: textfield;
}
.checkout .products .quantity-input::-webkit-inner-spin-button,
.checkout .products .quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.checkout .products .quantity-save {
    width: 100%;
    margin-top: 4px;
    padding: 3px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: inherit;
    cursor: pointer;
}
.checkout .products .button-change-quantity{
    display:block;
    box-sizing: border-box;
    width: 26px;
    height: 50%;
    text-align: center;
    position:absolute;
    right: 0;
    font-size: 14px;
    text-decoration: none;
    
}

.checkout .products .button-change-quantity.increase {
    top:0;
    border-left: 1px solid #ddd;
}

.checkout .products .button-change-quantity.decrease {
    bottom: 0;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.checkout .product .price{
    overflow-wrap: anywhere;
    font-size: 16px;
    text-align: right;
}
.checkout .product .current-price {
    font-weight: 700;
    font-size: 20px;
}
.checkout .product .non-discount-price {
    display: none;
    font-size: 14px;
    margin-top: -5px;
    text-decoration: line-through;
}

.checkout .product .campaign .current-price {
    color: #166534;
}
.checkout .product .campaign .non-discount-price {
    display: block;
}

.checkout .product .remove-button{
    position: absolute;
    top: 50px;
    left: 10px;
    width: 18px;
    height: 18px;
    display: block;
}
.checkout .product .remove-button img{
    width: 100%;
    height: 100%;
}
.products .cart-summary{
    padding: 10px 0 0;
}
.products .cart-summary .summary-row{
    clear: both;
    padding:5px 10px;
    margin: 0;
    font-size: 16px;
}
.products .cart-summary .summary-row .label{
    display: inline-block;
    width: 590px;
    max-width: 80%;
    text-align: right;
}
.products .cart-summary .summary-row .value{
    float: right;
}
.products .cart-summary .shipping-summary {
    text-align: right;
    color: #526174;
}
.products .cart-summary .summary-row.total{
    background-color: var(--c-accent);
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    padding: 20px 10px;
}
.checkout .voucher-field{
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 9px 5px;
    border: 1px solid #bbb;
}
.checkout-voucher-error {
    background-color: #ffdede;
    color: #bb0000;
    border-radius: 10px;
    font-size: 14px;
    padding: 10px 15px;
    margin: 10px 0;
}
.checkout-voucher-error p{
    margin: 0;
}
.checkout .newsletter-checkbox{
    display: block;
    margin-top: 10px;
}
.checkout .newsletter-checkbox input[type="checkbox"]{
    margin-left: 0;
    margin-right: 5px;
}
.checkout .shipment {
    margin: 0 0 24px;
}
.checkout .shipping-information {
    margin: 0 0 16px;
    color: #526174;
    font-size: 14px;
    line-height: 1.5;
}
.checkout .shipping-options{
    margin: 0;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}
.checkout .shipping-options li{
    position: relative;
    margin: 0;
    padding: 0;
}
.checkout .shipping-options input[type="radio"] {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--c-brand, #004f95);
    cursor: pointer;
}
.checkout .shipping-options label{
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 16px 16px 16px 48px;
    border: 1px solid #d8dfe6;
    border-radius: 8px;
    background-color: #fff;
    line-height: 1.5;
    overflow-wrap: break-word;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.checkout .shipping-options label:hover {
    border-color: var(--c-brand, #004f95);
    background-color: #f7f9fc;
}
.checkout .shipping-options input[type="radio"]:checked + label {
    border-color: var(--c-brand, #004f95);
    background-color: #eef5fb;
    box-shadow: inset 0 0 0 1px var(--c-brand, #004f95);
}
.checkout .shipping-options input[type="radio"]:focus-visible + label {
    outline: 2px solid var(--c-brand, #004f95);
    outline-offset: 3px;
}

.input-fields {
    overflow: hidden;
}
.input-fields .input-field {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px 0 5px;
    margin: 10px 0;
}
.input-fields .input-field .error{
    font-size:smaller;
}
.input-fields.col-2 .input-field {
    float: left;
    width: 50%;
}

.input-fields.col-2 .input-field.full-width {
    clear: both;
    float: none;
    width: 100%;
}

    .input-fields .input-field input[type=text],
    .input-fields .input-field input[type=tel],
    .input-fields .input-field textarea,
     .input-fields .input-field select {
        width: 100%;
        padding: 12px;
        margin: 5px 0 0;
        display: inline-block;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    .input-fields .input-field textarea {
        font-family: Arial, sans-serif;
        font-size: 16px;
    }
   
.input-fields .input-field select {
    background-image: url('/gfx/arrow-down-16-black.png');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center right 8px;
}
.input-fields .input-field input[type=text].error,
.input-fields .input-field input[type=tel].error {
    background-color: #ffdede;
}

.input-fields .input-field input[type=submit] {
    width: 100%;
    background-color: var(--c-brand);
    color: white;
    font-weight: 700;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 18px;
}
.input-fields .input-field input[type=submit]:hover {
    background-color: var(--c-brand);
}
.input-field.terms-message p{
    padding-top: 40px;
    font-size: 14px;
    margin: 0;
}

.checkout-error {
    background-color: #ffdede;
    color: #bb0000;
    border-radius: 10px;
    font-size: 14px;
    padding: 10px 15px;
}

.checkout-error p{
    margin: 0;
}

.checkout-payment-option{
    visibility: visible;
    overflow: visible;
    position:static;
    height: auto;
}
.checkout-payment-option.hidden{
    visibility: hidden;
    overflow: hidden;
    height: 0;
    position:absolute;
    top: 0;
    z-index: -1;
}

.checkout-voucherbutton{
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 20px;
    text-align: center;
    border-radius: 4px;
    border: none;
    background-color: #dc1935;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
}
.checkout-paymentoptions{
    margin: 10px 0 20px;
}
.checkout-select-paymentoption  {
    display: block;
    overflow: hidden;
}
.checkout-select-paymentoption input,
.checkout-select-paymentoption br{
    display: none;
}
.checkout-select-paymentoption label{
    display: block;
    color:#fff;
    font-weight: 700;
    background-color: #2980b9;
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
}
.checkout-select-paymentoption input:checked + label{
    background-color: #013c63;
}

.invoice-checkout-shippingadress-panel{
    overflow: hidden;
    display: none;
}

.shipping-expanded .invoice-checkout-shippingadress-panel{
    display:block;
}

.addressContainer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

    .addressContainer .addressDiv {
        margin: 0 30px 0 0;
        width: 50%;
    }

        .addressContainer .addressDiv p {
            margin: 0 0 10px 0;
            font-size: 16px;
        }

            .addressContainer .addressDiv p a {
                color: #0033A1;
            }

    .addressContainer .checkoutFields p {
        margin: 0;
        font-size: 14px;
    }

        .addressContainer .checkoutFields p span {
            color: red;
        }

    .addressContainer .checkoutFields input, .addressContainer .checkoutFields select { margin: 0 0 10px 0; display: block; width: 100%; }

.button-buy {
    display: block;
    background: #24ba00;
    color: #fff;
    width: 100%;
    border: none;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    padding: 25px;
    -webkit-appearance: none;
}

    .button-buy:hover {
        background: #28cc00;
    }



@media only screen and (max-width: 750px) {
    .checkout .products .image {
        left: 0;
        width: 100px;
        height: 100px;
    }
    .checkout .products .product-info {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: end;
        margin-left: 110px;
    }
    .checkout .products .product-details {
        grid-column: 1 / -1;
        padding-right: 20px;
    }
    .checkout .products .name {
        font-size: 14px;
    }
    .checkout .product .remove-button {
        top: 10px;
        left: auto;
        right: 10px;
    }

    .products .cart-summary .summary-row .label {
        width: auto;
    }
}
