/* Zestora - Menu List
   Category-wise full menu: wide horizontal product cards, Zestora colours. */

/* overflow-x:hidden on body breaks position:sticky (the category strip stops sticking).
   clip bhi utna hi clip karta hai lekin scroll-container nahi banata, is liye sticky kaam karti hai. */
html {
	overflow-x: hidden;
}

body {
	overflow-x: clip !important;
}

/* pin the category strip to the top of the page (position:sticky only works inside its own container,
   is liye JS scroll par is-pinned laga deta hai) */
.zcs-spacer {
	height: 0;
}

.zcs.is-pinned {
	position: fixed !important;
	top: 0 !important;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 998;
	box-shadow: 0 6px 18px rgba(36, 24, 19, 0.22);
}

/* the Popular section must use the same tokens (otherwise the + button circle disappears) */
.zpop {
	--zml-ground: #FFFFFF;
	--zml-surface: #FFFFFF;
	--zml-ink: #241813;
	--zml-muted: #6E5B51;
	--zml-accent: #A03A13;
	--zml-accent-deep: #7C2A0C;
	--zml-cream: #F3E9D6;
	--zml-line: rgba(36, 24, 19, 0.09);
}

.zml {
	--zml-ground: #FFFFFF;
	--zml-surface: #FFFFFF;
	--zml-ink: #241813;
	--zml-muted: #6E5B51;
	--zml-accent: #A03A13;
	--zml-accent-deep: #7C2A0C;
	--zml-cream: #F3E9D6;
	--zml-line: rgba(36, 24, 19, 0.09);

	background: var(--zml-ground);
	padding: 8px 0 56px;
}

.zml__wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- category heading ---------- */
.zml__cat {
	padding-top: 34px;
	scroll-margin-top: 150px;
}

/* category banner - wide band like the reference, leaf vines on both sides, name in the middle */
.zml__heading {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	min-height: 118px;
	margin: 0 0 22px;
	padding: 24px 40px;
	border-radius: 26px;
	overflow: hidden;
	background: var(--zml-accent);
	box-shadow: 0 8px 22px rgba(160, 58, 19, 0.16);
	text-align: center;
	color: #FFFFFF;
}

/* a thin line on each side of the name - clean and simple */
.zml__heading::before,
.zml__heading::after {
	content: "";
	flex: 0 1 150px;
	height: 1px;
	background: #FFFFFF;
	color: #FFFFFF;
}

/* this banner look needs no icon and no item count */
.zml__heading .zml__heading-icon,
.zml__heading .zml__count {
	display: none;
}

.zml__heading-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 40px;
	border-radius: 9px;
	overflow: hidden;
	background: var(--zml-surface);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
	font-size: 18px;
	color: var(--zml-accent);
}

.zml__heading-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.zml__heading-text {
	position: relative;
	z-index: 1;
	min-width: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: 46px;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: capitalize;
	color: #FFFFFF;
}

.zml__count {
	margin-left: auto;
	flex: 0 0 auto;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--zml-cream);
}

/* ---------- grid ---------- */
.zml__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

/* ---------- card ---------- */
.zml__card {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 16px;
	min-height: 148px;
	padding: 18px;
	background: var(--zml-surface);
	border: 1px solid var(--zml-line);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(36, 24, 19, 0.04);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.zml__card:hover {
	border-color: rgba(160, 58, 19, 0.28);
	box-shadow: 0 10px 26px rgba(36, 24, 19, 0.10);
	transform: translateY(-2px);
}

.zml__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.zml__name {
	margin: 0 0 8px;
	font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--zml-ink);
}

.zml__name a {
	color: inherit;
	text-decoration: none;
}

.zml__name a:hover {
	color: var(--zml-accent);
}

.zml__desc {
	margin: 0 0 14px;
	font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--zml-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.zml__price {
	margin-top: auto;
	font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
	font-weight: 800;
	font-size: 19px;
	line-height: 1.2;
	color: var(--zml-ink);
}

.zml__price del {
	margin-right: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--zml-muted);
	opacity: .8;
}

.zml__price ins {
	text-decoration: none;
	color: #000000;
}

.zml__price .woocommerce-Price-currencySymbol {
	font-size: .8em;
}

/* ---------- media + add button ---------- */
.zml__media {
	position: relative;
	flex: 0 0 132px;
	width: 132px;
	align-self: center;
}

.zml__thumb {
	display: block;
	width: 132px;
	height: 132px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--zml-cream);
}

.zml__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zml__thumb--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Archivo, sans-serif;
	font-weight: 800;
	font-size: 34px;
	color: var(--zml-accent);
	opacity: .55;
}

.zml__add {
	position: absolute;
	right: -10px;
	bottom: -10px;
	z-index: 2;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 2px solid var(--zml-surface) !important;
	border-radius: 999px;
	background: var(--zml-accent) !important;
	background-color: var(--zml-accent) !important;
	color: var(--zml-surface) !important;
	font-family: Archivo, sans-serif;
	font-size: 0;
	line-height: 0;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(36, 24, 19, 0.20);
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}

