/* ============================================================
   MPM FOODS — Global Stylesheet
   style.css
   Fonts: Poppins (headings) + Inter (body)
   ============================================================ */

/* ── Design Tokens ──
   "Spice Market" direction: deep wine + turmeric gold on warm ivory —
   evokes a premium South Indian dining room rather than a generic
   discount-delivery orange. Prices use a monospace face throughout
   (menu, cart, checkout, orders) as the one signature detail — like a
   printed menu card's price column. */
:root {
	--mpm-primary: #7A2048;
	--mpm-primary-dark: #5A1735;
	--mpm-primary-light: #F6E8ED;
	--mpm-gold: #C6952E;
	--mpm-gold-light: #FBF0DA;
	--mpm-dark: #241512;
	--mpm-bg: #FBF6EE;
	--mpm-white: #FFFFFF;
	--mpm-success: #3F7D58;
	--mpm-muted: #8A7A6D;
	--mpm-border: #ECE0CF;
	--mpm-card-shadow: 0 2px 14px rgba(36, 21, 18, 0.07);
	--mpm-card-shadow-hover: 0 14px 34px rgba(122, 32, 72, 0.18);
	--mpm-radius: 16px;
	--mpm-radius-sm: 10px;
	--mpm-radius-lg: 24px;
	--mpm-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--header-h-desktop: 68px;
	--header-h-mobile: 116px;
	/* logo row + search row */
	--bottom-nav-h: 64px;
	--sticky-cart-h: 60px;
	--font-heading: 'Bricolage Grotesque', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-price: 'JetBrains Mono', monospace;
}

/* Tabular, monospaced price treatment — the one signature detail carried
   through menu, cart, checkout and order history. */
.price {
	font-family: var(--font-price);
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--mpm-primary);
}

.price.price-muted {
	color: var(--mpm-dark);
	font-weight: 500;
}

.price.price-lg {
	font-size: 1.25em;
}

.price.price-strike {
	text-decoration: line-through;
	color: var(--mpm-muted);
	font-weight: 500;
}

/* ── Base Reset & Box ── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-tap-highlight-color: transparent;
	overflow-x: clip;
}

body {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--mpm-dark);
	background-color: var(--mpm-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	/* overflow-x: hidden here would silently force overflow-y to "auto"
     (CSS overflow-pairing rule), turning body into its own scroll
     container and breaking every position:sticky element on the site
     (e.g. .menu-sidebar on the restaurant page). overflow-x: clip
     blocks horizontal overflow the same way without that side effect. */
	overflow-x: clip;
	overflow-y: visible;
	max-width: 100vw;
}

/* body padding for mobile (bottom nav + sticky cart) */
body.has-bottom-nav {
	padding-bottom: calc(var(--bottom-nav-h) + 16px);
}

body.has-sticky-cart {
	padding-bottom: calc(var(--bottom-nav-h) + var(--sticky-cart-h) + 8px);
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--mpm-dark);
	letter-spacing: -0.01em;
}

h1,
.display-1,
.display-2 {
	font-weight: 800;
	letter-spacing: -0.02em;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--mpm-primary);
}

.text-primary-mpm {
	color: var(--mpm-primary) !important;
}

.text-muted-mpm {
	color: var(--mpm-muted) !important;
}

.text-success-mpm {
	color: var(--mpm-success) !important;
}

/* Keep Bootstrap's default green/orange utilities on-brand wherever they're used directly in markup */
.bg-success {
	background-color: var(--mpm-success) !important;
}

.text-success {
	color: var(--mpm-success) !important;
}

.text-warning {
	color: var(--mpm-gold) !important;
}

.btn-success {
	background-color: var(--mpm-success) !important;
	border-color: var(--mpm-success) !important;
}

.fw-500 {
	font-weight: 500;
}

.fw-600 {
	font-weight: 600;
}

.fw-800 {
	font-weight: 800;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: var(--mpm-border);
	border-radius: 10px;
}

/* ================================================================
   HEADER
   ================================================================ */
.mpm-header {
	position: sticky;
	top: 0;
	z-index: 1040;
	background: var(--mpm-white);
	border-bottom: 1px solid var(--mpm-border);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* Desktop Header */
.mpm-header .header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 0 24px;
	height: var(--header-h-desktop);
	max-width: 1400px;
	margin: 0 auto;
	margin-top: 20px;
}

/* Logo */
.mpm-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	text-decoration: none;
}

.mpm-logo .logo-icon {
	width: 36px;
	height: 36px;
	background: var(--mpm-primary);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 18px;
}

.mpm-logo .logo-text {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 20px;
	color: var(--mpm-dark);
	letter-spacing: -0.3px;
}

.mpm-logo .logo-text span {
	color: var(--mpm-primary);
}

/* Back button (top-left of header on every page except home) */
.mpm-back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--mpm-border);
	background: var(--mpm-white);
	color: var(--mpm-dark);
	font-size: 16px;
	cursor: pointer;
	flex-shrink: 0;
	transition: border-color var(--mpm-transition), background var(--mpm-transition);
}

.mpm-back-btn:hover {
	border-color: var(--mpm-primary);
	color: var(--mpm-primary);
}

.mobile-header .container {
	position: relative;
}

.mpm-back-btn-mobile {
	width: 32px;
	height: 32px;
	font-size: 15px;
}

/* Location Selector */
.mpm-location-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid var(--mpm-border);
	border-radius: var(--mpm-radius-sm);
	padding: 7px 12px;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 13.5px;
	color: var(--mpm-dark);
	white-space: nowrap;
	transition: border-color var(--mpm-transition);
	min-width: 0;
	max-width: 180px;
}

.mpm-location-btn:hover {
	border-color: var(--mpm-primary);
}

.mpm-location-btn .loc-label {
	font-weight: 600;
	font-size: 11px;
	color: var(--mpm-primary);
	display: block;
	line-height: 1;
}

.mpm-location-btn .loc-name {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
}

/* Search Bar */
.mpm-search-wrap {
	flex: 1;
	max-width: 480px;
	position: relative;
}

.mpm-search-wrap .search-input {
	width: 100%;
	height: 44px;
	border: 1.5px solid var(--mpm-border);
	border-radius: 50px;
	padding: 0 16px 0 44px;
	font-family: var(--font-body);
	font-size: 14px;
	background: var(--mpm-bg);
	color: var(--mpm-dark);
	transition: border-color var(--mpm-transition), box-shadow var(--mpm-transition);
	outline: none;
}

.mpm-search-wrap .search-input:focus {
	border-color: var(--mpm-primary);
	box-shadow: 0 0 0 3px rgba(122, 32, 72, 0.12);
	background: var(--mpm-white);
}

.mpm-search-wrap .search-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--mpm-muted);
	font-size: 17px;
	pointer-events: none;
}

.mpm-search-wrap .search-input::placeholder {
	color: var(--mpm-muted);
}

/* ================================================================
   APP SHELL — persistent left sidebar (desktop) + right content column
   ================================================================ */
.app-shell {
	display: flex;
	align-items: flex-start;
	min-height: 100vh;
}

