/* ModaOnline24 — Catalog and filters 2026 v2.4.0 */
body.mo24-catalog-active {
	--mo24-catalog-ink: #111;
	--mo24-catalog-muted: #777;
	--mo24-catalog-line: #e8e6e1;
	--mo24-catalog-soft: #f7f3ec;
	--mo24-catalog-accent: #b89a5b;
}

/* Catalog shell / toolbar */
body.mo24-catalog-active .woocommerce-products-header,
body.mo24-catalog-active .woocommerce-notices-wrapper,
body.mo24-catalog-active .woocommerce-result-count,
body.mo24-catalog-active .woocommerce-ordering,
body.mo24-catalog-active nav.woocommerce-pagination {
	font-family: inherit;
}

body.mo24-catalog-active .woocommerce-products-header__title,
body.mo24-catalog-active .page-title {
	font-size: clamp(28px, 3vw, 42px) !important;
	line-height: 1.08 !important;
	font-weight: 700 !important;
	letter-spacing: -.025em !important;
	color: var(--mo24-catalog-ink) !important;
}

body.mo24-catalog-active .woocommerce-result-count {
	margin: 0 0 24px !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: var(--mo24-catalog-muted) !important;
}

body.mo24-catalog-active .woocommerce-ordering select {
	min-height: 44px !important;
	padding: 0 42px 0 14px !important;
	border: 1px solid var(--mo24-catalog-line) !important;
	border-radius: 0 !important;
	background-color: #fff !important;
	color: var(--mo24-catalog-ink) !important;
	font-size: 12px !important;
	box-shadow: none !important;
}

/* Native WooCommerce/Jaroti filter sidebar. */
body.mo24-catalog-active .filter-widget-area {
	color:var(--mo24-catalog-ink) !important;
	font-family:var(--mo24-font-sans, "Albert Sans", Arial, sans-serif) !important;
}

body.mo24-catalog-active .filter-widget-area .widget-container {
	margin:0 !important;
	padding:0 0 28px !important;
	border:0 !important;
	border-bottom:1px solid var(--mo24-catalog-line) !important;
	background:transparent !important;
}

body.mo24-catalog-active .filter-widget-area .widget-container + .widget-container {
	padding-top:30px !important;
}

body.mo24-catalog-active .filter-widget-area .widget-title-wrapper {
	position:relative !important;
	margin:0 0 18px !important;
	padding:0 !important;
	border:0 !important;
}

body.mo24-catalog-active .filter-widget-area .widget-title {
	margin:0 !important;
	padding:0 0 12px !important;
	border:0 !important;
	border-bottom:1px solid #111 !important;
	color:#111 !important;
	font-size:11px !important;
	font-weight:700 !important;
	line-height:1.4 !important;
	letter-spacing:.09em !important;
	text-transform:uppercase !important;
}

body.mo24-catalog-active .filter-widget-area .widget-title::before,
body.mo24-catalog-active .filter-widget-area .widget-title::after {
	content:none !important;
	display:none !important;
}

body.mo24-catalog-active .filter-widget-area ul,
body.mo24-catalog-active .filter-widget-area li {
	margin:0 !important;
	padding:0 !important;
	border:0 !important;
	list-style:none !important;
}

body.mo24-catalog-active .filter-widget-area li::before,
body.mo24-catalog-active .filter-widget-area li::after,
body.mo24-catalog-active .filter-widget-area li::marker {
	content:none !important;
	display:none !important;
}

body.mo24-catalog-active .filter-widget-area .product-categories,
body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list {
	max-height:330px !important;
	padding:1px 8px 1px 0 !important;
	overflow-x:hidden !important;
	overflow-y:auto !important;
	scrollbar-width:thin;
	scrollbar-color:#cfcac1 transparent;
}

body.mo24-catalog-active .filter-widget-area .product-categories::-webkit-scrollbar,
body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list::-webkit-scrollbar {
	width:4px;
}

body.mo24-catalog-active .filter-widget-area .product-categories::-webkit-scrollbar-thumb,
body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list::-webkit-scrollbar-thumb {
	background:#cfcac1;
}

body.mo24-catalog-active .filter-widget-area .product-categories li + li,
body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list li + li {
	margin-top:10px !important;
}

body.mo24-catalog-active .filter-widget-area .product-categories a,
body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list a {
	color:#56534f !important;
	font-size:12.5px !important;
	font-weight:400 !important;
	line-height:1.45 !important;
	letter-spacing:0 !important;
	text-decoration:none !important;
	text-transform:none !important;
	transition:color .18s ease !important;
}

body.mo24-catalog-active .filter-widget-area .product-categories a:hover,
body.mo24-catalog-active .filter-widget-area .product-categories .current-cat > a,
body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list a:hover,
body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list .chosen > a {
	color:#111 !important;
}

