/**
 * Sablona 2026-015 Klasik - paticky (komponenta paticka, ANALYZA kap. 2.15, artboard 08).
 * A Sloupce = vlastni komponenty/paticka-a.latte (newsletter pruh, 4 sloupce + logo, platby, spodni pruh v primary);
 *   B, C, D = jadrove Latte ve skinu Klasika. Barvy jen z tokenu --tpl-footer-*.
 */
div#bottom {
    margin-top: var(--tpl-section-gap);
    background: var(--tpl-footer-bg);
    color: var(--tpl-footer-text);
    font-family: var(--tpl-font);
    font-size: 14px;
}
div#bottom a { color: var(--tpl-footer-link); }
div#bottom a:hover { color: var(--tpl-footer-link); text-decoration: underline; }
div#in_bottom { width: 100%; max-width: none; margin: 0; padding: 0; }
#copyright, div#copyright { display: none; }

/* --- spolecne prvky jadra (odznaky plateb / doprav, socialni site, copyright) --- */
.tpl-foot-pay,
.tpl-foot-del { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tpl-foot-strip-label { font-size: 12px; font-weight: 700; color: var(--tpl-text-light); text-transform: uppercase; letter-spacing: .04em; }
.tpl-foot-items { display: contents; }
.tpl-foot-badge,
.kl-tl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--tpl-border);
    border-radius: 6px;
    background: var(--tpl-surface);
    color: var(--tpl-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.tpl-foot-pay .tpl-ico { width: 36px; height: 24px; color: var(--tpl-text); }
.tpl-foot-social { display: flex; gap: 8px; margin-left: auto; }
.tpl-foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--tpl-border); border-radius: 50%; background: var(--tpl-surface); }
.tpl-foot-social .tpl-ico { width: 16px; height: 16px; color: var(--tpl-text); }
.copyright_podpis { font-size: 13px; color: var(--tpl-footer-muted); }
#bottom .copyright_podpis a { color: var(--tpl-footer-muted); }

/* ================= A, C, D – skin jadrovych paticek ================= */
#in_bottom > .tpl-foot:not(.kl-foot) {
    max-width: calc(var(--tpl-max-width) + 2 * var(--tpl-gutter));
    margin: 0 auto;
    padding: 28px var(--tpl-gutter) 16px;
    background: none;
    color: var(--tpl-footer-text);
}
#in_bottom > .tpl-foot--d { padding-top: 16px; }
.tpl-foot .tpl-foot-h,
.tpl-foot .ramec_top,
.tpl-foot h3 { font: 700 14px/1.3 var(--tpl-font); color: var(--tpl-footer-heading); margin: 0 0 8px; }
.tpl-foot .tpl-foot-brand { font: 600 18px/1.2 var(--tpl-font-head); color: var(--tpl-footer-heading); }
.tpl-foot--c .tpl-foot-c-news { background: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); border-radius: var(--tpl-area-radius); }
.tpl-foot-news-form input[type="email"] { min-height: 40px; padding: 0 12px; border: 1px solid var(--tpl-border); border-radius: var(--tpl-input-radius); background: var(--tpl-surface); color: var(--tpl-text); font: 400 15px/1 var(--tpl-font); }
.tpl-foot-news-form button { min-height: 40px; padding: 0 16px; border: 1px solid var(--tpl-primary-fill); border-radius: var(--tpl-radius); background: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); font: 600 14px/1 var(--tpl-font); cursor: pointer; }
.tpl-foot--c .tpl-foot-news-form button { background: var(--tpl-surface); color: var(--tpl-text); border-color: var(--tpl-surface); }
.tpl-foot-bottom { border-top: 1px solid var(--tpl-footer-border); }
.kl-foot .tpl-foot-bottom.kl-foot-copy { border-top: 0; }


