/* Food & pantry labels (/food-labels/, patterns/food-labels.php, assets/js/food-labels.js). */

.yp-fl {
	--fl-ink: #161B2C;
	--fl-ink2: #3A4052;
	--fl-muted: #5B6275;
	--fl-line: #E3E6EE;
	--fl-field: #D9D6D0;
	--fl-soft: #FAF9F6;
	--fl-tint: #F1EEE8;
	--fl-accent: #E6007E;
	--fl-cyan: #00AEEF;
	--fl-dark: #141414;
	--fl-head: var(--wp--preset--font-family--heading, 'Geist', 'Inter', sans-serif);
	color: var(--fl-ink);
}

.yp-fl [hidden] {
	display: none !important;
}

.yp-fl .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Buttons ---------- */

.yp-fl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 46px;
	padding: 0.7rem 1.35rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: 600 1rem/1.2 var(--fl-head);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.yp-fl-btn:hover {
	transform: translateY(-1px);
}

.yp-fl-btn--accent {
	background: var(--fl-accent);
	color: #fff;
}

.yp-fl-btn--accent:hover {
	background: #C4006B;
	color: #fff;
}

.yp-fl-btn--accent:disabled {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.yp-fl-btn--ghost {
	border-color: #5A5A5A;
	color: #fff;
}

.yp-fl-btn--ghost:hover {
	border-color: #fff;
	color: #fff;
}

.yp-fl-btn--outline {
	border-color: var(--fl-ink);
	color: var(--fl-ink);
	background: #fff;
	min-height: 40px;
	padding: 0.45rem 1rem;
	font-size: 0.9375rem;
}

/* ---------- Hero ---------- */

.yp-fl-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(1200px 500px at 85% 10%, #22343A 0, transparent 60%),
		radial-gradient(900px 500px at 10% 100%, #3A1730 0, transparent 60%),
		var(--fl-dark);
	margin-inline: calc(-1 * var(--wp--preset--spacing--sm, 1rem));
	padding-inline: var(--wp--preset--spacing--sm, 1rem);
}

.yp-fl-hero__wrap {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 1.5rem;
	align-items: center;
	min-height: 470px;
}

.yp-fl-eyebrow {
	margin: 0;
	font: 700 0.8125rem/1.2 var(--fl-head);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fl-accent);
}

.yp-fl-hero .yp-fl-eyebrow {
	color: var(--fl-cyan);
}

.yp-fl-hero h1 {
	margin: 0.75rem 0 1rem;
	font: 700 clamp(2.4rem, 5vw, 3.5rem)/1.02 var(--fl-head);
	color: #fff;
}

.yp-fl-hero h1 em {
	font-style: normal;
	background: linear-gradient(90deg, var(--fl-cyan), var(--fl-accent) 55%, #FFB000);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.yp-fl-hero__lede {
	max-width: 30rem;
	margin: 0 0 1.5rem;
	color: #C9C7CF;
	font-size: 1.125rem;
	line-height: 1.5;
}

.yp-fl-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.yp-fl-hero__ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.1rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: #C9C7CF;
}

.yp-fl-hero__ticks li::before {
	content: "✓ ";
	color: var(--fl-cyan);
}

.yp-fl-hero__shelf {
	position: relative;
	height: 470px;
}

.yp-fl-hero__shelf img {
	position: absolute;
	width: auto;
	max-width: none;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.yp-fl-hero__jar {
	left: 0;
	bottom: 36px;
	height: 300px;
	z-index: 2;
}

.yp-fl-hero__pouch {
	left: 200px;
	bottom: 40px;
	height: 400px;
}

.yp-fl-hero__box {
	right: -40px;
	bottom: 30px;
	height: 250px;
	z-index: 2;
}

/* ---------- Sections ---------- */

.yp-fl-section {
	max-width: 1240px;
	margin: 0 auto;
	padding-block: 4rem;
}

.yp-fl-section--tint {
	max-width: none;
	background: var(--fl-tint);
	margin-inline: calc(-1 * var(--wp--preset--spacing--sm, 1rem));
	padding-inline: var(--wp--preset--spacing--sm, 1rem);
}

.yp-fl-section--tint > * {
	max-width: 1240px;
	margin-inline: auto;
}

.yp-fl-head {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 2.25rem;
}

.yp-fl-head h2 {
	margin: 0.4rem 0 0.5rem;
	font: 700 clamp(1.75rem, 3.4vw, 2.4rem)/1.1 var(--fl-head);
}

.yp-fl-head p:last-child {
	margin: 0;
	color: var(--fl-muted);
	font-size: 1.0625rem;
}

.yp-fl__status {
	text-align: center;
}

/* ---------- Builder layout ---------- */

.yp-fl__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 2.25rem;
	align-items: start;
}

.yp-fl__preview {
	position: sticky;
	top: 16px;
	display: grid;
	gap: 0.875rem;
}

.yp-fl__views {
	display: inline-flex;
	justify-self: start;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: #EDEBE6;
}

.yp-fl__views button {
	border: 0;
	border-radius: 999px;
	padding: 0.4rem 0.95rem;
	background: transparent;
	font: 600 0.875rem/1.2 var(--fl-head);
	color: var(--fl-ink2);
	cursor: pointer;
}

.yp-fl__views button[aria-pressed="true"] {
	background: var(--fl-dark);
	color: #fff;
}

.yp-fl__stage {
	position: relative;
	height: 480px;
	border-radius: 22px;
	overflow: hidden;
	background: linear-gradient(#EEEBE5, #D2CDC3);
}

.yp-fl__turn {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	font-size: 0.8125rem;
	color: var(--fl-ink2);
	white-space: nowrap;
	z-index: 2;
	pointer-events: none;
}

.yp-fl__flat-wrap {
	background: #fff;
	border: 1px solid var(--fl-line);
	border-radius: 18px;
	padding: 14px;
}

.yp-fl__flat-h {
	margin: 0 0 10px;
	font: 600 0.875rem/1.2 var(--fl-head);
}

.yp-fl__flat-h small {
	font: 400 0.8125rem/1.2 inherit;
	color: var(--fl-muted);
	margin-left: 0.4em;
}

.yp-fl__flat {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
}

.yp-fl__piece {
	margin: 0;
	max-width: 100%;
}

.yp-fl__piece canvas {
	display: block;
	max-width: 100%;
	border-radius: 4px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
}

.yp-fl__piece canvas.is-circle {
	border-radius: 50%;
}

.yp-fl__piece figcaption {
	margin-top: 6px;
	font-size: 0.75rem;
	color: var(--fl-muted);
}

.yp-fl__overflow {
	border: 1px solid #F3C4A0;
	background: #FFF3EA;
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 0.875rem;
	color: #6B2E00;
}

/* ---------- Form ---------- */

.yp-fl__form {
	display: grid;
	gap: 14px;
	counter-reset: fl-step;
}

.yp-fl__step {
	margin: 0;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--fl-line);
	border-radius: 18px;
	padding: 20px 22px;
	counter-increment: fl-step;
}

.yp-fl__step legend {
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0;
	font: 700 1.125rem/1.2 var(--fl-head);
}

.yp-fl__step > :not(legend) {
	clear: both;
}

.yp-fl__step legend small {
	margin-left: auto;
	font: 500 0.8125rem/1.2 inherit;
	color: var(--fl-muted);
}

.yp-fl__step legend i,
.yp-fl__field label i {
	color: var(--fl-accent);
	font-style: normal;
}

.yp-fl__n {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 50%;
	background: var(--fl-dark);
	color: #fff;
	font: 700 0.8125rem/1 var(--fl-head);
}

.yp-fl__n::before {
	content: counter(fl-step);
}

.yp-fl__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.yp-fl__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 10px 8px 9px;
	border: 1px solid var(--fl-line);
	border-radius: 14px;
	background: #fff;
	font: inherit;
	color: inherit;
	text-align: center;
	cursor: pointer;
}

