/* ==========================================================================
   Lotus26 — listing pages (track E, 2026-11-27, dev only)
   category, search results, brand (manufacturer/info) and specials.
   Loaded only on those routes by Lotus26_Listing::prepare() (document->addStyle),
   after lotus26.css. Reuses its tokens (--l26-*) and components (.l26-pill,
   .l26-card, .l26-tag, .l26-breadcrumb). Every rule is scoped under
   .l26-listing (the page wrapper) or #column-left / the filter sheet.
   Layout-critical rules use plain class/id selectors (Lightning critical CSS
   drops attribute and pseudo-class selectors).
   ========================================================================== */

/* ---------- page container: same width as the stage-1 header ------------ */

#product-category.container,
#product-search.container,
#product-manufacturer.container {
	float: none;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--l26-container, 1360px);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--l26-gutter, 24px);
}

.l26-listing {
	color: var(--l26-text, #1A1A1A);
	font-family: var(--l26-font, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
}

.l26-listing > .row {
	margin-left: 0;
	margin-right: 0;
}

.l26-listing .l26-listing__main,
#product-category .l26-listing #content {
	float: none;
	width: 100%;
	padding: 0;
}

/* ---------- head: breadcrumb, H1, intro, pills -------------------------- */

.l26-listing ul.breadcrumb.l26-breadcrumb {
	display: flex;
	float: none;
	width: auto;
	margin: 20px 0 12px;
	padding: 0;
	background: transparent;
	border: 0;
}

.l26-listing ul.breadcrumb.l26-breadcrumb > li {
	padding: 0;
	white-space: normal;
}

.l26-listing ul.breadcrumb.l26-breadcrumb > li::after {
	display: none;
}

.l26-listing ul.breadcrumb.l26-breadcrumb > li a {
	font: 400 13px/1.4 var(--l26-font);
	color: var(--l26-muted, #6B7280);
}

.l26-listing ul.breadcrumb.l26-breadcrumb > li:last-child a {
	font-weight: 600;
	color: var(--l26-ink, #111);
}

.l26-listing h1.l26-listing__h1 {
	margin: 0 0 8px;
	padding: 0;
	font: 800 34px/1.15 var(--l26-font);
	letter-spacing: -.01em;
	text-transform: none;
	text-align: left;
	color: var(--l26-ink, #111);
}

.l26-listing h2.l26-listing__sub {
	margin: 0 0 12px;
	font: 400 15px/1.4 var(--l26-font);
	color: var(--l26-muted, #6B7280);
	text-transform: none;
}

.l26-listing .l26-listing__intro {
	max-width: 720px;
	margin: 0 0 16px;
	font: 400 15px/1.55 var(--l26-font);
	color: var(--l26-muted, #6B7280);
}

.l26-listing .l26-listing__more {
	color: var(--l26-ink, #111);
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
}

.l26-listing .l26-listing__pills {
	margin: 0 0 24px;
}

.l26-listing .l26-listing__pills .l26-pills > li {
	margin: 0;
}

/* the seo_brand_desc block the SEO package adds under the brand H1 */
.l26-listing .seo_brand_desc {
	max-width: 760px;
	margin: 0 0 12px;
	color: var(--l26-muted, #6B7280);
	font-size: 15px;
	line-height: 1.55;
}

.l26-listing .seo_brand_desc + hr {
	display: none;
}

/* ---------- body: sidebar + results ------------------------------------- */

.l26-listing .l26-listing__body {
	display: block;
}

.l26-listing .l26-listing__body.has-side {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.l26-listing .l26-listing__results {
	min-width: 0;
}

.l26-listing .l26-listing__area {
	position: relative;
}

/* ---------- toolbar: "<N> продукта" + "Подреди:" ------------------------ */

.l26-listing .products-wrapper {
	display: block;
	width: auto;
	margin: 0;
}

.l26-listing .l26-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 20px;
}

.l26-listing .l26-toolbar__count {
	margin: 0;
	font: 400 14px/1.3 var(--l26-font);
	color: var(--l26-muted, #6B7280);
}

.l26-listing .l26-toolbar__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.l26-listing .l26-toolbar__sort,
.l26-listing .l26-toolbar__limit {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 4px 0 12px;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: var(--l26-radius-sm, 8px);
	background: #fff;
}

.l26-listing .l26-toolbar__sort label,
.l26-listing .l26-toolbar__limit label {
	margin: 0;
	font: 400 14px/1 var(--l26-font);
	color: var(--l26-muted, #6B7280);
	white-space: nowrap;
}

.l26-listing .l26-toolbar select.form-control {
	width: auto;
	height: 36px;
	padding: 0 24px 0 4px;
	border: 0;
	box-shadow: none;
	background-color: transparent;
	font: 700 14px/1 var(--l26-font);
	color: var(--l26-ink, #111);
	cursor: pointer;
}

/* phone/tablet row (hidden on desktop) */
.l26-listing .l26-mbar {
	display: none;
}

/* ---------- active-filter chips (Mega Filter "over results") ------------ */

.l26-listing .mfilter-selected-filters {
	display: block;
	width: auto;
	margin: 0 0 16px;
	padding: 0;
}

.l26-listing .mfilter-selected-filters .mfilter-selected-filters-cnt {
	display: inline;
}

.l26-listing .mfilter-selected-filters .mfilter-selected-filters-cnt > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	margin: 0 8px 8px 0;
	padding: 0 12px;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: var(--l26-pill, 999px);
	background: var(--l26-bg-soft, #F4F5F7);
	color: var(--l26-ink, #111);
	font: 600 13px/1 var(--l26-font);
	text-decoration: none;
	cursor: pointer;
	vertical-align: top;
}

.l26-listing .mfilter-selected-filters .mfilter-close {
	position: relative;
	display: inline-block;
	width: 10px;
	height: 10px;
}

.l26-listing .mfilter-selected-filters .mfilter-close::before,
.l26-listing .mfilter-selected-filters .mfilter-close::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	width: 10px;
	height: 1.6px;
	background: currentColor;
	transform: rotate(45deg);
}

.l26-listing .mfilter-selected-filters .mfilter-close::after {
	transform: rotate(-45deg);
}

.l26-listing .mfilter-selected-filters .mfilter-close i {
	display: none;
}

.l26-listing .mfilter-selected-filters a.l26-chips-clear {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin: 0 0 8px;
	color: var(--l26-ink, #111);
	font: 600 13px/1 var(--l26-font);
	text-decoration: underline;
	vertical-align: top;
}

/* ---------- product grid ------------------------------------------------ */

.l26-listing .l26-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 20px;
	margin: 0 0 32px;
}

.l26-listing .l26-grid > .product-layout,
.l26-listing .l26-grid > .product-layout.product-grid,
.l26-listing .l26-grid > .product-layout.product-list {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.l26-listing .l26-grid .product-thumb,
.l26-listing .l26-grid .product-layout.product-grid .product-thumb {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* product_flags.ocmod injects its own "Ново"/"-%" spans into .product-thumb; the card shows the tags */
.l26-listing .product-thumb > .category-product-new,
.l26-listing .product-thumb > .category-product-discount {
	display: none;
}

.l26-listing .l26-grid .product-layout > .product-thumb > .l26-card {
	margin: 0;
}

.l26-listing .l26-card .l26-card__media img.img-responsive {
	height: 100%;
}

.l26-listing .l26-card__sizes {
	margin: 2px 0 10px;
}

.l26-listing .l26-card__sizes li {
	min-width: 28px;
	text-align: center;
}

.l26-listing .l26-card__sizes .l26-card__sizes-more {
	border-color: transparent;
	color: var(--l26-muted, #6B7280);
}

/* Como "-NN%" (module 60) sits top-right under the heart: move it to the left, under "Ново" (58) */
.l26-listing .l26-card .comopl_mod-60 {
	left: 10px !important;
	right: auto !important;
	top: 10px !important;
	padding: 5px 8px !important;
	border-radius: 6px !important;
	background-color: var(--l26-red, #E3191F) !important;
	box-shadow: none !important;
	font: 700 12px/1 var(--l26-font) !important;
}

.l26-listing .l26-card .comopl_mod-60 .comopl_text {
	font: 700 12px/1 var(--l26-font) !important;
	color: #fff;
}

.l26-listing .l26-card .comopl_box + .comopl_box .comopl_mod-60 {
	top: 38px !important;
}

/* optional promo tile (not fed yet, see lotus26/listing_promo.twig) */
.l26-listing .l26-grid__promo {
	grid-column: span 2;
	overflow: hidden;
	border-radius: var(--l26-radius, 12px);
	background: var(--l26-bg-soft, #F4F5F7);
	aspect-ratio: 2 / 1;
}

.l26-listing .l26-grid__promo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- pager ------------------------------------------------------- */

.l26-listing .l26-pager {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 8px 0 40px;
	text-align: center;
}

.l26-listing .l26-pager .pagination-wrap {
	margin: 0;
}

.l26-listing .l26-pager .pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
}

.l26-listing .l26-pager .pagination-wrap .pagination li {
	float: none;
	margin: 0;
}

.l26-listing .l26-pager .pagination-wrap .pagination li a,
.l26-listing .l26-pager .pagination-wrap .pagination li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--l26-line, #E5E7EB) !important;
	border-radius: var(--l26-radius-sm, 8px) !important;
	background: #fff !important;
	color: var(--l26-ink, #111) !important;
	font: 600 14px/1 var(--l26-font);
}

.l26-listing .l26-pager .pagination-wrap .pagination > li.active span {
	border-color: var(--l26-ink, #111) !important;
	background: var(--l26-ink, #111) !important;
	color: #fff !important;
}

.l26-listing .l26-pager .results-wrap {
	font: 400 13px/1.3 var(--l26-font);
	letter-spacing: 0;
	text-transform: none;
	color: var(--l26-muted, #6B7280);
}

/* ---------- long SEO description at the bottom -------------------------- */

.l26-listing .l26-listing__desc {
	float: none;
	clear: both;
	max-width: none;
	width: 100%;
	margin: 16px 0 40px;
	padding: 32px 0 0;
	border-top: 1px solid var(--l26-line, #E5E7EB);
}

/* ==========================================================================
   Mega Filter in the left column (desktop sidebar / mobile sheet)
   ========================================================================== */

.l26-listing #column-left {
	float: none;
	width: auto;
	min-width: 0;
	padding: 0;
}

.l26-listing #column-left .mfilter-box {
	margin: 0;
	border: 0;
	background: transparent;
	font-family: var(--l26-font);
}

.l26-listing #column-left .mfilter-box .box-heading,
.l26-listing #column-left .mfilter-box .mobile-filter.close-btn {
	display: none;
}

.l26-listing #column-left .mfilter-box .mfilter-content {
	padding: 0;
	border: 0;
	background: transparent;
}

.l26-listing #column-left .mfilter-content > ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.l26-listing #column-left .mfilter-content > ul > li.mfilter-filter-item {
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid var(--l26-line, #E5E7EB);
}

.l26-listing #column-left .mfilter-content > ul > li.mfilter-filter-item.mfilter-hide {
	display: none;
}

/* group heading + chevron */
.l26-listing #column-left .mfilter-heading {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	user-select: none;
}

.l26-listing #column-left .mfilter-heading-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 0;
}

.l26-listing #column-left .mfilter-heading-text,
.l26-listing #column-left .mfilter-heading-text span {
	margin: 0;
	font: 700 15px/1.3 var(--l26-font);
	color: var(--l26-ink, #111);
	text-transform: none;
	letter-spacing: 0;
}

.l26-listing #column-left .mfilter-head-icon {
	position: relative;
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin: 0 4px 0 0;
	background: none;
	border-right: 2px solid var(--l26-ink, #111);
	border-bottom: 2px solid var(--l26-ink, #111);
	transform: translateY(-3px) rotate(45deg);
	transition: transform .15s ease;
}

.l26-listing #column-left .mfilter-heading.mfilter-collapsed .mfilter-head-icon {
	transform: rotate(-45deg);
}

/* custom.js turns these into dropdowns (display:none on every mouseup); in the column they are always
   open unless the group heading is collapsed */
.l26-listing #column-left .mfilter-content-opts {
	display: block !important;
	position: static;
	width: auto;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}

.l26-listing #column-left .mfilter-heading.mfilter-collapsed ~ .mfilter-content-opts {
	display: none !important;
}

.l26-listing #column-left .mfilter-opts-container {
	padding: 0;
	border: 0;
}

/* list rows: checkbox | label | counter */
.l26-listing #column-left .mfilter-tb {
	display: block;
	width: 100%;
}

.l26-listing #column-left .mfilter-option.mfilter-tb-as-tr {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 0;
}

.l26-listing #column-left .mfilter-tb-as-td {
	display: block;
	padding: 0;
	border: 0;
	vertical-align: middle;
}

.l26-listing #column-left .mfilter-col-input {
	flex: 0 0 auto;
	width: auto;
	line-height: 0;
}

.l26-listing #column-left .mfilter-col-input input[type=checkbox],
.l26-listing #column-left .mfilter-col-input input[type=radio] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--l26-red, #E3191F);
	cursor: pointer;
}

.l26-listing #column-left .mfilter-option label {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font: 400 14px/1.3 var(--l26-font);
	color: var(--l26-text, #1A1A1A);
	cursor: pointer;
}

.l26-listing #column-left .mfilter-option label a,
.l26-listing #column-left .mfilter-option label a.mfp-value-link {
	color: inherit;
	text-decoration: none;
}

.l26-listing #column-left .mfilter-col-count {
	flex: 0 0 auto;
	margin-left: auto;
}

.l26-listing #column-left .mfilter-counter {
	display: inline;
	min-width: 0;
	padding: 0;
	border-radius: 0;
	background: none !important;
	color: var(--l26-muted, #6B7280) !important;
	font: 400 12px/1 var(--l26-font);
}

.l26-listing #column-left .mfilter-counter::after {
	display: none;
}

.l26-listing #column-left .mfilter-heading-text {
	width: auto;
	margin-left: 0;
}

