/* MenuKit — Restaurant Menu styles */

.menukit {
	--menukit-accent: #c2410c;
	font-family: inherit;
	color: #1f2937;
	max-width: 900px;
	margin: 0 auto;
}

.menukit-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.menukit-tab {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #374151;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.menukit-tab:hover {
	border-color: var(--menukit-accent);
	color: var(--menukit-accent);
}

.menukit-tab-active {
	background: var(--menukit-accent);
	border-color: var(--menukit-accent);
	color: #fff;
}

.menukit-group {
	margin-bottom: 36px;
}

.menukit-group-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 4px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--menukit-accent);
}

.menukit-items {
	display: flex;
	flex-direction: column;
}

/* Shared photo rule: every photo is cropped, never stretched, in both layouts. */
.menukit-photo {
	display: block;
	object-fit: cover;
}

/* List layout */
.menukit-list .menukit-item {
	display: flex;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px dashed #d1d5db;
}

.menukit-list .menukit-item:last-child {
	border-bottom: 0;
}

.menukit-list .menukit-photo {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.menukit-item-body {
	flex: 1;
	min-width: 0;
}

.menukit-item-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.menukit-item-name {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.menukit-price {
	font-size: 18px;
	font-weight: 700;
	color: var(--menukit-accent);
	white-space: nowrap;
}

.menukit-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 4px;
	padding: 2px 8px;
	margin-top: 6px;
	background: #e5e7eb;
	color: #374151;
}

.menukit-badge-veg {
	background: #dcfce7;
	color: #166534;
}

.menukit-badge-non-veg {
	background: #fee2e2;
	color: #991b1b;
}

.menukit-badge-vegan {
	background: #d1fae5;
	color: #065f46;
}

.menukit-badge-spicy {
	background: #ffedd5;
	color: #9a3412;
}

.menukit-badge-chef-special {
	background: #ede9fe;
	color: #5b21b6;
}

.menukit-item-desc {
	margin-top: 6px;
	color: #6b7280;
	font-size: 15px;
	line-height: 1.55;
}

.menukit-item-desc p {
	margin: 0 0 6px;
}

.menukit-item-desc p:last-child {
	margin-bottom: 0;
}

/* Grid layout */
.menukit-grid .menukit-items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	padding-top: 16px;
}

.menukit-grid .menukit-item {
	flex-direction: column;
	gap: 0;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.menukit-grid .menukit-photo {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.menukit-grid .menukit-item-body {
	padding: 16px;
}

.menukit-empty {
	color: #6b7280;
	font-style: italic;
}

@media (max-width: 600px) {
	.menukit-list .menukit-photo {
		width: 72px;
		height: 72px;
	}

	.menukit-group-title {
		font-size: 20px;
	}
}
