.sheetcms {
	--sheetcms-primary: var(--primary, #000);
	--sheetcms-primary-light: var(--primary-light, var(--sheetcms-primary));
	--sheetcms-modal-bg: color-mix(in srgb, var(--sheetcms-primary) 95%, transparent);
	--sheetcms-overlay: rgba(255,255,255,.9);
	--sheetcms-surface: #fff;
	--sheetcms-text: inherit;
	--sheetcms-muted: rgba(0,0,0,.65);
	--sheetcms-radius: 999px;
	
}

.sheetcms.sheetcms--dark {
	--sheetcms-overlay: rgba(0,0,0,.85);
	--sheetcms-surface: #111;
	--sheetcms-text: #fff;
	--sheetcms-muted: rgba(255,255,255,.7);
}


/**
 * ============================================================
 * SHEET CMS - LIST CSS
 * ============================================================
 */


.sheetcms .price-section__content {
	background-color: var(--sheetcms-background);
	background-image:
		linear-gradient(to bottom, var(--sheetcms-overlay), var(--sheetcms-overlay)),
		var(--sheetcms-section-bg);
	background-size: cover;
	background-position: center;
	padding: 30px 10px;
	color: var(--sheetcms-text);
}

.sheetcms .product.filtered,
.product.filtered {
	display: none;
}

.sheetcms .pagination {
	margin-top: 20px;
}

.sheetcms .pagination button {
	background: var(--sheetcms-surface);
	color: var(--sheetcms-primary);
	border: 1px solid var(--sheetcms-primary);
	font-weight: 600;
	padding: 5px;
}

.sheetcms .pagination button:disabled {
	background: var(--sheetcms-surface);
	color: var(--sheetcms-primary);
	border: 1px solid var(--sheetcms-primary);
	opacity: 0.3;
}

.sheetcms .price {
	background: transparent !important;
}

.sheetcms .price-section {
	display: block;
	margin: 0 0 25px;
}

.sheetcms .price-section__content {
	background-size: cover;
	background-position: center;
	padding: 30px 10px;
}

.sheetcms .price-section__title {
	text-align: center;
	text-transform: uppercase;
	margin: 10px 0 25px;
}

.sheetcms .price-section__items {
	display: block;
}

.sheetcms .price-section__design {
	position: relative;
	left: 0 !important;
	top: 0 !important;
	margin: 35px 0;
	text-align: center;
}

.sheetcms .price-section__design img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.sheetcms .price-section[hidden],
.sheetcms .product-list__item[hidden] {
	display: none !important;
}

/**
 * FONTOS:
 * A JS nem disabled attribútummal tilt,
 * csak is-disabled class-t ad vizuális jelzésként.
 *
 * Ezért itt NINCS pointer-events: none;
 * különben a halványított filterek nem lennének kattinthatók.
 */
.sheetcms .sheetcms-filter-group label.is-disabled {
	opacity: .35;
}

/**
 * ============================================================
 * SHEET CMS - SEARCH
 * ============================================================
 */

.sheetcms .product-list-search {
	padding: 20px 0 0;
	display: flex;
	justify-content: center;
	position: relative;
}

.sheetcms .product-list-search__inner {
	position: relative;
	width: 250px;
}

.sheetcms .product-list-search__input {
	width: 100%;
	padding: 12px 16px;
	border-radius: var(--sheetcms-radius);
	border: 1px solid var(--sheetcms-primary);
	color: #000;
}

.sheetcms .product-list-search__suggestions {
	z-index: 999999 !important;
	font-size: 12px;
	position: unset;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: var(--sheetcms-surface);
	color: var(--sheetcms-text);
	border: 1px solid #ddd;
	border-radius: 12px;
	display: none;
	max-height: 250px;
	overflow: auto;
	box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/**
 * ============================================================
 * SHEET CMS - FILTER MODE TOGGLE
 * ============================================================
 *
 * A natív radio input működés megmarad,
 * csak vizuálisan kap egy komolyabb segmented toggle UI-t.
 */

.sheetcms .sheetcms-filter-mode {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 16px auto 20px;
	padding: 4px;
	max-width: 560px;
	border-radius: var(--sheetcms-radius);
	/* background: rgba(255,255,255,.16); */
	/* border: 1px solid rgba(255,255,255,.22); */
}

.sheetcms .sheetcms-filter-mode__option {
	position: relative;
	display: flex;
	align-items: stretch;
	flex: 1 1 200px;
	min-width: 200px;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.sheetcms .sheetcms-filter-mode-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sheetcms .sheetcms-filter-mode__label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100%;
	min-height: 32px;
	padding: 0;
	border-radius: var(--sheetcms-radius);
	text-align: center;
	background: rgba(255,255,255,.08);
	color: #fff;
	border: 1px solid rgba(255,255,255,.18);
	transition:
		background .2s ease,
		color .2s ease,
		border-color .2s ease,
		box-shadow .2s ease,
		transform .2s ease;
}

.sheetcms .sheetcms-filter-mode__title {
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.sheetcms .sheetcms-filter-mode__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	border-radius: var(--sheetcms-radius);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	background: rgba(255,255,255,.22);
	color: inherit;
	border: 1px solid rgba(255,255,255,.28);
}

.sheetcms .sheetcms-filter-mode__desc {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	z-index: 999999;

	display: block;
	width: max-content;
	max-width: 230px;

	padding: 8px 10px;
	border-radius: 12px;

	background: var(--sheetcms-surface);
	color: var(--sheetcms-primary);

	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;

	box-shadow: 0 10px 26px rgba(0,0,0,.22);

	transform: translateX(-50%) translateY(4px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity .18s ease,
		transform .18s ease,
		visibility .18s ease;
}

.sheetcms .sheetcms-filter-mode__desc::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	width: 10px;
	height: 10px;
	background: var(--sheetcms-surface);
	transform: translateX(-50%) rotate(45deg);
}

.sheetcms .sheetcms-filter-mode__option:hover .sheetcms-filter-mode__label {
	background: rgba(255,255,255,.18);
	transform: translateY(-1px);
}

.sheetcms .sheetcms-filter-mode__option:hover .sheetcms-filter-mode__desc,
.sheetcms .sheetcms-filter-mode-input:focus-visible + .sheetcms-filter-mode__label .sheetcms-filter-mode__desc {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.sheetcms .sheetcms-filter-mode-input:checked + .sheetcms-filter-mode__label {
	background: var(--sheetcms-surface);
	color: var(--sheetcms-primary);
	border-color: var(--sheetcms-surface);
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.sheetcms .sheetcms-filter-mode-input:checked + .sheetcms-filter-mode__label .sheetcms-filter-mode__info {
	background: var(--sheetcms-primary);
	color: #fff;
	border-color: var(--sheetcms-primary);
}

.sheetcms .sheetcms-filter-mode-input:focus-visible + .sheetcms-filter-mode__label {
	outline: 2px solid var(--sheetcms-surface);
	outline-offset: 3px;
}

@media (max-width: 520px) {
	.sheetcms .sheetcms-filter-mode {
		border-radius: 18px;
	}

	.sheetcms .sheetcms-filter-mode__option {
		flex-basis: 100%;
		min-width: 0;
	}

	.sheetcms .sheetcms-filter-mode__label {
		border-radius: 16px;
	}

	.sheetcms .sheetcms-filter-mode__desc {
		max-width: 210px;
	}
}

/**
 * ============================================================
 * SHEET CMS - FILTER GROUP TITLE / DESCRIPTION
 * ============================================================
 */

.sheetcms .sheetcms-filter-group__title {
	text-align: center;
	margin: 20px 0 10px;
	font-size: 1.17em;
	font-weight: 700;
	line-height: 1.3;
}

.sheetcms .sheetcms-filter-group:first-child .sheetcms-filter-group__title {
	margin-top: 10px;
}

.sheetcms .sheetcms-filter-group__description {
	text-align: center;
	margin: 10px 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	opacity: .85;
}

.sheetcms .sheetcms-section-bg {
	background-color: var(--sheetcms-primary);
	background-image:
		linear-gradient(to bottom, var(--sheetcms-overlay), var(--sheetcms-overlay)),
		var(--sheetcms-section-bg);
	background-size: auto;
	background-position: center;
	background-attachment: fixed;
}

/* Icons */

.sheetcms .sheetcms-icon-wrap {
	color: var(--sheetcms-icon-color);
}

.sheetcms .sheetcms-icon {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
}

.sheetcms .sheetcms-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	fill: currentColor;
	stroke: currentColor;
}

.sheetcms .sheetcms-filter-modal .sheetcms-icon {
	color: #fff;
}


/**
 * ============================================================
 * SHEET CMS - PRODUCT LIST BASE
 * ============================================================
 */

.sheetcms .product-list {
	padding: 0;
	padding-top: 0;
	overflow: hidden;
}

.sheetcms .product-list h3 {
	display: flex;
	justify-content: center;
	font-size: 24px;
}

.sheetcms .product-list ul {
	margin: 0;
	padding: 0;
}

@media (max-width: 767px) {
	.sheetcms .product-list {
		padding-top: calc(-29.689119171px + 7.7720207254vw);
	}
}

@media (max-width: 575px) {
	.sheetcms .product-list {
		padding-top: 15px;
	}
}

.sheetcms .product-list__item {
	display: flex;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
	justify-content: space-around;
}

@media (max-width: 767px) {
	.sheetcms .product-list__item {
		padding-left: calc(-44.921875px + 7.8125vw);
		padding-right: calc(-44.921875px + 7.8125vw);
	}
}

@media (max-width: 575px) {
	.sheetcms .product-list__item {
		padding-left: 0;
		padding-right: 0;
	}
}

.sheetcms .product-list__item-media {
	margin-right: 15px;
	max-width: 50px;
}

.sheetcms .product-list__item-media img {
	max-width: 50px;
}

@media (max-width: 575px) {
	.sheetcms .product-list__item-media {
		display: none;
	}
}

.sheetcms .product-list__item-info {
	flex: auto;
	margin-right: 5px;
	line-height: 1.1;
	max-width: 75%;
}

.sheetcms .product-list__item-title,
.sheetcms .product-list__item-pricetitle {
	position: relative;
	margin: 0;
	text-transform: uppercase;
	line-height: 1.1;
}

.sheetcms .product-list__item-pricetitle {
	text-transform: none;
}

.sheetcms .product-list__item-name {
	z-index: 1;
	position: relative;
}

.sheetcms .product-list__item-price {
	width: 100px;
	text-align: right;
	vertical-align: top;
}

.sheetcms .product-list__description {
	font-size: 12px;
	font-weight: 600;
}

.sheetcms .product-list__unit {
	display: block;
	font-size: 0.85em;
	opacity: 0.75;
	margin-top: 3px;
}

/**
 * ============================================================
 * SHEET CMS - SEARCH INPUT FIX
 * ============================================================
 */

.sheetcms .product-list-search__input {
	border: 1px solid rgba(0, 123, 152, 0.5);
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.sheetcms .product-list-search__input:focus {
	border-color: var(--sheetcms-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--sheetcms-primary) 30%, transparent);
	outline: none;
}

.sheetcms.sheetcms--dark .product-list-search__input {
	border: 1px solid rgba(255,255,255,.25);
	color: #fff;
	background: rgba(255,255,255,.05);
}

.sheetcms.sheetcms--dark .product-list-search__input:focus {
	border-color: var(--sheetcms-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--sheetcms-primary) 40%, transparent);
}

/**
 * ============================================================
 * SHEET CMS - ACTIVE FILTER CHIPS
 * ============================================================
 */

.sheetcms .sheetcms-active-filters {
	display: none;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px auto 18px;
	padding: 0 10px;
}

.sheetcms .sheetcms-active-filters.is-visible {
	display: flex;
}

.sheetcms .sheetcms-active-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--sheetcms-primary);
	border-radius: var(--sheetcms-radius);
	background: var(--sheetcms-surface); 
	color: var(--sheetcms-primary);
	padding: 7px 11px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	text-transform: uppercase;
}

