@import url("https://use.typekit.net/njj1iyx.css");

:root {
    /* Definición de la Identidad Corporativa */
    --brand-red: #A6192E;
    --text-dark: #333333;
    --text-light: #CCCCCC;
    --bg-white: #FFFFFF;
    
    /* Fuentes */
    --font-main: "adobe-garamond-pro", serif;
    --font-secondary: "Roboto", sans-serif;
}

/* 1. Aplicación Global */
body {
    font-family: var(--font-main);
    color: var(--brand-red) !important;
}

/* Elementos de texto específicos para asegurar la herencia en Moodle */
p, a, span, div, section, .card-body, #region-main {
    color: var(--brand-red) !important;
}

/* 2. Títulos */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--brand-red) !important;
    font-family: var(--font-main);
}

/* 3. Header y Navegación */

.header-top-nav > li a, 
.header-top-nav > li a i,
.logo,
span6 {
    color: var(--brand-red) !important;
}

.header-middle {
    background-color: var(--bg-white);
}

.header-middle li a,
.nav-list > li > a {
    color: var(--text-dark);
}

.header-middle .slogan h2 { 
    color: var(--text-light); 
    margin-top: 20px;
}

.nav > ul > li {
    margin: 0 4px 0 32px;
    font-size: 0.9em;
    list-style-type: square;
    color: var(--text-light);
}

/* 4. Componentes y Footer */
.btn {
    color: var(--brand-red) !important;
}

footer {
    color: var(--brand-red) !important;
}

/* 5. Utilidades */
.icon {
    color: inherit;
}

.header-top {
    background-color: #fff !important;
}

.btn-buy{
	background-color: #000000 !important;
}


/* 🔴 BOTÓN PRIMARIO (Call to Action)
   Usa el Rojo Pantone. Para acciones principales (Guardar, Enviar, Comprar) */
.btn-primary {
    background-color: var(--brand-red) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--brand-red) !important;
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: #8A1526 !important; /* Un rojo ligeramente más oscuro al pasar el ratón */
    border-color: #8A1526 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 8px rgba(166, 25, 46, 0.2); /* Sombra suave del mismo tono */
}

/* 🔵 BOTÓN SECUNDARIO (Acciones de soporte)
   Usa el Azul Pantone, pero en formato "Outline" (solo borde y texto) */
.btn-secondary, 
.btn-outline {
    background-color: transparent !important;
    color: var(--brand-blue) !important;
    border: 2px solid var(--brand-blue) !important;
}

.btn-secondary:hover, 
.btn-secondary:focus {
    background-color: var(--brand-blue) !important;
    color: #FFFFFF !important;
}



#backend-access{
	color: white !important;
  	background-color: var(--brand-red)
}

/* =========================================
   ESTILOS FICHA TÉCNICA DEL LIBRO
   ========================================= */

/* 1. Valores de la lista (Los datos en sí) */
.book-definitions dd {
    color: #000000 !important; /* Negro puro como pediste */
}

/* 2. Etiquetas de la lista (Colección, EAN, etc.) */
.book-definitions dt {
   
}

/* 3. Enlaces dentro de los datos (Colección, Materia) */
.book-definitions dd a {
    color: #000000 !important;
    text-decoration: none; /* Estilo editorial: enlaces subrayados */
}

.book-definitions dd a:hover {
    color: var(--brand-red) !important;
}

/* 4. Ajuste del Bloque de Compra (Precio y Botón) */
.book-buy {
   color:black;
}

.book-buy .price {
    color:black !important;
}

.book-buy .edition-type {
    color:black;
}

.main-menu .nav>li>a:hover, .main-menu .nav>li>a:focus, .main-menu .nav>li>a.selected{
  border-bottom-color:  var(--brand-red) !important;
}

.noUi-connect{ 
	background-color: var(--brand-red) !important;
}