/* Pizano's Menu — [pizanos_menu]
   Colours and fonts are custom properties; override them on .pzm from Avada's Custom CSS if needed. */

.pzm {
	--pzm-red: #ad1e23;
	--pzm-green: #1f4a2c;
	--pzm-ink: #1c1b19;
	--pzm-muted: #5d5b55;
	--pzm-rule: #e3ddd0;
	--pzm-leader: #cdc7bb;
	--pzm-na: #c3bdb1;
	--pzm-nav-bg: #fffcf4;
	--pzm-font-display: var(--h2_typography-font-family, "Zilla Slab", "Roboto Slab", Georgia, serif);
	--pzm-font-body: var(--body_typography-font-family, "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
	--pzm-gap: clamp(28px, 4vw, 56px);
	--pzm-jump-offset: calc(var(--pzm-sticky-offset, 0px) + var(--pzm-nav-h, 56px) + 16px);

	color: var(--pzm-ink);
	font-family: var(--pzm-font-body);
}

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

.pzm-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Intro / actions / footer (Menu Page Settings) ---------- */

.pzm-intro {
	margin: 0 0 24px;
}

.pzm .pzm-actions {
	margin: 0 0 24px;
}

.pzm .pzm-print {
	display: inline-block;
	padding: 10px 18px;
	border: 2px solid var(--pzm-green);
	border-radius: 999px;
	color: var(--pzm-green);
	font-weight: 600;
	text-decoration: none;
}

.pzm .pzm-print:hover,
.pzm .pzm-print:focus-visible {
	background: var(--pzm-green);
	color: #fff;
}

.pzm-footer {
	margin-top: 40px;
	padding-top: 16px;
	border-top: 1px solid var(--pzm-rule);
	font-size: 13px;
	line-height: 1.6;
	color: var(--pzm-muted);
}

.pzm-footer p {
	margin: 0 0 8px;
}

.pzm-footer a {
	color: var(--pzm-green);
}

/* ---------- Section nav ---------- */

.pzm-nav {
	position: sticky;
	top: var(--pzm-sticky-offset, 0px);
	z-index: 30;
	margin: 0 0 40px;
	background: var(--pzm-nav-bg);
	border-bottom: 1px solid var(--pzm-rule);
}

.pzm .pzm-nav__list {
	position: relative;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

/* With JS running, the native scrollbar is replaced by arrow buttons. */
.pzm .pzm-nav--enhanced .pzm-nav__list {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.pzm .pzm-nav--enhanced .pzm-nav__list::-webkit-scrollbar {
	display: none;
}

.pzm .pzm-nav__arrow {
	position: absolute;
	top: 0;
	bottom: 1px;
	z-index: 1;
	display: flex;
	align-items: center;
	width: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--pzm-green);
	cursor: pointer;
}

.pzm .pzm-nav__arrow[hidden] {
	display: none;
}

.pzm .pzm-nav__arrow--prev {
	left: 0;
	justify-content: flex-start;
	background: linear-gradient(to right, var(--pzm-nav-bg) 55%, transparent);
}

.pzm .pzm-nav__arrow--next {
	right: 0;
	justify-content: flex-end;
	background: linear-gradient(to left, var(--pzm-nav-bg) 55%, transparent);
}

.pzm .pzm-nav__arrow span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--pzm-rule);
	border-radius: 50%;
	background: var(--pzm-nav-bg);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.pzm .pzm-nav__arrow:hover span {
	background: var(--pzm-green);
	color: #fff;
}

.pzm .pzm-nav__list li {
	flex: none;
	margin: 0;
	padding: 0;
}

.pzm .pzm-nav__list li::before {
	content: none;
}

.pzm .pzm-nav a {
	display: block;
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--pzm-green);
	font-family: var(--pzm-font-body);
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.pzm .pzm-nav a:hover {
	background: rgba(31, 74, 44, 0.08);
}

.pzm .pzm-nav a[aria-current] {
	background: var(--pzm-green);
	color: #fff;
}

.pzm .pzm-nav a:focus-visible {
	outline: 2px solid var(--pzm-red);
	outline-offset: 2px;
}

/* ---------- Sections ---------- */

.pzm-section {
	margin: 0 0 clamp(48px, 6vw, 80px);
	scroll-margin-top: var(--pzm-jump-offset);
}

.pzm-section__header {
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--pzm-green);
}

