@media(min-width:992px){
.type-detail .zn-galerie:has(>a:nth-child(3):last-child){grid-template-columns:3fr 2fr!important}
.type-detail .zn-galerie:has(>a:nth-child(3):last-child)>a{grid-column:auto!important}
.type-detail .zn-galerie:has(>a:nth-child(3):last-child)>a:first-child{grid-column:1!important;grid-row:1/span 2;aspect-ratio:auto!important}
.type-detail .zn-galerie:has(>a:nth-child(4):last-child)>a,.type-detail .zn-galerie:has(>a:nth-child(7):last-child)>a:nth-child(n+6){grid-column:span 3!important}
}
.zn-mnav{display:none}
@media(max-width:991px){
.type-detail .zn-gallery-ready>.p-image,.type-detail .zn-gallery-ready>.p-thumbnails-wrapper{display:none!important}
body.type-detail .zn-galerie{display:flex!important;gap:0!important;padding:0!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;background:#fff!important}
.zn-galerie::-webkit-scrollbar{display:none}
body.type-detail .zn-galerie>a{display:block!important;position:relative!important;flex:0 0 100%!important;min-width:100%!important;max-width:100%!important;aspect-ratio:1!important;scroll-snap-align:start}
body.type-detail .zn-galerie img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;background:#fff}
.type-detail .zn-mnav{display:flex;align-items:center;gap:16px;width:max-content;margin:12px auto 24px;padding:4px 8px;border-radius:30px;background:#f5f5f5;font:700 15px Arial}
.zn-mnav button,#zn-foto>button{width:36px;height:36px;padding:0;border:0;background:none;color:#222;font:32px Arial}
.zn-mnav button:disabled{opacity:.3}
.type-detail .zn-galerie:has(>a:nth-child(2))>a:last-child:after{content:"+\A Další";white-space:pre;position:absolute;inset:0;display:grid;place-content:center;text-align:center;background:#ffffff99;color:#111;font:700 24px/1.5 Arial}
}
body.zn-foto-open{overflow:hidden}
#zn-foto{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:16px;border:0;background:#fff;box-sizing:border-box;overflow:hidden}
#zn-foto[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:14px}
#zn-foto::backdrop{background:#fff}
#zn-foto>button{justify-self:end}
#zn-foto .zn-galerie>a{height:100%;aspect-ratio:auto!important}
#zn-foto .zn-galerie>a:after{display:none!important}
#zn-foto .zn-mnav{justify-self:center;margin:0 0 max(16px,env(safe-area-inset-bottom))}
.zn-mini{display:flex;gap:8px;overflow-x:auto}
.zn-mini button{flex:none;padding:0;border:1px solid #eee;border-radius:8px;background:#fff;overflow:hidden}
.zn-mini .active{border-color:#222}
.zn-mini img{display:block;width:68px;height:68px;object-fit:contain}
@media(max-width:767px){
body.type-category #products .p>.zn-st{position:static!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:4px;width:auto;margin:8px 0 14px}
body.type-category #products .p>.zn-st span{font:700 11px/16px Arial!important;padding:2px 5px!important}
}
body.type-category #products .p-tools{
display:flex!important;justify-content:center!important;
flex:0 0 100%!important;width:100%!important;margin-top:12px
}
body.type-category #products .p-tools form{
display:flex;justify-content:center;width:100%
}
body.type-category #products .p-tools :is(.btn-cart,button[type=submit]),
body.type-detail .add-to-cart-button{
background:#ed1730!important;border-color:#ed1730!important;
color:#fff!important;border-radius:25px!important;
padding:10px 20px!important;font-weight:700!important
}
body.type-detail .zn-nakup .add-to-cart{justify-content:center!important}
