/*
 * SEAZN'D: site styles. Plain CSS, no build step.
 *
 * Brand (from the 2023 booklet): cream page, ink text, sage green accent,
 * a display serif in capitals (Cormorant Garamond at weight 500, close to
 * the booklet's TAN Aegean) with a light
 * geometric sans (Jost), and vintage botanical illustrations at the edges.
 * The food photos bring the colour.
 */

/* -----------------------------------------------------------------------------
 * Fonts (self-hosted, latin subset)
 * -------------------------------------------------------------------------- */

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
}

/* -----------------------------------------------------------------------------
 * Tokens
 * -------------------------------------------------------------------------- */

:root {
	--cream: #f6f6e3;
	--paper: #fbfbf2;
	--ink: #1f1f1a;
	--muted: #5f5f53;
	--line: #dedfc6;
	--green: #7f9451;
	--green-dark: #4f6129;
	--green-soft: #e7ebd3;
	--tomato: #b83a26;

	--serif: "Cormorant Garamond", "Garamond", Georgia, serif;
	--sans: "Jost", "Futura", system-ui, sans-serif;

	--wrap: 1120px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 14px;
	--shadow: 0 10px 30px rgb(31 31 26 / 0.12);
}

/* -----------------------------------------------------------------------------
 * Base
 * -------------------------------------------------------------------------- */

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 350;
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:is(:hover, :focus-visible) {
	color: var(--green-dark);
}

:focus-visible {
	outline: 2px solid var(--green-dark);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500; /* Cormorant's 400 is too fine to read well */
	line-height: 1.1;
}

p {
	margin: 0 0 1em;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap-narrow {
	max-width: 760px;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 100;
	padding: 8px 12px;
	background: var(--ink);
	color: var(--cream);
}

.skip-link:focus {
	top: 8px;
}

.eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--green-dark);
}

.hint {
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted);
}

/* -----------------------------------------------------------------------------
 * Buttons
 * -------------------------------------------------------------------------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 0.6em 1.4em;
	border: 1px solid var(--green-dark);
	border-radius: 999px;
	background: var(--green-dark);
	color: var(--cream);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.button:is(:hover, :focus-visible, :active) {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--cream);
}

.button-outline {
	background: transparent;
	color: var(--green-dark);
}

.button-outline:is(:hover, :focus-visible, :active) {
	background: var(--green-dark);
	border-color: var(--green-dark);
}

.button-small {
	min-height: 38px;
	padding: 0.35em 1em;
	font-size: 0.9375rem;
}

.button-block {
	width: 100%;
}

.icon-button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.icon-button:is(:hover, :focus-visible) {
	background: var(--green-soft);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 1.5rem 0 0;
}

/* -----------------------------------------------------------------------------
 * Header
 * -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 20;
	background: rgb(246 246 227 / 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

/* Customizer › Site options › Keep the header at the top */

.has-sticky-header .site-header {
	position: sticky;
	top: 0;
}

.has-sticky-header.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* on phones the admin bar scrolls away with the page */
@media (max-width: 600px) {
	.has-sticky-header.admin-bar .site-header {
		top: 0;
	}
}

.site-header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
}

.site-logo {
	display: block;
	color: var(--ink);
	margin-right: auto;
}

.site-logo .logo-wordmark,
.site-logo .logo-image {
	width: auto;
	height: 26px;
}

.site-nav ul {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}

.site-nav .current-menu-item > a {
	color: var(--green-dark);
}

.cart-button {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ink);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.cart-button:is(:hover, :focus-visible) {
	background: var(--ink);
	color: var(--cream);
}

.cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--green-dark);
	color: var(--cream);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 20px;
	text-align: center;
}

@media (min-width: 700px) {
	.site-logo .logo-wordmark,
	.site-logo .logo-image {
		height: 32px;
	}

	.site-header-inner {
		min-height: 76px;
	}
}

/* -----------------------------------------------------------------------------
 * Menu: hero
 * -------------------------------------------------------------------------- */

/* several open menus on the home page */
.menu + .menu {
	border-top: 1px solid var(--line);
}

.menu-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 9vw, 96px) 0 clamp(24px, 5vw, 48px);
	text-align: center;
}