.sheetcms .sheetcms-active-filter-chip:hover {
	background: var(--sheetcms-primary); 
	color: var(--sheetcms-surface);

}

.sheetcms .sheetcms-active-filter-chip--exclude {
	background: transparent;
	color: var(--sheetcms-primary);
}

.sheetcms .sheetcms-active-filter-chip__remove {
	font-size: 16px;
	line-height: 1;
	font-weight: 700;
}

/**
 * ============================================================
 * SHEET CMS - FILTER MODAL
 * ============================================================
 *
 * A Sheet CMS saját filter modal pozicionálása.
 * Nem függ a globális #modal / #menu rendszertől.
 */

.sheetcms .sheetcms-filter-modal {
	position: absolute;
	z-index: 3;
	width: 100%;
	bottom: 0;

	height: auto;
	min-height: 0;

	overflow: visible;

	background-color: var(--sheetcms-modal-bg);

	-webkit-transition: top 0.2s ease-out, opacity 0.1s ease-out;
	transition: top 0.2s ease-out, opacity 0.1s ease-out;

	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.sheetcms .sheetcms-filter-modal,
.sheetcms .sheetcms-modal-view,
.sheetcms .sheetcms-filter-modal-view {
	height: auto;
	min-height: 0;
	max-height: none;
}

.sheetcms .sheetcms-modal-view,
.sheetcms .sheetcms-filter-modal-view {
	overflow: visible;
}

.sheetcms .sheetcms-filter-modal-view {
	color: var(--sheetcms-text);
}

a.sheetcms-filter-close {
    justify-content: center;
    display: flex;
    margin: 10px;
	padding: 0;
    cursor: pointer;
    border-radius: 100%;
    line-height: 0;
}

/**
 * ============================================================
 * SHEET CMS - TAG CHIP STYLE
 * ============================================================
 */

.sheetcms .product-list__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	margin-top: 10px;
}

