
/* ------------------------------ */
/* PAGINA "MI CUENTA" */
/* ------------------------------ */

/* OCULTAR CAMPOS DEL FORMULARIO "edit-address" DE FACTURACION */
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field
{
    display: none !important;
}
/* VISUALIZAR EL CONTENIDO DE INPUT TEXT DEL EMAIL */
.woocommerce form .form-row .input-text#billing_email, .woocommerce-page form .form-row .input-text#billing_email {
    font-size: 15px !important;
}
/* COLOR DEL TEXTO DE LOS ELEMENTOS DEL COMBOBOX */
.familab_theme .select2-container--default .select2-selection--single > .select2-selection__rendered {
    color: #444 !important;
}
/* MARGEN INFERIOR DE CADA ELEMENTO DEL FORM */
.woocommerce form .form-row, .woocommerce-page form .form-row {    
    margin-bottom: 23px !important;
}
/* TITULO */
.tpl-titulo-h3 {
    font-family: Poppins !important;
    font-weight: 500 !important;
    font-size: 1.75rem !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    margin-bottom: 1.8rem !important;
    color: #000000 !important;
}
/* OCULTAR EL TITULO DE LA PAGINA "edit-address" DE FACTURACION */
.woocommerce-MyAccount-content form h3:nth-of-type(1){
    display: none !important;
}

/* CHECK: ¿DESEA FACTURA? */
#billing_tpl_factura_field {
    margin-bottom: 40px !important;
    margin-top: 50px !important;
}

/* ANCHO DEL CONTENEDOR */
@media (min-width: 1700px){   
    #content > .container
    {
        max-width: 1200px !important;
    }
}

/* FUENTE: https://stackoverflow.com/questions/50510807/change-optional-label-in-woocommerce-checkout */
/* BORRAR PALABRA "optional" */

span.optional {
     font-size: 0 !important;
     /* font-size: 13px !important; */
}

span.optional:after {
    /* content: 'YOUR TEXT'; */
    content: '';
    font-size: 13px;
}

/* COLOR DE LOS LABELS DE LOS CAMPOS */
.woocommerce form .form-row label, .woocommerce-page form .form-row label {
    color: #868686 !important;
}

/* BORRAR EL ASTERISCO QUE INDICA UN "CAMPO REQUERIDO" */
abbr.required {
    font-size: 0 !important;
}
abbr.required:after {
    /* content: 'YOUR TEXT'; */
    content: '';
    font-size: 13px;
}

/* ------------------------------------ */
/* BEG: PLACEHOLDER DE LOS INPUT */
/* ------------------------------------ */
/* FUENTE: https://stackoverflow.com/questions/2610497/change-a-html5-inputs-placeholder-color-with-css */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #ababab; /*   #909; */
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #ababab; /*   #909; */
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #ababab; /*   #909; */
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #ababab; /*   #909; */
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #ababab; /*   #909; */
}

::placeholder { /* Most modern browsers support this now. */
   color:    #ababab; /*   #909; */
}
/* ------------------------------------ */
/* END: PLACEHOLDER DE LOS INPUT */
/* ------------------------------------ */


/* --------------------------------------------- */
/* BEG: RADIO BUTTONS DE LA "FORMA DE ENTREGA" */
/* -------------------------------------------- */

/*
    - FUENTE:https://codepen.io/mblode/pen/VwGxaO
    - FUENTE: https://www.sliderrevolution.com/resources/styling-radio-buttons/
*/

#shipping_tpl_forma_entrega_field label.radio {
    position: relative;
    display: inline-block;
    padding: 1em 2em;
    margin: 0.5em;
    cursor: pointer;
    color: #292929 !important;
    border-radius: 0.25em;
    background: #efefef;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.22);
    transition: 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
#shipping_tpl_forma_entrega_field label.radio {
    font-size: 1em;
    font-family: "Lato", sans-serif;
  }
  #shipping_tpl_forma_entrega_field label.radio:hover {
    background: #d6d6d6;
    color: #101010 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.32);
  }
  #shipping_tpl_forma_entrega_field label.radio:active {
    transform: translateY(2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0px -1px 0 rgba(0, 0, 0, 0.22);
  }
  @media (max-width: 40em) {
    #shipping_tpl_forma_entrega_field label.radio {
      /* padding: 0em 1em 3px; */
      margin: 0.25em;
    }
  }
  
  
  #shipping_tpl_forma_entrega_enviar_domicilio:checked + label.radio {
    background: #4183D7;
    color: #efefef !important;
  }
  #shipping_tpl_forma_entrega_enviar_domicilio:checked + label.radio:hover {
    background: #2c75d2;
    color: #e2e2e2 !important;
  }
  /*
  #shipping_tpl_forma_entrega_enviar_domicilio:checked + label.radio {
    background: #2ECC71;
    color: #efefef !important;
  }
  #shipping_tpl_forma_entrega_enviar_domicilio:checked + label.radio:hover {
    background: #29b765;
    color: #e2e2e2 !important;
  }
  
  #no-button:checked + #shipping_tpl_forma_entrega_field label.radio {
    background: #D91E18;
    color: #efefef !important;
  }
  #no-button:checked + #shipping_tpl_forma_entrega_field label.radio:hover {
    background: #c21b15;
    color: #e2e2e2 !important;
  }
  
  */

  #shipping_tpl_forma_entrega_recoger_tienda:checked + label.radio {
    background: #4183D7;
    color: #efefef !important;
  }
  #shipping_tpl_forma_entrega_recoger_tienda:checked + label.radio:hover {
    background: #2c75d2;
    color: #e2e2e2 !important;
  }
  
  #shipping_tpl_forma_entrega_field input[type='radio']
  {
    display: none;
  }
  

  
  /* MIO */
  /*
  #shipping_tpl_forma_entrega_field {
    margin-top: 80px !important;
  }
  
  #shipping_tpl_forma_entrega_field label:nth-of-type(3){
    top: -40px !important;
  }
  */
  