.menu-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.menu-title {
	font-size: clamp(2.5rem, 9vw, 5rem);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.menu-intro {
	margin: 1rem auto 0;
	max-width: 34em;
	font-size: 1.125rem;
	color: var(--muted);
}

/* A printed-menu aside, not a pill: an outline would read as a button. */
.menu-note {
	margin: 1.25rem auto 0;
	max-width: 24em;
	font-family: var(--serif);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.35;
	text-wrap: balance;
	color: var(--green-dark);
}

.menu-note::before {
	content: "";
	display: block;
	width: 2.5em;
	height: 1px;
	margin: 0 auto 0.75em;
	background: var(--green);
}

.menu-closed {
	margin: 1.25rem auto 0;
	padding: 0.75em 1.25em;
	max-width: 30em;
	border-radius: var(--radius);
	background: var(--green-soft);
}

.menu-closed a {
	display: block;
	margin-top: 0.25em;
	font-weight: 500;
}

.illustration {
	position: absolute;
	top: 50%;
	width: clamp(84px, 17vw, 200px);
	height: auto;
	pointer-events: none;
	user-select: none;
}

.illustration-left {
	left: 0;
	transform: translate(-28%, -50%) rotate(-6deg);
}

.illustration-right {
	right: 0;
	transform: translate(28%, -50%) rotate(6deg);
}

@media (max-width: 599px) {
	.illustration {
		top: 12px;
		width: 64px;
	}

	.illustration-left {
		transform: translate(-30%, 0) rotate(-6deg);
	}

	.illustration-right {
		transform: translate(30%, 0) rotate(6deg);
	}
}

@media (min-width: 1000px) {
	.illustration-left {
		left: max(0px, calc(50% - 560px));
		transform: translate(0, -50%) rotate(-6deg);
	}

	.illustration-right {
		right: max(0px, calc(50% - 560px));
		transform: translate(0, -50%) rotate(6deg);
	}
}

.no-menu {
	padding-bottom: clamp(56px, 10vw, 120px);
}

/* -----------------------------------------------------------------------------
 * Menu: sections and dishes
 * -------------------------------------------------------------------------- */

.menu-section {
	padding: clamp(24px, 5vw, 48px) 0;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin-bottom: clamp(20px, 4vw, 36px);
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
}

.section-title::before,
.section-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

.section-description {
	margin: -1rem auto 2rem;
	max-width: 36em;
	text-align: center;
	color: var(--muted);
}

.menu-empty {
	padding-bottom: 64px;
	text-align: center;
	color: var(--muted);
}

/* flex, not grid, so a short last row (often a single dish) is centred.
   One dish per row on phones, two on tablets, three on desktop. */
.dish-grid {
	--columns: 1;
	--gap: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 36px var(--gap);
}

@media (min-width: 600px) {
	.dish-grid {
		--columns: 2;
	}
}

@media (min-width: 900px) {
	.dish-grid {
		--columns: 3;
		--gap: 28px;
		row-gap: 40px;
	}
}

.dish {
	display: flex;
	flex-direction: column;
	width: calc((100% - (var(--columns) - 1) * var(--gap)) / var(--columns));
}

.dish-photo {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper);
}

.dish-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.dish-photo:hover img {
	transform: scale(1.04);
}

.badge {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 0.2em 0.75em;
	border-radius: 999px;
	background: var(--cream);
	font-size: 0.8125rem;
	font-weight: 500;
}

.dish-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding-top: 12px;
}

.dish-name {
	font-size: clamp(1.25rem, 4.4vw, 1.5rem); /* Cormorant runs small */
}

.dish-name a {
	text-decoration: none;
}

.dish-description {
	display: -webkit-box;
	margin: 6px 0 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted);
}

.dish-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-top: auto;
	padding-top: 12px;
}

.dish-price {
	font-size: 1.0625rem;
	font-weight: 500;
}

/* "Add" ⇄ − qty + */

.quantity .stepper,
.quantity[data-in-order] .add-button {
	display: none;
}

.quantity[data-in-order] .stepper {
	display: inline-flex;
}

.stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--green-dark);
	border-radius: 999px;
}

.stepper button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--green-dark);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.stepper button:is(:hover, :focus-visible) {
	background: var(--green-soft);
}

.stepper output {
	min-width: 1.5em;
	font-weight: 500;
	text-align: center;
}

@media (min-width: 600px) {
	.dish-photo {
		aspect-ratio: 1;
	}
}

