/* WRAPING — 22.10.2026
   Surgical fixes only: no changes to product texts, photos, dimensions,
   backgrounds, columns, fonts, image cropping, buttons or checkout. */

/* 1. No orphan category navigation AFTER footer on the separately templated
   Kolman product. This custom page has no original sidebar slot. The legacy
   category-tree scripts otherwise append a full-width duplicate to <body>. */
body.single-product:has(#wrkb-layout) > aside.wrp-tree,
body.single-product:has(#wrkb-layout) > aside.nfct-sk-tree,
body.single-product:has(#wrkb-layout) > details.nfct-mobile {
  display:none !important;
}

/* 2. Neutralize only decorative PRODUCT CARD frames and shadows.
   Use transparent colors rather than border:0 to preserve exact geometry. */
html body .nf-home-product-card,
html body .nf-home-product-card:hover,
html body .nf-shop-content ul.products li.product,
html body .nf-shop-content ul.products li.product:hover {
  border-color:transparent !important;
  box-shadow:none !important;
}
html body .nf-home-product-image,
html body .nf-shop-content ul.products li.product a img,
html body .woocommerce ul.products li.product a img {
  border-color:transparent !important;
  box-shadow:none !important;
}

/* 3. Custom WooCommerce detail: remove outlines around photo and text blocks,
   without modifying their content, original backgrounds, spacing or sizing. */
html body.single-product #wrkb-layout .wrkb-mainphoto,
html body.single-product #wrkb-layout .kb-screenshot-grid,
html body.single-product #wrkb-layout .kb-copy-panel,
html body.single-product #wrkb-layout .kb-photo-archive,
html body.single-product #wrkb-layout .kb-picture,
html body.single-product #wrkb-layout .wrkb-feedback {
  border-color:transparent !important;
  box-shadow:none !important;
}
/* Nested grid separators were decorative outlines, not content. */
html body.single-product #wrkb-layout .kb-screenshot-grid > div {
  border-color:transparent !important;
}

/* 4. Native WooCommerce detail: avoid decorative outer gallery boxes. */
html body.single-product .nf-single-wrapper div.product,
html body.single-product .nf-single-wrapper .woocommerce-product-gallery {
  border-color:transparent !important;
  box-shadow:none !important;
}