.form-control {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 20px;
	color: var(--bs-body-color);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: var(--bs-body-bg);
	background-clip: padding-box;
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.app-sidebar {
	width: 232px;
	flex-shrink: 0;
	flex-direction: column;
	background: var(--mpm-white);
	border-right: 1px solid var(--mpm-border);
	position: sticky;
	top: 0;
	height: 100vh;
	padding: 22px 16px;
}

.app-sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 28px;
}

.sidebar-nav-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 14px;
	border-radius: var(--mpm-radius-sm);
	color: var(--mpm-dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
	transition: all var(--mpm-transition);
	border-left: 3px solid transparent;
}

.sidebar-nav-item i {
	font-size: 19px;
	width: 22px;
	text-align: center;
}

.sidebar-nav-item:hover {
	background: var(--mpm-bg);
	color: var(--mpm-primary);
}

.sidebar-nav-item.active {
	background: var(--mpm-primary-light);
	color: var(--mpm-primary);
	border-left-color: var(--mpm-primary);
}

.app-sidebar-bottom {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--mpm-border);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.app-sidebar-bottom .sidebar-nav-item {
	font-size: 13.5px;
	color: var(--mpm-muted);
	font-weight: 500;
}

.app-sidebar-bottom .sidebar-nav-item i {
	font-size: 17px;
}

.app-sidebar-bottom .sidebar-nav-item:hover {
	color: var(--mpm-primary);
}

.app-main {
	flex: 1;
	min-width: 0;
}

/* Top bar — sits inside the content column, next to the sidebar */
.app-topbar {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 28px;
	height: var(--header-h-desktop);
	background: var(--mpm-white);
	border-bottom: 1px solid var(--mpm-border);
	position: sticky;
	top: 0;
	z-index: 1030;
}

.app-topbar .mpm-back-btn {
	margin-right: 2px;
}

.app-topbar .app-topbar-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

.app-topbar-icon-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--mpm-dark);
	font-size: 19px;
	text-decoration: none;
	transition: background var(--mpm-transition), color var(--mpm-transition);
}

.app-topbar-icon-btn:hover {
	background: var(--mpm-bg);
	color: var(--mpm-primary);
}

@media (max-width: 991px) {
	.app-sidebar {
		display: none !important;
	}

	.app-topbar {
		display: none !important;
	}
}

/* Header Nav Actions */
.header-nav-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.nav-action-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 12px;
	background: none;
	border: none;
	cursor: pointer;
	border-radius: var(--mpm-radius-sm);
	font-family: var(--font-body);
	font-size: 11px;
	color: var(--mpm-muted);
	font-weight: 500;
	transition: color var(--mpm-transition), background var(--mpm-transition);
	position: relative;
	text-decoration: none;
	white-space: nowrap;
}

.nav-action-btn i {
	font-size: 20px;
	line-height: 1;
}

.nav-action-btn:hover {
	color: var(--mpm-primary);
	background: var(--mpm-primary-light);
}

.nav-action-btn.active {
	color: var(--mpm-primary);
}

/* Cart Badge */
.cart-badge {
	position: absolute;
	top: 4px;
	right: 8px;
	background: var(--mpm-primary);
	color: white;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-family: var(--font-body);
}

.notif-badge {
	position: absolute;
	top: -4px;
	right: -6px;
	background: var(--mpm-primary);
	color: white;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	border-radius: 50px;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-family: var(--font-body);
}

@keyframes notifBellRing {

	0%,
	100% {
		transform: rotate(0deg);
	}

	10%,
	30% {
		transform: rotate(-14deg);
	}

	20%,
	40% {
		transform: rotate(14deg);
	}

	50% {
		transform: rotate(0deg);
	}
}

.notif-bell-ring i {
	display: inline-block;
	animation: notifBellRing 0.6s ease;
}

/* Mobile Header Row 1 */
.mobile-header-row1 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: var(--mpm-white);
}

.mobile-header-row2 {
	padding: 0 16px 12px;
	background: var(--mpm-white);
}

.mobile-header-row2 .mpm-search-wrap {
	max-width: 100%;
}

/* ================================================================
   MOBILE BOTTOM NAVIGATION
   ================================================================ */
.mpm-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--bottom-nav-h);
	background: var(--mpm-white);
	border-top: 1px solid var(--mpm-border);
	display: flex;
	align-items: stretch;
	z-index: 1035;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.bottom-nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	font-size: 10.5px;
	font-weight: 500;
	color: var(--mpm-muted);
	text-decoration: none;
	position: relative;
	transition: color var(--mpm-transition);
	font-family: var(--font-body);
}

.bottom-nav-item i {
	font-size: 22px;
	line-height: 1;
}

.bottom-nav-item.active {
	color: var(--mpm-primary);
}

.bottom-nav-item.active i {
	color: var(--mpm-primary);
}

/* ================================================================
   STICKY CART BAR
   ================================================================ */
.sticky-cart-bar {
	position: fixed;
	bottom: var(--bottom-nav-h);
	left: 0;
	right: 0;
	z-index: 1030;
	padding: 8px 16px;
	display: none;
	/* shown via JS */
}

.sticky-cart-bar.visible {
	display: block;
}

.sticky-cart-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--mpm-primary);
	color: white;
	border-radius: var(--mpm-radius);
	padding: 14px 18px;
	box-shadow: 0 4px 20px rgba(122, 32, 72, 0.30);
	font-family: var(--font-body);
}

.sticky-cart-info {
	font-size: 13.5px;
	font-weight: 600;
}

.sticky-cart-info span {
	font-size: 12px;
	font-weight: 400;
	opacity: 0.85;
}

.sticky-cart-cta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 14px;
	color: white;
	text-decoration: none;
}

/* ================================================================
   CONTENT WRAPPER
   ================================================================ */
.mpm-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
}

.page-content {
	padding-top: 28px;
	padding-bottom: 40px;
}

/* ================================================================
   SECTION HEADINGS
   ================================================================ */
.section-heading {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--mpm-dark);
	margin-bottom: 4px;
}

.section-sub {
	font-size: 13.5px;
	color: var(--mpm-muted);
	margin-bottom: 20px;
}

/* ================================================================
   CATEGORY CHIPS
   ================================================================ */
.categories-scroll-wrap {
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}

.categories-scroll-wrap::-webkit-scrollbar {
	display: none;
}

.categories-row {
	display: flex;
	gap: 10px;
	width: max-content;
}

.category-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	background: var(--mpm-white);
	border: 1.5px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	cursor: pointer;
	transition: all var(--mpm-transition);
	text-decoration: none;
	min-width: 76px;
	flex-shrink: 0;
}

.category-chip:hover,
.category-chip.active {
	border-color: var(--mpm-primary);
	background: var(--mpm-primary-light);
	color: var(--mpm-primary);
}

.category-chip .cat-emoji {
	font-size: 28px;
	line-height: 1;
}

.category-chip .cat-label {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--mpm-dark);
	font-family: var(--font-body);
	white-space: nowrap;
}

.category-chip:hover .cat-label,
.category-chip.active .cat-label {
	color: var(--mpm-primary);
}

/* Circular photo variant — used on the Home "What's on your mind?" row */
.category-chip.cat-circle {
	border: none;
	background: transparent;
	padding: 0;
	min-width: 78px;
	gap: 8px;
}

