/* TvaLaska – nový design obsahových bloků (kategorie, články).
   Vše je pod třídou .tl, šablonu Shoptetu nepřepisuje. Verze 1 – 2026-11-16 */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=DynaPuff:wght@500&family=Oswald:wght@500&display=swap");

@font-face{font-family:'New Title';src:url('NewTitle-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'New Title';src:url('NewTitle-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'New Title';src:url('NewTitle-700.woff2') format('woff2');font-weight:700;font-display:swap}

.tl{--fig:#381B27;--lila:#9979B5;--lilad:#5F3F7D;--mand:#E8702C;--mat:#B7D37F;--line:#E9E3E6;
  --head:'New Title','Oswald','Arial Narrow',Impact,sans-serif;--body:'Archivo','Segoe UI',Arial,sans-serif;--fun:'DynaPuff','Comic Sans MS',cursive;
  container-type:inline-size;color:var(--fig);font:16px/1.6 var(--body);margin:0 0 32px}
.tl *,.tl *::before,.tl *::after{box-sizing:border-box}
.tl p{margin:0 0 10px}
.tl h2{margin:0 0 14px;font:500 clamp(28px,3.6cqi,42px)/1.05 var(--head);text-transform:uppercase;color:var(--fig);text-wrap:balance}
.tl h3{margin:0;font:700 18px/1.25 var(--body);color:var(--fig)}
.tl a{color:var(--lilad);font-weight:700}
.tl a:hover{color:var(--mand)}
.tl .ic{width:22px;height:22px;flex:none}

/* Perex pod H1 */
.tl-lead{font-size:18px;font-weight:500;max-width:62ch;margin:4px 0 0}

/* Tip od Melindy */
.tl-tip{position:relative;display:flex;gap:16px;align-items:center;background:#F3EEF7;border-left:6px solid var(--lila);border-radius:16px;padding:16px 20px;margin:18px 0 0}
.tl-tip img{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:50% 20%;flex:none}
.tl-tip small{display:block;font:500 13px/1.2 var(--body);text-transform:uppercase;letter-spacing:.06em;color:var(--lilad)}
.tl-tip h3{font:500 20px/1.2 var(--fun);margin:2px 0 4px}
.tl-tip p{margin:0;font-size:15px}

/* Rozcestník na obsah pod produkty */
.tl-nav{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.tl-nav a{display:inline-block;padding:7px 14px;border:2px solid var(--fig);border-radius:999px;color:var(--fig);font-weight:700;font-size:14px;line-height:1.2;text-decoration:none;white-space:nowrap}
.tl-nav a:hover{background:var(--fig);color:#fff}
.tl [id]{scroll-margin-top:110px}
.tl-tip-mob{display:none}

/* Nejprodávanější na kategoriích v novém designu: kompaktní řádek místo velkého bloku */
body.type-category .category-top .products-top-wrapper{margin:14px 0 10px!important;padding:0!important}
body.type-category .category-top .products-top-header{font:600 13px/1.2 'Archivo',Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.06em;color:#5F3F7D;margin:0 0 8px!important}
body.type-category .category-top #productsTop{display:flex!important;gap:10px;flex-wrap:nowrap;overflow-x:auto;counter-reset:bs;margin:0!important;scrollbar-width:none}
body.type-category .category-top #productsTop .product{counter-increment:bs;flex:1 0 220px!important;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important}
body.type-category .category-top #productsTop .product:not(.active){display:none!important}
body.type-category .category-top #productsTop .p{display:flex;align-items:center;gap:10px;height:100%;border:2px solid #E9E3E6;border-radius:14px;padding:10px 12px!important;background:#fff;text-align:left!important}
body.type-category .category-top #productsTop .p::before{content:counter(bs);flex:none;width:28px;height:28px;border-radius:50%;background:#B7D37F;color:#381B27;display:grid;place-items:center;font:700 14px/1 'Archivo',Arial,sans-serif}
body.type-category .category-top #productsTop .p:hover{border-color:#381B27}
body.type-category .category-top #productsTop .p-in,body.type-category .category-top #productsTop .p-in-in,body.type-category .category-top #productsTop .p-bottom{padding:0!important;margin:0!important;min-height:0!important}
body.type-category .category-top #productsTop .p-in{flex:1;min-width:0}
body.type-category .category-top #productsTop .name{display:block;font:600 14px/1.3 'Archivo',Arial,sans-serif!important;color:#381B27!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.type-category .category-top #productsTop .ratings-wrapper,body.type-category .category-top #productsTop .price-standard-wrapper,body.type-category .category-top #productsTop .price-save{display:none!important}
body.type-category .category-top #productsTop .price-final{font:700 14px/1.2 'Archivo',Arial,sans-serif!important;color:#E8702C;margin:0!important;white-space:nowrap}
body.type-category .category-top .products-top-wrapper .browse-p,body.type-category .category-top .products-top-wrapper [class*=more]{display:none!important}

/* Mobil: menší mezera nad nadpisem kategorie v novém designu */
@media (max-width:767px){
  body.type-category #content-wrapper{padding-top:12px!important}
  body.type-category .category-top .category-title{margin-top:0!important;margin-bottom:8px!important}
}

/* ===== Zápatí (celý web) ===== */
#footer{--fig:#381B27;--mand:#E8702C;--mat:#B7D37F;--lilad:#5F3F7D;font-family:'Archivo','Segoe UI',Arial,sans-serif;color:var(--fig)}
#footer .footer-newsletter{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px 48px;align-items:start;background:#F3EEF7;border-radius:22px;padding:32px 36px!important;margin-top:48px;margin-bottom:40px}
#footer .footer-newsletter::before,#footer .footer-newsletter::after{display:none!important}
#footer .newsletter-header{width:auto!important;max-width:none!important;padding:0!important;float:none!important}
#footer .newsletter-header .topic{font:500 clamp(28px,3vw,40px)/1.05 'New Title','Oswald','Arial Narrow',sans-serif!important;text-transform:uppercase;margin:0 0 8px!important;color:var(--fig)}
#footer .newsletter-header p{margin:0;font-size:16px}
#footer .subscribe-form{width:auto!important;max-width:none!important;padding:0!important;float:none!important}
#footer .subscribe-form fieldset{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end;margin:0;padding:0;border:0}
#footer .subscribe-form fieldset>.form-group.smart-label-wrapper{flex:1 1 260px;margin:0}
#footer .subscribe-form fieldset.box{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;background:none!important;padding:0!important;margin:0!important;border:0}
#footer .subscribe-form fieldset.box h2{flex:1 1 100%;font:600 13px/1.2 'Archivo',Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.05em;margin:4px 0 0!important}
#footer .subscribe-form fieldset.box .form-group{margin:0!important}
#footer .subscribe-form fieldset.box .smart-label-wrapper{flex:0 1 180px}
#footer .subscribe-form .consents{flex:1 1 100%;margin:0!important;font-size:13px}
#footer .subscribe-form .consents .label{font-size:13px!important;margin:0}
#footer .subscribe-form input[type=email],#footer .subscribe-form input[type=text]{border:2px solid var(--fig)!important;border-radius:12px!important;height:48px}
#footer .subscribe-form .btn{background:var(--fig)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:12px 26px!important;font-weight:700;letter-spacing:.03em;min-height:48px}
#footer .subscribe-form .btn:hover{background:var(--mand)!important}
#footer .footer-rows{padding-top:8px}
#footer .footer-rows .pageElement__heading{font:500 22px/1.1 'New Title','Oswald','Arial Narrow',sans-serif!important;text-transform:uppercase;letter-spacing:.01em;margin:0 0 14px!important;color:var(--fig)}
#footer .footer-rows ul{padding:0;margin:0}
#footer .footer-rows li,#footer .footer-rows a,#footer .newsItemWidget__heading,#footer .newsItemWidget__heading a{font-size:15px!important;line-height:1.45!important;font-weight:400!important;color:var(--fig);font-family:'Archivo','Segoe UI',Arial,sans-serif!important}
#footer .footer-rows li{margin:0 0 7px!important;padding-left:0!important}
#footer .footer-rows li::before{display:none!important}
#footer .news-item-widget{margin:0 0 7px!important;padding:0!important}
#footer .newsItemWidget__heading{margin:0!important}
#footer .footer-rows a:hover{color:var(--mand)!important}
#footer .custom-footer__onlinePayments .text-center{text-align:left!important}
#footer .footer-bottom{font-size:13px;opacity:.85}
@media (max-width:767px){
  #footer .footer-newsletter{grid-template-columns:minmax(0,1fr);padding:22px 18px!important;border-radius:16px;margin:28px 0 28px}
  #footer .subscribe-form .btn{width:100%}
  #footer .custom-footer__onlinePayments .text-center{text-align:left!important}
}


/* Pruh s Melindou v zápatí (HTML vkládá kód do patičky) */
body>.tl-foot-me{display:none}
#footer .tl-foot-me{display:flex;align-items:center;gap:22px;background:#B7D37F;border-radius:22px;padding:22px 28px;margin:0 0 36px;color:#381B27;font-family:'Archivo','Segoe UI',Arial,sans-serif}
#footer .tl-foot-me img{width:84px;height:84px;border-radius:48% 52% 44% 56%/56% 46% 54% 44%;object-fit:cover;object-position:50% 22%;border:2px solid #381B27;flex:none}
#footer .tl-foot-me b{display:block;font:500 30px/1 'New Title','Oswald','Arial Narrow',sans-serif;text-transform:uppercase}
#footer .tl-foot-me span{display:block;font-size:15px;margin-top:4px}
#footer .tl-foot-me ul{list-style:none;margin:0 0 0 auto;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px;font-weight:700;font-size:16px}
#footer .tl-foot-me li{font-size:16px!important;font-weight:700!important;margin:0!important}
#footer .tl-foot-me li::before{display:none!important}
#footer .tl-foot-me a{color:#381B27!important;text-decoration:none;font-size:16px!important;font-weight:700!important}
#footer .tl-foot-me a:hover{color:#E8702C!important}
@media (max-width:767px){#footer .tl-foot-me{flex-wrap:wrap;padding:18px;gap:14px}#footer .tl-foot-me img{width:64px;height:64px}#footer .tl-foot-me ul{margin:0;flex-direction:column;gap:6px}}

/* Kde už je Melinda v obsahu (karta u otázek), pruh v zápatí neopakovat */
body:has(.tl-me) #footer .tl-foot-me{display:none!important}

/* Jak vybrat – kroky + fotka */
.tl-vy{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:44px;align-items:stretch;margin-top:48px}
.tl-uw{position:relative;display:inline-block}
.tl-ul{position:absolute;left:0;right:0;bottom:-8px;width:100%;height:12px;color:var(--mand)}
.tl-steps{list-style:none;counter-reset:s;padding:0;margin:10px 0 0;display:grid;gap:4px}
.tl-steps li{counter-increment:s;display:grid;grid-template-columns:50px minmax(0,1fr);column-gap:10px;border-bottom:1px solid var(--line);padding:10px 0}
.tl-steps li::before{content:counter(s);grid-row:span 2;width:44px;height:44px;border-radius:50%;border:2px solid var(--fig);display:grid;place-items:center;font:500 22px var(--head)}
.tl-steps p{margin:2px 0 0;font-size:15px}
.tl-ph{position:relative;min-height:420px;border-radius:18px;overflow:hidden}
.tl-ph img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover}

/* Srovnání */
.tl-cmp{margin-top:40px}
.tl-sub{font:500 24px/1.1 var(--head)!important;text-transform:uppercase;margin:0 0 8px!important}
.tl-tw{overflow-x:auto}
.tl table{border-collapse:collapse;width:100%;font-size:15px;font-variant-numeric:tabular-nums;border:0;margin:0}
.tl th,.tl td{text-align:left;padding:10px 12px 10px 0;border:0;border-bottom:1px solid var(--line);vertical-align:top;min-width:92px;background:none}
.tl thead th{border-bottom:2px solid var(--fig);font-weight:700}
.tl tbody th{font-weight:700}

/* FAQ + kontakt */
.tl-fq{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:44px;align-items:start;margin-top:52px}
.tl details{border-bottom:2px solid var(--fig)}
.tl summary{cursor:pointer;font-weight:700;padding:13px 2px;min-height:44px;font-size:17px;list-style:none}
.tl summary::-webkit-details-marker{display:none}
.tl summary::after{content:"+";float:right;font:500 24px/1 var(--head);color:var(--mand)}
.tl details[open] summary::after{content:"–"}
.tl summary:hover{color:var(--lilad)}
.tl details p{margin:0 0 14px;max-width:70ch}
.tl-me{position:sticky;top:90px;background:var(--mat);border-radius:18px;padding:24px;text-align:center}
.tl-ava{width:110px;height:110px;margin:0 auto 12px;border-radius:48% 52% 44% 56%/56% 46% 54% 44%;overflow:hidden;border:2px solid var(--fig)}
.tl-ava img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.tl-me h3{font:500 32px/1 var(--head);text-transform:uppercase}
.tl-me p{margin:8px 0 10px}
.tl-cl{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:700}
.tl-cl li{display:flex;gap:6px;align-items:center}
.tl-cl a{color:var(--fig)}

/* Výhody */
.tl-vb{background:var(--mat);padding:24px 28px;border-radius:18px;margin-top:48px}
.tl-vb ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:18px}
.tl-vb li{display:flex;gap:10px;align-items:flex-start;min-width:0}
.tl-vb .ic{width:30px;height:30px;margin-top:2px}
.tl-vb b{display:block;font:500 21px/1.05 var(--head);text-transform:uppercase}
.tl-vb span{display:block;font-size:14px;line-height:1.3;margin-top:3px}

@container (max-width:760px){
  .tl-lead{font-size:15px;line-height:1.45}
  .tl-top{margin-bottom:16px}
  .tl-top .tl-tip{display:none}
  .tl-tip-mob{display:flex;margin:0 0 8px}
  .tl-nav{flex-wrap:nowrap;overflow-x:auto;margin-top:10px;padding-bottom:4px;scrollbar-width:none}
  .tl-nav a{padding:6px 12px;font-size:13px}
  .tl-vy,.tl-fq{grid-template-columns:minmax(0,1fr);gap:22px;margin-top:36px}
  .tl-ph{min-height:300px}
  .tl-me{position:static}
  .tl-vb{padding:20px 16px}
  .tl-vb ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .tl thead{display:none}
  .tl tbody tr{display:block;border-bottom:1px solid var(--line);padding:12px 0}
  .tl tbody th,.tl tbody td{display:block;border:0;padding:1px 0;min-width:0}
  .tl tbody th{font-size:17px}
  .tl tbody td:nth-of-type(1){font-weight:700;color:var(--mand)}
}

/* New Title je hodně úzké písmo – větší velikosti, ať je čitelné (v6) */
.tl h2{font-size:clamp(40px,5cqi,60px)!important;letter-spacing:.01em}
.tl-sub{font-size:34px!important}
.tl-steps li::before{font:500 30px var(--head)!important}
.tl summary::after{font:700 22px/1 var(--body)!important}
.tl-me h3{font-size:46px!important}
.tl-vb b{font-size:30px!important;letter-spacing:.01em}
#footer .newsletter-header .topic{font-size:clamp(40px,4.4vw,58px)!important;letter-spacing:.01em}
#footer .footer-rows .pageElement__heading{font-size:32px!important;letter-spacing:.015em}
#footer .tl-foot-me b{font-size:44px}
@media (max-width:767px){#footer .footer-rows .pageElement__heading{font-size:30px!important}}

/* Nejprodávanější: miniatura z výpisu (doplňuje skript v patičce) */
body.type-category .category-top #productsTop .tl-bs-img{width:52px;height:52px;object-fit:cover;border-radius:10px;flex:none;background:#f6f3f4}
body.type-category .category-top #productsTop .p:has(.tl-bs-img)::before{display:none}
body.type-category .category-top .toggle-top-products{display:none!important}

/* Podkategorie na kategoriích v novém designu: na mobilu jeden posuvný řádek (v7) */
@media (max-width:767px){
  body.type-category .subcategories.with-image{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;margin:8px 0 6px!important;padding:0 0 4px!important;scrollbar-width:none}
  body.type-category .subcategories.with-image>li{flex:0 0 auto!important;width:auto!important;max-width:none!important;padding:0!important;margin:0!important;float:none!important}
  body.type-category .subcategories.with-image>li>a{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;align-items:center;gap:8px;height:auto!important;min-height:0!important;padding:6px 14px 6px 6px!important;border:2px solid #E9E3E6;border-radius:999px;background:#fff;text-decoration:none}
  body.type-category .subcategories.with-image .image{width:40px!important;height:40px!important;flex:none;border-radius:50%;overflow:hidden;margin:0!important;display:block}
  body.type-category .subcategories.with-image .image img{width:40px!important;height:40px!important;object-fit:cover;max-width:none!important}
  body.type-category .subcategories.with-image .text{display:block!important;font:600 14px/1.2 'Archivo',Arial,sans-serif!important;color:#381B27!important;white-space:nowrap;padding:0!important;margin:0!important}
}
/* Parametry produktu: oranžová cena z tabulky srovnání jen tam, kde je hlavička (v7) */
@container (max-width:760px){.tl table:not(:has(thead)) tbody td:nth-of-type(1){font-weight:400;color:inherit}}

/* Podkategorie na desktopu: karty v barvách značky (v7) */
@media (min-width:768px){
  body.type-category .subcategories.with-image{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:28px 0 28px!important;padding:0!important;width:100%!important}
  body.type-category .subcategories.with-image::before,body.type-category .subcategories.with-image::after{display:none!important}
  body.type-category .subcategories.with-image>li{display:block!important;text-align:left!important;width:100%!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important;float:none!important}
  body.type-category .subcategories.with-image>li>a{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:14px;width:100%!important;box-sizing:border-box;height:100%!important;padding:12px 16px 12px 12px!important;border:2px solid #EEF5E1;border-radius:18px;background:#EEF5E1;text-decoration:none!important;transition:border-color .15s,transform .15s,box-shadow .15s}
  body.type-category .subcategories.with-image>li>a:hover{border-color:#381B27;transform:translateY(-2px);box-shadow:0 6px 18px rgba(56,27,39,.08)}
  body.type-category .subcategories.with-image .image{width:72px!important;height:72px!important;flex:none;border-radius:50%;overflow:hidden;margin:0!important;display:block;background:#fff}
  body.type-category .subcategories.with-image .image img{width:72px!important;height:72px!important;object-fit:cover;max-width:none!important}
  body.type-category .subcategories.with-image .text{display:block!important;font:700 17px/1.25 'Archivo','Segoe UI',Arial,sans-serif!important;color:#381B27!important;text-decoration:none!important;padding:0!important;margin:0!important;text-align:left!important}
  body.type-category .subcategories.with-image>li>a:hover .text{color:#E8702C!important}
}

/* Oprava rozbalovacího menu na PC: šablona ho dávala na spodek obrazovky; teď panel pod hlavičkou přes šířku okna (v8) */
@media (min-width:992px){
  #header .menu-level-2{position:fixed!important;top:auto!important;bottom:auto!important;left:24px!important;right:24px!important;width:auto!important;max-width:none!important;margin-top:0!important;max-height:calc(100vh - 160px);overflow:auto;padding:18px 24px!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:12px!important;box-shadow:0 14px 30px rgba(56,27,39,.14);border-radius:0 0 18px 18px;z-index:1001}
}

/* Menu na PC: fotky podkategorií místo srdíček (obrázek doplňuje skript v patičce, v9) */
@media (min-width:992px){
  #header .menu-level-2>li>a::before{background-image:var(--tl-img,none)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;width:64px!important;height:64px!important;border-radius:50%!important;flex:none;background-color:#F3EEF7}
  #header .menu-level-2>li>a{font-weight:600;color:#381B27}
  #header .menu-level-2>li>a:hover{color:#E8702C}
}

/* Lehký redesign hlavičky na PC (v10) */
@media (min-width:992px){
#header{box-shadow:0 6px 24px rgba(56,27,39,.08)!important}
#header .menu-level-1>li>a{font-family:'Archivo','Segoe UI',Arial,sans-serif!important;font-weight:600!important;font-size:16px!important;color:#381B27!important;position:relative;transition:color .15s}
#header .menu-level-1>li>a::after{content:"";position:absolute;left:14px;right:14px;bottom:22px;height:8px;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 12C60 2 110 16 160 8s90 4 137 0' fill='none' stroke='%23E8702C' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
#header .menu-level-1>li>a:hover,#header .menu-level-1>li.exp>a,#header .menu-level-1>li>a.active{color:#E8702C!important}
#header .menu-level-1>li>a:hover::after,#header .menu-level-1>li.exp>a::after,#header .menu-level-1>li>a.active::after{opacity:1;transform:none}
#header .menu-level-1>li.menu-item-817>a{background:#E8702C;color:#fff!important;border-radius:999px;height:40px!important;line-height:40px!important;margin:0!important;padding:0 18px!important;display:inline-flex!important;align-items:center}
#header .menu-level-1>li.menu-item-817{display:flex!important;align-items:center;height:80px}
#header .menu-level-1>li.menu-item-817>a::after{display:none}
#header .menu-level-1>li.menu-item-817>a:hover{background:#381B27}
#header .navigation-buttons .top-nav-button-login{background:transparent!important}
#header .navigation-buttons .top-nav-button-login:hover,#header .navigation-buttons a.toggle-window:hover{background:#F3EEF7!important}
#header .navigation-buttons a,#header .navigation-buttons button{color:#381B27!important}
#header .navigation-buttons .dropdown button{border:0!important;font-family:'Archivo',Arial,sans-serif;font-weight:600;color:#381B27!important}
#header .menu-level-2 a,#header .menu-level-2 a span{font-family:'Archivo','Segoe UI',Arial,sans-serif!important;font-weight:600!important;color:#381B27}
#header .menu-level-2 a:hover,#header .menu-level-2 a:hover span{color:#E8702C!important}
#header .navigation-buttons .cart-count i{background:#E8702C!important;color:#fff!important;font-style:normal;font-weight:700}
}

/* Perex kategorie širší na PC, ať vpravo nezůstává prázdné místo (v10) */
@container (min-width:900px){.tl-lead{max-width:92ch}}
