.yakiya-allergen-chart {
	--yac-black: #000;
	--yac-red: #f00;
	--yac-white: #fff;
	--yac-line: #242424;
	--yac-muted: rgba(255, 255, 255, .72);
	--yac-soft: #101010;
	background: var(--yac-black);
	background-color: var(--yac-black) !important;
	color: var(--yac-white);
	display: flow-root;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	isolation: isolate;
	padding: 0 0 30px;
}

.yakiya-allergen-chart * {
	box-sizing: border-box;
}

.yakiya-allergen-chart.yac-rtl {
	direction: rtl;
	font-family: inherit;
	text-align: right;
}

.yakiya-allergen-chart.yac-rtl input.yac-search,
.yakiya-allergen-chart.yac-rtl select.yac-section,
.yakiya-allergen-chart.yac-rtl .yac-filter-panel summary,
.yakiya-allergen-chart.yac-rtl .yac-filter-panel summary span:first-child,
.yakiya-allergen-chart.yac-rtl .yac-filter,
.yakiya-allergen-chart.yac-rtl .yac-filter span,
.yakiya-allergen-chart.yac-rtl .yac-card-head,
.yakiya-allergen-chart.yac-rtl .yac-result-count,
.yakiya-allergen-chart.yac-rtl .yac-legend,
.yakiya-allergen-chart.yac-rtl .yac-view-toggle button,
.yakiya-allergen-chart.yac-rtl .yac-table,
.yakiya-allergen-chart.yac-rtl .yac-table th,
.yakiya-allergen-chart.yac-rtl .yac-table td,
.yakiya-allergen-chart.yac-rtl .yac-mobile-card,
.yakiya-allergen-chart.yac-rtl .yac-mobile-card h3,
.yakiya-allergen-chart.yac-rtl .yac-mobile-chip,
.yakiya-allergen-chart.yac-rtl .yac-reviewed {
	font-family: inherit !important;
}

.yac-filters,
.yac-card,
.yac-reviewed {
	margin: 14px clamp(10px, 2vw, 24px) 0;
	width: auto;
}

.yac-filters {
	background: var(--yac-soft);
	background-color: var(--yac-soft) !important;
	border: 1px solid #242424;
	border-radius: 8px;
	display: grid;
	gap: 10px;
	grid-template-columns: 1.2fr .8fr;
	min-width: 0;
	padding: 14px;
}

.yakiya-allergen-chart input.yac-search,
.yakiya-allergen-chart select.yac-section,
.yac-filter-panel summary {
	appearance: auto;
	background: #050505 !important;
	background-color: #050505 !important;
	border: 1px solid #242424 !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: var(--yac-white) !important;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 14px;
	font-weight: 750;
	height: 46px;
	line-height: 1;
	min-height: 46px;
	outline-offset: 2px;
	padding: 0 12px;
	width: 100%;
}

.yakiya-allergen-chart input.yac-search:focus,
.yakiya-allergen-chart select.yac-section:focus,
.yac-filter-panel summary:focus {
	background: #050505 !important;
	background-color: #050505 !important;
	color: var(--yac-white) !important;
	outline-color: var(--yac-red);
}

.yakiya-allergen-chart input.yac-search:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #050505 inset !important;
	-webkit-text-fill-color: var(--yac-white) !important;
}

.yakiya-allergen-chart select.yac-section option {
	background: #050505;
	color: var(--yac-white);
}

.yakiya-allergen-chart input.yac-search::placeholder {
	color: rgba(255, 255, 255, .55);
	font-weight: 500;
}

.yac-allergen-filters {
	background: var(--yac-soft);
	background-color: var(--yac-soft) !important;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	min-width: 0;
}

.yac-allergen-filters {
	scrollbar-color: var(--yac-red) #111;
	scrollbar-width: thin;
}

.yac-allergen-filters::-webkit-scrollbar {
	height: 12px;
	width: 12px;
}