.category-chip.cat-circle:hover {
	background: transparent;
}

.cat-circle-img {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	overflow: hidden;
	display: block;
	box-shadow: var(--mpm-card-shadow);
	border: 2px solid var(--mpm-white);
	outline: 1px solid var(--mpm-border);
	transition: transform var(--mpm-transition), outline-color var(--mpm-transition);
}

.cat-circle-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.category-chip.cat-circle:hover .cat-circle-img {
	transform: translateY(-3px);
	outline-color: var(--mpm-primary);
}

.category-chip.cat-circle .cat-label {
	font-weight: 600;
	text-align: center;
	white-space: normal;
	line-height: 1.25;
	max-width: 78px;
}

/* ================================================================
   FILTERS ROW
   ================================================================ */
.filters-row {
	display: flex;
	align-items: center;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.filters-row::-webkit-scrollbar {
	display: none;
}

.filter-pill {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 7px 14px;
	background: var(--mpm-white);
	border: 1.5px solid var(--mpm-border);
	border-radius: 50px;
	font-size: 13px;
	font-weight: 500;
	color: var(--mpm-dark);
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all var(--mpm-transition);
	font-family: var(--font-body);
}

.filter-pill:hover,
.filter-pill.active {
	border-color: var(--mpm-primary);
	background: var(--mpm-primary-light);
	color: var(--mpm-primary);
}

.sort-select {
	padding: 7px 14px;
	border: 1.5px solid var(--mpm-border);
	border-radius: 50px;
	font-size: 13px;
	font-weight: 500;
	background: var(--mpm-white);
	color: var(--mpm-dark);
	cursor: pointer;
	font-family: var(--font-body);
	outline: none;
}

/* ================================================================
   HOME — HERO
   ================================================================ */
.mpm-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 160% at 15% 0%, #8F2955 0%, #7A2048 45%, #4A1329 100%);
	padding: 40px 0 28px;
	border-bottom-left-radius: 32px;
	border-bottom-right-radius: 32px;
	margin-bottom: 28px;
	color: white;
}

.mpm-hero-glow {
	position: absolute;
	top: -60px;
	right: -40px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(198, 149, 46, 0.35), transparent 70%);
	pointer-events: none;
}

.mpm-hero-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mpm-gold-light);
	margin-bottom: 10px;
}

.mpm-hero-title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(28px, 5vw, 40px);
	letter-spacing: -0.02em;
	margin: 0 0 6px;
	color: white;
}

.mpm-hero-sub {
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 22px;
	font-size: 15px;
}

.mpm-hero-search {
	position: relative;
	display: flex;
	align-items: center;
	background: white;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(36, 21, 18, 0.28);
	padding: 4px 4px 4px 18px;
	margin-bottom: 18px;
}

.mpm-hero-search i {
	color: var(--mpm-muted);
	font-size: 16px;
}

.mpm-hero-search input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 10px;
	font-family: var(--font-body);
	font-size: 14.5px;
	color: var(--mpm-dark);
	background: transparent;
}

.mpm-hero-search button {
	border: none;
	background: var(--mpm-primary);
	color: white;
	font-weight: 700;
	font-size: 13.5px;
	padding: 11px 20px;
	border-radius: 12px;
	cursor: pointer;
	transition: background var(--mpm-transition);
}

.mpm-hero-search button:hover {
	background: var(--mpm-primary-dark);
}

.mpm-hero-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.mpm-hero-tags span {
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: white;
	font-size: 9.4px;
	font-weight: 500;
	padding: 7px 13px;
	border-radius: 50px;
	backdrop-filter: blur(4px);
}

.mpm-hero-tags i {
	color: var(--mpm-gold-light);
}

.mpm-section-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.01em;
	color: var(--mpm-dark);
	margin: 0;
}

.btn-mpm-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: white;
	border: 1.5px solid var(--mpm-border);
	color: var(--mpm-dark);
	font-size: 12px;
	font-weight: 600;
	padding: 7px 15px;
	border-radius: 50px;
	cursor: pointer;
	transition: all var(--mpm-transition);
}

.btn-mpm-chip:hover {
	border-color: var(--mpm-primary);
	color: var(--mpm-primary);
}

/* ================================================================
   FEATURED CARD (editorial image-overlay style)
   ================================================================ */
.feat-card {
	position: relative;
	display: block;
	width: 240px;
	height: 300px;
	border-radius: var(--mpm-radius-lg);
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--mpm-card-shadow);
	transition: transform var(--mpm-transition), box-shadow var(--mpm-transition);
}

.feat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mpm-card-shadow-hover);
	color: inherit;
}

.feat-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.feat-card:hover img {
	transform: scale(1.06);
}

.feat-card-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(36, 21, 18, 0) 40%, rgba(36, 21, 18, 0.88) 100%);
}

.feat-card-rating {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--mpm-dark);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 50px;
}

.feat-card-rating i {
	color: var(--mpm-gold);
	font-size: 10px;
}

.feat-card-info {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	color: white;
}

.feat-card-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 17px;
	margin-bottom: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.feat-card-cuisine {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ================================================================
   OFFER CARDS (on-brand duotones, not rainbow gradients)
   ================================================================ */
.offer-card {
	width: 270px;
	border-radius: var(--mpm-radius-lg);
	padding: 18px;
	position: relative;
	overflow: hidden;
	color: white;
}

.offer-card-wine {
	background: linear-gradient(135deg, #7A2048, #4A1329);
}

.offer-card-gold {
	background: linear-gradient(135deg, #C6952E, #8A6519);
}

.offer-card-dark {
	background: linear-gradient(135deg, #3A2420, #241512);
}

.offer-card-title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 19px;
	margin-bottom: 3px;
	letter-spacing: -0.01em;
}

.offer-card-sub {
	font-size: 12.5px;
	opacity: 0.8;
	margin-bottom: 14px;
}

.offer-card-btn {
	border: none;
	background: rgba(255, 255, 255, 0.95);
	color: var(--mpm-dark);
	font-weight: 700;
	font-size: 12px;
	padding: 7px 14px;
	border-radius: 50px;
	cursor: pointer;
	font-family: var(--font-price);
	letter-spacing: -0.01em;
}

.offer-card-icon {
	position: absolute;
	font-size: 90px;
	bottom: -18px;
	right: -8px;
	opacity: 0.18;
}

/* ================================================================
   REST CARD (main restaurant grid — replaces old .restaurant-card)
   ================================================================ */
.rest-card {
	display: block;
	height: 100%;
	background: var(--mpm-white);
	border-radius: var(--mpm-radius-lg);
	overflow: hidden;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
	text-decoration: none;
	color: inherit;
	transition: transform var(--mpm-transition), box-shadow var(--mpm-transition);
}

.rest-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mpm-card-shadow-hover);
	color: inherit;
}

.rest-card.is-closed {
	opacity: 0.72;
}

.rest-card-media {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
}

.rest-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.rest-card:hover .rest-card-media img {
	transform: scale(1.05);
}

.rest-card-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 4px 9px;
	border-radius: 6px;
}

