/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* signo before 
 
.elementor-332 .elementor-element.elementor-element-79d45a8.elementor-wc-products ul.products li.product span.onsale::before {
    content: '-';
    
}*/
.ui-widget-overlay.ui-front{
    display:none;
}

.woocommerce form .form-row .select2-container {
    width: 100% !important;
    line-height: 2em;
}


/* lista de precios */ 

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}


/*#billing_city_field{
    display:none !important;
}*/

.input-text.validar{
    outline: red auto 1px!important;
    outline-color: red;
    outline-style: auto;
    outline-width: 1px;
}


/* lista de precios */ 

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}


  /* Breadcrumb */

  .woocommerce .woocommerce-breadcrumb {
    color: #000000;
    font-family: "DM Sans", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding-top: 35px;
}

/* precio */
p.price {
    color: #171412!important;
    font-family: "DM Sans", Sans-serif;
    font-size: 25px!important;
    font-weight: bold;
    text-decoration: none;
}

/* separacion titulo */

span.woocommerce-Price-amount bdi {
    margin-right: 10px;
}

/* cantidad, add cart, total */

form.cart {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 10px;
}

div#subtotal {
    display: flex;
    order: 1;
}

.woocommerce div.product form.cart div.quantity {
    float: left;
    margin: 0px 5px 0 0;
    order: 2;
}


.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    order: 3;
    font-family: "DM Sans", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px 50px 50px 50px;
    padding: 10px 30px 10px 30px;
    color: var(--e-global-color-b0d0f91 );
    background-color: var(--e-global-color-secondary );
    border-color: var(--e-global-color-b0d0f91 );
    transition: all 0.2s;
}

/*cantidad */

.woocommerce .quantity .qty {
    width: 70px;
    text-align: center;
    padding: 4px 0px;
    margin: 0 5px;
}

p.woocommerce-store-notice.demo_store {
    background: #414244;
    font-family: 'DM Sans';
    font-weight: 300;
}




/*
    CHECKOUT QRUBBER
*/


.checkout-qrubber{
    font-family: "DM Sans", Sans-serif;
    font-size:0;
    max-width: 1140px;
    margin:40px auto;
    vertical-align:top;
}

form.checkout.woocommerce-checkout h3 {
    font-family: "DM Sans", Sans-serif;
    font-size: 36px;
    font-weight: 700;
}   

.checkout-qrubber .checkout-form{
    background:#fff;
    border:1px solid #f1f1f1;
    display:inline-block;
    font-size:16px;
    margin-right:2%;
    padding:30px 1%;
    width:53%;
    vertical-align:top;
}
.checkout-qrubber .checkout-resume{
    background:#fff;
    border:1px solid #f1f1f1;
    display:inline-block;
    font-size:16px;
    padding:30px 1%;
    width:44%;
    vertical-align:top;
}

abbr[title] {
    text-decoration: none!important;
    color:red; 
    
}


/*ul#shipping_method {
    list-style: none;
    display: flex;
    flex-flow: column;
    padding: 0;
}

ul#shipping_method li {
    display: flex;
    gap: 10px;
    margin: 5px auto;
}*/
.form-sec-1 {
    display: flex;
    flex-wrap: wrap;
    gap:10px;
}

#sec-tel-checkout {
    display: flex;
    flex-wrap: wrap;
    gap:10px
}

p#billing_first_name_field, p#billing_last_name_field{
  width:49%;
}
p#billing_rut_field, p#billing_company_field{
    width:49%;
}
p#billing_email_field, p#billing_phone_field {
    width:49%;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none!important;
    margin: 10px auto;
}

button#place_order {
    width: 100%;
    border-radius: 50px;
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.btn-cotizacion {
    background: var(--ywraq_checkout_button_bg_color);
    color: var(--ywraq_checkout_button_color);
    border: 1px solid var(--ywraq_checkout_button_color);
    width: 100%;
    /* margin: 10px 1px!important; */
    font-family: 'DM Sans';
}

.btn-pedido:hover, .btn-cotizacion:hover {
    color: #fff!important;
    /*background-color: transparent;*/
    background-image: linear-gradient(301deg, #530F7A 1%, #f2295b 100%);
}

.btn-pedido {
    
    background-color: #EF8131;
    color: #ffffff;
    border: 1px solid var(--ywraq_checkout_button_color);
    width: 100%;
    /* margin: 10px 1px!important; */
    font-family: 'DM Sans';
}

    .select2-container--default .select2-selection--single{
   
    color: var(--forms-fields-normal-color,#69727d);
    background-color: #f9fafa;
    border-radius: var(--forms-fields-border-radius,0);
    font-size: 14px;
    border: none;
    font-weight: 400; 
        
    }
    
span#billing_rut-description:before {
    left: 50%;
    top: 0;
    margin-top: -4px;
    transform: translateX(-50%) rotate(180deg);
    content: "";
    position: absolute;
    border-width: 4px 6px 0 6px;
    border-style: solid;
    border-color: #1e85be transparent transparent transparent;
    z-index: 100;
    display: block;
}

span#billing_rut-description {
    color: #fff;
    border-radius: 3px;
    padding: 8px;
    margin: 0.5em 0 0;
    clear: both;
    position: relative;
    background: #ff2424;
    font-family: 'DM Sans';
    font-size: 14px;
    top: 5px;
}