.yac-allergen-filters::-webkit-scrollbar-track {
	background: #111;
	border-radius: 999px;
}

.yac-allergen-filters::-webkit-scrollbar-thumb {
	background: var(--yac-red);
	border: 3px solid #111;
	border-radius: 999px;
}

.yac-allergen-filters::-webkit-scrollbar-thumb:hover {
	background: #f33;
}

.yac-filter-panel {
	background: var(--yac-soft);
	background-color: var(--yac-soft) !important;
	grid-column: 1 / -1;
	min-width: 0;
}

.yac-filter-panel summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 14px !important;
	font-weight: 750 !important;
	justify-content: space-between;
	list-style: none;
	margin-bottom: 0;
}

.yac-filter-panel summary span:first-child,
.yakiya-allergen-chart select.yac-section {
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 14px !important;
	font-weight: 750 !important;
}

.yac-filter-panel summary::-webkit-details-marker {
	display: none;
}

.yac-filter-panel summary::after {
	color: var(--yac-red);
	content: "+";
	font-size: 18px;
	font-weight: 900;
	margin-left: 12px;
}

.yac-rtl .yac-filter-panel summary::after {
	margin-left: 0;
	margin-right: 12px;
}

.yac-filter-panel:not([open]) > .yac-allergen-filters {
	display: none;
}

.yac-filter-panel[open] summary {
	margin-bottom: 8px;
}

.yac-filter-panel[open] summary::after {
	content: "-";
}

.yac-filter-panel[open] > .yac-allergen-filters {
	display: grid;
}

.yac-filter-count {
	color: var(--yac-muted);
	font-size: 12px;
	margin-left: auto;
}

.yac-rtl .yac-filter-count {
	margin-left: 0;
	margin-right: auto;
}

.yac-filter {
	align-items: center;
	background: #050505;
	background-color: #050505 !important;
	border: 1px solid #242424;
	border-radius: 6px;
	color: var(--yac-white);
	cursor: pointer;
	display: grid;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	grid-template-columns: 16px 28px minmax(0, 1fr);
	line-height: 1.15;
	min-height: 58px;
	min-width: 0;
	padding: 8px 9px;
}

.yac-filter input {
	accent-color: var(--yac-red);
	height: 16px;
	margin: 0;
	width: 16px;
}

.yac-filter span:last-child {
	color: var(--yac-white);
	min-width: 0;
	overflow-wrap: anywhere;
}

.yac-icon {
	align-items: center;
	background: var(--yac-icon);
	border-radius: 5px;
	display: inline-flex;
	flex: 0 0 auto;
	height: 25px;
	justify-content: center;
	width: 25px;
}

.yac-icon img {
	display: block;
	height: 18px;
	width: 18px;
}

.yac-card {
	background: var(--yac-soft);
	background-color: var(--yac-soft) !important;
	border: 0 !important;
	border-radius: 8px;
	outline: 0 !important;
	overflow: hidden;
}

.yac-card-head {
	align-items: center;
	background: #050505;
	background-color: #050505 !important;
	border-bottom: 1px solid #242424;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 14px 16px;
}

.yac-result-count {
	color: var(--yac-white);
	font-size: 15px;
	line-height: 1.2;
}

