/**
 * Velour Menu Manager – Front-end Styles
 * Matches the official Velour single dish & tabs design specification.
 *
 * @package velour-menu
 */

/* ---- Root & Container ---- */
.vl-menu {
	--vl-gold: #C6A253;
	--vl-title: #0D1B2A;
	--vl-body: #2A2016;
	--vl-muted: rgba(42, 32, 22, .68);
	--vl-border: #D1D1D1;
	--vl-line: #D1D1D1;
	color: var(--vl-body);
	box-sizing: border-box;
}

.vl-menu *,
.vl-menu *::before,
.vl-menu *::after {
	box-sizing: border-box;
}

/* ---- Transitions (smooth hover effects) ---- */
.vl-menu__title,
.vl-menu__note,
.vl-menu__subtitle,
.vl-menu__footnote,
.vl-menu__footer,
.vl-menu__tagline,
.vl-menu__footnote-item,
.vl-item__name,
.vl-item__price,
.vl-item__desc,
.vl-item__marks,
.vl-item__marks span,
.vl-legend span,
.vl-legend b,
.vl-legend__symbol,
.vl-legend__label,
.vl-legend__sep {
	transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

/* ---- Section ---- */
.vl-menu__section {
	margin: 0px 0 30px;
}

.vl-menu__title {
	margin: 0;
	padding: 0 0 10px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 400;
	font-size: 48px;
	line-height: 1.05;
	letter-spacing: -0.5px;
	color: var(--vl-title);
	border-bottom: 1px solid var(--vl-gold);
}

.vl-menu__note {
	margin: 10px 0 0;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--vl-body);
}

/* ---- Section Case & Layout Modifiers ---- */
.vl-menu__section--upper .vl-menu__title {
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.vl-menu__section--upper .vl-item__name {
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Centered Section (e.g. Happy Hour Snacks & Frozens) */
.vl-menu__section--centered {
	text-align: center;
	margin-bottom: 40px;
}

.vl-menu__section--centered .vl-menu__title {
	text-align: center;
	border-bottom: 1px solid var(--vl-gold);
}

.vl-menu__section--centered .vl-menu__note {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

/* Box Section Layout (e.g. Happy Hour Hours) */
.vl-menu__section--box {
	border: 1px solid var(--vl-gold);
	border-radius: 8px;
	padding: 32px 36px;
	background: rgba(198, 162, 83, 0.04);
	margin: 36px 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.vl-menu__section--box .vl-menu__title {
	border-bottom: 1px solid var(--vl-gold);
	padding-bottom: 12px;
	margin-bottom: 20px;
	font-size: 36px;
	text-align: center;
}

.vl-menu__section--box .vl-menu__note {
	text-align: center;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--vl-title);
	line-height: 1.9;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--vl-gold);
}

.vl-menu__section--box .vl-item {
	padding: 14px 0;
	border-bottom: 1px dashed rgba(198, 162, 83, 0.25);
}

.vl-menu__section--box .vl-item:last-child {
	border-bottom: none;
}

/* ---- Grid ---- */
.vl-menu__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 30px;
	row-gap: 0;
	margin-top: 10px;
}

.vl-menu__grid--3col {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 30px;
}

.vl-menu__grid--1col {
	grid-template-columns: 1fr;
}

.vl-menu__grid--centered {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 36px;
	row-gap: 0;
}

.vl-menu__grid--box {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 32px;
}

/* ---- Sub-sections (e.g. Wine: Red/White/Rosé, Beers: Tap/Packaged) ---- */
.vl-menu__subsections {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 36px 40px;
	margin-top: 24px;
}

.vl-menu__subsection {
	margin-bottom: 24px;
}

.vl-menu__subtitle {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 26px;
	font-weight: 600;
	color: var(--vl-gold);
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px dashed var(--vl-border);
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

/* ---- Dish Item ---- */
.vl-item {
	padding: 22px 0;
	border-bottom: 1px solid var(--vl-border);
	position: relative;
	width: 100%;
}

/* Thumbnail Layout */
.vl-item--has-thumb {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.vl-item__thumb {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	overflow: hidden;
	border-radius: 8px;
	background-color: rgba(42, 32, 22, 0.05);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vl-item__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease, opacity 0.3s ease;
}

.vl-item:hover .vl-item__thumb {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.vl-item:hover .vl-item__img {
	transform: scale(1.05);
}

/* Item Body & Info */
.vl-item__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
}

.vl-item__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vl-item__head {
	margin: 0;
	width: 100%;
}

.vl-item__name {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.15;
	color: var(--vl-title);
}

.vl-item__marks {
	margin-left: 8px;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 13px;
	letter-spacing: 2px;
	color: var(--vl-gold);
	vertical-align: middle;
	font-weight: 500;
}

.vl-item__price-box {
	flex: 0 0 auto;
	text-align: right;
}

.vl-item__price {
	display: inline-block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	color: var(--vl-gold);
	white-space: nowrap;
	text-align: right;
}

.vl-item__desc {
	margin: 0;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--vl-body);
}

.vl-item__desc em {
	font-style: italic;
	color: var(--vl-gold);
}

/* Centered Dish Items (inside .vl-menu__section--centered) */
.vl-menu__section--centered .vl-item {
	text-align: center;
	padding: 20px 0;
}

.vl-menu__section--centered .vl-item__body {
	display: flex;
	flex-direction: column;
	text-align: center;
	width: 100%;
	gap: 6px;
}

.vl-menu__section--centered .vl-item__info {
	text-align: center;
	width: 100%;
}

.vl-menu__section--centered .vl-item__head {
	text-align: center;
	width: 100%;
}

.vl-menu__section--centered .vl-item__name {
	text-align: center;
	width: 100%;
}

.vl-menu__section--centered .vl-item__price-box {
	text-align: center;
	width: 100%;
}

.vl-menu__section--centered .vl-item__desc {
	text-align: center;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

/* Featured / Boxed Dishes (e.g. Seafood Tower, Happy Meal) */
.vl-item.vl-item--featured,
.vl-item--featured {
	grid-column: 1 / -1;
	padding: 24px 28px;
	border: 1px solid var(--vl-gold);
	border-radius: 6px;
	background: rgba(198, 162, 83, 0.05);
	margin-top: 12px;
	margin-bottom: 16px;
}

.vl-item--featured .vl-item__name {
	font-size: 26px;
	font-weight: 500;
	color: var(--vl-title);
}

/* ---- Footer & Footnotes ---- */
.vl-menu__footer {
	margin: 48px 0 24px;
	padding-top: 24px;
	border-top: 1px solid var(--vl-border);
}

.vl-menu__tagline {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 38px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
	color: var(--vl-title);
	text-align: center;
	margin: 36px 0 24px;
	letter-spacing: -0.3px;
}

.vl-menu__footnote-item {
	margin: 0 0 10px;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--vl-muted);
}

.vl-menu__footnote-item em {
	font-style: italic;
	color: inherit;
	opacity: 0.9;
}

.vl-menu__footnote-item strong {
	font-weight: 600;
	color: inherit;
}

.vl-menu__footnote-item--disclaimer {
	font-size: 12px;
	color: var(--vl-muted);
	opacity: 0.85;
}

/* Legacy single-paragraph footnote (when rendered outside .vl-menu__footer) */
p.vl-menu__footnote {
	margin: 36px 0 0;
	padding-left: 18px;
	border-left: 2px solid var(--vl-gold);
	font-family: "Jost", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.7;
	color: var(--vl-body);
	white-space: pre-line;
}

/* ---- Legend ---- */
.vl-legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0 0 20px;
	font-family: "Jost", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--vl-body);
}

