.domotex-archive[aria-busy="true"] .domotex-archive__results {
	opacity: 0.62;
	transition: opacity 120ms ease;
}

.domotex-archive {
	width: min(100%, 1143px);
	margin-inline: auto;
	margin-block-start: 0;
	padding-block: 20px 4rem;
	padding-inline: clamp(1.5rem, 4.2vw, 3rem);
}

.domotex-archive > :where(.wp-block-woocommerce-breadcrumbs, .wp-block-query-title, .wp-block-term-description, .wp-block-woocommerce-store-notices, .domotex-catalog-search) {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
}

.domotex-archive .woocommerce-breadcrumb,
.domotex-archive .wp-block-woocommerce-breadcrumbs {
	margin: 0 0 8px;
	color: var(--domotex-color-muted);
	font-size: 12px;
	line-height: 18px;
}

.domotex-archive[aria-busy="true"] .domotex-archive__results {
	opacity: 0.62;
	transition: opacity 120ms ease;
}

.domotex-archive__title {
	margin: 0 0 8px !important;
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 42px;
	text-wrap: balance;
}

.domotex-archive__description {
	max-width: 720px;
	margin: 0;
	color: var(--domotex-color-muted);
	font-size: 14px;
	line-height: 22px;
}

.domotex-archive__layout {
	display: block;
	margin-block-start: 0;
}

.domotex-archive__quick-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 24px 0 45px;
}

.domotex-archive__quick-filter {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	font-size: 13px;
	font-weight: 550;
	line-height: 18px;
	text-decoration: none;
}

.domotex-archive__quick-filter svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.domotex-archive__quick-filter:is(:hover, .is-active) {
	border-color: var(--domotex-color-beige);
	background: var(--domotex-color-beige);
}

.domotex-archive__controls-row {
	display: flex;
	min-height: 44px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin: 0 0 15px;
}

.domotex-archive__controls-row > .wp-block-shortcode {
	flex: 0 0 auto;
	margin: 0;
}

.domotex-archive .domotex-filters__open {
	box-sizing: border-box;
	width: 120px;
	min-height: 44px;
	flex: 0 0 120px;
	justify-content: center;
	gap: 5px;
	padding-inline: 18px;
}

.domotex-archive__results {
	min-width: 0;
	width: 100%;
}

.domotex-archive__toolbar {
	display: flex;
	min-height: 2.75rem;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin: 0;
	padding: 0;
	color: var(--domotex-color-muted);
	font-size: 0.8125rem;
}

.domotex-archive__toolbar .woocommerce-result-count {
	margin: 0;
}

.domotex-archive__toolbar .woocommerce-ordering {
	display: flex;
	width: 192px;
	min-height: 44px;
	align-items: center;
	gap: 0.375rem;
	margin: 0;
}

.domotex-archive__toolbar .woocommerce-ordering label {
	flex: 0 0 auto;
	color: var(--domotex-color-muted);
	font-size: 0.75rem;
}

.domotex-archive__toolbar .wp-block-woocommerce-catalog-sorting {
	order: -1;
	width: 192px;
	margin-inline-end: auto;
}

.domotex-archive__toolbar .wp-block-woocommerce-product-results-count {
	margin-inline-start: auto;
}

.domotex-archive__toolbar select {
	min-width: 0;
	min-height: 44px;
	flex: 1 1 auto;
	max-width: min(100%, 18rem);
	padding: 0.5rem 2rem 0.5rem 0.75rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background-color: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	font: inherit;
}

.domotex-archive__collection {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.domotex-archive__inline-filters {
	margin: 0 0 24px;
}

.domotex-archive__results-toolbar {
	display: flex;
	min-height: 26px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 24px;
	color: var(--domotex-color-muted);
	font-size: 12px;
	line-height: 18px;
}

.domotex-archive__results-toolbar p {
	margin: 0;
}

.domotex-archive__results-toolbar-order {
	text-align: right;
}

.domotex-archive__guide {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 2rem 0 0;
	padding: 1rem;
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-surface-subtle);
}

body.tax-product_cat.term-tepisi .domotex-archive__guide {
	display: flex;
}

.domotex-archive__guide h2 {
	margin: 0 0 0.25rem;
	font-size: 0.875rem;
	font-weight: 650;
}

.domotex-archive__guide p {
	margin: 0;
	color: var(--domotex-color-muted);
	font-size: 0.75rem;
}

.domotex-archive__guide .domotex-button {
	min-height: 2.5rem;
	flex: 0 0 auto;
	padding: 0.625rem 1rem;
}

