.meal-order {
	max-width: 1180px;
	margin: 0 auto;
	padding: 64px 20px 120px;
	color: #142033;
}

.meal-order .mo-header {
	margin-bottom: 22px;
}

.meal-order .mo-note {
	margin-top: 6px;
	color: #6a7280;
	font-size: 14px;
}

.meal-order .mo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.meal-order .mo-card {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	background: #050505;
	box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.meal-order .mo-card-image {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.meal-order .mo-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	filter: contrast(1.05) saturate(1.05);
}

.meal-order .mo-card-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	color: #fff;
	background:
		linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0) 28%),
		linear-gradient(to top, rgba(0,0,0,0.96), rgba(0,0,0,0.74) 30%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0) 75%);
}

.meal-order .mo-card-top {
	margin-bottom: 16px;
}

.meal-order .mo-card-tag {
	display: none;
}

.meal-order .mo-title {
	display: block;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: #f5f5f0;
	text-align: left;
	font-size: clamp(30px, 3.2vw, 46px);
	line-height: 0.92;
	font-weight: 950;
	letter-spacing: -0.05em;
	text-transform: uppercase;
	cursor: default;
	max-width: 78%;
	text-shadow: 0 4px 22px rgba(0,0,0,0.60);
}

.meal-order .mo-card-bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.meal-order .mo-macros {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	border-top: 1px solid rgba(140,198,63,0.68);
	padding-top: 14px;
	margin-left: 22%;
}

.meal-order .mo-macro {
	padding: 9px 7px;
	text-align: center;
	background: rgba(255,255,255,0.12);
	border-radius: 12px;
	backdrop-filter: blur(8px);
}

.meal-order .mo-macro span {
	display: block;
	font-size: 9px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #8cc63f;
	font-weight: 900;
	margin-bottom: 4px;
	white-space: nowrap;
}

