/* Page 844 and the native sale-flag category 865 share one navigation. */
body:is(.id-844,.id-865) #content .bxo-switch {
  display:flex; flex-wrap:wrap; gap:12px; margin:0 0 clamp(32px,5vw,72px);
}
body:is(.id-844,.id-865) #content .bxo-switch a,
body.id-865 #content .bxo-cta {
  display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
  min-height:48px; padding:10px 28px; min-width:min(240px,100%); border:1px solid #cbd2d4;
  border-radius:8px; font:500 16px/1.4 Poppins,Arial,sans-serif;
  text-decoration:none; color:#20323c; background:#fff; text-align:center;
}
body:is(.id-844,.id-865) #content .bxo-switch a[aria-current="page"],
body.id-865 #content .bxo-cta {background:#2c4352; border-color:#2c4352; color:#fff;}
body:is(.id-844,.id-865) #content .bxo-switch a:hover,
body.id-865 #content .bxo-cta:hover {background:#eae8e1; border-color:#69818d; color:#20323c;}
body:is(.id-844,.id-865) #content .bxo-switch a:focus-visible,
body.id-865 #content .bxo-cta:focus-visible {outline:3px solid #1e667f; outline-offset:3px;}
body.id-844 #content .bxn-offers-intro:has(+ .bxo-switch) {margin-bottom:22px;}
body.id-865 #content .category-top .category-title {margin:0 0 16px; font:500 clamp(31px,4vw,40px)/1.18 Poppins,Arial,sans-serif; letter-spacing:-1px; color:#20323c;}
body.id-865 #content .category-perex:has(.bxo-sale-intro) {display:block; width:100%; max-width:none; padding:0; margin:0;}
body.id-865 #content .bxo-sale-intro {margin:0 0 24px; padding:0; background:transparent; text-align:left;}
body.id-865 #content .bxo-sale-intro p,
body.id-865 #content .bxo-sub-return p {font:400 16px/1.6 Poppins,Arial,sans-serif; color:#4f6470; margin:0;}
body.id-865 #content .bxo-sale-intro .bxo-intro {margin:0 0 22px;}
body.id-865 #content .bxo-sale-intro h2,
body.id-865 #content .bxo-sub-return h2 {color:#20323c; font:500 clamp(23px,3vw,32px)/1.2 Poppins,Arial,sans-serif; letter-spacing:-.5px; margin:0 0 12px;}
body.id-865 #content .bxo-sub-return {padding:clamp(22px,4vw,44px); margin:40px 0 32px; background:#f5f2eb; border-radius:8px;}
body.id-865 #content .bxo-cta {margin-top:20px;}
@media(max-width:600px) {
  body:is(.id-844,.id-865) #content .bxo-switch {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:32px;}
  body:is(.id-844,.id-865) #content .bxo-switch a {min-width:0;padding:9px 8px;font-size:14px;}
  body.id-865 #content #products.products-block {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px;}
  body.id-865 #content #products.products-block>.product {width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;}
}
/* Reserve the final native grid before the optional filter script arrives. With JS off, the native desktop filters remain available below the catalogue. */
@media(min-width:601px) {
  html[lang] body.id-865.template-11.type-category:not(.ordering-process) #content-wrapper.container:has(#content) {
    width:min(1200px,calc(100% - 80px))!important; margin-inline:auto!important; padding-inline:0!important;
  }
  html[lang] body.id-865.template-11.type-category:not(.ordering-process) #content-wrapper.container:has(#content) > .content-wrapper-in {
    display:flex!important; flex-direction:column!important; padding-inline:0!important;
  }
  html[lang] body.id-865.template-11.type-category #content-wrapper.container > .content-wrapper-in > main#content {
    order:0; width:100%!important; max-width:100%!important; padding-inline:0!important; margin-inline:0!important;
  }
  html[lang] body.id-865.template-11.type-category #content-wrapper.container > .content-wrapper-in > aside.sidebar {order:1;}
  html[lang] body.id-865.template-11.type-category #content .category-content-wrapper > #products.products-block {
    display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:28px 24px!important;
  }
  html[lang] body.id-865.template-11.type-category #content .category-content-wrapper > #products.products-block > .product {
    width:100%!important; min-width:0!important; max-width:none!important; margin:0!important;
  }
  html[lang] body.id-865.template-11.type-category #content .category-content-wrapper:has(> #category-header):not(:has(> .bx-brand-filter))::before {
    content:""; display:block; height:56px;
  }
}
@media(min-width:601px) and (max-width:991px) {
  html[lang] body.id-865.template-11.type-category #content .category-content-wrapper > #products.products-block {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
/* Native catalogue markup differs by language, but the same product gets one common photographic frame. */
html[lang] body.template-11.type-category.id-865 #content #products.products-block > .product {
  box-sizing:border-box; border:0!important; padding:0!important;
}
html[lang] body.template-11.type-category.id-865 #content #products.products-block > .product > .p[data-micro-product-id] {
  box-sizing:border-box; width:100%!important; min-width:0; max-width:100%; margin:0!important; padding:0!important;
  border:1px solid #d4dbdc!important; border-radius:8px; overflow:hidden; background:#fff;
}
html[lang] body.template-11.type-category.id-865 #content #products.products-block > .product > .p[data-micro-product-id] > a.image {
  position:relative!important; display:block!important; box-sizing:border-box; width:100%!important; height:auto!important;
  min-height:0!important; aspect-ratio:4/3!important; margin:0!important; padding:0!important; overflow:hidden;
}
html[lang] body.template-11.type-category.id-865 #content #products.products-block > .product > .p[data-micro-product-id] > a.image > img {
  position:absolute!important; inset:0!important; width:100%!important; height:100%!important; max-width:100%!important;
  max-height:100%!important; box-sizing:border-box; margin:0!important; padding:0!important; transform:none!important; object-fit:contain!important;
}
body.id-865 #content #products > .product .p > .p-in {
  display:flex!important; flex:1 1 auto; flex-direction:column; box-sizing:border-box; padding:16px!important; min-width:0;
}
html[lang] body.template-11.type-category.id-865 #content #products.products-block > .product .name {
  font:500 18px/1.35 Poppins,Arial,sans-serif!important; color:#20323c; padding:0!important;
}