.domotex-archive__inline-filter-heading {
	display: flex;
	height: 20px;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 8px;
}

.domotex-archive__inline-filter-heading h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 650;
	line-height: 20px;
}

.domotex-archive__inline-filter-heading p {
	margin: 0;
	font-size: 12px;
	line-height: 18px;
}

.domotex-archive__inline-filter-heading a {
	color: var(--domotex-color-muted);
	font-size: 12px;
	line-height: 18px;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.domotex-archive__inline-filter-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.domotex-inline-filter {
	position: relative;
	min-width: 0;
}

.domotex-inline-filter > summary {
	box-sizing: border-box;
	display: flex;
	min-height: 3.25rem;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.625rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-white);
	cursor: pointer;
	list-style: none;
}

.domotex-inline-filter > summary::-webkit-details-marker {
	display: none;
}

.domotex-inline-filter > summary > svg {
	width: 1.1rem;
	height: 1.1rem;
	flex: 0 0 auto;
}

.domotex-inline-filter__copy {
	display: grid;
	min-width: 0;
	flex: 1 1 auto;
	gap: 0.125rem;
}

.domotex-inline-filter__label {
	color: var(--domotex-color-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.035em;
	line-height: 1.2;
	text-transform: uppercase;
}

.domotex-inline-filter__value {
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.domotex-inline-filter__options {
	position: absolute;
	z-index: 8;
	top: calc(100% + 0.375rem);
	right: 0;
	left: 0;
	display: grid;
	max-height: min(48vh, 20rem);
	gap: 0.25rem;
	overflow-y: auto;
	padding: 0.625rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-white);
	box-shadow: 0 12px 28px var(--domotex-color-shadow);
}

.domotex-inline-filter__option {
	display: flex;
	min-height: 2.5rem;
	align-items: center;
	padding: 0.5rem 0.625rem;
	border-radius: var(--domotex-radius-micro, 2px);
	color: var(--domotex-color-charcoal);
	font-size: 0.8125rem;
	text-decoration: none;
}

.domotex-inline-filter__option:hover,
.domotex-inline-filter__option[aria-current="true"] {
	background: var(--domotex-color-category-background);
}

.domotex-inline-filter__price-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

.domotex-inline-filter__price-form label {
	display: grid;
	gap: 0.25rem;
	color: var(--domotex-color-muted);
	font-size: 0.75rem;
}

.domotex-inline-filter__price-form input {
	width: 100%;
	min-height: 2.5rem;
	padding: 0.5rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	font: inherit;
}

.domotex-inline-filter__price-form .domotex-button {
	grid-column: 1 / -1;
	min-height: 2.5rem;
}

.domotex-archive__collection > .wp-block-woocommerce-product-template,
.domotex-archive__collection .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.domotex-archive .domotex-product-card__media {
	border-radius: 6px;
}

.domotex-archive .domotex-product-card__image {
	border-radius: 6px;
}

.domotex-archive .domotex-product-card__badges {
	top: 8px;
	left: 8px;
}

.domotex-archive .domotex-product-card__badge {
	min-height: 0;
	padding: 4px 7px;
	border-radius: 3px;
	font-size: 10px;
	line-height: 14px;
}

.domotex-archive .domotex-product-card__wishlist {
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
}

.domotex-archive .domotex-product-card__wishlist svg {
	width: 18px;
	height: 18px;
}

.domotex-archive .domotex-product-card__body {
	gap: 4px;
	padding-block: 12px 0;
}

.domotex-archive .domotex-product-card__title {
	display: block;
	min-height: 0;
	margin: 0;
	overflow: visible;
	font-size: 14px;
	line-height: 20px;
}

.domotex-archive .domotex-product-card__price {
	min-height: 0;
	margin: 0;
	font-size: 14px;
	line-height: 20px;
}

.domotex-archive .domotex-product-card__price del {
	font-size: 12px;
}

.domotex-archive .domotex-product-card__specs {
	margin: 0;
	font-size: 12px;
	line-height: 18px;
}

.domotex-archive .domotex-product-card__colours {
	min-height: 12px;
	height: 12px;
	margin: 0;
}

.domotex-archive__collection .wc-block-product {
	width: 100%;
	min-width: 0;
	margin: 0 !important;
}

.domotex-archive__collection .wc-block-product-template.is-flex-container.is-flex-container.columns-4 > li {
	width: 100%;
}

.domotex-archive__featured {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.domotex-archive__featured .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* WooCommerce's flex-column width persists on these CSS grid items unless this is overridden. */
.domotex-archive__featured .wc-block-product-template.is-flex-container.columns-4 > li {
	width: 100%;
	min-width: 0;
	margin: 0 !important;
}

.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__title,
.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__description,
.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__quick-filters,
.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__controls-row,
.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__inline-filters {
	display: none;
}

.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__results-toolbar {
	display: none;
}

.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__empty {
	margin: 0 0 1.25rem;
	padding: 1.25rem;
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-surface-subtle);
	text-align: left;
}

.domotex-archive:not(.domotex-search-results):has(.domotex-archive__empty) .domotex-archive__guide {
	display: none;
}

.domotex-archive__empty > h2 {
	margin: 0 0 0.625rem;
	font-size: 1rem;
	font-weight: 650;
}

.domotex-archive__empty > p {
	margin: 0 0 1.5rem;
	color: var(--domotex-color-muted);
	font-size: 0.8125rem;
}

.domotex-archive__empty > .domotex-button {
	min-width: 10.5rem;
	min-height: 2.875rem;
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
}

.domotex-archive__featured-title {
	margin: 0 0 0.875rem !important;
	font-size: 0.875rem;
	font-weight: 650;
}

.domotex-archive__empty {
	padding: clamp(2rem, 6vw, 4rem) 1.25rem;
	text-align: center;
}

.domotex-archive__empty h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 520;
	letter-spacing: -0.035em;
}

