/*
Theme Name: sayonara
Author: sayonara
Description: Your description goes here
Version: 1
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/** fix tablas ancho toda la web en responsive **/
@media (max-width:1024px){
.textos-legales table {display: block;overflow-x: auto;white-space: nowrap;}
.textos-legales table tbody {display: table;width: 100%;}	
}

.clase-marquesina {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.clase-marquesina span {
  display: inline-block;
  padding-left: 100%; /* empieza desde fuera */
  animation: scroll 22s linear infinite;
}

@keyframes scroll {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/*Eliminar campo*/
p#codigo_oficina_field{display:none !important;}

/*Tamaño de la imagen de Bizum*/
.wc_payment_method.payment_method_bizum label img {
    width: 100px !important;
    height: auto;
}

/* Estilos globales para el botón Cancelar Pedido en cualquier método de pago */
form[id$="_payment_form"] .button.cancel {
    display: block !important;        /* Lo pone debajo del botón principal */
    margin-top: 10px !important;      /* Separación */
    width: fit-content !important;    /* Tamaño ajustado */
    font-size: 14px !important;       /* Más pequeño */
    padding: 6px 12px !important;     /* Botón compacto */
    opacity: 0.8;                     /* Más discreto visualmente */
}

/* Añadimos margen inferior al botón principal en todos los métodos */
form[id$="_payment_form"] .button-alt {
    margin-bottom: 5px;
}