body {
	background: #0a0a0a;
	color: #ffffff;
	scrollbar-width: thin;
	scrollbar-color: #3a3a3a #121212;
}

* {
	scrollbar-width: thin;
	scrollbar-color: #3a3a3a #121212;
}

*::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

*::-webkit-scrollbar-track {
	background: #121212;
	border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
	border: 2px solid #121212;
	border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #f36100 0%, #c44e00 100%);
}

*::-webkit-scrollbar-corner {
	background: #121212;
}

.fap-variants::-webkit-scrollbar,
#cook-ingredient-rows::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

#preloder {
	animation: fapPre 0.2s ease 2.5s forwards;
}

@keyframes fapPre {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

.logo-word,
.fa-logo .logo-word {
	font-family: "Oswald", sans-serif;
	color: #ffffff;
	font-size: 28px;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1;
}

.logo-word strong {
	color: #f36100;
	font-weight: 600;
}

.fap-header .nav-menu ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.fap-header .nav-menu ul li {
	margin-right: 16px;
}

.fap-header .nav-menu ul li a,
.nav-link-btn {
	font-size: 14px;
	letter-spacing: 0.4px;
}

.nav-link-btn {
	background: transparent;
	border: 0;
	color: #ffffff;
	font-family: "Oswald", sans-serif;
	text-transform: uppercase;
	padding: 10px 0;
	cursor: pointer;
}

.logout-form {
	display: inline-block;
	margin: 0;
}

.fap-header-btn {
	padding: 10px 16px;
}

.top-option {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.top-option .to-search {
	color: #ffffff;
	font-size: 18px;
}

.hero-fallback {
	background: linear-gradient(115deg, #0a0a0a 0%, #1c1c1c 48%, #3d220f 100%);
}

.hero-lead {
	color: #d5d5d5;
	font-size: 16px;
	line-height: 1.6;
	max-width: 520px;
	margin-bottom: 28px;
}

.page-head.breadcrumb-section {
	height: 240px;
	padding-top: 120px;
	background: #151515;
}

.page-head .breadcrumb-text h2 {
	font-size: 40px;
}

.fap-section,
.fap-bare {
	background: #0a0a0a;
}

.fap-section h2,
.fap-section h3,
.fap-section h4,
.fap-card h2,
.fap-card h3,
.fap-card h4,
.fap-prose h3,
.leave-comment h2,
.leave-comment h4,
.section-404 h1,
.section-404 h3 {
	color: #ffffff;
}

.fap-inline input,
.fap-inline button,
.leave-comment form.fap-inline button,
.leave-comment form.fap-inline input {
	width: auto;
}

.fap-card {
	background: #151515;
	border: 1px solid #333333;
	padding: 24px;
	margin-bottom: 24px;
	color: #ffffff;
}

.fap-card h3,
.fap-card h4,
.fap-card strong {
	color: #ffffff;
	font-family: "Oswald", sans-serif;
}

.fap-card h4 {
	margin: 0 0 14px;
}

.fap-card span,
.fap-card small,
.fap-card p,
.fap-prose p,
.fap-prose li {
	color: #cfcfcf;
}

.fap-card p {
	margin: 0 0 3px;
}

.fap-card-panel {
	padding: 14px 16px;
	border: 1px solid #2e2e2e;
	background: #0c0c0c;
}

.fap-card-panel .fap-note {
	margin-top: 8px;
	margin-bottom: 0;
}

.fap-profile-data .primary-btn {
	display: inline-block;
	margin: 0 0 18px;
}

.fap-profile-delete .fap-field {
	margin-bottom: 12px;
}

.fap-profile-delete input[type="password"] {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #363636;
	border-radius: 8px;
	background: #111111;
	color: #ffffff;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.fap-profile-delete input[type="password"]:focus,
.fap-profile-delete input[type="password"]:focus-visible {
	border-color: #f36100;
	box-shadow: 0 0 0 3px rgba(243, 97, 0, 0.18);
	background: #151515;
}

.fap-profile-delete .fap-checkline {
	margin: 0 0 14px;
}

.fap-btn-danger {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 0 12px;
	border: 1px solid #8a3030;
	background: #5a1c1c;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fap-btn-danger:hover,
.fap-btn-danger:focus {
	background: #7a2424;
	border-color: #b04444;
	color: #ffffff;
}

.fap-card strong {
	display: block;
	font-size: 32px;
	font-weight: 500;
	margin-top: 8px;
}

.fap-note,
.fap-links {
	color: #a9a9a9;
	margin-top: 12px;
}

.fap-links a,
.fap-prose a {
	color: #f36100;
}

.fap-alert {
	padding: 12px 16px;
	margin-bottom: 16px;
	border: 1px solid #333;
}

.fap-alert-ok {
	border-color: #f36100;
	color: #ffffff;
}

.leave-comment {
    margin: auto;
}

.fap-alert-bad {
	border-color: #a94442;
	color: #ffd0d0;
}

.fap-cautions {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid #f36100;
	background: #151515;
}

.fap-cautions h5 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fap-caution {
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid #2a2a2a;
}

.fap-caution:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.fap-caution strong {
	display: block;
	margin-bottom: 6px;
	color: #ffffff;
	font-weight: 500;
}

.fap-caution p {
	margin: 0 0 4px;
	color: #b5b5b5;
	font-size: 14px;
	line-height: 1.4;
}

.fap-caution p:last-child {
	margin-bottom: 0;
}

.fap-caution b {
	color: #ffffff;
	font-weight: 500;
}

.fap-bar {
	height: 8px;
	background: #2a2a2a;
	margin: 8px 0 16px;
}

.fap-bar span {
	display: block;
	height: 100%;
	background: #f36100;
}

.fap-macro {
	margin-bottom: 8px;
}

.fap-macro div:first-child {
	display: flex;
	justify-content: space-between;
	color: #ffffff;
	font-size: 14px;
}

.fap-meal-row,
.fap-inline {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.fap-meal-row {
	border-bottom: 1px solid #2a2a2a;
	padding: 8px 0;
	color: #ffffff;
}

.fap-meal-row a {
	color: #ffffff;
}

.fap-text-btn,
.leave-comment form button.fap-text-btn {
	background: transparent;
	color: #f36100;
	border: 0;
	width: auto;
	padding: 0 8px;
	text-transform: none;
}

.fap-items {
	/* margin: 0 0 8px 18px; */
	color: #cfcfcf;
}

.fap-meal-items {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.fap-meal-items .fap-cook-shop-item {
	margin-bottom: 6px;
}

.fap-meal-items .fap-cook-shop-check {
	color: #8fd4a8;
}

.fap-photo-launch {
	margin-bottom: 24px;
}

.fap-photo-launch .primary-btn,
.fap-file {
	font-size: 16px;
}

.fap-file {
	position: relative;
	overflow: hidden;
	margin: 0 8px 8px 0;
}

.fap-file input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	height: 100%;
	width: 100%;
	margin: 0;
	border: 0;
}

.fap-photo-box {
	margin-bottom: 16px;
}

.fap-photo-box[hidden] {
	display: none !important;
}

.fap-preview {
	display: block;
	width: 100%;
	max-height: 240px;
	object-fit: cover;
	margin-bottom: 10px;
	background: #000;
	border: 1px solid #363636;
}

#photo-remove {
	margin-bottom: 8px;
}

.fap-types {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 14px;
}

.fap-types label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 0;
	padding: 8px 6px;
	border: 1px solid #3a3a3a;
	background: #101010;
	color: #d5d5d5;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
}

.fap-types label:has(input:checked) {
	background: #f36100;
	border-color: #f36100;
	color: #ffffff;
}

.fap-types input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.fap-types input {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
}

.fap-checkgroup {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0 0 14px;
}

.fap-checkline {
	position: relative;
	display: inline-flex;
	gap: 10px;
	align-items: center;
	color: #d5d5d5;
	margin: 0 0 14px;
	cursor: pointer;
	user-select: none;
	line-height: 1.35;
}

.fap-checkgroup .fap-checkline {
	margin-bottom: 0;
}

.fap-checkline > span {
	color: inherit;
}

.fap-check,
.leave-comment form input.fap-check,
.leave-comment form input[type="checkbox"],
.leave-comment form input[type="radio"],
.fap-checkline input[type="checkbox"],
.fap-checkline input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 1px solid #4a4a4a;
	border-radius: 4px;
	background: #121212;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
	cursor: pointer;
	vertical-align: middle;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.fap-checkline input[type="radio"],
.leave-comment form input[type="radio"] {
	border-radius: 50%;
}

.fap-check:hover,
.leave-comment form input.fap-check:hover,
.leave-comment form input[type="checkbox"]:hover,
.leave-comment form input[type="radio"]:hover,
.fap-checkline input[type="checkbox"]:hover,
.fap-checkline input[type="radio"]:hover {
	border-color: #f36100;
}

.fap-check:focus-visible,
.leave-comment form input.fap-check:focus-visible,
.leave-comment form input[type="checkbox"]:focus-visible,
.leave-comment form input[type="radio"]:focus-visible,
.fap-checkline input[type="checkbox"]:focus-visible,
.fap-checkline input[type="radio"]:focus-visible {
	outline: none;
	border-color: #f36100;
	box-shadow: 0 0 0 2px rgba(243, 97, 0, 0.28);
}

.fap-check:checked,
.leave-comment form input.fap-check:checked,
.leave-comment form input[type="checkbox"]:checked,
.leave-comment form input[type="radio"]:checked,
.fap-checkline input[type="checkbox"]:checked,
.fap-checkline input[type="radio"]:checked {
	background: #f36100;
	border-color: #f36100;
}

.fap-check:checked::after,
.leave-comment form input.fap-check:checked::after,
.leave-comment form input[type="checkbox"]:checked::after,
.fap-checkline input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.fap-checkline input[type="radio"]:checked::after,
.leave-comment form input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 5px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffffff;
}

.fap-check:disabled,
.leave-comment form input.fap-check:disabled,
.fap-checkline input:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.fap-checkline:has(input:checked) {
	color: #ffffff;
}

.fap-field {
	display: block;
	margin: 0 0 14px;
}

.fap-field-label {
	display: block;
	margin: 0 0 6px;
	color: #f36100;
	font-size: 12px;
	line-height: 1.2;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.fap-field .fap-input,
.fap-field input,
.fap-field select,
.leave-comment form .fap-field input:not([type="checkbox"]):not([type="radio"]),
.leave-comment form .fap-field select {
	margin-bottom: 0;
}

.fap-input,
.leave-comment form select,
.leave-comment form input:not([type="checkbox"]):not([type="radio"]),
.leave-comment form textarea,
.fap-table input:not([type="checkbox"]):not([type="radio"]),
.fap-inline input:not([type="checkbox"]):not([type="radio"]),
.fap-inline select {
	background: #111111;
	border: 1px solid #363636;
	color: #ffffff;
	height: 46px;
	padding: 0 14px;
	margin-bottom: 12px;
	width: 100%;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.fap-input::placeholder,
.leave-comment form input::placeholder,
.leave-comment form textarea::placeholder,
.fap-inline input::placeholder {
	color: #7a7a7a;
}

.fap-input:hover,
.leave-comment form select:hover,
.leave-comment form input:not([type="checkbox"]):not([type="radio"]):hover,
.leave-comment form textarea:hover,
.fap-inline input:not([type="checkbox"]):not([type="radio"]):hover,
.fap-inline select:hover {
	border-color: #4a4a4a;
}

.fap-input:focus,
.fap-input:focus-visible,
.leave-comment form select:focus,
.leave-comment form select:focus-visible,
.leave-comment form input:not([type="checkbox"]):not([type="radio"]):focus,
.leave-comment form input:not([type="checkbox"]):not([type="radio"]):focus-visible,
.leave-comment form textarea:focus,
.leave-comment form textarea:focus-visible,
.fap-inline input:not([type="checkbox"]):not([type="radio"]):focus,
.fap-inline input:not([type="checkbox"]):not([type="radio"]):focus-visible,
.fap-inline select:focus,
.fap-inline select:focus-visible {
	border-color: #f36100;
	box-shadow: 0 0 0 3px rgba(243, 97, 0, 0.18);
	background: #151515;
}

.fap-input[type="search"]::-webkit-search-decoration,
.fap-input[type="search"]::-webkit-search-cancel-button,
.leave-comment form input[type="search"]::-webkit-search-decoration,
.leave-comment form input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.fap-secret {
	position: relative;
	margin-bottom: 12px;
}

.leave-comment form .fap-secret input,
.fap-secret input {
	margin-bottom: 0;
	padding-right: 48px;
}

.leave-comment form button.fap-secret-toggle,
.fap-secret-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	text-transform: none;
	font-weight: 400;
	line-height: 46px;
	cursor: pointer;
}

.fap-input,
.leave-comment form select,
.fap-inline select {
	background-color: #151515;
	color-scheme: light;
}

.fap-input option,
.leave-comment form select option,
.fap-inline select option {
	background-color: #ffffff;
	color: #1a1a1a;
}

.fap-col-label {
	display: none;
}

.fap-table input {
	height: 38px;
	margin: 0;
	min-width: 64px;
}

.fap-table-wrap {
	overflow-x: auto;
}

.fap-table {
	width: 100%;
	color: #ffffff;
	margin-bottom: 16px;
}

.fap-table th {
	color: #f36100;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	padding: 8px;
}

.fap-table td {
	border-top: 1px solid #2a2a2a;
	padding: 8px;
	vertical-align: middle;
}

.fap-photo {
	display: block;
	margin-bottom: 20px;
	color: #ffffff;
}

.fap-photo img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.fap-install {
	padding-top: 60px;
}

.cs-item span.fap-fa {
	font-size: 28px;
	line-height: 90px;
}

.chart-calculate-form,
.bmi-calculator-section,
.services-section,
.aboutus-section {
	background: #0a0a0a;
}

.chart-table td,
.chart-table th {
	color: #ffffff;
}

@media (max-width: 767px) {
	.page-head.breadcrumb-section {
		height: 190px;
		padding-top: 100px;
	}

	.page-head .breadcrumb-text h2,
	.hs-slider .hs-item .hi-text h1 {
		font-size: 34px;
		line-height: 1.15;
	}

	.hs-slider .hs-item {
		height: auto;
		min-height: 100vh;
		padding-top: 140px;
		padding-bottom: 48px;
	}

	.fap-header .nav-menu {
		display: none;
	}

	.fap-photo-launch {
		position: sticky;
		bottom: 12px;
		z-index: 20;
	}

	.fap-photo-launch .primary-btn {
		display: block;
		text-align: center;
	}

	.fap-table thead {
		display: none;
	}

	.fap-table tr {
		display: block;
		margin-bottom: 14px;
		border: 1px solid #2a2a2a;
		padding: 8px;
	}

	.fap-table td {
		display: block;
		border: 0;
		padding: 4px 0;
	}

	.fap-col-label {
		display: block;
		color: #f36100;
		font-size: 12px;
		margin-bottom: 4px;
	}

	.fap-table input {
		min-width: 0;
		width: 100%;
	}
}

a.fap-auth-switch {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	text-align: center;
	background: transparent;
	border: 1px solid #f36100;
	color: #ffffff;
}

a.fap-auth-switch:hover {
	background: #f36100;
	color: #ffffff;
}

.fap-photo-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.fap-photo-strip[hidden] {
	display: none !important;
}

.fap-thumb {
	position: relative;
	width: 96px;
	height: 96px;
	flex: 0 0 96px;
}

.fap-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	border: 1px solid #363636;
}

.fap-thumb-x,
.fap-items .fap-remove {
	border: 0;
	border-radius: 50%;
	background: rgba(10, 10, 10, 0.82);
	color: #ffffff;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.fap-thumb-x {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 26px;
	height: 26px;
	font-size: 18px;
}

.fap-thumb-x:hover,
.fap-items .fap-remove:hover {
	background: #f36100;
}

.fap-photo-file {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.fap-items,
.fap-items tbody,
.fap-items tr,
.fap-items td {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.fap-items tr {
	margin: 0 0 14px;
	border: 1px solid #2a2a2a;
	padding: 10px;
}

.fap-items td {
	border: 0;
	padding: 0;
}

.fap-items .fap-col-label {
	display: block;
	color: #f36100;
	font-size: 12px;
	line-height: 1.2;
	margin-bottom: 4px;
}

.fap-items .fap-item-name input {
	width: 100%;
	min-width: 0;
	margin-bottom: 10px;
}

.fap-table-wrap:has(.fap-items) {
	overflow: visible;
}

.fap-item-metrics {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr)) 38px;
	gap: 8px;
	align-items: end;
}

.fap-metric {
	display: block;
	min-width: 0;
	margin: 0;
}

.fap-items .fap-metric input,
.fap-items .fap-item-name input {
	width: 100%;
	min-width: 0;
}

.fap-items .fap-metric input {
	padding: 0 2px;
	text-align: center;
	-moz-appearance: textfield;
}

.fap-items .fap-metric input::-webkit-outer-spin-button,
.fap-items .fap-metric input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fap-items .fap-remove {
	width: 38px;
	height: 38px;
	font-size: 22px;
}

@media (max-width: 599px) {
	.fap-item-metrics {
		grid-template-columns: repeat(6, minmax(0, 1fr)) 38px;
		gap: 0;
		align-items: stretch;
	}

	.fap-item-metrics > .fap-metric:nth-child(1) {
		grid-column: 1 / 4;
		grid-row: 1;
	}

	.fap-item-metrics > .fap-metric:nth-child(2) {
		grid-column: 4 / 7;
		grid-row: 1;
	}

	.fap-item-metrics > .fap-metric:nth-child(3) {
		grid-column: 1 / 3;
		grid-row: 2;
	}

	.fap-item-metrics > .fap-metric:nth-child(4) {
		grid-column: 3 / 5;
		grid-row: 2;
	}

	.fap-item-metrics > .fap-metric:nth-child(5) {
		grid-column: 5 / 7;
		grid-row: 2;
		border-right: 0;
	}

	.fap-item-metrics > .fap-remove {
		grid-column: 7;
		grid-row: 1 / 3;
		width: 100%;
		min-height: 0;
		height: auto;
		align-self: stretch;
	}

	.fap-item-metrics > .fap-metric:nth-child(1),
	.fap-item-metrics > .fap-metric:nth-child(2) {
		border-bottom: 1px solid #2e2e2e;
	}
}

.fap-thumb img {
	cursor: zoom-in;
}

body.fap-gallery-open {
	overflow: hidden;
}

.fap-gallery {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 76px 32px;
	background: rgba(5, 5, 5, 0.96);
}

.fap-gallery[hidden] {
	display: none !important;
}

.fap-gallery-frame {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(920px, 92vw);
	margin: 0;
	text-align: center;
}

.fap-gallery-frame img {
	display: block;
	width: min(920px, 92vw);
	height: min(78vh, 820px);
	object-fit: contain;
	background: #000;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.fap-gallery-frame figcaption {
	margin-top: 12px;
	color: #d0d0d0;
}

.fap-gallery-close,
.fap-gallery-nav {
	position: absolute;
	border: 0;
	border-radius: 50%;
	background: rgba(10, 10, 10, 0.82);
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
	padding: 0;
	line-height: 1;
}

.fap-gallery-close {
	top: 18px;
	right: 18px;
	width: 42px;
	height: 42px;
	font-size: 28px;
}

.fap-gallery-nav {
	top: 50%;
	width: 46px;
	height: 46px;
	margin-top: -23px;
	font-size: 34px;
}

.fap-gallery-prev {
	left: 16px;
}

.fap-gallery-next {
	right: 16px;
}

.fap-gallery-close:hover,
.fap-gallery-nav:hover {
	background: #f36100;
}

.fap-gallery-nav[hidden] {
	display: none !important;
}

.fap-namebox {
	position: relative;
	width: 90%;
}

.fap-items .fap-namebox input {
	padding-right: 62px;
}

.fap-items .fap-namebox .fap-origin {
	position: absolute;
	top: 11px;
	right: 36px;
	z-index: 1;
	pointer-events: none;
}

.fap-variants-btn {
	position: absolute;
	top: 0;
	right: 0;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #f36100;
	font-size: 18px;
	line-height: 38px;
	cursor: pointer;
}

.fap-variants {
	position: absolute;
	z-index: 40;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	background: #161616;
	border: 1px solid #3a3a3a;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
	max-height: 280px;
	overflow: auto;
}

.fap-variants[hidden] {
	display: none !important;
}

.fap-variants-empty,
.fap-variants-note {
	margin: 0;
	padding: 12px;
	color: #b5b5b5;
}

.fap-variants-note {
	padding-bottom: 8px;
	border-bottom: 1px solid #2a2a2a;
	font-size: 13px;
}

.fap-variant-row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid #2a2a2a;
}

.fap-variant-row:last-child {
	border-bottom: 0;
}

.fap-variant {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 11px 12px;
	border: 0;
	border-bottom: 0;
	background: transparent;
	color: #ffffff;
	text-align: left;
	text-transform: none;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	cursor: pointer;
}

.fap-variant:hover,
.fap-variant:focus {
	background: #2a160c;
	color: #ffffff;
}

.fap-variant small {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #f36100;
	white-space: nowrap;
}

.fap-variant-hide {
	flex: 0 0 36px;
	width: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8a8a8a;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.fap-variant-hide:hover,
.fap-variant-hide:focus {
	color: #f36100;
	background: #2a160c;
}

.fap-photo-card h4,
.fap-products-card h4 {
	margin-bottom: 16px;
}

.fap-photo-actions,
.fap-product-actions,
.fap-analyze-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	align-items: stretch;
}

.fap-analyze-row {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	margin-bottom: 4px;
}

.fap-icon-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #3a3a3a;
	background: #101010;
	color: #ffffff;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.6px;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
}

.fap-icon-btn span {
	color: inherit;
}

.fap-icon-btn svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	fill: none;
	stroke: #f36100;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fap-icon-btn:hover,
.fap-icon-btn:focus {
	border-color: #f36100;
	background: #1c120c;
	color: #ffffff;
}

.fap-icon-btn-solid {
	background: #f36100;
	border-color: #f36100;
}

.fap-icon-btn-solid svg {
	stroke: #ffffff;
}

.fap-icon-btn-solid:hover,
.fap-icon-btn-solid:focus {
	background: #ff7a22;
	border-color: #ff7a22;
	color: #ffffff;
}

.fap-types input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	opacity: 0;
}

