/* Match the supplied category composition while keeping native data and controls. */
@media(min-width:992px){
 body#category .sylt-products-grid{--bs-columns:4!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body#category .sb-catalog-toolbar:has(> .sb-sort-selection):not(:has(> #search_filters_wrapper)){display:block}
 body#category #js-product-list-top{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0}
 body#category #left-column .sb-vertical-filters{padding:12px 14px}
 body#category .sb-category-tree .sb-category-link,body#category .sb-length-nav a{min-height:32px;padding:6px 10px}
 body#category #js-product-list .products{gap:24px 14px!important}
}
body#category .sb-match-list-title h2{font:700 clamp(30px,3.8vw,46px)/1.08 Georgia,serif;color:#071d49;margin:0 0 4px}
body#category .sb-match-list-title span{color:#425675;font-size:14px}
body#category .sb-match-list-title{min-width:0}
body#category .sb-category-hero{min-height:245px;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);background:#8acdfa;border-radius:7px}
body#category .sb-category-hero-copy{position:relative;z-index:1;padding:24px clamp(28px,5vw,70px)}
body#category .sb-category-hero-kicker{display:none}
body#category .sb-category-hero h1#sb-category-hero-title{font-size:clamp(38px,6.7vw,72px)!important;line-height:.98}
body#category .sb-category-hero-copy>p:last-child{font-size:clamp(14px,1.6vw,19px);line-height:1.4}
body#category .sb-category-hero-products{min-height:245px;background:radial-gradient(ellipse at 12% 40%,#ffdb60 0 34%,transparent 35%),radial-gradient(ellipse at 62% 54%,#ffc5c5 0 44%,transparent 45%),#ff9a96;align-items:end;padding:0 10px}
body#category .sb-category-hero-products a{justify-content:end;position:relative}
body#category .sb-category-hero-products a img{aspect-ratio:1;object-fit:contain;max-height:220px}
body#category .sb-category-hero-products a>span{font-size:12px;margin:0;padding:3px;border:0}
body#category #js-product-list .product-miniature .product-thumbnail{margin-bottom:8px!important}
body#category #js-product-list .product-miniature .product-thumbnail-title a{font-size:14px!important;line-height:1.25}
body#category #js-product-list .product-miniature .sb-card-action{font-size:12px;padding:7px 9px}
/* Only verified transparent derivatives get a coloured shape. Original JPG stays untouched. */
body#category #js-product-list .product-thumbnail:has(.sb-reviewed-cutout .js-sylt-cutout){background:transparent!important;isolation:isolate;overflow:visible}
body#category #js-product-list .product-thumbnail:has(.sb-reviewed-cutout .js-sylt-cutout):before{content:"";position:absolute;inset:10% 2% 3%;z-index:-1;background:#ff7c70;border-radius:56% 44% 54% 46%/45% 55% 45% 55%;transform:rotate(-7deg)}
body#category #js-product-list .product-miniature:nth-child(4n+2) .product-thumbnail:has(.sb-reviewed-cutout .js-sylt-cutout):before{background:#ffd245}
body#category #js-product-list .product-miniature:nth-child(4n+3) .product-thumbnail:has(.sb-reviewed-cutout .js-sylt-cutout):before{background:#80cafa}
body#category #js-product-list .product-miniature:nth-child(4n+4) .product-thumbnail:has(.sb-reviewed-cutout .js-sylt-cutout):before{background:#ffc3d0}
@media(max-width:991px){body#category #js-product-list-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.sb-match-list-title h2{font-size:30px!important}}
@media(max-width:767px){body#category .sb-category-hero{grid-template-columns:1fr;min-height:0}body#category .sb-category-hero-products{min-height:160px}body#category .sb-category-hero-products a img{max-height:145px}body#category .sb-match-list-title h2{font-size:27px!important}}
/* Shared chrome keeps real logo and menu links while matching the lighter navigation. */
#header .header-top{min-height:78px}#header .header-top--logo svg{max-width:100%;height:auto}
@media(min-width:992px) and (max-width:1199px){#_desktop_top-menu>li>a,#_desktop_top-menu>li>a:visited{font-size:12px!important;padding-inline:6px!important;white-space:nowrap!important}#_desktop_top-menu>li{min-width:0}}
#footer .sb-footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:12px}#footer .sb-footer-logo svg{width:175px;height:auto;fill:#fff}#footer .sb-footer-brand a{color:#fff}
#footer .bg-dark{padding-top:38px!important}#footer .container.grid{gap:30px}
@media(min-width:992px) and (max-width:1199px){#_desktop_top-menu{flex-wrap:wrap;align-items:center}#_desktop_top-menu>li{flex:0 0 auto;min-width:auto}#_desktop_top-menu>li>a,#_desktop_top-menu>li>a:visited{width:auto!important;padding-inline:5px!important;font-size:12px!important;white-space:nowrap!important}#_desktop_top-menu>li.top-menu--has-children>a::after{margin-left:4px}}

#footer .bg-dark{margin-top:36px!important}#footer .bg-dark>.container.grid{display:grid;grid-template-columns:1fr 1fr 1.25fr 1.55fr;gap:24px}#footer .sb-footer-subscription{min-width:0;color:#fff}#footer .sb-footer-subscription .block_newsletter{padding:0;background:transparent;color:#fff}#footer .sb-footer-subscription .block_newsletter .container,#footer .sb-footer-subscription .block_newsletter .container-wide{width:100%;max-width:none!important;padding:0;margin:0!important;text-align:left!important}#footer .sb-footer-subscription .block_newsletter .h2{font:700 16px/1.3 inherit;color:white;text-align:left!important;text-transform:none!important;padding:0!important;margin:0 0 8px!important}#footer .sb-footer-subscription .block_newsletter>p{font-size:12px;line-height:1.4;font-weight:400!important;margin:0 0 10px!important}#footer .sb-footer-subscription form .row{display:flex;flex-wrap:wrap;gap:8px}#footer .sb-footer-subscription input[type=email]{min-width:0;width:100%}#footer .sb-footer-subscription input[type=submit],#footer .sb-footer-subscription button[type=submit]{background:#ff4843;color:#fff;border:0}#footer .sb-footer-subscription .block-social{margin:12px 0!important;text-align:left!important}
@media(max-width:767px){#footer .bg-dark>.container.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}#footer .sb-footer-subscription{grid-column:1/-1}}
#footer .sb-footer-subscription .block_newsletter .h2{font-family:inherit!important;font-size:16px!important;line-height:1.3!important;font-weight:700!important}#footer .sb-footer-subscription .block_newsletter>p{color:#fff!important;opacity:.85}#footer .sb-footer-subscription form>.grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}#footer .sb-footer-subscription form>.grid>div{grid-column:auto!important;min-width:0}#footer .sb-footer-subscription input[type=email]{padding:10px 12px!important}#footer .sb-footer-subscription button[type=submit]{min-height:42px}
@media(min-width:768px){body#index #footer .bg-dark>.container.grid{grid-template-columns:1fr 1fr 1.25fr 1.55fr!important}}
#footer .sb-footer-brand .sb-footer-logo svg path{fill:#fff!important}
body#index #footer .sb-footer-subscription .block_newsletter{padding:0!important}body#index #footer .sb-footer-subscription .block_newsletter .h2{font-size:16px!important;line-height:1.3!important;letter-spacing:0!important}body#index #footer .sb-footer-brand .sb-footer-logo svg{filter:none!important}
@media(max-width:991px){body#category .sb-match-list-title{display:none}}
@media(max-width:575px){.btn-back-to-top{display:none!important}}
body:is(#index,#category,#product,#cart) .btn-back-to-top{display:none!important}
@media(min-width:992px){#header .header-bar{padding-block:4px!important;font-size:11px}#header .header-bar svg{height:16px;width:auto}#header .header-top{padding-block:6px!important;min-height:0}}

/* SEO 2026-11-19: logo jako <img class="sb-logo"> zamiast inline SVG - te same reguly co dla svg */
img.sb-logo{height:auto}
.header-top--logo img.sb-logo{max-width:100%}
#footer .sb-footer-logo img.sb-logo{width:175px}
body#index .sb-footer-brand img.sb-logo{display:block;max-width:190px}