.vl-legend b,
.vl-legend__symbol {
	font-weight: 600;
	color: var(--vl-gold);
	margin-right: 4px;
}

.vl-legend__sep {
	color: var(--vl-gold);
	opacity: 0.65;
	user-select: none;
}

/* ---- Responsive: Tablet (<= 1024px) ---- */
@media (max-width: 1024px) {
	.vl-menu__section {
		margin-bottom: 24px;
	}

	.vl-menu__title {
		font-size: 40px;
		padding-bottom: 8px;
	}

	.vl-menu__note {
		font-size: 12px;
	}

	.vl-menu__grid {
		column-gap: 24px;
	}

	.vl-item__name {
		font-size: 26px;
	}

	.vl-item__price {
		font-size: 24px;
	}

	.vl-item__desc {
		font-size: 14px;
		line-height: 1.4;
	}

	.vl-legend {
		font-size: 12px;
	}
}

/* ---- Responsive: Mobile (<= 767px) ---- */
@media (max-width: 767px) {
	.vl-menu__section {
		margin-bottom: 20px;
	}

	.vl-menu__title {
		font-size: 34px;
		padding-bottom: 8px;
	}

	.vl-menu__note {
		font-size: 12px;
	}

	.vl-menu__grid {
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.vl-menu__grid--box,
	.vl-menu__grid--centered {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.vl-menu__section--box {
		padding: 24px 18px;
	}

	.vl-menu__tagline {
		font-size: 28px;
		margin: 24px 0 16px;
	}

	.vl-item:not(.vl-item--featured) {
		padding: 18px 0;
	}

	.vl-item.vl-item--featured,
	.vl-item--featured {
		padding: 20px 20px;
	}

	.vl-item__body {
		flex-wrap: nowrap;
		gap: 16px;
	}

	.vl-item__info {
		width: 74%;
	}

	.vl-item__price-box {
		width: 26%;
	}

	.vl-item__name {
		font-size: 24px;
	}

	.vl-item__price {
		font-size: 22px;
	}

	.vl-item__desc {
		font-size: 15px;
		line-height: 1.7;
	}

	.vl-legend {
		font-size: 12px;
		gap: 4px 10px;
	}
}