.yp-fl__card[aria-checked="true"] {
	border-color: var(--fl-accent);
	box-shadow: inset 0 0 0 2px var(--fl-accent);
}

.yp-fl__card svg {
	width: 54px;
	height: 54px;
	margin-bottom: 4px;
}

.yp-fl__card b {
	font: 600 0.875rem/1.2 var(--fl-head);
}

.yp-fl__card span {
	font-size: 0.75rem;
	line-height: 1.3;
	color: var(--fl-muted);
}

.yp-fl__card .yp-fl__from {
	margin-top: 3px;
	font-weight: 600;
	color: var(--fl-ink);
}

.yp-fl__options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 8px;
}

.yp-fl__option {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	border: 1px solid var(--fl-line);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 0.875rem;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.yp-fl__option i {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 1px;
	border-radius: 50%;
	border: 1.5px solid #BBB;
}

.yp-fl__option small {
	display: block;
	font-size: 0.78rem;
	color: var(--fl-muted);
}

.yp-fl__option[aria-checked="true"] {
	border-color: var(--fl-ink);
	box-shadow: inset 0 0 0 1px var(--fl-ink);
}

.yp-fl__option[aria-checked="true"] i {
	border: 5px solid var(--fl-dark);
}

.yp-fl__styles {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}

.yp-fl__style {
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--fl-line);
	border-radius: 12px;
	background: #fff;
	font: 600 0.75rem/1.2 inherit;
	color: inherit;
	cursor: pointer;
}

