/**
 * Theme Name: Twenty Twenty-Four Child
 * Template:   twentytwentyfour
 * Text Domain: twentytwentyfour
 */
 html {
  scroll-behavior:smooth!important;
}

html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:hidden}.lenis.lenis-smooth iframe{pointer-events:none}

 select {
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23000" d="M5.516 7.548c0.436-0.446 1.043-0.481 1.576 0l2.908 2.957 2.908-2.957c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615l-3.908 3.976c-0.269 0.273-0.572 0.412-0.925 0.412s-0.657-0.138-0.925-0.412l-3.908-3.976c-0.408-0.418-0.436-1.17 0-1.615z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding: 8px 16px;
  padding-right: 30px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  outline: none;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select:hover {
}

/* Cambiar el fondo al enfocar */
.cosmos-helpdesk-wrapper select:focus {
  border-color: #33cccc;
  box-shadow: 0 0 0 0px rgba(0, 90, 63,0);
}

/* Si estás utilizando opciones para deshabilitar algunos select */
select:disabled {
  background-color: #eee; /* Color de fondo para selects deshabilitados */
  cursor: not-allowed; /* Cursor para indicar que el elemento está deshabilitado */
}

.z-1{
  z-index: -1;
}
.z0{
  z-index: 0;
}
.z1{
  position: inherit;
  z-index: 1;
}
.z2{
  z-index: 2;
}
  
.switch {
    position: relative;
    display: inline-block;
    width: 43px;
    height: 34px;
  }
  
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  width: 42px;
  background-color: #000;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

label {
  font-family: Inter, sans-serif;
}

input:checked + .slider {
  background-color: #33cccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #33cccc;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.custom-logo-link img {
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: left center; /* Ajustar según necesidad */
  will-change: width;
}

.single-product .wp-block-woocommerce-add-to-cart-form form.cart{
  justify-content: center;
}

.woocommerce-page table.shop_table {
  width: 100%;
}

.subscription-auto-renew-toggle {
  top: 0px;
}
.subscription-auto-renew-toggle__i{
  width: 38px;  

}
.subscription-auto-renew-toggle--on .subscription-auto-renew-toggle__i{
  border: 2px solid #33cccc !important;
  background-color: #33cccc !important;
}
.subscription-auto-renew-toggle--off .subscription-auto-renew-toggle__i {
  border-color: #000;
  background-color: #000;
}
.subscription-auto-renew-toggle__i::before{
  top: 2px;
  right: 2px;
}
.subscription-auto-renew-toggle--off .subscription-auto-renew-toggle__i::before {
  left: 2px;
}

.update-all-subscriptions-payment-method-wrap{
  padding: 0 0 0 13px;
  display: block;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  background: #e6f3f3;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
  background-color: #c8e7e7;
}
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before{
  border: 1em solid #c8e7e7;
  border-right-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
}

.woocommerce .woocommerce-customer-details :last-child, .woocommerce .woocommerce-order-details :last-child, .woocommerce .woocommerce-order-downloads :last-child {
  margin-bottom: 33.2px;
}

.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a:last-child{
  margin-bottom: 0;
}

.wc-block-components-radio-control > .wc-block-components-radio-control__option{
  padding-bottom: 16px;
  padding-top: 16px;
}


.woocommerce-account .woocommerce-MyAccount-navigation{
  width: 20%;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
}
.woocommerce-account .woocommerce-MyAccount-content{
  width: 78%;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--subscriptions,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--custom-products,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--soporte {
  border-bottom: 1px dotted #ccc; /* Cambia #ccc por el color que prefieras */
}


table .woocommerce-button{
  width: -webkit-fill-available;
}

.woocommerce-account .wp-block-post-title, .woocommerce-account main .woocommerce, .woocommerce-cart .wp-block-post-title, .woocommerce-cart main .woocommerce, .woocommerce-checkout .wp-block-post-title, .woocommerce-checkout main .woocommerce{
  max-width:100%;
}

/*Contacto*/

/* Estilos básicos para el formulario */
.wpcf7 {
  margin: 20px auto;
}

/* Estiliza las etiquetas para que sean más visibles y organizadas */
.wpcf7-form label {
  display: block;
  margin-bottom: .5em;
  color: inherit;
  font-weight: bold;
}

/* Estilos para los controles de formulario (input y textarea) */
.wpcf7-form-control {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Asegura que padding no afecte el ancho total */
}
.wpcf7-form-control.wpcf7-checkbox, .wpcf7-form-control.wpcf7-acceptance{
  border: 0px solid transparent;
  margin: -15px 0 -25px;
  display: block;
}
/* Estilo para hacer que el textarea sea un poco más grande */
.wpcf7-textarea {
  font-size: inherit;
  font-family: inherit;
}

/* Mejorar el aspecto del botón de enviar */
.wpcf7-submit {
  background-color: inherit;
  color: inherit;
  border: none;
  padding: 0.9em 1.5em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1em;
}

.wpcf7-submit:hover {
  opacity: 0.7;
}

/* Estilos para el spinner de carga y los mensajes de respuesta */
.wpcf7-spinner {
  display: inline-block;
  margin: 10px;
  visibility: hidden; /* Oculta el spinner hasta que se active */
}

.wpcf7-submit.has-spinner:active + .wpcf7-spinner {
  visibility: visible; /* Muestra el spinner cuando el botón está activo */
}

.wpcf7-response-output {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  background-color: #f8f8f8;
  border: 1px solid #eee;
}

.wpcf7-not-valid-tip {
  color: rgb(182, 6, 6);
  margin-top: 5px;
  font-size: 0.9em;
}


.wp-block-add-to-cart-form.wc-block-add-to-cart-form .variation-item li{
  text-align: left!important;
}

.wp-block-add-to-cart-form.wc-block-add-to-cart-form form{
  text-align: center;
}

.wp-block-columns.wp-container-core-columns-layout-2.wp-block-columns-is-layout-flex .single_variation_wrap{
  min-width: 300px;
}

.is-content-justification-center{
  justify-content: center;
}

.wp-duotone-duotone-1{
  filter: var(--wp--preset--duotone--duotone-1)!important;
}
.is-style-rounded,
.is-style-rounded > *{
  border-radius: 30px;
  overflow: hidden;
}

.no_border {
  border: 0px solid #f2f2f2!important;
  background-color: rgba(255, 255, 255, 0.65);
}


.top_menu > nav{
  margin-left: auto!important;
}

.wp-block-navigation-item.current-menu-item{
  font-weight: 700!important;
}

.invert{
  filter: invert(1);
}

/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
  opacity: 0;
}
/* PART 2 - Upon Lazy Load */
img.litespeed-loaded{
  -webkit-transition: opacity .5s linear 0.2s;
  -moz-transition: opacity .5s linear 0.2s;
  transition: opacity .5s linear 0.2s;
  opacity: 1;
}

.skip-link.screen-reader-text{
  display: none!important;
}


/************************************
 * Contenedor principal
 ************************************/
 .modern-contact-form {
  margin: 0 auto;            /* Centrar en la página */
  font-size: 3em;           /* Tipografía más grande */
  color: #999;               /* Color de texto base */
  font-weight: 100;
}

/************************************
* Campos de texto minimalistas
************************************/
.wpcf7-form-control-wrap{
  display: inline-flex
}
.wpcf7-form-control.form-control {
  color: #222;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  padding: 10px 0; 
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box; /* Para que respete el 100% con padding */
  margin-bottom: 0;     /* Quitar espaciado extra */
  width: 100%;          /* Ajustar ancho automáticamente */
}
/* Efecto al enfocar (hover opcional) */
.wpcf7-form-control.form-control:focus {
  border-bottom-color: #333; /* color destacado */
}

/************************************
* Placeholder
************************************/
.wpcf7-form-control.form-control::placeholder {
  color: #222;
  font-weight: 400!important;
}
/************************************
* Ajustes para textarea
************************************/
.wpcf7-form-control.wpcf7-textarea.form-control {
  resize: vertical; /* permitir redimensionar verticalmente */
}

/************************************
* Botón de Enviar
************************************/
.wpcf7-form-control.wpcf7-submit {
  display: block;
  width: auto;
  border: none;
  padding: 12px 0px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
  margin-top: 1em;
  color: #222;
  font-weight: 600;
}
.white .wpcf7-form-control.wpcf7-submit,
.white .wpcf7-form-control.form-control::placeholder,
.white .wpcf7-form-control.form-control,
.white .modern-contact-form .privacy a{
  color: white;
}
.privacy{
  font-size: 0.5em;
}

.wpcf7-form-control.wpcf7-submit:hover {
  cursor: #333;
}

.wc-block-mini-cart__badge{
  color: white;
}

.service.bar {
  transition: flex-grow 0.5s ease;
}
.service.bar:hover {
  flex-grow: 3;
}
.service.bar .is-vertical.is-content-justification-stretch .wp-block-columns{
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service.bar:hover .is-vertical.is-content-justification-stretch .wp-block-columns{
  display: flex;
  opacity: 1;
}

header{
  min-height: 168px;
}
.main_menu {
  position: fixed;       /* Se mantiene fijo al hacer scroll */
  width: 100vw;          /* Ocupa todo el ancho de la ventana */
  top: 0rem;              /* Posición vertical al 50% */
  left: 50%;             /* Posición horizontal al 50% */
  transform: translate(-50%, 0); /* Ajusta el elemento para que quede centrado */
  z-index: 10;         /* Por encima de todo */

  background-color: transparent;
  /* background-image: radial-gradient(transparent 1px, var(rgb(15,17,21), #ffffff) 1px); */
  background-size: 4px 4px;
  backdrop-filter: blur(4px);
  mask: linear-gradient(rgb(0, 0, 0) 68%, rgba(0, 0, 0, 0) 100%);
  opacity: 1;
}
.admin-bar .main_menu{
  top: 2rem;
}
.menu_top{
  z-index: 20;
  position: relative;
}
.main_menu:has(div div nav .wp-block-navigation__responsive-container.is-menu-open.is-menu-open){
  height: 100vh;
  top: 0rem;
  /*remove mask*/
  z-index: 20;
}
#consent-banner-modal{
  width: var(--wp--style--global--wide-size);
  margin: 3em auto;
  border-radius: 1em!important;
} 
#consent-banner-settings{
  border-radius: 1em!important;
  padding: 1.5em 2em 2em!important;
}
.consent-banner-modal-wrapper{
  padding: 0em 2em 0.8em !important;
}
#consent-banner-wall{
  backdrop-filter: blur(3px);
  background: rgba(0, 0, 0, 0.2)!important;
}
#consent-banner-modal .consent-banner-modal-wrapper h2{
  display: none!important;
}

.grecaptcha-badge{
  display: none;
}

@media screen and (max-width: 600px) {
  .breadcrumbs{
    padding: 0 1rem;
  }
  .form-group {
      display: block;
  }
  .label-left {
      margin-bottom: 5px;
      flex: none;
      width: auto;
  }
  .single-post figure{
    margin-bottom: 3em!important;
  }
}