.pzm .pzm-section__title {
	margin: 0;
	padding: 0;
	color: var(--pzm-red);
	font-family: var(--pzm-font-display);
	font-size: clamp(28px, 3.4vw, 38px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.pzm .pzm-section__title:focus {
	outline: none;
}

.pzm .pzm-section__intro {
	max-width: 46em;
	margin: 8px 0 0;
	color: var(--pzm-muted);
	font-size: 17px;
	font-style: italic;
	line-height: 1.6;
}

.pzm-section__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 0 16px;
	border-radius: 4px;
}

.pzm .pzm-section__footnote {
	margin: 24px 0 0;
	color: var(--pzm-muted);
	font-size: 13px;
	font-style: italic;
}

/* ---------- Groups ---------- */

.pzm-group + .pzm-group {
	margin-top: 32px;
}

.pzm .pzm-group__title {
	margin: 0 0 14px;
	padding: 0;
	color: var(--pzm-green);
	font-family: var(--pzm-font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

/* ---------- Item list ---------- */

.pzm .pzm-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--pzm-gap);
	row-gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pzm .pzm-grid-wrap + .pzm-list,
.pzm .pzm-defs + .pzm-list {
	margin-top: 22px;
}

/* Items under a price grid (e.g. Gluten Free Thin Crust) span the full width,
   so their prices line up with the grid's last column. */
.pzm .pzm-section--pizza-grid .pzm-list,
.pzm .pzm-section--toppings .pzm-list {
	grid-template-columns: 1fr;
}

.pzm .pzm-item {
	margin: 0;
	padding: 0;
}

.pzm .pzm-item::before {
	content: none;
}

.pzm-item__head {
	display: flex;
	align-items: flex-end;
}

.pzm-item__name {
	flex: 0 1 auto;
	color: var(--pzm-ink);
	font-family: var(--pzm-font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.pzm-item__leader {
	flex: 1 1 24px;
	min-width: 24px;
	margin: 0 8px 0.4em;
	border-bottom: 2px dotted var(--pzm-leader);
}

.pzm-item__price {
	color: var(--pzm-ink);
	font-family: var(--pzm-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.pzm .pzm-item__desc {
	margin: 4px 0 0;
	color: var(--pzm-muted);
	font-size: 14px;
	line-height: 1.55;
}

.pzm .pzm-item__prices {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 6px 0 0;
	font-size: 17px;
	line-height: 1.4;
}

.pzm-item__price-label {
	color: var(--pzm-muted);
}

.pzm-item__prices .pzm-item__price {
	font-size: inherit;
	font-weight: 700;
}

.pzm .pzm-item__note {
	margin: 4px 0 0;
	color: var(--pzm-green);
	font-size: 13px;
}

/* ---------- Diet tags ---------- */

.pzm .pzm-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 5px;
	border: 1px solid var(--pzm-green);
	border-radius: 3px;
	color: var(--pzm-green);
	font-family: var(--pzm-font-display);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	vertical-align: 2px;
	cursor: help;
}

.pzm .pzm-tag--seasonal {
	cursor: default;
}

/* ---------- Price grids (pizza, toppings) ---------- */

.pzm-grid-wrap {
	overflow-x: auto;
}

.pzm .pzm-grid {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
	font-variant-numeric: tabular-nums;
}

.pzm .pzm-grid th,
.pzm .pzm-grid td {
	padding: 12px 0 12px 22px;
	border: 0;
	border-bottom: 1px solid var(--pzm-rule);
	background: none;
	text-align: right;
	vertical-align: top;
}

.pzm .pzm-grid thead th {
	padding-top: 0;
	padding-bottom: 10px;
	border-bottom-color: var(--pzm-ink);
	vertical-align: bottom;
	white-space: nowrap;
}

.pzm .pzm-grid th[scope="row"] {
	padding-left: 0;
	text-align: left;
	font-weight: 400;
}

.pzm-grid__size,
.pzm-grid__serves {
	display: block;
	font-family: var(--pzm-font-display);
	line-height: 1.35;
}

.pzm-grid__size {
	color: var(--pzm-ink);
	font-size: 13px;
	font-weight: 700;
}

.pzm-grid__serves {
	color: var(--pzm-muted);
	font-size: 12px;
	font-weight: 400;
}

.pzm-grid__name {
	display: block;
	color: var(--pzm-ink);
	font-family: var(--pzm-font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.pzm-grid__desc,
.pzm-grid__note {
	display: block;
	margin-top: 2px;
	font-family: var(--pzm-font-display);
	font-size: 13px;
	line-height: 1.4;
}

.pzm-grid__desc {
	color: var(--pzm-muted);
}

.pzm-grid__note {
	color: var(--pzm-green);
}

.pzm .pzm-grid td {
	width: 1%;
	color: var(--pzm-ink);
	font-size: 18px;
	font-weight: 600;
	white-space: nowrap;
}

.pzm .pzm-grid td.pzm-grid__na {
	color: var(--pzm-na);
	font-weight: 400;
}

/* ---------- Toppings definitions ---------- */

.pzm .pzm-defs {
	margin: 0 0 28px;
	padding: 0;
}

.pzm .pzm-defs__row {
	display: grid;
	grid-template-columns: minmax(110px, 168px) 1fr;
	gap: 4px 24px;
	padding: 12px 0;
	border-bottom: 1px solid var(--pzm-rule);
}

.pzm .pzm-defs dt {
	margin: 0;
	color: var(--pzm-ink);
	font-family: var(--pzm-font-display);
	font-size: 18px;
	font-weight: 700;
}

.pzm .pzm-defs dd {
	margin: 0;
	color: #3d3b37;
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- Build your own (Pastaria) ---------- */

.pzm-section--build-your-own .pzm-section__header {
	margin-bottom: 16px;
	padding-bottom: 0;
	border-bottom: 0;
}

.pzm-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pzm-gap);
}

.pzm-step {
	padding-top: 20px;
	border-top: 3px solid var(--pzm-green);
}

.pzm .pzm-steps .pzm-list {
	grid-template-columns: 1fr;
	row-gap: 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.pzm-steps {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 800px) {
	.pzm .pzm-list {
		grid-template-columns: 1fr;
		row-gap: 18px;
	}
}

@media (max-width: 640px) {
	.pzm-nav {
		margin-bottom: 28px;
	}

	.pzm .pzm-section__title {
		font-size: 28px;
	}

	.pzm .pzm-group__title {
		font-size: 26px;
	}

	.pzm .pzm-item__name,
	.pzm .pzm-grid__name,
	.pzm .pzm-defs dt {
		font-size: 16px;
	}

	.pzm-section__header {
		margin-bottom: 20px;
	}

	.pzm .pzm-defs__row {
		grid-template-columns: 1fr;
	}

	/* Price grids become one card per row, with the size label beside each price. */
	.pzm .pzm-grid thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.pzm .pzm-grid,
	.pzm .pzm-grid tbody,
	.pzm .pzm-grid tr {
		display: block;
	}

	.pzm .pzm-grid tr {
		padding: 14px 0;
		border-bottom: 1px solid var(--pzm-rule);
	}

	.pzm .pzm-grid th[scope="row"] {
		display: block;
		padding: 0 0 6px;
		border: 0;
	}

	.pzm .pzm-grid td {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		width: auto;
		padding: 3px 0;
		border: 0;
		font-size: 16px;
	}

	.pzm .pzm-grid td::before {
		content: attr(data-label);
		color: var(--pzm-muted);
		font-size: 14px;
		font-weight: 400;
	}

	.pzm .pzm-grid td.pzm-grid__na {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pzm .pzm-nav a,
	.pzm .pzm-nav__arrow span {
		transition: none;
	}
}

@media print {
	.pzm-nav,
	.pzm-actions {
		display: none;
	}

	.pzm-item,
	.pzm-grid tr,
	.pzm-defs__row {
		break-inside: avoid;
	}

	.pzm-section__header {
		break-after: avoid;
	}
}
