/* Elementor Kit 7317 – globální proměnné */
:root {
    /* Barvy */
    --e-global-color-primary: #3EA8E6;
    --e-global-color-secondary: #000000;
    --e-global-color-text: #FFFFFF;
    --e-global-color-accent: #B1B1B1;

    /* Typografie */
    --e-global-typography-primary-font-family: "Open Sans";
    --e-global-typography-primary-font-weight: 600;
    --e-global-typography-secondary-font-family: "Open Sans";
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: "Open Sans";
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: "Open Sans";
    --e-global-typography-accent-font-weight: 500;

    /* Container padding (Elementor default) */
    --container-default-padding-top: 10px;
    --container-default-padding-right: 10px;
    --container-default-padding-bottom: 10px;
    --container-default-padding-left: 10px;

    /* Viewport výška – Elementor JS nastaví přesnou hodnotu, fallback pro statické vykreslení */
    --vh: 1vh;

    /* WordPress admin bar – na frontendu bez přihlášení je 0 */
    --wp-admin--admin-bar--height: 0px;

    /* Transform origin – Elementor nastavuje per-element, fallback */
    --e-transform-origin-x: center;
    --e-transform-origin-y: center;
}

/* Elementor scroll animace */
.elementor-invisible {
    visibility: visible !important;
}

/* Scroll-to-top tlačítko */
.hfe-scroll-to-top-button {
    background-color: #3EA8E6;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
}

/* Sjednocení fontu na Open Sans – ikony (FA, eicons) jsou záměrně vynechány */
body, h1, h2, h3, h4, h5, h6, p, li, input, textarea, select,
.elementor-widget-container, .elementor-heading-title,
.elementor-icon-list-text, .wpr-dual-title, .wpr-dual-heading-description,
.elementor-button, .cli-plugin-button, .cli-bar-message,
.elementor-text-editor, .elementor-widget-text-editor {
    font-family: "Open Sans", sans-serif !important;
}

/* ── Responsivita ─────────────────────────────────────────────────── */
/* overflow-x: hidden NELZE dávat na html ani body – zruší position:fixed!
   Horizontální overflow řeší Elementor sám přes .elementor-section wrappers. */
html {
    overflow-x: auto;
}
body {
    overflow-x: clip; /* clip nezruší fixed positioning na rozdíl od hidden */
    max-width: 100%;
}
img, video, iframe {
    max-width: 100%;
    height: auto;
}
/* YT video embed – responzivní poměr stran */
.elementor-video iframe {
    width: 100% !important;
    aspect-ratio: 16/9;
    height: auto !important;
}
/* Tabulka na mobilu scrollovatelná */
table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Homepage + Ceník – sjednocení fontu (Georgia → Open Sans), ikonky vynechány */
.elementor-7321 p,
.elementor-7321 h1, .elementor-7321 h2, .elementor-7321 h3,
.elementor-7321 h4, .elementor-7321 h5, .elementor-7321 h6,
.elementor-7321 span:not([class*="fa"]):not([class*="eicon"]),
.elementor-7321 a,
.elementor-7321 .elementor-heading-title,
.elementor-7321 .elementor-icon-list-text,
.elementor-7321 .elementor-widget-container {
    font-family: "Open Sans", sans-serif !important;
}

/* Ceník – sjednocení fontu, ikonky (<i>, <svg>, pseudo-elementy) vynechány */
.elementor-7554 p,
.elementor-7554 h1, .elementor-7554 h2, .elementor-7554 h3,
.elementor-7554 h4, .elementor-7554 h5, .elementor-7554 h6,
.elementor-7554 span:not([class*="fa"]):not([class*="eicon"]),
.elementor-7554 a,
.elementor-7554 .elementor-heading-title,
.elementor-7554 .elementor-icon-list-text,
.elementor-7554 .elementor-widget-container {
    font-family: "Open Sans", sans-serif !important;
}

/* EN GDPR / VOP – nadpis na střed (odpovídá CZ verzi) */
.elementor-6479 .elementor-heading-title,
.elementor-6479 h1, .elementor-6479 h2, .elementor-6479 h3 {
    text-align: center !important;
}

