/* Nasypanej Products V27 – independent, preview scoped. Black sale flags; red package badges. */
html.ns-products-active .products-block .product.ns-p-card{padding:14px 12px 12px!important;min-width:0;box-sizing:border-box;}
html.ns-products-active .ns-p-card .ns-p-inner{position:relative;display:flex;flex-direction:column;min-width:0;height:100%;}
html.ns-products-active .ns-p-card .ns-p-image{display:block;position:relative;margin:0 0 8px;min-width:0;}
html.ns-products-active .ns-p-card .ns-p-image img{max-width:100%;height:auto;object-fit:contain;}
html.ns-products-active .ns-p-card .ns-p-rail{position:absolute;top:0;left:0;right:36px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:4px;pointer-events:none;}
html.ns-products-active .ns-p-card .ns-p-rail .flags{position:static!important;inset:auto!important;display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:auto!important;height:auto!important;margin:0!important;padding:0!important;transform:none!important;pointer-events:none;}
html.ns-products-active .ns-p-card .ns-p-rail .flags:empty{display:none!important;}
html.ns-products-active .ns-p-card .ns-p-rail .flag:not([hidden]){position:static!important;inset:auto!important;float:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;padding:4px 7px!important;margin:0!important;border-radius:3px!important;line-height:1.2!important;font-size:11px!important;font-weight:700;letter-spacing:0;white-space:nowrap;box-shadow:none!important;transform:none!important;pointer-events:auto;}
html.ns-products-active .ns-p-card .ns-p-rail .flag.ns-p-percent-ready{font-size:0!important;}
html.ns-products-active .ns-p-card .ns-p-percent-ready > :not(.ns-p-percent){display:none!important;}
html.ns-products-active .ns-p-card .ns-p-percent-ready::before,html.ns-products-active .ns-p-card .ns-p-percent-ready::after{display:none!important;content:none!important;}
html.ns-products-active .ns-p-card .ns-p-percent{display:inline!important;font-size:11px!important;line-height:1.2!important;color:inherit;}
html.ns-products-active .ns-p-card .ns-p-discount-source{display:none!important;}
html.ns-products-active .ns-p-card .ns-p-fav{z-index:3;}
html.ns-products-active .ns-p-card .p-in{display:flex;flex-direction:column;flex:1;min-width:0;}
html.ns-products-active .ns-p-card .p-in-in{min-width:0;margin:0 0 5px;}
html.ns-products-active .ns-p-card .name{font-size:15px;line-height:1.3;font-weight:700;}
html.ns-products-active .ns-p-card .stars-wrapper{margin:4px 0;}
html.ns-products-active .ns-p-card .ns-p-desc{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px!important;line-height:1.4!important;min-height:0!important;max-height:4.2em;margin:4px 0 8px!important;color:#656565;overflow-wrap:anywhere;}
html.ns-products-active .ns-p-card .p-bottom{margin-top:auto;min-width:0;}
html.ns-products-active .ns-p-card .ns-p-price-row{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:7px!important;min-width:0;}
html.ns-products-active .ns-p-card .prices{min-width:0;flex:1 1 auto;text-align:left!important;}
html.ns-products-active .ns-p-card .price-final{font-size:19px!important;line-height:1.2!important;white-space:normal;}
html.ns-products-active .ns-p-card .ns-p-old-price{display:block;color:#777;font-size:12px;line-height:1.3;text-decoration:line-through;}
html.ns-products-active .ns-p-card .p-tools{flex:0 0 auto;min-width:0;margin:0!important;}
html.ns-products-active .ns-p-card .ns-p-plus{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:4px!important;background:var(--color-secondary,#c82026)!important;color:#fff!important;font-size:0!important;line-height:1!important;letter-spacing:0!important;text-decoration:none!important;box-shadow:none!important;vertical-align:middle;}
html.ns-products-active .ns-p-card .ns-p-plus > *{font-size:0!important;}
html.ns-products-active .ns-p-card .ns-p-plus::before{content:none!important;display:none!important;}
html.ns-products-active .ns-p-card .ns-p-plus::after{content:"+"!important;display:block!important;position:static!important;font:400 28px/1 Arial,sans-serif!important;color:#fff!important;margin:0!important;transform:none!important;}
html.ns-products-active .ns-p-card .ns-p-plus:hover{background:var(--color-secondary-hover,#a1191e)!important;}
html.ns-products-active .ns-p-card .ns-p-plus:focus-visible{outline:2px solid currentColor;outline-offset:2px;}
@media(max-width:767px){
 html.ns-products-active .products-block:not(.slick-slider):not(.slick-initialized):not(.swiper-wrapper) > .product.ns-p-card{width:50%!important;flex:0 0 50%!important;max-width:50%!important;padding:10px 8px 12px!important;}
 html.ns-products-active .ns-p-card .price-final{font-size:17px!important;}
 html.ns-products-active .ns-p-card .ns-p-plus{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;}
 html.ns-products-active .ns-p-card .name{font-size:14px;}
}

/* V4: align real favorites, rating and copy; no flag color overrides. */
html.ns-products-active .ns-p-card .ns-p-inner{position:relative!important;isolation:isolate;}
html.ns-products-active .ns-p-card .ns-p-fav{position:absolute!important;inset:0 0 auto auto!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important;display:inline-flex!important;justify-content:center!important;float:none!important;width:32px!important;min-height:32px!important;margin:0!important;padding:0!important;transform:none!important;z-index:5!important;line-height:1!important;}
html.ns-products-active .ns-p-card .ns-p-fav :is(a,button,span){position:static!important;inset:auto!important;margin:0!important;transform:none!important;}
html.ns-products-active .ns-p-card .ns-p-image{margin-bottom:5px!important;}
html.ns-products-active .ns-p-card .ns-p-text{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;min-height:0!important;height:auto!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;}
html.ns-products-active .ns-p-card .ns-p-text .name{display:block!important;position:static!important;inset:auto!important;padding:0!important;line-height:1.3!important;transform:none!important;}
html.ns-products-active .ns-p-card .ns-p-stars{position:static!important;inset:auto!important;float:none!important;display:flex!important;align-items:center!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;transform:none!important;}
html.ns-products-active .ns-p-card .ns-p-stars .stars{position:static!important;inset:auto!important;transform:none!important;margin:0!important;}
html.ns-products-active .ns-p-card .ns-p-text .ns-p-desc{margin:0 0 5px!important;padding:0!important;}
html.ns-products-active body.type-detail .p-image-wrapper{position:relative!important;}
html.ns-products-active .ns-p-detail-rail{position:absolute;top:8px;left:8px;right:50px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:4px;pointer-events:none;}
html.ns-products-active .ns-p-detail-rail .flags{position:static!important;inset:auto!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;width:auto!important;height:auto!important;margin:0!important;padding:0!important;transform:none!important;}
html.ns-products-active .ns-p-detail-rail .flags:empty{display:none!important;}
html.ns-products-active .ns-p-detail-rail .flag:not([hidden]){position:static!important;inset:auto!important;float:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;padding:4px 7px!important;margin:0!important;border-radius:3px!important;line-height:1.2!important;font-size:12px!important;font-weight:700;white-space:normal;box-shadow:none!important;transform:none!important;pointer-events:auto;}
html.ns-products-active .ns-p-detail-rail .flag.ns-p-percent-ready{font-size:0!important;}
html.ns-products-active .ns-p-detail-rail .ns-p-percent-ready > :not(.ns-p-percent),html.ns-products-active .ns-p-detail-rail .ns-p-percent-ready::before,html.ns-products-active .ns-p-detail-rail .ns-p-percent-ready::after{display:none!important;}
html.ns-products-active .ns-p-detail-rail .ns-p-percent{font-size:12px!important;color:inherit;line-height:1.2;}
html.ns-products-active .ns-p-detail-rail .flag.ns-p-discount-source{display:none!important;}
/* V4: corner badges, not inline labels. Only our existing package chooser. */
html.ns-products-active body.type-detail .nv{gap:12px;row-gap:14px;}
html.ns-products-active body.type-detail .nv.ns-p-has-discounts{padding-top:16px;padding-right:10px;column-gap:18px;row-gap:22px;}
html.ns-products-active body.type-detail .nv b{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:3px;overflow:visible;}
html.ns-products-active body.type-detail .nv .ns-p-variant-discount{position:absolute;top:-15px;right:-9px;z-index:1;display:inline-flex;align-items:center;justify-content:center;border:1px solid #fff;padding:4px 8px;font-size:11px;line-height:1;white-space:nowrap;pointer-events:none;}
/* Final prices only, never strike-through prices or availability. */
html.ns-products-active .ns-p-card .price-final,html.ns-products-active .ns-p-card .price-final strong,html.ns-products-active .ns-p-card .price-final span{color:#000!important;}
/* Detail rating line: hide only the favourite flag and standalone separator, not the favourite control. */
html.ns-products-active body.type-detail .p-detail .ns-p-fav-flag,html.ns-products-active body.type-detail .p-detail .ns-p-rating-separator{display:none!important;}
html.ns-products-active body.type-detail .p-detail .ns-p-rating-clean{border-left:0!important;}
html.ns-products-active body.type-detail .p-detail .ns-p-rating-clean::before{content:none!important;display:none!important;}

html.ns-products-active .ns-p-card .ns-p-rail .flag.ns-p-discount-source{display:none!important;}

/* V5: flatten flag groups visually, so free shipping can precede every other flag. Native nodes and styles stay intact. */
html.ns-products-active .ns-p-card .ns-p-rail .flags,html.ns-products-active .ns-p-detail-rail .flags{display:contents!important;}
html.ns-products-active .ns-p-card .ns-p-rail .flag.ns-p-shipping-first,html.ns-products-active .ns-p-detail-rail .flag.ns-p-shipping-first{order:-10!important;}
/* An invisible favourite-only group must not reserve a flex item or margin before ratings. */
html.ns-products-active body.type-detail .p-detail-info .ns-p-fav-empty{display:none!important;margin:0!important;padding:0!important;width:0!important;min-width:0!important;}
html.ns-products-active body.type-detail .p-detail-info .ns-p-fav-flag,html.ns-products-active body.type-detail .p-detail-info .ns-p-rating-separator{display:none!important;}
html.ns-products-active body.type-detail .p-detail-info .ns-p-rating-clean{margin-left:0!important;padding-left:0!important;transform:none!important;}

/* V9: native free shipping has line breaks and circular-label typography. Keep admin colors and original flag node. */
html.ns-products-active .ns-p-card .ns-p-rail .flag.ns-p-shipping-first:not([hidden]),
html.ns-products-active .ns-p-detail-rail .flag.ns-p-shipping-first:not([hidden]){flex-direction:row!important;white-space:nowrap!important;font-size:0!important;letter-spacing:0!important;line-height:1!important;max-width:none!important;align-self:flex-start!important;}
html.ns-products-active .ns-p-card .ns-p-rail .ns-p-shipping-first > :not(.ns-p-shipping-label),html.ns-products-active .ns-p-detail-rail .ns-p-shipping-first > :not(.ns-p-shipping-label),html.ns-products-active .ns-p-shipping-first::before,html.ns-products-active .ns-p-shipping-first::after{display:none!important;content:none!important;}
html.ns-products-active .ns-p-card .ns-p-rail .ns-p-shipping-label,html.ns-products-active .ns-p-detail-rail .ns-p-shipping-label{display:block!important;position:static!important;margin:0!important;padding:0!important;white-space:nowrap!important;font-size:11px!important;line-height:1.2!important;letter-spacing:0!important;color:inherit!important;font-weight:inherit!important;}
html.ns-products-active .ns-p-detail-rail .ns-p-shipping-label{font-size:12px!important;}
/* Hide only our page overlays when the native menu/search overlay is open. Do not modify the navigation module. */
html.ns-products-active:is(.navigation-window-visible,.search-window-visible,.cart-window-visible,.login-window-visible,.advanced-order-window-visible,.filters-window-visible,.filter-window-visible,.ns5-menu-open,.ns5-filters-open) :is(.ns-p-rail,.ns-p-detail-rail,.ns-p-fav,.ns-p-variant-discount),
html.ns-products-active body:is(.navigation-window-visible,.search-window-visible,.cart-window-visible,.login-window-visible,.advanced-order-window-visible,.filters-window-visible,.filter-window-visible,.ns5-menu-open,.ns5-filters-open) :is(.ns-p-rail,.ns-p-detail-rail,.ns-p-fav,.ns-p-variant-discount){visibility:hidden!important;pointer-events:none!important;}
html.ns-products-active:is(.navigation-window-visible,.search-window-visible,.cart-window-visible,.login-window-visible,.advanced-order-window-visible,.filters-window-visible,.filter-window-visible,.ns5-menu-open,.ns5-filters-open) :is(.ns-p-rail,.ns-p-detail-rail,.ns-p-fav) *,
html.ns-products-active body:is(.navigation-window-visible,.search-window-visible,.cart-window-visible,.login-window-visible,.advanced-order-window-visible,.filters-window-visible,.filter-window-visible,.ns5-menu-open,.ns5-filters-open) :is(.ns-p-rail,.ns-p-detail-rail,.ns-p-fav) *{visibility:hidden!important;pointer-events:none!important;}
html.ns-products-active .ns-p-card .ns-p-rail .flags:is([hidden],.noDisplay),html.ns-products-active .ns-p-detail-rail .flags:is([hidden],.noDisplay),html.ns-products-active .ns-p-card .ns-p-rail .flag:is([hidden],.noDisplay),html.ns-products-active .ns-p-detail-rail .flag:is([hidden],.noDisplay){display:none!important;}

/* V9: compact 3px labels, native variant discount near package chooser. */
html.ns-products-active .ns-p-card .ns-p-rail .flag:not([hidden]),html.ns-products-active .ns-p-detail-rail .flag:not([hidden]){border-radius:3px!important;}
html.ns-products-active .ns-p-detail-rail .flag.ns-p-package-relocated{display:none!important;}
html.ns-products-active body.type-detail .nv b{border-radius:3px!important;}
html.ns-products-active body.type-detail .nv b.a{background:#111!important;color:#fff!important;border-color:#111!important;}
html.ns-products-active body.type-detail .ns-p-package-summary{display:flex;justify-content:flex-end;align-items:center;margin:0 5px -5px 0;line-height:1;pointer-events:none;}
html.ns-products-active body.type-detail .ns-p-package-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:4px 7px;background:var(--color-secondary,#c82026);color:#fff;font-size:11px;font-weight:700;line-height:1.1;white-space:nowrap;}

/* V10: black sale labels; only the per-package corner badge stays red. */
html.ns-products-active .ns-p-card .flag:is(.flag-action,.flag-discount),
html.ns-products-active .ns-p-detail-rail .flag:is(.flag-action,.flag-discount){background:#000!important;color:#fff!important;}
html.ns-products-active .ns-p-card .flag:is(.flag-action,.flag-discount) .ns-p-percent,
html.ns-products-active .ns-p-detail-rail .flag:is(.flag-action,.flag-discount) .ns-p-percent{color:inherit!important;}
html.ns-products-active body.type-detail .ns-p-package-chip{background:#000!important;color:#fff!important;}
html.ns-products-active body.type-detail .nv.ns-p-has-discounts{padding-top:20px;padding-right:12px;column-gap:20px;}
html.ns-products-active body.type-detail .nv .ns-p-variant-discount{right:-10px;min-height:24px;padding:5px 10px;font-size:13px!important;font-weight:700;line-height:1!important;border-radius:12px;background:#c82026!important;color:#fff!important;box-shadow:0 0 0 2px #fff;}

/* V13: compact chooser and a raised badge at the actual upper-right corner. */
html.ns-products-active body.type-detail .nv.ns-p-has-discounts{padding-top:22px;padding-right:15px;column-gap:10px;row-gap:24px;}
html.ns-products-active body.type-detail .nv .ns-p-variant-discount{top:-23px;right:-14px;}
/* Do not reserve a flex item for hidden native flags, even if dkLAB reinserts its flag asynchronously. */
html.ns-products-active body.type-detail .p-detail-info .flags:not(:has(.flag:not(.ns-p-fav-flag):not(.ns-p-package-relocated):not(.ns-p-discount-source):not([hidden]):not(.noDisplay):not(.no-display))):not(:has(a,button,input,.dkLabFavDetailSpan,.stars-wrapper)),
html.ns-products-active body.type-detail .p-detail .ns-p-fav-empty{display:none!important;margin:0!important;padding:0!important;width:0!important;min-width:0!important;}
html.ns-products-active body.type-detail .p-detail-info .flags-default:not(:has(a,button,input,.dkLabFavDetailSpan,.stars-wrapper)),
html.ns-products-active body.type-detail .p-detail-info .flags-extra:not(:has(a,button,input,.dkLabFavDetailSpan,.stars-wrapper)){display:none!important;}
html.ns-products-active body.type-detail .ns-p-detail-rail .ns-p-fav-flag{display:none!important;}
html.ns-products-active body.type-detail .p-detail-info .ns-p-rating-clean{margin-inline-start:0!important;padding-inline-start:0!important;border-inline-start:0!important;}

/* V14: same text rhythm on every card; no network calls for subtitles. */
html.ns-products-active .ns-p-card .ns-p-text{width:100%;gap:3px!important;align-items:stretch!important;}
html.ns-products-active .ns-p-card .ns-p-text .name{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
html.ns-products-active .ns-p-card .nasyp-subtitle-data{display:none!important;}
html.ns-products-active .ns-p-card .ns-p-card-subtitle{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;width:100%;font-size:12px!important;font-weight:500;line-height:1.35!important;height:2.7em;min-height:2.7em;color:#656565;margin:0;padding:0;}
html.ns-products-active .ns-p-card .ns-p-rating-slot{display:flex;align-items:center;width:100%;height:21px;min-height:21px;max-height:21px;margin:0;padding:0;overflow:hidden;}
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-stars{width:auto!important;max-width:100%;}
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-unrated-native{display:none!important;}
html.ns-products-active .ns-p-card .ns-p-no-rating{font-size:11px;line-height:1.2;color:#777;}
html.ns-products-active .ns-p-card .ns-p-text :is(.ns-p-desc,.ns-p-empty-desc){height:4.2em!important;min-height:4.2em!important;max-height:4.2em!important;font-size:12px!important;line-height:1.4!important;width:100%;margin:0 0 5px!important;padding:0!important;overflow:hidden;}
html.ns-products-active .ns-p-card .ns-p-text .ns-p-desc p{margin:0!important;padding:0!important;font-size:inherit!important;line-height:inherit!important;}
html.ns-products-active .ns-p-card .p-bottom{margin-top:auto!important;}
/* V14: a taller mobile photo area, with more usable width and no image cropping. */
@media(max-width:767px){
 html.ns-products-active .products-block:not(.slick-slider):not(.slick-initialized):not(.swiper-wrapper) > .product.ns-p-card{padding:10px 6px 12px!important;}
 html.ns-products-active .ns-p-card .ns-p-image{display:flex!important;align-items:center;justify-content:center;aspect-ratio:1/1.16;width:100%!important;margin-bottom:7px!important;}
 html.ns-products-active .ns-p-card .ns-p-image img{display:block;height:100%!important;max-width:100%!important;max-height:100%!important;}
}
/* V14: move the three-month badge 5px down and 5px right, preserving its red color. */
html.ns-products-active body.type-detail .nv.ns-p-has-discounts{padding-right:20px;}
html.ns-products-active body.type-detail .nv .ns-p-variant-discount{top:-18px;right:-19px;}

/* V15: compact text, real photo dimensions, and neutral unrated stars. */
html.ns-products-active .ns-p-card .ns-p-text{gap:2px!important;}
html.ns-products-active .ns-p-card .ns-p-text .name{height:2.6em!important;min-height:2.6em!important;}
html.ns-products-active .ns-p-card .ns-p-card-subtitle{height:auto;min-height:0;max-height:2.7em;margin:0!important;padding:0!important;}
html.ns-products-active .ns-p-card .ns-p-card-subtitle[hidden],html.ns-products-active .ns-p-card .ns-p-subtitle-source{display:none!important;}
html.ns-products-active .ns-p-card .ns-p-rating-slot{height:17px!important;min-height:17px!important;max-height:17px!important;line-height:1!important;}
html.ns-products-active .ns-p-card .ns-p-no-rating{color:#d3d3d3;font-size:15px!important;line-height:1!important;letter-spacing:1px;white-space:nowrap;}
html.ns-products-active .ns-p-card .ns-p-text .ns-p-desc{height:auto!important;min-height:0!important;}
html.ns-products-active .ns-p-card .ns-p-text .ns-p-empty-desc{display:none!important;}
@media(max-width:767px){
 html.ns-products-active .ns-p-card .ns-p-image{width:calc(100% + 8px)!important;margin:0 -4px 5px!important;padding:0!important;aspect-ratio:1/1!important;height:auto!important;min-height:0!important;max-height:none!important;}
 html.ns-products-active .ns-p-card .ns-p-image img{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;padding:0!important;margin:0!important;object-fit:contain!important;}
}

/* V16: compact title/rating rhythm, native empty stars and aligned favorite icon. */
html.ns-products-active .ns-p-card .ns-p-text{gap:0!important;}
html.ns-products-active .ns-p-card .ns-p-text .name{height:auto!important;min-height:0!important;max-height:2.6em!important;margin:0!important;}
html.ns-products-active .ns-p-card .ns-p-card-subtitle:not([hidden]){font-size:13px!important;line-height:1.35!important;margin:2px 0 0!important;}
html.ns-products-active .ns-p-card .ns-p-rating-slot{height:19px!important;min-height:19px!important;max-height:19px!important;margin:1px 0 5px!important;overflow:visible;}
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-no-rating{display:inline-flex!important;align-items:center;gap:0;position:static!important;margin:0!important;padding:0!important;line-height:1!important;letter-spacing:normal;color:inherit;font-size:inherit!important;}
html.ns-products-active .ns-p-card .ns-p-text .ns-p-desc{font-size:13px!important;line-height:1.4!important;max-height:4.2em!important;margin:0 0 4px!important;}
html.ns-products-active .ns-p-card .ns-p-fav{height:24px!important;min-height:24px!important;top:-1px!important;align-items:center!important;}
html.ns-products-active .ns-p-card .ns-p-no-rating.ns-p-star-fallback .star{display:inline-block!important;width:auto!important;height:auto!important;font-size:14px!important;color:#d3d3d3!important;line-height:1!important;background:none!important;}
html.ns-products-active .ns-p-card .ns-p-no-rating.ns-p-star-fallback .star::before{content:"★"!important;font-family:inherit!important;display:inline!important;color:inherit!important;}

/* V18: small typography changes and optional borderless product grid. */
html.ns-products-active .ns-p-card .ns-p-rating-slot{margin:4px 0 5px!important;}
html.ns-products-active .ns-p-card .ns-p-text .ns-p-desc{font-size:12px!important;}
html.ns-products-active.ns-p-borderless .products-block.products .product.ns-p-card,
html.ns-products-active.ns-p-borderless .products-block .product.ns-p-card{border:0!important;box-shadow:none!important;}
html.ns-products-active .ns-p-card .ns-p-plus{gap:6px;}
html.ns-products-active .ns-p-card .ns-p-plus::before{content:""!important;display:block!important;position:static!important;width:19px;height:19px;flex:0 0 19px;margin:0!important;transform:none!important;background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16l1 13H3L4 8Z M8 9V6a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important;}
html.ns-products-active.ns-p-native-cart-icon .ns-p-card .ns-p-plus::before{content:var(--ns-p-cart-glyph)!important;font-family:var(--ns-p-cart-font)!important;font-size:19px!important;font-weight:normal!important;line-height:1!important;color:#fff!important;background:none!important;}
html.ns-products-active .ns-p-card .ns-p-plus::after{content:none!important;display:none!important;}
@media(min-width:768px){
 html.ns-products-active .ns-p-card .ns-p-price-row{flex-wrap:wrap!important;}
 html.ns-products-active .ns-p-card .ns-p-plus{width:auto!important;min-width:0!important;max-width:100%!important;padding:0 10px!important;white-space:nowrap;}
 html.ns-products-active .ns-p-card .ns-p-plus::after{content:attr(data-ns-p-buy-label)!important;display:block!important;font-family:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;}
}

/* V19: fine-tune product-card presentation only. */
/* Keep the exact native star glyphs, colors and rating markup. */
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-stars .stars,
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-no-rating{transform:scale(.93)!important;}
/* Merkur can put borders on both the listing and its outer card cells. */
html.ns-products-active.ns-p-borderless body.type-index .products-block.products > .product.ns-p-card,
html.ns-products-active.ns-p-borderless body .products-block.products > .product.ns-p-card,
html.ns-products-active.ns-p-borderless body .products-block > .product.ns-p-card,
html.ns-products-active.ns-p-borderless body .products-block > div:has(> .product.ns-p-card),
html.ns-products-active.ns-p-borderless body .products-block:has(> .product.ns-p-card, > div > .product.ns-p-card){border:0!important;border-top:0!important;border-right:0!important;border-bottom:0!important;border-left:0!important;box-shadow:none!important;}
/* Additional breathing room between rows, without changing column widths. */
html.ns-products-active .products-block:not(.slick-slider):not(.slick-initialized):not(.swiper-wrapper) > .product.ns-p-card{padding-bottom:22px!important;}
@media(min-width:768px){
 html.ns-products-active .ns-p-card .ns-p-image{width:calc(100% + 10px)!important;max-width:none!important;margin-left:-5px!important;margin-right:-5px!important;}
 html.ns-products-active .ns-p-card .ns-p-image img{display:block;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;}
}
@media(max-width:767px){
 html.ns-products-active .products-block:not(.slick-slider):not(.slick-initialized):not(.swiper-wrapper) > .product.ns-p-card{padding-bottom:22px!important;}
 html.ns-products-active .ns-p-card .ns-p-image{width:calc(100% + 12px)!important;max-width:none!important;margin-left:-6px!important;margin-right:-6px!important;}
 html.ns-products-active .ns-p-card .ns-p-plus{width:52px!important;min-width:52px!important;max-width:52px!important;height:44px!important;min-height:44px!important;max-height:44px!important;border-radius:3px!important;gap:0!important;box-sizing:border-box!important;text-indent:0!important;text-align:center!important;}
 /* Absolute centering avoids native theme child elements shifting the icon. */
 html.ns-products-active .ns-p-card .ns-p-plus::before,
 html.ns-products-active.ns-p-native-cart-icon .ns-p-card .ns-p-plus::before{position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;padding:0!important;font-size:20px!important;line-height:20px!important;text-align:center!important;text-indent:0!important;flex:none!important;}
}

/* V20: final product-card refinements; keep native controls and colors. */
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-stars .stars,
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-no-rating{transform:scale(.86)!important;transform-origin:left center!important;}
/* The rail begins 8px from the image edge. Match its first label's height. */
html.ns-products-active body.type-detail .p-detail .p-image-wrapper .dkLabFavDetailSpan{
 position:absolute!important;top:8px!important;right:16px!important;left:auto!important;bottom:auto!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:24px!important;height:23px!important;min-height:23px!important;margin:0!important;padding:0!important;
 line-height:1!important;transform:none!important;z-index:3!important;
}
html.ns-products-active body.type-detail .p-detail .p-image-wrapper .dkLabFavDetailSpan::before{margin:0!important;line-height:1!important;}
/* Related and alternative product blocks may have borders on the inner .p,
   on slider cells, or on their surrounding list rather than on .product. */
html.ns-products-active.ns-p-borderless .ns-p-card > .p,
html.ns-products-active.ns-p-borderless .ns-p-card .ns-p-inner,
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-block,.products-related,.products-alternative,.related-products,.alternative-products) .product,
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-block,.products-related,.products-alternative,.related-products,.alternative-products) .product > .p,
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-block,.products-related,.products-alternative,.related-products,.alternative-products) :is(.slick-list,.slick-track,.slick-slide,.swiper-wrapper,.swiper-slide):has(.product),
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-block,.products-related,.products-alternative,.related-products,.alternative-products):has(.product),
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-block,.products-related,.products-alternative,.related-products,.alternative-products):has(.product) > div:has(.product){border:0!important;box-shadow:none!important;}
/* Suppress decorative grid dividers without touching labels or buttons. */
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-related,.products-alternative,.related-products,.alternative-products,.products-block) .product::before,
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-related,.products-alternative,.related-products,.alternative-products,.products-block) .product::after,
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-related,.products-alternative,.related-products,.alternative-products,.products-block) .product > .p::before,
html.ns-products-active.ns-p-borderless body.type-detail :is(.products-related,.products-alternative,.related-products,.alternative-products,.products-block) .product > .p::after{border:0!important;box-shadow:none!important;}
@media(min-width:768px){
 html.ns-products-active .ns-p-card .ns-p-image{width:calc(100% + 18px)!important;margin-left:-9px!important;margin-right:-9px!important;}
}
@media(max-width:767px){
 html.ns-products-active .ns-p-card .ns-p-image{overflow:hidden!important;}
 html.ns-products-active .ns-p-card .ns-p-image img{transform:scale(1.045)!important;transform-origin:center center!important;}
 html.ns-products-active .ns-p-mazaci-title{width:100%!important;text-align:center!important;justify-content:center!important;}
}

/* V21: dedicated homepage bestseller heading, no changes to product cards. */
html.ns-products-active body.type-index .ns-p-mazaci-title{
 display:block!important;width:100%!important;text-align:center!important;
 margin-top:24px!important;margin-bottom:18px!important;
}
html.ns-products-active body.type-index .ns-p-mazaci-title > .ns-p-mazaci-eyebrow{
 display:block!important;color:#c82026!important;font-size:11px!important;
 font-weight:700!important;line-height:1.35!important;letter-spacing:1.6px!important;
 text-transform:uppercase!important;margin:0 0 7px!important;
}
html.ns-products-active body.type-index .ns-p-mazaci-title > .ns-p-mazaci-subtitle{
 display:block!important;color:#666!important;font-size:14px!important;font-weight:400!important;
 letter-spacing:0!important;line-height:1.45!important;text-transform:none!important;margin:8px 0 0!important;
}
html.ns-products-active body.type-index .ns-p-mazaci-title > .ns-p-mazaci-subtitle::before{
 content:none!important;display:none!important;
}
@media(max-width:767px){
 html.ns-products-active body.type-index .ns-p-mazaci-title{margin-top:20px!important;margin-bottom:16px!important;}
 html.ns-products-active body.type-index .ns-p-mazaci-title > .ns-p-mazaci-subtitle{font-size:13px!important;}
}

/* V23: subtle outer gutter for mobile product listings only; keep sliders intact. */
@media(max-width:767px){
 html.ns-products-active .products-block:not(.slick-slider):not(.slick-initialized):not(.swiper-wrapper):has(> .product.ns-p-card){
  box-sizing:border-box!important;
  padding-inline:2px!important;
 }
}

/* V26: compact native review count, no brackets; preserve the V20 star size. */
html.ns-products-active .ns-p-card .ns-p-rating-slot.ns-p-has-rating-count{
 justify-content:flex-start!important;align-items:center!important;gap:3px!important;
}
html.ns-products-active .ns-p-card .ns-p-rating-slot.ns-p-has-rating-count .ns-p-stars{
 flex:0 0 auto!important;width:max-content!important;max-width:none!important;
 justify-content:flex-start!important;gap:0!important;
}
html.ns-products-active .ns-p-card .ns-p-rating-slot .ns-p-rating-count{
 display:inline-block!important;flex:0 0 auto;white-space:nowrap;
 color:#666!important;font-size:11px!important;line-height:1!important;
 font-weight:400!important;font-variant-numeric:tabular-nums;
 margin:0!important;padding:0!important;
}
/* Fallback for older browsers: compensate for the unscaled star layout width. */
html.ns-products-active .ns-p-card .ns-p-rating-slot.ns-p-has-rating-count .ns-p-stars .stars{
 width:max-content!important;max-width:none!important;margin:0 -12px 0 0!important;
 padding:0!important;
}
/* Layout-aware scaling: the number follows the actual visual star width. */
@supports (zoom: .86){
 html.ns-products-active .ns-p-card .ns-p-rating-slot.ns-p-has-rating-count .ns-p-stars .stars{
  zoom:.86;transform:none!important;margin:0!important;
 }
}
html.ns-products-active .ns-p-card .ns-p-rating-slot.ns-p-has-rating-count .ns-p-stars .stars .star.ns-p-last-star{
 margin-right:0!important;
}

/* V27 fallback for browsers without :has(). Modern cascade remains unchanged. */
@supports not selector(:has(*)){
 html.ns-products-active body.type-detail .p-detail .ns-p-fav-empty{display:none!important;margin:0!important;padding:0!important;width:0!important;min-width:0!important;}
 html.ns-products-active body.type-detail .p-detail-info .ns-p-legacy-flag-group{display:none!important;}
 html.ns-products-active.ns-p-borderless body.type-index .products-block.products > .product.ns-p-card,
 html.ns-products-active.ns-p-borderless body .products-block.products > .product.ns-p-card,
 html.ns-products-active.ns-p-borderless body .products-block > .product.ns-p-card,
 html.ns-products-active.ns-p-borderless body .products-block > .ns-p-card-cell,
 html.ns-products-active.ns-p-borderless body .products-block.ns-p-card-block{border:0!important;box-shadow:none!important;}
 html.ns-products-active.ns-p-borderless .ns-p-card > .p,
 html.ns-products-active.ns-p-borderless .ns-p-card .ns-p-inner,
 html.ns-products-active.ns-p-borderless body.type-detail :is(.products-block,.products-related,.products-alternative,.related-products,.alternative-products) .product,
 html.ns-products-active.ns-p-borderless body.type-detail :is(.products-block,.products-related,.products-alternative,.related-products,.alternative-products) .product > .p,
 html.ns-products-active.ns-p-borderless body.type-detail .ns-p-related-wrap{border:0!important;box-shadow:none!important;}
 @media(max-width:767px){html.ns-products-active .products-block.ns-p-direct-cards:not(.slick-slider):not(.slick-initialized):not(.swiper-wrapper){box-sizing:border-box!important;padding-inline:2px!important;}}
}