.zml__add::before {
	content: "";
	width: 15px;
	height: 15px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.zml__add:hover {
	background: var(--zml-accent-deep) !important;
	background-color: var(--zml-accent-deep) !important;
	transform: scale(1.08);
}

.zml__add.loading {
	opacity: .65;
}

.zml__add.added::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* hide WooCommerce's own "View cart" link here */
.zml__media .added_to_cart {
	display: none !important;
}

/* ---------- Chef's Special badge - top-right corner of the image ---------- */
.zml__badge {
	position: absolute;
	top: -11px;
	right: 18px;
	z-index: 4;
	padding: 5px 11px;
	border-radius: 999px;
	background-color: #FFE600 !important;
	background-image: none !important;
	color: #1F1A12 !important;
	font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .02em;
	text-transform: none;
	white-space: nowrap;
	box-shadow: 0 3px 10px rgba(36, 24, 19, .22);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
	.zml__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.zml__heading {
		gap: 20px;
		min-height: 96px;
		padding: 20px 28px;
	}

	.zml__heading::before,
	.zml__heading::after {
		flex-basis: 90px;
	}

	.zml__heading-text {
		font-size: 34px;
	}
}

@media (max-width: 560px) {
	.zml__wrap {
		padding: 0 14px;
	}

	.zml__cat {
		padding-top: 26px;
	}

	.zml__heading {
		gap: 12px;
		min-height: 74px;
		padding: 16px 18px;
		border-radius: 18px;
	}

	.zml__heading::before,
	.zml__heading::after {
		flex-basis: 34px;
	}

	.zml__heading-text {
		font-size: 26px;
	}

	.zml__card {
		gap: 12px;
		padding: 14px;
		min-height: 0;
	}

	.zml__media,
	.zml__thumb {
		flex-basis: 104px;
		width: 104px;
	}

	.zml__thumb {
		height: 104px;
	}

	.zml__name {
		font-size: 14.5px;
	}

	.zml__desc {
		font-size: 12.5px;
		-webkit-line-clamp: 2;
		margin-bottom: 10px;
	}

	.zml__price {
		font-size: 17px;
	}

	.zml__card--badged .zml__name {
		padding-right: 0;
	}

	.zml__badge {
		top: 10px;
		right: 10px;
		padding: 4px 10px;
		font-size: 9.5px;
	}

	.zml__card--badged .zml__name {
		padding-right: 92px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zml__card,
	.zml__add {
		transition: none;
	}
}

/* ==========================================================
   Popular Items - upar wale khaanay, tasveer upar, naam neeche
   ========================================================== */
.zpop {
	--zpop-ink: #000000;
	--zpop-muted: #6E5B51;
	--zpop-accent: #A03A13;

	background: #FFFFFF;
	padding: 34px 0 10px;
}

.zpop__wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.zpop__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 4px;
	font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
	font-weight: 800;
	font-size: 30px;
	line-height: 1.2;
	color: var(--zpop-ink);
}

.zpop__flame {
	font-size: 26px;
	line-height: 1;
}

.zpop__sub {
	margin: 0 0 22px;
	font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	color: #000000;
}

.zpop__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.zpop__card {
	display: flex;
	flex-direction: column;
}

.zpop__media {
	position: relative;
	margin-bottom: 14px;
}

.zpop__thumb {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: #F3E9D6;
	text-decoration: none;
}

.zpop__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}

.zpop__card:hover .zpop__thumb img {
	transform: scale(1.05);
}

/* + button sits at the bottom-right inside the image */
.zpop__add.zml__add {
	right: 14px;
	bottom: 14px;
	width: 44px;
	height: 44px;
	border: 0 !important;
}

.zpop__add.zml__add::before {
	width: 17px;
	height: 17px;
}

.zpop__name {
	margin: 0 0 8px;
	font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
	font-weight: 800;
	font-size: 17px;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--zpop-ink);
}

.zpop__name a {
	color: inherit;
	text-decoration: none;
}

.zpop__name a:hover {
	color: var(--zpop-accent);
}

.zpop__price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
	font-weight: 800;
	font-size: 15px;
	color: var(--zpop-muted);
}

.zpop__price del {
	font-size: 14px;
	font-weight: 600;
	color: var(--zpop-muted);
	opacity: .85;
}

/* nayi qeemat safed pill mein - reference jaisi */
.zpop__price ins {
	text-decoration: none;
	display: inline-block;
	padding: 0;
	background: none;
	box-shadow: none;
	color: #000000;
	font-size: 17px;
	font-weight: 800;
}

.zpop__price .woocommerce-Price-currencySymbol {
	font-size: .82em;
}

@media (max-width: 1000px) {
	.zpop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.zpop__title {
		font-size: 24px;
	}
}

@media (max-width: 560px) {
	.zpop {
		padding-top: 24px;
	}

	.zpop__wrap {
		padding: 0 14px;
	}

	.zpop__grid {
		gap: 14px;
	}

	.zpop__title {
		font-size: 20px;
	}

	.zpop__sub {
		font-size: 13px;
		margin-bottom: 16px;
	}

	.zpop__name {
		font-size: 14px;
	}

	.zpop__price ins {
		font-size: 15px;
		padding: 5px 10px;
	}

	.zpop__add.zml__add {
		width: 38px;
		height: 38px;
		right: 10px;
		bottom: 10px;
	}
}

/* remove the currency symbol from the sale price */
.zml__price ins .woocommerce-Price-currencySymbol,
.zpop__price ins .woocommerce-Price-currencySymbol {
	display: none;
}
