/* Only top-level replacement slots; never generic .header/.menu/.footer descendants. */
body.ntzui-has-custom-header > header:not(.nkth-header),
body.ntzui-has-custom-header #page > header:not(.nkth-header),
body.ntzui-has-custom-header .site > header:not(.nkth-header),
body.ntzui-has-custom-header > .elementor-location-header,
body.ntzui-has-custom-header #page > .elementor-location-header,
body.ntzui-has-custom-header > .parskala-header,
body.ntzui-has-custom-header #page > .parskala-header,
body.ntzui-has-custom-header > .parskala-bottom-nav,
body.ntzui-has-custom-header #page > .parskala-bottom-nav,
body.ntzui-merged-active > footer:not(.ntzui-footer),
body.ntzui-merged-active #page > footer:not(.ntzui-footer),
body.ntzui-merged-active .site > footer:not(.ntzui-footer),
body.ntzui-merged-active > .elementor-location-footer,
body.ntzui-merged-active #page > .elementor-location-footer{display:none!important;}
html.ntzui-dialog-open{overflow:hidden!important;}
:where(.nkth-header,.nkth-drawer,.nmf-search-modal,.nmf-bottom-bar,.nkth-pdp-search,.ntzui-footer){font-family:inherit;direction:rtl;}
:where(.nkth-header,.nkth-drawer,.nmf-search-modal,.nmf-bottom-bar,.nkth-pdp-search,.ntzui-footer) :where(input,button,select,textarea){font-family:inherit!important;}
:where(.nkth-header,.nkth-drawer,.nmf-search-modal,.nmf-bottom-bar,.nkth-pdp-search,.ntzui-footer) [hidden]{display:none!important;}
@media(max-width:767px){body.ntzui-has-bottom-nav{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));}}
@media(prefers-reduced-motion:reduce){:where(.nkth-header,.nkth-drawer,.nmf-search-modal,.nmf-bottom-bar,.nkth-pdp-search,.ntzui-footer) *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}

@media(max-width:767px){body.single-product .nkth-pdp-search.ntz-pdp-v243{display:none!important;}}
body.admin-bar .nkth-header{top:32px!important;}
@media(max-width:782px){body.admin-bar .nkth-header{top:46px!important;}}

/* Theme-owned slots only, at every viewport width. Never hide content headers,
   checkout forms, payment controls, or sticky add-to-cart controls. */
body.ntzui-has-custom-header .elementor-location-header,
body.ntzui-has-custom-header [data-elementor-type="header"],
body.ntzui-has-custom-header .parskala-header,
body.ntzui-has-custom-header .site-header:not(.nkth-header),
body.ntzui-has-custom-header #masthead:not(.nkth-header),
body.ntzui-has-bottom-nav .parskala-bottom-nav,
body.ntzui-merged-active .elementor-location-footer,
body.ntzui-merged-active [data-elementor-type="footer"],
body.ntzui-merged-active .parskala-footer,
body.ntzui-merged-active .site-footer:not(.ntzui-footer),
body.ntzui-merged-active #colophon:not(.ntzui-footer){display:none!important;}

/* Keep the plugin footer independent of theme footer visibility rules. */
body.ntzui-merged-active footer.ntzui-footer{display:block!important;visibility:visible!important;}

@media(max-width:767px){
body.ntzui-has-bottom-nav.single-product .nmf-bottom-bar,
body.ntzui-has-bottom-nav.woocommerce-cart .nmf-bottom-bar,
body.ntzui-has-bottom-nav.woocommerce-checkout .nmf-bottom-bar{
position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
width:auto!important;margin:12px 10px calc(12px + env(safe-area-inset-bottom,0px))!important;
}
}

/* v2.5.4: hide only this plugin's duplicate product toolbar on desktop.
   CSS viewport matching keeps page-cache output identical across devices. */
@media(min-width:1025px){
body.single-product .nkth-pdp-search.ntz-pdp-v243{display:none!important;}
}
