/* TopGaráž 2026 – nová hlavička + nové sekce hlavní stránky. Načítá se z inc/topgaraz.php */

/* ===== Hlavička ===== */
.tgh{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:0 1px 0 #ececec,0 10px 30px rgba(0,0,0,.05);font-family:"Poppins",sans-serif}
.tgh a{text-decoration:none;color:inherit}
.tgh__inner{position:relative}
.tgh__bar{display:flex;align-items:stretch;gap:1.25rem;height:84px}
.tgh__logo{display:flex;align-items:center;flex:none}
.tgh__logo img{height:68px;width:auto;display:block}
.tgh__nav{flex:1;display:flex;justify-content:center}
.tgh__menu{display:flex;align-items:stretch;gap:.15rem;list-style:none;margin:0;padding:0}
.tgh__item{display:flex;align-items:center}
.tgh__item:not(.tgh__item--mega){position:relative}
.tgh__link{display:flex;align-items:center;gap:.4rem;padding:.6rem .85rem;border-radius:8px;font-weight:600;font-size:.95rem;color:#111;white-space:nowrap;transition:background .15s ease}
.tgh__link i{font-size:.65rem;color:#888;transition:transform .2s ease}
.tgh__item:hover .tgh__link{background:#f3f3f3}
.tgh__item:hover .tgh__link i{transform:rotate(180deg)}
.tgh__drop{position:absolute;top:100%;z-index:5;background:#fff;border-radius:0 0 16px 16px;box-shadow:0 30px 50px rgba(0,0,0,.12);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.tgh__drop{transition-delay:.12s}
.tgh__item:hover .tgh__drop,.tgh__item:focus-within .tgh__drop{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.tgh__drop--mega{left:1rem;right:1rem;padding:1.25rem;border-top:1px solid #eee}
.tgh-mega__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.9rem}
.tgh-mega__card{display:flex;flex-direction:column;gap:.55rem;padding:.5rem;border-radius:12px;transition:background .15s ease}
.tgh-mega__card:hover{background:#f6f6f6}
.tgh-mega__img{display:block;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#f3f3f3}
.tgh-mega__img img{width:100%;height:100%;object-fit:cover;display:block}
.tgh-mega__name{font-weight:600;font-size:.9rem;color:#111}
.tgh-mega__foot{display:flex;gap:1.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #eee;font-size:.9rem;font-weight:600}
.tgh-mega__foot a{display:inline-flex;align-items:center;gap:.45rem;color:#111}
.tgh-mega__foot a:first-child{color:var(--bt-green-dark);margin-right:auto}
.tgh-mega__foot a:hover{text-decoration:underline}
.tgh__drop--list{left:0;min-width:330px;padding:.6rem;border-radius:14px;border-top:0}
.tgh__drop--list ul{list-style:none;margin:0;padding:0}
.tgh__drop--list li a{display:block;padding:.6rem .75rem;border-radius:8px;font-size:.9rem;color:#222}
.tgh__drop--list li a:hover{background:#f3f3f3}
.tgh__drop-all{display:flex;align-items:center;gap:.4rem;margin-top:.35rem;padding:.65rem .75rem;border-top:1px solid #eee;font-weight:600;font-size:.88rem;color:var(--bt-green-dark)!important}
.tgh__actions{display:flex;align-items:center;gap:.5rem;flex:none}
.tgh__icon{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:50%;background:#f3f3f3;color:#111;font-size:1rem;cursor:pointer;transition:background .15s ease}
.tgh__icon:hover,.tgh__icon[aria-expanded="true"]{background:#e6e6e6}
.tgh__burger{display:none}
.tgh__lang{position:relative}
.tgh__lang-btn{display:flex;align-items:center;gap:.35rem;height:42px;padding:0 .7rem;border:0;border-radius:999px;background:#f3f3f3;cursor:pointer}
.tgh__lang-btn img,.tgh__lang-list img,.tgh__mlangs img{border-radius:2px;display:block}
.tgh__lang-btn i{font-size:.6rem;color:#777}
.tgh__lang-list{position:absolute;right:0;top:calc(100% + 6px);min-width:150px;padding:.4rem;background:#fff;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.12);opacity:0;visibility:hidden;transition:opacity .15s ease}
.tgh__lang-list{transition:opacity .15s ease .2s,visibility 0s linear .35s}
.tgh__lang-list::before{content:"";position:absolute;left:-10px;right:-10px;top:-14px;height:14px}
.tgh__lang:hover .tgh__lang-list,.tgh__lang:focus-within .tgh__lang-list{opacity:1;visibility:visible;transition-delay:0s,0s}
.tgh__lang-list a{display:flex;align-items:center;gap:.55rem;padding:.5rem .6rem;border-radius:8px;font-size:.88rem}
.tgh__lang-list a:hover{background:#f3f3f3}
.tgh__phone{display:flex;align-items:center;gap:.55rem;padding:.25rem .5rem .25rem .25rem;border-radius:999px;font-weight:700;font-size:.95rem;color:#111;white-space:nowrap}
.tgh__phone-ico{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--bt-green);font-size:.85rem}
.tgh__phone:hover .tgh__phone-txt{text-decoration:underline}
.tgh__cta{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;height:44px;padding:0 1.2rem;border-radius:8px;background:var(--bt-green);color:#111!important;font-weight:700;font-size:.85rem;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;transition:background .15s ease}
.tgh__cta:hover{background:var(--bt-green-dark)}
.tgh__search{display:none;align-items:center;gap:.75rem;margin:0 0 1rem;padding:.35rem .35rem .35rem 1.1rem;border:2px solid #e6e6e6;border-radius:999px;background:#fff}
.tgh.is-search-open .tgh__search{display:flex}
.tgh__search i{color:#888}
.tgh__search input[type=search]{flex:1;border:0;outline:0;font:inherit;font-size:1rem;padding:.55rem 0;background:transparent}
.tgh__search button{border:0;border-radius:999px;background:var(--bt-green);padding:.6rem 1.3rem;font:inherit;font-weight:700;cursor:pointer}
.tgh__panel{display:none}

@media (max-width:1279px){
  .tgh__phone-txt{display:none}
  .tgh__phone{padding:0}
  .tgh__phone-ico{width:42px;height:42px}
  .tgh__link{padding:.55rem .6rem;font-size:.9rem}
  .tgh-mega__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1023px){
  .tgh__bar{height:68px;gap:.75rem}
  .tgh__logo{margin-right:auto}
  .tgh__logo img{height:52px}
  .tgh__nav,.tgh__lang,.tgh__actions>.tgh__cta{display:none}
  .tgh__burger{display:grid}
  .tgh.is-menu-open .tgh__burger{background:#111;color:#fff}
  .tgh__panel{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #eee;box-shadow:0 30px 50px rgba(0,0,0,.15);max-height:calc(100vh - 68px);overflow:auto;padding:.5rem 0 1.5rem}
  .tgh.is-menu-open .tgh__panel{display:block}
  .tgh__mlist{list-style:none;margin:0 0 1rem;padding:0}
  .tgh__mlist>li{border-bottom:1px solid #eee}
  .tgh__mlist>li>a,.tgh__mlist summary{display:flex;justify-content:space-between;align-items:center;padding:.95rem .25rem;font-weight:600;font-size:1.05rem;color:#111;cursor:pointer;list-style:none}
  .tgh__mlist summary::-webkit-details-marker{display:none}
  .tgh__mlist summary:after{content:"+";font-size:1.3rem;color:#888}
  .tgh__mlist details[open] summary:after{content:"–"}
  .tgh__mlist details ul{list-style:none;margin:0 0 .75rem;padding:0 0 0 .75rem}
  .tgh__mlist details li a{display:block;padding:.5rem .25rem;color:#444;font-size:.95rem}
  .tgh__cta--block{display:flex;width:100%;height:50px}
  .tgh__mcontact{display:grid;gap:.75rem;margin-top:1.25rem;font-size:.95rem;color:#333}
  .tgh__mcontact a,.tgh__mcontact span{display:flex;align-items:center;gap:.6rem}
  .tgh__mcontact i{width:1.2rem;color:var(--bt-green-dark)}
  .tgh__mlangs{gap:1rem!important;margin-top:.25rem}
  .tgh__mlangs a{display:flex;align-items:center;gap:.4rem;padding:.35rem .6rem;border-radius:8px;background:#f3f3f3;font-weight:600}
}
@media (max-width:420px){
  .tgh__logo img{height:48px}
  .tgh__icon,.tgh__phone-ico{width:38px;height:38px}
}
.tgh__bar{height:92px}
.tgh__logo .tgh__logo-full{height:80px;width:auto;display:block}
@media (max-width:1023px){.tgh__bar{height:72px}.tgh__logo .tgh__logo-full{height:60px}.tgh__panel{max-height:calc(100vh - 72px)}}
@media (max-width:420px){.tgh__logo .tgh__logo-full{height:54px}}

.tgh__top{display:none}
@media (min-width:1024px){
  .tgh{overflow-x:clip}
  .tgh__inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:44px 82px auto;column-gap:1.75rem;transition:grid-template-rows .25s ease}
  .tgh__bar{display:contents}
  .tgh__logo{grid-column:1;grid-row:1 / 3;align-self:center;padding:6px 0}
  .tgh{top:-44px}
  .admin-bar .tgh{top:-12px}
  .tgh__logo .tgh__logo-full{height:114px;transform-origin:left center;transition:transform .25s ease}
  .tgh__top{grid-column:2 / 4;grid-row:1;position:relative;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:0 0 0 1.4rem;background:var(--bt-green);border-radius:0 0 16px 16px;font-size:.84rem;font-weight:600;color:#111;padding-right:.5rem}
  .tgh__top a{color:#111}
  .tgh__top a:hover{text-decoration:underline}
  .tgh__top-item{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap}
  .tgh__top-right{display:flex;align-items:center;gap:1.6rem}
  .tgh__lang--top .tgh__lang-btn{height:32px;background:#fff;font:inherit;font-weight:600;color:#111;gap:.4rem;padding:0 .7rem}
  .tgh__lang--top .tgh__lang-list{z-index:20}
  .tgh__nav{grid-column:2;grid-row:2;justify-content:stretch;padding-right:2.5rem}
  .tgh__menu{flex:1;justify-content:space-between}
  .tgh__actions{grid-column:3;grid-row:2}
  .tgh__actions .tgh__lang,.tgh__actions .tgh__phone{display:none}
  .tgh__search{grid-column:1 / 4;grid-row:3}
  /* zelený pruh odjede nahoru s hlavičkou (sticky top:-44px), logo se jen zmenší transformací – výška hlavičky se nemění, obsah neposkakuje */
  .tgh.is-scrolled .tgh__logo .tgh__logo-full{transform:translateY(22px) scale(.56)}
}
@media (min-width:1024px) and (max-width:1279px){
  .tgh__inner{column-gap:1rem}
  .tgh__logo .tgh__logo-full{height:100px}
  .tgh.is-scrolled .tgh__logo .tgh__logo-full{transform:translateY(22px) scale(.62)}
  .tgh__top-right{gap:1rem}
}

/* ===== Hlavní stránka ===== */
/* ===== TopGaraz – DEMO nové hlavní stránky (pouze nové sekcje) ===== */
:root{--tg-gray:#f6f6f6;--tg-muted:#6b6b6b;--tg-line:#e6e6e6}

/* ---------- Hero / baner ---------- */
.tg-hero-wrap{padding:1rem 0 .9rem}
.tg-hero{position:relative;container-type:inline-size;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 16px 32px rgba(0,0,0,.08)}
.tg-hero__media{aspect-ratio:2400/525;overflow:hidden;background:#eef0ee}
.tg-hero__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.tg-hero__content{position:absolute;left:3.5cqw;top:1.8cqw;width:50cqw}
.tg-hero__kicker{display:flex;align-items:center;gap:.65cqw;margin:0 0 .7cqw;font-size:1.05cqw;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#1fb30b;line-height:1.3}
.tg-hero__kicker:before{content:"";width:2.2cqw;height:.22cqw;border-radius:2px;background:var(--bt-green);flex:none}
.tg-hero__title{margin:0 0 .45cqw;font-size:2.85cqw;font-weight:700;line-height:1.1;color:#111;letter-spacing:-.015em}
.tg-hero__lead{margin:0 0 .8cqw;font-size:1.55cqw;font-weight:700;line-height:1.3;color:#222}
.tg-hero__text{margin:0;font-size:max(12.5px,1.05cqw);line-height:1.55;color:#4a4a4a;max-width:47cqw}
.tg-hero__usp{display:none}
.tg-hero__accent{color:#1fb30b}

/* užší kontejnery: text pod obrázkem, výhody jako HTML */
@container (max-width: 1100px){
  .tg-hero__media{aspect-ratio:auto;height:40cqw}
  .tg-hero__media img{object-position:88% center}
  .tg-hero__content{position:static;width:auto;padding:1.6rem 1.5rem 1.9rem}
  .tg-hero__kicker{font-size:.8rem;gap:.5rem;margin-bottom:.75rem}
  .tg-hero__kicker:before{width:26px;height:3px}
  .tg-hero__title{font-size:clamp(1.7rem,6cqw,2.5rem);margin-bottom:.5rem}
  .tg-hero__lead{font-size:clamp(1.05rem,3.3cqw,1.3rem);margin-bottom:.8rem}
  .tg-hero__text{font-size:1rem;max-width:44rem}
  .tg-hero__usp{display:grid;gap:.75rem;margin:1.4rem 0 0;padding:1.2rem 0 0;list-style:none;border-top:1px solid var(--tg-line)}
  .tg-hero__usp li{display:flex;align-items:center;gap:.75rem;font-size:.95rem;font-weight:500;color:#111}
  .tg-hero__usp i{width:1.6rem;text-align:center;font-size:1.25rem;color:var(--bt-green-dark)}
}
@container (max-width: 560px){
  .tg-hero__media{height:58cqw}
  .tg-hero__media img{object-position:97% center}
}

/* šipky na dlaždicích kategorií */
.hero-categories__tile .tg-tile-arrow{position:absolute;right:.8rem;bottom:.8rem;z-index:2;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--bt-green);color:#111;font-size:.85rem;box-shadow:0 6px 16px rgba(0,0,0,.25);transition:transform .2s ease,background .2s ease,color .2s ease}
.hero-categories__tile:hover .tg-tile-arrow{transform:translateX(3px)}

/* úvodní odstavce pod nadpisy */
.tg-intro{max-width:46rem;margin:.75rem auto 0;color:var(--tg-muted);line-height:1.7;text-align:center}
.tg-certs .certificates__head{margin-bottom:2rem}
.tg-certs .certificates__head:before{top:1.25rem}
.tg-certs__text{position:relative;z-index:1;background:#f6f6f6;padding:0 1rem}
.faq__h{margin:0;font:inherit}

/* ---------- Kategorie: odstup nadpisu ---------- */
.hero-categories .hero-categories__head{margin-bottom:1.75rem}

/* ---------- Konfigurátor ---------- */
.tg-config{padding:3rem 0}
.tg-config__inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:2.5rem;align-items:center;background:var(--tg-gray);border-radius:18px;padding:2.75rem}
.tg-config__title{font-size:2rem;margin:0 0 .85rem;line-height:1.25}
.tg-config__text{margin:0 0 1.5rem;color:var(--tg-muted);line-height:1.7;max-width:34rem}
.tg-btn{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem 1.75rem;border-radius:999px;background:var(--bt-green);color:#111;font-weight:600;text-decoration:none;transition:background .2s ease,transform .2s ease}
.tg-btn:hover,.tg-btn:focus-visible{background:var(--bt-green-dark);transform:translateY(-2px)}
.tg-config__steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;counter-reset:tgstep}
.tg-config__steps li{counter-increment:tgstep;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;min-height:7.5rem;padding:1.4rem .4rem 1.1rem;background:#fff;border-radius:12px;text-align:center;font-size:.85rem;font-weight:600;color:#111;box-shadow:0 10px 20px rgba(0,0,0,.05)}
.tg-config__steps li:before{content:counter(tgstep);position:absolute;top:.45rem;left:.6rem;font-size:.7rem;font-weight:600;color:#9ca3af}
.tg-config__steps i{font-size:1.5rem;color:var(--bt-green-dark)}

/* ---------- O výrobci ---------- */
.tg-about{padding:3rem 0 3.5rem}
.tg-about__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3.5rem;align-items:center}
.tg-about__row + .tg-about__row,.tg-about__row + .tg-about__full,.tg-about__full + .tg-about__row{margin-top:3.5rem}
.tg-about__full{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:1rem 3.5rem;align-items:start;padding:2.5rem 2.75rem;background:var(--tg-gray);border-radius:18px}
.tg-about__full-head h3{font-size:1.45rem;font-weight:600;line-height:1.3;margin:0;color:#111}
.tg-about__full-head h3:after{content:"";display:block;width:44px;height:3px;margin-top:1rem;background:var(--bt-green);border-radius:2px}
.tg-about__full-body{columns:2;column-gap:2.5rem}
.tg-about__full-body p{margin:0 0 1rem;color:#5f5f5f;line-height:1.75;break-inside:avoid}
.tg-about__full-body p:only-child{margin:0}
.tg-about__full-body:has(p:only-child){columns:1;max-width:46rem}
.tg-about__row--reverse .tg-about__media{order:-1}
.tg-about__title{font-size:2rem;margin:0 0 1.25rem;line-height:1.25}
.tg-about__content h3{font-size:1.3rem;font-weight:600;line-height:1.35;margin:2rem 0 .8rem;color:#111}
.tg-about__content h3:first-child{margin-top:0}
.tg-about__content p{margin:0 0 1rem;color:#5f5f5f;line-height:1.75}
.tg-about__content p:last-child{margin-bottom:0}
.tg-about__media{margin:0;border-radius:16px;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,.1);background:var(--tg-gray)}
.tg-about__media img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}

/* ---------- Proces objednávky ---------- */
.tg-process{padding:3.5rem 0}
.tg-process__title{font-size:2rem;margin:0 0 2.5rem;text-align:center}
.tg-process__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem;position:relative}
.tg-process__list:before{content:"";position:absolute;top:32px;left:12.5%;right:12.5%;height:1px;background:var(--tg-line)}
.tg-process__item{position:relative;text-align:center;padding:0 .5rem}
.tg-process__num{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 1.1rem;border-radius:50%;background:var(--tg-gray);font-size:1.35rem;font-weight:600;color:#111;box-shadow:0 0 0 8px #fff}
.tg-process__heading{font-size:1.1rem;font-weight:600;margin:0 0 .5rem}
.tg-process__text{margin:0;color:var(--tg-muted);line-height:1.6;font-size:.95rem}

/* FAQ odkazy v odpovědích */
.faq__answer a{color:var(--bt-green-dark);text-decoration:underline}

/* ---------- Responsive ---------- */
@media (max-width:1023px){
  .tg-about__full{grid-template-columns:1fr}
  .tg-about__full-body{columns:1}
  .tg-config__inner{grid-template-columns:1fr;padding:2rem}
  .tg-process__list{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:2.25rem}
  .tg-process__list:before{display:none}
}
@media (max-width:767px){
  .tg-hero-wrap{padding:.5rem 0 .9rem}
  .tg-config__title,.tg-about__title,.tg-process__title{font-size:1.6rem}
  .tg-config__inner{padding:1.5rem}
  .tg-config__steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tg-about__row{grid-template-columns:1fr;gap:1.75rem}
  .tg-about__full{grid-template-columns:1fr;padding:1.75rem 1.5rem}
  .tg-about__full-body{columns:1}
  .tg-about__row + .tg-about__row,.tg-about__row + .tg-about__full,.tg-about__full + .tg-about__row{margin-top:2.5rem}
  .tg-about__row--reverse .tg-about__media{order:0}
  .tg-process__list{grid-template-columns:1fr;row-gap:1.75rem}
}

/* certyfikaty wyśrodkowane, gdy mieszczą się w jednym widoku */
@media (min-width:640px){
  .tg-certs .swiper-wrapper{justify-content:center}
  .tg-certs .certificates__nav:has(.swiper-button-lock){display:none}
}
.cta-swatches__button{margin-top:.25rem}

/* ---------- Doplňky pro WordPress ---------- */
.tgh__btnlink{border:0;background:transparent;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.tgh__btnlink:hover{text-decoration:underline}
button.tgh__phone{border:0;background:transparent;font:inherit;cursor:pointer}
.tgh__logo-text{font-weight:700;font-size:1.4rem;color:#111}
/* motiv má html{margin-top:0!important}, admin lišta by překrývala horní část stránky – posuneme obsah jen pro přihlášené */
body.tg2026.admin-bar{padding-top:32px!important}
@media (max-width:782px){body.tg2026.admin-bar{padding-top:46px!important}}
@media (max-width:1023px){.admin-bar .tgh{top:32px}}
@media (max-width:782px){.admin-bar .tgh{top:46px}}
@media (max-width:600px){.admin-bar .tgh{top:0}}
.tgh__lang-trp{display:flex;align-items:center}
.tgh__menu .tgh__link[aria-current="page"]{color:var(--bt-green-dark)}
.tg2026 .site-main{overflow-x:clip}
