/* Boxxi PDP related products — narrow offline candidate.
 * Match the ID specificity inherited by :is(#products,.products-block).
 * Native active/inactive state and next/previous controls remain the owner.
 */
@media (min-width:801px) {
 html[lang|="cs"][data-boxxi-native="1"][data-bxcf-commerce="1"] body.template-11.type-product:not(.ordering-process) #content .p-detail > :is(#products,.products-block).products-related.p-switchable {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:23px;
 }
}
/* The native "show all" control adds this class. Existing global !important
 * inactive/small-screen hides must not override that explicit native state.
 * Explicit hidden/js-hidden products remain excluded.
 */
html[lang|="cs"][data-boxxi-native="1"][data-bxcf-commerce="1"] body.template-11.type-product:not(.ordering-process) #content .p-detail > :is(#products,.products-block).products-related.p-switchable.show-all-related > .product:not([hidden]):not(.js-hidden) {
 display:flex!important;
}

/* WEB-027: tablet account forms have no spare gutter for the 36px fixed tab.
 * Mobile <=767px already has the same exact-widget exclusion in native CSS.
 * Keep reviews reachable through the existing first-party footer link. Fail open
 * if that link is absent; do not remove the widget, ratings, data, or SDK.
 */
@media (min-width:767px) and (max-width:1024px) {
 html[lang|="cs"][data-boxxi-native="1"] body.template-11:is(.in-login,.in-registrace,.customer-page):not(.ordering-process):has(#footer .footer-bottom > a.bxn-verified-reviews[href="https://obchody.heureka.cz/boxxi-cz/recenze/"]:not([hidden]):not([aria-hidden="true"])) #hw-87kwowifjjowiklsadh666left {
  display:none!important;
 }
}

/* WEB032: readable type in the native product-detail purchase form only.
   Preserve native form behavior, variants, availability colors, prices,
   quantity controls, product cards, gallery, and lower content. */
html[lang|="cs"][data-boxxi-native="1"][data-bxcf-commerce="1"]
body.template-11.type-product:not(.ordering-process)
#content .p-detail[data-bxpf-active="1"] #product-detail-form
.p-info-wrapper > .p-short-description {
  font-size: 16px;
  line-height: 1.65;
}

html[lang|="cs"][data-boxxi-native="1"][data-bxcf-commerce="1"]
body.template-11.type-product:not(.ordering-process)
#content .p-detail[data-bxpf-active="1"] #product-detail-form
.p-info-wrapper > .availability-value,
html[lang|="cs"][data-boxxi-native="1"][data-bxcf-commerce="1"]
body.template-11.type-product:not(.ordering-process)
#content .p-detail[data-bxpf-active="1"] #product-detail-form
.p-info-wrapper > .availability-value .availability-label {
  font-size: 15px;
  line-height: 1.5;
}

html[lang|="cs"][data-boxxi-native="1"][data-bxcf-commerce="1"]
body.template-11.type-product:not(.ordering-process)
#content .p-detail[data-bxpf-active="1"] #product-detail-form
.p-info-wrapper > .add-to-cart > .add-to-cart-button {
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width:800px) {
  html[lang|="cs"][data-boxxi-native="1"][data-bxcf-commerce="1"]
  body.template-11.type-product:not(.ordering-process)
  #content .p-detail[data-bxpf-active="1"] #product-detail-form
  .p-info-wrapper > .add-to-cart > .add-to-cart-button {
    font-size: 16px;
  }
}
