/* Flex Chicken Classic Menu 1.5.0 — scoped to detected WooCommerce ordering surfaces. */
body.fcm-classic-menu {
	--fcm-red: var(--fcm-action, #e60012);
	--fcm-orange: var(--fcm-accent, #ff5a1f);
	--fcm-ink: #211915;
	--fcm-muted: #6e6966;
	--fcm-surface: #fff;
	--fcm-soft: #f7f7f7;
	--fcm-border: #eaeaea;
	--fcm-radius: 16px;
	--fcm-shadow: 0 8px 24px rgba(33, 25, 21, .075);
	padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
}

.fcm-classic-menu *,
.fcm-classic-menu *::before,
.fcm-classic-menu *::after {
	box-sizing: border-box;
}

/* Existing category navigation: same links, order and anchors. */
.fcm-classic-menu .fcm-category-shell,
.fcm-classic-menu .fc-category-nav {
	background: rgba(255, 255, 255, .97);
	border: 1px solid var(--fcm-border);
	border-radius: 0 0 16px 16px;
	box-shadow: 0 5px 16px rgba(33, 25, 21, .08);
	max-width: 100%;
	z-index: 90;
}

.fcm-classic-menu .fc-category-wrapper {
	display: flex;
	gap: 9px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 10px 12px 12px;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.fcm-classic-menu .fc-category-wrapper::-webkit-scrollbar { display: none; }

.fcm-classic-menu .fc-category-wrapper > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 15px;
	border: 1px solid #eee;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(33, 25, 21, .045);
	color: var(--fcm-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	white-space: nowrap;
	scroll-snap-align: center;
	transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.fcm-classic-menu .fc-category-wrapper > a.active,
.fcm-classic-menu .fc-category-wrapper > a[aria-current="true"] {
	border-color: var(--fcm-red);
	background: var(--fcm-red);
	color: #fff;
}

.fcm-classic-menu .fc-category-wrapper .emoji {
	width: 1.1em;
	height: 1.1em;
	margin-right: 5px;
}

.fcm-classic-menu [id] { scroll-margin-top: 96px; }

/* Ordering posts are menu interfaces, not editorial articles. */
.fcm-classic-menu.fcm-ordering-content.single-post .entry-meta,
.fcm-classic-menu.fcm-ordering-content.single-post .entry-footer,
.fcm-classic-menu.fcm-ordering-content.single-post .post-navigation,
.fcm-classic-menu.fcm-ordering-archive .entry-meta,
.fcm-classic-menu.fcm-ordering-archive .entry-footer { display: none; }

/* Product cards. */
.fcm-classic-menu .wp-block-woocommerce-product-collection > .wp-block-heading,
.fcm-classic-menu .wc-block-product-collection > .wp-block-heading {
	margin: 30px 0 13px;
	font-size: clamp(24px, 5vw, 32px);
	line-height: 1.16;
	letter-spacing: -.02em;
}

.fcm-classic-menu .fcm-card {
	position: relative;
	display: grid;
	grid-template-columns: clamp(82px, 24vw, 116px) minmax(0, 1fr) auto;
	grid-template-rows: auto auto minmax(0, 1fr);
	grid-template-areas:
		"media title controls"
		"media price controls"
		"media description controls";
	column-gap: 12px;
	row-gap: 3px;
	min-width: 0;
	min-height: 132px;
	margin: 0 !important;
	padding: 12px;
	border: 1px solid var(--fcm-border);
	border-radius: var(--fcm-radius);
	background: var(--fcm-surface);
	box-shadow: var(--fcm-shadow);
	overflow: hidden;
	content-visibility: auto;
	contain-intrinsic-size: 132px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.fcm-classic-menu .fcm-card:hover {
	border-color: #dedede;
	box-shadow: 0 10px 26px rgba(33, 25, 21, .09);
}

.fcm-classic-menu .fcm-card > .wc-block-components-product-image,
.fcm-classic-menu .fcm-card > .wc-block-grid__product-image,
.fcm-classic-menu .fcm-card > figure,
.fcm-classic-menu .fcm-card > a:first-child,
.fcm-classic-menu .fcm-card > .woocommerce-loop-product__link:first-child {
	grid-area: media;
	align-self: stretch;
	min-width: 0;
	min-height: 106px;
	margin: 0;
	border-radius: 13px;
	background: var(--fcm-soft);
	overflow: hidden;
}

/* Classic Woo loops/shortcodes wrap image, title and price in one link. Let
 * those children participate in the same card grid without rewriting links. */
.fcm-classic-menu .fcm-card > a.woocommerce-LoopProduct-link:first-child,
.fcm-classic-menu .fcm-card > a.woocommerce-loop-product__link:first-child {
	display: contents;
}

.fcm-classic-menu .fcm-card > a.woocommerce-LoopProduct-link > img,
.fcm-classic-menu .fcm-card > a.woocommerce-loop-product__link > img,
.fcm-classic-menu .fcm-card > a.woocommerce-LoopProduct-link > .fcm-empty-image,
.fcm-classic-menu .fcm-card > a.woocommerce-loop-product__link > .fcm-empty-image {
	grid-area: media;
	align-self: stretch;
	width: 100%;
	height: 100%;
	min-height: 106px;
	margin: 0;
	border-radius: 13px;
	background-color: var(--fcm-soft);
	object-fit: contain;
	overflow: hidden;
}

.fcm-classic-menu .fcm-card .wc-block-components-product-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.fcm-classic-menu img.woocommerce-placeholder,
.fcm-classic-menu img.fcm-placeholder-image,
.fcm-classic-menu img[data-image-id="0"] {
	visibility: hidden;
}

.fcm-classic-menu .fcm-card .wc-block-components-product-image img,
.fcm-classic-menu .fcm-card > figure .ct-media-container,
.fcm-classic-menu .fcm-card > figure .ct-media-container img,
.fcm-classic-menu .fcm-card > a:first-child img,
.fcm-classic-menu .fcm-card .attachment-woocommerce_thumbnail {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 106px;
	margin: 0;
	object-fit: contain;
	object-position: center;
}

/* Blocksy's classic product cards place Add to Cart in an auto-hidden image
 * overlay. The existing WooCommerce action is moved into .fcm-action-area by
 * menu.js, so the old hover layer and image zoom must not compete with it. */
.fcm-classic-menu .fcm-card > figure .ct-woo-card-extra,
.fcm-classic-menu .fcm-card > figure .fcm-theme-overlay-disabled {
	display: none !important;
}

.fcm-classic-menu .fcm-card:hover > figure,
.fcm-classic-menu .fcm-card:hover > figure .ct-media-container,
.fcm-classic-menu .fcm-card:hover > figure img {
	transform: none !important;
}

.fcm-classic-menu .fcm-empty-image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 106px;
	border-radius: inherit;
	background: linear-gradient(145deg, #fafafa, #f3f3f3);
}

.fcm-classic-menu .fcm-card .wp-block-post-title,
.fcm-classic-menu .fcm-card .woocommerce-loop-product__title,
.fcm-classic-menu .fcm-card .wc-block-grid__product-title {
	grid-area: title;
	align-self: end;
	min-width: 0;
	margin: 0 !important;
	color: var(--fcm-ink);
	font-size: clamp(15px, 4.2vw, 18px);
	font-weight: 800;
	line-height: 1.18;
	text-align: left;
	overflow-wrap: break-word;
	word-break: normal;
}

.fcm-classic-menu .fcm-card .wp-block-post-title a,
.fcm-classic-menu .fcm-card .woocommerce-loop-product__title a,
.fcm-classic-menu .fcm-card .wc-block-grid__product-title a {
	color: inherit;
	text-decoration: none;
}

.fcm-classic-menu .fcm-card > .wp-block-woocommerce-product-price,
.fcm-classic-menu .fcm-card > .price,
.fcm-classic-menu .fcm-card > .woocommerce-LoopProduct-link > .price,
.fcm-classic-menu .fcm-card > .woocommerce-loop-product__link > .price,
.fcm-classic-menu .fcm-card > .wc-block-grid__product-price {
	grid-area: price;
	align-self: start;
	min-width: 0;
	margin: 0;
	color: var(--fcm-orange);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	text-align: left;
}

.fcm-classic-menu .fcm-card .wc-block-components-product-price {
	margin: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	text-align: inherit;
}

/* Category belongs in the sticky category bar, not between a card's product
 * title and price. This remains scoped to enhanced product cards. */
.fcm-classic-menu .fcm-card .wc-block-components-product-category,
.fcm-classic-menu .fcm-card .wp-block-post-terms,
.fcm-classic-menu .fcm-card .product-category,
.fcm-classic-menu .fcm-card .posted_in,
.fcm-classic-menu .fcm-card > .entry-meta {
	display: none;
}

.fcm-classic-menu .fcm-card-description {
	grid-area: description;
	align-self: start;
	display: -webkit-box;
	min-width: 0;
	margin: 1px 0 0;
	overflow: hidden;
	color: var(--fcm-muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.fcm-classic-menu .fcm-card .fcm-action-area,
.fcm-classic-menu .fcm-card > .wp-block-woocommerce-product-button,
.fcm-classic-menu .fcm-card > .button {
	grid-area: controls;
	align-self: center;
	justify-self: end;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.fcm-classic-menu .fcm-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.fcm-classic-menu .fcm-stepper {
	display: grid;
	grid-template-columns: 32px minmax(24px, 32px) 32px;
	align-items: center;
	min-height: 40px;
	padding: 3px;
	border: 1px solid #dedede;
	border-radius: 999px;
	background: #fff;
}

.fcm-classic-menu .fcm-stepper button,
.fcm-classic-menu .fcm-modal .quantity .fcm-modal-minus,
.fcm-classic-menu .fcm-modal .quantity .fcm-modal-plus {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--fcm-soft);
	box-shadow: none;
	color: var(--fcm-ink);
	font: 800 19px/1 system-ui, sans-serif;
	cursor: pointer;
}

.fcm-classic-menu .fcm-stepper button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.fcm-classic-menu .fcm-quantity {
	display: block;
	min-width: 24px;
	color: var(--fcm-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
}

.fcm-classic-menu .fcm-action {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	min-width: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--fcm-red);
	box-shadow: 0 7px 16px rgba(230, 0, 18, .2);
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: transform .14s ease, opacity .14s ease;
}

.fcm-classic-menu .fcm-action:hover { color: #fff; transform: translateY(-1px); }
.fcm-classic-menu .fcm-action:active { transform: scale(.95); }
.fcm-classic-menu .fcm-action.is-adding { opacity: .55; pointer-events: none; }
.fcm-classic-menu .fcm-action.is-added { transform: scale(1.08); }

.fcm-classic-menu .fcm-plus-icon {
	font: 400 30px/1 system-ui, sans-serif;
	transform: translateY(-1px);
}

.fcm-classic-menu .fcm-native-order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	max-width: 132px;
	margin: 0;
	padding: 8px 13px;
	border: 0;
	border-radius: 999px;
	background: var(--fcm-red);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
}

.fcm-classic-menu .fcm-action:focus-visible,
.fcm-classic-menu .fcm-stepper button:focus-visible,
.fcm-classic-menu .fc-category-wrapper > a:focus-visible,
.fcm-classic-menu .fcm-modal button:focus-visible,
.fcm-classic-menu .fcm-modal input:focus-visible,
.fcm-classic-menu .fcm-modal select:focus-visible {
	outline: 3px solid rgba(255, 90, 31, .38);
	outline-offset: 2px;
}

.fcm-classic-menu a.added_to_cart,
.fcm-classic-menu a.wc-forward.added_to_cart { display: none; }

/* Classic Menu already provides its own compact “Added ✓” confirmation.
 * Hide only WooCommerce's duplicate success surfaces during that short event;
 * error and validation notices use different classes and remain available. */
body.fcm-classic-menu.fcm-suppress-core-added .woocommerce-message,
body.fcm-classic-menu.fcm-suppress-core-added .wc-block-components-notice-banner.is-success,
body.fcm-classic-menu.fcm-suppress-core-added .wc-block-components-notice-banner--success,
body.fcm-classic-menu.fcm-suppress-core-added .wc-block-components-notice-snackbar-list,
body.fcm-classic-menu.fcm-suppress-core-added .wc-block-components-snackbar {
	display: none !important;
}

/* Live basket: one compact, native WooCommerce fragment. */
.fcm-classic-menu .fcm-sticky-box {
	position: fixed;
	right: 18px;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 980;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	width: min(440px, calc(100vw - 28px));
	min-height: 64px;
	padding: 8px 9px 8px 12px;
	border-radius: 999px;
	background: var(--fcm-ink);
	box-shadow: 0 12px 32px rgba(33, 25, 21, .24);
	color: #fff;
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease;
}

.fcm-classic-menu .fcm-sticky-box:hover { color: #fff; }
.fcm-classic-menu .fcm-sticky-box.is-bumping { transform: scale(1.025); }

.fcm-classic-menu .fcm-box-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 50%;
}

.fcm-classic-menu .fcm-box-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	line-height: 1.15;
}

.fcm-classic-menu .fcm-box-copy strong { font-size: 15px; color: #fff; }
.fcm-classic-menu .fcm-box-copy small { margin-top: 3px; color: rgba(255,255,255,.78); font-size: 12px; }
.fcm-classic-menu .fcm-box-copy .amount { color: inherit; }

.fcm-classic-menu .fcm-box-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 19px;
	border-radius: 999px;
	background: var(--fcm-red);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

/* Product customisation sheet. */
.fcm-modal[hidden] { display: none; }

.fcm-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 18px;
}

.fcm-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 16, 14, .62);
	backdrop-filter: blur(2px);
}

body.fcm-modal-open { overflow: hidden; touch-action: none; }
body.fcm-modal-open .fcm-sticky-box { opacity: 0; pointer-events: none; }
body.fcm-cart-open { overflow: hidden; touch-action: none; }

.fcm-sheet {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(680px, 100%);
	max-height: min(92dvh, 880px);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
	overflow: hidden;
}

.fcm-handle {
	position: absolute;
	top: 9px;
	left: 50%;
	z-index: 4;
	width: 44px;
	height: 5px;
	border-radius: 999px;
	background: #d5d5d5;
	transform: translateX(-50%);
}

.fcm-close {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 8;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	min-width: 42px;
	min-height: 42px;
	padding: 0;
	border: 1px solid #eee;
	border-radius: 50%;
	background: rgba(255,255,255,.96);
	box-shadow: 0 5px 14px rgba(33,25,21,.12);
	color: var(--fcm-ink);
	font: 500 29px/1 system-ui, sans-serif;
	cursor: pointer;
}

.fcm-loader {
	padding: 76px 24px;
	color: var(--fcm-muted);
	font-size: 15px;
	text-align: center;
}

.fcm-loader:empty { display: none; }

.fcm-product-content {
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-padding-block: 68px 96px;
	-webkit-overflow-scrolling: touch;
}

.fcm-product {
	display: grid;
	grid-template-columns: minmax(142px, 42%) minmax(0, 1fr);
	grid-template-areas:
		"media head"
		"form form";
	min-width: 0;
	padding-top: 14px;
}

.fcm-product.no-image {
	display: block;
	padding-top: 22px;
}

.fcm-product.no-image .fcm-product-media { display: none; }

.fcm-product-media {
	grid-area: media;
	display: grid;
	place-items: center;
	width: 100%;
	height: clamp(145px, 25dvh, 205px);
	min-height: 145px;
	max-height: 205px;
	padding: 10px 4px 8px 12px;
	background: #fff;
	overflow: hidden;
}

.fcm-product-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 187px;
	object-fit: contain;
	object-position: center;
}

.fcm-product-media .fcm-empty-image { min-height: 145px; }

.fcm-product-head {
	grid-area: head;
	display: flex;
	min-width: 0;
	padding: 31px 56px 15px 10px;
	flex-direction: column;
	justify-content: center;
	border: 0;
	background: #fff;
}

.fcm-product-head h2 {
	margin: 0;
	padding-right: 46px;
	color: var(--fcm-ink);
	font-size: clamp(20px, 4.6vw, 27px);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -.025em;
}

.fcm-description {
	margin-top: 6px;
	color: var(--fcm-muted);
	font-size: 14px;
	line-height: 1.42;
}

.fcm-description p { margin: 0; }

.fcm-head-price {
	margin-top: 8px;
	color: var(--fcm-red);
	font-size: clamp(21px, 5.4vw, 29px);
	font-weight: 900;
	line-height: 1.05;
}

.fcm-head-price del { color: var(--fcm-muted); font-size: .72em; }
.fcm-head-price ins { color: var(--fcm-red); text-decoration: none; }

.fcm-product-form {
	grid-area: form;
	min-width: 0;
	border-top: 1px solid var(--fcm-border);
	padding: 0;
}
.fcm-product-form form.cart { margin: 0; }
.fcm-product-form > .fcm-base-price,
.fcm-product-form form.cart > .fcm-base-price { display: none; }

.fcm-modal .wapf { padding: 7px 22px 4px; }
.fcm-modal .wapf-wrapper { margin: 0; }
.fcm-modal .wapf-field-group { margin: 0; }
.fcm-modal .wapf-field-row { margin: 0; }

.fcm-modal .wapf-field-container {
	width: 100%;
	margin: 0;
	padding: 12px 0 4px;
}

.fcm-modal .wapf-field-label {
	margin: 0 0 8px;
	color: var(--fcm-ink);
	font-size: 17px;
	font-weight: 850;
	line-height: 1.25;
	text-align: left;
}

.fcm-modal .wapf-field-label label { color: inherit; font: inherit; }
.fcm-modal .wapf-field-label abbr { color: var(--fcm-red); text-decoration: none; }

.fcm-modal .wapf-radios,
.fcm-modal .wapf-checkboxes {
	display: grid;
	gap: 7px;
}

.fcm-modal .fcm-visual-options .wapf-radios,
.fcm-modal .fcm-visual-options .wapf-checkboxes {
	grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

.fcm-modal .wapf-checkable {
	position: relative;
	min-width: 0;
	margin: 0;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
	transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}

.fcm-modal .wapf-checkable:hover { border-color: #cfcfcf; }

.fcm-modal .wapf-checkable.wapf-checked,
.fcm-modal .wapf-checkable.fcm-is-selected {
	border-color: var(--fcm-red);
	background: #fff8f8;
	box-shadow: 0 0 0 1px var(--fcm-red);
}

.fcm-modal .wapf-input-label {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	color: var(--fcm-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
	cursor: pointer;
}

.fcm-modal .fcm-visual-options .wapf-input-label {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 9px 10px;
}

.fcm-modal .fcm-visual-options .fcm-has-option-media .wapf-input-label {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 22px;
	grid-template-rows: auto;
	column-gap: 8px;
	row-gap: 0;
	min-height: 66px;
	padding: 7px 9px;
}

.fcm-modal .fcm-visual-options .fcm-has-option-media .wapf-input-label > input {
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	z-index: 1;
}

.fcm-modal .fcm-option-media {
	grid-column: 1;
	grid-row: 1;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin: 0;
	border-radius: 10px;
	background: #f8f8f8;
	overflow: hidden;
}

.fcm-modal .fcm-visual-options .fcm-has-option-media .wapf-label-text {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	min-width: 0;
	text-align: left;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.fcm-modal .fcm-visual-options .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22px;
	gap: 8px;
}

.fcm-modal .fcm-visual-options .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label > input {
	grid-column: 2;
	grid-row: 1;
}

.fcm-modal .fcm-visual-options .wapf-checkable:not(.fcm-has-option-media) .wapf-label-text {
	grid-column: 1;
	grid-row: 1;
}

.fcm-modal .fcm-option-status {
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	margin-right: 5px;
	color: var(--fcm-red);
	font-size: 12px;
	font-weight: 850;
	white-space: nowrap;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="fries"] .fcm-has-option-media .wapf-input-label {
	grid-template-columns: 54px minmax(0, 1fr) auto 22px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="fries"] .fcm-has-option-media .wapf-input-label > input { grid-column: 4; }
.fcm-modal .fcm-visual-options[data-fcm-option-kind="fries"] .fcm-option-status { grid-column: 3; }

.fcm-modal .fcm-visual-options[data-fcm-option-kind="fries"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label {
	grid-template-columns: minmax(0, 1fr) auto 22px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="fries"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label > input { grid-column: 3; }
.fcm-modal .fcm-visual-options[data-fcm-option-kind="fries"] .wapf-checkable:not(.fcm-has-option-media) .fcm-option-status { grid-column: 2; }

.fcm-modal .wapf-input-label input[type="radio"],
.fcm-modal .wapf-input-label input[type="checkbox"] {
	position: relative;
	flex: 0 0 21px;
	width: 21px;
	height: 21px;
	margin: 0;
	border: 1.5px solid #a8a8a8;
	background: #fff;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.fcm-modal .wapf-input-label input[type="radio"] { border-radius: 50%; }
.fcm-modal .wapf-input-label input[type="checkbox"] { border-radius: 6px; }

.fcm-modal .wapf-input-label input[type="radio"]:checked,
.fcm-modal .wapf-input-label input[type="checkbox"]:checked {
	border-color: var(--fcm-red);
	background: var(--fcm-red);
}

.fcm-modal .wapf-input-label input[type="radio"]:checked::after {
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: #fff;
	content: "";
}

.fcm-modal .wapf-input-label input[type="checkbox"]:checked::after {
	position: absolute;
	top: 3px;
	left: 6px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	transform: rotate(45deg);
}

.fcm-modal .wapf-label-text {
	min-width: 0;
	overflow-wrap: anywhere;
}

.fcm-modal .fcm-visual-options .wapf-label-text {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.fcm-modal .wapf-label-text .wapf-pricing-hint,
.fcm-modal .wapf-price {
	color: var(--fcm-orange);
	font-weight: 800;
}

.fcm-modal .wapf-checkable img {
	display: block;
	width: 52px;
	height: 52px;
	margin-left: auto;
	object-fit: contain;
}

.fcm-modal .fcm-option-media img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.fcm-modal .fcm-list-options .fcm-has-option-media .wapf-input-label {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 58px;
}

.fcm-modal .fcm-list-options .fcm-option-media {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 8px;
}

.fcm-modal .fcm-list-options .fcm-has-option-media .wapf-label-text {
	min-width: 0;
	flex: 1 1 auto;
	text-align: left;
}

/* Drink cards only: fixed thumbnail and radio columns protect the flexible
 * name column from overlap at every modal width. */
.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-radios,
.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-checkboxes {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
	gap: 7px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-checkable {
	display: flex;
	min-width: 0;
	height: 72px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-input-label,
.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .fcm-has-option-media .wapf-input-label {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 20px;
	grid-template-rows: minmax(0, 1fr);
	align-items: center;
	column-gap: 7px;
	width: 100%;
	min-width: 0;
	min-height: 72px;
	padding: 8px 9px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .fcm-option-media {
	grid-column: 1;
	grid-row: 1;
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 8px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-label-text,
.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .fcm-has-option-media .wapf-label-text {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	min-width: 0;
	font-size: clamp(12px, 1.8vw, 14px);
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-input-label > input,
.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .fcm-has-option-media .wapf-input-label > input {
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	justify-self: end;
	width: 20px;
	height: 20px;
	min-width: 20px;
	flex: 0 0 20px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label {
	grid-template-columns: minmax(0, 1fr) 20px;
}

.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-checkable:not(.fcm-has-option-media) .wapf-label-text { grid-column: 1; }
.fcm-modal .fcm-visual-options[data-fcm-option-kind="drink"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label > input { grid-column: 2; }

.fcm-modal .wapf-product-totals { display: none; }

body.fcm-classic-menu.single-product form.cart .fcm-page-live-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 50px;
	margin: 8px 0 10px;
	padding: 10px 13px;
	border: 1px solid color-mix(in srgb, var(--fcm-accent) 28%, #e6e7e9);
	border-radius: 12px;
	background: color-mix(in srgb, var(--fcm-accent) 5%, #fff);
	line-height: 1.1;
}

body.fcm-classic-menu.single-product form.cart .fcm-page-live-total span {
	color: #667085;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

body.fcm-classic-menu.single-product form.cart .fcm-page-live-total strong {
	color: var(--fcm-accent);
	font-size: 20px;
	font-weight: 900;
	white-space: nowrap;
}

@media (max-width: 600px) {
	body.fcm-classic-menu.single-product form.cart .fcm-page-live-total {
		min-height: 44px;
		margin-block: 6px 8px;
		padding: 8px 11px;
	}

	body.fcm-classic-menu.single-product form.cart .fcm-page-live-total strong { font-size: 18px; }
}

.fcm-modal .variations,
.fcm-modal .variations tbody,
.fcm-modal .variations tr,
.fcm-modal .variations th,
.fcm-modal .variations td {
	display: block;
	width: 100%;
}

.fcm-modal .variations { padding: 14px 22px 0; }
.fcm-modal .variations th { margin-bottom: 6px; text-align: left; }
.fcm-modal .variations select { width: 100%; min-height: 48px; border-radius: 10px; }

.fcm-submit-dock {
	position: sticky;
	bottom: 0;
	z-index: 6;
	display: grid;
	grid-template-columns: auto minmax(210px, 1fr);
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--fcm-border);
	background: rgba(255, 255, 255, .98);
	box-shadow: 0 -7px 18px rgba(33, 25, 21, .07);
}

.fcm-submit-action {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	min-width: 0;
	border-radius: 16px;
	background: #171412;
	box-shadow: 0 4px 0 var(--fcm-red), 0 10px 22px rgba(33,25,21,.17);
	overflow: hidden;
}

/* WooCommerce-backed cart drawer. No duplicate browser-side basket state. */
.fcm-cart-drawer[hidden] { display: none; }

.fcm-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 100010;
}

.fcm-cart-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 16, 14, .56);
}

.fcm-cart-panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: min(470px, 100%);
	height: 100dvh;
	max-height: 100dvh;
	flex-direction: column;
	background: #fff;
	box-shadow: -18px 0 60px rgba(33, 25, 21, .22);
	overflow: hidden;
}

.fcm-cart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 18px 15px;
	border-bottom: 1px solid var(--fcm-border);
}

.fcm-cart-head span {
	display: block;
	margin-bottom: 2px;
	color: var(--fcm-orange);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.fcm-cart-head h2 {
	margin: 0;
	color: var(--fcm-ink);
	font-size: 24px;
	font-weight: 900;
	line-height: 1.1;
}

.fcm-cart-head button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	min-width: 42px;
	padding: 0;
	border: 1px solid var(--fcm-border);
	border-radius: 50%;
	background: #fff;
	color: var(--fcm-ink);
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.fcm-cart-content {
	min-height: 0;
	flex: 1;
	overflow: hidden;
}

.fcm-cart-state {
	display: flex;
	height: 100%;
	min-height: 0;
	flex-direction: column;
}

.fcm-cart-items {
	min-height: 0;
	padding: 12px 15px;
	flex: 1;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.fcm-cart-item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid var(--fcm-border);
}

.fcm-cart-image {
	width: 76px;
	height: 76px;
	border-radius: 13px;
	background: var(--fcm-soft);
	overflow: hidden;
}

.fcm-cart-image img,
.fcm-cart-image .fcm-empty-image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: contain;
}

.fcm-cart-detail { min-width: 0; }
.fcm-cart-detail h3 { margin: 0 0 4px; color: var(--fcm-ink); font-size: 15px; font-weight: 850; line-height: 1.22; }
.fcm-cart-options { color: var(--fcm-muted); font-size: 11px; line-height: 1.35; }
.fcm-cart-options dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 1px 5px; margin: 3px 0; }
.fcm-cart-options dt,
.fcm-cart-options dd { margin: 0; }
.fcm-cart-unit { margin-top: 4px; color: var(--fcm-muted); font-size: 11px; }

.fcm-cart-row {
	display: grid;
	grid-template-columns: auto minmax(58px, 1fr) auto;
	align-items: center;
	gap: 8px;
	margin-top: 9px;
}

.fcm-cart-quantity {
	display: grid;
	grid-template-columns: 30px minmax(24px, 30px) 30px;
	align-items: center;
	padding: 2px;
	border: 1px solid #ddd;
	border-radius: 999px;
}

.fcm-cart-quantity button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	min-width: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--fcm-soft);
	color: var(--fcm-ink);
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.fcm-cart-quantity output { color: var(--fcm-ink); font-size: 13px; font-weight: 850; text-align: center; }
.fcm-cart-line-total { color: var(--fcm-ink); font-size: 13px; text-align: right; white-space: nowrap; }
.fcm-cart-remove { padding: 4px 0; border: 0; background: transparent; color: #a5000d; font-size: 11px; font-weight: 750; text-decoration: underline; cursor: pointer; }

.fcm-cart-summary {
	padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--fcm-border);
	background: #fff;
	box-shadow: 0 -8px 22px rgba(33, 25, 21, .06);
}

.fcm-cart-subtotal { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--fcm-ink); font-size: 17px; }
.fcm-cart-summary > p { margin: 6px 0 12px; color: var(--fcm-muted); font-size: 11px; line-height: 1.35; }
.fcm-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.fcm-cart-actions > * { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: 0; padding: 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 850; text-decoration: none; cursor: pointer; }
.fcm-cart-continue { border: 1px solid #d8d8d8; background: #fff; color: var(--fcm-ink); }
.fcm-cart-checkout { border: 1px solid var(--fcm-red); background: var(--fcm-red); color: #fff; }
.fcm-cart-checkout:hover { color: #fff; }

.fcm-cart-empty {
	display: grid;
	place-items: center;
	margin: auto;
	padding: 36px 22px;
	color: var(--fcm-muted);
	text-align: center;
}
.fcm-cart-empty > span { display: grid; place-items: center; width: 62px; height: 62px; border: 2px solid var(--fcm-border); border-radius: 50%; color: var(--fcm-red); font-size: 34px; }
.fcm-cart-empty h3 { margin: 14px 0 4px; color: var(--fcm-ink); font-size: 20px; }
.fcm-cart-empty p { margin: 0; font-size: 13px; }

.fcm-cart-loading {
	position: absolute;
	top: 72px;
	right: 14px;
	z-index: 4;
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--fcm-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 750;
}

.fcm-cart-drawer.is-busy .fcm-cart-content { opacity: .62; pointer-events: none; }

/* The native WooCommerce cart remains editable when a valid Cart page exists. */
.fcm-classic-menu .woocommerce-cart-form,
.fcm-classic-menu .cart-collaterals {
	border: 1px solid var(--fcm-border);
	border-radius: var(--fcm-radius);
	background: #fff;
	box-shadow: var(--fcm-shadow);
}

.fcm-modal .quantity {
	display: grid;
	grid-template-columns: 34px 34px 34px;
	align-items: center;
	min-height: 42px;
	margin: 0;
	padding: 3px;
	border: 1px solid #dedede;
	border-radius: 999px;
	background: #fff;
}

.fcm-modal .quantity .ct-increase,
.fcm-modal .quantity .ct-decrease { display: none; }

.fcm-modal .quantity input.qty {
	width: 34px;
	height: 34px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--fcm-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 34px;
	text-align: center;
	-moz-appearance: textfield;
}

.fcm-modal .quantity input.qty::-webkit-inner-spin-button,
.fcm-modal .quantity input.qty::-webkit-outer-spin-button { margin: 0; appearance: none; }

.fcm-live-total {
	min-width: 64px;
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.1;
	white-space: nowrap;
}

.fcm-live-total .amount { color: inherit; }

.fcm-submit-dock .single_add_to_cart_button {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font-size: 15px;
	font-weight: 850;
	line-height: 1.1;
}

.fcm-submit-action .fcm-live-total {
	min-width: 82px;
	padding: 0 15px;
	border-left: 1px solid rgba(255,255,255,.22);
	text-align: center;
}

.fcm-submit-dock .single_add_to_cart_button:disabled { opacity: .55; }

.fcm-notice {
	position: absolute;
	right: 16px;
	bottom: 78px;
	left: 16px;
	z-index: 9;
	padding: 11px 13px;
	border-radius: 10px;
	background: #fff0f1;
	color: #a5000d;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	box-shadow: 0 8px 20px rgba(33,25,21,.12);
}

.fcm-notice:empty { display: none; }

.fcm-toast {
	position: fixed;
	left: 50%;
	bottom: calc(94px + env(safe-area-inset-bottom, 0px));
	z-index: 100001;
	padding: 10px 16px;
	border-radius: 999px;
	background: #177245;
	box-shadow: 0 8px 24px rgba(0,0,0,.16);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	opacity: 0;
	transform: translate(-50%, 10px);
	transition: opacity .16s ease, transform .16s ease;
}

.fcm-toast.is-error { background: #a5000d; }
.fcm-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.fcm-flyer {
	position: fixed;
	z-index: 100002;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--fcm-red);
	background-position: center;
	background-size: contain;
	box-shadow: 0 8px 18px rgba(33,25,21,.2);
	pointer-events: none;
	transition: transform .46s cubic-bezier(.2,.8,.2,1), opacity .46s ease;
}

@media (min-width: 768px) {
	.fcm-classic-menu .wc-block-product-template,
	.fcm-classic-menu ul.products {
		gap: 22px;
	}

	body.fcm-classic-menu ul.products .fcm-card,
	body.fcm-classic-menu .fcm-card {
		display: flex;
		height: auto;
		min-height: 360px;
		padding: 14px;
		flex-direction: column;
		gap: 8px;
		align-self: start;
		contain-intrinsic-size: 360px;
	}

	.fcm-classic-menu .fcm-card > .wc-block-components-product-image,
	.fcm-classic-menu .fcm-card > .wc-block-grid__product-image,
	.fcm-classic-menu .fcm-card > figure,
	.fcm-classic-menu .fcm-card > a:first-child,
	.fcm-classic-menu .fcm-card > .woocommerce-loop-product__link:first-child {
		width: 100%;
		height: 210px;
		min-height: 210px;
		flex: 0 0 210px;
	}

	.fcm-classic-menu .fcm-card > a.woocommerce-LoopProduct-link > img,
	.fcm-classic-menu .fcm-card > a.woocommerce-loop-product__link > img,
	.fcm-classic-menu .fcm-card > a.woocommerce-LoopProduct-link > .fcm-empty-image,
	.fcm-classic-menu .fcm-card > a.woocommerce-loop-product__link > .fcm-empty-image {
		height: 210px;
		min-height: 210px;
		flex: 0 0 210px;
	}

	.fcm-classic-menu .fcm-card > figure .ct-media-container,
	.fcm-classic-menu .fcm-card > figure .ct-media-container img {
		width: 100%;
		height: 210px;
		min-height: 210px;
		object-fit: contain;
	}

	.fcm-classic-menu .fcm-card .wp-block-post-title,
	.fcm-classic-menu .fcm-card .woocommerce-loop-product__title,
	.fcm-classic-menu .fcm-card .wc-block-grid__product-title {
		width: 100%;
		font-size: 17px;
		text-align: left;
	}

	.fcm-classic-menu .fcm-card .fcm-action-area { width: 100%; margin-top: auto; }
	.fcm-classic-menu .fcm-controls { width: 100%; justify-content: space-between; }
	.fcm-classic-menu .fcm-card-description { min-height: 32px; }
}

@media (max-width: 767px) {
	.fcm-classic-menu .wp-block-woocommerce-product-template,
	.fcm-classic-menu .wc-block-product-template,
	.fcm-classic-menu ul.products {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	body.fcm-classic-menu ul.products .fcm-card,
	body.fcm-classic-menu .fcm-card {
		display: grid;
		width: 100%;
		height: auto;
		grid-template-columns: clamp(78px, 24vw, 100px) minmax(0, 1fr);
		grid-template-rows: max-content max-content max-content max-content;
		grid-template-areas:
			"media title"
			"media price"
			"media description"
			"media controls";
		column-gap: 11px;
		row-gap: 3px;
		min-height: 142px;
	}

	/* Keep copy and ordering controls in separate rows. Android WebViews can
	 * expose a layout viewport wider than the physical phone, so this must use
	 * the complete mobile breakpoint rather than only the 480px breakpoint. */
	.fcm-classic-menu .fcm-card-description {
		display: -webkit-box;
		width: 100%;
		max-width: 100%;
		max-height: 2.7em;
		margin-top: 2px;
		font-size: 12px;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.fcm-classic-menu .fcm-card .fcm-action-area,
	.fcm-classic-menu .fcm-card > .wp-block-woocommerce-product-button,
	.fcm-classic-menu .fcm-card > .button {
		align-self: start;
		justify-self: stretch;
		width: 100%;
		margin-top: 5px;
	}

	.fcm-classic-menu .fcm-controls {
		width: 100%;
		justify-content: flex-end;
		gap: 7px;
	}

	.fcm-classic-menu .fcm-stepper {
		grid-template-columns: 29px 25px 29px;
		min-height: 36px;
	}

	.fcm-classic-menu .fcm-stepper button {
		width: 29px;
		height: 29px;
		min-width: 29px;
		min-height: 29px;
	}

	.fcm-classic-menu .fcm-action {
		width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
	}

	.fcm-classic-menu .fcm-card > figure,
	.fcm-classic-menu .fcm-card > figure .ct-media-container,
	.fcm-classic-menu .fcm-card > figure .ct-media-container img {
		grid-area: media;
		width: 100%;
		height: 100%;
		min-height: 106px;
		margin: 0;
		object-fit: contain;
	}
	.fcm-classic-menu .fcm-sticky-box { right: 14px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }

	.fcm-modal {
		align-items: end;
		padding: 0;
	}

	.fcm-sheet {
		width: 100%;
		max-width: none;
		max-height: calc(100dvh - max(8px, env(safe-area-inset-top, 0px)));
		border-radius: 24px 24px 0 0;
	}
}

@media (max-width: 480px) {
	.fcm-classic-menu .fcm-card {
		grid-template-columns: clamp(78px, 24vw, 100px) minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
		grid-template-areas:
			"media title"
			"media price"
			"media description"
			"media controls";
		column-gap: 11px;
		min-height: 142px;
	}

	.fcm-classic-menu .fcm-card .fcm-action-area { align-self: end; }

	.fcm-classic-menu .wp-block-woocommerce-product-collection > .wp-block-heading,
	.fcm-classic-menu .wc-block-product-collection > .wp-block-heading {
		margin: 25px 0 11px;
		font-size: 23px;
		line-height: 1.18;
	}

	.fcm-modal .fcm-visual-options .wapf-radios,
	.fcm-modal .fcm-visual-options .wapf-checkboxes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
	}

	.fcm-modal .fcm-visual-options.fcm-option-count-1 .wapf-radios,
	.fcm-modal .fcm-visual-options.fcm-option-count-1 .wapf-checkboxes {
		grid-template-columns: minmax(0, 1fr);
	}

	.fcm-product-media {
		height: clamp(130px, 21dvh, 168px);
		min-height: 130px;
		max-height: 168px;
	}

	.fcm-product-media img,
	.fcm-product-media .fcm-empty-image {
		height: 100%;
		min-height: 130px;
		max-height: 168px;
	}

	.fcm-product { grid-template-columns: minmax(124px, 41%) minmax(0, 1fr); padding-top: 14px; }
	.fcm-product-head { padding: 25px 48px 12px 8px; }
	.fcm-product-head h2 { padding-right: 0; font-size: clamp(18px, 5.1vw, 23px); }
	.fcm-product-head .fcm-description { font-size: 12px; line-height: 1.3; }
	.fcm-head-price { font-size: clamp(20px, 5.8vw, 25px); }
	.fcm-product.no-image { padding-top: 22px; }
	.fcm-product.no-image .fcm-product-head { padding: 14px 52px 13px 16px; }
	.fcm-modal .wapf { padding-inline: 16px; }

	.fcm-submit-dock {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"spacer quantity"
			"action action";
		gap: 9px 12px;
		margin-top: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	}

	.fcm-submit-dock .quantity {
		grid-area: quantity;
		justify-self: end;
	}

	.fcm-submit-action {
		grid-area: action;
		width: 100%;
	}

	.fcm-submit-action .fcm-live-total {
		min-width: 76px;
		max-width: 42vw;
		font-size: clamp(17px, 5.2vw, 21px);
		text-align: right;
	}

	.fcm-submit-dock .single_add_to_cart_button {
		width: 100%;
		min-height: 54px;
	}
}

@media (max-width: 359px) {
	.fcm-classic-menu .fcm-card {
		grid-template-columns: 76px minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
		grid-template-areas:
			"media title"
			"media price"
			"media description"
			"media controls";
		column-gap: 10px;
		min-height: 146px;
		padding: 10px;
	}

	.fcm-classic-menu .fcm-card .fcm-action-area { align-self: end; }
	.fcm-classic-menu .fcm-stepper { grid-template-columns: 29px 25px 29px; min-height: 36px; }
	.fcm-classic-menu .fcm-stepper button { width: 29px; height: 29px; min-width: 29px; min-height: 29px; }
	.fcm-classic-menu .fcm-action { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
	.fcm-classic-menu .fcm-plus-icon { font-size: 27px; }
	.fcm-classic-menu .fcm-box-cta { padding: 0 14px; }
	.fcm-live-total { font-size: 16px; }
	.fcm-modal .quantity { grid-template-columns: 30px 30px 30px; }
	.fcm-modal .quantity .fcm-modal-minus,
	.fcm-modal .quantity .fcm-modal-plus { width: 30px; height: 30px; min-width: 30px; min-height: 30px; }
	.fcm-modal .quantity input.qty { width: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.fcm-classic-menu *,
	.fcm-classic-menu *::before,
	.fcm-classic-menu *::after {
		scroll-behavior: auto;
		transition-duration: .01ms;
		animation-duration: .01ms;
		animation-iteration-count: 1;
	}
}

/* 1.5 — one premium visual language from menu to checkout. WooCommerce cart
 * state, APF fields and add-to-cart handlers are intentionally untouched. */
body.fcm-classic-menu {
	--fcm-ink: #172033;
	--fcm-muted: #667085;
	--fcm-soft: #f8f9fa;
	--fcm-border: #e8eaed;
	--fcm-radius: 15px;
	--fcm-shadow: 0 6px 20px rgba(23, 32, 51, .055);
}
.fcm-classic-menu .fcm-category-shell,
.fcm-classic-menu .fc-category-nav {
	border-color: var(--fcm-border);
	box-shadow: 0 5px 18px rgba(23, 32, 51, .07);
}
.fcm-classic-menu .fc-category-wrapper > a {
	min-height: 40px;
	padding: 8px 14px;
	border-color: var(--fcm-border);
	box-shadow: none;
	font-size: 13px;
}
.fcm-classic-menu .fcm-card {
	border-color: var(--fcm-border);
	box-shadow: var(--fcm-shadow);
}
.fcm-classic-menu .fcm-card:hover {
	border-color: #d8dde4;
	box-shadow: 0 9px 25px rgba(23, 32, 51, .075);
}
.fcm-classic-menu .fcm-card-description { color: var(--fcm-muted); }
.fcm-classic-menu .fcm-stepper,
.fcm-classic-menu .fcm-cart-quantity { border-color: #dfe2e6; }
.fcm-classic-menu .fcm-stepper button,
.fcm-classic-menu .fcm-cart-quantity button { background: var(--fcm-soft); }
.fcm-classic-menu .fcm-sticky-box {
	background:#171412;
	box-shadow:0 12px 30px rgba(23,32,51,.22)
}
.fcm-classic-menu .fcm-box-cta { background: var(--fcm-orange); }
.fcm-classic-menu .fcm-sheet,
.fcm-classic-menu .fcm-cart-panel { color: var(--fcm-ink); }
.fcm-classic-menu .fcm-cart-head {
	padding:17px 18px 14px;
	background:#fff;
}
.fcm-classic-menu .fcm-cart-head span { color: var(--fcm-orange); }
.fcm-classic-menu .fcm-cart-item {
	grid-template-columns:68px minmax(0,1fr);
	gap:11px;
	padding:12px 0;
}
.fcm-classic-menu .fcm-cart-image {
	width:68px;
	height:68px;
	background:#fbf7f4;
}
.fcm-classic-menu .fcm-cart-summary {
	box-shadow:0 -6px 20px rgba(23,32,51,.055);
}
.fcm-classic-menu .fcm-cart-checkout {
	border-color:var(--fcm-orange);
	background:var(--fcm-orange);
}
.fcm-classic-menu .fcm-modal .wapf-checkable.wapf-checked,
.fcm-classic-menu .fcm-modal .wapf-checkable.fcm-is-selected {
	border-color:var(--fcm-orange);
	background:#fff8f5;
	box-shadow:0 0 0 1px var(--fcm-orange);
}
.fcm-classic-menu .fcm-modal .wapf-input-label input[type="radio"]:checked,
.fcm-classic-menu .fcm-modal .wapf-input-label input[type="checkbox"]:checked {
	border-color:var(--fcm-orange);
	background:var(--fcm-orange);
}

@media (max-width: 480px) {
	.fcm-classic-menu .fcm-card {
		height: 148px;
		min-height: 148px;
		max-height: 148px;
		grid-template-columns: 82px minmax(0, 1fr);
		grid-template-rows: auto auto minmax(0, 1fr) 38px;
		column-gap: 10px;
		row-gap: 2px;
		padding:10px;
		border-radius:14px;
		box-shadow:0 4px 14px rgba(23,32,51,.05);
	}
	.fcm-classic-menu .wp-block-woocommerce-product-template,
	.fcm-classic-menu .wc-block-product-template,
	.fcm-classic-menu ul.products {
		gap: 9px;
	}
	.fcm-classic-menu .fcm-card > figure,
	.fcm-classic-menu .fcm-card > .wc-block-components-product-image,
	.fcm-classic-menu .fcm-card > .wc-block-grid__product-image,
	.fcm-classic-menu .fcm-card > a:first-child,
	.fcm-classic-menu .fcm-card > .woocommerce-loop-product__link:first-child {
		align-self: start;
		width: 82px;
		height: 82px;
		min-height: 82px;
		border-radius:11px;
	}
	.fcm-classic-menu .fcm-card > a.woocommerce-LoopProduct-link > img,
	.fcm-classic-menu .fcm-card > a.woocommerce-loop-product__link > img,
	.fcm-classic-menu .fcm-card > a.woocommerce-LoopProduct-link > .fcm-empty-image,
	.fcm-classic-menu .fcm-card > a.woocommerce-loop-product__link > .fcm-empty-image,
	.fcm-classic-menu .fcm-card > figure .ct-media-container,
	.fcm-classic-menu .fcm-card > figure .ct-media-container img,
	.fcm-classic-menu .fcm-card .wc-block-components-product-image img,
	.fcm-classic-menu .fcm-card .attachment-woocommerce_thumbnail,
	.fcm-classic-menu .fcm-empty-image {
		width: 82px;
		height: 82px;
		min-height: 82px;
		max-height: 82px;
		object-fit: contain;
	}
	.fcm-classic-menu .fcm-card .wp-block-post-title,
	.fcm-classic-menu .fcm-card .woocommerce-loop-product__title,
	.fcm-classic-menu .fcm-card .wc-block-grid__product-title {
		align-self: end;
		font-size: 15px;
		line-height: 1.17;
	}
	.fcm-classic-menu .fcm-card > .wp-block-woocommerce-product-price,
	.fcm-classic-menu .fcm-card > .price,
	.fcm-classic-menu .fcm-card > .woocommerce-LoopProduct-link > .price,
	.fcm-classic-menu .fcm-card > .woocommerce-loop-product__link > .price,
	.fcm-classic-menu .fcm-card > .wc-block-grid__product-price {
		font-size: 15px;
		line-height: 1.15;
	}
	.fcm-classic-menu .fcm-card-description {
		max-height: 2.6em;
		margin-top: 1px;
		font-size: 12px;
		line-height: 1.3;
	}
	.fcm-classic-menu .fcm-card .fcm-action-area,
	.fcm-classic-menu .fcm-card > .wp-block-woocommerce-product-button,
	.fcm-classic-menu .fcm-card > .button {
		position: absolute;
		right: 10px;
		bottom: 9px;
		z-index: 2;
		width: auto;
		justify-self: auto;
		align-self: auto;
		margin-top: 0;
	}
	.fcm-classic-menu .fcm-controls {
		width: auto;
		gap: 6px;
	}
	.fcm-classic-menu .fcm-stepper {
		grid-template-columns:25px 22px 25px;
		min-height:32px;
		padding: 2px;
	}
	.fcm-classic-menu .fcm-stepper button {
		width:25px;
		height:25px;
		min-width:25px;
		min-height:25px;
		font-size:16px;
	}
	.fcm-classic-menu .fcm-quantity {
		min-width: 22px;
		font-size: 14px;
	}
	.fcm-classic-menu .fcm-action {
		width:36px;
		height:36px;
		min-width:36px;
		min-height:36px;
		box-shadow:0 6px 14px rgba(230,0,18,.17);
	}
	.fcm-classic-menu .fcm-plus-icon { font-size: 25px; }
	.fcm-classic-menu .fcm-sticky-box {
		right:10px;
		bottom:calc(10px + env(safe-area-inset-bottom,0px));
		width:calc(100vw - 20px);
		min-height:60px;
	}
	.fcm-classic-menu .fcm-cart-actions {
		grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
	}

	/* Keep controls in a dedicated final grid row. The script guarantees this
	 * wrapper is a direct card child, so description and actions cannot overlap. */
	body.fcm-classic-menu .fcm-card > .fcm-action-area {
		position: static !important;
		grid-area: controls !important;
		z-index: 3 !important;
		display: block !important;
		width: auto !important;
		height: 34px !important;
		min-width: 0 !important;
		min-height: 34px !important;
		margin: 0 !important;
		padding: 0 !important;
		align-self: end !important;
		justify-self: end !important;
		transform: none !important;
	}
	body.fcm-classic-menu .fcm-card > .fcm-action-area > .fcm-controls {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 5px !important;
		width: auto !important;
		height: 34px !important;
		margin: 0 !important;
		padding: 0 !important;
		transform: none !important;
	}
	body.fcm-classic-menu .fcm-card > .fcm-action-area .fcm-stepper {
		grid-template-columns: 24px 21px 24px !important;
		min-height: 30px !important;
		padding: 1px !important;
	}
	body.fcm-classic-menu .fcm-card > .fcm-action-area .fcm-stepper button {
		width: 24px !important;
		height: 24px !important;
		min-width: 24px !important;
		min-height: 24px !important;
	}
	body.fcm-classic-menu .fcm-card > .fcm-action-area .fcm-action {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
		min-height: 34px !important;
		margin: 0 !important;
		padding: 0 !important;
		border-radius: 11px !important;
		transform: none !important;
	}
}

/* v1.5.10 — consistent add-on choice rows, especially "Choose a side".
   Scoped to the Classic Menu product sheet; WAPF inputs remain native. */
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-radios,
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkboxes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  overflow: hidden;
}
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-input-label,
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .fcm-has-option-media .wapf-input-label,
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 10px 13px;
}
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .fcm-option-media {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
}
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-label-text,
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .fcm-has-option-media .wapf-label-text,
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable:not(.fcm-has-option-media) .wapf-label-text {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-input-label > input,
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .fcm-has-option-media .wapf-input-label > input,
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label > input {
  position: static;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0 0 0 auto;
  order: 3;
}
.fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .fcm-option-status {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  order: 2;
}
.fcm-modal .wapf-field-label { overflow-wrap: anywhere; }
.fcm-modal .wapf-field-label abbr[title],
.fcm-modal .wapf-field-label .required { color: var(--fcm-red); }
@media (max-width: 600px) {
  .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-radios,
  .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkboxes { grid-template-columns: minmax(0, 1fr); }
}

/* v1.5.11: keep selected WAPF choices legible in the product sheet.
   Some theme/WAPF selected styles paint an overlay or fade label content. */
.fcm-classic-menu .fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected),
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) {
  background: #fff8f5 !important;
  opacity: 1 !important;
  filter: none !important;
  color: #172033 !important;
}
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected)::before,
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected)::after,
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) > .wapf-input-label::before,
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) > .wapf-input-label::after {
  content: none !important;
  display: none !important;
}
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) .wapf-input-label,
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) .wapf-label-text,
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) .fcm-option-media,
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) .fcm-option-media img {
  color: #172033 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) .wapf-input-label {
  background: transparent !important;
  text-shadow: none !important;
}
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) .wapf-label-text .wapf-pricing-hint {
  color: #ff633b !important;
}
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) input[type="radio"],
.fcm-modal .wapf-checkable:is(.wapf-checked,.fcm-is-selected) input[type="checkbox"] {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

/* v1.5.12: hard containment for WAPF side option media and selected labels.
   Prevent large inherited image styles from painting over the option name. */
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable {
  isolation: isolate !important;
  overflow: hidden !important;
  background: #fff !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable.fcm-is-selected,
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable.wapf-checked {
  background: #fff8f5 !important;
  border: 2px solid #ff633b !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-input-label {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0,1fr) 22px !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 62px !important;
  padding: 9px 12px !important;
  background: transparent !important;
  opacity: 1 !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .fcm-option-media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  min-width: 44px !important;
  flex: none !important;
  overflow: hidden !important;
  z-index: 0 !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .fcm-option-media img {
  display: block !important;
  position: static !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 0 !important;
  max-width: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-label-text {
  display: block !important;
  position: relative !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  z-index: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  color: #172033 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
  text-shadow: none !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-input-label > input[type="radio"],
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-input-label > input[type="checkbox"] {
  grid-column: 3 !important;
  grid-row: 1 !important;
  position: relative !important;
  z-index: 3 !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  order: unset !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label {
  grid-template-columns: minmax(0,1fr) 22px !important;
}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable:not(.fcm-has-option-media) .wapf-label-text {grid-column: 1 !important;}
body.fcm-classic-menu .fcm-modal .wapf-field-container[data-fcm-option-kind="side"] .wapf-checkable:not(.fcm-has-option-media) .wapf-input-label > input {grid-column: 2 !important;}