/* ================= A – Sloupce (Klasik): newsletter pruh, 4 sloupce + logo, platby, spodní pruh v primary ================= */
div#bottom { margin-top: var(--tpl-section-gap); }
.kl-foot { color: var(--tpl-footer-text); }
.kl-foot-news { background: var(--tpl-surface); border-top: 1px solid var(--tpl-border); }
.kl-foot-news-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; padding-top: 16px; padding-bottom: 16px; }
.kl-foot-news-t { margin: 0; font: 700 22px/1.2 var(--tpl-font-head); color: var(--tpl-secondary); }
.kl-foot-news-f { flex: 0 1 560px; }
.kl-foot-news .tpl-foot-news-form { display: flex; gap: 8px; }
.kl-foot-news .tpl-foot-news-form input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 44px; }
.kl-foot-news .tpl-foot-news-form button { min-height: 44px; padding: 0 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.kl-foot-news .tpl-foot-news-note { margin-top: 6px; font-size: 12px; color: var(--tpl-text-light); }
.kl-foot-main { background: var(--tpl-footer-bg); padding: 32px 0 16px; }
.kl-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr) 200px; gap: 24px 32px; align-items: start; }
.kl-foot-logo { grid-column: 5; grid-row: 1; justify-self: end; }
.kl-foot-logo .kl-logo { height: 60px; max-width: 200px; }
.kl-foot-logo .kl-logo img { max-height: 60px; max-width: 200px; }
.kl-foot-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; font: 700 15px/1.3 var(--tpl-font); letter-spacing: .02em; text-transform: uppercase; color: var(--tpl-footer-head); list-style: none; cursor: default; }
.kl-foot-h::-webkit-details-marker { display: none; }
.kl-foot-h .kl-ico { display: none; }
.kl-foot-r { display: flex; flex-direction: column; gap: 0; font-size: 14px; line-height: 28px; }
.kl-foot-r .ramec_body ul { margin: 0; padding: 0; list-style: none; }
.kl-foot-tel { font: 800 18px/28px var(--tpl-font); }
.kl-foot .tpl-foot-social { margin: 8px 0 0; justify-content: flex-start; }
.kl-foot-trust { background: var(--tpl-footer-bg); padding: 8px 0 20px; }
.kl-foot-trust-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.kl-foot-trust .tpl-foot-badge { height: 32px; min-width: 56px; justify-content: center; }
.kl-foot-bar { background: var(--tpl-primary); color: var(--tpl-primary-text); }
.kl-foot-bar .kl-foot-copy { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; border-top: 0; }
.kl-foot-bar .copyright_podpis, .kl-foot-bar .copyright_podpis a, div#bottom .kl-foot-bar a { color: var(--tpl-primary-text); font-size: 12px; }
.kl-foot-bar .kl-dd-tl { color: var(--tpl-primary-text); height: 32px; }
.kl-foot-bar .kl-dd-panel { top: auto; bottom: 36px; }
.kl-foot-lm { display: flex; gap: 8px; }
.kl-nahoru { position: fixed; right: 20px; bottom: calc(20px + var(--tpl-cookie-h, 0px)); z-index: 50; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--tpl-primary); color: var(--tpl-primary-text); box-shadow: var(--tpl-shadow-pop); cursor: pointer; transform: rotate(180deg); display: flex; align-items: center; justify-content: center; }
.kl-nahoru[hidden] { display: none; }
@media (max-width: 1024px) {
    .kl-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kl-foot-logo { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
    .kl-foot-news-in { flex-direction: column; align-items: stretch; }
    .kl-foot-news-f { flex: none; }
}
@media (max-width: 768px) {
    .kl-foot-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .kl-foot-col { border-top: 1px solid var(--tpl-footer-border); }
    .kl-foot-col .kl-foot-h { min-height: 48px; margin: 0; cursor: pointer; }
    .kl-foot-col .kl-foot-h .kl-ico { display: block; }
    .kl-foot-col[open] .kl-foot-h .kl-ico { transform: rotate(180deg); }
    .kl-foot-r { padding-bottom: 12px; }
    .kl-foot-r a { display: inline-flex; align-items: center; min-height: 44px; }
    .kl-foot-logo { margin-bottom: 16px; }
    .kl-foot-bar .kl-foot-copy { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
    .kl-nahoru { bottom: calc(76px + var(--tpl-cookie-h, 0px)); }
}