.rest-card-tag-ad {
	background: rgba(36, 21, 18, 0.75);
	color: white;
}

.rest-card-closed-scrim {
	position: absolute;
	inset: 0;
	background: rgba(36, 21, 18, 0.6);
	color: white;
	font-weight: 800;
	font-family: var(--font-heading);
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0.06em;
	font-size: 15px;
}

.rest-card-offer {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: var(--mpm-primary);
	color: white;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 5px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.rest-card-distance,
.rest-card-time {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(255, 255, 255, 0.95);
	font-size: 11px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--mpm-dark);
}

.rest-card-distance i {
	color: var(--mpm-primary);
}

.rest-card-body {
	padding: 14px 16px 16px;
}

.rest-card-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
}

.rest-card-rating {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 4px;
	background: var(--mpm-success);
	color: white;
	font-size: 11.5px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
}

.rest-card-cuisine {
	font-size: 12.5px;
	color: var(--mpm-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0 0 8px;
}

.rest-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--mpm-muted);
}

.rest-card-meta .dot {
	color: var(--mpm-border);
}

/* ================================================================
   FOOD CARD (menu items grid — same look as REST CARD, 3 per row)
   ================================================================ */
.food-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--mpm-white);
	border-radius: var(--mpm-radius-lg);
	overflow: hidden;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
	transition: transform var(--mpm-transition), box-shadow var(--mpm-transition);
}

.food-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mpm-card-shadow-hover);
}

.food-card-media {
	position: relative;
	aspect-ratio: 1/1;
	overflow: hidden;
	background: #F4EFE9;
}

.food-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}

.food-card:hover .food-card-media img {
	transform: scale(1.05);
}

.food-card-addctrl {
	z-index: 2;
}

.food-card-addctrl-desktop {
	position: absolute;
	bottom: 10px;
	right: 10px;
	display: none;
}

.food-card-addctrl .btn-add {
	font-size: 10px;
	line-height: 1;
	padding: 4px 10px !important;
}

.food-card-addctrl .qty-stepper {
	transform: scale(0.8);
	transform-origin: center;
}

.food-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 10px 10px 10px;
	gap: 4px;
}

.food-card-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 12.5px;
	margin: 0;
	line-height: 1.3;
	white-space: normal;
	overflow: visible;
}

.food-card-price {
	font-weight: 700;
	font-size: 11.5px;
	color: var(--mpm-primary);
	white-space: nowrap;
	margin: 0;
}

.food-card-desc {
	font-size: 10.5px;
	color: var(--mpm-muted);
	line-height: 1.4;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.food-card-addctrl-mobile {
	display: flex;
	justify-content: center;
	margin-top: auto;
	padding-top: 6px;
}

@media (min-width: 768px) {
	.food-card-media {
		aspect-ratio: 4/3;
	}

	.food-card-addctrl-desktop {
		display: block;
	}

	.food-card-addctrl-mobile {
		display: none;
	}

	.food-card-body {
		padding: 14px 16px 16px;
		gap: 6px;
	}

	.food-card-name {
		font-size: 15.5px;
		line-height: 1.3;
	}

	.food-card-price {
		font-size: 14px;
	}

	.food-card-desc {
		font-size: 12.5px;
		line-height: 1.5;
	}

	.food-card-addctrl .btn-add {
		font-size: 13px;
		padding: 4px 12px !important;
	}

	.food-card-addctrl .qty-stepper {
		transform: none;
	}
}

/* ================================================================
   RESTAURANT CARD (legacy — still used by search/favorites pages)
   ================================================================ */
.restaurant-card {
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	overflow: hidden;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
	transition: transform var(--mpm-transition), box-shadow var(--mpm-transition);
	cursor: pointer;
	text-decoration: none;
	display: block;
	color: inherit;
}

.restaurant-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--mpm-card-shadow-hover);
	color: inherit;
}

.restaurant-card.closed {
	opacity: 0.7;
}

.rc-image-wrap {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
}

.rc-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.restaurant-card:hover .rc-image-wrap img {
	transform: scale(1.04);
}

/* Status Badge */
.rc-status {
	position: absolute;
	bottom: 10px;
	left: 10px;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 50px;
	letter-spacing: 0.5px;
	font-family: var(--font-body);
}

.rc-status.open {
	background: var(--mpm-success);
	color: white;
}

.rc-status.closed {
	background: #555;
	color: white;
}

/* Offer Badge */
.rc-offer {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--mpm-primary);
	color: white;
	font-size: 10.5px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 50px;
	font-family: var(--font-body);
}

/* Favorite Button */
.rc-fav-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.90);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 15px;
	color: var(--mpm-muted);
	transition: all var(--mpm-transition);
	backdrop-filter: blur(4px);
}

.rc-fav-btn:hover,
.rc-fav-btn.active {
	color: #E53935;
}

.rc-fav-btn.active i::before {
	content: "\F415";
}

/* filled heart */

/* Card Body */
.rc-body {
	padding: 14px;
}

.rc-name {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--mpm-dark);
}

.rc-cats {
	font-size: 12.5px;
	color: var(--mpm-muted);
	margin-bottom: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rc-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	color: var(--mpm-dark);
	font-weight: 500;
	flex-wrap: wrap;
}

.rc-meta .sep {
	color: var(--mpm-border);
}

.rc-rating {
	display: flex;
	align-items: center;
	gap: 3px;
	background: #F5FAF5;
	color: var(--mpm-success);
	font-weight: 700;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 6px;
	border: 1px solid #C8E6C9;
}

.rc-price {
	font-size: 12px;
	color: var(--mpm-muted);
	margin-top: 6px;
}

/* ================================================================
   DISH CARD (Menu) — vertical layout: photo → name → price → add btn
   ================================================================ */
.dish-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--mpm-white);
	border: 1px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	padding: 0 12px 44px;
	min-height: 260px;
	height: 100%;
	transition: box-shadow var(--mpm-transition), transform var(--mpm-transition);
}

.dish-card:hover {
	box-shadow: var(--mpm-card-shadow);
	transform: translateY(-2px);
}

.dish-card-media {
	position: relative;
	width: calc(100% + 24px);
	margin: 0 -12px;
	background: #F4EFE9;
	border-radius: var(--mpm-radius) var(--mpm-radius) 0 0;
	overflow: hidden;
}

.dish-card-media img {
	width: 100%;
	height: 150px;
	object-fit: contain;
	display: block;
}

.veg-dot {
	position: absolute;
	top: 8px;
	left: 8px;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	border: 1.5px solid;
	background: var(--mpm-white);
}

.veg-dot.veg {
	border-color: var(--mpm-success);
	background: var(--mpm-success);
}

.veg-dot.nonveg {
	border-color: #A83232;
	background: #A83232;
}

.dish-card-info {
	width: 100%;
	padding-top: 10px;
}