.fap-icon-btn input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	opacity: 0;
}

.fap-when,
.fap-analyze-row input[type="datetime-local"] {
	width: 100%;
	height: 58px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #3a3a3a;
	background: #101010;
	color: #ffffff;
	color-scheme: dark;
	font-family: "Muli", sans-serif;
	font-size: 14px;
}

.fap-products-card:not(.is-ready) .fap-products-body {
	display: none;
}

.fap-products-card.is-ready .fap-pick {
	display: none;
}

.fap-pick {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	min-height: 340px;
	margin: 0;
	padding: 24px 16px 32px;
	border: 1px dashed rgba(255, 255, 255, 0.16);
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
	cursor: pointer;
}

.fap-pick svg {
	width: min(210px, 70%);
	height: auto;
	fill: none;
	stroke: rgba(255, 255, 255, 0.28);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fap-pick span {
	font-family: "Oswald", sans-serif;
	font-size: 18px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.fap-pick:hover,
.fap-pick:focus {
	border-color: rgba(243, 97, 0, 0.7);
	color: #ffffff;
}

.fap-pick:hover svg,
.fap-pick:focus svg {
	stroke: rgba(243, 97, 0, 0.8);
}

.fap-pick:hover span,
.fap-pick:focus span {
	color: #ffffff;
}

#ai-note:empty {
	display: none;
}

.fap-items tr {
	background: #101010;
}

.fap-item-metrics {
	border: 1px solid #2e2e2e;
	background: #0c0c0c;
}

.fap-metric {
	padding: 6px 4px 4px;
	border-right: 1px solid #2e2e2e;
}

.fap-items .fap-metric input {
	height: 34px;
	margin: 0;
	border: 0;
	background: transparent;
}

.fap-items .fap-remove {
	align-self: stretch;
	width: 100%;
	height: auto;
	min-height: 58px;
	border-radius: 0;
	box-shadow: none;
	background: #161616;
}

.fap-total-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 4px;
	border: 1px solid #2e2e2e;
	background: #101010;
}