.domotex-archive__empty p {
	margin: 0;
	color: var(--domotex-color-muted);
}

.domotex-search-popular ul {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5rem;
	margin: 0.875rem 0 0;
	padding: 0;
	list-style: none;
}

.domotex-search-popular a {
	display: flex;
	width: 100%;
	min-height: 2.75rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	font-size: 0.8125rem;
	font-weight: 550;
	text-decoration: none;
}

.domotex-search-popular a::after {
	color: var(--domotex-color-muted);
	content: "→";
}

.domotex-search-popular a:hover {
	border-color: var(--domotex-color-beige);
	background: var(--domotex-color-beige);
}

.domotex-search-results__title--empty {
	display: none;
}

.domotex-search-results__form--empty {
	display: none;
}

.domotex-search-results__form--results .domotex-search-form__field {
	max-width: none;
}

.domotex-search-results .domotex-archive__toolbar {
	justify-content: flex-start;
}

.domotex-search-results .domotex-archive__empty {
	margin: 2rem 0 1.5rem;
	padding: 1.625rem 1.125rem 0;
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-surface-subtle);
	text-align: left;
}

.domotex-search-results .domotex-archive__empty > svg {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0 0 2rem;
	color: var(--domotex-color-muted);
}

.domotex-search-results .domotex-archive__empty h2 {
	margin: 0 0 0.625rem;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.domotex-search-results .domotex-archive__empty > p {
	margin: 0;
	color: var(--domotex-color-muted);
	font-size: 0.8125rem;
}

.domotex-search-results__form--empty .domotex-catalog-search {
	margin: 1rem 0 0;
	display: block;
	padding: 0;
}

.domotex-search-results__form .domotex-catalog-search > p:empty {
	display: none;
}

.domotex-search-results__form .domotex-catalog-search input[type="search"] {
	box-sizing: border-box;
	min-height: 2.75rem;
	padding-block: 0.5rem;
}

.domotex-search-results__form--empty .domotex-search-form__field {
	height: 2.75rem;
}

.domotex-search-results__popular-title {
	margin: 0 0 0.5rem !important;
	font-size: 0.875rem;
	font-weight: 650;
}

body.search-no-results .domotex-search-results__title--results,
body.search-no-results .domotex-search-results__form--results,
body.search-no-results .domotex-search-results .domotex-archive__controls-row,
body.search-no-results .domotex-search-results .domotex-archive__inline-filters,
body.search-no-results .domotex-search-results .domotex-archive__results-toolbar,
body.search-no-results .domotex-search-results .domotex-archive__toolbar {
	display: none;
}

body.search-no-results .domotex-search-results__title--empty,
body.search-no-results .domotex-search-results__form--empty {
	display: block;
}

.domotex-pagination {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center !important;
	gap: 0.375rem;
	margin: 2.5rem auto 0 !important;
	padding: 0;
}

.domotex-pagination .wp-block-query-pagination-numbers {
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.domotex-pagination :where(a, .page-numbers) {
	display: inline-flex;
	min-width: 2.625rem;
	min-height: 2.625rem;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.65rem;
	border: 1px solid transparent;
	border-radius: var(--domotex-radius-control, 6px);
	color: var(--domotex-color-charcoal);
	font-size: 0.875rem;
	text-decoration: none;
}

.domotex-pagination a:hover {
	border-color: var(--domotex-color-warm-border);
	background: var(--domotex-color-category-background);
}

.domotex-pagination .current {
	background: var(--domotex-color-charcoal);
	color: var(--domotex-color-white);
}

.domotex-filters {
	min-width: 0;
	margin: 0 0 1rem;
}

.domotex-filters__open {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-beige);
	color: var(--domotex-color-charcoal);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
}

.domotex-filters__dialog {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(414px, 100vw);
	max-width: min(414px, 100vw);
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	box-shadow: -12px 0 36px var(--domotex-color-shadow);
	overscroll-behavior: contain;
}

.domotex-filters__dialog::backdrop {
	background: var(--domotex-color-filter-backdrop);
}

.domotex-filters__dialog:modal {
	display: flex;
	flex-direction: column;
}

.domotex-filters__dialog > p:empty {
	display: none;
}

.domotex-filters__form > p:empty {
	display: none;
}

.domotex-filters__heading {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	min-height: 6rem;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 1.75rem 1.625rem 0.6875rem;
	background: var(--domotex-color-white);
}

.domotex-filters__heading h2 {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.2727;
}

.domotex-filters__title {
	display: grid;
	gap: 1.125rem;
}

.domotex-filters__title p {
	margin: 0;
	color: var(--domotex-color-muted);
	font-size: 0.6875rem;
	line-height: 1rem;
}

.domotex-filters__heading-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.domotex-filters__close {
	display: inline-grid;
	width: 1.5rem;
	height: 2.125rem;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--domotex-color-charcoal);
	font: inherit;
	font-size: 1.625rem;
	line-height: 1.875rem;
	cursor: pointer;
}