.dish-card-name {
	font-family: var(--font-heading);
	font-size: 14.5px;
	font-weight: 700;
	color: var(--mpm-dark);
	margin-bottom: 6px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dish-card-info .price {
	font-size: 14px;
	font-weight: 700;
	color: var(--mpm-primary);
}

.dish-card-desc {
	font-size: 12.5px;
	color: var(--mpm-muted);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dish-card-addctrl {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	width: auto;
	z-index: 2;
}

/* ================================================================
   DISH ROW — horizontal menu list (thumbnail left, ADD button right)
   ================================================================ */
.dish-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dish-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 14px;
	background: var(--mpm-white);
	border: 1px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	box-shadow: var(--mpm-card-shadow);
	transition: box-shadow var(--mpm-transition), transform var(--mpm-transition);
}

.dish-row:hover {
	box-shadow: var(--mpm-card-shadow-hover);
	transform: translateY(-2px);
}

.dish-row-info {
	flex: 1;
	min-width: 0;
}

.dish-row-name {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-size: 15.5px;
	font-weight: 700;
	color: var(--mpm-dark);
	margin-bottom: 4px;
}

.dish-row-desc {
	font-size: 12.5px;
	color: var(--mpm-muted);
	line-height: 1.5;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dish-row-price {
	font-size: 14px;
}

.dish-row-media-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 96px;
	flex-shrink: 0;
}

.dish-row-media {
	position: relative;
	width: 96px;
	height: 96px;
	border-radius: var(--mpm-radius-sm);
	overflow: hidden;
	background: #F4EFE9;
}

.dish-row-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dish-row-media .veg-dot {
	top: 6px;
	left: 6px;
}

.dish-row-media-wrap .dish-card-addctrl {
	position: static;
	transform: none;
	width: 100%;
	display: flex;
	justify-content: center;
}

.dish-row-media-wrap .btn-add,
.dish-row-media-wrap .qty-stepper {
	width: 100%;
	justify-content: center;
}

@media (max-width: 480px) {
	.dish-row {
		padding: 11px;
		gap: 12px;
	}

	.dish-row-media,
	.dish-row-media-wrap {
		width: 80px;
	}

	.dish-row-media {
		height: 80px;
	}

	.dish-row-name {
		font-size: 14.5px;
	}
}

/* ================================================================
   RESTAURANT HERO + STAT BAR + SEARCH (redesigned)
   ================================================================ */
.rest-hero {
	position: relative;
	height: 260px;
	overflow: hidden;
	border-radius: 0 0 24px 24px;
}

.rest-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rest-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(36, 21, 18, 0.92), rgba(36, 21, 18, 0.15) 55%, transparent);
}

.rest-hero-info {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 18px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.rest-hero-name {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 24px;
	color: white;
	margin: 0 0 4px;
	letter-spacing: -0.01em;
}

.rest-hero-cuisine {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	margin: 0 0 8px;
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rest-hero-status {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 4px 11px;
	border-radius: 50px;
}

.rest-hero-status.is-open {
	background: var(--mpm-success);
	color: white;
}

.rest-hero-status.is-closed {
	background: #6b4c48;
	color: white;
}

.rest-hero-fav {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mpm-dark);
	font-size: 17px;
	cursor: pointer;
	transition: transform var(--mpm-transition);
}

.rest-hero-fav:hover {
	transform: scale(1.08);
}

.rest-hero-fav.active,
.rest-hero-fav.active i {
	color: #C62828;
}

.rest-stat-bar {
	display: flex;
	background: var(--mpm-white);
	border: 1px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	box-shadow: var(--mpm-card-shadow);
	overflow: hidden;
}

.rest-stat {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-right: 1px solid var(--mpm-border);
	min-width: 0;
}

.rest-stat:last-child {
	border-right: none;
}

.rest-stat i {
	color: var(--mpm-gold);
	font-size: 17px;
	flex-shrink: 0;
}

.rest-stat>div {
	min-width: 0;
	flex: 1;
	overflow: hidden;
}

.rest-stat strong {
	display: block;
	font-size: 14px;
	color: var(--mpm-dark);
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.rest-stat span {
	font-size: 11px;
	color: var(--mpm-muted);
	white-space: nowrap;
}

.rest-stat-address {
	min-width: 0;
}

.rest-stat-address strong {
	max-width: 100%;
}

@media (max-width: 480px) {
	.rest-stat {
		padding: 10px 8px;
		gap: 6px;
	}

	.rest-stat i {
		font-size: 14px;
	}

	.rest-stat strong {
		font-size: 12px;
	}

	.rest-stat span {
		font-size: 9.5px;
	}
}

.rest-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--mpm-white);
	border: 1px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	padding: 13px 18px;
	box-shadow: var(--mpm-card-shadow);
}

.rest-search i {
	color: var(--mpm-muted);
}

.rest-search input {
	border: none;
	outline: none;
	flex: 1;
	font-family: var(--font-body);
	font-size: 14.5px;
	background: transparent;
	color: var(--mpm-dark);
}

/* ADD Button */
.btn-add {
	background: var(--mpm-white);
	border: 1.5px solid var(--mpm-primary);
	color: var(--mpm-primary);
	font-weight: 700;
	font-size: 13px;
	padding: 5px 22px;
	border-radius: var(--mpm-radius-sm);
	cursor: pointer;
	transition: all var(--mpm-transition);
	font-family: var(--font-body);
	white-space: nowrap;
}

.btn-add:hover {
	background: var(--mpm-primary);
	color: white;
}

/* Quantity Stepper */
.qty-stepper {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1.5px solid var(--mpm-primary);
	border-radius: var(--mpm-radius-sm);
	overflow: hidden;
	background: var(--mpm-white);
}

.qty-btn {
	width: 30px;
	height: 32px;
	background: none;
	border: none;
	color: var(--mpm-primary);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--mpm-transition);
	line-height: 1;
}

.qty-btn:hover {
	background: var(--mpm-primary-light);
}

.qty-val {
	min-width: 28px;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	font-family: var(--font-body);
	color: var(--mpm-primary);
	border-left: 1px solid var(--mpm-border);
	border-right: 1px solid var(--mpm-border);
	padding: 0 4px;
	line-height: 32px;
}

/* ================================================================
   RESTAURANT DETAIL HEADER
   ================================================================ */
.restaurant-hero {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
}

.restaurant-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.restaurant-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.restaurant-info-card {
	background: var(--mpm-white);
	border-radius: 0 0 var(--mpm-radius-lg) var(--mpm-radius-lg);
	padding: 20px;
	box-shadow: var(--mpm-card-shadow);
	margin-bottom: 8px;
}

.restaurant-info-card .rest-name {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 4px;
}

.restaurant-info-card .rest-cats {
	font-size: 13px;
	color: var(--mpm-muted);
	margin-bottom: 12px;
}

.rest-meta-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rest-meta-pill {
	display: flex;
	align-items: center;
	gap: 5px;
	background: var(--mpm-bg);
	border: 1px solid var(--mpm-border);
	border-radius: 50px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--mpm-dark);
	font-family: var(--font-body);
}

.rest-meta-pill i {
	font-size: 13px;
	color: var(--mpm-primary);
}

/* ================================================================
   MENU STICKY CATEGORY NAV
   ================================================================ */
.menu-cat-nav {
	position: sticky;
	top: var(--header-h-desktop);
	z-index: 100;
	background: var(--mpm-white);
	border-bottom: 1px solid var(--mpm-border);
	overflow-x: auto;
	scrollbar-width: none;
}

