@import "fonts.css";
@import "theme.css";

/* CHECKOUT */

body#checkout #wrapper {
    padding-top: 157px;
    background: linear-gradient(180deg, #F8F7F6 0%, #FFF 100%);
}
body#checkout section.card {
    background: transparent !important;
}

body#checkout label.label-control {
    font-weight: 500;
}

body#checkout .nav-tabs a.nav-link {
    border-radius: 10px 10px 0 0;
}
body#checkout .nav-tabs a.nav-link.active {
    color: var(--main-color) !important;
}
body#checkout .custom-checkbox span {
    margin-top: -.1rem !important;
}

body#checkout .form-group {
    display: inline-block;
    width: 100%;
}
body#checkout .form-group:has(input[name="wk_delivery_last_name"]),
body#checkout .form-group:has(input[name="wk_delivery_address_city"]),
body#checkout .form-group:has(select[name="wk_delivery_address_country"]),
body#checkout .form-group:has(input[name="wk_invoice_last_name"]),
body#checkout .form-group:has(input[name="wk_invoice_address_city"]),
body#checkout .form-group:has(select[name="wk_invoice_address_country"]){
    padding-left: 1rem;
}

body#checkout .form-group:has(input[name="wk_delivery_address_zip"]),
body#checkout .form-group:has(input[name="wk_invoice_address_zip"]),
body#checkout .form-group:has(input[name="wk_delivery_address_city"]),
body#checkout .form-group:has(input[name="wk_invoice_address_city"]) {
    width: 25%;
    float: left;
}

body#checkout .form-group:has(input[name="wk_delivery_address_phone"]),
body#checkout .form-group:has(input[name="wk_delivery_address_mobile_phone"]),
body#checkout .form-group:has(input[name="wk_invoice_address_phone"]),
body#checkout .form-group:has(input[name="wk_invoice_address_mobile_phone"]),
body#checkout .form-group:has(input[name="wk_delivery_first_name"]),
body#checkout .form-group:has(input[name="wk_delivery_last_name"]),
body#checkout .form-group:has(select[name="wk_delivery_address_country"]),
body#checkout .form-group:has(input[name="wk_invoice_first_name"]),
body#checkout .form-group:has(input[name="wk_invoice_last_name"]),
body#checkout .form-group:has(select[name="wk_invoice_address_country"]) {
    width: 50%;
    float: left;
}

body#checkout .form-group:has(input[name="wk_delivery_address_mobile_phone"]),
body#checkout .form-group:has(input[name="wk_invoice_address_mobile_phone"]) {
    padding-left: 1rem;
}

body#checkout .form-group {
    position: relative;
}


body#checkout .wk-login-container.clearfix, 
body#checkout div#wk_payment_section .wk-heading-img,
body#checkout div#wk_shipping_section .wk-heading-img {
    background: var(--main-color);
    padding: 1rem;
    color: white;
    border-radius: 20px;
}

body#checkout .wk-heading-img h4 {
    margin-bottom: 0;
}

body#checkout .wk-heading-img {
    border-bottom: 1px solid #FFFFFF99;
    padding-bottom: 1rem;
}

body#checkout article.box.wkrelativeposition {
    background: white;
    border-radius: 20px;
    padding-bottom: 0.5rem;
}

body#checkout .tab-pane.fade.active.in {
    background: white;
    padding: 1rem;
    border-radius: 0 10px 10px 10px;
    border: 1px solid #DDDDDD;
}

body#checkout .nav-tabs {
    border-bottom: 0px solid #DDDDDD;
}

article.wk-box.box, div#wk_payment_section, body#checkout div#wk_shipping_section {
    background: white;
    border-radius: 20px;
}

body#checkout #wk-order-summary-ajax .wk-heading-img {
    background: var(--main-color);
    border-radius: 20px;
    padding: 1rem;
    color: white;
}

body#checkout .wk-login-container.clearfix .wk-heading-img {
    padding: 0rem 1rem 1rem 0;
}
body#checkout .wk-login-container a {
    color: #ffffff !important;
    font-weight: 500;
}

body#checkout .wk-form-group {
    padding: 0 1rem;
}

body#checkout .wk-address-block{
    margin: 1rem;
}

div#wk_payment_section {
    background: white;
    border-left: 1px solid white;
}

