@import url("/client/branding/brand.css");
/* ================================
   GRAVITIC Restaurant
   Customer Interface - Main Style
================================ */

/* ---------- Reset ---------- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background: var(--brand-bg);
	color: var(--brand-text);
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
}

button {
	font-family: inherit;
	cursor: pointer;
}

img {
	max-width: 100%;
	display: block;
}

/* ================================
   Header
================================ */

header {
	width: 100%;
	background: var(--brand-surface);
	border-bottom: 1px solid #eeeeee;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar {
	max-width: 1200px;
	margin: auto;
	padding: 14px 20px;

	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo img {
	width: 45px;
	height: 45px;
	object-fit: contain;
}

.logo h2 {
	font-size: 20px;
	font-weight: 700;
	color: var(--brand-text);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ================================
   Buttons
================================ */

.btn {
	border: none;
	border-radius: 10px;
	padding: 11px 18px;

	font-size: 14px;
	font-weight: 600;

	transition: 0.2s ease;
}

.btn-primary {
	background: var(--brand-primary);
	color: var(--brand-surface);
}

.btn-primary:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.btn-light {
	background: #f1f1f5;
	color: var(--brand-text);
}

.btn-light:hover {
	background: #e7e7ec;
}

/* ================================
   Hero Section
================================ */

.hero {
	max-width: 1200px;
	margin: 25px auto;
	padding: 45px 30px;

	background: var(--brand-surface);
	border-radius: 20px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 30px;

	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.hero-content {
	flex: 1;
}

.hero-content h1 {
	font-size: 42px;
	line-height: 1.2;
	margin-bottom: 15px;
	color: var(--brand-text);
}

.hero-content p {
	color: #6b7280;
	font-size: 16px;
	max-width: 550px;
	margin-bottom: 25px;
}

.hero-image {
	flex: 1;
}

.hero-image img {
	width: 100%;
	max-height: 350px;
	object-fit: cover;
	border-radius: 18px;
}

/* ================================
   Order Type
================================ */

.order-type-section {
	max-width: 1200px;
	margin: 30px auto;
	padding: 0 20px;
}

.section-title {
	margin-bottom: 18px;
}

.section-title h2 {
	font-size: 26px;
	color: var(--brand-text);
}

.section-title p {
	color: #777;
	margin-top: 4px;
}

.order-types {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.order-type-card {
	background: var(--brand-surface);
	border: 2px solid transparent;
	border-radius: 16px;

	padding: 25px;

	cursor: pointer;
	transition: 0.25s ease;

	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.order-type-card:hover {
	border-color: var(--brand-primary);
	transform: translateY(-3px);
}

.order-type-card.active {
	border-color: var(--brand-primary);
	background: var(--brand-primary-soft);
}

.order-type-card h3 {
	margin-bottom: 6px;
	font-size: 20px;
}

.order-type-card p {
	color: #6b7280;
	font-size: 14px;
}

/* ================================
   Menu Categories
================================ */

.menu-section {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
}

.categories {
	display: flex;
	gap: 10px;

	overflow-x: auto;
	padding-bottom: 10px;
	margin-bottom: 25px;
}

.category-btn {
	border: 1px solid var(--brand-border);
	background: var(--brand-surface);

	padding: 10px 20px;
	border-radius: 30px;

	white-space: nowrap;

	font-weight: 600;
	color: #4b5563;

	transition: 0.2s ease;
}

.category-btn:hover,
.category-btn.active {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--brand-surface);
}

/* ================================
   Menu Products
================================ */

.menu-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.food-card {
	background: var(--brand-surface);
	border-radius: 16px;
	overflow: hidden;

	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

	transition: 0.25s ease;
}

.food-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.food-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.food-info {
	padding: 18px;
}

.food-info h3 {
	font-size: 18px;
	color: var(--brand-text);
	margin-bottom: 6px;
}

.food-description {
	font-size: 14px;
	color: #6b7280;
	margin-bottom: 15px;
}

.food-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.food-price {
	font-size: 18px;
	font-weight: 700;
	color: var(--brand-primary);
}

.add-to-cart {
	border: none;
	background: var(--brand-text);
	color: var(--brand-surface);

	width: 38px;
	height: 38px;

	border-radius: 10px;

	font-size: 22px;

	display: flex;
	align-items: center;
	justify-content: center;

	transition: 0.2s ease;
}

.add-to-cart:hover {
	background: var(--brand-primary);
}

/* ================================
   Cart Button
================================ */

.cart-button {
	position: fixed;

	right: 25px;
	bottom: 25px;

	min-width: 60px;
	height: 60px;

	border: none;
	border-radius: 18px;

	background: var(--brand-primary);
	color: var(--brand-surface);

	padding: 0 18px;

	font-size: 16px;
	font-weight: 700;

	box-shadow: 0 10px 30px color-mix(in srgb, var(--brand-primary) 30.0%, transparent);

	z-index: 1000;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	transition: 0.2s ease;
}

.cart-button:hover {
	transform: translateY(-3px);
}

.cart-count {
	background: var(--brand-surface);
	color: var(--brand-primary);

	min-width: 24px;
	height: 24px;

	padding: 0 6px;

	border-radius: 50%;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 12px;
	font-weight: 700;
}

/* ================================
   Footer
================================ */

footer {
	background: #0b1220;
	color: var(--brand-surface);

	margin-top: 60px;
	padding: 35px 20px;

	text-align: center;
}

footer p {
	color: #c5c9d1;
	font-size: 14px;
}

/* ================================
   Tablet
================================ */

@media (max-width: 900px) {

	.hero {
		margin: 15px;
		flex-direction: column;
		padding: 30px 20px;
	}

	.hero-content h1 {
		font-size: 34px;
	}

	.menu-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ================================
   Mobile
================================ */

@media (max-width: 600px) {

	body {
		background: var(--brand-surface);
	}

	.navbar {
		padding: 12px 15px;
	}

	.logo h2 {
		font-size: 17px;
	}

	.hero {
		margin: 0;
		border-radius: 0;
		box-shadow: none;
		padding: 25px 15px;
	}

	.hero-content h1 {
		font-size: 29px;
	}

	.hero-content p {
		font-size: 14px;
	}

	.order-type-section,
	.menu-section {
		padding: 0 15px;
	}

	.order-types {
		grid-template-columns: 1fr;
	}

	.menu-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.food-card {
		display: flex;
		min-height: 130px;
	}

	.food-card img {
		width: 130px;
		height: auto;
		min-height: 130px;
	}

	.food-info {
		flex: 1;
		padding: 14px;
	}

	.food-info h3 {
		font-size: 16px;
	}

	.food-description {
		font-size: 12px;
		margin-bottom: 10px;
	}

	.food-price {
		font-size: 16px;
	}

	.add-to-cart {
		width: 34px;
		height: 34px;
	}

	.cart-button {
		right: 15px;
		bottom: 15px;
	}
}

/* ==================================================
   GRAVITIC Restaurant
   Cart + Checkout UI
================================================== */

/* =========================
   CART PAGE
========================= */

.cart-page,
.checkout-page {
	width: min(1100px, 92%);
	margin: 40px auto 80px;
}

.cart-page .section-title,
.checkout-page .section-title {
	text-align: center;
	margin-bottom: 35px;
}

.cart-page .section-title h1,
.checkout-page .section-title h1 {
	font-size: 32px;
	color: var(--brand-text);
	margin-bottom: 8px;
}

.cart-page .section-title p,
.checkout-page .section-title p {
	color: var(--brand-muted);
}

/* =========================
   CART ITEMS
========================= */

.cart-items {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}

.cart-item {
	background: var(--brand-surface);
	border: 1px solid #e5e7ef;
	border-radius: 18px;
	padding: 20px;

	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 25px;

	box-shadow: 0 8px 25px rgba(17, 24, 39, 0.06);
}

.cart-item-info h3 {
	color: var(--brand-text);
	font-size: 19px;
	margin-bottom: 7px;
}

.cart-item-info p {
	color: var(--brand-muted);
	font-size: 14px;
}

/* =========================
   QUANTITY
========================= */

.cart-quantity {
	display: flex;
	align-items: center;
	gap: 12px;
}

.quantity-btn {
	width: 38px;
	height: 38px;

	border: none;
	border-radius: 10px;

	background: var(--brand-primary-soft);
	color: var(--brand-primary);

	font-size: 21px;
	font-weight: bold;

	cursor: pointer;

	transition: 0.2s ease;
}

.quantity-btn:hover {
	background: var(--brand-primary);
	color: var(--brand-surface);
}

.quantity {
	min-width: 25px;
	text-align: center;
	font-weight: 700;
	color: var(--brand-text);
}

/* =========================
   CART ITEM TOTAL
========================= */

.cart-item-total {
	display: flex;
	align-items: center;
	gap: 18px;
}

.cart-item-total strong {
	color: var(--brand-text);
	white-space: nowrap;
}

.remove-item {
	border: none;
	background: #fff1f2;
	color: #dc2626;

	padding: 9px 13px;
	border-radius: 9px;

	cursor: pointer;
	font-family: inherit;
}

.remove-item:hover {
	background: #dc2626;
	color: var(--brand-surface);
}

/* =========================
   EMPTY CART
========================= */

.empty-cart {
	background: var(--brand-surface);
	border: 1px solid #e5e7ef;
	border-radius: 20px;

	padding: 55px 20px;
	text-align: center;

	box-shadow: 0 8px 25px rgba(17, 24, 39, 0.06);
}

.empty-cart h2 {
	color: var(--brand-text);
	margin-bottom: 10px;
}

.empty-cart p {
	color: var(--brand-muted);
	margin-bottom: 25px;
}

/* =========================
   CART SUMMARY
========================= */

.cart-summary {
	max-width: 520px;
	margin-right: auto;

	background: var(--brand-surface);
	border: 1px solid #e5e7ef;
	border-radius: 20px;

	padding: 25px;

	box-shadow: 0 8px 30px rgba(17, 24, 39, 0.07);
}

.cart-summary h2 {
	color: var(--brand-text);
	margin-bottom: 20px;
}

.summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 13px 0;

	color: var(--brand-muted);
}

.total-row {
	border-top: 1px solid #e5e7ef;
	margin-top: 8px;
	padding-top: 18px;

	font-size: 19px;
	color: var(--brand-text);
}

.checkout-button,
.checkout-confirm-button {
	width: 100%;
	margin-top: 20px;
}

/* ==================================================
   CHECKOUT
================================================== */

/* =========================
   DELIVERY / PICKUP
========================= */

.checkout-order-types {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;

	max-width: 800px;
	margin: 0 auto 35px;
}

.checkout-order-card {
	background: var(--brand-surface);

	border: 2px solid #e5e7ef;
	border-radius: 20px;

	padding: 25px;

	display: flex;
	align-items: center;
	gap: 18px;

	text-align: right;

	cursor: pointer;

	font-family: inherit;

	transition: 0.2s ease;
}

.checkout-order-card:hover {
	border-color: var(--brand-primary);
	transform: translateY(-2px);

	box-shadow: 0 10px 25px color-mix(in srgb, var(--brand-primary) 10.0%, transparent);
}

.checkout-order-card.active {
	border-color: var(--brand-primary);
	background: var(--brand-primary-soft);

	box-shadow: 0 10px 25px color-mix(in srgb, var(--brand-primary) 12.0%, transparent);
}

.order-icon {
	font-size: 35px;
}

.checkout-order-card h3 {
	color: var(--brand-text);
	font-size: 18px;
	margin-bottom: 5px;
}

.checkout-order-card p {
	color: var(--brand-muted);
	font-size: 14px;
}

/* =========================
   CUSTOMER INFORMATION
========================= */

.customer-information {
	max-width: 800px;
	margin: auto;

	background: var(--brand-surface);

	border: 1px solid #e5e7ef;
	border-radius: 22px;

	padding: 30px;

	box-shadow: 0 10px 35px rgba(17, 24, 39, 0.07);
}

.customer-information h2 {
	color: var(--brand-text);
	margin-bottom: 25px;
}

/* =========================
   FORM
========================= */

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;

	color: var(--brand-text);
	font-weight: 600;

	margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
	width: 100%;

	border: 1px solid #d9dce5;
	border-radius: 12px;

	padding: 13px 15px;

	font-family: inherit;
	font-size: 15px;

	background: var(--brand-surface);
	color: var(--brand-text);

	outline: none;

	transition: 0.2s ease;
}

.form-group textarea {
	min-height: 100px;
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--brand-primary);

	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--brand-primary) 10.0%, transparent);
}