.menu-cat-nav::-webkit-scrollbar {
	display: none;
}

.menu-cat-nav-inner {
	display: flex;
	gap: 0;
	padding: 0 16px;
	width: max-content;
	min-width: 100%;
}

.menu-cat-btn {
	padding: 14px 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--mpm-muted);
	background: none;
	border: none;
	border-bottom: 2.5px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: all var(--mpm-transition);
	font-family: var(--font-body);
}

.menu-cat-btn:hover {
	color: var(--mpm-primary);
}

.menu-cat-btn.active {
	color: var(--mpm-primary);
	border-bottom-color: var(--mpm-primary);
}

/* Menu Section */
.menu-section-heading {
	font-family: var(--font-heading);
	font-size: 17px;
	font-weight: 700;
	color: var(--mpm-dark);
	padding: 20px 0 8px;
	border-bottom: 2px solid var(--mpm-primary-light);
	margin-bottom: 0;
}

/* ================================================================
   FOOD CUSTOMIZATION OFFCANVAS
   ================================================================ */
.offcanvas.offcanvas-bottom {
	border-radius: var(--mpm-radius-lg) var(--mpm-radius-lg) 0 0;
	max-height: 90vh;
}

.offcanvas-header {
	border-bottom: 1px solid var(--mpm-border);
}

.addon-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--mpm-border);
	font-family: var(--font-body);
}

.addon-option:last-child {
	border-bottom: none;
}

.addon-name {
	font-size: 14px;
	font-weight: 500;
	color: var(--mpm-dark);
}

.addon-price {
	font-size: 13px;
	color: var(--mpm-muted);
}

.addon-option .form-check-input:checked {
	background-color: var(--mpm-primary);
	border-color: var(--mpm-primary);
}

/* ================================================================
   CART PAGE
   ================================================================ */
.cart-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	margin-bottom: 10px;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
}

.cart-item-img {
	width: 64px;
	height: 56px;
	border-radius: var(--mpm-radius-sm);
	object-fit: cover;
	flex-shrink: 0;
}

.cart-item-info {
	flex: 1;
	min-width: 0;
}

.cart-item-name {
	font-family: var(--font-heading);
	font-size: 14.5px;
	font-weight: 600;
	margin-bottom: 2px;
}

.cart-item-addons {
	font-size: 11.5px;
	color: var(--mpm-muted);
}

.cart-item-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.cart-item-price {
	font-weight: 700;
	font-size: 15px;
	font-family: var(--font-body);
}

/* Price Summary Card */
.price-summary-card {
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	padding: 20px;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
}

.price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	font-size: 14px;
	border-bottom: 1px solid var(--mpm-border);
}

.price-row:last-child {
	border-bottom: none;
}

.price-row.total {
	font-weight: 700;
	font-size: 16px;
	padding-top: 12px;
	color: var(--mpm-dark);
}

.price-row .free {
	color: var(--mpm-success);
	font-weight: 600;
}

/* Coupon Input */
.coupon-input-wrap {
	display: flex;
	gap: 10px;
	align-items: center;
	background: var(--mpm-white);
	border: 1.5px dashed var(--mpm-primary);
	border-radius: var(--mpm-radius);
	padding: 14px 16px;
}