table.shop_table.woocommerce-checkout-review-order-table thead {
  background: #f7f7f7!important;
  text-align: center;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
  background-color: transparent!important;

}

table.shop_table.woocommerce-checkout-review-order-table table td, table th 
{
  vertical-align: middle;
  border: none;
  text-align: left;
}

@media only screen and (max-width: 766px) {

p#billing_first_name_field, p#billing_last_name_field{
  width:48%;
}
p#billing_rut_field, p#billing_company_field{
    width:48%;
}
p#billing_email_field, p#billing_phone_field {
    width:48%;
}

.checkout-qrubber {
    margin: 10px;
}

.checkout-qrubber .checkout-form {
  display: flex;
  flex-flow: column;
  width: 98%;
  padding: 10px 2%;
}

.checkout-qrubber .checkout-resume {
  display: flex;
  flex-flow: column;
  width: 99%;
  padding: 10px 0px;
 }
 

form.checkout.woocommerce-checkout h3 {
    font-size: 28px;
    text-align: center;
}

div#payment {
    margin: 0px 5px;
}

p.form-row.validate-required {
    margin: 5px 0px;
}
li.wc_payment_method.payment_method_transbank_webpay_plus_rest {
    display: flex;
}

p#billing_rut_field, p#billing_company_field{
    width:98%;
}
p#billing_email_field, p#billing_phone_field {
    width:98%;
}
}





p#shipping_first_name_field {
    width: 49%;
}
p#shipping_last_name_field {
    width: 49%;
}
a.open-popup-orden {
    background: #ef8131;
    color: white;
    padding: 2px 10px;
}

#billing_city option.comuna-option{
    display:none;
}

/*
ul#shipping_method {
    list-style: none;
    display: flex;
    flex-flow: column;
    padding: 0;
}

ul#shipping_method li {
    display: flex;
    gap: 10px;
    margin: 5px auto;
}
*/

input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
    color: var(--forms-fields-normal-color,#69727d);
    background-color: #f9fafa;
    border-radius: var(--forms-fields-border-radius,0);
    padding: var(--forms-fields-padding,8px);
    font-size: 14px;
    border: none;
    font-weight: 400;
    }
    
    table td, table th {
    border: none;
}

table thead:first-child tr:first-child th {
    border-block-start: 0px solid hsla(0,0%,50.2%,.5019607843);
}

tr.cart_item {
    border-bottom: 1px solid #69727d26;
}

.woocommerce form .form-row label {
    margin-bottom: 13px!important;
}

.popup-orden,
.popup-cotiza,
.popup-cargando{
    background:rgba(255,255,255,1);
    display:none;
    height:100%;
    left:0;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:999;
}

.popup-orden-content,
.popup-cotiza-content{
    background:#fff;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 60px 0 rgba(0,0,0,0.5);
    box-shadow: 0 0 60px 0 rgba(0,0,0,0.5);
    margin:20% auto 0 auto;
    padding:30px;
    position:relative;
    text-align:center;
    display: flex;
    flex-direction: column;
    width: 480px;
    font-family: 'DM Sans';
}


.popup-orden-content h3 {
    font-weight: bold;
}

.popup-cotiza-content{
    margin:2% auto 0 auto;
    height: 96%;
    overflow-y: scroll;
    vertical-align: top;
    width: 1000px;
}
.popup-cotiza-content .wc-backward{
    display:none !important;
}
.popup-cotiza-content .woocommerce table.shop_table th {
    padding: 5px 30px !important;
    line-height: 1.5em !important;
}
.popup-cotiza-content .yith-ywraq-mail-form-wrapper{
    padding-top:0;
}

.popup-cotiza-content .woocommerce img, .popup-cotiza-content .woocommerce-page img{
    max-width:70px;
}

.wc-proceed-to-checkout #ywraq_cart_quote{
    display:none !important;
}


.popup-cotiza-content form{
    text-align:left;
}
.popup-cotiza-content p{
    margin:0 1%;
    width:47%;
    display:inline-block;
    vertical-align: top;
}

.close-popup-orden,
.close-popup-cotiza{
    position:absolute;
    right:15px;
    top:15px;
}
.popup-orden-content-preload{
    display:none;
}

.popup-cargando-content{
    margin: 0;
    text-align: center;
    top: 45%;
    position: absolute;
    width: 100%;
}


a#ywraq_cart_quote_qr {
    display: inline-block;
    width: 100%;
    border-radius: 50px;
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 8px;
    transition: all .3s;
}    

.qrubber-importante{
    padding:20px;
    background:#f2f2f2;
    font-size:11px;
}
.otra_direccion{
    padding:30px;
}
#container-otra_direccion{
    /*display:none;*/
}

.woocommerce del .woocommerce-Price-amount bdi {
  text-decoration: line-through;
  display: inline-block;
  vertical-align: middle;
}


@media only screen and (max-width: 766px) {
    
    p#shipping_first_name_field {
        width: 48%;
    }
    p#shipping_last_name_field {
        width: 48%;
    }
    
    .popup-cotiza-content{
        width: 98%;
    }

}
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover{
	
}