.yp-fl__style canvas {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
}

.yp-fl__style span {
	display: block;
	padding: 5px 2px;
}

.yp-fl__style[aria-checked="true"] {
	border-color: var(--fl-accent);
	box-shadow: 0 0 0 2px var(--fl-accent);
}

.yp-fl__grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 12px;
}

.yp-fl__grid3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 10px;
}

.yp-fl__net {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0 12px;
}

.yp-fl__field {
	margin-top: 12px;
	min-width: 0;
}

.yp-fl__step legend + .yp-fl__field,
.yp-fl__step legend + .yp-fl__grid2 > .yp-fl__field,
.yp-fl__step legend + div > .yp-fl__grid2 > .yp-fl__field {
	margin-top: 0;
}

.yp-fl__field label,
.yp-fl__label {
	display: block;
	margin: 0 0 6px;
	font: 600 0.84rem/1.3 var(--fl-head);
}

.yp-fl__label {
	margin-top: 16px;
}

.yp-fl__field label small,
.yp-fl__label small {
	font-weight: 400;
	color: var(--fl-muted);
}

.yp-fl input[type="text"],
.yp-fl input[type="number"],
.yp-fl select,
.yp-fl textarea {
	width: 100%;
	min-height: 44px;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid var(--fl-field);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: var(--fl-ink);
}

.yp-fl input[type="file"] {
	max-width: 100%;
	font-size: 0.875rem;
}

.yp-fl input:focus-visible,
.yp-fl select:focus-visible,
.yp-fl textarea:focus-visible,
.yp-fl button:focus-visible {
	outline: 2px solid var(--fl-cyan);
	outline-offset: 2px;
}

.yp-fl__hint {
	margin: 6px 0 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--fl-muted);
}

.yp-fl__hint:empty {
	display: none;
}

.yp-fl__hint b {
	color: var(--fl-ink);
}

.yp-fl__muted {
	color: var(--fl-muted);
}

.yp-fl__link {
	border: 0;
	padding: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--fl-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.yp-fl__link.is-muted {
	color: var(--fl-muted);
	font-weight: 500;
}

.yp-fl__use-account {
	margin-bottom: 12px;
	font-size: 0.875rem;
}

.yp-fl__check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 12px;
	font-size: 0.9rem;
	cursor: pointer;
}

.yp-fl__check input {
	width: 18px;
	height: 18px;
	flex: none;
	margin: 2px 0 0;
	accent-color: var(--fl-accent);
}

.yp-fl__check small {
	color: var(--fl-muted);
}

.yp-fl__confirm {
	margin: 0;
	padding: 14px;
	border: 1px solid #F6C4DF;
	border-radius: 14px;
	background: #FDF0F7;
}

/* State suggestion for the home kitchen statement */

.yp-fl__suggest {
	margin-top: 10px;
	padding: 12px 14px;
	border: 1px solid #CFE3F0;
	border-radius: 12px;
	background: #F1F8FD;
	font-size: 0.875rem;
	line-height: 1.45;
}

.yp-fl__suggest p {
	margin: 0;
}

.yp-fl__suggest-h {
	font: 600 0.875rem/1.3 var(--fl-head);
}

.yp-fl__suggest blockquote {
	margin: 8px 0;
	padding: 8px 10px;
	border-left: 3px solid var(--fl-cyan);
	background: #fff;
	border-radius: 0 8px 8px 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.yp-fl__suggest-note {
	color: var(--fl-ink2);
}

.yp-fl__suggest .yp-fl-btn {
	margin-top: 8px;
}

.yp-fl__suggest-used {
	margin-top: 8px !important;
	font-weight: 600;
	color: #1A7F4B;
}

.yp-fl__suggest-check {
	margin-top: 10px !important;
	padding-top: 8px;
	border-top: 1px solid #CFE3F0;
	font-size: 0.8rem;
	color: var(--fl-muted);
}

/* Ingredients */

.yp-fl__ingr-list {
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
	border: 1px solid var(--fl-field);
	border-radius: 12px;
	overflow: hidden;
}

.yp-fl__ingr {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 8px 6px 12px;
	border-bottom: 1px solid #EFEDE9;
}

.yp-fl__ingr:last-child {
	border-bottom: 0;
}

.yp-fl__ingr-num {
	width: 18px;
	flex: none;
	padding-top: 11px;
	font-size: 0.75rem;
	color: var(--fl-muted);
}

.yp-fl__ingr-main {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 4px;
	justify-items: start;
}

.yp-fl .yp-fl__ingr-main input {
	min-height: 38px;
	padding: 6px 10px;
	font-size: 0.9375rem;
}

.yp-fl .yp-fl__ingr-main input.yp-fl__ingr-sub {
	font-size: 0.84rem;
	color: var(--fl-ink2);
}

.yp-fl__ingr-main .yp-fl__link {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--fl-muted);
}