body.mo24-catalog-active .filter-widget-area .product-categories .children {
	margin:10px 0 0 6px !important;
	padding:0 0 0 14px !important;
	border-left:1px solid var(--mo24-catalog-line) !important;
}

body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list li {
	dis:flex !important;
	align-items:center !important;
	gap:7px !important;
	min-height:20px !important;
}

body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list a {
	position:relative !important;
	display:flex !important;
	align-items:center !important;
	gap:9px !important;
	min-width:0 !important;
}

body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list a::before {
	content:'' !important;
	display:block !important;
	flex:0 0 15px !important;
	width:15px !important;
	height:15px !important;
	border:1px solid #bcb8b1 !important;
	border-radius:0 !important;
	background:#fff !important;
	box-shadow:none !important;
}

body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list .chosen > a::before {
	border-color:#111 !important;
	background:#111 !important;
	box-shadow:inset 0 0 0 3px #fff !important;
}

body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list .count {
	margin-left:auto !important;
	color:#9b9893 !important;
	font-size:10px !important;
	font-weight:400 !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider_wrapper {
	padding-top:3px !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider {
	height:3px !important;
	margin:8px 8px 21px !important;
	border:0 !important;
	border-radius:0 !important;
	background:#ddd9d2 !important;
	box-shadow:none !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider .ui-slider-range {
	border:0 !important;
	border-radius:0 !important;
	background:#111 !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider .ui-slider-handle {
	top:50% !important;
	width:15px !important;
	height:15px !important;
	margin:0 0 0 -7px !important;
	border:2px solid #111 !important;
	border-radius:50% !important;
	background:#fff !important;
	box-shadow:0 1px 4px rgba(0,0,0,.12) !important;
	transform:translateY(-50%) !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider_amount {
	dis:grid !important;
	grid-template-columns:1fr auto !important;
	align-items:center !important;
	gap:12px !important;
	text-align:left !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider_amount .price_label {
	grid-column:1 !important;
	grid-row:1 !important;
	float:none !important;
	color:#68645e !important;
	font-size:11.5px !important;
	line-height:1.45 !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider_amount .button {
	grid-column:2 !important;
	grid-row:1 !important;
	float:none !important;
	min-width:76px !important;
	min-height:36px !important;
	margin:0 !important;
	padding:8px 13px !important;
	border:1px solid #111 !important;
	border-radius:0 !important;
	background:#111 !important;
	color:#fff !important;
	box-shadow:none !important;
	font-size:9.5px !important;
	font-weight:700 !important;
	line-height:1 !important;
	letter-spacing:.06em !important;
	text-transform:uppercase !important;
}

body.mo24-catalog-active .filter-widget-area .price_slider_amount .button:hover {
	background:#2c2b29 !important;
}

body.mo24-catalog-active .filter-widget-area .clear {
	display:none !important;
}

/* Force a calm fashion grid even if Jaroti injects old widths/floats. */
body.mo24-catalog-active .products:not(.swiper-wrapper),
body.mo24-catalog-active .products > .swiper-wrapper {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 42px 18px !important;
	width: 100% !important;
	max-width: none !important;
	transform: none !important;
	height: auto !important;
	box-sizing: border-box !important;
}

body.mo24-catalog-active .products > .swiper-wrapper {
	grid-column: 1 / -1;
}

body.mo24-catalog-active .products .swiper-button-prev,
body.mo24-catalog-active .products .swiper-button-next,
body.mo24-catalog-active .products .swiper-pagination {
	display: none !important;
}

body.mo24-catalog-active article.mo24-catalog-card,
body.mo24-catalog-active section.mo24-catalog-card,
body.mo24-catalog-active li.mo24-catalog-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.mo24-catalog-card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	background: #f3f1ed;
	overflow: hidden;
}

.mo24-catalog-card__image-link {
	display: block;
	width: 100%;
	height: 100%;
	background: #f3f1ed;
}

.mo24-catalog-card__image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center top !important;
	transition: opacity .35s ease, transform .55s ease !important;
}

.mo24-catalog-card__image--secondary {
	opacity: 0;
}

@media (hover: hover) {
	.mo24-catalog-card:hover .mo24-catalog-card__image--primary:has(+ .mo24-catalog-card__image--secondary) {
		opacity: 0;
	}
	.mo24-catalog-card:hover .mo24-catalog-card__image--secondary {
		opacity: 1;
		transform: scale(1.018);
	}
}

.mo24-catalog-card__badges {
	position: absolute;
	z-index: 3;
	top: 12px;
	left: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}

.mo24-catalog-badge {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 0 9px;
	background: rgba(255,255,255,.95);
	color: #111;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.mo24-catalog-badge--sale {
	background: #111;
	color: #fff;
}

body.mo24-catalog-active a.mo24-catalog-card__wishlist,
body.mo24-catalog-active a.mo24-catalog-card__wishlist:hover,
body.mo24-catalog-active a.mo24-catalog-card__wishlist:focus {
	position: absolute !important;
	z-index: 4 !important;
	top: 10px !important;
	right: 10px !important;
	display: grid !important;
	place-items: center !important;
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255,255,255,.94) !important;
	color: #111 !important;
	box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
	text-decoration: none !important;
}

body.mo24-catalog-active a.mo24-catalog-card__wishlist::before,
body.mo24-catalog-active a.mo24-catalog-card__wishlist::after,
body.mo24-catalog-active a.mo24-catalog-card__wishlist span:not(.screen-reader-text) {
	display: none !important;
	content: none !important;
}

.mo24-catalog-card__wishlist svg {
	width: 19px;
	height: 19px;
}

.mo24-catalog-card__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-top: 13px;
}

body.mo24-catalog-active .mo24-catalog-card__title,
body.mo24-catalog-active .mo24-catalog-card__title:hover {
	display: -webkit-box;
	min-height: 39px;
	margin: 0 0 6px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--mo24-catalog-ink) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
}

.mo24-catalog-card__price {
	min-height: 25px;
	margin: 0;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.mo24-catalog-card__price del {
	margin-right: 5px;
	color: #999;
	font-size: 11px;
	font-weight: 400;
}

.mo24-catalog-card__price ins {
	background: transparent;
	color: #111;
	text-decoration: none;
}

.mo24-catalog-card__quick {
	margin-top: 11px;
}

.mo24-catalog-card__size-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 7px;
	font-size: 9.5px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.mo24-catalog-card__size-header a {
	color: #666 !important;
	font-size: 9px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.mo24-catalog-sizes {
	display: flex;
	gap: 5px;
	width: 100%;
	padding: 0 0 8px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.mo24-catalog-sizes::-webkit-scrollbar { display: none; }

body.mo24-catalog-active button.mo24-catalog-size,
body.mo24-catalog-active button.mo24-catalog-size:hover,
body.mo24-catalog-active button.mo24-catalog-size:focus {
	flex: 0 0 auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 36px !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 9px !important;
	border: 1px solid #dcdad5 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #111 !important;
	font-size: 10.5px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	text-transform: none !important;
}

body.mo24-catalog-active button.mo24-catalog-size.is-selected,
body.mo24-catalog-active button.mo24-catalog-size.is-selected:hover {
	border-color: #111 !important;
	background: #111 !important;
	color: #fff !important;
}

body.mo24-catalog-active button.mo24-catalog-size:disabled {
	position: relative;
	border-color: #ecebe8 !important;
	background: #fafafa !important;
	color: #bbb !important;
	cursor: not-allowed !important;
}

body.mo24-catalog-active button.mo24-catalog-size:disabled::after {
	content: '';
	position: absolute;
	left: 5px;
	right: 5px;
	top: 50%;
	height: 1px;
	background: #bbb;
	transform: rotate(-22deg);
}

body.mo24-catalog-active button.mo24-catalog-add,
body.mo24-catalog-active button.mo24-catalog-add:hover,
body.mo24-catalog-active button.mo24-catalog-add:focus,
body.mo24-catalog-active a.mo24-catalog-card__options,
body.mo24-catalog-active a.mo24-catalog-card__options:hover {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 43px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid #111 !important;
	border-radius: 0 !important;
	background: #111 !important;
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: .035em !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	transition: opacity .2s ease !important;
}

body.mo24-catalog-active button.mo24-catalog-add:disabled {
	border-color: #e2e1de !important;
	background: #efeeeb !important;
	color: #8d8d8b !important;
	cursor: not-allowed !important;
}

body.mo24-catalog-active button.mo24-catalog-add.is-loading { opacity: .65 !important; }
body.mo24-catalog-active button.mo24-catalog-add.is-added { background: #335d43 !important; border-color: #335d43 !important; }

.mo24-catalog-card__unavailable {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	border: 1px solid #ddd;
	color: #888;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
}

.mo24-catalog-toast {
	position: fixed;
	z-index: 999999;
	left: 50%;
	bottom: 28px;
	max-width: min(90vw, 380px);
	padding: 12px 18px;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	transition: opacity .2s ease, transform .2s ease;
}
.mo24-catalog-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

body.mo24-catalog-active nav.woocommerce-pagination ul {
	display: flex !important;
	justify-content: center;
	gap: 6px;
	border: 0 !important;
}
body.mo24-catalog-active nav.woocommerce-pagination ul li { border: 0 !important; }
body.mo24-catalog-active nav.woocommerce-pagination ul li a,
body.mo24-catalog-active nav.woocommerce-pagination ul li span {
	display: grid !important;
	place-items: center !important;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	border: 1px solid var(--mo24-catalog-line) !important;
	background: #fff !important;
	color: #111 !important;
}
body.mo24-catalog-active nav.woocommerce-pagination ul li span.current {
	border-color: #111 !important;
	background: #111 !important;
	color: #fff !important;
}

@media (max-width: 1199px) {
	body.mo24-catalog-active .products:not(.swiper-wrapper),
	body.mo24-catalog-active .products > .swiper-wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 34px 16px !important;
	}
}

@media (max-width: 767px) {
	body.mo24-catalog-active #ts-filter-widget-area .ts-sidebar-content {
		background:#fff !important;
	}

	body.mo24-catalog-active #ts-filter-widget-area .filter-widget-area,
	body.mo24-catalog-active .filter-widget-area {
		padding:18px 20px 32px !important;
	}

	body.mo24-catalog-active .filter-widget-area .product-categories,
	body.mo24-catalog-active .filter-widget-area .woocommerce-widget-layered-nav-list {
		max-height:260px !important;
	}

	body.mo24-catalog-active .woocommerce-products-header__title,
	body.mo24-catalog-active .page-title {
		font-size: 27px !important;
	}

	body.mo24-catalog-active .woocommerce-result-count {
		float: none !important;
		margin: 0 0 10px !important;
	}

	body.mo24-catalog-active .woocommerce-ordering {
		float: none !important;
		width: 100% !important;
		margin: 0 0 20px !important;
	}

	body.mo24-catalog-active .woocommerce-ordering select {
		width: 100% !important;
	}

	body.mo24-catalog-active .products:not(.swiper-wrapper),
	body.mo24-catalog-active .products > .swiper-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 28px 10px !important;
	}

	.mo24-catalog-card__media { aspect-ratio: 2 / 3; }
	.mo24-catalog-card__content { padding-top: 9px; }

	body.mo24-catalog-active .mo24-catalog-card__title,
	body.mo24-catalog-active .mo24-catalog-card__title:hover {
		min-height: 36px;
		margin-bottom: 4px;
		font-size: 11.5px !important;
		line-height: 1.5 !important;
	}

	.mo24-catalog-card__price { min-height: 22px; font-size: 12.5px; }
	.mo24-catalog-card__price del { font-size: 9.5px; }
	.mo24-catalog-card__quick { margin-top: 8px; }
	.mo24-catalog-card__size-header { margin-bottom: 5px; font-size: 8.5px; }
	.mo24-catalog-card__size-header a { font-size: 8.5px !important; }
	.mo24-catalog-sizes { gap: 4px; padding-bottom: 6px; }

	body.mo24-catalog-active button.mo24-catalog-size,
	body.mo24-catalog-active button.mo24-catalog-size:hover,
	body.mo24-catalog-active button.mo24-catalog-size:focus {
		min-width: 31px !important;
		height: 31px !important;
		padding: 0 7px !important;
		font-size: 9.5px !important;
	}

	body.mo24-catalog-active button.mo24-catalog-add,
	body.mo24-catalog-active button.mo24-catalog-add:hover,
	body.mo24-catalog-active button.mo24-catalog-add:focus,
	body.mo24-catalog-active a.mo24-catalog-card__options,
	body.mo24-catalog-active a.mo24-catalog-card__options:hover,
	.mo24-catalog-card__unavailable {
		min-height: 38px !important;
		padding: 0 7px !important;
		font-size: 8.5px !important;
		letter-spacing: .02em !important;
	}

	.mo24-catalog-card__badges { top: 7px; left: 7px; gap: 4px; }
	.mo24-catalog-badge { min-height: 22px; padding: 0 6px; font-size: 7.5px; }
	body.mo24-catalog-active a.mo24-catalog-card__wishlist,
	body.mo24-catalog-active a.mo24-catalog-card__wishlist:hover,
	body.mo24-catalog-active a.mo24-catalog-card__wishlist:focus {
		top: 6px !important;
		right: 6px !important;
		width: 32px !important;
		height: 32px !important;
	}
	.mo24-catalog-card__wishlist svg { width: 17px; height: 17px; }
	.mo24-catalog-toast { bottom: calc(18px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
	body.mo24-catalog-active .products:not(.swiper-wrapper),
	body.mo24-catalog-active .products > .swiper-wrapper {
		column-gap: 8px !important;
	}
	body.mo24-catalog-active button.mo24-catalog-size,
	body.mo24-catalog-active button.mo24-catalog-size:hover,
	body.mo24-catalog-active button.mo24-catalog-size:focus {
		min-width: 29px !important;
		padding: 0 6px !important;
	}
}

body.mo24-catalog-active :where(button, a, select):focus-visible {
	outline: 2px solid #111 !important;
	outline-offset: 2px !important;
}

@media (prefers-reduced-motion: reduce) {
	body.mo24-catalog-active *,
	body.mo24-catalog-active *::before,
	body.mo24-catalog-active *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
