/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1741507017
Updated: 2025-03-09 08:56:57

*/

/* ===== Variables reutilizables ===== */
:root {
  --isantiek-font: 'Shree devanagari 714', sans-serif;
}

/* Botón tracking number */
.track-button {
    font-family: var(--isantiek-font) !important;
    font-weight: 300;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Boton vendido */
.br-labels-css.br-labels-css-3 {
    z-index: unset !important;
}

/* Mensajes WooCommerce — BUG CORREGIDO: ya no es negro sobre negro */
.woocommerce-error,
.woocommerce-message {
    font-family: var(--isantiek-font) !important;
    font-weight: 500;
    border: none !important;
    font-size: 0.9em;
    text-transform: uppercase;
    list-style: none;
}
.woocommerce-error {
    background-color: #fff5f5 !important;
    color: #2c2c2c !important;
}

.woocommerce-order a {
    color: orange !important;
    font-weight: bold;
    text-decoration: underline;
}

/* Nota: selector .cart-empty duplicado del original ELIMINADO por ser inalcanzable.
   Si el objetivo era estilizar el mensaje de "carrito vacío", confirmar el HTML real
   con el inspector y reescribir el selector correcto. */

/* Stock: base compartida */
p.stock.out-of-stock,
p.stock.in-stock {
  text-align: left !important;
  margin: 1em 0 !important;
  font-weight: bold !important;
}

/* Solo lo que diferencia a cada estado */
p.stock.out-of-stock {
  color: #E75925 !important;
  font-size: 1.4em !important;
}
p.stock.in-stock {
  font-size: 1.5em !important;
}

/* Móvil: la alineación centrada es igual para ambos */
@media (max-width: 480px) {
  p.stock.out-of-stock,
  p.stock.in-stock {
    text-align: center !important;
  }
  /* Solo out-of-stock cambia de tamaño en móvil (1.4em → 1.5em);
     in-stock ya es 1.5em en base, así que no hace falta repetirlo aquí */
  p.stock.out-of-stock {
    font-size: 1.5em !important;
  }
}

/* Imagen de pago seguro en ficha de producto */
.single-product form.cart {
  flex-wrap: wrap !important;
}
.single-product form.cart .isantiek-pago-seguro {
  display: block !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  order: 99;
  margin-top: 15px;
  text-align: center;
}
.single-product form.cart .isantiek-pago-seguro img {
  display: block;
  width: 60% !important;
  max-width: 60% !important;
  height: auto !important;
  margin: 0 auto;
}

/* Color error checkout — unificado, ya no hace falta duplicar con más especificidad
   porque el bug de origen (.woocommerce-error negro sobre negro) está corregido arriba */
/* Color error checkout */
.woocommerce-error[role="alert"] {
    color: #c42e08 !important;
    font-weight: bold !important;
    background-color: #fff5f5 !important;
}