span.onsale {
    display: none !important;
}

/* Cambiar color de botones en página Mi Cuenta */
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce a.button {
    background-color: #c20000;  /* Rojo personalizado */
    border-color: #c20000;
    color: #fff;
}

/* Cambiar color del borde del contenedor principal */
.woocommerce-account .woocommerce {
    border: 2px solid #c20000;
    padding: 20px;
    border-radius: 10px;
}

.wc-block-components-button  {
	background-color: #800020 !important;
    border: none;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wp-block-button__link {
    background-color: #800020 !important;
    border: none;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: #c20000 !important; /* tono más oscuro al pasar el cursor */
}

/* SOLO aplicar estilo al enlace "Dulce Guadalupe" del HEADER */
header a[href="https://dulceguadalupe.com"][rel="home"] {
    color: #800020;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 3vw;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

/* Hover (oscurecer y hacer zoom) SOLO en header */
header a[href="https://dulceguadalupe.com"][rel="home"]:hover {
    color: #c20000;
    transform: scale(1.05);
}

/* Responsive SOLO para el logo del HEADER en móviles */
@media (max-width: 768px) {
    header a[href="https://dulceguadalupe.com"][rel="home"] {
        font-size: 6vw;
    }
}


/* SOBRE NOSOTROS */
.sobre-nosotros {
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  background: #fff;
  padding: 60px 20px;
}

.sobre-nosotros .contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-nosotros .titulo {
  text-align: center;
  font-size: 3em;
  color: #c20000;
  margin-bottom: 10px;
}

.sobre-nosotros .subtitulo {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 50px;
  color: #666;
}

.bloque {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.bloque.invertido {
  flex-direction: row-reverse;
}

.bloque .texto {
  flex: 1;
  min-width: 280px;
}

.bloque .imagen {
  flex: 1;
  min-width: 280px;
}

.bloque img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.valores {
  text-align: center;
  margin-top: 40px;
}

.valores h2 {
  color: #c20000;
  margin-bottom: 20px;
}

.valores ul {
  list-style: none;
  padding: 0;
  font-size: 1.1em;
}

.valores li {
  margin: 10px 0;
}

.cta {
  text-align: center;
  margin-top: 60px;
}

.cta .boton {
  display: inline-block;
  background: #e91d29;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta .boton:hover {
  background: #c20000;
}

@media (max-width: 768px) {
  .bloque {
    flex-direction: column;
  }

  .bloque.invertido {
    flex-direction: column;
  }
}


.wp-block-group .wp-block-site-title {
  white-space: nowrap;
  font-size: 2.5rem;
}

.wp-block-search {
  max-width: 350px;
  margin-left: 100px;
}

.wp-block-group.fila-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Centrar el contenido del header */
.woocommerce-active .site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* O usa 'center' si quieres todo centrado junto */
}

/* Estilo para centrar el logo y la barra de búsqueda */
.site-branding,
.woocommerce-product-search,
.site-header-cart {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Ajusta el logo si se va muy a la izquierda */
.site-branding {
  justify-content: flex-start;
}

/* Ajusta el carrito y perfil si se pegan mucho */
.site-header-cart {
  justify-content: flex-end;
}

/* Estilo personalizado para el botón "Añadir al carrito" */
.single_add_to_cart_button.button {
    background-color: #800020 !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Hover del botón */
.single_add_to_cart_button.button:hover {
    background-color: #c20000 !important;
}

/* Estilo para botón "Añadir al carrito" en catálogo/listado */
a.add_to_cart_button,
a.button.product_type_simple {
    background-color: #800020 !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

/* Hover del botón */
a.add_to_cart_button:hover,
a.button.product_type_simple:hover {
    background-color: #c20000 !important;
}

/* ------------------------- */
/* HEADER PARA MÓVILES - VERSIÓN SIMPLIFICADA */
/* ------------------------- */
@media (max-width: 768px) {
  /* 1. CONTENEDOR PRINCIPAL */
  .fila-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  /* 2. LOGO */
  .wp-block-site-title {
    font-size: 1.3rem !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 auto !important;
    padding: 0 5px !important;
  }

  /* 3. FILA DE BÚSQUEDA + ICONOS */
  .fila-header > .wp-block-group:last-child {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* 4. BARRA DE BÚSQUEDA */
  .wp-block-search {
    flex-grow: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .wp-block-search__inside-wrapper {
    width: 100% !important;
  }
  .wp-block-search__input {
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
  }

  /* 5. ICONOS (Cuenta y Carrito) */
  .wp-block-woocommerce-customer-account,
  .wc-block-mini-cart {
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
  
  /* Eliminar subrayado del icono de cuenta */
  .wp-block-woocommerce-customer-account a {
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1 !important;
  }
  
  /* Estilo para iconos SVG */
  .wp-block-woocommerce-customer-account svg,
  .wc-block-mini-cart__icon {
    width: 24px !important;
    height: 24px !important;
    fill: #800020 !important;
  }
  
  /* Estilo para el badge del carrito */
  .wc-block-mini-cart__badge {
    background: #800020 !important;
    color: white !important;
  }
}

/* ------------------------- */
/* AJUSTES PARA PANTALLAS MUY PEQUEÑAS */
/* ------------------------- */
@media (max-width: 480px) {
  .wp-block-site-title {
    font-size: 1.1rem !important;
  }
  .wp-block-search__input {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

.wp-block-column a,
.wp-block-column a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ------------------------- */
/* ESTILOS PARA ICONO DE CUENTA */
/* ------------------------- */
.wp-block-woocommerce-customer-account {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wp-block-woocommerce-customer-account a {
    display: flex !important;
    text-decoration: none !important;
}

.wc-block-customer-account__account-icon {
    width: 24px !important;
    height: 24px !important;
    fill: #800020 !important;
    stroke: #800020 !important;
}

/* Eliminar el círculo de fondo */
.wp-block-woocommerce-customer-account.has-background {
    background: transparent !important;
}

/* Asegurar que el SVG herede el color correcto */
.wp-block-woocommerce-customer-account svg {
    color: #800020 !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

header .wp-block-site-logo img {
  width: 300px !important;
  height: auto !important;
  max-width: none !important;
  display: block !important;
}

p.has-text-color.has-link-color.has-x-small-font-size a {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #800020;
  color: white !important;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

p.has-text-color.has-link-color.has-x-small-font-size a:hover {
  background-color: #a00030;
  color: white !important;
}