.sheetcms .product-list__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;

	border-radius: var(--sheetcms-radius);

	background: #fff;
	color: var(--sheetcms-primary);

	border: 1px solid color-mix(in srgb, var(--sheetcms-primary) 40%, transparent);

	white-space: nowrap;
}

/* hover (opcionális) */
.sheetcms .product-list__tag:hover {
	background: var(--sheetcms-primary);
	color: #fff;
	border-color: #fff;
}

/**
 * ============================================================
 * SHEET CMS - BLOCK NAVIGATION
 * ============================================================
 *
 * Kategória blokkokra ugró linkek (chip stílus).
 */

.sheetcms .sheetcms-block-navigation {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 18px auto 22px;
	padding: 0 10px;
}

.sheetcms .sheetcms-block-navigation__label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #666666;
}

.sheetcms .sheetcms-block-navigation__items {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.sheetcms .sheetcms-block-navigation__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 7px 12px;
	border-radius: var(--sheetcms-radius);

	background: transparent;
	color: var(--sheetcms-primary);

	border: 1px solid color-mix(in srgb, var(--sheetcms-primary) 45%, transparent);

	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;

	cursor: pointer;

	transition:
		background .2s ease,
		color .2s ease,
		border-color .2s ease;
}

.sheetcms .sheetcms-block-navigation__item:hover {
	background: var(--sheetcms-primary);
	color: #fff;
	border-color: var(--sheetcms-primary);
}

