/*
 * WizResto desktop front end.
 *
 * A DIFFERENT LAYOUT FOR A DIFFERENT SCREEN. The phone menu is one 480px column held in one
 * hand; a laptop or a counter tablet is read at arm's length and pointed at, so this end is
 * built the way a menu board is: the shop's counters as large square photographs, one tap to
 * enter a counter, that counter's dishes in a grid, the basket open the whole time on the
 * right, and every other counter one tap away along the foot of the screen.
 *
 * IT IS SWITCHED ON BY WIDTH AND NOTHING ELSE. Below 1024px the browser loads this file and
 * draws none of it: `#wr-desk` is `display: none` and `.wr-container` is untouched, so the
 * phone menu cannot be affected by anything in here.
 *
 * THE PHONE LAYOUT IS NOT RESTYLED, IT IS SIMPLY NOT USED AT THIS WIDTH. One rule hides
 * `.wr-container` at 1024px and up, and `customer-desktop.js` sets `window.wrDeskActive`
 * before the phone script's DOMContentLoaded runs so that script stands down rather than
 * fetching the whole 922 dish catalogue a second time to paint a page nobody can see.
 *
 * Every colour comes from the theme variables the template prints onto `.wr-app`, so a store
 * that changes its palette changes this end too without a rule being rewritten.
 */

#wr-desk {
	display: none;
}

@media (min-width: 1024px) {
	/*
	 * EVERYTHING THE PHONE PAGE PUTS ON THE SCREEN IS RETIRED, WHATEVER IT TURNS OUT TO BE.
	 *
	 * Hiding `.wr-container` alone was NOT enough, and the mistake was invisible to every
	 * measurement I took: the cart bar (`#cart-fab`) and the pinned tab bar (`#customer-tabs`) are
	 * SIBLINGS of the container, not children of it, and both are `position: fixed`. So they stayed
	 * on the desktop screen and drew themselves across the foot of this layout, over the rail.
	 * `#cart-fab` also carries a `hidden` class, which does nothing: no rule in this project
	 * defines `.hidden`, so `.wr-fab-cart { display: flex }` was winning and the bar was always
	 * on screen waiting for the script that never ran.
	 *
	 * Written the other way round on purpose. Naming those two would leave exactly the same trap
	 * for the next fixed element the phone page grows, and the next one would be found by a
	 * customer rather than by a screenshot.
	 */
	.wr-app > * {
		display: none !important;
	}

	.wr-app > #wr-desk {
		display: block !important;
	}
}

/* ------------------------------------------------------------------ the shell --- */

#wr-desk {
	--wd-panel: 372px;
	--wd-rail: 116px;
	--wd-gap: 26px;
	/*
	 * WHERE THE BASKET'S TOP IS PINNED, and the room it is given is cut from the same number.
	 *
	 * These were two unrelated numbers once and they disagreed: the panel was pinned 88px down the
	 * screen but sized as though it started at the top of it, so on a short screen the FOOT of the
	 * basket -- the totals and the Place Order button -- hung behind the bottom rail. Measured at
	 * 944x640: the panel's foot reached y=558 while the rail began at y=500, which put the bottom
	 * of the one button that matters under a bar it could not be scrolled clear of.
	 */
	--wd-top: 100px;

	background: var(--wr-bg, #fff);
	color: var(--wr-text-main, #1c1c1c);
	min-height: 100vh;
	/* The rail is fixed over the foot of the page, so the page keeps room for it. */
	padding-bottom: var(--wd-rail);
}

#wr-desk button {
	font-family: inherit;
}