.l26-listing #column-left .mfilter-heading-text > span {
	padding-left: 0;
}

.l26-listing #column-left .mfilter-counter.mfilter-close {
	visibility: hidden;
}

.l26-listing #column-left .mfilter-hide-counter .mfilter-col-count {
	display: none;
}

.l26-listing #column-left .mfilter-option.mfilter-disabled label,
.l26-listing #column-left .mfilter-option.mfilter-disabled .mfilter-counter {
	opacity: .45;
}

/* sizes (option 111): 4 square buttons per row */
.l26-listing #column-left .mfp-g-option-111 .mfilter-options-container > .mfilter-tb {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-option.mfilter-tb-as-tr {
	position: relative;
	display: block;
	padding: 0;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-col-input {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-col-input input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-option label {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 2px;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: var(--l26-radius-sm, 8px);
	background: #fff;
	font: 600 13px/1 var(--l26-font);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-col-input.mfilter-input-active + label {
	border-color: var(--l26-ink, #111);
	background: var(--l26-ink, #111);
	color: #fff;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-option:has(input:checked) label {
	border-color: var(--l26-ink, #111);
	background: var(--l26-ink, #111);
	color: #fff;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-option label:hover {
	border-color: var(--l26-ink, #111);
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-option.mfilter-disabled label {
	color: var(--l26-muted, #6B7280);
	text-decoration: line-through;
}

.l26-listing #column-left .mfp-g-option-111 .mfilter-col-count {
	display: none;
}

/* colours (filter group 1): swatches where a hex exists, a text pill otherwise */
.l26-listing #column-left .mfp-g-filter-1 .mfilter-options-container > .mfilter-tb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-option.mfilter-tb-as-tr {
	position: relative;
	display: block;
	padding: 0;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-col-count {
	display: none;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-col-input {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-col-input input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-option label {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 10px !important;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: var(--l26-pill, 999px);
	background: #fff;
	font: 500 13px/1 var(--l26-font);
}

/* with a hex: the label becomes a 32px circle painted by the swatch cell behind it */
.l26-listing #column-left .mfp-g-filter-1 .mfilter-option.mfp-has-color .mfilter-col-input {
	opacity: 1;
	z-index: 0;
	border-radius: 50%;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-option.mfp-has-color label {
	width: 32px;
	height: 32px;
	min-height: 0;
	padding: 0 !important;
	border-radius: 50%;
	border-color: rgba(0, 0, 0, .15);
	background: transparent;
	font-size: 0;
	color: transparent;
	overflow: hidden;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-option.mfp-has-color label a {
	position: absolute;
	inset: 0;
	font-size: 0;
	color: transparent;
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-col-input.mfilter-input-active + label {
	border-color: var(--l26-ink, #111);
	box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px var(--l26-ink, #111);
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-option:has(input:checked) label {
	border-color: var(--l26-ink, #111);
	box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px var(--l26-ink, #111);
}

.l26-listing #column-left .mfp-g-filter-1 .mfilter-option:not(.mfp-has-color) .mfilter-col-input.mfilter-input-active + label {
	background: var(--l26-ink, #111);
	color: #fff;
	box-shadow: none;
}

/* the swatch cell's own background colour has to reach the circle: paint the cell, keep it under the label */
.l26-listing #column-left .mfp-g-filter-1 .mfilter-option.mfp-has-color {
	width: 32px;
	height: 32px;
}

/* special colour swatches: painted on top of the swatch cell's inline background-color, matched by the value slug.
   Patterns follow the big retailers: two-tone split circle (adidas/Zalando), metallic shine (adidas/eMAG/SNIPES),
   light checkerboard for transparent (eMAG), heather texture, camouflage blobs. oc_filter.color keeps a flat base hex. */
.mfp-g-filter-1 .mfilter-option:has(input[value="bezhov--sin"]) .mfilter-col-input {
	background: linear-gradient(135deg, #d4b895 50%, #0f73ad 50%) !important;
}

.mfp-g-filter-1 .mfilter-option:has(input[value="cheren-bezhov"]) .mfilter-col-input {
	background: linear-gradient(135deg, #000 50%, #d4b895 50%) !important;
}

.mfp-g-filter-1 .mfilter-option:has(input[value="srebrist"]) .mfilter-col-input {
	background: linear-gradient(135deg, #f2f3f3 0%, #c0c0c0 48%, #9c9e9f 100%) !important;
}

.mfp-g-filter-1 .mfilter-option:is(:has(input[value="zlatist"]), :has(input[value="zlaten"])) .mfilter-col-input {
	background: linear-gradient(135deg, #f6e7bd 0%, #d1b27b 48%, #a5844b 100%) !important;
}

.mfp-g-filter-1 .mfilter-option:is(:has(input[value="bronz"]), :has(input[value="bronzov"])) .mfilter-col-input {
	background: linear-gradient(135deg, #e7bf83 0%, #cd7f32 48%, #8c5a2b 100%) !important;
}

.mfp-g-filter-1 .mfilter-option:has(input[value="rozovo-zlato"]) .mfilter-col-input {
	background: linear-gradient(135deg, #fde3dd 0%, #f4b19f 48%, #d8826f 100%) !important;
}

.mfp-g-filter-1 .mfilter-option:has(input[value="prozrachen"]) .mfilter-col-input {
	background: repeating-conic-gradient(#e2e2e2 0 25%, #fff 0 50%) 0 0 / 10px 10px !important;
}

.mfp-g-filter-1 .mfilter-option:has(input[value="melanzh"]) .mfilter-col-input {
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .45) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(-45deg, rgba(60, 62, 70, .22) 0 1px, transparent 1px 4px),
		#b0b3bc !important;
}

.mfp-g-filter-1 .mfilter-option:is(:has(input[value="kamuflazh"]), :has(input[value="kamoflazh"])) .mfilter-col-input {
	background:
		radial-gradient(ellipse 24% 18% at 24% 26%, #26281e 0 98%, transparent 100%),
		radial-gradient(ellipse 30% 20% at 72% 30%, #7a6a4f 0 98%, transparent 100%),
		radial-gradient(ellipse 26% 20% at 32% 74%, #8b8a6a 0 98%, transparent 100%),
		radial-gradient(ellipse 18% 22% at 78% 76%, #26281e 0 98%, transparent 100%),
		radial-gradient(ellipse 22% 28% at 54% 52%, #5a5e44 0 98%, transparent 100%),
		#3f4233 !important;
}

/* price slider (jQuery UI) in red */
.l26-listing #column-left .mfilter-price .mfilter-price-inputs {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	font: 400 13px/1 var(--l26-font);
	color: var(--l26-muted, #6B7280);
}

.l26-listing #column-left .mfilter-price .mfilter-price-inputs input.form-control {
	width: 72px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: var(--l26-radius-sm, 8px);
	box-shadow: none;
	font: 600 14px/1 var(--l26-font);
	color: var(--l26-ink, #111);
}

.l26-listing #column-left .mfilter-price-slider {
	padding: 0 10px;
}

.l26-listing #column-left .mfilter-price-slider .ui-slider,
.l26-listing #column-left #mfilter-price-slider {
	height: 4px;
	margin: 8px 0 6px;
	border: 0;
	border-radius: 2px;
	background: var(--l26-line, #E5E7EB);
}

.l26-listing #column-left #mfilter-price-slider .ui-slider-range {
	border: 0;
	background: var(--l26-red, #E3191F);
}

.l26-listing #column-left #mfilter-price-slider .ui-slider-handle {
	top: -8px;
	width: 20px;
	height: 20px;
	margin-left: -10px;
	border: 2px solid var(--l26-red, #E3191F);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	cursor: grab;
	outline: 0;
}

/* category tree (kept, collapsed by default) */
.l26-listing #column-left .mfilter-category-tree ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.l26-listing #column-left .mfilter-category-tree li.mfilter-tb-as-tr {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 4px 0;
}

.l26-listing #column-left .mfilter-category-tree a {
	font: 400 14px/1.3 var(--l26-font);
	color: var(--l26-text, #1A1A1A);
	text-transform: none;
}

/* MFP's "Изчисти всички" at the top of the box, live-filter boxes, "show more" */
.l26-listing #column-left .mfilter-button-top {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	text-align: right;
}

.l26-listing #column-left .mfilter-button-top a.mfilter-button-reset {
	color: var(--l26-ink, #111);
	font: 600 13px/1 var(--l26-font);
	text-decoration: underline;
}

.l26-listing #column-left .mfilter-button-top .mfilter-reset-icon {
	display: none;
}

.l26-listing #column-left .mfilter-live-filter input.form-control {
	height: 36px;
	margin: 0 0 8px;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: var(--l26-radius-sm, 8px);
	box-shadow: none;
}

.l26-listing #column-left a.mfilter-button-more {
	color: var(--l26-ink, #111);
	font: 600 13px/1 var(--l26-font);
	text-decoration: underline;
}

/* the sheet chrome (built by lotus26_category.js) is only for phones/tablets */
.l26-fsheet__head,
.l26-fsheet__foot {
	display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
	.l26-listing .l26-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.l26-listing .l26-listing__body.has-side {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 24px;
	}
}

/* phones and tablets: filters become a full-height sheet, the toolbar becomes two buttons */
@media (max-width: 991px) {
	#product-category.container,
	#product-search.container,
	#product-manufacturer.container {
		padding: 0 16px;
	}

	.l26-listing ul.breadcrumb.l26-breadcrumb {
		margin-top: 14px;
	}

	.l26-listing h1.l26-listing__h1 {
		font-size: 26px;
	}

	.l26-listing .l26-listing__intro {
		font-size: 14px;
	}

	/* pills: one scrolling row */
	.l26-listing .l26-listing__pills {
		margin: 0 -16px 16px;
	}

	.l26-listing .l26-listing__pills .l26-pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 0 16px 4px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.l26-listing .l26-listing__pills .l26-pills::-webkit-scrollbar {
		display: none;
	}

	.l26-listing .l26-listing__pills .l26-pills > li {
		flex: 0 0 auto;
	}

	.l26-listing .l26-listing__body.has-side {
		display: block;
	}

	.l26-listing .l26-mbar {
		display: flex;
		gap: 10px;
		margin: 0 0 14px;
		padding: 14px 0 0;
		border-top: 1px solid var(--l26-line, #E5E7EB);
	}

	.l26-listing .l26-mbar__btn {
		position: relative;
		display: flex;
		flex: 1 1 0;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-width: 0;
		height: 46px;
		margin: 0;
		padding: 0 12px;
		border: 1px solid var(--l26-ink, #111);
		border-radius: var(--l26-radius-sm, 8px);
		background: #fff;
		color: var(--l26-ink, #111);
		font: 700 15px/1 var(--l26-font);
		cursor: pointer;
	}

	.l26-listing .l26-mbar__btn--filters {
		background: var(--l26-ink, #111);
		color: #fff;
	}

	.l26-listing .l26-mbar__select {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		padding: 0 34px 0 14px;
		border: 0;
		border-radius: var(--l26-radius-sm, 8px);
		background: transparent;
		color: var(--l26-ink, #111);
		font: 700 15px/1 var(--l26-font);
		text-align: center;
		text-align-last: center;
		-webkit-appearance: none;
		appearance: none;
		cursor: pointer;
	}

	.l26-listing .l26-mbar__btn--sort::after {
		content: "";
		position: absolute;
		right: 16px;
		top: 50%;
		width: 8px;
		height: 8px;
		margin-top: -6px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		pointer-events: none;
	}

	.l26-listing .l26-toolbar {
		margin-bottom: 14px;
	}

	.l26-listing .l26-toolbar__tools {
		display: none;
	}

	.l26-listing .mfilter-selected-filters .mfilter-selected-filters-cnt > a {
		border-color: transparent;
		background: #FDECEC;
		color: #B8141A; /* fin3 2026-11-29: was the brand red #E3191F, 4.15:1 on #FDECEC (AA needs 4.5:1); now ~5.6:1 */
	}

	/* the left column as a full-height sheet (still "visible" for Mega Filter, only moved off-screen) */
	.l26-listing #column-left,
	.l26-listing #column-left.hidden-xs {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 10050;
		display: flex !important;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		height: 100%;
		background: #fff;
		transform: translateX(-102%);
		transition: transform .25s ease;
		visibility: hidden;
	}

	.l26-fsheet-open .l26-listing #column-left {
		transform: none;
		visibility: visible;
	}

	.l26-listing #column-left > .mfilter-box {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 16px 16px;
	}

	.l26-listing #column-left .l26-fsheet__head {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: space-between;
		height: 56px;
		padding: 0 8px 0 16px;
		padding-top: env(safe-area-inset-top, 0px);
		border-bottom: 1px solid var(--l26-line, #E5E7EB);
		font: 800 18px/1 var(--l26-font);
		color: var(--l26-ink, #111);
	}

	.l26-listing #column-left .l26-fsheet__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 0;
		background: transparent;
		color: var(--l26-ink, #111);
		cursor: pointer;
	}

	.l26-listing #column-left .l26-fsheet__foot {
		display: block;
		flex: 0 0 auto;
		padding: 12px 16px;
		padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--l26-line, #E5E7EB);
		background: #fff;
	}

	.l26-listing #column-left .l26-fsheet__apply {
		width: 100%;
	}

	.l26-fsheet-open {
		overflow: hidden;
	}
}

@media (max-width: 767px) {
	.l26-listing .l26-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 12px;
	}

	.l26-listing .l26-grid__promo {
		grid-column: span 2;
	}

	.l26-listing .l26-card__sizes li {
		min-width: 24px;
		padding: 2px 4px;
		font-size: 11px;
	}

	.l26-listing .l26-pager .pagination-wrap .pagination li a,
	.l26-listing .l26-pager .pagination-wrap .pagination li span {
		min-width: 36px;
		height: 36px;
		padding: 0 8px;
	}
}

/* ==========================================================================
   Track Q polish (2026-11-27)
   25: mobile sort button shows the short label "Подреди" (the selected option text was cut off
       as "По подразбиран…"); the select stays on top, transparent, and opens the native picker.
   17: size group collapses to the first 16 values with "Покажи всички (N)" (lotus26_category.js).
   19: only ONE "Изчисти всички", and only while a filter is active: Mega Filter's own top reset
       is hidden on desktop (the link next to the chips stays); in the phone sheet it shows only
       when the JS marks the column as having active filters.
   ========================================================================== */
.l26-listing .l26-mbar__label {
	display: none;
}

@media all and (max-width: 991px) {
	.l26-listing .l26-mbar__btn--sort .l26-mbar__label {
		display: block;
		padding: 0 22px 0 0;
		font: 700 15px/1 var(--l26-font);
		color: var(--l26-ink, #111);
		pointer-events: none;
		white-space: nowrap;
	}

	.l26-listing .l26-mbar__btn--sort .l26-mbar__select {
		color: transparent;
		text-shadow: none;
		z-index: 1;
	}

	.l26-listing .l26-mbar__btn--sort .l26-mbar__select option {
		color: var(--l26-ink, #111);
	}
}

.l26-listing #column-left .mfilter-button-top {
	display: none;
}

@media all and (max-width: 991px) {
	.l26-listing #column-left.l26-has-active .mfilter-button-top {
		display: block;
	}
}

.l26-listing #column-left .l26-size-group .mfilter-option.l26-size-more {
	display: none;
}

.l26-listing #column-left .l26-size-group.l26-sizes-open .mfilter-option.l26-size-more {
	display: block;
}

.l26-listing #column-left .l26-size-toggle {
	display: block;
	width: 100%;
	margin: 10px 0 4px;
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--l26-ink, #111);
	font: 600 14px/1.2 var(--l26-font);
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.l26-listing #column-left .l26-size-toggle:hover,
.l26-listing #column-left .l26-size-toggle:focus-visible {
	color: var(--l26-red, #E3191F);
}

/* Mega Filter price slider: the range and handles come from the jQuery UI theme
   (.ui-widget-header with the mf/images/icons.png sprite — yellow). The id-based
   Mega Filter's own rule uses #mfilter-price-slider + !important, so ours needs the id too. */
.l26-listing .mfilter-price-slider .ui-slider {
	height: 4px; border: 0; border-radius: 2px;
	background: var(--l26-line, #E5E7EB) none !important;
}
.l26-listing .mfilter-price-slider .ui-slider-range,
.l26-listing .mfilter-price-slider .ui-widget-header,
.l26-listing #mfilter-price-slider .ui-slider-range {
	background: var(--l26-red, #E3191F) none !important;
	border: 0 !important;
}
.l26-listing .mfilter-price-slider .ui-slider-handle,
.l26-listing #mfilter-price-slider .ui-slider-handle {
	top: -8px; width: 20px; height: 20px; margin-left: -10px;
	border: 2px solid var(--l26-red, #E3191F) !important; border-radius: 50%;
	background: #fff none !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: grab; outline: 0;
}

/* 2026-11-28 price filter: real round handles, thin track, tidy inputs.
   Mega Filter's style.css/style-2.css set the handle to 28x21 (sprite) and the
   track to 10px with !important + the id, so these rules need the id and !important too. */
.l26-listing .mfilter-price-slider {
	padding: 0 11px !important;
	margin: 4px 0 6px !important;
	background: none !important;
}
.l26-listing #mfilter-price-slider,
.l26-listing .mfilter-price-slider #mfilter-price-slider.ui-slider {
	height: 4px !important;
	margin: 12px 0 10px !important;
	border: 0 !important;
	border-radius: 2px !important;
	background: var(--l26-line, #E5E7EB) none !important;
}
.l26-listing #mfilter-price-slider .ui-slider-range {
	top: 0 !important;
	height: 4px !important;
	border-radius: 2px !important;
	background: var(--l26-red, #E3191F) none !important;
}
.l26-listing #mfilter-price-slider .ui-slider-handle {
	top: -9px !important;
	width: 22px !important;
	height: 22px !important;
	margin: 0 0 0 -11px !important;
	box-sizing: border-box !important;
	border: 2px solid var(--l26-red, #E3191F) !important;
	border-radius: 50% !important;
	background: #fff none !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .18) !important;
	cursor: grab !important;
}
.l26-listing #mfilter-price-slider .ui-slider-handle:active,
.l26-listing #mfilter-price-slider .ui-slider-handle.ui-state-active {
	cursor: grabbing !important;
	box-shadow: 0 0 0 5px rgba(227, 25, 31, .15) !important;
}
/* inputs: hide the loose " € - " text nodes, show € inside each box and a dash between */
.l26-listing #column-left .mfilter-price .mfilter-price-inputs {
	display: flex !important;
	align-items: center;
	gap: 10px;
	font-size: 0 !important;
	color: transparent;
}
.l26-listing #column-left .mfilter-price .mfilter-price-inputs::before {
	content: "-";
	order: 2;
	font: 400 15px/1 var(--l26-font);
	color: var(--l26-muted, #6B7280);
}
.l26-listing #column-left .mfilter-price .mfilter-price-inputs input.form-control {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	height: 40px;
	padding: 0 26px 0 12px;
	font: 600 15px/1 var(--l26-font);
	color: var(--l26-ink, #111);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16'%3E%3Ctext x='0' y='13' font-family='Arial,sans-serif' font-size='14' fill='%236B7280'%3E%E2%82%AC%3C/text%3E%3C/svg%3E") no-repeat right 10px center / 12px 16px;
}
.l26-listing #column-left .mfilter-price .mfilter-price-inputs #mfilter-opts-price-min { order: 1; }
.l26-listing #column-left .mfilter-price .mfilter-price-inputs #mfilter-opts-price-max { order: 3; }

/* manufacturer list: no inner scroll box, the whole list is shown */
.l26-listing #column-left .mfilter-filter-item .mfilter-content-wrapper.mfilter-iscroll,
.l26-listing #column-left .mfilter-filter-item .mfilter-iscroll.scroll-content {
	max-height: none !important;
	height: auto !important;
	overflow: visible !important;
}
.l26-listing #column-left .mfilter-iscroll > .scroll-element,
.l26-listing #column-left .scroll-wrapper > .scroll-element {
	display: none !important;
}

/* 2026-11-28 filters: values with 0 products are not shown (all groups incl. sizes and colours);
   a ticked value stays visible so it can be unticked. Groups with nothing left are hidden by JS. */
.l26-listing #column-left:not(.l26-mf-ready) .mfilter-option[data-l26-zero]:not(:has(input:checked)),
.l26-listing #column-left.l26-mf-ready .mfilter-option.mfilter-disabled:not(:has(input:checked)) {
	display: none !important;
}
.l26-listing #column-left li.mfilter-filter-item.l26-group-empty {
	display: none !important;
}
/* lst2 2026-11-29: "Само с отстъпка" when every product of the listing is discounted (server marker, mfilter_module.php);
   once ticked it stays visible so it can be unticked */
.l26-listing #column-left li.mfilter-filter-item[data-l26-moot]:not(:has(input:checked)) {
	display: none !important;
}

/* 2026-11-28 selected-filter chips: Mega Filter wraps each chip in .mfilter-selected-filters-cnt
   with its own grey border/background and a fixed small height, so the 32px chip spilled over it. */
.l26-listing .mfilter-selected-filters {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	height: auto !important;
}
/* catfix 2026-11-29 (user: „оправи и разместването на /mazhko“): the rule above also beat Mega Filter's own hide()
   (inline display:none when no filter is chosen), so the EMPTY box was laid out with its 16 px bottom margin; Mega Filter
   inserts it after load -> the product list jumped 16 px down on every category page (CLS 0.005-0.009). It stays hidden
   while Mega Filter hides it; with chips Mega Filter's show() removes the inline style and the flex row above applies. */
.l26-listing .mfilter-selected-filters[style*="display: none"],
.l26-listing .mfilter-selected-filters[style*="display:none"] {
	display: none !important;
}
/* catfix2 2026-11-29: a filtered address opened directly - the server marks it (listing.php mfActive() ->
   listing_mbar.twig .l26-mf-hold right before #l26-results) and the placeholder holds one chip row (32 px + the box's
   16 px margin) until Mega Filter inserts its box there (before: the products jumped 48 px down, CLS 0.015-0.03).
   Browsers without :has() keep a 0 px placeholder (as before), never a double gap. */
@supports selector(:has(+ *)) {
	.l26-listing .l26-mf-hold {
		height: 48px;
	}

	/* 2+ chosen values (+ „Изчисти всички“): two rows of 32 px + 8 px gap on phones up to 400 px (measured 360/390) */
	@media (max-width: 400px) {
		.l26-listing .l26-mf-hold--2 {
			height: 88px;
		}
	}

	.l26-listing .l26-mf-hold:has(~ .mfilter-selected-filters) {
		display: none;
	}
}
.l26-listing .mfilter-selected-filters .mfilter-selected-filters-cnt {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}
.l26-listing .mfilter-selected-filters .mfilter-selected-filters-cnt > a {
	margin: 0 !important;
}
.l26-listing .mfilter-selected-filters .l26-chips-clear {
	margin: 0 !important;
}

/* SPEED final r1 (2026-11-28): the closed phone filter sheet (~1200 nodes, fixed + translated off-screen) was styled and
   laid out in the first frame. content-visibility:auto skips it while it is off-screen; layout queries from Mega Filter
   still get real values (forced rendering), and it renders as soon as it slides in. Phones only (desktop sidebar unchanged). */
@media (max-width: 991px) {
	.l26-listing #column-left,
	.l26-listing #column-left.hidden-xs {
		content-visibility: auto;
	}
}

/* SPEED final r1 (2026-11-28): desktop sidebar filters stay invisible (they keep their place, nothing is a layout shift)
   until lotus26_category.js has applied Mega Filter's first count response (size collapse, hidden 0-product values) and
   adds .l26-mf-ready; at most 2.5 s. Without JS the animation shows them after 3 s. */
/* 2026-11-28 (user: "филтрите се появяват със закъснение"): the invisibility gate is removed.
   Instead the server-rendered sidebar already looks like the final one, so there is nothing to hide:
   - sizes come pre-sorted from the DB (oc_option_value.sort_order of option 111 = the sizeKey order);
   - 0-product values are hidden by the '2026-11-28 filters' rule above (classes are in the HTML);
   - before lotus26_category.js turns the size group into .l26-size-group, the CSS shows only the first
     16 visible sizes and reserves the height of the "Покажи всички" link (only when there are 19+). */
.l26-listing #column-left .mfp-g-option-111:not(.l26-size-group):has(.mfilter-option:nth-child(19 of .mfilter-option:not([data-l26-zero]))) .mfilter-option:nth-child(n+17 of .mfilter-option:not([data-l26-zero])) {
	display: none !important;
}
.l26-listing #column-left .mfp-g-option-111:not(.l26-size-group):has(.mfilter-option:nth-child(19 of .mfilter-option:not([data-l26-zero]))) .mfilter-options-container::after {
	content: "";
	display: block;
	height: 46px; /* measured: the real link adds 46px to the size group (33px box + margins) */
}

/* C7 round 2 (2026-11-28): promo tiles in the grid.
   (1) from 992px the tile fills its row (the product cards are ~430px tall; at 2:1 it was ~250px
       with ~180px white space under it); the image covers the tile, kept left so the headline of the
       'Последни бройки' creative stays in view;
   (2) the end tile (Outlet, after the last product, only rendered when the count is a multiple of 4)
       exists only where the grid has 4 columns, so it fills the otherwise half-empty last row. */
.l26-listing .l26-grid__promo--end {
	display: none;
}

@media (min-width: 992px) {
	.l26-listing .l26-grid__promo {
		position: relative;
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 240px;
	}

	.l26-listing .l26-grid__promo .l26-promo {
		position: absolute;
		inset: 0;
		display: block;
	}

	.l26-listing .l26-grid__promo img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 18% 50%;
	}
}

@media (min-width: 1200px) {
	.l26-listing .l26-grid__promo--end {
		display: block;
		background: #1a1a1a;
	}

	.l26-listing .l26-grid__promo--end img {
		object-position: 50% 50%;
	}
}

/* 2026-11-28 'Последни бройки' tile with its own two creatives (<picture>: 1:1 from 992px, 3:2 below).
   Both keep text and athlete in the middle, so a centred cover crop works for the 2:1 mobile tile
   and the ~1.1-1.3:1 desktop tile. */
.l26-listing .l26-grid__promo .l26-promo--fit picture {
	display: block;
	width: 100%;
	height: 100%;
}
.l26-listing .l26-grid__promo .l26-promo--fit img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
}

/* 2026-11-28 user: sticky filter sidebar (desktop). lotus26_category.js moves "top" with the scroll so a
   sidebar taller than the window scrolls down with the page until its bottom shows, then sticks by its
   bottom edge; scrolling up it comes back the same way and sticks by its top. */
@media (min-width: 992px) {
	.l26-listing .l26-listing__body.has-side > #column-left {
		position: sticky;
		top: 24px;
	}
}

/* brandpages 2026-11-28: brand pages (/puma, /nike …) look like the category page. The old theme rule
   "#product-manufacturer h1" (custom_v1.css: 44px upper case, letter-spacing, 140px black bar) out-ranks
   .l26-listing h1.l26-listing__h1, so the brand H1 gets the category look here. Text unchanged (SEO). */
#product-manufacturer .l26-listing h1.l26-listing__h1 {
	position: static;
	margin: 0 0 8px;
	padding: 0;
	font: 800 34px/1.15 var(--l26-font);
	letter-spacing: -.01em;
	text-transform: none;
	color: var(--l26-ink, #111);
}

#product-manufacturer .l26-listing h1.l26-listing__h1::after {
	content: none;
	display: none;
}

@media (max-width: 991px) {
	#product-manufacturer .l26-listing h1.l26-listing__h1 {
		font-size: 26px;
		line-height: 1.15;
	}
}

/* brandpages 2026-11-28: on a brand page Mega Filter's "Категория" tree (normal links setting) links to the
   plain category pages (/drehi = every brand) next to counts of this brand only; the pills above link to
   the brand's own /<root>/marka-<brand> pages instead, so the tree is not shown here (!important: Mega
   Filter's JS writes an inline display: list-item on its groups). */
.l26-listing--manufacturer #column-left li.mfilter-filter-item.mfilter-categories {
	display: none !important;
}

/* homecards r3 2026-11-28 (review): tablets (768-991px, 3 columns) — the 'Последни бройки' tile spans 2 columns and
   was 2:1 (~260px) next to a ~440px card: it fills its row there too, like from 992px. */
@media (min-width: 768px) and (max-width: 991px) {
	.l26-listing .l26-grid__promo {
		position: relative;
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 240px;
	}
	.l26-listing .l26-grid__promo .l26-promo {
		position: absolute;
		inset: 0;
		display: block;
	}
	.l26-listing .l26-grid__promo img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

/* auxpages 2026-11-28 (review): the specials page (/specials) sits in the old "#product-search" wrapper, whose
   custom_v1.css rule (44px upper case, letter-spacing, 140px black bar) out-ranks .l26-listing h1.l26-listing__h1;
   it gets the category H1 look here, like the brand pages above. Scoped to the specials listing only. Text unchanged. */
#product-search .l26-listing--special h1.l26-listing__h1,
#product-search .l26-listing--search h1.l26-listing__h1 { /* fin3 2026-11-29: + the search results page */
	position: static;
	margin: 0 0 8px;
	padding: 0;
	font: 800 34px/1.15 var(--l26-font);
	letter-spacing: -.01em;
	text-transform: none;
	color: var(--l26-ink, #111);
}

#product-search .l26-listing--special h1.l26-listing__h1::after,
#product-search .l26-listing--search h1.l26-listing__h1::after {
	content: none;
	display: none;
}

@media (max-width: 991px) {
	#product-search .l26-listing--special h1.l26-listing__h1,
	#product-search .l26-listing--search h1.l26-listing__h1 {
		font-size: 26px;
		line-height: 1.15;
	}
}

/* ajaxf 2026-11-29 (lotus26_ajaxfilter.js): results being replaced without a reload. Opacity only, no size
   change, so no layout shift; the live region announces the new product count. */
.l26-listing #l26-results {
	scroll-margin-top: 16px;
}

.l26-listing #l26-results.l26-af-loading {
	opacity: .45;
	pointer-events: none;
	transition: opacity .15s;
}

.l26-listing #l26-results[aria-busy="true"] {
	cursor: progress;
}