/* vegan mark: a leaf after the name */

.vegan-mark {
	display: inline-block;
	color: var(--green-dark);
	vertical-align: -0.1em;
}

.vegan-mark .icon {
	display: block;
	width: 1em;
	height: 1em;
	stroke-width: 1.8;
	fill: var(--green-soft);
}

/* a dish without a photo: a booklet illustration on paper */

.dish-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background: var(--paper);
}

.dish-placeholder img {
	width: auto !important;
	max-width: 50%;
	height: auto !important;
	max-height: 70%;
	object-fit: contain;
}

/* "Ask for it" (dishes that can't be ordered right now) */

.ask-button .icon {
	width: 1.1em;
	height: 1.1em;
}

/* -----------------------------------------------------------------------------
 * Menus page (/menus/)
 * -------------------------------------------------------------------------- */

.menu-list {
	display: grid;
	gap: 20px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

@media (min-width: 800px) {
	.menu-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}
}

.menu-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.menu-card a:is(:hover, :focus-visible) {
	border-color: var(--green);
	box-shadow: var(--shadow);
	color: inherit;
}

.menu-card.is-open a {
	border-color: var(--green);
}

.menu-card-photos {
	display: grid;
	grid-template-columns: repeat(var(--count), minmax(0, 1fr));
	gap: 2px;
}

.menu-card-photos img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.menu-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px 22px;
}

.menu-card-badge {
	align-self: flex-start;
	padding: 0.15em 0.75em;
	border-radius: 999px;
	background: var(--green-dark);
	color: var(--cream);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.menu-card-title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: 1.75rem;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.menu-card-intro {
	color: var(--muted);
}

.menu-card-dishes {
	font-size: 0.875rem;
	color: var(--muted);
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin: 24px 0;
}

/* -----------------------------------------------------------------------------
 * Dish page
 * -------------------------------------------------------------------------- */

.dish-single {
	display: grid;
	gap: 24px;
	padding-block: clamp(24px, 6vw, 72px);
}

.dish-single-photo img {
	width: 100%;
	border-radius: var(--radius);
}

.dish-single-name {
	font-size: clamp(2rem, 6vw, 3.25rem);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.dish-single-description {
	margin-top: 1rem;
	font-size: 1.125rem;
	color: var(--muted);
}

.dish-single .dish-footer {
	justify-content: flex-start;
	gap: 20px;
	margin: 1.5rem 0;
}

.dish-single .dish-price {
	font-size: 1.5rem;
}

@media (min-width: 900px) {
	.dish-single {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 56px;
	}
}

/* -----------------------------------------------------------------------------
 * Pages (About…)
 * -------------------------------------------------------------------------- */

.content {
	padding-block: clamp(40px, 8vw, 96px);
}

.entry + .entry {
	margin-top: 48px;
}

.entry-title {
	margin-bottom: 1.5rem;
	font-size: clamp(2.25rem, 7vw, 3.75rem);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-align: center;
}

.entry-image img {
	margin: 0 auto 2rem;
	border-radius: var(--radius);
}

.entry-content > * {
	margin-block: 0 1.1em;
}

.entry-content h2 {
	margin-top: 2em;
	font-size: 1.75rem;
}

.entry-content img {
	border-radius: var(--radius);
}

/* About › The creator: the heading, then Rima's photo beside the text,
   centred against each other (photo left from 720px; stacked on phones).
   The flex/inner containers are the groups' inner containers, which
   WordPress adds in classic themes. */

.about-creator > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
}

.about-portrait {
	max-width: 340px;
	margin: 0 auto 1.5em;
}

@media (min-width: 720px) {
	.about-creator > .wp-block-group__inner-container {
		flex-direction: row;
		align-items: center;
		gap: 2.5rem;
	}

	.about-creator .about-portrait {
		flex: 0 0 40%;
		max-width: none;
		margin: 0;
	}

	.about-creator-text {
		flex: 1;
	}

	.about-creator-text p:last-child {
		margin-bottom: 0;
	}
}

.about-portrait figcaption {
	margin-top: 0.5em;
	color: var(--muted);
	font-size: 0.875rem;
	text-align: center;
}

/* -----------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */

.site-footer {
	margin-top: clamp(40px, 8vw, 80px);
	padding: clamp(40px, 8vw, 72px) 0 calc(32px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--paper);
	text-align: center;
}

.site-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.footer-logo {
	color: var(--ink);
}

.footer-logo .logo-wordmark,
.footer-logo .logo-image {
	width: auto;
	height: 34px;
}

.footer-tagline {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.footer-market {
	margin: 0;
	color: var(--muted);
}

.contact-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 8px 0;
	padding: 0;
	list-style: none;
}

.contact-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 40px;
	padding: 0.35em 1em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--cream);
	font-size: 0.9375rem;
	text-decoration: none;
}