.fap-total {
	padding: 12px 8px;
	border-right: 1px solid #2e2e2e;
	text-align: center;
}

.fap-total:last-child {
	border-right: 0;
}

.fap-total span {
	display: block;
	margin-bottom: 4px;
	color: #f36100;
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.fap-total b {
	display: block;
	color: #ffffff;
	font-family: "Oswald", sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.1;
}

.fap-total-note {
	margin: 10px 0 14px;
	color: #a9a9a9;
	font-size: 13px;
}

.fap-product-actions {
	margin-top: 4px;
}

@media (max-width: 767px) {
	.fap-gallery {
		padding: 64px 16px 24px;
	}

	.fap-gallery-nav {
		top: auto;
		bottom: 16px;
		margin-top: 0;
	}

	.fap-types,
	.fap-total-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fap-total:nth-child(2) {
		border-right: 0;
	}

	.fap-analyze-row {
		grid-template-columns: 1fr;
	}

	.fap-photo-actions .fap-icon-btn span,
	.fap-product-actions .fap-icon-btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
	}

	.fap-photo-actions .fap-icon-btn,
	.fap-product-actions .fap-icon-btn {
		min-height: 56px;
		padding: 0;
		gap: 0;
	}

	.fap-photo-actions .fap-icon-btn svg,
	.fap-product-actions .fap-icon-btn svg {
		width: 26px;
		height: 26px;
	}
}

