/* HoS24 – Shopmenü | All frontend rules are intentionally scoped to the shortcode. */
.hos24-shopmenue-widget,
.widget_hos24_shopmenue_widget {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.wp-block-column:has(> .hos24-shopmenu),
.wp-block-group:has(> .hos24-shopmenu),
.elementor-widget-container:has(> .hos24-shopmenu) {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.hos24-shopmenu {
	--hos24-blue: #43ade2;
	--hos24-ink: #101820;
	--hos24-muted: #65707a;
	--hos24-line: #d9dde0;
	--hos24-soft: #f6f8f9;
	--hos24-radius: 2px;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-height: 100%;
	padding: 28px 24px;
	color: var(--hos24-ink);
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.35;
}

.hos24-shopmenu *,
.hos24-shopmenu *::before,
.hos24-shopmenu *::after {
	box-sizing: border-box;
}

.hos24-shopmenu .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;
}

.hos24-shopmenu__form {
	width: 100%;
	margin: 0;
	padding: 0;
}

.hos24-shopmenu__search {
	position: relative;
	margin: 0 0 23px;
}

.hos24-shopmenu__search input[type="search"] {
	display: block;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 46px 0 14px;
	color: var(--hos24-ink);
	background: #fff;
	border: 1px solid #bfc6cb;
	border-radius: var(--hos24-radius);
	box-shadow: none;
	font: inherit;
	outline: none;
}

.hos24-shopmenu__search input[type="search"]::placeholder {
	color: #77818a;
	opacity: 1;
}

.hos24-shopmenu__search input[type="search"]:focus {
	border-color: var(--hos24-blue);
	box-shadow: 0 0 0 2px rgba(67, 173, 226, .18);
}

.hos24-shopmenu__search button {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	color: var(--hos24-ink);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.hos24-shopmenu__search button span {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.hos24-shopmenu__search button span::after {
	position: absolute;
	width: 7px;
	height: 2px;
	right: -6px;
	bottom: -3px;
	background: currentColor;
	transform: rotate(45deg);
	content: "";
}

.hos24-shopmenu__search button:hover,
.hos24-shopmenu__search button:focus-visible {
	color: var(--hos24-blue);
	outline: none;
}

.hos24-shopmenu__title {
	margin: 0;
	padding: 0 0 8px;
	color: var(--hos24-ink);
	border-bottom: 2px solid var(--hos24-ink);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.hos24-shopmenu ul.hos24-menu-list,
.hos24-shopmenu ul.hos24-menu-list li.hos24-menu-item {
	margin: 0;
	padding: 0;
	list-style: none !important;
	list-style-image: none !important;
}

.hos24-shopmenu ul.hos24-menu-list li.hos24-menu-item::marker {
	content: "";
}

.hos24-shopmenu ul.hos24-menu-list li.hos24-menu-item::before {
	display: none !important;
	content: none !important;
}

.hos24-menu-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--hos24-line);
}

.hos24-menu-item__row {
	display: flex;
	align-items: stretch;
	min-height: 42px;
}

.hos24-menu-item__label {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	align-items: center;
	margin: 0;
	padding: 10px 8px;
	color: var(--hos24-ink);
	background: transparent;
	border: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.hos24-menu-item__label:hover,
.hos24-menu-item__label:focus-visible {
	color: var(--hos24-blue);
	background: #f4fbfe;
	outline: none;
}

.hos24-menu-toggle {
	display: inline-grid;
	flex: 0 0 42px;
	width: 42px;
	min-height: 42px;
	padding: 0;
	place-items: center;
	color: var(--hos24-ink);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.hos24-menu-toggle > span,
.hos24-filter__toggle > span:last-child {
	display: block;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .18s ease;
}

.hos24-menu-toggle[aria-expanded="true"] > span,
.hos24-filter__toggle[aria-expanded="true"] > span:last-child {
	transform: rotate(225deg) translate(-1px, -1px);
}

.hos24-menu-toggle:hover,
.hos24-menu-toggle:focus-visible {
	color: var(--hos24-blue);
	background: #f4fbfe;
	outline: none;
}

.hos24-menu-item.is-active > .hos24-menu-item__row > .hos24-menu-item__label,
.hos24-menu-item.is-active > .hos24-menu-item__row > .hos24-menu-toggle {
	color: var(--hos24-blue);
}

/* Keep all category labels black, including the currently selected category. */
.hos24-shopmenu .hos24-menu-item__label,
.hos24-shopmenu .hos24-menu-item__label:hover,
.hos24-shopmenu .hos24-menu-item__label:focus-visible,
.hos24-shopmenu .hos24-menu-item.is-active > .hos24-menu-item__row > .hos24-menu-item__label {
	color: var(--hos24-ink) !important;
	text-decoration: none !important;
}

.hos24-menu-list--children {
	padding: 2px 0 7px 16px;
	background: #fff;
}

.hos24-menu-list--children[hidden] {
	display: none;
}

.hos24-menu-list--children .hos24-menu-item {
	border-bottom: 0;
}

.hos24-menu-list--children .hos24-menu-item__row {
	min-height: 31px;
}

.hos24-menu-list--children .hos24-menu-item__label {
	padding: 5px 8px;
	font-size: 13px;
	font-weight: 400;
}

.hos24-menu-list--children .hos24-menu-toggle {
	flex-basis: 31px;
	width: 31px;
	min-height: 31px;
}

.hos24-menu-list--children .hos24-menu-list--children {
	padding-left: 12px;
}

.hos24-shopmenu__filters {
	margin-top: 16px;
	border-top: 2px solid var(--hos24-ink);
}

.hos24-filter {
	border-bottom: 1px solid var(--hos24-ink);
}

.hos24-filter__toggle {
	display: flex;
	width: 100%;
	min-height: 42px;
	align-items: center;
	justify-content: space-between;
	padding: 10px 2px;
	color: var(--hos24-ink);
	background: transparent;
	border: 0;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.2;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
}

.hos24-filter__toggle:hover,
.hos24-filter__toggle:focus-visible {
	color: var(--hos24-blue);
	outline: none;
}

.hos24-filter__content {
	padding: 0 0 14px;
}

.hos24-filter__content[hidden] {
	display: none;
}

.hos24-filter-options {
	display: grid;
	gap: 8px;
}

.hos24-filter-options--swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hos24-filter-options--sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.hos24-filter-option {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 7px;
	color: #3c454c;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}

.hos24-filter-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hos24-filter-option:not(.hos24-filter-option--swatch)::before {
	display: block;
	width: 14px;
	height: 14px;
	background: #fff;
	border: 1px solid #aeb6bc;
	content: "";
}

.hos24-filter-option:has(input:checked)::before {
	background: var(--hos24-blue);
	border-color: var(--hos24-blue);
	box-shadow: inset 0 0 0 3px #fff;
}

.hos24-filter-option--swatch {
	position: relative;
	display: inline-grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border: 1px solid transparent;
	border-radius: 50%;
}

.hos24-filter-option__swatch {
	display: block;
	width: 18px;
	height: 18px;
	background: var(--hos24-swatch, #f2f2f2);
	border: 1px solid rgba(16, 24, 32, .42);
	border-radius: 50%;
}

.hos24-filter-option--swatch:has(input:checked) {
	border-color: var(--hos24-blue);
}

.hos24-filter-option--size {
	min-width: 38px;
	height: 29px;
	justify-content: center;
	padding: 0 8px;
	color: var(--hos24-ink);
	border: 1px solid #bcc4c9;
	font-weight: 600;
}

.hos24-filter-option--size::before,
.hos24-filter-option--size:has(input:checked)::before {
	display: none;
}

.hos24-filter-option--size:has(input:checked) {
	color: #fff;
	background: var(--hos24-blue);
	border-color: var(--hos24-blue);
}

.hos24-filter-option:focus-within {
	outline: 2px solid var(--hos24-blue);
	outline-offset: 2px;
}

.hos24-price__ranges {
	position: relative;
	height: 22px;
	margin: 0 2px 5px;
}

.hos24-price__ranges::before {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	height: 3px;
	background: #cdd3d7;
	border-radius: 5px;
	content: "";
}

.hos24-price__ranges::after {
	position: absolute;
	top: 10px;
	left: var(--hos24-range-start, 0%);
	right: calc(100% - var(--hos24-range-end, 100%));
	height: 3px;
	background: var(--hos24-blue);
	border-radius: 5px;
	pointer-events: none;
	content: "";
}

.hos24-price__ranges input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 22px;
	margin: 0;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	pointer-events: none;
}

.hos24-price__ranges input[type="range"]::-webkit-slider-thumb {
	width: 15px;
	height: 15px;
	appearance: none;
	-webkit-appearance: none;
	background: var(--hos24-blue);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #fff;
	cursor: grab;
	pointer-events: auto;
}

.hos24-price__ranges input[type="range"]::-moz-range-thumb {
	width: 15px;
	height: 15px;
	background: var(--hos24-blue);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #fff;
	cursor: grab;
	pointer-events: auto;
}

.hos24-price__ranges input[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hos24-blue);
}

.hos24-price__ranges input[type="range"]:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hos24-blue);
}

.hos24-price__values {
	display: flex;
	justify-content: space-between;
	color: #3c454c;
	font-size: 13px;
}

.hos24-shopmenu__apply {
	display: flex;
	width: 100%;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	padding: 8px 12px;
	color: #fff;
	background: var(--hos24-blue);
	border: 1px solid var(--hos24-blue);
	border-radius: var(--hos24-radius);
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .18s ease, background-color .18s ease;
}

.hos24-shopmenu__apply:hover,
.hos24-shopmenu__apply:focus-visible {
	color: #187bad;
	background: #fff;
	outline: none;
}

.hos24-shopmenu__reset {
	display: flex;
	width: 100%;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 8px 12px;
	color: #187bad;
	background: #fff;
	border: 1px solid var(--hos24-blue);
	border-radius: var(--hos24-radius);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: color .18s ease, background-color .18s ease;
}

.hos24-shopmenu__reset:hover,
.hos24-shopmenu__reset:focus-visible {
	color: #fff;
	background: var(--hos24-blue);
	outline: none;
}

.hos24-shopmenu-notice {
	padding: 12px 14px;
	color: #7a1b22;
	background: #fff3f3;
	border-left: 3px solid #c52937;
}

@media (max-width: 782px) {
	.hos24-shopmenu {
		max-width: none;
	}

	.hos24-shopmenu__search {
		margin-bottom: 18px;
	}

	.hos24-menu-item__row {
		min-height: 45px;
	}

	.hos24-menu-toggle {
		flex-basis: 45px;
		width: 45px;
		min-height: 45px;
	}
}

/* Standalone catalogue page: menu column left, dynamically queried WooCommerce products right. */
.hos24-shopcatalog {
	--hos24-catalog-sidebar: 278px;
	display: grid;
	grid-template-columns: minmax(230px, var(--hos24-catalog-sidebar)) minmax(0, 1fr);
	align-items: start;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	background: #fff;
	border: 0;
}

.hos24-shopcatalog__sidebar {
	position: sticky;
	top: 24px;
	align-self: start;
	padding: 28px 24px;
	background: #fff;
	border-right: 1px solid #e4e7e9;
}

.hos24-shopcatalog__sidebar .hos24-shopmenu {
	padding: 0;
}

.hos24-shopcatalog__content {
	min-width: 0;
	padding: 28px 34px 42px;
	background: #fff;
	transition: opacity .16s ease;
}

.hos24-shopcatalog__content.is-loading {
	opacity: .42;
	pointer-events: none;
}

.hos24-catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
	margin: 0 0 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e4e7e9;
}

.hos24-catalog-toolbar__count {
	margin: 0;
	color: #4d5961;
	font-size: 13px;
	line-height: 1.35;
}

.hos24-catalog-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #4d5961;
	font-size: 12px;
	white-space: nowrap;
}

