/* Vlastni doplnky theme (hero, patička) - originalni CSS resi zbytek */

/* === Velikosti nadpisu prenesene z predlohy (app.css) === */
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 { color: #191f1e; font-weight: 700; line-height: 1.2; margin-top: 0; margin-bottom: .75em; }
h1, .h1 { font-size: 48px; }
h2, .h2 { font-size: 22px; }
h3, .h3 { font-size: 20px; }
h4, .h4 { font-size: 16px; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }
/* kontextove zmensene nadpisy jako na predloze */
.page-header h1 { margin-bottom: 16px; }
@media screen and (max-width: 1259px) { .page-header h1 { font-size: 28px; } }
@media screen and (max-width: 543px) { .social-header h2 { font-size: 34px; } }
@media screen and (max-width: 1259px) { .w-badge h3 { font-size: 18px; } }

.home-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 50px;
}
.home-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15));
    z-index: 1;
}
.home-hero .container-wide {
    position: relative;
    z-index: 2;
}
.home-hero-inner {
    max-width: 560px;
}
.home-hero-inner h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 16px;
}
.home-hero-inner p {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 24px;
}

/* Hero slider (tiny-slider) */
.home-slider { position: relative; }
.home-tns { overflow: hidden; }
.home-tns .slider-item {
    display: flex;
    align-items: center;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}
/* pred inicializaci tns zobraz jen prvni slide (zamez FOUC) */
.home-tns:not(.tns-slider) .slider-item { display: none; }
.home-tns:not(.tns-slider) .slider-item:first-child { display: flex; }
.home-tns .slider-item .text { position: relative; z-index: 2; max-width: 560px; padding: 0 5%; }
.home-tns .slider-item .text.white, .home-tns .slider-item .text.white .title { color: #fff; }
.home-tns .slider-item .text .title { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.1; margin: 0 0 16px; }
.home-slider .overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,.1)); z-index: 1; }

/* navigacni tecky */
.home-slider .tns-nav { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 5; text-align: center; }
.home-slider .tns-nav button {
    width: 12px; height: 12px; margin: 0 5px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer;
}
.home-slider .tns-nav button.tns-nav-active { background: #fff; }
.home-slider .tns-outer { position: relative; }

/* === Mobilni off-canvas menu === */
@media (max-width: 991px) {
    .header { position: relative; }
    /* pri otevrenem menu vytahnout celou hlavicku (i fixed panel) nad overlay i obsah */
    body.menu-open .header { z-index: 1002; }
    .header .header-right {
        position: fixed; top: 0; left: 0; bottom: 0;
        width: 300px; max-width: 85%;
        background: #fff; z-index: 1001;
        flex-grow: 0;
        padding: 70px 24px 30px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .3s ease;
        box-shadow: 2px 0 20px rgba(0,0,0,.15);
    }
    body.menu-open .header .header-right { transform: translateX(0); }
    body.menu-open { overflow: hidden; }
    .menu-overlay { display: none; }
    body.menu-open .menu-overlay {
        display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000;
    }
    .header .header-top { display: block; border-bottom: 0; padding: 0; }
    .header .header-top > div:first-child { margin-right: 0; }
    .header .header-top ul,
    .header .header-top ul.header-menu-params,
    .header .header-menu { display: block; }
    .header .header-top li { padding: 10px 0; border-bottom: 1px solid #eee; }
    .header .header-top a { font-size: 18px; }
    .header .repete { display: inline-block; margin-top: 16px; }
    .header .header-bottom { display: block; margin-top: 16px; }
    .header .header-sections .level-0 { display: block; }
}

/* === Rozklikavaci patička na mobilu === */
@media (max-width: 767px) {
    .footer [data-footer-toggle] { cursor: pointer; position: relative; padding-right: 28px; }
    .footer [data-footer-toggle]::after {
        content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
        font-size: 26px; font-weight: 400; line-height: 1;
    }
    .footer .open > [data-footer-toggle]::after { content: '\2212'; }
    .footer .footer-contact > div,
    .footer .footer-newsletter > div,
    .footer .footer-menu .column > ul { display: none; }
    .footer .footer-contact.open > div,
    .footer .footer-newsletter.open > div,
    .footer .footer-menu .column.open > ul { display: block; }
}

/* .home-store reseno originalnim home.css + app.css (sedy box, padding 60/80, w-* widgety) */

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,.08);
    margin-top: 30px;
    padding: 20px 0;
    font-size: .85rem;
    color: #777;
}
.footer-bottom .footer-legal { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 0; padding: 0; }
.footer-bottom .footer-legal a { color: #777; }

/* strankovani reseno originalnim .pagination / .btn-pager v app.css */