/* =========================
   CHECKOUT SUMMARY
========================= */

.checkout-summary {
	background: #f8f9fc;

	border-radius: 15px;

	padding: 18px;

	margin-top: 25px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

	.cart-page,
	.checkout-page {
		width: 94%;
		margin-top: 25px;
	}

	.cart-item {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.cart-quantity {
		justify-content: flex-start;
	}

	.cart-item-total {
		justify-content: space-between;
	}

	.cart-summary {
		max-width: 100%;
	}

	.checkout-order-types {
		grid-template-columns: 1fr;
	}

	.customer-information {
		padding: 20px;
	}

}

/* ==================================================
   ACTIVE ORDER BAR
================================================== */

.active-order-bar {
	width: min(100%, 900px);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 auto 26px;
	padding: 14px 18px;
	background: #fff7f2;
	border: 1px solid rgba(255, 90, 0, 0.20);
	border-radius: 18px;
	box-shadow: 0 8px 22px rgba(255, 90, 0, 0.06);
	animation: activeOrderEnter 0.45s ease both;
}

.active-order-bar[hidden] {
	display: none;
}

.active-order-main {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 11px;
	flex: 1 1 auto;
}

.active-order-icon {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand-primary);
	color: var(--brand-surface);
}

.active-order-icon svg {
	width: 21px;
	height: 21px;
}

.active-order-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.active-order-copy strong {
	color: var(--brand-text);
	font-size: 15px;
	font-weight: 900;
}

.active-order-copy span {
	color: var(--brand-primary);
	font-size: 13px;
	font-weight: 800;
}

.active-order-number {
	flex: 0 0 auto;
	color: var(--brand-primary);
	font-size: 17px;
	font-weight: 900;
	direction: ltr;
}