.yp-fl__ingr-move {
	display: flex;
	padding-top: 4px;
}

.yp-fl__ingr-move button,
.yp-fl__ingr-x {
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: #8C8984;
	cursor: pointer;
	font-size: 0.9rem;
}

.yp-fl__ingr-x {
	margin-top: 4px;
}

.yp-fl__ingr-move button:hover:not(:disabled),
.yp-fl__ingr-x:hover {
	background: #F1EFEB;
	color: var(--fl-ink);
}

.yp-fl__ingr-move button:disabled {
	opacity: 0.3;
	cursor: default;
}

.yp-fl__ingr-add {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.yp-fl .yp-fl__ingr-add textarea {
	flex: 1;
	resize: vertical;
	min-height: 44px;
}

.yp-fl__printline {
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px dashed var(--fl-field);
	border-radius: 10px;
	background: var(--fl-soft);
	font-size: 0.84rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.yp-fl__printline b {
	font-weight: 800;
}

/* Allergens */

.yp-fl__allergens {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.yp-fl__allergen,
.yp-fl__chip,
.yp-fl__qty button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 6px 13px;
	border: 1px solid var(--fl-line);
	border-radius: 999px;
	background: #fff;
	font: 500 0.875rem/1.2 inherit;
	color: var(--fl-ink2);
	cursor: pointer;
	white-space: nowrap;
}

.yp-fl__allergen[aria-pressed="true"] {
	background: var(--fl-dark);
	border-color: var(--fl-dark);
	color: #fff;
}

.yp-fl__allergen[aria-pressed="true"]::before {
	content: "✓";
}

.yp-fl__chip small {
	color: var(--fl-muted);
}

.yp-fl__chip[aria-checked="true"] {
	border-color: var(--fl-ink);
	color: var(--fl-ink);
	font-weight: 600;
	box-shadow: inset 0 0 0 1px var(--fl-ink);
}

.yp-fl__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.yp-fl__spot {
	margin-bottom: 12px;
	padding: 10px 12px;
	border: 1px solid #F3DC9B;
	border-radius: 12px;
	background: #FFF8E6;
	font-size: 0.84rem;
	line-height: 1.45;
}

.yp-fl__spot.is-ok {
	border-color: #BFE3CC;
	background: #EFF9F2;
}

.yp-fl__spot b {
	display: block;
}

.yp-fl__spot ul {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

.yp-fl__spot .yp-fl__link {
	margin-left: 6px;
}

/* Summary */

.yp-fl__sum {
	padding: 20px 22px;
	border-radius: 18px;
	background: var(--fl-dark);
	color: #fff;
}

.yp-fl__sum-h {
	margin: 0 0 10px;
	font: 600 0.9rem/1.2 var(--fl-head);
	color: #C9C7CF;
}

.yp-fl__qty {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.yp-fl__qty button {
	background: transparent;
	border-color: #3A3A3A;
	color: #E8E6EC;
}

.yp-fl__qty button[aria-pressed="true"] {
	background: #fff;
	border-color: #fff;
	color: var(--fl-dark);
	font-weight: 700;
}

.yp-fl__qty-other {
	width: 96px;
}

.yp-fl .yp-fl__qty-other input {
	min-height: 38px;
	padding: 6px 10px;
	border-color: #3A3A3A;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 0.9rem;
	text-align: center;
}

.yp-fl__sum-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 0;
	font-size: 0.875rem;
	color: #C9C7CF;
}

.yp-fl__sum-row b {
	color: #fff;
	font-weight: 500;
	white-space: nowrap;
}

.yp-fl__sum-row.is-note {
	color: #7FDBA6;
}

.yp-fl__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 10px 0 14px;
	padding-top: 12px;
	border-top: 1px solid #333;
}

.yp-fl__total span {
	font-size: 0.84rem;
	color: #C9C7CF;
}

.yp-fl__total strong {
	font: 700 1.9rem/1 var(--fl-head);
}

.yp-fl__add {
	width: 100%;
}

.yp-fl__note {
	margin-top: 10px;
	font-size: 0.875rem;
	color: #C9F2D9;
}

.yp-fl__note:empty {
	display: none;
}

.yp-fl__note.is-error {
	color: #FFB4C8;
}

.yp-fl__note a {
	color: #fff;
}

.yp-fl__sum-foot {
	display: block;
	margin-top: 10px;
	font-size: 0.8rem;
	color: #9D9BA3;
	text-align: center;
}

/* ---------- Guide ---------- */

.yp-fl-guide {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2.5rem;
	align-items: center;
}

.yp-fl-guide__pics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	padding-left: 14px;
}

.yp-fl-guide__pics figure {
	position: relative;
	margin: 0;
}

.yp-fl-guide__pics canvas {
	display: block;
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.yp-fl-guide__pics figcaption {
	margin-top: 8px;
	text-align: center;
	font: 600 0.8rem/1.2 var(--fl-head);
	color: var(--fl-muted);
}

.yp-fl__pin {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--fl-accent);
	color: #fff;
	font: 700 0.8125rem/1 var(--fl-head);
}

.yp-fl-guide__pics .yp-fl__pin {
	position: absolute;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(0, 0, 0, 0.25);
}

.yp-fl__pin.is-optional {
	background: #fff;
	color: var(--fl-ink);
	border: 1.5px dashed #AAA;
}

.yp-fl-guide__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yp-fl-guide__list li {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 12px;
	align-items: start;
}

.yp-fl-guide__list b {
	display: block;
	font: 600 1rem/1.3 var(--fl-head);
}

.yp-fl-guide__list p {
	margin: 2px 0 0;
	font-size: 0.875rem;
	color: var(--fl-ink2);
}

.yp-fl-guide__disc {
	margin: 18px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--fl-line);
	border-radius: 12px;
	background: #fff;
	font-size: 0.8125rem;
	color: var(--fl-muted);
}