body#checkout div#wk_shipping_section,
body#checkout div#wk_payment_section {
    padding: 0;
}

body#checkout div#wk_shipping_section .wk-heading-img {
    border-radius: 15px 0 0 15px !important;
}

body#checkout div#wk_payment_section .wk-heading-img {
    border-radius: 0 15px 15px 0 !important;
}

body#checkout div#wk_shipping_section {
    border-radius: 15px 0 0 15px;
}

body#checkout div#wk_payment_section {
    border-radius: 0 15px 15px 0;
}

body#checkout .wkcustomizerbtn {
    font-size: 1rem !important;
}

.wk-box.total-highlight {
    background-color: transparent !important;
}

body#checkout .wk-sprit {
    height: 35px !important;
    width: 35px !important;
}

body#checkout .wk-guest-checkout {
    font-weight: bold;
}

body#checkout button.btn.btn-outline-light.wkbtn-login {
    border: 2px solid #ffffff;
    background: transparent !important;
    color: #ffffff;
}
body#checkout button.btn.btn-outline-light.wkbtn-login:hover {
    background: #ffffff !important;
    color: var(--main-color);
}

body#checkout .bootstrap-touchspin {
    box-shadow: none;
}

body#checkout .product-line-info span {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

body#checkout .wk-order-product .product-price {
    line-height: 1;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--main-text-color);
}

body#checkout div#resumen {
    display: flex;
    flex-wrap: wrap;
}

.modal-content {
    border: 0 !important;
    border-radius: 15px !important;
}
.modal-header .material-icons,
.modal-body .input-group-addon {
    display: none;
}

body#checkout .js-additional-information p {
    font-size: 13px;
}

body#checkout .remove-from-cart {
    color: #d40000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 8px;
    width: 35px;
}
body#checkout .wk-delete-qty i {
    color: #d40000 !important;
}

body#checkout .wk-product-link {
    display: none;
}

body#checkout span.product-price {
    font-weight: bold;
}

body#checkout li.wk-order-product {
    display: flex;
    align-items: center;    
    background: transparent;
    margin-bottom: 0;
    padding: 15px 0;
    border-bottom: 1px solid #F8F6F7;
}
body#checkout li.wk-order-product:first-child {
    display: none !important;
}

body#checkout .wk-product-detail.wk-left.js-product-miniature {
    display: flex;
}

body#checkout .line-price-qty .qty #quantity_wanted_cart, body#checkout .line-price-qty .qty input.wk-qty.form-control {
    width: 100% !important;
}

body#checkout  .line-price-qty {
    margin-top: 0 !important;
}

body#checkout .clearfix {
    border-radius: 15px !important;
}

body#checkout .mt-lg-2 {
    margin-top: 1rem;
}

body#checkout div#wk-existing-invoice {
    border-radius: 0 10px 10px 10px !important;
}

body#checkout div.wk-shipping-list div.row,
body#checkout div.wk-payment-select > div,
body#checkout div.wk-payment-select div.row {
    display: flex;
    align-items: center;
}
body#checkout div.wk-payment-select p {
    margin: 0;
}

body#checkout .wk-check-icon, body#checkout .wk-error-icon {
    display: none;
}

.custom-radio input[type="radio"]:checked + span {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%);
}

@media screen and (max-width:1024px) {
    body#checkout div#resumen {
        margin-top: 1rem;
    }

    body#checkout .form-group {
        width: 100% !important;
        padding-left: 0 !important;
        display: inline-block !important;
    }
}

@media only screen and (max-width: 767px) {
    body#checkout div#wk_payment_section .wk-heading-img, body#checkout div#wk_shipping_section .wk-heading-img {
        border-radius: 15px !important;
    }
    
    #wk-one-page-checkout {
        padding: 0 !important;
        background: transparent !important;
    }

    body#checkout li.wk-order-product {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    body#checkout li.wk-order-product * {
        box-sizing: border-box;
    }

    body#checkout .gap-md-2 {
        display: flex;
        flex-direction: column;
        gap: 1rem !important;
    }

    div#wk_payment_section {
        border-left: 0;
    }

    /*body#checkout li.wk-order-product {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }*/

    body#checkout .wk-order-total .row > .row > div:first-child {
        margin-bottom: 1rem;
    }

    body#checkout .product-line-grid-body {
        margin-bottom: 0;
    }
}