.htr-menu {
	--htr-menu-accent: #b5763a;
	max-width: 900px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #222;
}

.htr-menu-category { margin-bottom: 40px; }
.htr-menu-category-title {
	font-size: 24px;
	border-bottom: 2px solid var(--htr-menu-accent);
	padding-bottom: 8px;
	margin-bottom: 4px;
}
.htr-menu-category-desc { color: #777; margin-bottom: 20px; font-size: 14px; }
.htr-menu-empty, .htr-menu-empty-cat { color: #999; font-style: italic; }

.htr-menu-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.htr-menu-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
}
.htr-menu-item-image img { width: 100%; height: 160px; object-fit: cover; display: block; }
.htr-menu-item-body { padding: 16px; }

.htr-menu-item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.htr-menu-item-name { font-size: 17px; margin: 0; flex: 1; }
.htr-menu-item-price { font-weight: 700; color: var(--htr-menu-accent); white-space: nowrap; }
.htr-price-original { text-decoration: line-through; color: #999; font-weight: 400; margin-right: 6px; font-size: 13px; }

.htr-menu-item-desc { font-size: 14px; color: #666; margin: 8px 0; }

.htr-menu-item-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.htr-tag {
	display: inline-block;
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 10px;
	background: #f2f2f2;
	color: #555;
}
.htr-menu-item-allergens { font-size: 12px; color: #999; margin-top: 8px; }

.htr-badge { font-size: 10px; padding: 2px 7px; border-radius: 8px; margin-left: 6px; vertical-align: middle; color: #fff; }
.htr-badge-bestseller { background: #d35400; }
.htr-badge-new { background: #2e9e5b; }

/* ---------- Theme variants ---------- */

/* Modern: current default look above, slightly tighter. */
.htr-menu-theme-modern .htr-menu-item { box-shadow: 0 1px 4px rgba(0,0,0,0.05); }

/* Elegant: serif typography, thin gold rule. */
.htr-menu-theme-elegant { font-family: Georgia, "Times New Roman", serif; }
.htr-menu-theme-elegant .htr-menu-category-title { border-bottom: 1px solid var(--htr-menu-accent); text-transform: uppercase; letter-spacing: 2px; font-size: 20px; }
.htr-menu-theme-elegant .htr-menu-item { border: none; border-bottom: 1px dotted #ccc; border-radius: 0; }

/* Luxury: dark background, gold accents. */
.htr-menu-theme-luxury { background: #14110f; color: #eee; padding: 30px; border-radius: 8px; }
.htr-menu-theme-luxury .htr-menu-item { background: #1e1a17; border-color: #33291f; color: #eee; }
.htr-menu-theme-luxury .htr-menu-category-title { color: #d4af37; border-color: #d4af37; }
.htr-menu-theme-luxury .htr-menu-item-price { color: #d4af37; }
.htr-menu-theme-luxury .htr-menu-item-desc { color: #bbb; }

/* Minimal: no cards, plain list. */
.htr-menu-theme-minimal .htr-menu-items { grid-template-columns: 1fr; gap: 0; }
.htr-menu-theme-minimal .htr-menu-item { border: none; border-bottom: 1px solid #eee; border-radius: 0; flex-direction: row; align-items: center; }
.htr-menu-theme-minimal .htr-menu-item-image img { width: 70px; height: 70px; border-radius: 6px; }
.htr-menu-theme-minimal .htr-menu-category-title { border: none; font-weight: 300; font-size: 22px; }

/* Italian: warm red/green accents. */
.htr-menu-theme-italian .htr-menu-category-title { color: #8c1c13; border-color: #2e7d32; }
.htr-menu-theme-italian .htr-menu-item-price { color: #8c1c13; }

/* Japanese: minimalist red/black, generous spacing. */
.htr-menu-theme-japanese { font-family: "Helvetica Neue", Arial, sans-serif; }
.htr-menu-theme-japanese .htr-menu-category-title { color: #1a1a1a; border-color: #b31217; letter-spacing: 4px; }
.htr-menu-theme-japanese .htr-menu-item { border-radius: 0; }
.htr-menu-theme-japanese .htr-menu-item-price { color: #b31217; }

/* Steakhouse: dark wood tones. */
.htr-menu-theme-steakhouse { background: #2b1d14; color: #f0e4d7; padding: 30px; border-radius: 8px; }
.htr-menu-theme-steakhouse .htr-menu-item { background: #3a281b; border-color: #55402c; color: #f0e4d7; }
.htr-menu-theme-steakhouse .htr-menu-category-title { color: #e0a458; border-color: #e0a458; }
.htr-menu-theme-steakhouse .htr-menu-item-price { color: #e0a458; }
.htr-menu-theme-steakhouse .htr-menu-item-desc { color: #cbb89d; }

/* Ethiopian: earthy tones with bold typography. */
.htr-menu-theme-ethiopian .htr-menu-category-title { color: #7a3b12; border-color: #c98a2c; }
.htr-menu-theme-ethiopian .htr-menu-item-price { color: #c98a2c; }

/* Fast food: bright, bold, rounded. */
.htr-menu-theme-fastfood .htr-menu-category-title { color: #d62828; border-color: #f7b32b; font-weight: 800; }
.htr-menu-theme-fastfood .htr-menu-item { border-radius: 16px; border-width: 2px; }
.htr-menu-theme-fastfood .htr-menu-item-price { color: #d62828; font-size: 18px; }

/* Cafe: soft cream tones. */
.htr-menu-theme-cafe { background: #fbf5ec; padding: 30px; border-radius: 8px; }
.htr-menu-theme-cafe .htr-menu-item { background: #fff; border-color: #ecdfcb; }
.htr-menu-theme-cafe .htr-menu-category-title { color: #6b4226; border-color: #b58956; }

/* Fine dining: black/white, wide letter-spacing, no images. */
.htr-menu-theme-finedining { font-family: Georgia, serif; }
.htr-menu-theme-finedining .htr-menu-item-image { display: none; }
.htr-menu-theme-finedining .htr-menu-category-title { text-align: center; border: none; text-transform: uppercase; letter-spacing: 4px; font-size: 18px; }
.htr-menu-theme-finedining .htr-menu-items { grid-template-columns: 1fr; }
.htr-menu-theme-finedining .htr-menu-item { border: none; border-bottom: 1px solid #ddd; border-radius: 0; text-align: center; }
.htr-menu-theme-finedining .htr-menu-item-header { flex-direction: column; align-items: center; }

/* QR menu block */
.htr-qr-menu-wrapper { text-align: center; }
.htr-qr-image { border: 8px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); border-radius: 8px; }
.htr-qr-caption { font-size: 13px; color: #777; margin-top: 10px; }

@media (max-width: 480px) {
	.htr-menu-items { grid-template-columns: 1fr; }
	.htr-menu-theme-luxury, .htr-menu-theme-steakhouse, .htr-menu-theme-cafe { padding: 16px; }
}
