/*
Theme Name: Hello Elementor Child - RegalaDistinto
Theme URI: https://regaladistinto.com/
Description: Tema hijo de Hello Elementor para regaladistinto.com. Header, footer y plantilla de producto custom.
Author: RegalaDistinto
Author URI: https://regaladistinto.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
*/

/* =========================================================================
   DESIGN TOKENS — Variables centralizadas de marca
   Cambiando estas variables cambia la marca en todo el sitio.
   Compartidas por header.css, footer.css, product.css, etc.
   ========================================================================= */
:root {
    /* Colores marca */
    --rd-color-primary:        #8E1126;   /* Granate principal - menús + botones */
    --rd-color-secondary:      #550B14;   /* Granate oscuro - reservado */
    --rd-color-accent:         #21090D;   /* Casi negro - hover */
    --rd-color-bg:             #FFFFFF;
    --rd-color-text:           #282828;
    --rd-color-cart-badge:     #8E1126;

    /* Tipografía */
    --rd-font-display: "Beautique Display", Georgia, serif;
    --rd-font-body:    "Lato", system-ui, -apple-system, sans-serif;

    /* Header */
    --rd-header-height-desktop: 110px;
    --rd-header-height-mobile:  80px;
    --rd-header-z:              100;
    --rd-header-padding-x:      48px;

    /* Breakpoint */
    --rd-bp-tablet: 1024px;
}

/* =========================================================================
   WEB FONTS — Beautique Display (display / titulares)
   Solo .woff2 (soporte 97%+ navegadores). Sin fallback .woff.
   font-display: swap evita FOIT (texto invisible).
   Regular (400) precargada via <link rel="preload"> desde functions.php.
   ========================================================================= */
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-LightItalic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-MediumItalic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-BoldItalic.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-BlackItalic.woff2") format("woff2");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* =========================================================================
   WEB FONTS — Lato (body / texto)
   Self-hosted (sin Google Fonts) → mejor rendimiento + cumple RGPD.
   Sustituye al CSS que Elementor encolaba como `elementor-gf-lato`.
   Solo las 6 variantes que el sitio usa de verdad (auditado en HAR).
   ========================================================================= */
@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-LightItalic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}