.fap-writing {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #d5d5d5;
}

.fap-pen {
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	fill: none;
	stroke: #f36100;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transform-origin: 14px 40px;
	animation: fapWrite 0.95s ease-in-out infinite;
}

@keyframes fapWrite {
	0% { transform: rotate(-22deg) translate(0, 0); }
	35% { transform: rotate(-6deg) translate(2px, 1px); }
	70% { transform: rotate(-16deg) translate(6px, 2px); }
	100% { transform: rotate(-22deg) translate(0, 0); }
}

.fap-variant small {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.fap-origin {
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.fap-origin svg {
	width: 16px;
	height: 16px;
	fill: rgba(77, 163, 255, 0.16);
	stroke: #4da3ff;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fap-origin-ai svg {
	fill: rgba(243, 97, 0, 0.16);
	stroke: #f36100;
}

.fap-origin-external svg {
	fill: rgba(72, 187, 120, 0.14);
	stroke: #48bb78;
}

.fap-cook-card h4 .fap-origin {
	margin-left: 8px;
	vertical-align: middle;
}

.fap-cook-hint p,
.fap-cook p {
	color: #cfcfcf;
}

.fap-cook-hint .primary-btn,
.fap-cook .primary-btn {
	margin-top: 8px;
}

.fap-cook-types,
.fap-cook-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fap-cook-types .primary-btn,
.fap-cook-actions .primary-btn,
.fap-cook .fap-file {
	margin: 0;
	text-align: center;
}

.fap-cook-types .fap-cook-type {
	background: #2a2a2a;
	border-color: #3a3a3a;
	color: #e8e8e8;
}

.fap-cook-types .fap-cook-type.is-on {
	background: #f36100;
	border-color: #f36100;
	color: #fff;
}

.fap-cook-types .fap-cook-type:hover {
	border-color: #f36100;
	color: #fff;
}

.fap-cook-card {
	position: relative;
	transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.32s ease, margin-bottom 0.32s ease, padding 0.32s ease;
}

.fap-cook-card > h4:first-of-type {
	padding-right: 40px;
	margin-bottom: 10px;
}

.fap-cook-dismiss {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 32px;
	height: 32px;
	min-width: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	font-size: 26px;
	line-height: 30px;
	text-transform: none;
}

.fap-cook-dismiss:hover {
	color: #f36100;
}

.fap-cook-card.is-leaving {
	overflow: hidden;
	transform: translateY(-8px);
	pointer-events: none;
}

.fap-cook-card.is-chosen {
	box-shadow: inset 0 0 0 2px #ffffff;
}

.fap-cook-card.is-chosen {
	border-color: #f36100;
}

.fap-cook textarea,
.fap-cook input[type="text"],
.fap-cook input[type="search"],
.fap-cook input[type="email"],
.fap-cook input[type="password"],
.fap-cook input[type="number"],
.fap-cook input[type="tel"],
.fap-cook input[type="url"],
.fap-cook select {
	width: 100%;
	background: #111111;
	border: 1px solid #363636;
	color: #ffffff;
	padding: 12px 14px;
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.35;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.fap-cook textarea::placeholder,
.fap-cook input::placeholder {
	color: #7a7a7a;
}

.fap-cook textarea:hover,
.fap-cook input[type="text"]:hover,
.fap-cook input[type="search"]:hover,
.fap-cook input[type="email"]:hover,
.fap-cook input[type="password"]:hover,
.fap-cook input[type="number"]:hover,
.fap-cook input[type="tel"]:hover,
.fap-cook input[type="url"]:hover,
.fap-cook select:hover {
	border-color: #4a4a4a;
}

.fap-cook textarea:focus,
.fap-cook textarea:focus-visible,
.fap-cook input[type="text"]:focus,
.fap-cook input[type="text"]:focus-visible,
.fap-cook input[type="search"]:focus,
.fap-cook input[type="search"]:focus-visible,
.fap-cook input[type="email"]:focus,
.fap-cook input[type="email"]:focus-visible,
.fap-cook input[type="password"]:focus,
.fap-cook input[type="password"]:focus-visible,
.fap-cook input[type="number"]:focus,
.fap-cook input[type="number"]:focus-visible,
.fap-cook input[type="tel"]:focus,
.fap-cook input[type="tel"]:focus-visible,
.fap-cook input[type="url"]:focus,
.fap-cook input[type="url"]:focus-visible,
.fap-cook select:focus,
.fap-cook select:focus-visible {
	border-color: #f36100;
	box-shadow: 0 0 0 3px rgba(243, 97, 0, 0.18);
	background: #151515;
}

.fap-cook input[type="search"]::-webkit-search-decoration,
.fap-cook input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.fap-cook-intro:empty {
	display: none;
}

.fap-cook-intro {
	color: #ffffff;
	margin: 0 0 16px;
}

.fap-cook-macros {
	font-size: 18px !important;
	line-height: 1.3;
}

.fap-cook-kcal {
	color: #ffffff;
	margin-top: 10px;
	margin-bottom: 8px;
}

.fap-cook-kcal strong {
	display: inline;
	font-size: 32px;
	margin-right: 6px;
}

.fap-cook-meta,
.fap-cook-line,
.fap-cook-why,
.fap-cook-missing {
	color: #cfcfcf;
	margin-bottom: 8px;
}

.fap-cook-course {
	margin: 16px 0 4px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fap-cook-course .fap-note {
	margin-bottom: 10px;
}

.fap-cook .fap-types {
	margin-bottom: 0;
}

.fap-cook-shop-title {
	color: #ffffff;
	font-weight: 600;
	margin-bottom: 8px;
}

.fap-cook-shop-list {
	margin: 0 0 12px;
	padding: 0;
	color: #e8e8e8;
	list-style: none;
}

.fap-cook-shop-list.is-optional {
	color: #bdbdbd;
}

.fap-cook-shop-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
}

.fap-cook-shop-check {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: #e53935;
}

.fap-cook-shop-check svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fap-cook-shop-item.is-optional .fap-cook-shop-check {
	color: #ef9a9a;
}

.fap-cook-shop-result {
	margin: 12px 0 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fap-cook-shop-result strong {
	display: block;
	margin-bottom: 6px;
	color: #ffffff;
}

.fap-cook-result-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

.fap-cook-portions-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.fap-cook-portions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fap-cook-remove {
	margin-left: auto;
}

.fap-cook-portion-btn {
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	background: #2a2a2a;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.fap-cook-portion-btn:hover {
	border-color: #f36100;
	color: #f36100;
}

.cook-portions-value {
	min-width: 1.4em;
	text-align: center;
	display: inline-block;
}

.fap-cook-pantry .fap-cook-line {
	padding: 8px 10px;
	border-radius: 8px;
	margin-bottom: 6px;
}

.fap-cook-pantry .fap-cook-line.is-owned {
	background: rgba(46, 125, 50, 0.22);
	border: 1px solid rgba(76, 175, 80, 0.35);
}

.fap-cook-pantry .fap-cook-line.is-missing {
	background: rgba(198, 40, 40, 0.16);
	border: 1px solid rgba(229, 57, 53, 0.35);
}

.fap-icon-x {
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: #cfcfcf;
	cursor: pointer;
	padding: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.fap-icon-x svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 2.2;
	fill: none;
	stroke-linecap: round;
}

.fap-icon-x:hover {
	color: #e53935;
}

.fap-library-photo-btn {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	margin: 0 0 10px;
}

.fap-library-photo-btn .fap-library-photo {
	display: block;
	width: 100%;
	margin: 0;
}

.fap-cook-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1200;
	background: rgba(0, 0, 0, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.fap-cook-lightbox[hidden] {
	display: none !important;
}

.fap-cook-lightbox img {
	max-width: min(960px, 100%);
	max-height: 90vh;
	object-fit: contain;
	border-radius: 8px;
}

.fap-cook-lightbox-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.fap-cook-lightbox-close:hover {
	background: #f36100;
}

body.fap-lightbox-open {
	overflow: hidden;
}

.fap-cook-have-toggle {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
	cursor: default;
	font: inherit;
}

.fap-cook-have-toggle.is-clickable {
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: rgba(243, 97, 0, 0.55);
	text-underline-offset: 3px;
}

.fap-cook-have-toggle.is-clickable:hover,
.fap-cook-have-toggle.is-open {
	color: #ffb074;
}

.fap-cook-have-hint {
	color: #f36100;
	text-decoration: none;
	white-space: nowrap;
}

.fap-cook-missing-preview {
	margin: 0 0 10px;
	padding: 10px;
	border-radius: 8px;
	background: rgba(243, 97, 0, 0.08);
	border: 1px solid rgba(243, 97, 0, 0.22);
}

.fap-cook-ready-note {
	color: #81c784 !important;
	margin: 0 !important;
}

.fap-cook-details[hidden] {
	display: none !important;
}

.fap-ingredient-row,
.fap-cook-line {
	display: flex;
	gap: 8px;
	align-items: baseline;
	flex-wrap: wrap;
}

.fap-ingredient-row {
	flex-wrap: nowrap;
}

.fap-ingredient-row input,
.fap-cook-line input {
	flex: 1 1 140px;
	margin-bottom: 0;
}

.fap-cook .fap-ingredient-row {
	position: relative;
	z-index: 1;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.fap-cook .fap-ingredient-row:focus-within,
.fap-cook .fap-ingredient-row:has(.fap-variants:not([hidden])) {
	z-index: 50;
}

.fap-cook .fap-ingredient-row:last-child .fap-variants,
.fap-cook .fap-ingredient-row:nth-last-child(2) .fap-variants {
	top: auto;
	bottom: calc(100% + 4px);
}

#cook-ingredient-rows {
	overflow: visible;
	margin-bottom: 8px;
}

.fap-pantry-remove {
	flex: 0 0 auto;
	margin-left: auto;
	white-space: nowrap;
}

.fap-cook-line .fap-namebox {
	flex: 1 1 160px;
	min-width: 0;
}

.fap-cook .fap-ingredient-row .fap-namebox {
	flex: 1 1 160px;
	min-width: 0;
}

.fap-cook .fap-ingredient-row .fap-namebox input {
	width: 100%;
	padding-right: 36px;
	margin-bottom: 0;
}

.fap-cook-line .fap-namebox input {
	width: 100%;
	margin-bottom: 0;
}

.fap-cook-line input[type="number"] {
	flex: 0 0 96px;
}

.fap-cook-confidence {
	color: #f36100;
	font-size: 13px;
	white-space: normal;
	line-height: 1.35;
}

@media (max-width: 720px) {
	.fap-cook .fap-ingredient-row .fap-cook-confidence {
		flex: 1 1 100%;
		order: 3;
	}

	.fap-cook .fap-ingredient-row .fap-pantry-remove {
		order: 2;
		margin-left: 0;
	}
}

@media (max-width: 425px) {

	.fap-cook .fap-ingredient-row .fap-pantry-remove {
		font-size: .7rem;
	}
}

.fap-cook-steps {
	margin: 8px 0 0 18px;
	color: #cfcfcf;
}

.fap-cook-steps li {
	margin-bottom: 6px;
}

.fap-cook [hidden] {
	display: none !important;
}

.fap-cook-loader {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 16px 0;
}

.fap-cook-anim {
	width: 64px;
	height: 64px;
	flex: 0 0 auto;
}

.fap-cook-anim-svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.fap-cook-pot-shadow {
	fill: rgba(243, 97, 0, 0.18);
}

.fap-cook-pot-body,
.fap-cook-pot-rim {
	fill: #f36100;
}

.fap-cook-pot-rim {
	filter: brightness(1.08);
}

.fap-cook-pot-handle {
	fill: none;
	stroke: #f36100;
	stroke-width: 3.5;
	stroke-linecap: round;
}

.fap-cook-steam {
	fill: none;
	stroke: #ffb074;
	stroke-width: 2.6;
	stroke-linecap: round;
	opacity: 0;
	animation: fapCookSteam 1.8s ease-in-out infinite;
}

.fap-cook-steam-2 {
	animation-delay: 0.35s;
	stroke: #ffc690;
}

.fap-cook-steam-3 {
	animation-delay: 0.7s;
}

@keyframes fapCookSteam {
	0% { transform: translateY(8px); opacity: 0; }
	25% { opacity: 0.95; }
	70% { opacity: 0.45; }
	100% { transform: translateY(-14px); opacity: 0; }
}

@media (max-width: 767px) {
	.fap-cook-loader {
		gap: 12px;
	}

	.fap-cook-anim {
		width: 56px;
		height: 56px;
	}
}

.fap-cook-spinner {
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	border-radius: 50%;
	border: 3px solid #2a2a2a;
	border-top-color: #f36100;
	animation: fapCookSpin 0.8s linear infinite;
}

@keyframes fapCookSpin {
	to { transform: rotate(360deg); }
}

#cook-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 8px 0 20px;
	color: #cfcfcf;
	text-align: center;
}

#cook-more .fap-cook-spinner {
	width: 28px;
	height: 28px;
}

.fap-cook-group {
	margin: 22px 0 10px;
	font-size: 22px;
}

.fap-cook-kept,
.fap-cook-library {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f36100;
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	letter-spacing: 0.04em;
	vertical-align: middle;
}

.fap-cook-library {
	background: #2a2a2a;
	box-shadow: inset 0 0 0 1px #f36100;
}

.fap-confirm {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.fap-confirm[hidden] {
	display: none !important;
}

.fap-confirm-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.fap-confirm-box {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	padding: 22px 20px 18px;
	border: 1px solid #333333;
	background: #151515;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.fap-confirm-title {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 20px;
}

.fap-confirm-text {
	margin: 0 0 18px;
	color: #cfcfcf;
	line-height: 1.45;
}

.fap-confirm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fap-confirm-actions .primary-btn {
	margin: 0;
	flex: 1 1 calc(50% - 5px);
	text-align: center;
}

@media (max-width: 480px) {
	.fap-confirm-actions .primary-btn {
		flex: 1 1 100%;
	}
}

.fap-cook-status-bad {
	display: block;
}

.fap-library-controls,
.fap-library-feed {
	display: block;
}

.fap-library-feed {
	margin-top: 4px;
}

.fap-library-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
	margin: 0 0 20px;
}

.fap-library-grid > .fap-card {
	margin-bottom: 0;
	height: 100%;
	min-width: 0;
}

.fap-library-grid > .fap-card:not(.fap-library-card),
.fap-library-grid > #library-more {
	grid-column: 1 / -1;
}

.fap-library-panel-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 16px;
}

.fap-library-panel-head h4 {
	margin: 0;
}

.fap-library-panel-note {
	margin: 0;
	color: #8f8f8f;
	font-size: 13px;
	line-height: 1.4;
}

.fap-library-search {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
	margin-bottom: 20px;
}

.fap-library-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	color: #cfcfcf;
}