.active-order-link {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 13px;
	border-radius: 12px;
	background: var(--brand-primary);
	color: var(--brand-surface);
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.active-order-link:hover {
	background: var(--brand-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 7px 16px rgba(255, 90, 0, 0.20);
}

@keyframes activeOrderEnter {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 600px) {

	.active-order-bar {
		align-items: stretch;
		flex-wrap: wrap;
		gap: 12px;
		margin-bottom: 22px;
		padding: 14px;
	}

	.active-order-main {
		flex: 1 1 calc(100% - 75px);
	}

	.active-order-number {
		align-self: center;
	}

	.active-order-link {
		width: 100%;
		justify-content: center;
	}

}

/* ==================================================
   TRACK ORDER PAGE
================================================== */

.track-order-body {
	background: var(--brand-bg);
}

.track-order-page {
	width: min(900px, calc(100% - 40px));
	margin: 0 auto;
	padding: 50px 0 100px;
}

.track-order-heading {
	margin-bottom: 25px;
	text-align: center;
}

.track-order-heading h1 {
	margin: 0;
	color: var(--brand-text);
	font-size: 34px;
	font-weight: 900;
}

.track-order-heading p {
	margin: 10px 0 0;
	color: var(--brand-muted);
	font-size: 16px;
}

.track-order-heading .track-order-feedback {
	margin-top: 8px;
	color: #c2410c;
	font-size: 13px;
	font-weight: 700;
}

.menu-feedback { margin: 18px auto; color: #c2410c; font-size: 14px; font-weight: 800; text-align: center; }
.menu-retry { margin-right: 8px; padding: 8px 12px; border: 0; border-radius: 8px; background: var(--brand-primary); color: var(--brand-surface); font-weight: 800; }
.modal-product-image { width: 100%; max-height: 180px; margin-bottom: 15px; border-radius: 12px; object-fit: cover; }

.tracking-content {
	display: grid;
	gap: 24px;
}

.track-order-info,
.tracking-card,
.track-order-details,
.track-order-empty {
	box-sizing: border-box;
	background: var(--brand-surface);
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.track-order-info {
	padding: 24px;
}

.track-order-info-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 25px;
}

.track-order-label {
	display: block;
	margin-bottom: 8px;
	color: var(--brand-muted);
	font-size: 13px;
	font-weight: 700;
}

.track-order-number {
	display: block;
	color: var(--brand-primary);
	font-size: 30px;
	font-weight: 900;
	direction: ltr;
}

.track-order-status-block {
	text-align: left;
}

.track-current-status {
	display: inline-flex;
	align-items: center;
	padding: 8px 13px;
	border-radius: 999px;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: 14px;
	font-weight: 800;
}

.track-order-meta,
.track-detail-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: var(--brand-muted);
	font-size: 14px;
}

.track-order-meta {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #f0f0f0;
}

.track-order-meta strong,
.track-detail-row strong {
	color: var(--brand-text);
	font-weight: 800;
}

.tracking-card,
.track-order-details {
	padding: 28px;
}

.tracking-card h2,
.track-order-details h2 {
	margin: 0 0 23px;
	color: var(--brand-text);
	font-size: 20px;
	font-weight: 900;
}

.order-timeline {
	position: relative;
}

.timeline-step {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	min-height: 82px;
	padding: 0 0 28px;
	opacity: 0.5;
	transition: opacity 0.25s ease;
}

.timeline-step:last-child {
	min-height: 0;
	padding-bottom: 0;
}

.timeline-step::after {
	content: "";
	position: absolute;
	top: 48px;
	right: 21px;
	width: 2px;
	height: calc(100% - 48px);
	background: #ececec;
	transition: background 0.25s ease;
}

.timeline-step.completed::after {
	background: var(--brand-primary);
}

.timeline-icon {
	position: relative;
	z-index: 1;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f4f4f5;
	color: #9ca3af;
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-icon svg {
	width: 22px;
	height: 22px;
}

.timeline-step.completed,
.timeline-step.current {
	opacity: 1;
}

.timeline-step.completed .timeline-icon,
.timeline-step.current .timeline-icon {
	background: var(--brand-primary);
	color: var(--brand-surface);
}

.timeline-step.current .timeline-icon {
	animation: currentStatusPulse 2.2s ease-in-out infinite;
}

.timeline-copy {
	min-width: 0;
	padding-top: 3px;
}

.timeline-copy h3 {
	margin: 0;
	color: var(--brand-text);
	font-size: 16px;
	font-weight: 900;
}

.timeline-copy p {
	margin: 6px 0 0;
	color: var(--brand-muted);
	font-size: 14px;
	line-height: 1.7;
}

.track-order-details {
	padding-top: 24px;
	padding-bottom: 24px;
}

.track-order-details h2 {
	margin-bottom: 8px;
}

.track-detail-row {
	padding: 14px 0;
	border-bottom: 1px solid #f0f0f0;
}

.track-detail-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

#track-total {
	color: var(--brand-primary);
	font-size: 20px;
	font-weight: 900;
}

.track-order-empty {
	padding: 42px 28px;
	text-align: center;
}

.track-order-empty[hidden] {
	display: none;
}

.track-empty-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
}

.track-empty-icon svg {
	width: 34px;
	height: 34px;
}

.track-order-empty h2 {
	margin: 0;
	color: var(--brand-text);
	font-size: 26px;
	font-weight: 900;
}

.track-order-empty p {
	margin: 10px 0 0;
	color: var(--brand-muted);
	line-height: 1.8;
}

.track-empty-button {
	min-height: 50px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
	padding: 12px 20px;
	border-radius: 15px;
	background: var(--brand-primary);
	color: var(--brand-surface);
	box-shadow: 0 9px 20px rgba(255, 90, 0, 0.18);
	text-decoration: none;
	font-size: 15px;
	font-weight: 800;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.track-empty-button:hover {
	background: var(--brand-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 13px 25px rgba(255, 90, 0, 0.24);
}

@keyframes currentStatusPulse {
	0%,
	100% {
		box-shadow: 0 0 0 5px rgba(255, 90, 0, 0.08);
	}

	50% {
		box-shadow: 0 0 0 9px rgba(255, 90, 0, 0.04);
	}
}

@media (max-width: 600px) {

	.track-order-page {
		width: min(calc(100% - 28px), 900px);
		padding-top: 30px;
	}

	.track-order-heading h1 {
		font-size: 29px;
	}

	.track-order-heading p {
		font-size: 14px;
	}

	.track-order-info,
	.tracking-card,
	.track-order-details,
	.track-order-empty {
		padding: 20px;
		border-radius: 19px;
	}

	.track-order-info-header {
		align-items: stretch;
		flex-direction: column;
		gap: 20px;
	}

	.track-order-status-block {
		text-align: right;
	}

	.track-order-number {
		font-size: 27px;
	}

	.tracking-card h2,
	.track-order-details h2 {
		font-size: 18px;
	}

	.timeline-step {
		gap: 14px;
	}

	.timeline-copy h3 {
		font-size: 15px;
	}

	.timeline-copy p {
		font-size: 13px;
	}

	.track-order-empty h2 {
		font-size: 23px;
	}

}

/* ==================================================
   QUIET TOP-ONLY RESTAURANT BACKGROUND
================================================== */

body {
	background: var(--brand-bg);
}

.restaurant-background {
	position: absolute;
	top: 85px;
	left: 0;
	right: 0;
	height: 620px;
	bottom: auto;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.restaurant-background::before {
	width: 280px;
	height: 280px;
	top: -80px;
	left: -100px;
	background: rgba(255, 90, 0, 0.035);
}

.restaurant-background::after {
	width: 260px;
	height: 260px;
	right: -145px;
	bottom: -125px;
	background: rgba(255, 90, 0, 0.035);
}

.background-art {
	opacity: 0.18;
	animation: none;
}

.background-burger {
	left: 10%;
	top: 25px;
	width: 230px;
	opacity: 0.16;
	animation: subtleDecorFloat 10s ease-in-out infinite;
	animation-delay: -2s;
}

.background-fries {
	left: 4%;
	top: 285px;
	width: 120px;
	animation: subtleDecorFloat 11s ease-in-out infinite;
	animation-delay: -5s;
}

.background-leaf {
	opacity: 0.18;
	animation: subtleDecorFloat 12s ease-in-out infinite;
}

.background-leaf-one {
	right: 8%;
	top: 180px;
	animation-delay: -3s;
}

.background-leaf-two {
	right: 23%;
	bottom: 20px;
	transform: rotate(-25deg);
	animation-delay: -7s;
}

.background-curve {
	opacity: 0.22;
	animation: none;
}

.background-curve-top {
	left: 36%;
	top: 15px;
}

.background-curve-left {
	left: -18px;
	bottom: 28px;
}

.background-dots {
	opacity: 0.12;
	animation: none;
}

.background-dots-one {
	left: 28%;
	top: 110px;
}

.background-dots-two {
	right: 30%;
	top: 75px;
	transform: scale(0.72);
}

.background-short-line {
	opacity: 0.24;
}

.background-short-line-one {
	right: 11%;
	top: 105px;
}

.background-short-line-two {
	left: 24%;
	bottom: 145px;
}

.background-heart {
	left: 28%;
	top: 235px;
	opacity: 0.22;
}

.background-slogan-main {
	left: 21%;
	top: 155px;
	color: rgba(80, 80, 80, 0.45);
	transform: rotate(-7deg);
}

.background-slogan-small {
	right: 10%;
	bottom: 20px;
	color: rgba(80, 80, 80, 0.45);
	transform: rotate(-8deg);
}

@keyframes subtleDecorFloat {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

@media (max-width: 600px) {

	.restaurant-background {
		top: 62px;
		height: 480px;
		opacity: 0.65;
	}

	.background-burger {
		left: 18%;
		top: 20px;
		width: 175px;
	}

	.background-fries,
	.background-leaf-one,
	.background-leaf-two,
	.background-curve-left,
	.background-short-line-two,
	.background-slogan-main,
	.background-heart {
		display: none;
	}

	.background-curve-top {
		left: 24%;
		top: 145px;
		width: 260px;
	}

	.background-dots-one {
		left: 8%;
		top: 260px;
	}

	.background-dots-two,
	.background-short-line-one,
	.background-slogan-small {
		display: none;
	}

}

/* ==================================================
   RESTAURANT BACKGROUND LINE ART
================================================== */

body {
	position: relative;
	background: var(--brand-bg);
}

.restaurant-background {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.restaurant-background::before,
.restaurant-background::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.restaurant-background::before {
	width: 280px;
	height: 280px;
	top: -80px;
	left: -100px;
	background: rgba(255, 90, 0, 0.055);
	border-radius: 45% 55% 65% 35% / 55% 40% 60% 45%;
}

.restaurant-background::after {
	width: 300px;
	height: 300px;
	right: -150px;
	bottom: -100px;
	background: rgba(255, 90, 0, 0.05);
	border-radius: 50%;
}

header,
.menu-section,
.menu-cart-summary,
.product-modal {
	position: relative;
	z-index: 2;
}

.menu-cart-summary {
	position: fixed;
	z-index: 1000;
}

.product-modal {
	z-index: 3000;
}

.background-art,
.background-curve {
	position: absolute;
	overflow: visible;
}

.background-art {
	stroke: var(--brand-primary-soft);
	stroke-width: 3;
	fill: none;
	opacity: 0.28;
	animation: backgroundFloat 8s ease-in-out infinite;
}

.background-burger {
	left: 17%;
	top: 105px;
	width: 245px;
	animation-delay: -1.8s;
}

.background-fries {
	left: 5%;
	top: 330px;
	width: 135px;
	animation-delay: -4.2s;
}

.background-leaf {
	width: 90px;
	opacity: 0.22;
}

.background-leaf-one {
	right: 9%;
	top: 260px;
	animation-delay: -3s;
}

.background-leaf-two {
	right: 23%;
	bottom: 35px;
	transform: rotate(-25deg);
	animation-delay: -6s;
}

.background-curve {
	z-index: 0;
	width: 320px;
	height: 130px;
}

.background-curve-top {
	left: 35%;
	top: 80px;
}

.background-curve-left {
	left: -20px;
	bottom: 120px;
}

.background-curve-right {
	right: -15px;
	top: 420px;
}

.background-dots {
	position: absolute;
	width: 72px;
	height: 72px;
	background:
		radial-gradient(circle, rgba(255, 90, 0, 0.13) 0 5px, transparent 6px)
		0 0 / 25px 25px;
	opacity: 0.18;
	animation: backgroundFade 6s ease-in-out infinite;
}

.background-dots-one {
	left: 24%;
	top: 120px;
	animation-delay: -1s;
}

.background-dots-two {
	right: 34%;
	top: 70px;
	transform: scale(0.75);
	animation-delay: -3.5s;
}

.background-dots-three {
	left: 2%;
	bottom: 250px;
	transform: scale(0.72);
	animation-delay: -5s;
}

.background-short-line {
	position: absolute;
	width: 34px;
	height: 3px;
	border-radius: 4px;
	background: var(--brand-primary-soft);
	opacity: 0.3;
	transform: rotate(-4deg);
}

.background-short-line-one {
	right: 12%;
	top: 108px;
}

.background-short-line-two {
	left: 24%;
	bottom: 170px;
	transform: rotate(-12deg);
}

.background-heart {
	position: absolute;
	left: 28%;
	top: 265px;
	color: var(--brand-primary-soft);
	font-size: 43px;
	font-family: Georgia, serif;
	opacity: 0.26;
	transform: rotate(-10deg);
}

.background-slogan {
	position: absolute;
	display: flex;
	flex-direction: column;
	color: rgba(80, 80, 80, 0.55);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	line-height: 1.15;
}

.background-slogan-main {
	left: 22%;
	top: 315px;
	font-size: 25px;
	transform: rotate(-7deg);
}

.background-slogan-main::after {
	content: "";
	width: 88px;
	height: 3px;
	margin-top: 9px;
	background: var(--brand-primary);
	opacity: 0.65;
	transform: rotate(-7deg);
}

.slogan-heart {
	position: absolute;
	right: -34px;
	top: 18px;
	color: var(--brand-primary-soft);
	font-size: 36px;
	font-family: Georgia, serif;
}

.background-slogan-small {
	right: 10%;
	bottom: 52px;
	font-size: 17px;
	transform: rotate(-8deg);
}

@keyframes backgroundFloat {
	0%, 100% {
		translate: 0 0;
	}
	50% {
		translate: 0 -8px;
	}
}

@keyframes backgroundFade {
	0%, 100% {
		opacity: 0.15;
	}
	50% {
		opacity: 0.28;
	}
}

@media (max-width: 600px) {

	.restaurant-background {
		opacity: 0.65;
	}

	.background-slogan-main,
	.background-burger,
	.background-fries,
	.background-curve-left,
	.background-curve-right {
		display: none;
	}

	.background-leaf-two,
	.background-curve-top {
		opacity: 0.45;
	}

	.background-dots-three,
	.background-short-line-two {
		display: none;
	}

	.background-slogan-small {
		right: 7%;
		bottom: 25px;
		font-size: 14px;
	}

}

/* ==========================================
   PRODUCT DETAILS MODAL
========================================== */

.product-modal {
	position: fixed;
	inset: 0;

	z-index: 3000;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 20px;
}

.product-modal[hidden] {
	display: none !important;
}

.product-modal-backdrop {
	position: absolute;
	inset: 0;

	background: rgba(17, 24, 39, 0.55);

	backdrop-filter: blur(3px);

	animation: modalBackdropIn 0.25s ease;
}

.product-modal-content {
	position: relative;

	z-index: 1;

	width: min(500px, 100%);

	max-height: 90vh;
	overflow-y: auto;

	background: var(--brand-surface);

	border-radius: 22px;

	padding: 28px;

	box-shadow:
		0 25px 70px rgba(0, 0, 0, 0.22);

	animation: productModalIn 0.3s ease;
}

@keyframes productModalIn {

	from {
		opacity: 0;
		transform:
			translateY(25px)
			scale(0.97);
	}

	to {
		opacity: 1;
		transform:
			translateY(0)
			scale(1);
	}

}

@keyframes modalBackdropIn {

	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}

}

.product-modal-close {
	position: absolute;

	top: 15px;
	left: 15px;

	width: 38px;
	height: 38px;

	border: none;
	border-radius: 50%;

	background: #f3f4f6;
	color: #222222;

	font-size: 25px;

	cursor: pointer;
}

.product-modal-header {
	padding-top: 10px;
	padding-bottom: 22px;

	border-bottom: 1px solid #eeeeee;
}

.product-modal-header h2 {
	margin: 0 0 8px;

	font-size: 25px;
	color: #202020;
}

.product-modal-header p {
	margin: 0 0 12px;

	color: #777777;
	line-height: 1.7;
}

.modal-product-price {
	color: var(--brand-primary);

	font-size: 22px;
}

.product-option-section {
	padding: 20px 0;

	border-bottom: 1px solid #eeeeee;
}

.product-option-section h3,
.product-option-section label {
	display: block;

	margin-bottom: 12px;

	font-size: 16px;
	font-weight: 700;
}

.optional-text {
	color: #999999;

	font-size: 12px;
	font-weight: 400;
}

.modal-quantity-control {
	display: flex;
	align-items: center;

	gap: 18px;
}

.modal-quantity-control button {
	width: 40px;
	height: 40px;

	border: 1px solid var(--brand-primary);
	border-radius: 10px;

	background: var(--brand-surface);
	color: var(--brand-primary);

	font-size: 22px;
	font-weight: 700;

	cursor: pointer;

	transition: 0.2s ease;
}

.modal-quantity-control button:hover {
	background: var(--brand-primary);
	color: var(--brand-surface);
}

#modal-quantity {
	min-width: 25px;

	text-align: center;

	font-size: 18px;
}

#modal-notes {
	width: 100%;

	box-sizing: border-box;

	resize: vertical;

	border: 1px solid #dddddd;
	border-radius: 12px;

	padding: 12px 14px;

	font-family: inherit;
	font-size: 14px;

	outline: none;
}

#modal-notes:focus {
	border-color: var(--brand-primary);

	box-shadow:
		0 0 0 3px rgba(255, 90, 0, 0.10);
}

.modal-add-to-cart {
	width: 100%;

	margin-top: 22px;

	border: none;
	border-radius: 13px;

	background: var(--brand-primary);
	color: var(--brand-surface);

	padding: 15px 18px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	font-family: inherit;
	font-size: 16px;
	font-weight: 700;

	cursor: pointer;

	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.modal-add-to-cart:hover {
	background: var(--brand-primary-dark);

	transform: translateY(-2px);
}

.modal-add-to-cart strong {
	font-size: 18px;
}

body.modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {

	.product-modal {
		align-items: flex-end;

		padding: 0;
	}

	.product-modal-content {
		width: 100%;

		border-radius: 22px 22px 0 0;

		padding: 24px 20px;

		max-height: 88vh;
	}

}

.menu-cart-summary-info {
	display: flex;
	align-items: center;
	gap: 18px;
}

.cart-items-info {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.cart-items-badge {
	width: 34px;
	height: 34px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: var(--brand-surface);
	color: var(--brand-primary);

	border-radius: 50%;

	font-size: 15px;
	font-weight: 800;
}

.cart-summary-divider {
	width: 1px;
	height: 30px;

	background: rgba(255, 255, 255, 0.35);
}

.menu-cart-total {
	display: flex;
	align-items: center;
	gap: 7px;

	white-space: nowrap;
}

.menu-cart-total strong {
	font-size: 20px;
	font-weight: 800;
}

@media (max-width: 600px) {

	.menu-cart-summary-info {
		gap: 10px;
	}

	.cart-summary-divider {
		height: 25px;
	}

	.cart-items-badge {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}

	.menu-cart-total strong {
		font-size: 17px;
	}
}

@media (max-width: 480px) {

	.cart-page .section-title h1,
	.checkout-page .section-title h1 {
		font-size: 26px;
	}

	.checkout-order-card {
		padding: 18px;
	}

	.order-icon {
		font-size: 30px;
	}

}

/* ==================================================
   GRAVITIC RESTAURANT - MENU FINAL OVERRIDES
================================================== */

/* Main Menu */
.menu-section {
	width: min(1200px, 92%);
	margin: 35px auto 100px;
}

/* =========================
   CATEGORY BUTTONS
========================= */

.categories {
	display: flex;
	align-items: center;
	gap: 10px;

	margin: 25px 0 35px;

	overflow-x: auto;
	padding-bottom: 5px;
}

.category-btn {
	border: 1px solid var(--brand-border);

	background: var(--brand-surface);
	color: #333333;

	padding: 10px 20px;

	border-radius: 50px;

	font-family: inherit;
	font-size: 14px;

	cursor: pointer;

	white-space: nowrap;

	transition: 0.2s ease;
}

.category-btn:hover,
.category-btn.active {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--brand-surface);
}

/* =========================
   MENU SECTIONS
========================= */

.menu-sections {
	display: flex;
	flex-direction: column;

	gap: 50px;
}

.food-category-section {
	width: 100%;
}

/* Category Title */

.category-title {
	margin-bottom: 18px;

	padding-bottom: 12px;

	border-bottom: 1px solid #eeeeee;
}

.category-title h2 {
	margin: 0;

	font-size: 24px;

	color: #202020;
}

/* =========================
   PRODUCTS GRID
========================= */

.food-category-section .menu-grid {
	display: grid;

	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	gap: 20px;
}

/* =========================
   PRODUCT CARD
========================= */

.food-card {
	background: var(--brand-surface);

	border: 1px solid #eeeeee;

	border-radius: 16px;

	overflow: hidden;

	box-shadow:
		0 4px 18px rgba(0, 0, 0, 0.06);

	display: flex;
	flex-direction: column;

	/* IMPORTANT */
	height: auto !important;
	min-height: 0 !important;

	transition: 0.2s ease;
}

.food-card:hover {
	transform: translateY(-3px);

	box-shadow:
		0 8px 25px rgba(0, 0, 0, 0.09);
}

/* =========================
   PRODUCT IMAGE
========================= */

.food-card img {
	width: 100% !important;

	height: 190px !important;
	min-height: 190px !important;
	max-height: 190px !important;

	object-fit: cover;

	display: block;

	background: #f3f3f3;
}

/* =========================
   PRODUCT INFORMATION
========================= */

.food-info {
	padding: 16px;

	display: flex;
	flex-direction: column;

	height: auto !important;
	min-height: 0 !important;

	flex: 1;
}

.food-info h3 {
	margin: 0 0 7px;

	font-size: 18px;

	color: #202020;
}

.food-description {
	margin: 0 0 16px !important;

	color: #777777;

	font-size: 14px;

	line-height: 1.6;

	min-height: 0 !important;
}

/* =========================
   PRICE + ADD BUTTON
========================= */

.food-bottom {
	display: flex !important;

	align-items: center;

	justify-content: space-between;

	gap: 15px;

	margin-top: 0 !important;

	padding-top: 5px;
}

/* PRICE */

.food-price {
	display: block !important;

	color: var(--brand-primary) !important;

	font-size: 20px !important;

	font-weight: 800 !important;

	visibility: visible !important;

	opacity: 1 !important;
}

/* ADD BUTTON */

.add-to-cart {
	width: 42px !important;
	height: 42px !important;

	min-width: 42px;

	border: none;

	border-radius: 12px;

	background: var(--brand-primary) !important;

	color: var(--brand-surface) !important;

	font-size: 24px;

	font-weight: bold;

	cursor: pointer;

	display: flex;

	align-items: center;

	justify-content: center;

	transition: 0.2s ease;
}

.add-to-cart:hover {
	background: var(--brand-primary-dark) !important;

	transform: scale(1.05);
}

/* =========================
   ORANGE BUTTONS
========================= */

.btn-primary {
	background: var(--brand-primary) !important;

	color: var(--brand-surface) !important;

	border-color: var(--brand-primary) !important;
}

.btn-primary:hover {
	background: var(--brand-primary-dark) !important;
}

/* =========================
   FLOATING CART
========================= */

.cart-button {
	background: var(--brand-primary) !important;

	color: var(--brand-surface) !important;

	box-shadow:
		0 8px 25px rgba(255, 90, 0, 0.25);
}

.cart-count {
	background: var(--brand-surface) !important;

	color: var(--brand-primary) !important;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

	.food-category-section .menu-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 600px) {

	.food-category-section .menu-grid {
		grid-template-columns: 1fr;
	}

	.menu-sections {
		gap: 35px;
	}

	.food-card img {
		height: 180px !important;
		min-height: 180px !important;
		max-height: 180px !important;
	}

}

.menu-cart-summary {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: min(650px, calc(100% - 30px));

    background: var(--brand-primary);
    color: var(--brand-surface);

    padding: 14px 18px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    z-index: 1000;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.menu-cart-summary[hidden] {
    display: none !important;
}

.menu-cart-summary-info {
    display: flex;
    align-items: center;
    gap: 20px;

    font-size: 15px;
}

.menu-cart-total strong {
    font-size: 18px;
}

.menu-cart-view {
    background: var(--brand-surface);
    color: var(--brand-primary);

    padding: 10px 18px;

    border-radius: 10px;

    text-decoration: none;
    font-weight: 700;

    white-space: nowrap;
}

/* ==================================================
   REFERENCE MENU COMPOSITION
================================================== */

header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom-color: #f0eeeb;
}

.navbar {
	max-width: 1210px;
	min-height: 70px;
	padding: 10px 20px;
}

.logo {
	gap: 8px;
}

.logo-mark {
	position: relative;
	display: inline-block;
	width: 22px;
	height: 29px;
	color: var(--brand-primary);
	border-left: 3px solid var(--brand-primary);
	border-right: 3px solid var(--brand-primary);
	border-radius: 3px;
	transform: skewY(-8deg);
}

.logo-mark::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 0;
	width: 3px;
	height: 20px;
	border-radius: 3px;
	background: var(--brand-primary);
}

.logo-mark::after {
	content: "";
	position: absolute;
	left: -5px;
	top: -3px;
	width: 27px;
	height: 6px;
	border-top: 3px solid var(--brand-primary);
	border-radius: 50%;
}

.logo h2 {
	font-size: 21px;
	letter-spacing: 0;
}

.navbar > .btn-primary {
	border-radius: 10px;
	padding: 10px 16px;
	box-shadow: 0 5px 12px rgba(255, 90, 0, 0.14);
}

.cart-glyph {
	position: relative;
	display: inline-block;
	width: 19px;
	height: 13px;
	margin-inline-start: 5px;
	border: 2px solid var(--brand-surface);
	border-top: 0;
	border-radius: 0 0 4px 4px;
}

.cart-glyph::before {
	content: "";
	position: absolute;
	left: -6px;
	top: -5px;
	width: 7px;
	height: 7px;
	border-top: 2px solid var(--brand-surface);
	transform: rotate(28deg);
}

.cart-glyph::after {
	content: "••";
	position: absolute;
	left: 1px;
	top: 8px;
	color: var(--brand-surface);
	font-size: 13px;
	letter-spacing: 7px;
	line-height: 1;
}

.menu-section {
	width: min(1090px, 92%);
	margin: 0 auto 110px;
	padding-top: 22px;
}

.menu-section .section-title {
	max-width: 470px;
	margin: 0 0 16px auto;
	padding: 12px 0 0;
	text-align: right;
}

.menu-section .section-title h1 {
	position: relative;
	display: inline-block;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.25;
}

.menu-section .section-title h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 48px;
	height: 3px;
	border-radius: 3px;
	background: var(--brand-primary);
}

.menu-section .section-title p {
	margin-top: 13px;
	font-size: 15px;
}

.menu-section .categories {
	justify-content: flex-start;
	margin: 20px 0 34px;
	direction: rtl;
}

.menu-section .category-btn {
	min-width: 104px;
	padding: 11px 18px;
	border-color: #ebe8e4;
	border-radius: 24px;
	box-shadow: 0 5px 14px rgba(31, 35, 39, 0.04);
	font-weight: 700;
}

.menu-section .category-btn.active,
.menu-section .category-btn:hover {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
}

.menu-feature-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 14px;
	padding: 0 2px 13px;
	border-bottom: 1px solid #eeeae6;
}