.yac-legend {
	align-items: center;
	color: var(--yac-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	font-weight: 750;
	gap: 10px;
}

.yac-legend > span {
	align-items: center;
	display: inline-flex;
	gap: 5px;
	min-height: 30px;
}

.yac-view-toggle {
	background: #050505 !important;
	border: 1px solid #242424 !important;
	border-radius: 7px;
	display: none;
	gap: 2px;
	padding: 3px;
}

.yac-view-toggle button {
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-radius: 5px;
	box-shadow: none !important;
	color: var(--yac-muted) !important;
	cursor: pointer;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 12px;
	font-weight: 750;
	min-height: 32px;
	outline-offset: 2px;
	padding: 0 12px;
}

.yac-view-toggle button[aria-pressed="true"] {
	background: var(--yac-red) !important;
	color: var(--yac-white) !important;
}

.yac-mark {
	align-items: center;
	border-radius: 50%;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
	display: inline-flex;
	font-size: 18px;
	font-style: normal;
	font-weight: 950;
	height: 30px;
	justify-content: center;
	line-height: 1;
	width: 30px;
}

.yac-contains {
	background: var(--yac-red);
	color: var(--yac-white);
}

.yac-maybe {
	background: #ffd43b;
	color: var(--yac-black);
}

.yac-clear {
	background: #181818;
	border: 1px solid #3a3a3a;
	box-shadow: none;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	height: 22px;
	width: 22px;
}

.yac-table-wrap {
	background: var(--yac-soft);
	background-color: var(--yac-soft) !important;
	border: 0 !important;
	max-height: 72vh;
	outline: 0 !important;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-color: #6b6b6b #151515;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.yac-table-wrap::-webkit-scrollbar {
	height: 9px;
	width: 9px;
}

.yac-table-wrap::-webkit-scrollbar-track {
	background: #151515;
	border-radius: 999px;
}

.yac-table-wrap::-webkit-scrollbar-thumb {
	background: #6b6b6b;
	border: 2px solid #151515;
	border-radius: 999px;
}

.yac-table-wrap::-webkit-scrollbar-corner {
	background: #151515;
}

.yac-table {
	border: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	min-width: 1040px;
	outline: 0 !important;
	width: 100%;
}

.yac-table th,
.yac-table td {
	background: #080808;
	border-bottom: 1px solid #2a2a2a;
	border-left: 0 !important;
	border-right: 1px solid #2a2a2a;
	border-top: 0 !important;
	color: var(--yac-white);
	padding: 12px 8px;
	text-align: center;
}

.yac-table th:first-child,
.yac-table td:first-child {
	background: #0f0f0f;
	border-left: 0 !important;
	font-weight: 850;
	left: 0;
	min-width: 250px;
	position: sticky;
	text-align: left;
	z-index: 2;
}

.yac-rtl .yac-table th:first-child,
.yac-rtl .yac-table td:first-child {
	left: auto;
	right: 0;
	text-align: right;
}

.yac-table thead th {
	background: #141414;
	border-top: 0;
	color: var(--yac-white);
	height: 116px;
	min-width: 86px;
	padding: 14px 8px 10px;
	position: sticky;
	top: 0;
	vertical-align: top;
	z-index: 3;
}

.yac-table thead th:first-child {
	vertical-align: middle;
	z-index: 4;
}

.yac-table thead .yac-icon {
	height: 48px;
	margin: 0 auto 8px;
	width: 48px;
}

.yac-table thead .yac-icon img {
	height: 34px;
	width: 34px;
}

.yac-table th span:last-child {
	align-items: flex-start;
	display: flex;
	font-size: 12px;
	height: 38px;
	justify-content: center;
	line-height: 1.05;
	margin: 0 auto;
	max-width: 100px;
	overflow-wrap: normal;
	word-break: normal;
}

.yac-table td:first-child strong {
	display: block;
}

.yac-table td:first-child strong {
	font-size: 15px;
	line-height: 1.25;
}

.yac-reviewed {
	color: rgba(255, 255, 255, .5);
	font-size: 11px;
	line-height: 1.4;
	margin-top: 8px;
	text-align: right;
}

.yac-rtl .yac-reviewed {
	text-align: left;
}

.yac-mobile-list {
	display: none;
}

.yac-mobile-card {
	background: transparent;
	border-bottom: 1px solid #242424;
	padding: 12px 10px;
}

.yac-mobile-card h3 {
	color: var(--yac-white);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 17px;
	font-weight: 850;
	line-height: 1.2;
	margin: 0 0 8px;
}

.yac-mobile-allergens {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.yac-mobile-chip {
	align-items: center;
	background: #101010;
	border: 1px solid #242424;
	border-radius: 999px;
	color: var(--yac-white);
	display: inline-flex;
	gap: 6px;
	min-height: 30px;
	max-width: 100%;
	padding: 4px 8px 4px 5px;
}

.yac-mobile-chip .yac-icon {
	border-radius: 999px;
	height: 21px;
	width: 21px;
}

.yac-mobile-chip .yac-icon img {
	height: 15px;
	width: 15px;
}

.yac-mobile-chip > span:last-child {
	align-items: center;
	display: inline-flex;
	gap: 5px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.yac-mobile-chip > span:last-child b {
	color: var(--yac-white);
	font-size: 13px;
	line-height: 1;
	overflow-wrap: anywhere;
}

.yac-mobile-chip > span:last-child small {
	background: #ffd43b;
	border-radius: 999px;
	color: var(--yac-black);
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	padding: 3px 5px;
}

.yac-mobile-contains {
	border-color: rgba(255, 0, 0, .68);
}

.yac-mobile-maybe {
	border-color: rgba(255, 212, 59, .8);
}

.yac-mobile-empty {
	color: rgba(255, 255, 255, .55);
	font-size: 12px;
}

@media (max-width: 980px) {
	.yac-filters {
		grid-template-columns: 1fr;
	}

	.yac-allergen-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.yakiya-allergen-chart {
		padding-bottom: 20px;
	}

	.yac-filters,
	.yac-card,
	.yac-reviewed {
		margin-left: 10px;
		margin-right: 10px;
	}

	.yac-filters {
		padding: 10px;
	}

	.yac-allergen-filters {
		display: flex;
		gap: 8px;
		margin: 0;
		overflow-x: auto;
		padding: 0 0 2px;
		scrollbar-width: thin;
	}

	.yac-filter-panel summary {
		margin-bottom: 0;
	}

	.yac-filter-panel summary::after {
		content: "+";
	}

	.yac-filter-panel[open] summary {
		margin-bottom: 8px;
	}

	.yac-filter-panel[open] summary::after {
		content: "-";
	}

	.yac-filter-panel:not([open]) > .yac-allergen-filters {
		display: none;
	}

	.yac-filter {
		flex: 0 0 172px;
		min-height: 52px;
	}

	.yac-card-head {
		align-items: flex-start;
		flex-direction: column;
		padding: 12px;
	}

	.yac-legend {
		gap: 8px;
	}

	.yac-table-wrap {
		display: none;
	}

	.yac-mobile-list {
		display: grid;
		gap: 0;
		padding: 0 0 8px;
	}

	.yac-mobile-card {
		border-left: 0;
		border-radius: 0;
		border-right: 0;
		border-top: 0;
	}

	.yac-view-toggle {
		display: inline-flex;
	}

	.yakiya-allergen-chart.yac-view-table .yac-table-wrap {
		display: block;
		max-height: 70vh;
		overflow-x: auto;
		overflow-y: auto;
		scrollbar-color: #6b6b6b #151515;
		scrollbar-width: thin;
	}

	.yakiya-allergen-chart.yac-view-table .yac-table-wrap::-webkit-scrollbar {
		height: 9px;
		width: 9px;
	}

	.yakiya-allergen-chart.yac-view-table .yac-table-wrap::-webkit-scrollbar-track {
		background: #151515;
		border-radius: 999px;
	}

	.yakiya-allergen-chart.yac-view-table .yac-table-wrap::-webkit-scrollbar-thumb {
		background: #6b6b6b;
		border: 2px solid #151515;
		border-radius: 999px;
	}

	.yakiya-allergen-chart.yac-view-table .yac-mobile-list {
		display: none;
	}

	.yac-reviewed {
		text-align: left;
	}

	.yac-rtl .yac-reviewed {
		text-align: right;
	}
}

@media (max-width: 560px) {
	.yac-filter {
		flex-basis: 164px;
		min-height: 50px;
	}

	.yac-mobile-card {
		padding: 12px;
	}
}