/* --------------------------------------------- */
/* END: RADIO BUTTONS DE LA "FORMA DE ENTREGA" */
/* -------------------------------------------- */
  
/* ----------------------------------------------------------------- */
/* BEG: OCULTAR POR DEFECTO LOS CAMPOS DE: ENVIAR A DOMICILIO */
/* ----------------------------------------------------------------- */
/*
#shipping_state_field,
#shipping_wooccm9_field,
#shipping_city_field,
#shipping_address_1_field,
#shipping_first_name_field
{
  display: none;
}
*/
/* ----------------------------------------------------------------- */
/* END: OCULTAR POR DEFECTO LOS CAMPOS DE: ENVIAR A DOMICILIO */
/* ----------------------------------------------------------------- */

/* 
  AL OCULTAR LA FORMA DE ENTREGA "ENVIAR A DOMICILIO", EL COMBO DE LA PROVINCIA SE REDUCE EL ANCHO
  => ES NECESARIO ESTABLECERLO AL 100%
*/
#shipping_state_field span.select2,
#billing_tpl_tip_doc_field span.select2
{
  width: 100% !important;
}

/* VARIADOS */
.ocultar{
  display: none !important;
}
.tpl-ver{
  display: inherit !important;
}
.ancho_100{
  width: 100% !important;
}

/* ICONO QUE VINCULA O ABRE LA PAGINA DE EDICION DE LA "FORMA DE ENTREGA" Y "DATOS DE FACTURACION (DATOS PERSONALES)" */
.tpl-icono-address{
  text-align: center;
}
.tpl-icono-address i{
  font-size: 30px;
  margin-right: 7px !important;
  color: #885c95 !important;  
}

/* OCULTAR LA DESCRIPCION DE LAS DIRECCIONES, ES DECIR: "FORMA DE ENTREGA" Y "DATOS DE FACTURACION (DATOS PERSONALES)" */
/* RUTA: https://4ashoponline.com.pe/mi-cuenta/edit-address/ */
.woocommerce-account .woocommerce-MyAccount-content .addresses{
  display: none !important;
}

/* OCULTAR EL CAMPO PAIS DEL "ENVIO" */
/* NO LO DESACTIVO DESDE EL PLUGIN O CODIGO, YA QUE PUEDE GENERAR CONFLICTOS */
#shipping_country_field {
  display: none !important;
}


/* --------------------------------------------------------- */
/* BEG: ESTILO PARA LA FORMA DE ENTREGA: "Recojo en Tienda"
/* --------------------------------------------------------- */


.w-recoger-tienda{  
  border: 1px solid #e4e4e4;
  padding: 20px;
  margin-bottom: 40px;
}

.rt-titulo {
  color: #000000 !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  margin-top: 0;
  margin-bottom: 1rem !important;
}
.rt-mapa {
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  /* margin-top: 0; */
  margin-bottom: 1rem !important;
}
/* --------------------------------------------------------- */
/* END: ESTILO PARA LA FORMA DE ENTREGA: "Recojo en Tienda"
/* --------------------------------------------------------- */


/* OCULTAR AL CARGAR LA PAGINA EL CONTENEDOR DE LA FORMA DE ENTREGA (EDITAR DIRECCIONES) */
/*
.woocommerce-address-fields{
  display: none;
}
*/

#shipping_tpl_provincia_field .select2,
#shipping_city_field .select2{
  width: 100% !important;
} 

/* FUENTE: https://www.codexworld.com/display-loading-image-while-page-loads-jquery-css/ */
.cargador {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url('https://4ashoponline.com.pe/wp-content/uploads/2022/09/Loading_icon_5.gif') 50% 50% no-repeat rgb(249,249,249);
  opacity: .8;
}


/* PAGINA DE REGISTRO: MOSTRAR EL LABEL DE LA CONTRASEÑA*/
.woocommerce-account form.woocommerce-form.woocommerce-form-register .form-row .password-input ~ label{
  display: block !important;
}


/* ---------------------------------------------------- */
/* BEG: POR POLITICAS DE LA EMPRESA */
/* ---------------------------------------------------- */

/* LA EMPRESA SOLO DESEA ENVIAR A DOMICILIO */
/* OCULTAR LAS DOS OPCIONES (radio button): "Enviar a Domicilio" y "Recoger en Tienda" */
/*
#shipping_tpl_forma_entrega_field{
  display: none !important;
}
*/

/* ---------------------------------------------------- */
/* END: POR POLITICAS DE LA EMPRESA */
/* ---------------------------------------------------- */

/* RADIO BUTTONS DE LAS TIENDAS */
#shipping_tpl_tienda_field label{
  position: relative;
  display: inline-block;
  padding: 0.3em;
  margin: 0.5em;
  margin-right: 40px;
  cursor: pointer;
  color: #292929 !important;
  border-radius: 0.25em;
  transition: 0.3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}