.l26-listing #l26-results:focus {
	outline: none;
}

.l26-listing .l26-fsheet__apply.l26-af-loading {
	opacity: .7;
}

.l26-af-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* lst 2026-11-29: grid density toggle (lotus26/listing_toolbar.twig + lotus26_category.js). html.l26-grid-lg =
   bigger cards: 3 per row from 1200px, 2 on tablets, 1 on phones (default 4 / 3 / 2). The class is set by an
   inline script before the grid is parsed, so the first paint already has the chosen layout (no shift). */
.l26-listing .l26-view {
	display: flex;
	align-items: center;
	gap: 4px;
}

.l26-listing .l26-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: var(--l26-radius-sm, 8px);
	background: #fff;
	color: var(--l26-muted, #6B7280);
	cursor: pointer;
	transition: color .15s, border-color .15s;
}

.l26-listing .l26-view__btn:hover {
	color: var(--l26-ink, #111);
}

.l26-listing .l26-view__btn:focus-visible {
	outline: 2px solid var(--l26-ink, #111);
	outline-offset: 2px;
}

.l26-listing .l26-view__btn svg {
	display: block;
	fill: currentColor;
}

/* the pressed look follows the html class (right from the first paint) */
html:not(.l26-grid-lg) .l26-listing .l26-view__btn[data-l26-view="sm"],
html.l26-grid-lg .l26-listing .l26-view__btn[data-l26-view="lg"] {
	border-color: var(--l26-ink, #111);
	color: var(--l26-ink, #111);
}

.l26-listing .l26-view__btn .l26-view__ico--m,
.l26-listing .l26-view__btn .l26-view__ico--t {
	display: none;
}

/* lst2: on tablets the two layouts are 2 / 3 columns, so the icons show 2 / 3 bars */
@media (min-width: 768px) and (max-width: 1199px) {
	.l26-listing .l26-view__btn .l26-view__ico--d {
		display: none;
	}

	.l26-listing .l26-view__btn .l26-view__ico--t {
		display: block;
	}
}

@media (min-width: 1200px) {
	html.l26-grid-lg .l26-listing .l26-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* the end tile exists to fill the last row of a 4-column grid */
	html.l26-grid-lg .l26-listing .l26-grid__promo--end {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	html.l26-grid-lg .l26-listing .l26-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	/* phones / tablets: the toolbar row keeps the count and this toggle (sort is in the bar above) */
	.l26-listing .l26-toolbar__tools {
		display: flex;
		margin-left: auto;
	}

	.l26-listing .l26-toolbar__tools > .l26-toolbar__sort,
	.l26-listing .l26-toolbar__tools > .l26-toolbar__limit {
		display: none;
	}

	.l26-listing .l26-view__btn {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 767px) {
	.l26-listing .l26-view__btn .l26-view__ico--d {
		display: none;
	}

	.l26-listing .l26-view__btn .l26-view__ico--m {
		display: block;
	}

	html.l26-grid-lg .l26-listing .l26-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px 0;
	}

	html.l26-grid-lg .l26-listing .l26-grid__promo {
		grid-column: 1 / -1;
	}
}
