/**
 * Zafran food menu from WooCommerce ([zafran_menu_tabs] / [zafran_menu_full]) – ITS DIGITAL INDIA
 * Same look as the original Elementor menu.
 */

/* ---------- Tabs ---------- */
.zmenu-nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 64px;
	margin-bottom: 44px;
}

.zmenu--full .zmenu-nav {
	gap: 10px 36px;
}

.zmenu .zmenu-nav .zmenu-tab {
	position: relative;
	min-height: 0;
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: rgba(233, 225, 207, 0.7);
	font-family: var(--z-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.zmenu--full .zmenu-nav .zmenu-tab {
	font-size: 13px;
	letter-spacing: 0.14em;
}

.zmenu .zmenu-nav .zmenu-tab:hover,
.zmenu .zmenu-nav .zmenu-tab[aria-selected="true"] {
	color: #fff;
	background: none;
}

.zmenu .zmenu-nav .zmenu-tab[aria-selected="true"] {
	border-bottom-color: var(--z-gold-light);
}

.zmenu .zmenu-nav .zmenu-tab:focus-visible {
	outline: 1px solid var(--z-gold-light);
	outline-offset: 4px;
}

.zmenu-nav .zmenu-tab + .zmenu-tab::before {
	content: "✦";
	position: absolute;
	left: -32px;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--z-gold-light);
	font-size: 10px;
	letter-spacing: 0;
	pointer-events: none;
}

.zmenu--full .zmenu-nav .zmenu-tab + .zmenu-tab::before {
	left: -18px;
}

@media (max-width: 767px) {
	.zmenu-nav,
	.zmenu--full .zmenu-nav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 40px;
		margin-bottom: 28px;
		padding: 0 4px 6px 22px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.zmenu-nav::-webkit-scrollbar {
		display: none;
	}

	.zmenu .zmenu-nav .zmenu-tab {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.zmenu-nav .zmenu-tab + .zmenu-tab::before,
	.zmenu--full .zmenu-nav .zmenu-tab + .zmenu-tab::before {
		left: -20px;
	}
}

.zmenu-tabpanel[hidden] {
	display: none;
}

.zmenu-tabpanel:not([hidden]) {
	animation: zmenu-fade 0.45s ease both;
}

@media (prefers-reduced-motion: reduce) {
	.zmenu-tabpanel:not([hidden]) {
		animation: none;
	}
}

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

/* ---------- Panel ---------- */
.zmenu-panel {
	background-color: #183f31;
	border: 1px solid rgba(214, 180, 106, 0.18);
	color: var(--z-ondark, #e9e1cf);
}

.zmenu-panel--highlight {
	display: flex;
	align-items: center;
	gap: 50px;
	padding: 54px 28px 54px 56px;
}

.zmenu-panel__list {
	flex: 0 1 54%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.zmenu .zmenu-panel__title {
	margin: 0 0 10px;
	font-family: var(--z-serif);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.1;
	color: #f4eedf;
}

.zmenu .zmenu-panel__title--big {
	font-size: 46px;
	margin-bottom: 14px;
}

.zmenu-panel__media {
	flex: 1 1 46%;
	min-width: 0;
	display: flex;
	align-items: stretch;
	gap: 18px;
}

.zmenu-photo {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background-color: var(--z-green);
}

.zmenu-photo__label {
	font-family: var(--z-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--z-gold-light);
}

.zmenu-photo__name {
	font-family: var(--z-serif);
	font-size: 16px;
	font-style: italic;
	color: #e9e1cf;
}

.zmenu-panel__vertical {
	flex: 0 0 auto;
	writing-mode: vertical-rl;
	white-space: nowrap;
	font-family: var(--z-serif);
	font-size: 56px;
	font-weight: 500;
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--z-gold-light);
}

/* ---------- Dish ---------- */
.zmenu-item {
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(214, 180, 106, 0.16);
}

/* Round product image (only when the product has an image) */
.zmenu-item--img {
	display: flex;
	align-items: center;
	gap: 18px;
}

.zmenu-item__body {
	flex: 1 1 0;
	min-width: 0;
}

.zmenu-item__img {
	flex: 0 0 auto;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background-color: var(--z-green);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-shadow: 0 0 0 3px rgba(214, 180, 106, 0.35), 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* Prices switched off: no dotted line */
.zmenu-item--noprice .zmenu-item__name::after {
	display: none;
}

@media (max-width: 767px) {
	.zmenu-item--img {
		gap: 14px;
	}

	.zmenu-item__img {
		width: 54px;
		height: 54px;
	}
}

.zmenu-item__head {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.zmenu .zmenu-item__name {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 8px;
	margin: 0;
	font-family: var(--z-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	color: #f4eedf;
}

.zmenu-item__name::after {
	content: "";
	flex: 1 1 24px;
	min-width: 24px;
	border-bottom: 1px dashed rgba(214, 180, 106, 0.45);
	transform: translateY(-4px);
}

.zmenu-item__name small {
	font-family: var(--z-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: rgba(233, 225, 207, 0.6);
}

.zmenu-item__price {
	flex: 0 0 auto;
	white-space: nowrap;
	font-family: var(--z-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--z-gold-light);
}

.zmenu-item__price del {
	opacity: 0.55;
	font-weight: 400;
}

.zmenu-item__price ins {
	text-decoration: none;
}

.zmenu-item__desc {
	margin: 4px 0 0;
	font-family: var(--z-sans);
	font-size: 15px;
	line-height: 1.55;
	color: rgba(233, 225, 207, 0.72);
}

.zmenu-item__diet {
	display: inline-block;
	margin-left: 4px;
	padding-left: 16px;
	font-style: italic;
	color: #9ccb79;
	background: no-repeat left center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237db356' d='M20 3C9 3 4 9 4 15c0 1.6.4 3 1 4.2L3.3 21l1.4 1.4 1.8-1.8C7.7 21.5 9.3 22 11 22c6 0 10-5 10-16V3h-1zm-9 17c-1.2 0-2.3-.3-3.3-.8C10 15 13 12 17 10c-4 1-7.5 3.6-10 7.3-.6-.9-1-2-1-3.3 0-4.6 3.6-8.8 13-9 0 9.6-3.4 15-8 15z'/%3E%3C/svg%3E");
}

.zmenu-legend {
	margin: 10px 0 0;
	font-family: var(--z-sans);
	font-size: 15px;
	line-height: 1.6;
	color: rgba(233, 225, 207, 0.7);
}

.zmenu--full .zmenu-legend {
	margin-top: 26px;
	text-align: center;
}

.zmenu-empty {
	text-align: center;
	color: rgba(233, 225, 207, 0.8);
}

/* ---------- Full menu ---------- */
.zmenu-panel--full {
	padding: 54px 56px;
}

.zmenu-full-head {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-bottom: 10px;
}

.zmenu-full-head__text {
	flex: 1 1 0;
	min-width: 0;
}

.zmenu-eyebrow {
	margin: 0 0 14px;
	font-family: var(--z-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--z-gold-light);
}

.zmenu-full-head__note {
	margin: 0;
	font-family: var(--z-sans);
	font-size: 15px;
	font-style: italic;
	color: rgba(233, 225, 207, 0.8);
}

.zmenu-photo--small {
	flex: 0 0 250px;
	min-height: 280px;
}

.zmenu-section {
	padding-top: 34px;
}

.zmenu .zmenu-section__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 6px;
	font-family: var(--z-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--z-gold-light);
}

.zmenu-section__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(214, 180, 106, 0.55), rgba(214, 180, 106, 0));
}

.zmenu-section__note {
	margin: 0 0 6px;
	font-family: var(--z-sans);
	font-size: 15px;
	font-style: italic;
	color: rgba(233, 225, 207, 0.75);
}

.zmenu-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 6%;
	padding-top: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.zmenu-panel--highlight {
		flex-direction: column;
		align-items: stretch;
		gap: 36px;
		padding: 44px 32px;
	}

	.zmenu-panel__list,
	.zmenu-panel__media {
		flex-basis: auto;
	}

	.zmenu-panel--full {
		padding: 44px 32px;
	}
}

@media (max-width: 767px) {
	.zmenu-panel--highlight,
	.zmenu-panel--full {
		padding: 32px 20px;
	}

	.zmenu .zmenu-panel__title {
		font-size: 32px;
	}

	.zmenu .zmenu-panel__title--big {
		font-size: 34px;
	}

	.zmenu-panel__vertical {
		display: none;
	}

	.zmenu-photo {
		min-height: 320px;
	}

	.zmenu-photo--small {
		display: none;
	}

	.zmenu-grid {
		grid-template-columns: 1fr;
	}

	.zmenu .zmenu-item__name {
		font-size: 18px;
	}

	.zmenu .zmenu-section__title {
		font-size: 20px;
	}
}