/* ---------- Prices ---------- */

.yp-fl-prices {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--fl-line);
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
}

.yp-fl-prices th,
.yp-fl-prices td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--fl-line);
	text-align: left;
	font-size: 0.9375rem;
}

.yp-fl-prices tr:last-child td {
	border-bottom: 0;
}

.yp-fl-prices th {
	background: var(--fl-soft);
	font: 600 0.78rem/1.2 var(--fl-head);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fl-muted);
}

.yp-fl-prices td:last-child,
.yp-fl-prices th:last-child {
	text-align: right;
	white-space: nowrap;
}

.yp-fl-prices td b {
	font-weight: 600;
}

.yp-fl-prices__note {
	text-align: center;
	margin-top: 12px;
}

/* ---------- Desktop gutters ---------- */

@media (min-width: 782px) {
	.yp-fl-hero,
	.yp-fl-section--tint {
		margin-inline: calc(-1 * var(--wp--preset--spacing--md, 2rem));
		padding-inline: var(--wp--preset--spacing--md, 2rem);
	}
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 1000px) {
	.yp-fl__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}

	.yp-fl__preview {
		position: static;
	}

	.yp-fl__stage {
		height: 400px;
	}
}

@media (max-width: 760px) {
	.yp-fl-section {
		padding-block: 2.5rem;
	}

	.yp-fl-hero__wrap {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-block: 1.6rem 2rem;
		gap: 0.5rem;
	}

	.yp-fl-hero__lede {
		font-size: 1rem;
	}

	.yp-fl-hero__ctas {
		display: grid;
	}

	.yp-fl-hero__shelf {
		order: -1;
		height: 250px;
	}

	.yp-fl-hero__jar {
		height: 165px;
		bottom: 16px;
	}

	.yp-fl-hero__pouch {
		height: 220px;
		left: 108px;
		bottom: 18px;
	}

	.yp-fl-hero__box {
		height: 138px;
		right: -14px;
		bottom: 14px;
	}

	.yp-fl__stage {
		height: 340px;
	}

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

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

	.yp-fl__step {
		padding: 16px;
	}

	.yp-fl__grid2 {
		grid-template-columns: 1fr;
	}

	.yp-fl__grid2 > .yp-fl__field:not(:first-child) {
		margin-top: 12px;
	}

	.yp-fl-guide {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.yp-fl-guide__pics {
		gap: 16px;
		padding-left: 10px;
	}

	.yp-fl-guide__pics .yp-fl__pin {
		width: 20px;
		height: 20px;
		font-size: 0.6875rem;
	}

	.yp-fl-prices th,
	.yp-fl-prices td {
		padding: 10px;
		font-size: 0.84rem;
	}
}