.domotex-filters__groups {
	display: grid;
	gap: 0.75rem;
}

.domotex-filters__group {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 0 1.625rem;
	border: 0;
}

.domotex-filters__group > summary {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	gap: 0.625rem;
	min-height: 1.25rem;
	padding: 0;
	border: 0;
	border-bottom: 0;
	border-radius: 0;
	background: var(--domotex-color-white);
	font-size: 0.8125rem;
	font-weight: 620;
	line-height: 1.125rem;
	cursor: pointer;
	list-style: none;
}

.domotex-filters__group > summary::-webkit-details-marker {
	display: none;
}

.domotex-filters__group > summary:focus-visible {
	border-radius: var(--domotex-radius-micro, 1.5px);
	outline: 2px solid var(--domotex-color-charcoal);
	outline-offset: 4px;
}

.domotex-filters__chevron {
	width: 0.55rem;
	height: 0.55rem;
	flex: 0 0 auto;
	margin: 0 0 0 auto;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 140ms ease;
}

.domotex-filters__group[open] > summary .domotex-filters__chevron {
	transform: translateY(1px) rotate(225deg);
}

.domotex-filters__icon,
.domotex-filters__open > svg {
	display: inline-grid;
	width: 1rem;
	height: 1rem;
	place-items: center;
	flex: 0 0 auto;
}

.domotex-filters__icon svg {
	width: 1rem;
	height: 1rem;
}

.domotex-filters__options {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	column-gap: 0.375rem;
	row-gap: 0;
	margin-top: 0.375rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--domotex-color-white);
}

.domotex-filters__group > input[type="hidden"] {
	display: none;
}

.domotex-filters__group > p:has(input[type="hidden"]) {
	display: none;
}

.domotex-filters__option {
	box-sizing: border-box;
	position: relative;
	display: inline-flex;
	min-height: 1.875rem;
	align-items: center;
	gap: 0.375rem;
	padding: 0 0.75rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	font-size: 0.625rem;
	line-height: 0.875rem;
	cursor: pointer;
}

.domotex-filters__option:is(:hover, :has(input:checked)) {
	border-color: var(--domotex-color-beige);
	background: var(--domotex-color-filter-selection);
}

.domotex-filters__option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	overflow: hidden;
	accent-color: var(--domotex-color-charcoal);
}

.domotex-filters__count {
	display: none;
}

.domotex-filters__option[data-filter-attribute="pa_boja"] {
	width: 1.5rem;
	height: 1.5rem;
	min-height: 1.5rem;
	justify-content: center;
	padding: 0;
	border-radius: 50%;
	font-size: 0;
}

.domotex-filters__option[data-filter-attribute="pa_boja"]::before {
	position: absolute;
	inset: 0.1875rem;
	border-radius: inherit;
	background: var(--domotex-filter-swatch, var(--domotex-color-swatch-jute));
	content: "";
}