.coupon-input-wrap input {
	flex: 1;
	border: none;
	outline: none;
	font-family: var(--font-body);
	font-size: 14px;
	background: transparent;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.coupon-input-wrap input::placeholder {
	text-transform: none;
	letter-spacing: 0;
	color: var(--mpm-muted);
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
.address-card {
	background: var(--mpm-white);
	border: 2px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	padding: 16px;
	cursor: pointer;
	transition: all var(--mpm-transition);
	margin-bottom: 12px;
	position: relative;
}

.address-card:hover {
	border-color: var(--mpm-primary);
}

.address-card.selected {
	border-color: var(--mpm-primary);
	background: var(--mpm-primary-light);
}

.address-card .addr-type {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 3px;
	display: flex;
	align-items: center;
	gap: 7px;
}

.address-card .addr-type i {
	font-size: 15px;
	color: var(--mpm-primary);
}

.address-card .addr-detail {
	font-size: 13px;
	color: var(--mpm-muted);
	line-height: 1.5;
}

.address-card .addr-radio {
	position: absolute;
	top: 16px;
	right: 16px;
}

/* ================================================================
   PAYMENT PAGE
   ================================================================ */
.payment-option {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--mpm-white);
	border: 2px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	padding: 16px;
	cursor: pointer;
	transition: all var(--mpm-transition);
	margin-bottom: 10px;
}

.payment-option:hover {
	border-color: var(--mpm-primary);
}

.payment-option.selected {
	border-color: var(--mpm-primary);
	background: var(--mpm-primary-light);
}

.payment-option .pay-icon {
	width: 44px;
	height: 44px;
	border-radius: var(--mpm-radius-sm);
	background: var(--mpm-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}

.payment-option .pay-label {
	font-weight: 600;
	font-size: 15px;
	font-family: var(--font-heading);
}

.payment-option .pay-desc {
	font-size: 12px;
	color: var(--mpm-muted);
}

.payment-option .pay-radio {
	margin-left: auto;
	flex-shrink: 0;
}

.form-check-input:checked {
	background-color: var(--mpm-primary) !important;
	border-color: var(--mpm-primary) !important;
}

/* ================================================================
   ORDER TRACKING
   ================================================================ */
.tracking-steps {
	position: relative;
	padding-left: 32px;
}

.tracking-steps::before {
	content: '';
	position: absolute;
	left: 12px;
	top: 20px;
	bottom: 20px;
	width: 2px;
	background: var(--mpm-border);
}

.tracking-step {
	position: relative;
	margin-bottom: 28px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.tracking-step:last-child {
	margin-bottom: 0;
}

.step-dot {
	position: absolute;
	left: -26px;
	top: 4px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--mpm-border);
	border: 3px solid var(--mpm-white);
	box-shadow: 0 0 0 2px var(--mpm-border);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step-dot.done {
	background: var(--mpm-success);
	box-shadow: 0 0 0 2px var(--mpm-success);
}

.step-dot.active {
	background: var(--mpm-primary);
	box-shadow: 0 0 0 2px var(--mpm-primary);
	animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

	0%,
	100% {
		box-shadow: 0 0 0 2px var(--mpm-primary);
	}

	50% {
		box-shadow: 0 0 0 6px rgba(122, 32, 72, 0.20);
	}
}

.step-dot i {
	color: white;
	font-size: 11px;
}

.step-label {
	font-weight: 600;
	font-size: 14.5px;
	font-family: var(--font-heading);
}

.step-desc {
	font-size: 12.5px;
	color: var(--mpm-muted);
	margin-top: 2px;
}

.step-time {
	font-size: 11.5px;
	color: var(--mpm-muted);
	margin-top: 2px;
}

/* Simple decorative "route" map — a lightweight stand-in for a real map
   embed, styled to echo the route-line mock in the reference screenshots. */
.tracking-map {
	position: relative;
	height: 170px;
	border-radius: var(--mpm-radius);
	overflow: hidden;
	background:
		linear-gradient(135deg, #F3EFE6 25%, transparent 25%) -10px 0/20px 20px,
		linear-gradient(225deg, #F3EFE6 25%, transparent 25%) -10px 0/20px 20px,
		linear-gradient(315deg, #F3EFE6 25%, transparent 25%) 0px 0/20px 20px,
		linear-gradient(45deg, #F3EFE6 25%, #EFE9DC 25%) 0px 0/20px 20px;
	border: 1px solid var(--mpm-border);
}

.tracking-map svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.tracking-map-pin {
	position: absolute;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 14px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
	transform: translate(-50%, -50%);
}

.tracking-map-pin.start {
	background: var(--mpm-dark);
	top: 30%;
	left: 14%;
}

.tracking-map-pin.end {
	background: var(--mpm-success);
	top: 28%;
	left: 86%;
}

.tracking-map-pin.rider {
	background: var(--mpm-primary);
	top: 62%;
	left: 52%;
	animation: pulse-dot 1.6s infinite;
}

/* ================================================================
   ORDER HISTORY
   ================================================================ */
.order-card {
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	padding: 16px;
	margin-bottom: 12px;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
}

.order-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.order-rest-name {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 700;
}

.order-status-badge {
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 50px;
	font-family: var(--font-body);
}

.badge-delivered {
	background: #E8F5E9;
	color: var(--mpm-success);
}

.badge-cancelled {
	background: #FFEBEE;
	color: #C62828;
}

.badge-preparing {
	background: #FFF3E0;
	color: #E65100;
}

.badge-placed {
	background: var(--mpm-primary-light);
	color: var(--mpm-primary);
}

.badge-out {
	background: #E3F2FD;
	color: #1565C0;
}

.order-items-summary {
	font-size: 13px;
	color: var(--mpm-muted);
	margin-bottom: 8px;
}

.order-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
}

.order-total {
	font-weight: 700;
	font-size: 15px;
}

.order-date {
	font-size: 12px;
	color: var(--mpm-muted);
}

/* ================================================================
   PROFILE PAGE
   ================================================================ */
.profile-avatar-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 28px;
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	box-shadow: var(--mpm-card-shadow);
	margin-bottom: 20px;
}

.profile-avatar {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--mpm-primary);
}

.profile-name {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
}

.profile-phone {
	font-size: 13.5px;
	color: var(--mpm-muted);
}

.settings-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	margin-bottom: 8px;
	text-decoration: none;
	color: var(--mpm-dark);
	font-weight: 500;
	font-size: 14.5px;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
	transition: all var(--mpm-transition);
}

.settings-link:hover {
	border-color: var(--mpm-primary);
	color: var(--mpm-primary);
}

.settings-link .s-icon {
	width: 40px;
	height: 40px;
	background: var(--mpm-primary-light);
	border-radius: var(--mpm-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--mpm-primary);
	flex-shrink: 0;
}

.settings-link .s-chevron {
	margin-left: auto;
	color: var(--mpm-muted);
}

/* ================================================================
   OFFERS PAGE
   ================================================================ */
.offer-card {
	background: linear-gradient(135deg, var(--mpm-primary) 0%, #FF8A00 100%);
	color: white;
	border-radius: var(--mpm-radius);
	padding: 20px;
	margin-bottom: 14px;
	position: relative;
	overflow: hidden;
}

.offer-card::before {
	content: '';
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.10);
	border-radius: 50%;
}

.offer-card::after {
	content: '';
	position: absolute;
	right: 10px;
	top: -20px;
	width: 100px;
	height: 100px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 50%;
}

.offer-code {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.offer-desc {
	font-size: 13px;
	opacity: 0.9;
	margin-bottom: 12px;
}

.offer-expiry {
	font-size: 11px;
	opacity: 0.75;
}

.btn-copy-code {
	background: rgba(255, 255, 255, 0.20);
	border: 1.5px solid rgba(255, 255, 255, 0.40);
	color: white;
	padding: 7px 18px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all var(--mpm-transition);
	font-family: var(--font-body);
	position: relative;
	z-index: 1;
}

.btn-copy-code:hover {
	background: rgba(255, 255, 255, 0.30);
}

/* ================================================================
   NOTIFICATIONS PAGE
   ================================================================ */
.notif-item {
	display: flex;
	gap: 14px;
	padding: 14px 16px;
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	margin-bottom: 8px;
	border: 1px solid var(--mpm-border);
	box-shadow: var(--mpm-card-shadow);
	transition: all var(--mpm-transition);
}

.notif-item.unread {
	border-left: 3px solid var(--mpm-primary);
	background: var(--mpm-primary-light);
}

.notif-icon {
	width: 42px;
	height: 42px;
	border-radius: var(--mpm-radius-sm);
	background: var(--mpm-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--mpm-primary);
	flex-shrink: 0;
}

.notif-title {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 2px;
	font-family: var(--font-heading);
}

.notif-msg {
	font-size: 13px;
	color: var(--mpm-muted);
}

.notif-time {
	font-size: 11px;
	color: var(--mpm-muted);
	margin-top: 4px;
}

/* ================================================================
   SEARCH RESULTS — compact list rows (restaurants + dishes)
   ================================================================ */
.search-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: var(--mpm-white);
	border: 1px solid var(--mpm-border);
	border-radius: var(--mpm-radius);
	margin-bottom: 10px;
	text-decoration: none;
	color: inherit;
	transition: all var(--mpm-transition);
}

.search-row:hover {
	border-color: var(--mpm-primary);
	box-shadow: var(--mpm-card-shadow);
	color: inherit;
}

.search-row-media {
	position: relative;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	border-radius: var(--mpm-radius-sm);
	overflow: hidden;
	background: #F4EFE9;
}

.search-row-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.search-row-info {
	flex: 1;
	min-width: 0;
}

.search-row-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14.5px;
	margin-bottom: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-row-sub {
	font-size: 12px;
	color: var(--mpm-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-row-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--mpm-muted);
	margin-top: 3px;
}

.search-row-side {
	flex-shrink: 0;
	text-align: right;
}

/* ================================================================
   SEARCH PAGE
   ================================================================ */
.search-suggestion-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: var(--mpm-white);
	border: 1px solid var(--mpm-border);
	border-radius: 50px;
	font-size: 13px;
	color: var(--mpm-dark);
	cursor: pointer;
	transition: all var(--mpm-transition);
	margin: 4px 4px 4px 0;
	font-family: var(--font-body);
	font-weight: 500;
}

.search-suggestion-chip:hover {
	border-color: var(--mpm-primary);
	background: var(--mpm-primary-light);
	color: var(--mpm-primary);
}

/* ================================================================
   BUTTONS — GLOBAL
   ================================================================ */
.btn-mpm-primary {
	background: var(--mpm-primary);
	color: white;
	border: none;
	border-radius: var(--mpm-radius);
	padding: 14px 28px;
	font-weight: 700;
	font-size: 15px;
	font-family: var(--font-body);
	cursor: pointer;
	width: 100%;
	transition: all var(--mpm-transition);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-mpm-primary:hover {
	background: var(--mpm-primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(122, 32, 72, 0.30);
}

.btn-mpm-primary:active {
	transform: translateY(0);
}

.btn-mpm-outline {
	background: transparent;
	color: var(--mpm-primary);
	border: 2px solid var(--mpm-primary);
	border-radius: var(--mpm-radius);
	padding: 12px 24px;
	font-weight: 700;
	font-size: 14px;
	font-family: var(--font-body);
	cursor: pointer;
	width: 100%;
	transition: all var(--mpm-transition);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-mpm-outline.collapsed {
	display: flex;
	margin: 0 auto;
}

.btn-mpm-outline:hover {
	background: var(--mpm-primary);
	color: white;
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 24px;
	text-align: center;
}

.empty-state-icon {
	font-size: 64px;
	color: var(--mpm-border);
	margin-bottom: 16px;
}

.empty-state-title {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 8px;
}

.empty-state-desc {
	font-size: 14px;
	color: var(--mpm-muted);
	margin-bottom: 24px;
}

/* ================================================================
   TOAST
   ================================================================ */
.mpm-toast-container {
	position: fixed;
	bottom: 90px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2000;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}

.mpm-toast {
	background: var(--mpm-dark);
	color: white;
	padding: 10px 20px;
	border-radius: 50px;
	font-size: 13.5px;
	font-weight: 500;
	font-family: var(--font-body);
	white-space: nowrap;
	animation: toast-in 0.3s ease forwards;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.mpm-toast.fade-out {
	animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes toast-out {
	from {
		opacity: 1;
		transform: translateY(0);
	}

	to {
		opacity: 0;
		transform: translateY(-8px);
	}
}

/* ================================================================
   FOOTER
   ================================================================ */
.mpm-footer {
	background: var(--mpm-dark);
	color: rgba(255, 255, 255, 0.70);
	padding: 48px 0 28px;

}

.footer-logo-text {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 800;
	color: white;
	margin-bottom: 8px;
}

.footer-logo-text span {
	color: var(--mpm-primary);
}

.footer-tagline {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 20px;
}

.footer-heading {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	color: white;
	margin-bottom: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 8px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.60);
	font-size: 13.5px;
	text-decoration: none;
	transition: color var(--mpm-transition);
}

.footer-links a:hover {
	color: var(--mpm-primary);
}

.footer-divider {
	border-color: rgba(255, 255, 255, 0.10);
	margin: 28px 0 20px;
}

.footer-bottom {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.40);
}

.footer-social {
	display: flex;
	gap: 12px;
}

.social-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.60);
	font-size: 16px;
	text-decoration: none;
	transition: all var(--mpm-transition);
}

.social-btn:hover {
	background: var(--mpm-primary);
	color: white;
}

/* ================================================================
   MISC UTILITIES
   ================================================================ */
.section-sep {
	height: 10px;
	background: var(--mpm-bg);
	margin: 0 -16px;
}

.card-white {
	background: var(--mpm-white);
	border-radius: var(--mpm-radius);
	padding: 20px;
	box-shadow: var(--mpm-card-shadow);
	border: 1px solid var(--mpm-border);
	margin-bottom: 16px;
}

.page-hero-banner {
	background: linear-gradient(135deg, var(--mpm-primary) 0%, #FF8A00 100%);
	color: white;
	padding: 28px 20px;
	border-radius: var(--mpm-radius);
	margin-bottom: 24px;
}

.page-hero-banner h2 {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 800;
	color: white;
}

.page-hero-banner p {
	font-size: 13px;
	opacity: 0.85;
}

/* Tabs */
.mpm-tabs {
	display: flex;
	border-bottom: 2px solid var(--mpm-border);
	margin-bottom: 20px;
	overflow-x: auto;
	scrollbar-width: none;
}

.mpm-tabs::-webkit-scrollbar {
	display: none;
}

.mpm-tab-btn {
	padding: 12px 20px;
	font-weight: 600;
	font-size: 14px;
	border: none;
	background: none;
	color: var(--mpm-muted);
	border-bottom: 2.5px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	margin-bottom: -2px;
	transition: all var(--mpm-transition);
	font-family: var(--font-body);
}

.mpm-tab-btn.active {
	color: var(--mpm-primary);
	border-bottom-color: var(--mpm-primary);
}

.mpm-tab-pane {
	display: none;
}

.mpm-tab-pane.active {
	display: block;
}

/* Back button */
.back-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mpm-dark);
	background: var(--mpm-white);
	border: 1px solid var(--mpm-border);
	border-radius: 50px;
	padding: 8px 16px;
	cursor: pointer;
	text-decoration: none;
	transition: all var(--mpm-transition);
	font-family: var(--font-body);
	margin-bottom: 16px;
}

.back-btn:hover {
	border-color: var(--mpm-primary);
	color: var(--mpm-primary);
}

/* ================================================================
   ORDER SUCCESS
   ================================================================ */
.success-icon-wrap {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #E8F5E9;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 44px;
	color: var(--mpm-success);
	margin: 0 auto 20px;
	animation: success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes success-pop {
	0% {
		transform: scale(0);
		opacity: 0;
	}

	80% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/* OTP digit boxes (verify_otp.php) */
.otp-boxes {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.otp-box {
	width: 44px;
	height: 52px;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	font-family: var(--font-price);
	border: 1.5px solid var(--mpm-border);
	border-radius: var(--mpm-radius-sm);
	outline: none;
	color: var(--mpm-dark);
	transition: border-color var(--mpm-transition), box-shadow var(--mpm-transition);
}

.otp-box:focus {
	border-color: var(--mpm-primary);
	box-shadow: 0 0 0 3px rgba(122, 32, 72, 0.12);
}

@media (max-width: 380px) {
	.otp-box {
		width: 38px;
		height: 46px;
		font-size: 18px;
	}

	.otp-boxes {
		gap: 6px;
	}
}

/* Input Forms */
.mpm-input {
	border: 1.5px solid var(--mpm-border);
	border-radius: var(--mpm-radius-sm);
	padding: 12px 14px;
	font-family: var(--font-body);
	font-size: 14px;
	width: 100%;
	outline: none;
	transition: border-color var(--mpm-transition), box-shadow var(--mpm-transition);
	background: var(--mpm-white);
	color: var(--mpm-dark);
}

.mpm-input:focus {
	border-color: var(--mpm-primary);
	box-shadow: 0 0 0 3px rgba(122, 32, 72, 0.12);
}

.mpm-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--mpm-dark);
	margin-bottom: 6px;
	display: block;
	font-family: var(--font-body);
}

.form-group {
	margin-bottom: 16px;
}

/* Bootstrap form-control override */
.form-control:focus {
	border-color: var(--mpm-primary) !important;
	box-shadow: 0 0 0 3px rgba(122, 32, 72, 0.12) !important;
}

.form-select:focus {
	border-color: var(--mpm-primary) !important;
	box-shadow: 0 0 0 3px rgba(122, 32, 72, 0.12) !important;
}

.btn-primary {
	background-color: var(--mpm-primary) !important;
	border-color: var(--mpm-primary) !important;
}

.btn-primary:hover {
	background-color: var(--mpm-primary-dark) !important;
	border-color: var(--mpm-primary-dark) !important;
}