.meal-order .mo-macro strong {
	display: block;
	font-size: 18px;
	line-height: 1;
	color: #f5f5f0;
	font-weight: 950;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.meal-order .mo-card-actions {
	display: grid;
	grid-template-columns: 220px 1fr;
	grid-template-areas:
		"qty price";
	align-items: center;
	gap: 18px;
}

.meal-order .mo-price {
	grid-area: price;
	font-size: clamp(32px, 3vw, 44px);
	font-weight: 950;
	color: #f5f5f0;
	line-height: 1;
	white-space: nowrap;
	letter-spacing: -0.05em;
	text-align: right;
}

.meal-order .mo-price .woocommerce-Price-amount {
	color: #f5f5f0;
}

.meal-order .mo-price::after {
	content: " PER BOX";
	font-size: 12px;
	letter-spacing: 0;
	font-weight: 850;
	margin-left: 8px;
	color: rgba(255,255,255,0.88);
}

.meal-order .mo-qty {
	grid-area: qty;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: stretch;
	width: 220px;
	height: 58px;
	border: 1.5px solid rgba(255,255,255,0.82);
	border-radius: 20px;
	overflow: hidden;
	background: rgba(0,0,0,0.24);
	backdrop-filter: blur(8px);
	padding: 0;
}

.meal-order .mo-btn {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 30px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.meal-order .mo-btn:not(:last-child) {
	border-right: 1px solid rgba(255,255,255,0.34);
}

.meal-order .mo-input {
	width: 100%;
	height: 100%;
	display: block;
	text-align: center;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 24px;
	font-weight: 850;
	line-height: 58px;
	pointer-events: none;
}

.meal-order .mo-footer {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%) translateY(140%);
	z-index: 999;
	width: min(1120px, calc(100vw - 32px));
	padding: 16px 20px;
	border-radius: 22px;
	background: #080808;
	color: #fff;
	box-shadow: 0 16px 44px rgba(0,0,0,0.24);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.meal-order.mo-orderbar-visible .mo-footer {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.meal-order .mo-total {
	font-size: 18px;
	color: #fff;
}

.meal-order .mo-submit {
	border: 0;
	border-radius: 999px;
	padding: 14px 26px;
	background: #8cc63f;
	color: #111;
	font-size: 16px;
	font-weight: 900;
	cursor: pointer;
	min-width: 180px;
}

.meal-order .mo-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.meal-order .mo-modal.is-open {
	display: flex;
	align-items: center;
	justify-content: center;
}

.meal-order .mo-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.62);
}

.meal-order .mo-modal-card {
	position: relative;
	background: #fff;
	width: min(90vw, 420px);
	padding: 30px;
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
	z-index: 1;
	text-align: center;
}

.meal-order .mo-modal-card button[data-close="1"] {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.meal-order #moModalTitle {
	font-size: 24px;
	font-weight: 850;
	margin-bottom: 12px;
}

.meal-order #moModalBody p {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}

@media (max-width: 1050px) {
	.meal-order .mo-title {
		font-size: 38px;
		max-width: 86%;
	}

	.meal-order .mo-macros {
		margin-left: 0;
	}

	.meal-order .mo-card-actions {
		grid-template-columns: 190px 1fr;
	}

	.meal-order .mo-qty {
		width: 190px;
	}
}

@media (max-width: 820px) {
	.meal-order {
		padding: 32px 14px 100px;
	}

	.meal-order .mo-grid {
		grid-template-columns: 1fr;
	}

	.meal-order .mo-title {
		font-size: clamp(36px, 9vw, 52px);
		max-width: 88%;
	}

	.meal-order .mo-card-actions {
		grid-template-columns: 220px 1fr;
	}

	.meal-order .mo-qty {
		width: 220px;
	}
}

@media (max-width: 520px) {
	.meal-order {
		padding: 28px 18px 96px;
	}

	.meal-order .mo-card {
		border-radius: 22px;
	}

	.meal-order .mo-card-overlay {
		padding: 20px;
	}

	.meal-order .mo-title {
		font-size: 37px;
		max-width: 94%;
	}

	.meal-order .mo-macros {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 6px;
		padding-top: 12px;
		margin-left: 0;
	}

	.meal-order .mo-macro {
		padding: 9px 5px;
		border-radius: 11px;
	}

	.meal-order .mo-macro strong {
		font-size: 20px;
	}

	.meal-order .mo-macro span {
		font-size: 9px;
		letter-spacing: 0.05em;
	}

	.meal-order .mo-card-actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.meal-order .mo-qty {
		width: 100%;
		height: 58px;
	}

	.meal-order .mo-price {
		text-align: left;
		font-size: 40px;
	}

	.meal-order .mo-price::after {
		font-size: 13px;
	}

	.meal-order .mo-footer {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.meal-order .mo-submit {
		width: 100%;
	}
}

@media (max-width: 520px) {
	.meal-order .mo-footer {
		left: 12px;
		right: 12px;
		bottom: 14px;
		width: auto;
		transform: translateY(140%);
		flex-direction: row;
		align-items: center;
		text-align: left;
		padding: 14px;
		border-radius: 18px;
	}

	.meal-order.mo-orderbar-visible .mo-footer {
		transform: translateY(0);
	}

	.meal-order .mo-total {
		font-size: 15px;
	}

	.meal-order .mo-submit {
		width: auto;
		min-width: 130px;
		padding: 12px 18px;
		font-size: 14px;
	}
}

/* MOBILE CARD OVERRIDES */
@media (max-width: 520px) {


	.meal-order {
		padding: 28px 18px 140px;
	}

	.meal-order .mo-grid {
		gap: 28px;
	}

	.meal-order .mo-card {
		border-radius: 24px;
	}

	.meal-order .mo-card-overlay {
		padding: 24px 20px 22px;
		justify-content: space-between;
		background:
			linear-gradient(to bottom, rgba(0,0,0,0.48), rgba(0,0,0,0.08) 36%, rgba(0,0,0,0) 52%),
			linear-gradient(to top, rgba(0,0,0,0.96), rgba(0,0,0,0.70) 32%, rgba(0,0,0,0.20) 62%, rgba(0,0,0,0) 78%);
	}

	.meal-order .mo-card-top {
		margin-bottom: 0;
		padding-top: 4px;
	}

	.meal-order .mo-title {
		font-size: 34px;
		line-height: 0.92;
		max-width: 92%;
		letter-spacing: -0.055em;
	}

	.meal-order .mo-card-bottom {
		gap: 14px;
	}

	.meal-order .mo-macros {
		margin-left: 0;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 6px;
		padding-top: 12px;
	}

	.meal-order .mo-macro {
		padding: 8px 4px;
		border-radius: 12px;
	}

	.meal-order .mo-macro span {
		font-size: 8px;
		letter-spacing: 0.04em;
	}

	.meal-order .mo-macro strong {
		font-size: 18px;
	}

	.meal-order .mo-card-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.meal-order .mo-qty {
		width: 100%;
		max-width: 100%;
		height: 54px;
		grid-template-columns: 1fr 1fr 1fr;
		border-radius: 18px;
	}

	.meal-order .mo-btn {
		font-size: 28px;
	}

	.meal-order .mo-input {
		font-size: 23px;
		line-height: 54px;
	}

	.meal-order .mo-price {
		text-align: left;
		font-size: 34px;
	}

	.meal-order .mo-price::after {
		font-size: 12px;
		margin-left: 6px;
	}
}

.meal-order .mo-tag {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8cc63f;
	text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

/* FIXED FLOATING ORDER BAR */
.meal-order .mo-footer {
	position: fixed !important;
	left: 50% !important;
	bottom: 16px !important;
	transform: translateX(-50%) translateY(140%) !important;
	z-index: 9999 !important;
	width: min(1120px, calc(100vw - 32px)) !important;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.meal-order.mo-orderbar-visible .mo-footer {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0) !important;
}

@media (max-width: 520px) {
	.meal-order .mo-footer {
		left: 16px !important;
		right: 16px !important;
		bottom: 14px !important;
		width: auto !important;
		transform: translateY(140%) !important;
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.meal-order.mo-orderbar-visible .mo-footer {
		transform: translateY(0) !important;
	}

	.meal-order .mo-footer .mo-submit {
		width: 100%;
	}
}

/* Mobile marketing subtitle positioning */
@media (max-width: 520px) {
	.meal-order .mo-card-top {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		min-height: 44%;
	}

	.meal-order .mo-tag {
		position: absolute;
		left: 24px;
		right: 24px;
		bottom: 188px;
		margin-top: 0;
		font-size: 12px;
		line-height: 1.45;
		max-width: 82%;
		color: #8cc63f;
	}

	.meal-order .mo-title {
		max-width: 88%;
	}
}

.mp-intro {
	max-width: 1180px;
	margin: 0 auto 24px;
	padding: 56px 20px 0;
}

/* Frontpage header styling for now */

.mp-intro {
	max-width: 1180px;
	margin: 0 auto 42px;
	padding: 56px 20px 0;
}

.mp-intro-image {
	border-radius: 30px;
	overflow: hidden;
	box-shadow: 0 26px 70px rgba(0,0,0,0.18);
	margin-bottom: 28px;
	background: #eee;
}

.mp-intro-image img {
	display: block;
	width: 100%;
	height: auto;
}

.mp-intro-copy {
	max-width: 820px;
	margin: 0 auto;
}

.mp-intro-copy h1 {
	font-size: clamp(40px, 5vw, 72px);
	line-height: 0.95;
	letter-spacing: -0.045em;
	margin: 0 0 18px;
	color: #142033;
}

.mp-intro-copy p {
	font-size: 20px;
	line-height: 1.65;
	color: #4a5568;
	margin: 0 0 16px;
}

.meal-contact {
	font-size: 18px;
	line-height: 1.7;
	color: #5f6773;
}

.meal-contact a {
	color: #95c93d;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(149, 201, 61, 0.35);
	transition: opacity 0.2s ease;
}

.meal-contact a:hover {
	opacity: 0.75;
}

@media (max-width: 768px) {
	.mp-intro-copy p {
		font-size: 18px;
		line-height: 1.55;
	}

	.meal-contact {
		font-size: 17px;
		line-height: 1.55;
	}
}

@media (max-width: 520px) {
	.mp-intro {
		padding: 28px 18px 0;
		margin-bottom: 28px;
	}

	.mp-intro-image {
		border-radius: 22px;
		margin-bottom: 22px;
	}

	.mp-intro-copy h1 {
		font-size: 40px;
	}

	.mp-intro-copy p {
		font-size: 17px;
		line-height: 1.55;
	}
}

/* Temporarily hide site navigation */
.ast-builder-menu,
.main-header-menu,
.ast-mobile-popup-drawer,
.ast-header-break-point .main-header-menu {
	display: none !important;
}