/**
 * ============================================================
 * SHEET CMS - BLOCK BACK NAVIGATION
 * ============================================================
 *
 * Minden blokk alján visszaugró nyíl a blokk navigációhoz.
 */

.sheetcms .sheetcms-block-backnav {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10px auto 0;
}

.sheetcms .sheetcms-block-backnav__link {
	
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 34px;
	height: 34px;
	
	border-radius: 999px;
	
	text-decoration: none;
	cursor: pointer;
	
	background: transparent;
	color: #fff;
	border-color: var(--sheetcms-primary);
	transform: translateY(-2px);
	
	transition:
	background .2s ease,
	color .2s ease,
	border-color .2s ease,
	transform .2s ease;
}

.sheetcms .sheetcms-block-backnav__link:hover {
	
	color: var(--sheetcms-primary);
	background: var(--sheetcms-surface);

	border: 1px solid color-mix(in srgb, var(--sheetcms-primary) 35%, transparent);

}

.sheetcms .sheetcms-block-backnav__icon {
	display: block;
	width: 18px;
	height: 18px;
	color: inherit;
}

.sheetcms .sheetcms-block-backnav__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	fill: currentColor;
	stroke: currentColor;
}

/* kereső által rejtett elemek */

.product-list__item.is-search-hidden {
	display: none !important;
}


/**
 * MODAL ACTION BUTTONS
 * Input + link teljesen egységes kinézet.
 */
.sheetcms .sheetcms-filter-actions, .sheetcms a.sheetcms-filter-open {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10px;
	padding: 0;
}

.sheetcms .sheetcms-filter-actions input.sheetcms-filter-clear,
.sheetcms .sheetcms-filter-actions a.sheetcms-filter-complete {
	display: inline-flex;
	justify-content: center;
	align-items: center;

	color: #fff;

	min-width: 140px;
	min-height: 44px;

	padding: 10px 20px;
	margin: 0;

	font: inherit;
	line-height: 1;

	text-align: center;
	text-decoration: none;
	vertical-align: middle;

	cursor: pointer;
	box-sizing: border-box;

	background: transparent;
	border: 1px solid #fff;
	outline: 0;

	appearance: none;
	-webkit-appearance: none;

	transition:
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease,
		transform .2s ease,
		opacity .2s ease;
}

/**
 * HOVER
 */
.sheetcms .sheetcms-filter-actions input.sheetcms-filter-clear:hover,
.sheetcms .sheetcms-filter-actions a.sheetcms-filter-complete:hover {
	background: #fff;
	color: var(--primary);
	border-color: #fff;
}

/**
 * ACTIVE
 */
.sheetcms .sheetcms-filter-actions input.sheetcms-filter-clear:active,
.sheetcms .sheetcms-filter-actions a.sheetcms-filter-complete:active {
	transform: scale(.98);
}

/**
 * FOCUS
 */
.sheetcms .sheetcms-filter-actions input.sheetcms-filter-clear:focus,
.sheetcms .sheetcms-filter-actions a.sheetcms-filter-complete:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
}