/*
Theme Name: Bite Child Theme
Theme URI: https://bite.themerex.net/
Description: Bite is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.16.0
Tested up to: 6.8
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: agency, birthday party, catering, celebration, conference, event, event agency, event planner, event theme, events calendar, invitation, party, party planning, venue, wedding, wedding planner
Text Domain: bite
Template: bite
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* =========================================================
   TAKE EAT — Polices de marque
   Fichiers .woff dans bite-child/fonts/
   ========================================================= */

/* 1. Déclaration des polices */
@font-face {
	font-family: 'Ananda Black';
	src: url('fonts/AnandaBlack.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Clear Sans';
	src: url('fonts/ClearSans-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Clear Sans';
	src: url('fonts/ClearSans-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Clear Sans';
	src: url('fonts/ClearSans-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* 2. Réglages par défaut du thème Bite
   - H1 à H5 + logo texte : Ananda Black
   - H6 (surtitres en majuscules) + texte + interface : Clear Sans */
   html:root,
   html:root body {
	--te-titre: 'Ananda Black', 'Clear Sans', sans-serif;
	--te-texte: 'Clear Sans', sans-serif;

	/* Titres en Ananda */
	--theme-font-h1_font-family: var(--te-titre);
	--theme-font-h2_font-family: var(--te-titre);
	--theme-font-h3_font-family: var(--te-titre);
	--theme-font-h4_font-family: var(--te-titre);
	--theme-font-h5_font-family: var(--te-titre);
	--theme-font-logo_font-family: var(--te-titre);

	/* Une seule graisse : pas de faux gras */
	--theme-font-h1_font-weight: 400;
	--theme-font-h2_font-weight: 400;
	--theme-font-h3_font-weight: 400;
	--theme-font-h4_font-weight: 400;
	--theme-font-h5_font-weight: 400;
	--theme-font-logo_font-weight: 400;

	/* Tailles (min mobile, idéal, max desktop) */
	--theme-font-h1_font-size: clamp(42px, 5.2vw, 68px);
	--theme-font-h2_font-size: clamp(34px, 4.2vw, 56px);
	--theme-font-h3_font-size: clamp(28px, 3vw, 40px);
	--theme-font-h4_font-size: clamp(24px, 2.4vw, 32px);
	--theme-font-h5_font-size: clamp(22px, 2vw, 27px);

	/* Interligne et espacement adaptés au manuscrit */
	--theme-font-h1_line-height: 1.2em;
	--theme-font-h2_line-height: 1.2em;
	--theme-font-h3_line-height: 1.2em;
	--theme-font-h4_line-height: 1.2em;
	--theme-font-h5_line-height: 1.25em;
	--theme-font-h1_letter-spacing: 0;
	--theme-font-h2_letter-spacing: 0;
	--theme-font-h3_letter-spacing: 0;
	--theme-font-h4_letter-spacing: 0;
	--theme-font-h5_letter-spacing: 0;

	/* Surtitres et texte en Clear Sans */
	--theme-font-h6_font-family: var(--te-texte);
	--theme-font-h6_font-weight: 700;
	--theme-font-p_font-family: var(--te-texte);
	--theme-font-menu_font-family: var(--te-texte);
	--theme-font-submenu_font-family: var(--te-texte);
	--theme-font-button_font-family: var(--te-texte);
	--theme-font-input_font-family: var(--te-texte);
	--theme-font-info_font-family: var(--te-texte);
	--theme-font-post_font-family: var(--te-texte);
}

/* 3. Classes utilitaires (Elementor > Avancé > Classes CSS) */

/* Titre en Clear Sans gras : bandeaux, prix, paliers */
.te-sans,
.te-sans .elementor-heading-title {
	font-family: var(--te-texte) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
}

/* N'importe quel texte en Ananda */
.te-script,
.te-script .elementor-heading-title,
.te-script .elementor-button-text {
	font-family: var(--te-titre) !important;
	font-weight: 400 !important;
	letter-spacing: 0;
}

/* Icônes des boutons : suivent toujours la couleur du texte */
.elementor-button-icon,
.elementor-button-icon i,
.elementor-button-icon svg {
	color: inherit !important;
}

/* Icônes SVG au trait : contour, pas de remplissage */
.elementor-button-icon svg[stroke],
.elementor-button-icon svg[stroke] * {
	fill: none !important;
	stroke: currentColor !important;
}