.fap-library-field-label {
	font-size: 13px;
	letter-spacing: 0.02em;
	color: #bdbdbd;
}

.fap-library-field .fap-input,
.fap-library .fap-input,
.fap-library.fap-cook .fap-library-field input[type="search"] {
	margin-bottom: 0;
	height: 48px;
	padding: 0 16px;
	background: linear-gradient(180deg, #141414 0%, #0f0f0f 100%);
	border-color: #404040;
	font-size: 15px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.fap-library.fap-cook .fap-library-field input[type="search"]:hover {
	border-color: #5a5a5a;
	background: #151515;
}

.fap-library.fap-cook .fap-library-field input[type="search"]:focus,
.fap-library.fap-cook .fap-library-field input[type="search"]:focus-visible {
	border-color: #f36100;
	background: #171717;
	box-shadow: 0 0 0 3px rgba(243, 97, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fap-library-filters {
	display: grid;
	gap: 18px;
	padding-top: 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fap-library-filter {
	display: grid;
	gap: 10px;
}

.fap-library-filter-label {
	display: block;
	margin: 0;
	color: #d0d0d0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.fap-library-seg {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fap-library-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid #3a3a3a;
	border-radius: 999px;
	background: #121212;
	color: #d8d8d8;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fap-library-chip:hover {
	border-color: #5a5a5a;
	color: #ffffff;
	background: #1a1a1a;
}

.fap-library-chip:focus-visible {
	outline: none;
	border-color: #f36100;
	box-shadow: 0 0 0 3px rgba(243, 97, 0, 0.2);
}

.fap-library-chip.is-on {
	border-color: #f36100;
	background: rgba(243, 97, 0, 0.28);
	color: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(243, 97, 0, 0.45);
}

.fap-library-chip.is-on:hover {
	background: rgba(243, 97, 0, 0.36);
	border-color: #ff6d0a;
	color: #ffffff;
}

.fap-library-more {
	margin-top: 2px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 14px;
}

.fap-library-more > summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	cursor: pointer;
	color: #ffffff;
	margin: 0;
	list-style: none;
	user-select: none;
}

.fap-library-more > summary::-webkit-details-marker {
	display: none;
}

.fap-library-more > summary::before {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform 0.18s ease;
	flex: 0 0 auto;
}

.fap-library-more[open] > summary {
	color: #f36100;
	margin-bottom: 14px;
}

.fap-library-more[open] > summary::before {
	transform: rotate(45deg);
}

.fap-library-more-hint {
	color: #8a8a8a;
	font-size: 12px;
	font-weight: 400;
}

.fap-library-more[open] .fap-library-more-hint {
	color: rgba(243, 97, 0, 0.72);
}

.fap-library-more-body {
	display: grid;
	gap: 18px;
}

@media (max-width: 767px) {
	.fap-library-search {
		grid-template-columns: 1fr;
	}

	.fap-library-panel-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.fap-library-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.fap-library-photo {
	display: block;
	width: 250px;
	max-width: 100%;
	max-height: 220px;
	object-fit: cover;
	margin: 0 0 12px;
	border: 1px solid #333333;
	background: #111111;
	border-radius: 20px;
}

.fap-library-photo-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 140px;
	margin: 0 0 12px;
	border: 1px dashed #3a3a3a;
	background:
		radial-gradient(circle at 30% 30%, rgba(243, 97, 0, 0.08), transparent 45%),
		linear-gradient(160deg, #171717 0%, #101010 100%);
	color: #8a8a8a;
	font-size: 13px;
	letter-spacing: 0.02em;
}

.fap-library-photo-empty svg {
	width: 56px;
	height: 56px;
	color: #666666;
}

.fap-cook-source {
	color: #b8b8b8;
	margin: 0 0 8px;
	font-size: 13px;
}

.fap-cook-source.is-ai {
	color: #f36100;
}

.fap-cook-source-link {
	margin: 0 0 10px !important;
	display: inline-flex;
}

.fap-cook-idea-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 18px;
}

.fap-cook-idea-grid .fap-cook-idea {
	margin: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.fap-cook-idea .fap-cook-actions {
	margin-top: auto;
	padding-top: 8px;
}

.fap-cook-idea-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
}

.fap-cook-coverage {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid #444;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.01em;
}

.fap-cook-coverage.is-full {
	border-color: #2f6b45;
	color: #8fd4a8;
	background: rgba(47, 107, 69, 0.18);
}

.fap-cook-coverage.is-partial {
	border-color: #8a5a22;
	color: #e2c09a;
	background: rgba(138, 90, 34, 0.18);
}

.fap-cook-title-original {
	color: #8a8a8a;
	font-size: 12px;
	margin: 0 0 8px;
}

.fap-cook-idea-macros {
	margin-top: -4px;
}

.fap-cook-idea.is-shopping,
.fap-cook-idea.is-partial {
	border-color: #4a3a2a;
}

.fap-cook-idea .fap-cook-shop-title {
	margin-bottom: 6px;
	color: #e2c09a;
}

.fap-cook-idea .fap-cook-shop-list {
	margin: 0 0 10px;
	padding-left: 0;
	color: #d6d6d6;
}

@media (max-width: 767px) {
	.fap-cook-idea-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.fap-library-preview {
	color: #cfcfcf;
	margin-bottom: 10px;
}

.fap-library-expand {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	width: 100%;
	margin: 4px 0 0;
	padding: 10px 12px;
	border: 1px solid #363636;
	border-radius: 8px;
	background: #151515;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
	text-transform: none;
}

.fap-library-expand::before {
	content: '';
	width: 0.45em;
	height: 0.45em;
	border-right: 2px solid #f36100;
	border-bottom: 2px solid #f36100;
	transform: rotate(-45deg);
	transition: transform 0.18s ease;
	flex: 0 0 auto;
}

.fap-library-card.is-open .fap-library-expand::before {
	transform: rotate(45deg);
}

.fap-library-expand:hover {
	border-color: #4a4a4a;
}

.fap-library-expand:focus-visible {
	outline: 2px solid #f36100;
	outline-offset: 2px;
}

.fap-library-expand-hint {
	color: #8a8a8a;
	font-size: 12px;
}

.fap-library-card.is-open .fap-library-expand-hint {
	display: none;
}

.fap-library-details {
	margin-top: 12px;
	padding-top: 4px;
}

#library-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 8px 0 20px;
	color: #cfcfcf;
	text-align: center;
}

#library-more .fap-cook-spinner {
	width: 28px;
	height: 28px;
}

@media (max-width: 767px) {
	.fap-cook-types .primary-btn,
	.fap-cook-actions .primary-btn,
	.fap-cook .fap-file {
		flex: 1 1 100%;
	}

	.fap-cook-card .fap-cook-actions .primary-btn {
		width: 100%;
	}
}

.fap-water-hint {
	margin: -4px 0 18px;
}

.leave-comment form button.fap-water-hint-btn,
.fap-water-hint-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	margin: 0;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: #d0d0d0;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
	text-transform: none;
	font-weight: 400;
	letter-spacing: 0;
}

.fap-water-hint-btn:hover,
.fap-water-hint-btn.is-open {
	color: #ffffff;
}

.fap-point-up {
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	fill: none;
	stroke: #f36100;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	transform-origin: 50% 90%;
	transition: stroke 0.2s ease;
}

.fap-water-hint-btn:hover .fap-point-up,
.fap-water-hint-btn.is-open .fap-point-up {
	stroke: #ff7a26;
	animation: fapPointBounce 0.75s ease-in-out infinite;
}

@keyframes fapPointBounce {
	0%, 100% { transform: translateY(0) scale(1); }
	35% { transform: translateY(-4px) scale(1.06); }
	65% { transform: translateY(1px) scale(0.98); }
}

.fap-water-hint-modal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.fap-water-hint-modal[hidden] {
	display: none !important;
}

.fap-water-hint-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.fap-water-hint-dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: min(82vh, 720px);
	overflow: auto;
	padding: 22px 22px 18px;
	border: 1px solid #3a3a3a;
	background: #121212;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
	color: #d8d8d8;
	font-size: 14px;
	line-height: 1.45;
}

.fap-water-hint-dialog h4 {
	margin: 0 0 12px;
	padding-right: 28px;
	color: #ffffff;
	font-family: "Oswald", sans-serif;
	font-size: 22px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.leave-comment form button.fap-water-hint-close,
.fap-water-hint-close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	font-weight: 400;
	text-transform: none;
	cursor: pointer;
}

.fap-water-hint-dialog p {
	margin: 0 0 10px;
}

.fap-water-hint-dialog p:last-child {
	margin-bottom: 0;
}

.fap-check-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.fap-check-list li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
}