/* The top bar: who this is, whether it is open, and the one field. */
.wd-top {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 30px;
	background: var(--wr-surface, #fff);
	border-bottom: 1px solid var(--wr-border, #e8e8e8);
}

.wd-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.wd-logo {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	object-fit: cover;
	display: block;
	background: #f1f3f5;
	flex: 0 0 auto;
}

.wd-name {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wd-meta {
	font-size: 13px;
	color: var(--wr-text-sub, #696969);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wd-top-right {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.wd-search {
	width: 340px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--wr-border, #e8e8e8);
	border-radius: 999px;
	background: var(--wr-bg, #fff);
	color: inherit;
	font-size: 14px;
	outline: none;
}

.wd-search:focus {
	border-color: var(--wr-primary);
	box-shadow: 0 0 0 3px rgba(var(--wr-primary-rgb), 0.16);
}

.wd-hours {
	font-size: 13px;
	font-weight: 600;
	color: var(--wr-success, #10b981);
	background: rgba(16, 185, 129, 0.1);
	padding: 8px 14px;
	border-radius: 999px;
	white-space: nowrap;
}

/* Left column is whatever is being read; right column is always the basket. */
.wd-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--wd-panel);
	gap: var(--wd-gap);
	align-items: start;
	padding: 26px 30px 40px;
}

.wd-lead {
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.2px;
}

.wd-sub {
	margin-top: 4px;
	margin-bottom: 22px;
	font-size: 14px;
	color: var(--wr-text-sub, #696969);
}

/* ------------------------------------------------------- the counters as tiles --- */

.wd-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
	gap: 20px;
}

.wd-tile {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #eef1f4;
	cursor: pointer;
	text-align: left;
	box-shadow: var(--wr-shadow-sm, 0 1px 2px rgba(16, 24, 40, 0.06));
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.wd-tile:hover,
.wd-tile:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--wr-shadow-md, 0 10px 28px rgba(16, 24, 40, 0.12));
}

.wd-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* A counter with no photograph of any kind is a plain tile rather than a broken one. */
.wd-tile.is-plain {
	background: linear-gradient(150deg, rgba(var(--wr-primary-rgb), 0.9), rgba(var(--wr-primary-rgb), 0.62));
}

/* ------------------------------------------- the hour's counters, above the rest --- */

/*
 * The headings are sentences about the hour, not about the screen, so they are set as one line of
 * prose with the note under it rather than as a section title with an eyebrow.
 */
.wd-now {
	margin-bottom: 14px;
}

.wd-now-head {
	display: block;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.2px;
}

.wd-now-note {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	color: var(--wr-text-sub, #696969);
}

/*
 * The rest of the board, under its own quiet line. It is not a second heading in the same voice:
 * the customer has already been given the hour's counters, and this is what is left.
 */
.wd-more {
	margin: 26px 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wr-text-sub, #696969);
}

/*
 * A tile the hour put first wears the shop's own colour on its edge, and a chip because the edge
 * alone is easy to miss from a metre away. Both come off the theme variables, so a shop that
 * changes its palette changes this too.
 */
.wd-tile.is-now {
	box-shadow: 0 0 0 3px rgba(var(--wr-primary-rgb), 0.85), var(--wr-shadow-sm, 0 1px 2px rgba(16, 24, 40, 0.06));
}

.wd-tile-now {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wr-primary, #b3261e);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.wd-tile-name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 40px 16px 14px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.74));
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.wd-tile-count {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

/* ---------------------------------------------------------- a counter's dishes --- */

.wd-cat-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 20px;
}

.wd-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--wr-border, #e8e8e8);
	border-radius: 999px;
	background: var(--wr-surface, #fff);
	color: var(--wr-text-main, #1c1c1c);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}

.wd-back:hover {
	border-color: var(--wr-primary);
	color: var(--wr-primary);
}

.wd-cat-count {
	font-size: 14px;
	color: var(--wr-text-sub, #696969);
}

.wd-dishes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
	gap: 18px;
}

.wd-dish {
	display: flex;
	flex-direction: column;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	background: var(--wr-surface, #fff);
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 3px 10px rgba(16, 24, 40, 0.05);
}

/*
 * THE PHOTO IS INSET, the same fix as the phone card in wizresto-ui.css, and for the same report: the
 * picture's top edge sat on the card's top edge. The inset is the 14px the body already uses on the left
 * and right, so the picture lines up with the dish name instead of being 4px out, and the media clips the
 * photo so the image itself keeps square corners.
 *
 * THE KIOSK GETS THIS TOO: it shares this card and overrides only the line and chip pictures.
 */
.wd-dish-img {
	aspect-ratio: 4 / 3;
	background: #eef1f4;
	flex-shrink: 0;
	margin: 14px 14px 0;
	border-radius: 12px;
	overflow: hidden;
}

.wd-dish-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wd-dish-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 12px 14px 14px;
}

.wd-dish-name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.wd-dish-desc {
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--wr-text-sub, #696969);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wd-dish-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
}

.wd-price {
	font-size: 15px;
	font-weight: 700;
}

.wd-add {
	min-width: 82px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid rgba(var(--wr-primary-rgb), 0.4);
	border-radius: 10px;
	background: rgba(var(--wr-primary-rgb), 0.08);
	color: var(--wr-primary);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.wd-add:hover {
	background: var(--wr-primary);
	border-color: var(--wr-primary);
	color: #fff;
}

/* The stepper replaces ADD once the dish is in the basket. */
.wd-step {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	height: 38px;
	border: 1px solid var(--wr-primary);
	border-radius: 10px;
	background: var(--wr-primary);
	overflow: hidden;
}

.wd-step button {
	width: 34px;
	height: 100%;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.wd-step button:hover {
	background: rgba(0, 0, 0, 0.14);
}

.wd-step span {
	min-width: 26px;
	text-align: center;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.wd-empty {
	padding: 40px 4px;
	color: var(--wr-text-sub, #696969);
	font-size: 14px;
}

/* -------------------------------------------------------------------- basket --- */

/*
 * THE BASKET SCROLLS AS ONE THING.
 *
 * The lines used to scroll inside a fixed footer, which reads well until the footer is tall: with
 * a delivery address, the bands, the totals and the button it is around 300px, and on a short screen
 * that left the lines a 90px window and pushed the button out of the panel entirely. A cart that
 * scrolls whole cannot lose a control, whatever the footer happens to contain.
 *
 * The heading stays with `position: sticky`, so a long basket still says whose order it is and how
 * many items are in it while the customer scrolls through it.
 */
.wd-basket {
	position: sticky;
	top: var(--wd-top);
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - var(--wd-top) - var(--wd-rail) - 14px);
	border: 1px solid var(--wr-border, #e8e8e8);
	border-radius: 18px;
	background: var(--wr-surface, #fff);
	box-shadow: var(--wr-shadow-sm, 0 1px 2px rgba(16, 24, 40, 0.06));
	overflow-y: auto;
	overscroll-behavior: contain;
}

.wd-basket-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 18px;
	border-bottom: 1px solid var(--wr-border, #e8e8e8);
	background: var(--wr-surface, #fff);
	font-size: 15px;
	font-weight: 700;
}

.wd-basket-count {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--wr-text-sub, #696969);
}

/* No inner scroller and no minimum: the panel above is the scroller now. */
.wd-basket-lines {
	padding: 8px 10px;
}

/* A basket line reads as a line on a bill: the dish, then what it costs. */
.wd-line {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 12px;
	padding: 9px 8px;
	border-radius: 12px;
}

/*
 * THE DISH ITSELF, SMALL, ON ITS OWN LINE.
 *
 * A name is not always enough by the third line of a basket: a chicken biryani and a veg biryani
 * read identically at a glance, and the photograph is what the customer picked from in the first
 * place. The tile spans the first two rows so the name and its price stay on one line together and
 * the stepper starts below the picture rather than beside it.
 *
 * A dish with NO photograph keeps the tile in the brand tint. An empty square in a column of
 * squares reads as a broken image.
 */
.wd-line-pic {
	grid-row: 1 / span 2;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	overflow: hidden;
	background: #eef1f4;
}

.wd-line-pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wd-line-pic.is-plain {
	background: rgba(var(--wr-primary-rgb), 0.14);
}

.wd-line:hover {
	background: rgba(var(--wr-primary-rgb), 0.04);
}

.wd-line-name {
	grid-column: 2;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.wd-line-each {
	grid-column: 2;
	font-size: 12px;
	color: var(--wr-text-sub, #696969);
}

.wd-line-total {
	grid-column: 3;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.wd-line-step {
	grid-column: 2 / -1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 3px;
}

.wd-mini {
	width: 26px;
	height: 26px;
	border: 1px solid var(--wr-border, #e8e8e8);
	border-radius: 8px;
	background: var(--wr-surface, #fff);
	color: var(--wr-text-main, #1c1c1c);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.wd-mini:hover {
	border-color: var(--wr-primary);
	color: var(--wr-primary);
}

.wd-mini-qty {
	min-width: 20px;
	text-align: center;
	font-size: 13.5px;
	font-weight: 700;
}

.wd-line-drop {
	margin-left: auto;
	border: 0;
	background: none;
	color: var(--wr-text-sub, #696969);
	font-size: 12.5px;
	cursor: pointer;
	text-decoration: underline;
}

.wd-line-drop:hover {
	color: var(--wr-primary);
}

.wd-basket-foot {
	padding: 14px 18px 18px;
	border-top: 1px solid var(--wr-border, #e8e8e8);
}
.wd-sum {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	padding: 5px 0;
	color: var(--wr-text-sub, #696969);
}

.wd-sum.is-total {
	margin-top: 6px;
	padding-top: 11px;
	border-top: 1px dashed var(--wr-border, #e8e8e8);
	color: var(--wr-text-main, #1c1c1c);
	font-size: 17px;
	font-weight: 700;
}

.wd-note {
	margin: 4px 0 10px;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--wr-text-sub, #696969);
}

.wd-field {
	width: 100%;
	height: 42px;
	margin-bottom: 8px;
	padding: 0 13px;
	border: 1px solid var(--wr-border, #e8e8e8);
	border-radius: 11px;
	background: var(--wr-bg, #fff);
	color: inherit;
	font-size: 14px;
	font-family: inherit;
	outline: none;
}

.wd-field:focus {
	border-color: var(--wr-primary);
	box-shadow: 0 0 0 3px rgba(var(--wr-primary-rgb), 0.14);
}

textarea.wd-field {
	height: 66px;
	padding: 10px 13px;
	resize: none;
}

.wd-choice {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

.wd-choice button {
	flex: 1;
	height: 40px;
	border: 1px solid var(--wr-border, #e8e8e8);
	border-radius: 11px;
	background: var(--wr-surface, #fff);
	color: var(--wr-text-main, #1c1c1c);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}

.wd-choice button.is-on {
	border-color: var(--wr-primary);
	background: rgba(var(--wr-primary-rgb), 0.08);
	color: var(--wr-primary);
}

.wd-place {
	width: 100%;
	height: 50px;
	margin-top: 6px;
	border: 0;
	border-radius: 12px;
	background: var(--wr-primary);
	color: #fff;
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
}

.wd-place:hover {
	background: var(--wr-primary-hover, var(--wr-primary));
}

.wd-place[disabled] {
	opacity: 0.55;
	cursor: default;
}

.wd-problem {
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 11px;
	background: rgba(226, 55, 68, 0.09);
	color: #b3161f;
	font-size: 13px;
	line-height: 1.45;
}

.wd-done {
	padding: 6px 2px 2px;
}

.wd-done-num {
	font-size: 19px;
	font-weight: 700;
}

.wd-done-text {
	margin-top: 8px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--wr-text-sub, #696969);
}

/* ----------------------------------------------------------------- the rail --- */

.wd-rail {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	height: var(--wd-rail);
	padding: 12px 30px;
	background: var(--wr-surface, #fff);
	border-top: 1px solid var(--wr-border, #e8e8e8);
	overflow-x: auto;
	overflow-y: hidden;
	box-shadow: 0 -6px 18px rgba(16, 24, 40, 0.06);
}

.wd-chip {
	flex: 0 0 auto;
	width: 92px;
	padding: 0 0 8px;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: center;
	position: relative;
}

.wd-chip-pic {
	display: block;
	width: 66px;
	height: 66px;
	margin: 0 auto 7px;
	border-radius: 14px;
	overflow: hidden;
	background: #eef1f4;
}

.wd-chip-pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wd-chip.is-plain .wd-chip-pic {
	background: rgba(var(--wr-primary-rgb), 0.5);
}

.wd-chip-name {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--wr-text-sub, #696969);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wd-chip:hover .wd-chip-name {
	color: var(--wr-primary);
}

/*
 * The counter being read is marked with a bar under it, not with a ring around it.
 * A ring on a photograph reads as an error state, which is what the same treatment had to be
 * removed for on the phone's category rail.
 */
.wd-chip.is-on::after {
	content: '';
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--wr-primary);
}

.wd-chip.is-on .wd-chip-name {
	color: var(--wr-primary);
}

/* ------------------------------------------------- the shop's own name in the bar --- */

.wd-brand-btn {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.wd-brand-btn:hover .wd-name {
	color: var(--wr-primary);
}

/* ------------------------------------------------------------- the landing band --- */

/*
 * The shop's own photograph across the top of the landing screen, with the brand colour behind
 * it for a store that has not uploaded one. Never a photograph OF nothing: an empty band would
 * read as a broken image, and the colour is at least the store's own.
 */
.wd-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 208px;
	margin-bottom: 22px;
	border-radius: 20px;
	overflow: visible;
	background-color: var(--wr-primary);
	background-size: cover;
	background-position: center;
	box-shadow: var(--wr-shadow-sm, 0 1px 2px rgba(16, 24, 40, 0.06));
}

.wd-hero-veil {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: 20px;
	pointer-events: none;
	background:
		linear-gradient(105deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.2) 62%, transparent),
		radial-gradient(ellipse 46% 88% at 84% 65%, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.24) 45%, transparent 100%);
}

.wd-hero-word {
	position: relative;
	z-index: 1;
	max-width: 640px;
	padding: 0 24px 26px;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.4px;
	line-height: 1.15;
}

/*
 * The shared image-library cutout sits at the right, rising above the band while keeping the
 * existing bottom alignment.
 */
.wd-hero-picks {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	gap: 6px;
	margin-left: auto;
	padding: 0 16px 24px;
}

.wd-hero-pick {
	position: relative;
	display: block;
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	cursor: pointer;
	box-shadow: none;
	line-height: 0;
}

.wd-hero--food-library .wd-hero-picks {
	gap: 0;
}

.wd-hero-pick:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.wd-hero-pick--large {
	z-index: 2;
	height: 216px;
}

.wd-hero-pick--small {
	z-index: 1;
	height: 135px;
}

.wd-hero-pick img {
	height: 100%;
	width: auto;
	max-width: none;
	object-fit: contain;
	display: block;
}

/*
 * At the narrow end of a wide screen the band is sharing its width with the sentence, so the cutouts
 * shrink rather than crowding the shop's own name.
 */
@media (max-width: 1280px) {
	.wd-hero-word {
		max-width: 326px;
		padding-right: 16px;
		padding-left: 16px;
		font-size: 23px;
	}

	.wd-hero-picks {
		padding-right: 12px;
		padding-left: 12px;
	}

	.wd-hero-pick--large {
		height: 212px;
	}

	.wd-hero-pick--small {
		height: 128px;
	}
}

@media (max-width: 1120px) {
	.wd-hero-picks {
		gap: 0;
		padding-right: 8px;
		padding-left: 8px;
	}

	.wd-hero-word {
		max-width: 212px;
		padding-right: 12px;
		padding-left: 12px;
		font-size: 20px;
	}

	.wd-hero-pick--large { height: 212px; }
	.wd-hero-pick--small { height: 112px; }
}

@media (max-width: 1040px) {
	.wd-hero-picks {
		display: none;
	}
}

/* ------------------------------------------------------- the veg / egg / non veg mark --- */

/*
 * The mark a customer here reads before the dish name. Three colours, because `is_veg` is a
 * boolean and cannot say egg: the same three the phone menu uses, so a dish wears one colour
 * on both screens.
 */
.wd-mark {
	position: relative;
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-right: 7px;
	vertical-align: -1px;
	border: 1.6px solid currentColor;
	border-radius: 3px;
}

.wd-mark::after {
	content: '';
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	background: currentColor;
}

.wd-mark.is-veg {
	color: #2e9e44;
}

.wd-mark.is-egg {
	color: #c8901a;
}

.wd-mark.is-non_veg {
	color: #c62828;
}
