/* ============================================================
   tema-dix.css  -  Ajustes estéticos pedidos por el cliente
   Se carga DESPUÉS de styles.css. Todo se cambia desde estas variables.
   ============================================================ */
:root {
    /* Naranja de marca (CMYK 0 / 80 / 100 / 0). Mismo naranja ya usado en el sitio */
    --dix-naranja: #EA4F0F;
    --dix-naranja-fuerte: #EA4F0F;      /* botón Añadir */
    --dix-naranja-hover: #C93F06;
    /* Fondo del slider de promociones. 30% de negro = #B3B3B3 (el naranja casi no se lee sobre ese gris).
       Por defecto 10% de negro; para el 30% pedido poné #B3B3B3 */
    --dix-gris-slider: #E6E6E6;
    /* Tipografía: Arial Rounded MT sólo existe instalada en algunos equipos (y sólo en Bold).
       Si se compra/cede la licencia web, agregar @font-face abajo y listar primero 'ArialRoundedWeb'. */
    --dix-fuente: 'Arial Rounded MT', 'Nunito', Arial, sans-serif;
    --dix-fuente-bold: 'Arial Rounded MT Bold', 'Arial Rounded MT', 'Nunito', Arial, sans-serif;
}

/* ---- 1) Tipografía en toda la página (no toca íconos Font Awesome ni textos monoespaciados) ---- */
:where(body *:not(i):not([class*="fa-"]):not(code):not(pre):not(.home-card-code)) {
    font-family: var(--dix-fuente);
}
body :is(h1, h2, h3, h4, th, strong, b, button, label, .btn, .nav-links a):not([class*="fa-"]) {
    font-family: var(--dix-fuente-bold);
    font-weight: 700;
}

/* ---- 2) Títulos: más grandes y en naranja, con subtítulo más chico en negro ---- */
body h1 { color: var(--dix-naranja) !important; font-size: 2.2rem; line-height: 1.15; }
body h2 { color: var(--dix-naranja) !important; font-size: 1.8rem; line-height: 1.2; }
body h3 { color: var(--dix-naranja) !important; font-size: 1.45rem; line-height: 1.25; }
/* los títulos sobre fondo oscuro (cabecera de modales) quedan blancos para que se lean */
body .modal-header h3, body .modal-header h2 { color: #fff !important; }

/* ---- 3) Slider de promociones (texto que corre en el encabezado) ---- */
body .text-carousel-wrap {
    background: var(--dix-gris-slider) !important;
    border-top: 3px solid var(--dix-naranja) !important;
    border-bottom: 3px solid var(--dix-naranja) !important;
    box-shadow: none !important;
}
body .text-carousel-title {
    color: var(--dix-naranja) !important;
    font-size: 1.9rem !important;
    letter-spacing: .02em;
    text-transform: none !important;
    line-height: 1.15;
}
body .text-carousel-desc {
    color: #000 !important;
    font-size: .95rem !important;
}
body .carousel-arrow { background: rgba(0,0,0,.08) !important; border-color: rgba(0,0,0,.35) !important; color: #000 !important; }
body .carousel-arrow:hover { background: var(--dix-naranja) !important; color: #fff !important; }
body .carousel-dot { background: rgba(0,0,0,.2) !important; border-color: #000 !important; }
body .carousel-dot.active { background: var(--dix-naranja) !important; border-color: var(--dix-naranja) !important; }
@media (max-width: 600px) { body .text-carousel-title { font-size: 1.35rem !important; } }

/* ---- 4) Descripción/nombre de los artículos: negro y sin subrayar ---- */
body .prod-nombre, body .prod-nombre:hover { color: #000 !important; text-decoration: none !important; }
body .prod-desc { color: #000 !important; }

/* ---- 5) Botón Añadir: naranja fuerte ---- */
body .btn-anadir, body .btn-anadir.btn-primary {
    background: var(--dix-naranja-fuerte) !important;
    color: #fff !important;
    border: none !important;
}
body .btn-anadir:hover { background: var(--dix-naranja-hover) !important; }