.menu-feature-heading h2 {
	color: #272522;
	font-size: 21px;
}

.menu-feature-heading h2 span {
	position: relative;
	display: inline-block;
	width: 21px;
	height: 17px;
	margin-inline-start: 7px;
	border-radius: 4px;
	background: var(--brand-primary-soft);
	transform: skewX(-12deg);
}

.menu-feature-heading h2 span::before,
.menu-feature-heading h2 span::after {
	content: "";
	position: absolute;
	left: 3px;
	right: 3px;
	height: 2px;
	background: rgba(255, 255, 255, 0.85);
}

.menu-feature-heading h2 span::before {
	top: 5px;
}

.menu-feature-heading h2 span::after {
	top: 10px;
}

.menu-feature-heading a {
	color: var(--brand-primary);
	font-size: 13px;
	font-weight: 700;
}

.menu-feature-heading a span {
	font-size: 18px;
}

.menu-sections {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.food-category-section {
	display: contents;
}

.food-category-section .category-title {
	display: none;
}

.food-category-section .menu-grid {
	display: contents;
}

.food-card {
	min-width: 0;
	position: relative;
	border-color: #f0ece8;
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(35, 30, 25, 0.07);
	background: rgba(255, 255, 255, 0.94);
	animation: referenceCardIn 0.45s ease both;
}

.food-card::before {
	position: absolute;
	top: 10px;
	right: 13px;
	z-index: 2;
	padding: 3px 8px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.86);
	color: #a39a91;
	font-size: 11px;
	font-weight: 700;
}

article[data-category="sandwiches"]::before { content: "السندويشات"; }
article[data-category="meals"]::before { content: "الوجبات"; }
article[data-category="appetizers"]::before { content: "المقبلات"; }
article[data-category="drinks"]::before { content: "المشروبات"; }