.fap-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 16px;
	background-color: #f36100;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.2 17.3L4.5 12.6l1.4-1.4 3.3 3.3 8.9-8.9 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.2 17.3L4.5 12.6l1.4-1.4 3.3 3.3 8.9-8.9 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.fap-water-hint-open {
	overflow: hidden;
}

.fap-weight-label {
	display: block;
	margin: 0 0 8px;
	color: #f36100;
	font-size: 13px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.fap-weight-picker {
	position: relative;
	margin: 0 0 18px;
	border: 1px solid #2e2e2e;
	background: #0c0c0c;
	overflow: hidden;
	user-select: none;
}

.fap-weight-wheels {
	display: grid;
	grid-template-columns: 1fr auto 72px auto;
	align-items: stretch;
	min-height: 176px;
}

.fap-weight-col {
	height: 176px;
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	outline: none;
}

.fap-weight-col::-webkit-scrollbar {
	display: none;
}

.fap-weight-col-track {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fap-weight-pad {
	height: 66px;
	flex: 0 0 66px;
}

.fap-weight-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	flex: 0 0 44px;
	scroll-snap-align: center;
	font-family: "Oswald", sans-serif;
	font-size: 28px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.28);
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.fap-weight-item.is-active {
	color: #ffffff;
	transform: scale(1.08);
}

.fap-weight-dot,
.fap-weight-unit {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Oswald", sans-serif;
	color: #f36100;
	pointer-events: none;
}

.fap-weight-dot {
	font-size: 28px;
	padding: 0 2px;
}

.fap-weight-unit {
	padding-right: 14px;
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.fap-weight-highlight {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 44px;
	margin-top: -22px;
	border-top: 1px solid rgba(243, 97, 0, 0.55);
	border-bottom: 1px solid rgba(243, 97, 0, 0.55);
	background: linear-gradient(90deg, rgba(243, 97, 0, 0.08), rgba(243, 97, 0, 0.16), rgba(243, 97, 0, 0.08));
	pointer-events: none;
}

.fap-weight-picker::before,
.fap-weight-picker::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 56px;
	z-index: 1;
	pointer-events: none;
}

.fap-weight-picker::before {
	top: 0;
	background: linear-gradient(180deg, #0c0c0c 10%, rgba(12, 12, 12, 0));
}

.fap-weight-picker::after {
	bottom: 0;
	background: linear-gradient(0deg, #0c0c0c 10%, rgba(12, 12, 12, 0));
}

