/* LAWI titulka: velke fotky se sedym podkladem (Doporucene, Novinky) */
.homepage-tabs-wrapper .products-block{gap:8px}
.homepage-tabs-wrapper .products-block>.product{flex:0 0 calc(25% - 6px)!important;max-width:calc(25% - 6px)!important;width:calc(25% - 6px)!important;padding:0!important}
.homepage-tabs-wrapper .product .p{padding:0!important;background:none!important}
.homepage-tabs-wrapper .product .image{display:flex!important;align-items:center;justify-content:center;background:#f0f1f3;aspect-ratio:4/5;padding:0;margin:0 0 16px!important;overflow:hidden}
.homepage-tabs-wrapper .product .image img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;transform:scale(.92);mix-blend-mode:multiply;transition:transform .3s}
.homepage-tabs-wrapper .product:hover .image img{transform:scale(.97)}
.homepage-tabs-wrapper .product .name{text-transform:uppercase;font-size:13px!important;font-weight:700!important;color:#171113!important;padding:0 10px}
.homepage-tabs-wrapper .product .price-final{font-size:16px!important;font-weight:500!important}
#products-1 .product .image::before{top:16px!important;left:16px!important;border-radius:0!important;background:#fff!important;color:#555!important;font-weight:500!important;font-size:12px!important;padding:6px 12px!important}
.lawi-arr{top:28%!important;width:56px!important;height:56px!important;font-size:30px!important;line-height:54px!important;background:#171113!important;opacity:1!important}
.lawi-arr.l{left:10px!important;background:rgba(23,17,19,.35)!important}.lawi-arr.r{right:10px!important}
@media(max-width:991px){.homepage-tabs-wrapper .products-block>.product{flex-basis:calc(50% - 4px)!important;max-width:calc(50% - 4px)!important;width:calc(50% - 4px)!important}}
@media(max-width:575px){.homepage-tabs-wrapper .products-block>.product{flex-basis:80%!important;max-width:80%!important;width:80%!important}}

/* ===== Kategorie Etixx (id 820) jako na lawi.cz ===== */
body.type-category .sidebar{display:none!important}
body.type-category .content{width:100%!important;max-width:100%!important;flex:1 1 100%!important;margin-left:0!important;padding-left:0!important}
body.id-820 .category-title{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.category-perex h2{font-size:30px;font-weight:700;margin:10px 0 12px}
.lawi-slider{position:relative;width:100%;aspect-ratio:1246/281;margin:35px 0 10px;overflow:hidden}
.lawi-slider .lawi-slide{position:absolute;inset:0;opacity:0;animation:lawiFade 20s infinite}
.lawi-slider .lawi-slide img{width:100%;height:100%;object-fit:cover;display:block}
.lawi-slider .s2{animation-delay:5s}.lawi-slider .s3{animation-delay:10s}.lawi-slider .s4{animation-delay:15s}
@keyframes lawiFade{0%{opacity:0;z-index:1}3%{opacity:1;z-index:3}25%{opacity:1;z-index:3}28%{opacity:0;z-index:1}100%{opacity:0;z-index:1}}
body.type-category ul.subcategories{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px 26px;border-top:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf;padding:20px 0;margin:30px 0!important}
body.type-category ul.subcategories li{width:auto!important;max-width:none!important;flex:0 0 auto!important;padding:0!important;margin:0!important}
body.type-category ul.subcategories .image{display:none!important}
body.type-category ul.subcategories a{display:inline!important;font-family:Montserrat,sans-serif;font-weight:700;font-size:15px;text-transform:uppercase;color:#171113!important;border:0!important;background:none!important;padding:0!important;min-height:0!important;height:auto!important;box-shadow:none!important}
body.type-category ul.subcategories a:hover{color:#69c2be!important}

/* ===== Rozbalovaci menu jako lawi.cz (siroky sedy panel) ===== */
.lawi-nav>li{position:static!important}
.lawi-nav>li>ul{position:absolute!important;left:0!important;right:0!important;top:100%!important;width:auto!important;min-width:0!important;margin:0!important;padding:38px 40px 46px!important;background:#f4f4f4!important;border:0!important;border-top:4px solid #171113!important;border-radius:0!important;box-shadow:0 8px 16px rgba(0,0,0,.08)!important;z-index:1000;display:none!important;flex-wrap:nowrap;justify-content:space-between;gap:0}
.lawi-nav>li:hover>ul{display:flex!important}
.lawi-nav>li>ul>li{flex:1 1 0;max-width:none!important;padding:0 10px!important;margin:0!important;border:0!important;list-style:none}
.lawi-nav>li>ul>li>a{display:block;padding:0!important;font-family:Montserrat,sans-serif!important;font-size:15px!important;font-weight:700!important;text-transform:none!important;color:#2e2e2d!important;background:none!important;white-space:nowrap}
.lawi-nav>li>ul>li>a:hover{color:#69c2be!important}
.lawi-nav>li>a{padding-bottom:22px!important;margin-bottom:-22px!important}
/* ===== Kategorie: nadpis jako lawi.cz ===== */
body.type-category .category-title{text-align:center;text-transform:uppercase;font-size:40px;font-weight:800;margin:20px 0 30px}
body.type-category .category-perex{font-size:17px;line-height:1.9;margin-bottom:20px}

/* ===== Kategorie: nadpis z popisu (jako lawi.cz), bez dvojiteho H1 ===== */
body.type-category .content:has(.category-perex h1) .category-title,body.type-category .content:has(.category-perex h2) .category-title{display:none!important}
body.type-category .category-perex h1{font-family:Montserrat,sans-serif;font-size:44px;font-weight:800;text-transform:uppercase;text-align:center;margin:25px 0 35px;color:#171113}
body.type-category .category-perex{max-width:none!important}
body.type-category .category-perex a{color:#171113;text-decoration:underline}
@media(max-width:767px){body.type-category .category-perex h1{font-size:28px}}

/* ===== Kategorie: Nejprodavanejsi v kategorii ===== */
#lawi-bs{margin:30px 0 10px}
#lawi-bs h2{font-family:Montserrat,sans-serif;font-size:30px;font-weight:800;margin:0 0 20px 20px;color:#171113}
#lawi-bs .bs-wrap{position:relative}
#lawi-bs .bs-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;padding:0 40px}
#lawi-bs .bs-track::-webkit-scrollbar{display:none}
#lawi-bs .bs-item{flex:0 0 calc(25% - 8px);scroll-snap-align:start;display:flex;align-items:center;gap:14px;text-decoration:none;color:#171113}
#lawi-bs .bs-img{flex:0 0 42%;aspect-ratio:3/4;background:#f0f1f3;display:flex;align-items:center;justify-content:center;overflow:hidden}
#lawi-bs .bs-img img{width:100%;height:100%;object-fit:contain;transform:scale(1.3);mix-blend-mode:multiply}
#lawi-bs .bs-txt{display:flex;flex-direction:column;gap:12px;text-align:right;flex:1}
#lawi-bs .bs-name{font-weight:600;font-size:15px;line-height:1.35}
#lawi-bs .bs-price{font-weight:800;font-size:20px;white-space:nowrap}
#lawi-bs .bs-arr{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:46px;border-radius:50%;border:0;color:#fff;font-size:28px;line-height:44px;cursor:pointer;background:#2e8c87}
#lawi-bs .bs-arr.l{left:0;background:#b9dedc}#lawi-bs .bs-arr.r{right:0}
@media(max-width:991px){#lawi-bs .bs-item{flex-basis:calc(50% - 6px)}}
@media(max-width:575px){#lawi-bs .bs-item{flex-basis:85%}}
/* ===== Kategorie: vypis produktu jako lawi.cz (velke fotky) ===== */
body.type-category .products-page .product .p{border:0!important;box-shadow:none!important;padding:0!important}
body.type-category .products-page .product .image{display:flex!important;align-items:center;justify-content:center;background:#f0f1f3;aspect-ratio:4/5;padding:0;margin:0 0 16px!important;overflow:hidden}
body.type-category .products-page .product .image img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain;transform:scale(1.25);mix-blend-mode:multiply;transition:transform .3s}
body.type-category .products-page .product:hover .image img{transform:scale(1.3)}
body.type-category .products-page .product .p-code,body.type-category .products-page .product .availability,body.type-category .products-page .product .p-desc{display:none!important}
body.type-category .products-page .product .name{font-size:15px!important;font-weight:600!important;color:#171113!important;min-height:2.8em}
body.type-category .products-page .product .price-final{font-size:18px!important;font-weight:700!important}
body.type-category .products-page .product .p-tools .btn{background:#69c2be!important;border-color:#69c2be!important;color:#fff!important}

#lawi-bs .bs-item{min-width:0}
#lawi-bs .bs-txt{min-width:0;overflow:hidden}
#lawi-bs .bs-name{font-size:14px;overflow-wrap:anywhere}
#lawi-bs .bs-price{font-size:17px}
body.type-category .products-page .product .image{padding:0!important}
@media(min-width:768px){body.type-category .products-page{display:flex!important;flex-wrap:wrap}body.type-category .products-page>.product{flex:0 0 33.333%!important;max-width:33.333%!important;width:33.333%!important}}

/* ===== Bez leveho menu Kategorie na vsech strankach (jako lawi.cz) ===== */
.sidebar,aside.sidebar{display:none!important}
.content-wrapper-in>.content,main.content{width:100%!important;max-width:100%!important;flex:1 1 100%!important;margin-left:0!important}
/* Shoptet blok Nejprodavanejsi v kategorii (na lawi.cz neni) */
body.type-category .products-top-wrapper{display:none!important}

/* ===== Stranka Zakazkova vyroba (jako lawi.cz) ===== */
body.id-1048 h1,body.id-1051 h1{text-align:center;font-size:44px}
.lawi-zakazka img{display:inline-block}

/* ===== Prilepena hlavicka pri rolovani (jako kalas.cz), jen pocitac ===== */
@media (min-width:1100px){.lawi-topbar{position:sticky;top:0;z-index:1001}#header{position:sticky!important;top:30px;z-index:1000;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.06)}}
