/* Ocultar campo país y su label en formulario de dirección */

.form-group.row:has(select[name="id_country"]) {
    display: none !important;
}

/* Ocultar campo ciudad y su label en formulario de dirección */

.form-group.row:has(input[name="city"]) {
    display: none !important;
}

/* --- ESTÉTICA CARNICERÍA --- */

/* ==========================================================
   ESTÉTICA CARNICERÍA - TEMA CHILD
   Paleta: Burdeo (#8a1c1c) y Blanco.
   ========================================================== */
   
/* --- 1. BOTONES Y ACCIONES --- */

/* Botón Primario (Añadir al carrito, Pagar, Buscar) */
.btn-primary {
    background-color: #8a1c1c !important;
    border-color: #8a1c1c !important;
    border-radius: 2px; /* Más cuadrado, más robusto */
    transition: all 0.3s ease;
}

/* Hover del botón (Un poco más oscuro) */
.btn-primary:hover, 
.btn-primary:active, 
.btn-primary:focus {
    background-color: #5c1111 !important; 
    border-color: #5c1111 !important;
    box-shadow: 0 4px 8px rgba(138, 28, 28, 0.3) !important; /* Sombra rojiza suave */
}

/* Botón Secundario (Ver más, opciones) */
.btn-secondary {
    color: #333 !important;
    background-color: #f8f8f8 !important;
    border: 1px solid #ddd !important;
    border-radius: 2px;
}
.btn-secondary:hover {
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

/* --- 2. ENLACES Y TEXTOS --- */

/* Enlaces generales al pasar el mouse */
a:hover {
    color: #8a1c1c !important;
}

/* Títulos de Productos en listados */
.product-title a:hover {
    color: #8a1c1c !important;
}

/* Precios - Rojo fuerte y negrita */
.product-price, 
.current-price span {
    color: #8a1c1c !important; /* Un rojo un poco más vivo para el precio */
    font-weight: 700;
    font-size: 1.3rem;
}

/* --- 3. NAVEGACIÓN Y HEADER (Iconos) --- */

/* Iconos del Header (Carrito, Usuario, Lupa) */
.header-nav .material-icons,
.search-widget .material-icons {
    color: #333; /* Gris oscuro base */
}

/* Al pasar el mouse sobre Iconos */
.header-nav .blockcart a:hover, 
.header-nav .user-info a:hover,
.search-widget:hover .material-icons {
    color: #8a1c1c !important;
}

/* Menú Principal - Línea inferior al pasar el mouse */
.top-menu .category > a:hover {
    color: #8a1c1c !important;
}
.top-menu .category > a.dropdown-item:hover {
    color: #8a1c1c !important;
}

/* Borde inferior del ítem de menú activo */
.top-menu a[data-depth="0"]:hover {
    border-bottom: 2px solid #8a1c1c !important;
}

/* --- 4. DETALLES "ALMA" CARNICERÍA --- */

/* Etiquetas de descuento (Flags) */
/* Cambiar el naranja por defecto a Rojo Burdeos */
.product-flags .discount {
    background-color: #8a1c1c !important;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.product-flags .new {
    background-color: #333 !important; /* "Nuevo" en negro elegante */
}

/* Inputs del formulario (Evitar el borde azul cian de Bootstrap por defecto) */
.form-control:focus, 
.input-group.focus {
    outline: none !important;
    border-color: #8a1c1c !important;
    box-shadow: none !important; /* O una sombra rojiza muy sutil si prefieres */
}

/* Títulos de Sección (PRODUCTOS DESTACADOS, ETC) */
.h2.products-section-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a1c1c !important;
    
    border-bottom: 3px solid #8a1c1c; /* Subrayado grueso */
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Pestañas en Ficha de Producto (Descripción/Detalles) */
.nav-tabs .nav-link.active {
    border-top: 3px solid #8a1c1c !important;
    border-bottom: 3px solid #8a1c1c !important;
    color: #333 !important;
}

.blockcart.cart-preview.active {
    background-color: #8a1c1c !important;
}

.blockcart.cart-preview.active:hover {
    background-color: #5c1111 !important; 
    border-color: #5c1111 !important;
    box-shadow: 0 4px 8px rgba(138, 28, 28, 0.3) !important;
}

#header .header-nav .blockcart.active a {
    color: white !important;
}


#header .header-nav .blockcart.active a:hover {
    color: white !important;
}

a {
    color: #333333 !important; 
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

/* 2. Interacción: Rojo Burdeo */
a:hover, 
a:focus, 
a:active {
    color: #8a1c1c !important; /* Tu rojo corporativo */
    text-decoration: none; /* O 'underline' si prefieres que se subraye al pasar el mouse */
}

/* 3. Corrección específica para títulos de productos en listas (a veces son rebeldes) */
.product-miniature .product-title a {
    color: #333333 !important;
}
.product-miniature .product-title a:hover {
    color: #8a1c1c !important;
}

.card-block.checkout .btn-primary {
    color: white !important;
}

.group-span-filestyle .btn-default {
    background-color: #8a1c1c !important;
}

.block-social ul li {
	border-radius: 5px;
	background-color: #8a1c1c !important;
}

.block-social ul li:hover {
	background-color: #5c1111 !important;
}
