/*
Theme Name: TentGar — Child (Hello Elementor)
Theme URI: https://tentgar.pl
Description: Motyw potomny Hello Elementor dla TentGar (mobilne garaże samochodowe). Strony edytowane w darmowym Elementorze (import gotowych szablonów). Kolory i fonty zmieniasz globalnie w Elementor → Ustawienia witryny.
Author: Cyfrowa Pomoc
Author URI: https://cyfrowapomoc.pl
Template: hello-elementor
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tentgar-child
*/

/* =========================================================
   Zmienne marki (te same wartości ustawiamy w Elementor →
   Ustawienia witryny → Kolory globalne, więc edycja globalna
   działa z poziomu Elementora).
   ========================================================= */
:root{
	--tg-brand:#2E9BDB;   /* błękit — kolor marki / przyciski */
	--tg-brand-d:#1F84C0; /* błękit ciemny — hover */
	--tg-allegro:#FF5A00; /* pomarańcz Allegro — zakup */
	--tg-ink:#16202B;     /* granat / nagłówki */
	--tg-text:#26333F;    /* tekst */
	--tg-muted:#5C6B7A;   /* tekst drugorzędny */
	--tg-soft:#F1F7FC;    /* jasne tło sekcji */
	--tg-line:#E3EBF1;    /* linie / ramki */
}

body{
	color:var(--tg-text);
	font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
	-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{
	font-family:"Montserrat",Georgia,sans-serif;
	color:var(--tg-ink);
}

a{color:var(--tg-brand)}
a:hover{color:var(--tg-brand-d)}
img{max-width:100%;height:auto}

/* Płynne przewijanie do kotwic z offsetem pod sticky header */
html{scroll-behavior:smooth;scroll-padding-top:90px}

/* Sticky nagłówek z wtyczki UAE/HFE */
#ehf-template-header,.ehf-header #masthead{
	position:sticky;top:0;z-index:999;
	backdrop-filter:saturate(180%) blur(8px);
	box-shadow:0 1px 0 rgba(20,40,60,.06);
}

/* Pływający przycisk „Kup na Allegro" (wstrzykiwany w functions.php) */
.tg-allegro-float{
	position:fixed;right:18px;bottom:18px;z-index:9998;
	display:inline-flex;align-items:center;gap:8px;
	background:var(--tg-allegro);color:#fff !important;
	font-family:"Montserrat",sans-serif;font-weight:700;font-size:15px;
	padding:13px 20px;border-radius:999px;text-decoration:none;
	box-shadow:0 10px 26px rgba(255,90,0,.34);
	transition:transform .15s ease;
}
.tg-allegro-float:hover{transform:translateY(-2px);color:#fff !important}

@media(max-width:767px){html{scroll-padding-top:72px}}