/* No-JS keeps the native filter. A working filter popover replaces the filter toolbar inserted by the platform. */
html[lang] body.id-865.template-11.type-category #content .category-content-wrapper:has(> .bx-brand-filter) #filters-wrapper .filters-wrapper {
  display:contents!important;
}
html[lang] body.id-865.template-11.type-category #content .category-content-wrapper:has(> .bx-brand-filter) #filters-wrapper .filters-wrapper > :not(#filters),
html[lang] body.id-865.template-11.type-category #content .category-content-wrapper:has(> .bx-brand-filter) > #filters-wrapper {
  margin:0!important; padding:0!important; border:0!important;
}
@media(max-width:600px) {
  html[lang] body.id-865.template-11.type-category #content .category-content-wrapper:has(> #category-header):not(:has(> .bx-brand-filter))::before {
    content:""; display:block; height:56px;
  }
}
/* This view has its own responsive grid. The optional Czech third-party column chooser describes a different grid. */
html[lang] body.id-865.template-11.type-category #content .category-content-wrapper > .grid-change-wrap {display:none!important;}
html[lang] body.id-865.template-11.type-category #content .category-content-wrapper > #category-header {
  display:flex!important; align-items:center; justify-content:space-between; gap:8px;
  margin:0 0 20px!important; padding:0!important; border:0!important; width:100%; max-width:100%;
}
html[lang] body.id-865.template-11.type-category #content #category-header .listSorting,
html[lang] body.id-865.template-11.type-category #content #category-header .listSorting__controls,
html[lang] body.id-865.template-11.type-category #content #category-header .listSorting__controls > li {
  box-sizing:border-box; margin:0!important; padding:0!important; border:0!important; min-width:0;
}
html[lang] body.id-865.template-11.type-category #content #category-header .listSorting__controls {
  display:flex!important; flex-wrap:wrap; gap:4px 6px!important; list-style:none;
}
html[lang] body.id-865.template-11.type-category #content #category-header button.listSorting__control {
  display:inline-flex!important; box-sizing:border-box!important; align-items:center; min-height:44px; margin:0!important; padding:4px 10px!important;
  font:500 14px/1.4 Poppins,Arial,sans-serif!important; border:1px solid transparent!important; border-radius:6px; color:#20323c;
}
html[lang] body.id-865.template-11.type-category #content #category-header button.listSorting__control--current {
  border-color:#667e89!important; background:#f5f2ec;
}
html[lang] body.id-865.template-11.type-category #content #category-header .listItemsTotal {flex:none; margin:0!important; padding:0!important;}
html[lang] body.id-865.template-11.type-category #content .category-content-wrapper > #filters-wrapper {margin:0!important; padding:0!important;}
@media(max-width:600px) {
  html[lang] body.id-865.template-11.type-category #content #category-header .listItemsTotal {display:none!important;}
}
/* The sale page presents one native offer grid. Its own price, stock and sorting stay in the main list. */
body.template-11.id-865.type-category #content > .category-top > .products-top-wrapper:has(> #productsTop) {
  display:none!important;
}
/* Shoptet streams the native aside before main. Keep that filter below the reserved primary content while HTML is still arriving. */
@media(min-width:601px) {
  body.template-11.id-865.type-category #content-wrapper > .content-wrapper-in:not(:has(> main#content)) {
    display:flex!important;
    flex-direction:column!important;
  }
  body.template-11.id-865.type-category #content-wrapper > .content-wrapper-in:not(:has(> main#content))::before {
    content:"";
    min-block-size:100vh;
  }
  body.template-11.id-865.type-category #content-wrapper > .content-wrapper-in > main#content:not(:has(#products > .product, .empty-content-category)) {
    min-block-size:100vh;
  }
}