.hos24-catalog-toolbar__sort select {
	height: 34px;
	min-width: 150px;
	padding: 0 30px 0 10px;
	color: var(--hos24-ink);
	background-color: #fff;
	border: 1px solid #c7ced2;
	border-radius: 0;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

.hos24-catalog-toolbar__sort select:focus-visible {
	border-color: var(--hos24-blue);
	outline: 2px solid rgba(67, 173, 226, .25);
	outline-offset: 1px;
}

.hos24-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.hos24-product-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hos24-product-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hos24-product-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hos24-product-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid #e0e4e6;
	border-radius: 0;
	box-shadow: none;
}

.hos24-product-card__image {
	display: flex;
	aspect-ratio: 1 / 1;
	align-items: center;
	justify-content: center;
	padding: 8px;
	background: #fff;
	border-bottom: 1px solid #edf0f1;
}

.hos24-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .2s ease;
}

.hos24-product-card:hover .hos24-product-card__image img {
	transform: scale(1.035);
}

.hos24-product-card__details {
	padding: 11px 11px 13px;
}

.hos24-product-card__category {
	min-height: 16px;
	margin: 0 0 5px;
	color: #7a858c;
	font-size: 10px;
	line-height: 1.25;
}

.hos24-product-card__title {
	display: -webkit-box;
	min-height: 36px;
	margin: 0 0 7px;
	overflow: hidden;
	color: var(--hos24-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hos24-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.hos24-product-card__title a:hover,
.hos24-product-card__title a:focus-visible {
	color: var(--hos24-blue);
	outline: none;
}

.hos24-product-card__price {
	min-height: 19px;
	margin: 0;
	color: #187bad;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
}

.hos24-product-card__price del {
	margin-right: 4px;
	color: #7d868d;
	font-size: 11px;
	font-weight: 400;
}

.hos24-product-card__price ins {
	color: #187bad;
	background: transparent;
	text-decoration: none;
}

.hos24-catalog-pagination {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin-top: 30px;
}

.hos24-catalog-pagination__button {
	display: grid;
	width: 33px;
	height: 33px;
	padding: 0;
	place-items: center;
	color: var(--hos24-ink);
	background: #fff;
	border: 1px solid #d4dadd;
	border-radius: 0;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

.hos24-catalog-pagination__button:hover,
.hos24-catalog-pagination__button:focus-visible,
.hos24-catalog-pagination__button.is-current {
	color: #fff;
	background: var(--hos24-blue);
	border-color: var(--hos24-blue);
	outline: none;
}

.hos24-catalog-pagination__ellipsis {
	display: grid;
	width: 20px;
	place-items: center;
	color: #68737a;
}

.hos24-catalog-empty {
	padding: 44px 22px;
	text-align: center;
	background: #f7f9fa;
	border: 1px solid #e0e4e6;
}

.hos24-catalog-empty p {
	margin: 0 0 8px;
}

.hos24-catalog-empty p:last-child {
	margin-bottom: 0;
	color: #667179;
}

.hos24-shopmenu--catalog .hos24-shopmenu__reset {
	font: inherit;
	cursor: pointer;
}

@media (max-width: 1100px) {
	.hos24-shopcatalog {
		--hos24-catalog-sidebar: 245px;
	}

	.hos24-shopcatalog__sidebar {
		padding: 22px 18px;
	}

	.hos24-shopcatalog__content {
		padding: 22px 24px 34px;
	}

	.hos24-product-grid,
	.hos24-product-grid--5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
}

@media (max-width: 782px) {
	.hos24-shopcatalog {
		display: block;
	}

	.hos24-shopcatalog__sidebar {
		position: static;
		padding: 22px 18px;
		border-right: 0;
		border-bottom: 1px solid #e4e7e9;
	}

	.hos24-shopcatalog__content {
		padding: 22px 18px 32px;
	}

	.hos24-catalog-toolbar {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.hos24-catalog-toolbar__sort {
		width: 100%;
		justify-content: space-between;
	}

	.hos24-catalog-toolbar__sort select {
		min-width: 0;
		width: 62%;
	}

	.hos24-product-grid,
	.hos24-product-grid--3,
	.hos24-product-grid--5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 420px) {
	.hos24-product-grid,
	.hos24-product-grid--2,
	.hos24-product-grid--3,
	.hos24-product-grid--5 {
		grid-template-columns: 1fr;
	}
}