.contact-links a:is(:hover, :focus-visible) {
	border-color: var(--green-dark);
}

.footer-credit {
	margin: 8px 0 0;
	font-size: 0.8125rem;
	color: var(--muted);
}

/* -----------------------------------------------------------------------------
 * Order bar (bottom, once something is in the order)
 * -------------------------------------------------------------------------- */

.order-bar {
	position: fixed;
	left: 50%;
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 12px;
	width: min(480px, calc(100% - 32px));
	min-height: 56px;
	padding: 8px 20px 8px 8px;
	border: 0;
	border-radius: 999px;
	background: var(--green-dark);
	color: var(--cream);
	box-shadow: var(--shadow);
	transform: translateX(-50%);
	cursor: pointer;
}

.order-bar:is(:hover, :focus-visible) {
	background: var(--ink);
}

.order-bar-count {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgb(246 246 227 / 0.18);
	font-weight: 500;
}

.order-bar-label {
	flex: 1;
	text-align: left;
	font-weight: 500;
}

.order-bar-total {
	font-weight: 500;
}

/* keep the footer clear of the bar */
body:has(.order-bar:not([hidden])) .site-footer {
	padding-bottom: 104px;
}

/* -----------------------------------------------------------------------------
 * Order dialog
 * -------------------------------------------------------------------------- */

.cart {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
}

.cart::backdrop {
	background: rgb(31 31 26 / 0.45);
}

.cart-panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(460px, 100%);
	min-height: 100%;
	margin-left: auto;
	padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
	background: var(--cream);
	box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: no-preference) {
	.cart[open] .cart-panel {
		animation: cart-in 0.25s ease-out;
	}

	@keyframes cart-in {
		from {
			transform: translateX(24px);
			opacity: 0;
		}
	}
}

.cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

.cart-header h2 {
	font-size: 1.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cart-message {
	margin: 24px 0;
	text-align: center;
	color: var(--muted);
}

.cart-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cart-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cart-item img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 10px;
}

.cart-item-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	line-height: 1.3;
}

.cart-item-name {
	font-weight: 450;
}

.cart-item-price {
	font-size: 0.875rem;
	color: var(--muted);
}

.cart-item .stepper button {
	width: 34px;
	height: 34px;
}

.cart-total {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-size: 1.125rem;
}

.order-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 8px;
}

.order-note {
	margin: 0;
	padding: 0.6em 1em;
	border-radius: 10px;
	background: var(--green-soft);
	font-weight: 450;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
}

.field > span,
.field legend {
	padding: 0;
	font-size: 0.875rem;
	font-weight: 500;
}

.field input:not([type="radio"]),
.field textarea,
.field select {
	width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	border-color: var(--green-dark);
	outline: none;
	box-shadow: 0 0 0 3px var(--green-soft);
}

/* choices (how, which day): a group of large buttons, easy to tap */

.choices legend {
	margin-bottom: 4px;
	width: 100%;
}

.choices-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.choices label {
	position: relative;
	display: flex;
	flex: 1 1 8em;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.5em 0.9em;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.choices input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.choices label:has(input:checked) {
	border-color: var(--green-dark);
	background: var(--green-soft);
	box-shadow: inset 0 0 0 1px var(--green-dark);
	font-weight: 500;
}

.choices label:has(input:focus-visible) {
	outline: 2px solid var(--green-dark);
	outline-offset: 2px;
}

.cart-sent {
	padding-top: 24px;
	text-align: center;
}

.cart-sent h3 {
	margin-bottom: 0.5em;
	font-size: 2rem;
	text-transform: uppercase;
}

.cart-sent .actions {
	flex-direction: column;
}

/* -----------------------------------------------------------------------------
 * Motion
 * -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