/* Keep categories stacked; products share a row only within their category. */
.menu-sections {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.food-category-section {
	display: block;
	width: 100%;
}

.food-category-section .category-title {
	display: block;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eeeae6;
}

.food-category-section .category-title h2 {
	color: #35312d;
	font-size: 22px;
}

.food-category-section .menu-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.food-card::before {
	display: none;
}

.food-card:nth-child(1) { animation-delay: 0.12s; }
.food-card:nth-child(2) { animation-delay: 0.18s; }
.food-card:nth-child(3) { animation-delay: 0.24s; }
.food-card:nth-child(4) { animation-delay: 0.30s; }

@keyframes referenceCardIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.food-card img,
.food-image-placeholder {
	height: 178px !important;
	min-height: 178px !important;
	max-height: 178px !important;
	background: linear-gradient(145deg, #fffaf6, #fdf5ee) !important;
}

.food-info {
	padding: 14px 16px 17px;
	text-align: right;
}

.food-info h3 {
	font-size: 17px;
}

.food-description {
	color: #8b8782;
	font-size: 12px;
}

.food-price {
	font-size: 19px !important;
}

.add-to-cart {
	width: 43px !important;
	height: 43px !important;
	border-radius: 50%;
	box-shadow: 0 5px 10px rgba(255, 90, 0, 0.16);
}

.food-image-placeholder span {
	border: 0;
	width: 92px;
	height: 70px;
	border-radius: 0;
	background: transparent;
}

.food-image-placeholder span::before,
.food-image-placeholder span::after {
	content: "";
	position: absolute;
	display: block;
}

.food-image-placeholder span::before {
	left: 8px;
	right: 8px;
	top: 28px;
	height: 26px;
	border-radius: 8px 8px 22px 22px;
	background: linear-gradient(#7a3b20 0 22%, #f6b429 22% 43%, #4f9c42 43% 57%, #d78a37 57% 73%, #f5b72e 73%);
	box-shadow: 0 4px 0 #a75326;
}

.food-image-placeholder span::after {
	left: 17px;
	top: 17px;
	width: 58px;
	height: 19px;
	border-radius: 50% 50% 8px 8px;
	background: #c97835;
	box-shadow: inset 0 4px rgba(255, 220, 143, 0.7);
}

article[data-category="appetizers"] .food-image-placeholder span::before {
	left: 23px;
	width: 47px;
	height: 54px;
	border-radius: 5px 5px 18px 18px;
	background: repeating-linear-gradient(90deg, #f7c33d 0 7px, #fff6e2 7px 10px);
	transform: perspective(30px) rotateX(-8deg);
}

article[data-category="appetizers"] .food-image-placeholder span::after {
	left: 15px;
	top: 6px;
	width: 62px;
	height: 38px;
	border-radius: 50%;
	background: repeating-linear-gradient(90deg, #f2ad27 0 7px, transparent 7px 12px);
}

article[data-category="drinks"] .food-image-placeholder span::before {
	left: 28px;
	top: 12px;
	width: 38px;
	height: 59px;
	border-radius: 4px 4px 17px 17px;
	background: linear-gradient(#8d351e 0 35%, #b94d24 35% 65%, #6e241c 65%);
	box-shadow: inset 5px 0 rgba(255, 255, 255, 0.35);
}

article[data-category="drinks"] .food-image-placeholder span::after {
	left: 45px;
	top: 0;
	width: 2px;
	height: 18px;
	background: #8b7360;
	transform: rotate(12deg);
}

article[data-category="meals"] .food-image-placeholder span::before {
	left: 19px;
	top: 17px;
	width: 56px;
	height: 52px;
	border-radius: 50%;
	background: radial-gradient(circle at 58% 35%, #f5bb67 0 22%, transparent 24%), #d88b3e;
	box-shadow: 0 9px 0 -1px #f0d8ad;
}

article[data-category="meals"] .food-image-placeholder span::after {
	left: 5px;
	top: 42px;
	width: 82px;
	height: 2px;
	background: #d6b887;
}

.menu-cart-summary {
	width: min(720px, calc(100% - 34px));
	padding: 13px 18px;
	border-radius: 18px;
	box-shadow: 0 10px 25px rgba(255, 90, 0, 0.18);
}

@media (max-width: 900px) {

	.menu-sections {
		gap: 38px;
	}

	.food-category-section .menu-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 600px) {

	.navbar {
		min-height: 62px;
	}

	.logo-mark {
		font-size: 22px;
	}

	.menu-section {
		width: min(94%, 600px);
		padding-top: 24px;
	}

	.menu-section .section-title {
		padding-top: 10px;
	}

	.menu-section .section-title h1 {
		font-size: 34px;
	}

	.menu-section .categories {
		margin-bottom: 26px;
	}

	.menu-feature-heading {
		margin-bottom: 12px;
	}

	.menu-sections {
		gap: 15px;
	}

	.food-category-section .menu-grid {
		grid-template-columns: 1fr;
	}

	.food-card img,
	.food-image-placeholder {
		height: 172px !important;
		min-height: 172px !important;
		max-height: 172px !important;
	}

	.menu-cart-summary {
		width: calc(100% - 20px);
	}

}

/* ==================================================
   MENU VISUAL STYLE
================================================== */

body {
	background: #fcfbf8;
}

.menu-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: 26px;
}

.menu-section > *:not(.menu-decorations) {
	position: relative;
	z-index: 1;
}

.menu-decorations {
	position: absolute;
	inset: -40px -9vw 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.menu-decor {
	position: absolute;
	display: block;
	op: 150px;
	border: 2px solid rgba(232, 126, 68, 0.11);
	opacity: 0.8;
	transform: rotate(-12deg);
}

.decor-burger {
	right: 1%;
	width: 150px;
	height: 78px;
	border-radius: 80px 80px 24px 24px;
	border-bottom-width: 7px;
	box-shadow:
	0 23px 0 -8px rgba(232, 126, 68, 0.08),
	0 39px 0 -13px rgba(232, 126, 68, 0.08);
}

.decor-burger::before,
.decor-burger::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	height: 2px;
	background: rgba(232, 126, 68, 0.11);
}

.decor-burger::before {
	top: 27px;
}

.decor-burger::after {
	top: 50px;
}

.decor-drink {
	left: 8%;
	top: 410px;
	width: 58px;
	height: 116px;
	border-radius: 8px 8px 20px 20px;
	transform: rotate(12deg);
}

.decor-drink::before {
	content: "";
	position: absolute;
	left: 18px;
	top: -58px;
	width: 2px;
	height: 62px;
	background: rgba(232, 126, 68, 0.11);
	transform: rotate(13deg);
}

.decor-drink::after {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	top: 15px;
	height: 2px;
	background: rgba(232, 126, 68, 0.11);
}

.decor-fries {
	left: 35%;
	top: 730px;
	width: 110px;
	height: 70px;
	border-radius: 5px 5px 18px 18px;
	transform: rotate(-7deg);
}

.decor-fries::before {
	content: "";
	position: absolute;
	left: 10px;
	top: -35px;
	width: 12px;
	height: 68px;
	border: 2px solid rgba(232, 126, 68, 0.11);
	border-bottom: 0;
	transform: rotate(-11deg);
	box-shadow: 22px -4px 0 -2px #fcfbf8,
	44px 2px 0 -2px rgba(232, 126, 68, 0.11),
	66px -3px 0 -2px #fcfbf8;
}

.decor-leaf {
	right: 20%;
	top: 820px;
	width: 90px;
	height: 45px;
	border-radius: 100% 0 100% 0;
	transform: rotate(35deg);
}

.decor-leaf::before {
	content: "";
	position: absolute;
	left: 42px;
	top: 5px;
	width: 2px;
	height: 54px;
	background: rgba(117, 126, 107, 0.12);
	transform: rotate(-42deg);
}

.decor-dots {
	width: 52px;
	height: 52px;
	border: 0;
	background:
		radial-gradient(circle, rgba(232, 126, 68, 0.15) 0 5px, transparent 6px)
		0 0 / 24px 24px;
	opacity: 0.75;
}

.decor-dots-one {
	right: 38%;
	top: 115px;
}

.decor-dots-two {
	left: 2%;
	top: 780px;
	transform: rotate(12deg) scale(0.8);
}

.decor-curve {
	width: 125px;
	height: 78px;
	border: 2px dashed rgba(232, 126, 68, 0.13);
	border-left-color: transparent;
	border-bottom-color: transparent;
	border-radius: 50%;
	transform: rotate(35deg);
}

.decor-curve-one {
	left: 30%;
	top: 155px;
}

.decor-curve-two {
	right: -2%;
	top: 310px;
	transform: rotate(205deg);
}

.decor-blob {
	width: 245px;
	height: 245px;
	border: 0;
	border-radius: 58% 42% 65% 35%;
	background: rgba(255, 214, 191, 0.17);
	transform: rotate(30deg);
}

.decor-blob-one {
	left: -160px;
	top: 0;
}

.decor-blob-two {
	right: -170px;
	top: 760px;
	transform: rotate(205deg);
}

.menu-section .section-title {
	padding: 18px 0 8px;
}

.menu-section .section-title h1 {
	color: #272521;
	font-size: clamp(32px, 4vw, 48px);
	letter-spacing: 0;
	animation: menuTitleIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.menu-section .section-title p {
	color: #858078;
	animation: menuSubtitleIn 0.6s 0.12s ease both;
}

@keyframes menuTitleIn {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes menuSubtitleIn {
	from {
		opacity: 0;
		transform: translateX(14px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.menu-section .categories {
	animation: menuCategoriesIn 0.55s 0.22s ease both;
}

.menu-section .category-btn {
	background: rgba(255, 255, 255, 0.82);
	border-color: #e8e1da;
	color: #625c55;
}

.menu-section .category-btn:nth-child(1) { animation-delay: 0.26s; }
.menu-section .category-btn:nth-child(2) { animation-delay: 0.32s; }
.menu-section .category-btn:nth-child(3) { animation-delay: 0.38s; }
.menu-section .category-btn:nth-child(4) { animation-delay: 0.44s; }
.menu-section .category-btn:nth-child(5) { animation-delay: 0.50s; }

@keyframes menuCategoriesIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.menu-section .category-title {
	animation: categoryTitleIn 0.45s ease both;
}

.menu-section .category-title h2 {
	color: #35312d;
	font-size: 22px;
}

@keyframes categoryTitleIn {
	from {
		opacity: 0;
		transform: translateX(10px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.food-image-placeholder {
	background: #faf8f4 !important;
}

.food-image-placeholder span {
	position: relative;
	width: 66px;
	height: 43px;
	opacity: 1;
	font-size: 0;
	border: 2px solid rgba(232, 126, 68, 0.2);
	border-radius: 50% 50% 16px 16px;
}

.food-image-placeholder span::before {
	content: "";
	position: absolute;
	left: 7px;
	right: 7px;
	top: 14px;
	height: 2px;
	background: rgba(232, 126, 68, 0.2);
	box-shadow: 0 9px 0 rgba(232, 126, 68, 0.2);
}

@media (max-width: 600px) {

	.menu-section {
		padding-top: 10px;
	}

	.menu-decorations {
		inset: 0 -30vw 0;
		opacity: 0.45;
	}

	.decor-burger {
		right: -6%;
		top: 210px;
		transform: scale(0.7) rotate(-12deg);
	}

	.decor-drink,
	.decor-fries,
	.decor-leaf {
		opacity: 0.45;
	}

	.decor-fries,
	.decor-leaf {
		display: none;
	}

	.decor-dots,
	.decor-curve {
		opacity: 0.35;
	}

	.decor-blob {
		opacity: 0.5;
		transform: scale(0.7);
	}

	.menu-section .section-title h1 {
		font-size: 32px;
	}

}

@media (max-width: 600px) {

    .menu-cart-summary {
        bottom: 10px;
        padding: 12px 14px;
    }

    .menu-cart-summary-info {
        gap: 10px;
        font-size: 13px;
    }

    .menu-cart-total strong {
        font-size: 16px;
    }

    .menu-cart-view {
        padding: 9px 12px;
    }
}

/* ==================================================
   GRAVITIC RESTAURANT - UI ANIMATIONS
================================================== */

/* Page Entrance */

.menu-section {
	animation: pageFadeIn 0.55s ease both;
}

@keyframes pageFadeIn {

	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

/* Category Section Entrance */

.food-category-section {
	animation: sectionReveal 0.5s ease both;
}

@keyframes sectionReveal {

	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

/* Product Card */

.food-card {
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.food-card:hover {
	transform: translateY(-5px);

	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.10);

	border-color:
		rgba(255, 90, 0, 0.20);
}

/* Product Image */

.food-card img {
	transition: transform 0.35s ease;
}

.food-card:hover img {
	transform: scale(1.025);
}

/* Category Buttons */

.category-btn {
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.category-btn:hover {
	transform: translateY(-2px);
}

.category-btn:active {
	transform: scale(0.96);
}

/* Add To Cart */

.add-to-cart {
	transition:
		transform 0.18s ease,
		background 0.18s ease;
}

.add-to-cart:hover {
	transform: scale(1.08);
}

.add-to-cart:active {
	transform: scale(0.88);
}

/* Add Button Animation */

.add-to-cart.added-animation {
	animation: addProductPulse 0.4s ease;
}

@keyframes addProductPulse {

	0% {
		transform: scale(1);
	}

	40% {
		transform: scale(0.82);
	}

	70% {
		transform: scale(1.15);
	}

	100% {
		transform: scale(1);
	}

}

/* Bottom Cart Bar */

.menu-cart-summary {
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.menu-cart-summary.cart-enter {
	animation: cartSlideUp 0.35s ease both;
}

@keyframes cartSlideUp {

	from {
		opacity: 0;
		transform:
			translateX(-50%)
			translateY(35px);
	}

	to {
		opacity: 1;
		transform:
			translateX(-50%)
			translateY(0);
	}

}

/* Cart Total Update */

#menu-cart-total.total-update {
	animation: totalPulse 0.35s ease;
}

@keyframes totalPulse {

	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.13);
	}

	100% {
		transform: scale(1);
	}

}

/* View Cart Button */

.menu-cart-view {
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.menu-cart-view:hover {
	transform: translateY(-2px);

	box-shadow:
		0 5px 15px rgba(0, 0, 0, 0.12);
}

.menu-cart-view:active {
	transform: scale(0.96);
}

/* Respect accessibility preference */

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

}

/* ==========================================
   PRODUCT IMAGE PLACEHOLDER
========================================== */

.food-image-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fff7f2;
}

.food-image-wrapper .product-image {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;

	transition:
		transform 0.35s ease,
		opacity 0.3s ease;
}

.food-image-placeholder {
	width: 100%;
	height: 190px;

	display: flex;
	align-items: center;
	justify-content: center;

	background:
		linear-gradient(
			135deg,
			#fff7f2,
			#fff1e8
		);

	color: var(--brand-primary);
}

.food-image-placeholder span {
	font-size: 45px;
	opacity: 0.75;
}

.food-image-wrapper.image-loaded
.food-image-placeholder {
	display: none;
}

.food-image-wrapper.image-error
.food-image-placeholder {
	display: flex;
}

.food-image-wrapper.image-error
.product-image {
	display: none !important;
}

.food-image-wrapper.image-loaded
.product-image {
	display: block;
}

.food-card:hover
.food-image-wrapper.image-loaded
.product-image {
	transform: scale(1.035);
}

@media (max-width: 600px) {

	.food-image-wrapper .product-image,
	.food-image-placeholder {
		height: 180px;
	}

}

/* ==========================================
   GRAVITIC - CART PAGE
========================================== */

.cart-page {
	width: min(1150px, 92%);
	margin: 45px auto 100px;

	animation: cartPageIn 0.45s ease both;
}

@keyframes cartPageIn {

	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

.cart-page-header {
	margin-bottom: 30px;
}

.cart-page-header h1 {
	margin: 0 0 8px;
	font-size: 32px;
	color: #202020;
}

.cart-page-header p {
	margin: 0;
	color: #777777;
}

.cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 30px;
	align-items: start;
}

#cart-items {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cart-product-card {
	background: var(--brand-surface);
	border: 1px solid #eeeeee;
	border-radius: 18px;
	padding: 20px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	animation: cartItemIn 0.3s ease both;
}

@keyframes cartItemIn {

	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

.cart-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 9px 25px rgba(0, 0, 0, 0.08);
}

.cart-product-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.cart-product-details h3 {
	margin: 0 0 7px;
	font-size: 19px;
	color: #202020;
}

.cart-unit-price {
	display: block;
	color: #777777;
	font-size: 14px;
}

.cart-product-notes {
	margin-top: 12px;
	padding: 9px 12px;
	background: #fff7f2;
	border-radius: 9px;
	color: #555555;
	font-size: 13px;
}

.cart-product-notes span {
	color: var(--brand-primary);
	font-weight: 700;
}

.cart-remove-item {
	border: none;
	background: transparent;
	color: #d14343;
	font-family: inherit;
	font-size: 13px;
	cursor: pointer;
}

.cart-product-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eeeeee;
}

.cart-quantity-control {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cart-quantity-control button {
	width: 36px;
	height: 36px;
	border: 1px solid var(--brand-primary);
	border-radius: 10px;
	background: var(--brand-surface);
	color: var(--brand-primary);
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	transition: 0.18s ease;
}

.cart-quantity-control button:hover {
	background: var(--brand-primary);
	color: var(--brand-surface);
}

.cart-quantity-control button:active {
	transform: scale(0.9);
}

.cart-quantity-control strong {
	min-width: 24px;
	text-align: center;
}

.cart-line-total {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cart-line-total span {
	color: #777777;
	font-size: 13px;
}

.cart-line-total strong {
	color: var(--brand-primary);
	font-size: 19px;
}

.cart-summary {
	position: sticky;
	top: 25px;
	background: var(--brand-surface);
	border: 1px solid #eeeeee;
	border-radius: 20px;
	padding: 23px;
	box-shadow: 0 7px 25px rgba(0, 0, 0, 0.06);
}

.cart-summary[hidden] {
	display: none !important;
}

.cart-summary h2 {
	margin: 0 0 22px;
	font-size: 21px;
	color: #202020;
}

.summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 14px 0;
}

.summary-divider {
	height: 1px;
	margin: 18px 0;
	background: #eeeeee;
}

.cart-final-total strong {
	color: var(--brand-primary);
	font-size: 24px;
}

.cart-checkout-button {
	width: 100%;
	margin-top: 22px;
	padding: 15px 18px;
	border: none;
	border-radius: 13px;
	background: var(--brand-primary);
	color: var(--brand-surface);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.cart-checkout-button:hover {
	background: var(--brand-primary-dark);
	transform: translateY(-2px);
}

.cart-checkout-button:active {
	transform: scale(0.98);
}

.continue-shopping {
	display: block;
	margin-top: 17px;
	color: var(--brand-primary);
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.empty-cart {
	padding: 70px 20px;
	background: var(--brand-surface);
	border: 1px solid #eeeeee;
	border-radius: 20px;
	text-align: center;
}

.empty-cart[hidden] {
	display: none !important;
}

.empty-cart-icon {
	margin-bottom: 15px;
	font-size: 45px;
}

.empty-cart h2 {
	margin: 0 0 8px;
}

.empty-cart p {
	margin: 0 0 22px;
	color: #777777;
}

@media (max-width: 850px) {

	.cart-layout {
		grid-template-columns: 1fr;
	}

	.cart-summary {
		position: static;
	}

}

@media (max-width: 600px) {

	.cart-page {
		width: min(94%, 600px);
		margin-top: 25px;
	}

	.cart-page-header h1 {
		font-size: 27px;
	}

	.cart-product-card {
		padding: 16px;
	}

	.cart-product-bottom {
		align-items: flex-end;
	}

	.cart-line-total {
		flex-direction: column;
		align-items: flex-end;
		gap: 2px;
	}

}

/* ==================================================
   COMPACT FLOATING CART SUMMARY
================================================== */

.menu-cart-summary {
	width: min(500px, calc(100% - 36px));
	bottom: 28px;
	padding: 8px 12px;
	border-radius: 24px;
	gap: 12px;
	box-shadow: 0 7px 18px rgba(255, 90, 0, 0.14);
	transition:
		opacity 0.4s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s ease;
}

.menu-cart-summary-info {
	gap: 12px;
	font-size: 13px;
}

.menu-cart-total strong {
	font-size: 16px;
}

.menu-cart-view {
	padding: 8px 13px;
	border-radius: 14px;
}

@media (max-width: 600px) {

	.menu-cart-summary {
		width: calc(100% - 28px);
		bottom: 20px;
		padding: 8px 11px;
		border-radius: 20px;
		gap: 10px;
	}

	.menu-cart-summary-info {
		gap: 9px;
		font-size: 13px;
	}

	.menu-cart-total strong {
		font-size: 16px;
	}

	.menu-cart-view {
		padding: 8px 11px;
	}

}

/* ==================================================
   CART PAGE REDESIGN
================================================== */

body {
	background: var(--brand-bg);
}

.cart-page {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 55px 0 100px;
}

.cart-page .section-title {
	text-align: right;
	margin-bottom: 32px;
}

.cart-page .section-title h1 {
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 800;
	color: var(--brand-text);
	margin: 0 0 10px;
}

.cart-page .section-title h1::after {
	content: "";
	display: block;
	width: 55px;
	height: 4px;
	margin-top: 12px;
	margin-right: 0;
	background: var(--brand-primary);
	border-radius: 20px;
}

.cart-page .section-title p {
	margin: 0;
	color: #7a7f89;
	font-size: 16px;
}

.cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
	gap: 28px;
	align-items: start;
}

#cart-items {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.cart-product-card {
	background: var(--brand-surface);
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 22px;
	padding: 22px 24px;
	box-shadow: 0 8px 28px rgba(17, 24, 39, 0.055);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	animation: cartFadeUp 0.45s ease both;
}

.cart-product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.085);
}

.cart-product-main {
	align-items: center;
	gap: 18px;
}

.cart-product-details {
	min-width: 0;
}

.cart-product-details h3 {
	margin: 0 0 7px;
	font-size: 20px;
	font-weight: 800;
	color: var(--brand-text);
}

.cart-unit-price {
	color: #7a7f89;
	font-size: 14px;
}

.cart-product-notes {
	margin-top: 12px;
	background: #fff7f2;
	border-radius: 12px;
	color: var(--brand-muted);
}

.cart-remove-item {
	flex: 0 0 auto;
	border: 0;
	background: rgba(220, 38, 38, 0.07);
	color: #dc2626;
	padding: 8px 13px;
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	transition: 0.2s ease;
}

.cart-remove-item:hover {
	background: rgba(220, 38, 38, 0.12);
	transform: translateY(-1px);
}

.cart-product-bottom {
	align-items: center;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #eeeeee;
}

.cart-quantity-control {
	gap: 10px;
}

.cart-quantity-control button {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	font-size: 22px;
	transition: 0.2s ease;
}

.cart-quantity-control button:hover {
	transform: translateY(-2px);
}

.cart-quantity-control strong {
	min-width: 34px;
	font-size: 18px;
}

.cart-line-total {
	gap: 9px;
}

.cart-line-total span {
	color: var(--brand-muted);
	font-size: 13px;
}

.cart-line-total strong {
	color: var(--brand-primary);
	font-size: 20px;
	font-weight: 800;
}

.cart-summary {
	position: sticky;
	top: 110px;
	max-width: none;
	margin: 0;
	background: var(--brand-surface);
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 24px;
	padding: 26px;
	box-shadow: 0 10px 32px rgba(17, 24, 39, 0.07);
	animation: cartFadeUp 0.55s 0.1s ease both;
}

.cart-summary h2 {
	margin: 0 0 24px;
	font-size: 24px;
	color: var(--brand-text);
}

.cart-summary .summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	margin: 0;
	border-bottom: 1px solid #eeeeee;
	color: var(--brand-muted);
}

.cart-summary .summary-divider {
	display: none;
}

.cart-summary .cart-final-total {
	border-bottom: 0;
	padding-top: 22px;
}

#cart-total {
	color: var(--brand-primary);
	font-size: 26px;
	font-weight: 800;
}

.cart-checkout-button {
	width: 100%;
	margin-top: 22px;
	min-height: 54px;
	border: 0;
	border-radius: 15px;
	background: var(--brand-primary);
	box-shadow: 0 9px 20px rgba(255, 90, 0, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-checkout-button:hover {
	background: var(--brand-primary);
	transform: translateY(-2px);
	box-shadow: 0 13px 25px rgba(255, 90, 0, 0.25);
}

.continue-shopping {
	margin-top: 17px;
	color: var(--brand-primary);
	font-size: 14px;
	text-align: center;
}

.empty-cart {
	width: 100%;
	box-sizing: border-box;
	background: var(--brand-surface);
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 24px;
	padding: 50px 30px;
	text-align: center;
	box-shadow: 0 8px 28px rgba(17, 24, 39, 0.055);
}

@keyframes cartFadeUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 800px) {

	.cart-page {
		width: min(calc(100% - 24px), 650px);
		padding-top: 32px;
	}

	.cart-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.cart-summary {
		position: static;
	}

}

@media (max-width: 520px) {

	.cart-page .section-title h1 {
		font-size: 34px;
	}

	.cart-product-card {
		padding: 18px;
	}

	.cart-product-main,
	.cart-product-bottom {
		flex-wrap: wrap;
	}

	.cart-product-bottom {
		align-items: center;
	}

	.cart-line-total {
		margin-right: auto;
	}

	.cart-summary {
		padding: 22px 18px;
	}

}

/* ==================================================
   CART HEADER BACK TO MENU BUTTON
================================================== */

.back-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 8px 18px 8px 9px;
	min-height: 56px;
	background: #fffaf7;
	color: var(--brand-text);
	border: 1px solid rgba(255, 90, 0, 0.32);
	border-radius: 17px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(255, 90, 0, 0.08);
	transition:
		transform 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.back-menu-icon {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--brand-primary);
	color: var(--brand-surface);
	font-size: 22px;
	font-weight: 700;
	box-shadow: 0 5px 14px rgba(255, 90, 0, 0.22);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.back-menu-btn:hover {
	background: #fff4ed;
	border-color: rgba(255, 90, 0, 0.55);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(255, 90, 0, 0.14);
}

.back-menu-btn:hover .back-menu-icon {
	transform: translateX(-3px);
	box-shadow: 0 7px 18px rgba(255, 90, 0, 0.28);
}

.back-menu-btn:active {
	transform: translateY(0) scale(0.98);
}

@media (max-width: 600px) {

	.back-menu-btn {
		min-height: 50px;
		padding: 7px 14px 7px 8px;
		gap: 10px;
		font-size: 14px;
		border-radius: 15px;
	}

	.back-menu-icon {
		width: 36px;
		height: 36px;
		font-size: 20px;
	}

}

/* ==================================================
   CHECKOUT PAGE REDESIGN
================================================== */

body {
	background: var(--brand-bg);
}

.checkout-page {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	padding: 50px 0 100px;
}

.checkout-page .section-title {
	text-align: right;
	margin-bottom: 30px;
}

.checkout-page .section-title h1 {
	margin: 0 0 10px;
	font-size: clamp(34px, 4vw, 42px);
	font-weight: 800;
	color: var(--brand-text);
}

.checkout-page .section-title h1::after {
	content: "";
	display: block;
	width: 55px;
	height: 4px;
	margin-top: 12px;
	background: var(--brand-primary);
	border-radius: 20px;
}

.checkout-page .section-title p {
	margin: 0;
	color: #7a7f89;
	font-size: 16px;
}

.checkout-order-types {
	max-width: none;
	margin: 0 0 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.checkout-section-heading {
	grid-column: 1 / -1;
	margin: 0 0 2px;
	font-size: 22px;
	font-weight: 800;
	color: var(--brand-text);
}

.checkout-order-card,
.order-type-card {
	position: relative;
	min-height: 145px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	padding: 22px;
	text-align: right;
	background: var(--brand-surface);
	border: 1.5px solid rgba(17, 24, 39, 0.08);
	border-radius: 20px;
	box-shadow: 0 8px 25px rgba(17, 24, 39, 0.05);
	font-family: inherit;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.checkout-order-card:hover,
.order-type-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 90, 0, 0.35);
	box-shadow: 0 13px 30px rgba(255, 90, 0, 0.09);
}

.checkout-order-card.active,
.checkout-order-card.selected,
.order-type-card.active,
.order-type-card.selected {
	background: #fff8f4;
	border-color: var(--brand-primary);
	box-shadow: 0 10px 28px rgba(255, 90, 0, 0.13);
}

.order-type-icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 5px;
	border-radius: 14px;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: initial;
	transition: background 0.25s ease, color 0.25s ease;
}

.order-type-icon svg {
	width: 25px;
	height: 25px;
	stroke: currentColor;
}

.checkout-order-card.active .order-type-icon,
.checkout-order-card.selected .order-type-icon {
	background: var(--brand-primary);
	color: var(--brand-surface);
}

.order-type-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.order-type-content strong {
	color: var(--brand-text);
	font-size: 18px;
	font-weight: 800;
}

.order-type-content small {
	color: var(--brand-muted);
	font-size: 14px;
	line-height: 1.7;
}

.order-type-check {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 27px;
	height: 27px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand-primary);
	color: var(--brand-surface);
	font-size: 14px;
	font-weight: 800;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-order-card.active .order-type-check,
.checkout-order-card.selected .order-type-check {
	opacity: 1;
	transform: scale(1);
}

.customer-information {
	max-width: none;
	margin: 0;
	background: var(--brand-surface);
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 24px;
	padding: 30px;
	box-shadow: 0 10px 32px rgba(17, 24, 39, 0.07);
}

.customer-information h2 {
	margin: 0 0 25px;
	font-size: 24px;
	color: var(--brand-text);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: var(--brand-text);
	font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 12px 15px;
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	border-radius: 13px;
	outline: none;
	font: inherit;
	color: var(--brand-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
	min-height: 100px;
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	border-color: var(--brand-primary);
	box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.08);
}

#delivery-fields:not([hidden]) {
	animation: checkoutSectionIn 0.35s ease both;
}

.checkout-summary {
	background: #fff8f4;
	border: 1px solid rgba(255, 90, 0, 0.12);
	border-radius: 16px;
	padding: 18px;
	margin-top: 25px;
}

.checkout-summary .summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	color: var(--brand-muted);
}

.checkout-summary .total-row {
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 90, 0, 0.14);
	font-size: 18px;
	color: var(--brand-text);
}

#checkout-total {
	color: var(--brand-primary);
	font-size: 24px;
	font-weight: 800;
}

.checkout-confirm-button {
	width: 100%;
	min-height: 54px;
	margin-top: 22px;
	border: 0;
	border-radius: 15px;
	background: var(--brand-primary);
	box-shadow: 0 9px 20px rgba(255, 90, 0, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-confirm-button:hover {
	background: var(--brand-primary);
	transform: translateY(-2px);
	box-shadow: 0 13px 25px rgba(255, 90, 0, 0.25);
}

@keyframes checkoutSectionIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 800px) {

	.checkout-page {
		width: min(calc(100% - 24px), 650px);
		padding-top: 32px;
	}

	.checkout-order-types {
		grid-template-columns: 1fr;
	}

	.checkout-section-heading {
		grid-column: auto;
	}

	.customer-information {
		padding: 22px 18px;
	}

}

@media (max-width: 600px) {

	.checkout-order-card,
	.order-type-card {
		min-height: 125px;
		padding: 18px;
	}

}

/* ==================================================
   CHECKOUT SUMMARY AND PAGE LAYOUT
================================================== */

.checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
	gap: 28px;
	align-items: start;
}

.checkout-main-column {
	min-width: 0;
}

.checkout-main-column .checkout-order-types {
	width: 100%;
	max-width: none;
	margin: 0 0 28px;
}

.checkout-main-column .customer-information {
	width: 100%;
	box-sizing: border-box;
}

.checkout-summary {
	position: sticky;
	top: 105px;
	max-width: none;
	margin: 0;
	background: var(--brand-surface);
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 10px 32px rgba(17, 24, 39, 0.07);
	animation: checkoutSummaryIn 0.5s ease both;
}

.checkout-summary h2 {
	margin: 0 0 20px;
	font-size: 24px;
	color: var(--brand-text);
}

.checkout-type-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f0;
	color: var(--brand-muted);
	font-size: 14px;
}

.checkout-type-badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.checkout-summary-items {
	margin-top: 2px;
}

.checkout-summary-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #f0f0f0;
}

.checkout-summary-item:last-child {
	border-bottom: 0;
}

.checkout-summary-item > div {
	flex: 1 1 auto;
	min-width: 0;
}

.checkout-summary-item-name {
	display: block;
	color: var(--brand-text);
	font-size: 15px;
	font-weight: 700;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.checkout-summary-item-quantity {
	display: block;
	margin-top: 4px;
	color: #8a8f98;
	font-size: 13px;
}

.checkout-summary-item-price {
	flex: 0 0 auto;
	max-width: 42%;
	color: var(--brand-text);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	direction: ltr;
	unicode-bidi: isolate;
}

.checkout-total-area {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #ececec;
}

.checkout-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	color: var(--brand-muted);
	font-size: 14px;
}

.checkout-total-row > * { min-width: 0; }

.checkout-final-total {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px dashed var(--brand-border);
	color: var(--brand-text);
	font-size: 17px;
	font-weight: 800;
}

#checkout-total {
	color: var(--brand-primary);
	font-size: 25px;
	font-weight: 900;
	white-space: nowrap;
	direction: ltr;
	unicode-bidi: isolate;
}

.confirm-order-btn,
.checkout-confirm-button {
	width: 100%;
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 22px;
	border: 0;
	border-radius: 16px;
	background: var(--brand-primary);
	color: var(--brand-surface);
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(255, 90, 0, 0.20);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.confirm-order-btn:hover,
.checkout-confirm-button:hover {
	background: var(--brand-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(255, 90, 0, 0.27);
}

.confirm-order-btn:active,
.checkout-confirm-button:active {
	transform: translateY(0) scale(0.99);
}

@keyframes checkoutSummaryIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 800px) {

	.checkout-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.checkout-summary {
		position: static;
	}

}

@media (max-width: 520px) {

	.checkout-summary {
		padding: 20px 18px;
	}

	.checkout-summary-item {
		gap: 10px;
	}

	.checkout-summary-item-price { max-width: 38%; }

	.checkout-summary-item-name,
	.checkout-summary-item-price {
		font-size: 14px;
	}

	#checkout-total {
		font-size: 22px;
	}

}

/* ==================================================
   ORDER SUCCESS PAGE
================================================== */

.order-success-body {
	background: var(--brand-bg);
}

.order-success-page {
	min-height: calc(100vh - 80px);
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 50px 20px;
	background: var(--brand-bg);
}

.order-success-card,
.order-missing-card {
	width: min(600px, 100%);
	box-sizing: border-box;
	background: var(--brand-surface);
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 28px;
	padding: 42px;
	text-align: center;
	box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
	animation: successCardIn 0.55s ease both;
}

.order-success-card[hidden],
.order-missing-card[hidden] {
	display: none;
}

.success-icon {
	width: 82px;
	height: 82px;
	margin: 0 auto 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	animation: successIconIn 0.5s 0.12s ease both;
}

.success-icon svg {
	width: 42px;
	height: 42px;
}

.order-success-card h1,
.order-missing-card h1 {
	margin: 0;
	color: var(--brand-text);
	font-size: 30px;
	font-weight: 900;
}

.success-message,
.order-missing-card p {
	margin: 12px 0 0;
	color: var(--brand-muted);
	line-height: 1.8;
}

.order-number-box {
	margin: 28px 0 20px;
	padding: 18px;
	background: #fff7f2;
	border: 1px dashed rgba(255, 90, 0, 0.40);
	border-radius: 18px;
}

.order-number-box > span {
	color: var(--brand-muted);
	font-size: 14px;
	font-weight: 700;
}

.order-number {
	display: block;
	margin-top: 5px;
	color: var(--brand-primary);
	font-size: 28px;
	font-weight: 900;
	direction: ltr;
}

.order-info-list {
	padding: 4px 0;
	border-top: 1px solid #f0f0f0;
}

.order-info-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 0;
	border-bottom: 1px solid #f0f0f0;
	color: var(--brand-muted);
	font-size: 14px;
}

.order-info-row:last-child {
	border-bottom: 0;
}

.order-info-row > strong {
	color: var(--brand-text);
	font-weight: 800;
}

.order-status-badge {
	display: inline-flex;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--brand-primary-soft);
	color: var(--brand-primary) !important;
	font-size: 13px;
	font-weight: 800;
}