.domotex-filters__option[data-filter-attribute="pa_boja"][data-filter-term="bez"] {
	--domotex-filter-swatch: var(--domotex-color-swatch-beige);
}

.domotex-filters__option[data-filter-attribute="pa_boja"][data-filter-term="siva"] {
	--domotex-filter-swatch: var(--domotex-color-swatch-grey);
}

.domotex-filters__option[data-filter-attribute="pa_boja"][data-filter-term="plava"] {
	--domotex-filter-swatch: var(--domotex-color-swatch-blue);
}

.domotex-filters__option[data-filter-attribute="pa_boja"][data-filter-term="zelena"] {
	--domotex-filter-swatch: var(--domotex-color-swatch-green);
}

.domotex-filters__option[data-filter-attribute="pa_boja"][data-filter-term="terakota"] {
	--domotex-filter-swatch: var(--domotex-color-swatch-terracotta);
}

.domotex-filters__option[data-filter-attribute="pa_boja"][data-filter-term="bijela"] {
	--domotex-filter-swatch: var(--domotex-color-swatch-white);
}

.domotex-filters__active {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
}

.domotex-filters__chip,
.domotex-filters__clear {
	display: inline-flex;
	min-height: 2rem;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.625rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-pill);
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	font: inherit;
	font-size: 0.75rem;
	cursor: pointer;
}

.domotex-filters__chip:hover,
.domotex-filters__clear:hover {
	background: var(--domotex-color-category-background);
}

.domotex-filters__clear-mobile {
	display: none;
}

.domotex-filters__chip span {
	font-size: 1rem;
	line-height: 0.8;
}

.domotex-filters__clear {
	border-color: transparent;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.domotex-filters__apply {
	position: sticky;
	bottom: 0;
	z-index: 1;
	display: block;
	width: calc(100% - 2.5rem);
	min-height: 3rem;
	flex: 0 0 auto;
	margin: 1rem 1.25rem max(1rem, env(safe-area-inset-bottom));
	padding: 0.75rem 1rem;
	border: 1px solid var(--domotex-color-beige);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-beige);
	color: var(--domotex-color-charcoal);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.domotex-filters__apply:hover {
	background: var(--domotex-color-category-background);
}

.domotex-filters__form {
	min-height: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.domotex-filters__groups {
	min-height: 0;
	flex: 1 1 auto;
	overflow-y: auto;
}

.domotex-filters__actions {
	display: grid;
	flex: 0 0 auto;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
	gap: 0.625rem;
	padding: 0.75rem 1.25rem 1.25rem;
	border-top: 1px solid var(--domotex-color-warm-border);
	background: var(--domotex-color-white);
}

.domotex-filters__actions .domotex-filters__clear {
	min-height: 3rem;
	justify-content: center;
	border-radius: var(--domotex-radius-control, 6px);
	text-decoration: none;
}

.domotex-filters__actions .domotex-filters__apply {
	width: 100%;
	margin: 0;
}

.domotex-filters__category-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.domotex-filters__category {
	position: relative;
	display: inline-flex;
	min-height: 1.875rem;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	color: var(--domotex-color-charcoal);
	font-size: 0.625rem;
	text-decoration: none;
	cursor: pointer;
}

.domotex-filters__category:has(input:checked),
.domotex-filters__category:hover {
	border-color: var(--domotex-color-beige);
	background: var(--domotex-color-category-background);
}

.domotex-filters__category input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.domotex-filters__category:focus-within {
	outline: 2px solid var(--domotex-color-charcoal);
	outline-offset: 2px;
}

.domotex-filters__price-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.625rem;
}

.domotex-filters__price-options label {
	box-sizing: border-box;
	display: grid;
	min-height: 2.375rem;
	align-content: center;
	gap: 0;
	padding: 0.25rem 0.5rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	color: var(--domotex-color-muted);
	font-size: 0.625rem;
	line-height: 0.75rem;
}

.domotex-filters__price-options input {
	box-sizing: border-box;
	width: 100%;
	min-height: 1rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	font: inherit;
	font-size: 0.75rem;
}

.domotex-filters__empty {
	margin: 0;
	padding-block: 1rem;
	color: var(--domotex-color-muted);
	font-size: 0.8125rem;
}

.domotex-catalog-search {
	margin: 0 0 1.5rem;
}

.domotex-catalog-search > label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

.domotex-catalog-search .domotex-search-form__field {
	display: flex;
	max-width: 42rem;
	gap: 0.625rem;
}

.domotex-search-results__form--results .domotex-search-form__field,
.domotex-search-results__form--empty .domotex-search-form__field {
	max-width: none;
}

.domotex-search-results__form .domotex-catalog-search > label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.domotex-search-results__form .domotex-search-form__field {
	position: relative;
	gap: 0;
	min-height: 3rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	padding: 0;
	background: var(--domotex-color-white);
}

.domotex-search-results__form .domotex-catalog-search input[type="search"] {
	min-height: 2.75rem;
	border: 0;
	border-radius: 0;
	padding: 0.5rem 0.875rem 0.5rem 2.75rem;
	background: transparent;
	box-shadow: none;
	outline: 0;
}

.domotex-search-results__form .domotex-catalog-search .domotex-button {
	position: absolute;
	inset: 0 auto 0 0;
	width: 2.75rem;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: var(--domotex-radius-control, 6px) 0 0 var(--domotex-radius-control, 6px);
	background: transparent;
	color: transparent;
	font-size: 0;
}

.domotex-search-results__form .domotex-catalog-search .domotex-button::before {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 1.125rem;
	height: 1.125rem;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23252525' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8.6' cy='8.6' r='5.8'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E");
	content: "";
	transform: translate(-50%, -50%);
}

.domotex-search-results__form .domotex-catalog-search .domotex-button:hover {
	background: var(--domotex-color-category-background);
}

.domotex-catalog-search input[type="search"] {
	min-width: 0;
	min-height: 3rem;
	flex: 1 1 auto;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--domotex-color-warm-border);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-white);
	color: var(--domotex-color-charcoal);
	font: inherit;
}

