.rmm-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	font-family: inherit;
}

.rmm-wrapper,
.rmm-wrapper *,
.rmm-wrapper *::before,
.rmm-wrapper *::after {
	box-sizing: border-box;
}

/* ---------- Sticky header (search + scrollable category tabs) ---------- */

.rmm-sticky-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	padding: 14px 0 10px;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

.rmm-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.rmm-search {
	flex: 1 1 220px;
	padding: 11px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	color: #222;
	background: #fafafa;
	transition: border-color 0.2s, background 0.2s;
}

.rmm-search:focus {
	outline: none;
	border-color: #c0392b;
	background: #fff;
}

.rmm-tabs-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.rmm-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	padding-bottom: 4px;
}

.rmm-tab {
	border: 1px solid #ddd;
	background: #fff;
	color: #333 !important;
	padding: 9px 18px;
	border-radius: 20px;
	cursor: pointer;
	font-size: 14px;
	white-space: nowrap;
	flex-shrink: 0;
	line-height: 1.4;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.rmm-tab:hover {
	border-color: #c0392b;
	color: #333 !important;
	transform: translateY(-1px);
}

.rmm-tab.active,
.rmm-tab.active:hover {
	background: #c0392b;
	color: #fff !important;
	border-color: #c0392b;
}

.rmm-veg-filter {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.rmm-veg-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1.5px solid #ddd;
	border-radius: 20px;
	background: #fff;
	color: #333;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.rmm-veg-icon {
	width: 12px;
	height: 12px;
	border: 1.5px solid;
	border-radius: 3px;
	position: relative;
	flex-shrink: 0;
}

.rmm-veg-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.rmm-veg-icon-veg {
	border-color: #2e7d32;
}

.rmm-veg-icon-veg::after {
	background: #2e7d32;
}

.rmm-veg-icon-nonveg {
	border-color: #8b0000;
}

.rmm-veg-icon-nonveg::after {
	background: #8b0000;
	border-radius: 0;
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
	width: 8px;
	height: 8px;
}

.rmm-veg-btn.active {
	color: #fff;
}

.rmm-veg-btn[data-veg="veg"].active {
	background: #2e7d32;
	border-color: #2e7d32;
}

.rmm-veg-btn[data-veg="nonveg"].active {
	background: #8b0000;
	border-color: #8b0000;
}

.rmm-veg-btn.active .rmm-veg-icon {
	border-color: #fff;
}

.rmm-veg-btn.active .rmm-veg-icon::after {
	background: #fff;
}

/* ---------- Category sections ---------- */

.rmm-cat-section {
	scroll-margin-top: 90px;
	margin-bottom: 36px;
	animation: rmm-fade-in 0.4s ease both;
}

.rmm-cat-heading {
	font-size: 21px;
	font-weight: 700;
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #f2c4b8;
	color: #222;
}

@keyframes rmm-fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.rmm-grid {
	display: grid;
	grid-template-columns: repeat(var(--rmm-columns, 3), 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.rmm-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.rmm-grid {
		grid-template-columns: 1fr;
	}
	.rmm-controls {
		flex-direction: column;
		align-items: stretch;
	}
	.rmm-sticky-header {
		padding-top: 10px;
	}
	.rmm-search {
		flex: 0 0 auto;
		width: 100%;
		height: 42px;
		padding: 0 14px;
		font-size: 14px;
		border-radius: 6px;
	}
	.rmm-veg-filter {
		width: 100%;
	}
	.rmm-veg-btn {
		flex: 1;
		justify-content: center;
		padding: 8px 10px;
	}
}

/* ---------- Food cards ---------- */

.rmm-card {
	border: 1px solid #eee;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	transition: box-shadow 0.25s, transform 0.25s;
}

.rmm-card:hover {
	box-shadow: 0 10px 24px rgba(0,0,0,0.10);
	transform: translateY(-3px);
}

.rmm-photo {
	position: relative;
}

.rmm-photo img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.rmm-photo-skeleton {
	width: 100%;
	height: 180px;
	background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
	background-size: 400% 100%;
	animation: rmm-shimmer 1.4s ease infinite;
}

@keyframes rmm-shimmer {
	0% { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}

.rmm-badge-ribbon {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: #fff !important;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.rmm-badge-popular   { background: #e67e22; }
.rmm-badge-new       { background: #2e7d32; }
.rmm-badge-chef_special { background: #6c3483; }

.rmm-info {
	padding: 14px 16px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.rmm-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.rmm-title {
	font-size: 17px;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
	color: #222;
}

.rmm-veg-dot {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	border: 2px solid;
	flex-shrink: 0;
}

.rmm-veg-veg {
	border-color: #2e7d32;
	background: #2e7d32;
}

.rmm-veg-nonveg {
	border-color: #c0392b;
	background: #c0392b;
}

.rmm-veg-egg {
	border-color: #d68910;
	background: #d68910;
}

.rmm-meta-row {
	display: flex;
	gap: 14px;
	font-size: 12.5px;
	color: #777;
	margin-top: 6px;
}

.rmm-rating {
	color: #b7791f;
	font-weight: 600;
}

.rmm-desc {
	font-size: 14px;
	color: #666;
	margin: 8px 0 12px;
	line-height: 1.5;
}

/* ---------- Variants & add-ons ---------- */

.rmm-variants,
.rmm-addons {
	margin: 6px 0 12px;
}

.rmm-option-label {
	font-size: 12px;
	font-weight: 600;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 6px;
}

.rmm-variant-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rmm-variant-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 20px;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.rmm-variant-pill:has(input:checked) {
	border-color: #c0392b;
	background: #fdf1ee;
	color: #c0392b;
}

.rmm-addon-check {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #444;
	padding: 4px 0;
	cursor: pointer;
}

/* ---------- Price row ---------- */

.rmm-bottom-row {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
}

.rmm-price {
	font-size: 17px;
	font-weight: 700;
	color: #c0392b;
}

.rmm-soldout {
	font-size: 12px;
	color: #999;
	background: #f2f2f2;
	padding: 3px 8px;
	border-radius: 4px;
}

.rmm-empty-msg {
	text-align: center;
	color: #777;
	margin-top: 30px;
}