.order-total-row > strong {
	color: var(--brand-primary) !important;
	font-size: 23px;
	font-weight: 900 !important;
}

.success-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 25px;
}

.success-actions a,
.order-missing-card a {
	min-height: 52px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 18px;
	border-radius: 15px;
	text-decoration: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.success-track-button {
	background: var(--brand-primary);
	color: var(--brand-surface);
	box-shadow: 0 9px 20px rgba(255, 90, 0, 0.18);
}

.success-track-button:hover {
	background: var(--brand-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 13px 25px rgba(255, 90, 0, 0.24);
}

.success-menu-button {
	background: #fff7f2;
	color: var(--brand-primary);
	border: 1px solid rgba(255, 90, 0, 0.20);
}

.success-menu-button:hover {
	background: var(--brand-primary-soft);
	transform: translateY(-2px);
}

.missing-icon {
	width: 62px;
	height: 62px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand-primary-soft);
	color: var(--brand-primary);
	font-size: 30px;
	font-weight: 900;
}

.order-missing-card a {
	margin-top: 24px;
}

@keyframes successCardIn {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes successIconIn {
	from {
		opacity: 0;
		transform: scale(0.65);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (max-width: 600px) {

	.order-success-page {
		min-height: calc(100vh - 62px);
		padding: 32px 12px;
	}

	.order-success-card,
	.order-missing-card {
		padding: 28px 20px;
		border-radius: 22px;
	}

	.order-success-card h1,
	.order-missing-card h1 {
		font-size: 26px;
	}

	.success-icon {
		width: 72px;
		height: 72px;
	}

	.success-actions {
		grid-template-columns: 1fr;
	}

	.order-number {
		font-size: 25px;
	}

}

/* ==================================================
   FINAL TOP-ONLY BACKGROUND OVERRIDES
================================================== */

body {
	background: var(--brand-bg);
}

.restaurant-background {
	position: absolute !important;
	top: 85px;
	left: 0;
	right: 0;
	bottom: auto !important;
	height: 620px;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.restaurant-background::before {
	width: 280px;
	height: 280px;
	top: -80px;
	left: -100px;
	background: rgba(255, 90, 0, 0.035);
}

.restaurant-background::after {
	width: 260px;
	height: 260px;
	right: -145px;
	bottom: -125px;
	background: rgba(255, 90, 0, 0.035);
}

.background-art {
	opacity: 0.18;
	animation: none;
}

.background-burger {
	left: 17%;
	top: 25px;
	width: 230px;
	animation: subtleDecorFloat 10s ease-in-out infinite;
	animation-delay: -2s;
}

.background-fries {
	left: 4%;
	top: 285px;
	width: 120px;
	animation: subtleDecorFloat 11s ease-in-out infinite;
	animation-delay: -5s;
}

.background-leaf {
	opacity: 0.18;
	animation: subtleDecorFloat 12s ease-in-out infinite;
}

.background-leaf-one {
	right: 8%;
	top: 180px;
	animation-delay: -3s;
}

.background-leaf-two {
	right: 23%;
	bottom: 20px;
	transform: rotate(-25deg);
	animation-delay: -7s;
}

.background-curve {
	opacity: 0.22;
	animation: none;
}

.background-curve-top {
	left: 36%;
	top: 15px;
}

.background-curve-left {
	left: -18px;
	bottom: 28px;
}

.background-dots {
	opacity: 0.12;
	animation: none;
}

.background-dots-one {
	left: 28%;
	top: 110px;
}

.background-dots-two {
	right: 30%;
	top: 75px;
	transform: scale(0.72);
}

.background-short-line {
	opacity: 0.24;
}

.background-short-line-one {
	right: 11%;
	top: 105px;
}

.background-short-line-two {
	left: 24%;
	bottom: 145px;
}

.background-heart {
	left: 28%;
	top: 235px;
	opacity: 0.22;
}

.background-slogan-main {
	left: 21%;
	top: 155px;
	color: rgba(80, 80, 80, 0.45);
	transform: rotate(-7deg);
}

.background-slogan-small {
	right: 10%;
	bottom: 20px;
	color: rgba(80, 80, 80, 0.45);
	transform: rotate(-8deg);
}

@keyframes subtleDecorFloat {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

@media (max-width: 600px) {

	.restaurant-background {
		top: 62px;
		height: 480px;
		opacity: 0.65;
	}

	.background-burger {
		left: 27%;
		top: 20px;
		width: 175px;
	}

	.background-fries,
	.background-leaf-one,
	.background-leaf-two,
	.background-curve-left,
	.background-short-line-two,
	.background-slogan-main,
	.background-heart {
		display: none;
	}

	.background-curve-top {
		left: 24%;
		top: 145px;
		width: 260px;
	}

	.background-dots-one {
		left: 8%;
		top: 260px;
	}

	.background-dots-two,
	.background-short-line-one,
	.background-slogan-small {
		display: none;
	}

}
/* Branch routing */
.branch-page { max-width: 1000px; margin: 40px auto; padding: 24px; }
.branch-page > p { margin: 16px 0 24px; color: #65584f; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.branch-card { background: white; border: 2px solid #f0e5dd; border-radius: 20px; padding: 24px; overflow-wrap: anywhere; }
.branch-card.is-selected { border-color: var(--brand-primary); background: #fff8f1; }
.branch-card h2 { font-size: 22px; margin-bottom: 16px; }
.branch-card p { margin: 10px 0; }
.branch-card button, .branch-start, #branch-retry { display: inline-block; border: 0; border-radius: 12px; padding: 14px 22px; background: var(--brand-primary); color: white; font: inherit; cursor: pointer; margin-top: 20px; text-decoration: none; }
.branch-card button { width: 100%; }
#branch-retry[hidden] { display: none; }
.branch-indicator { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin: 12px 0 20px; border: 1px solid #f2d9c5; border-radius: 14px; background: #fff9f3; overflow-wrap: anywhere; }
.branch-indicator[hidden] { display: none; }
.branch-indicator a { color: var(--brand-primary-dark); font-weight: 700; }

/* Menu branch selection stays on the menu page. */
.menu-branch-dialog { position: fixed; inset: 0; width: min(760px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 0; border-radius: 24px; background: #fffaf6; color: #29313c; font: inherit; box-sizing: border-box; box-shadow: 0 24px 80px #26120740; overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; overflow-wrap: anywhere; }
.menu-branch-dialog::backdrop { background: #20170f80; backdrop-filter: blur(4px); }
.menu-branch-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu-branch-heading h2 { margin: 0; font-size: 26px; }
#menu-branch-feedback { margin: 14px 0 24px; color: #705b4d; }
.menu-branch-dialog .branch-grid { width: 100%; min-width: 0; box-sizing: border-box; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu-branch-dialog .branch-card { width: 100%; min-width: 0; padding: 20px; box-sizing: border-box; box-shadow: 0 6px 20px #54220708; }
.menu-branch-dialog .branch-card h3, .menu-branch-dialog .branch-card p { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.menu-branch-dialog .branch-card h3 { font-size: 20px; }
.menu-branch-phone { direction: ltr; text-align: right; }
#change-menu-branch, #close-menu-branches, #retry-menu-branches { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 12px; background: #fff0e3; color: var(--brand-primary-dark); font: inherit; font-weight: 700; cursor: pointer; }
#retry-menu-branches { background: var(--brand-primary); color: white; }
#close-menu-branches { font-size: 24px; }
#change-menu-branch[hidden], #close-menu-branches[hidden], #retry-menu-branches[hidden] { display: none; }
.menu-branch-dialog button:focus-visible, #change-menu-branch:focus-visible { outline: 3px solid var(--brand-primary-dark); outline-offset: 3px; }
body.menu-branch-open { overflow: hidden; }
@media (max-width: 520px) {
    .menu-branch-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 18px; border-radius: 20px; }
    .menu-branch-dialog .branch-grid { grid-template-columns: minmax(0, 1fr); }
}