.domotex-catalog-search .domotex-button {
	min-height: 3rem;
	padding: 0.625rem 1rem;
	border: 1px solid var(--domotex-color-charcoal);
	border-radius: var(--domotex-radius-control, 6px);
	background: var(--domotex-color-charcoal);
	color: var(--domotex-color-white);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.domotex-catalog-search .domotex-button:hover {
	background: var(--domotex-color-charcoal-hover);
}

.domotex-catalog-search .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.domotex-archive :where(p, h1, h2) {
	text-wrap: pretty;
}

@media (max-width: 900px) {
	.domotex-archive__inline-filters {
		display: none;
	}

	.domotex-archive__collection > .wp-block-woocommerce-product-template,
	.domotex-archive__collection .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem 0.875rem;
	}

	.domotex-archive__featured .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem 0.875rem;
	}
}

@media (max-width: 767px) {
	.domotex-archive {
		width: min(calc(100% - 40px), 1143px);
		margin-block-start: -16px;
		padding-block: 24px 32px;
		padding-inline: 0;
	}

	.domotex-archive__title {
		margin-bottom: 8px !important;
		font-size: 28px;
		line-height: 34px;
	}

	.domotex-archive__guide {
		align-items: stretch;
	flex-direction: column;
	margin-top: 1.5rem;
	padding: 1rem;
	}

	.domotex-archive__guide .domotex-button {
		width: 100%;
	}

	.domotex-archive__quick-filters {
		flex-wrap: nowrap;
		margin-block: 24px 44px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scrollbar-width: none;
	}

	.domotex-archive__quick-filters::-webkit-scrollbar {
		display: none;
	}

	.domotex-archive__quick-filter {
		flex: 0 0 auto;
		min-height: 36px;
		padding: 8px 12px;
	}

	.domotex-archive__controls-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		gap: 8px;
		margin: 0;
	}

	.domotex-archive__controls-row > .wp-block-shortcode {
		grid-column: 1;
		width: 100%;
	}

	.domotex-filters {
		margin: 0;
	}

	.domotex-archive__toolbar {
		display: contents;
	}

	.domotex-archive__toolbar .woocommerce-ordering {
		grid-column: 2;
		grid-row: 1;
		width: 100%;
	}

	.domotex-archive__toolbar .woocommerce-result-count {
		display: none;
	}

	.domotex-archive__toolbar .wp-block-woocommerce-product-results-count {
		display: none;
	}

	.domotex-archive__toolbar select {
		width: 100%;
		max-width: 100%;
	}

	.domotex-archive__toolbar {
		flex-basis: 100%;
		justify-content: space-between;
		padding-block: 0 0.625rem;
		border-bottom: 1px solid var(--domotex-color-warm-border);
	}

	.domotex-archive__layout {
		display: block;
		margin-block-start: 1rem;
	}

	.domotex-filters__open {
		display: inline-flex;
		min-height: 2.75rem;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		padding: 0.625rem 0.875rem;
		border: 1px solid var(--domotex-color-warm-border);
		border-radius: var(--domotex-radius-control, 6px);
		background: var(--domotex-color-white);
		color: var(--domotex-color-charcoal);
		font: inherit;
		font-size: 0.8125rem;
		font-weight: 600;
		cursor: pointer;
	}

	.domotex-archive .domotex-filters__open {
		width: 100%;
		flex: 1 1 auto;
		min-height: 44px;
		padding-inline: 12px;
	}

	.domotex-filters__open:hover {
		background: var(--domotex-color-category-background);
	}

	.domotex-filters.is-enhanced .domotex-filters__dialog {
		position: fixed;
		inset: auto 0 0;
		width: 100%;
		max-width: none;
		height: min(83.333dvh, 760px);
		max-height: min(88dvh, 760px);
		min-height: 60dvh;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 20px 20px 0 0;
		background: var(--domotex-color-white);
		box-shadow: 0 -12px 36px var(--domotex-color-shadow);
		overscroll-behavior: contain;
	}

	.domotex-filters.is-enhanced .domotex-filters__dialog::before {
		position: absolute;
		top: 12px;
		left: calc(50% - 20px);
		z-index: 2;
		width: 40px;
		height: 4px;
		border-radius: 4px;
		background: var(--domotex-color-warm-border);
		content: "";
	}

	.domotex-filters.is-enhanced .domotex-filters__dialog:modal {
		display: flex;
		flex-direction: column;
	}

	.domotex-filters__group {
		padding-block: 0;
		padding-inline: 1.25rem;
	}

	.domotex-filters__group > summary {
		min-height: 1.5rem;
		font-size: 0.8125rem;
	}

	.domotex-filters__heading h2 {
		font-size: 1.375rem;
	}

	.domotex-filters__heading {
		padding-inline: 1.25rem;
	}

	.domotex-filters__active,
	.domotex-filters__form {
		padding-inline: 1.25rem;
	}

	.domotex-filters__active {
		padding-top: 1rem;
	}

	.domotex-filters__form {
		min-height: 0;
		padding-inline: 0;
		padding-bottom: 0;
	}

	.domotex-filters__groups {
		gap: 0.75rem;
	}

	.domotex-filters__group {
		padding-block: 0;
	}

	.domotex-filters__option {
		min-height: 1.875rem;
		padding-inline: 0.75rem;
		font-size: 0.625rem;
	}

	.domotex-filters__group > summary {
		min-height: 1.5rem;
	}

	.domotex-filters__options {
		margin-top: 0.375rem;
		padding-block: 0;
	}

	.domotex-filters__actions {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.25rem;
		padding: 0.75rem 1.25rem max(1rem, env(safe-area-inset-bottom));
	}

	.domotex-filters__actions .domotex-filters__clear {
		order: 2;
		min-height: 2.5rem;
		border-color: transparent;
		background: var(--domotex-color-white);
		color: var(--domotex-color-muted);
		text-decoration: underline;
		text-underline-offset: 0.2em;
	}

	.domotex-filters__clear-desktop {
		display: none;
	}

	.domotex-filters__clear-mobile {
		display: inline;
	}

	.domotex-filters__apply {
		order: 1;
		position: static;
		z-index: 1;
		margin: 0;
	}

	.domotex-archive__toolbar {
		margin-bottom: 1rem;
		padding-bottom: 0.625rem;
	}

	.domotex-archive__controls-row,
	.domotex-archive__controls-row.wp-block-group.is-layout-flex {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.domotex-archive__controls-row > .wp-block-group.domotex-archive__toolbar {
		display: contents !important;
	}

	.domotex-archive__toolbar .wp-block-woocommerce-product-results-count {
		grid-column: 1;
		grid-row: 2;
		margin: 0;
	}

	.domotex-archive__toolbar .wp-block-woocommerce-catalog-sorting {
		grid-column: 2;
		grid-row: 1;
		position: relative;
		width: 100%;
	}

	.domotex-archive__toolbar .wp-block-woocommerce-catalog-sorting label {
		position: absolute;
		z-index: 1;
		inset: 0;
		display: flex;
		min-height: 2.75rem;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		margin: 0;
		border: 1px solid var(--domotex-color-warm-border);
		border-radius: var(--domotex-radius-control, 6px);
		background: var(--domotex-color-white);
		color: var(--domotex-color-charcoal);
		font-size: 0.8125rem;
		font-weight: 600;
		pointer-events: none;
	}

	.domotex-archive__toolbar .wp-block-woocommerce-catalog-sorting label::before {
		width: 1rem;
		height: 1rem;
		flex: 0 0 auto;
		background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23252525' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v14m0 0-3-3m3 3 3-3M13 17V3m0 0 3 3m-3-3-3 3'/%3E%3C/svg%3E");
		content: "";
	}

	.domotex-archive__toolbar .wp-block-woocommerce-catalog-sorting select {
		position: relative;
		z-index: 2;
		width: 100%;
		min-height: 2.75rem;
		max-width: 100%;
		margin: 0;
		border-color: transparent;
		background: transparent;
		color: transparent;
		cursor: pointer;
	}

	.domotex-archive__toolbar .wp-block-woocommerce-catalog-sorting select:focus-visible {
		outline: 2px solid var(--domotex-color-charcoal);
		outline-offset: 2px;
	}

	.domotex-archive__toolbar .woocommerce-ordering {
		grid-column: 2;
		grid-row: 1;
		width: 100%;
		margin: 0;
	}

	.domotex-archive__toolbar .woocommerce-result-count {
		grid-column: 1;
		grid-row: 2;
		align-self: center;
	}

	.domotex-archive__toolbar select,
	.domotex-filters__open {
		width: 100%;
		max-width: 100%;
	}

	.domotex-filters__open {
		background: var(--domotex-color-beige);
	}

	.domotex-archive__collection > .wp-block-woocommerce-product-template,
	.domotex-archive__collection .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 12px;
	}

	.domotex-archive__results-toolbar {
		margin-block: 10px 18px;
	}

	.domotex-archive__results-toolbar-order {
		max-width: 190px;
	}

	.domotex-archive .domotex-product-card__wishlist {
		width: 30px;
		height: 30px;
	}

	.domotex-archive .domotex-product-card__wishlist svg {
		width: 16px;
		height: 16px;
	}

	.domotex-archive__featured .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 0.75rem;
	}

	.domotex-pagination {
		gap: 0.125rem;
		margin-top: 2rem !important;
	}

	.domotex-pagination :where(a, .page-numbers) {
		min-width: 2.25rem;
		min-height: 2.5rem;
		padding-inline: 0.375rem;
		font-size: 0.8125rem;
	}

	.domotex-catalog-search .domotex-search-form__field {
		gap: 0.5rem;
	}

	.domotex-catalog-search .domotex-button {
		padding-inline: 0.75rem;
	}
}

@media (max-width: 360px) {
	.domotex-archive {
		width: min(calc(100% - 24px), 1143px);
	}

	.domotex-catalog-search .domotex-search-form__field {
		flex-wrap: wrap;
	}

	.domotex-catalog-search .domotex-button {
		width: 100%;
	}

	.domotex-search-results__form .domotex-catalog-search .domotex-search-form__field {
		flex-wrap: nowrap;
	}

	.domotex-search-results__form .domotex-catalog-search .domotex-button {
		width: 2.75rem;
	}
}
.domotex-archive:not(:has(.domotex-archive__empty)) .domotex-archive__recommendations {
	display: none;
}

.domotex-archive:has(.domotex-archive__collection .wc-block-product) .domotex-archive__recommendations {
	display: none;
}

@media (min-width: 768px) {
	.domotex-archive__controls-row {
		column-gap: 8px;
	}

	.domotex-archive__toolbar .woocommerce-ordering {
		box-sizing: border-box;
		gap: 6px;
		border: 1px solid var(--domotex-color-warm-border);
		border-radius: var(--domotex-radius-control, 6px);
		padding-inline: 17px 8px;
		background: var(--domotex-color-white);
	}

	.domotex-archive__toolbar .woocommerce-ordering label {
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		gap: 6px;
		color: var(--domotex-color-charcoal);
		font-size: 12px;
		margin-right: 0;
	}

	.domotex-archive__toolbar .woocommerce-ordering label::before {
		width: 16px;
		height: 16px;
		flex: 0 0 auto;
		background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23252525' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v14m0 0-3-3m3 3 3-3M13 17V3m0 0 3 3m-3-3-3 3'/%3E%3C/svg%3E");
		content: "";
	}

	.domotex-archive__toolbar .woocommerce-ordering label::after {
		margin-left: -6px;
		content: ":";
	}

	.domotex-archive__toolbar .woocommerce-ordering select {
		width: auto;
		min-width: 0;
		max-width: none;
		flex: 1 1 0;
		min-height: 42px;
		border: 0;
		padding: 0 1rem 0 0;
		background: transparent;
	}
}
