/* Styles of the tenants' websites (phase 4). Mobile-first.
   Colors, fonts and shapes come from custom properties in the tenant's theme (theme.ts); the four
   presets also differ in a few places through .style-<preset>. */

/* No grey or blue flash when a button or link is tapped (mobile browsers, every device). Keyboard
   focus stays visible through the :focus-visible styles. */
html { -webkit-tap-highlight-color: transparent; }

:root {
  --space: 1.25rem;
  --space-large: 2.25rem;
  --width: 64rem;
  --width-text: 40rem;
}

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

body.site {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.site h1,
.site h2,
.site h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  text-transform: var(--heading-transform);
  line-height: 1.12;
  margin: 0;
}

.site h1 {
  font-size: clamp(2.25rem, 9vw, 3.75rem);
  letter-spacing: -0.01em;
}

.site h2 {
  font-size: clamp(1.6rem, 6vw, 2.25rem);
}

.site h3 {
  font-size: 1.15rem;
}

.site p {
  margin: 0;
}

.site a {
  color: var(--brand-text);
  text-underline-offset: 0.15em;
}

.site :focus-visible {
  outline: 3px solid var(--brand-text);
  outline-offset: 2px;
}

.site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--space);
  top: var(--space);
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--text);
}

.preview-bar {
  margin: 0;
  padding: 0.5rem var(--space);
  background: #1b1f24;
  color: #ffffff;
  font: 600 0.875rem/1.4 system-ui, sans-serif;
  text-align: center;
}

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

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.site .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: var(--radius-button);
  font-weight: var(--weight-strong);
  text-decoration: none;
  border: 2px solid transparent;
}

.site .button-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.site .button-secondary {
  border-color: var(--text);
  color: var(--text);
}

.site .button-small {
  min-height: 2.75rem;
  padding: 0 1.1rem;
}

/* --- Header and navigation-------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header-inner,
.site-nav ul,
.site-content,
.site-footer-inner {
  max-width: var(--width);
  margin: 0 auto;
  padding-inline: var(--space);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 0.5rem;
}

.site .site-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  text-transform: var(--heading-transform);
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  list-style: none;
  padding-block: 0.25rem 0.75rem;
  margin-block: 0;
}

.site-nav a {
  display: inline-block;
  padding-block: 0.4rem;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* --- Blocks: shared ------------------------------------------------------------------------------ */

.site-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-large);
  padding-block: var(--space) var(--space-large);
}

.page-title {
  padding-top: 0.5rem;
}

.block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.block-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.block-text p,
.about-text p,
.answer p {
  max-width: var(--width-text);
}

.block-text > * + *,
.about-text > * + *,
.answer > * + * {
  margin-top: 0.75rem;
}

.block-text h2 {
  margin-top: 1.5rem;
}

.variant-centered {
  text-align: center;
  align-items: center;
}

.illustration {
  display: block;
  width: 100%;
  height: 100%;
}

.i-surface { fill: var(--illustration); }
.i-surface-dark { fill: var(--line); }
.i-brand { fill: var(--brand); }
.i-light { fill: var(--illustration-light); }
.i-background { fill: var(--surface); }
.i-accent-2 { fill: #f6a48a; }
.i-accent-3 { fill: #ffd66b; }
.i-soft-2 { fill: #e6e1fb; }
.i-soft-3 { fill: #fff3b8; }
.i-line { fill: none; stroke: var(--line); stroke-width: 3; }
.i-line-thin { fill: none; stroke: var(--line); stroke-width: 1; }
.i-line-thick { fill: none; stroke: var(--line); stroke-width: 10; }

/* --- Hero ------------------------------------------------------------------------------------- */

.block-hero {
  gap: 1.25rem;
}

.hero-image {
  aspect-ratio: 5 / 3;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--illustration);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

/* --- Menu highlight --------------------------------------------------------------------------- */

.dishes {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dish {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.variant-cards .dish {
  padding: 0.75rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.variant-list .dish {
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}

.dish-image {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: calc(var(--radius-card) * 0.8);
  overflow: hidden;
  background: var(--illustration);
}

.dish-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-text {
  flex-grow: 1;
  min-width: 0;
}

/* Dish labels (12 November 2026): small, quiet pills; the featured one in the brand colour. */
.dish-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.25rem 0;
}

.dish-label {
  padding: 0.1rem 0.5rem;
  font-size: 0.8rem;
  font-weight: var(--weight-strong);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.dish-label-featured {
  color: var(--on-brand);
  background: var(--brand);
  border-color: var(--brand);
}

.dish-description {
  color: var(--muted);
  font-size: 0.925rem;
}

.dish-price {
  font-weight: var(--weight-strong);
  white-space: nowrap;
}

.more-link {
  font-weight: var(--weight-strong);
}

/* --- About ----------------------------------------------------------------------------------- */

.about-image {
  border-radius: var(--radius-large);
  overflow: hidden;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text);
}

/* --- Opening hours ---------------------------------------------------------------------------- */

.block-opening-hours {
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hours {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.hours dd {
  margin: 0;
  font-weight: var(--weight-strong);
  text-align: right;
}

.open-now {
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--open-background);
  color: var(--open-text);
  font-size: 0.875rem;
  font-weight: var(--weight-strong);
}

.open-now.closed {
  background: var(--line);
  color: var(--text);
}

.exceptions ul {
  display: grid;
  gap: 0.25rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.exceptions li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.exceptions-heading {
  font-weight: var(--weight-strong);
}

/* --- Location --------------------------------------------------------------------------------- */

.address {
  font-style: normal;
}

/* --- Gallery ---------------------------------------------------------------------------------- */

.gallery {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.gallery-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.variant-strip .gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.variant-strip .gallery li {
  flex: 0 0 16rem;
  scroll-snap-align: start;
}

/* --- Promo ------------------------------------------------------------------------------------ */

.block-promo {
  gap: 0.15rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  background: var(--accent-surface);
  color: var(--on-accent-surface);
}

.promo-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  text-transform: var(--heading-transform);
  font-size: 1.2rem;
}

.block-promo.variant-card {
  padding: 1.5rem;
  border-radius: var(--radius-large);
}

/* --- FAQ -------------------------------------------------------------------------------------- */

.questions {
  display: grid;
  gap: 0.5rem;
}

.question {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
}

.question summary {
  min-height: 1.75rem;
  cursor: pointer;
  font-weight: var(--weight-strong);
}

.question .answer {
  margin-top: 0.5rem;
  color: var(--muted);
}

/* --- Delivery area ---------------------------------------------------------------------------- */

.areas {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.areas li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.area {
  font-weight: var(--weight-strong);
}

.area-details {
  color: var(--muted);
}

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

.site-footer {
  background: var(--accent-surface);
  color: var(--on-accent-surface);
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 1.75rem 2.25rem;
  font-size: 0.925rem;
}

.site-footer a {
  color: inherit;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  text-transform: var(--heading-transform);
  font-size: 1.25rem;
}

/* --- Presets ---------------------------------------------------------------------------------- */

/* Sleek: sharp lines, buttons against each other, a list with rules. */
.style-sleek .site-header {
  border-bottom-color: var(--text);
}

.style-sleek .buttons {
  gap: 0;
}

.style-sleek .buttons .button + .button {
  border-left-width: 0;
}

.style-sleek .button-secondary {
  border-width: 1px;
}

.style-sleek .block-opening-hours,
.style-sleek .question {
  border-color: var(--line);
}

.style-sleek .site-footer {
  background: var(--background);
  color: var(--text);
  border-top: 1px solid var(--text);
}

/* Bold: capitals on buttons, dishes as cards in two columns, a rule in the brand color. */
.style-bold .button {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.style-bold .variant-cards .dishes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.style-bold .variant-cards .dish {
  flex-direction: column;
  align-items: stretch;
  border: 0;
}

.style-bold .variant-cards .dish-image {
  width: 100%;
  height: 6rem;
}

.style-bold .dish-name {
  font-family: var(--font-body);
  font-weight: var(--weight-strong);
  text-transform: none;
}

.style-bold .dish-price {
  color: var(--brand-text);
}

.style-bold .site-header {
  border-bottom: 0;
}

.style-bold .site-footer {
  background: var(--background);
  color: var(--muted);
  border-top: 4px solid var(--brand);
}

/* Fresh: soft surfaces instead of lines. */
.style-fresh .site-header {
  border-bottom: 0;
}

.style-fresh .variant-cards .dish,
.style-fresh .block-opening-hours,
.style-fresh .question {
  border-color: transparent;
}

.style-fresh .button-secondary {
  border-color: transparent;
  background: var(--line);
}

.style-fresh .site-footer {
  background: var(--illustration);
  color: var(--text);
}

/* --- Larger screens ---------------------------------------------------------------------------- */

@media (min-width: 48rem) {
  :root {
    --space: 2rem;
    --space-large: 3.5rem;
  }

  /* Header on one row: name, menu, order button. */
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 2rem;
    max-width: var(--width);
    margin: 0 auto;
    padding: 1rem var(--space);
  }

  .site-header-inner {
    display: contents;
  }

  .site-name {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .button {
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav ul {
    padding: 0;
    justify-content: flex-end;
  }

  .variant-photo-beside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 2.5rem;
  }

  .variant-photo-beside .hero-image {
    order: 2;
  }

  .variant-large-photo .hero-image {
    aspect-ratio: 21 / 8;
  }

  .variant-cards .dishes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .style-bold .variant-cards .dishes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .block-about.variant-photo-left:not(.no-photo),
  .block-about.variant-photo-right:not(.no-photo) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 2.5rem;
  }

  .block-about.variant-photo-right .about-image {
    order: 2;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .block-opening-hours {
    max-width: 32rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site .button {
    transition: filter 0.15s ease;
  }

  .site .button:hover {
    filter: brightness(0.92);
  }
}

/* --- Ordering (phase 5): menu, cart and checkout --------------------------------------------- */

/* Parts that need JavaScript only appear once ordering.js runs. */
html:not(.js) .js-only {
  display: none;
}

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

.site input,
.site select,
.site textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: calc(var(--radius-card) * 0.6);
}

.site input[type="radio"],
.site input[type="checkbox"] {
  width: 1.25rem;
  min-height: 1.25rem;
  height: 1.25rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--brand);
}

.site fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.site legend {
  padding: 0;
  font-weight: var(--weight-strong);
}

.site summary {
  cursor: pointer;
}

.order-notice {
  padding: 0.875rem 1rem;
  background: var(--brand-soft);
  border-radius: var(--radius-card);
}

.order-error {
  border-left: 4px solid var(--brand-text);
}

.hint,
.muted {
  color: var(--muted);
  font-size: 0.925rem;
}

/* Categories as a horizontal strip; scrollable on the phone. */
.category-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-inline: calc(var(--space) * -1);
  padding-inline: var(--space);
  background: var(--background);
  border-bottom: 1px solid var(--line);
}

.category-nav ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0.5rem 0;
  overflow-x: auto;
  list-style: none;
}

.category-nav a {
  display: inline-block;
  padding-block: 0.4rem;
  white-space: nowrap;
  color: var(--text);
  font-weight: var(--weight-strong);
  text-decoration: none;
}

.menu-category {
  scroll-margin-top: 4rem;
}

.allergen-filter {
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.allergen-filter summary {
  font-weight: var(--weight-strong);
  min-height: 1.75rem;
}

.allergen-filter > * + * {
  margin-top: 0.75rem;
}

.filter-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
}

.filter-checkboxes label,
.option,
.choice,
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
}

.menu-category .dish {
  align-items: flex-start;
}

.dish-side {
  text-align: right;
}

.sold-out {
  font-size: 0.85rem;
  font-weight: var(--weight-strong);
  color: var(--muted);
}

.allergens {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.allergens summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--brand-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.allergens p {
  color: var(--muted);
}

.choose {
  margin-top: 0.5rem;
}

.choose > summary {
  list-style: none;
}

.choose > summary::-webkit-details-marker {
  display: none;
}

.add-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.option-group {
  display: grid;
}

.option span:first-of-type {
  flex-grow: 1;
}

.option-price {
  color: var(--muted);
  white-space: nowrap;
}

.add-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.add-row input {
  width: 4.5rem;
}

.add-message:empty {
  display: none;
}

/* Cart bar: fixed at the bottom of the screen while the cart is not empty. */
.cart-bar {
  position: fixed;
  right: var(--space);
  bottom: var(--space);
  left: var(--space);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  color: var(--on-brand);
  background: var(--brand);
  border-radius: var(--radius-button);
  box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 0.25);
  font-weight: var(--weight-strong);
  text-decoration: none;
}

.site .cart-bar {
  color: var(--on-brand);
  text-decoration: none;
}

.cart-bar[hidden] {
  display: none;
}

.cart-bar-total {
  flex-grow: 1;
}

.cart-bar-action::after {
  content: " →";
}

.js .with-cart-bar {
  padding-bottom: 6.5rem;
}

/* Checkout */
.cart,
.checkout,
.confirmation {
  max-width: 40rem;
}

.cart-content {
  margin-top: 0.75rem;
}

.receipt-lines {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.receipt-lines li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.line-name {
  flex: 1 1 12rem;
}

.line-message {
  display: block;
  color: var(--brand-text);
  font-weight: var(--weight-strong);
}

.line-quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.line-quantity .quantity {
  min-width: 1.75rem;
  text-align: center;
}

.button-mini {
  width: 2.75rem;
  height: 2.75rem;
  font: inherit;
  font-weight: var(--weight-strong);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.amount {
  margin-left: auto;
  font-weight: var(--weight-strong);
  white-space: nowrap;
}

.checkout {
  display: grid;
  gap: 1.5rem;
}

.choice-group {
  display: grid;
  gap: 0.5rem;
}

.choice-group legend {
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--weight-heading);
  text-transform: var(--heading-transform);
}

.choice-group[hidden],
.choice[hidden],
.time-choice[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.time-choice,
.fields-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.code-row {
  display: flex;
  gap: 0.5rem;
}

.code-row input {
  flex: 1 1 auto;
}

/* Honeypot: invisible to people, robots fill it in. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.amounts {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.amounts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.amounts dd {
  margin: 0;
}

.amounts .total {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--text);
  font-weight: var(--weight-strong);
  font-size: 1.15rem;
}

.problems {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--brand-text);
  font-weight: var(--weight-strong);
}

.problems:empty {
  display: none;
}

.site .button-wide {
  width: 100%;
  font-size: 1.1rem;
  cursor: pointer;
}

.fixed-kind {
  font-weight: var(--weight-strong);
}

.confirmation {
  display: grid;
  gap: 1rem;
}

.status-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--brand-soft);
  border-radius: 1rem;
  font-weight: var(--weight-strong);
}

@media (min-width: 48rem) {
  .filter-checkboxes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .menu-category .dishes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

.add-quick {
  margin-top: 0.25rem;
}

.add-message {
  font-size: 0.9rem;
  color: var(--muted);
}

.site button.button-secondary {
  background: transparent;
  font: inherit;
  font-weight: var(--weight-strong);
  cursor: pointer;
}

/* --- Live status of an order (phase 7) ------------------------------------------------------------ */

.status-block {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.status-illustration {
  width: 12rem;
  max-width: 100%;
  height: auto;
}

.status-sentence {
  margin: 0;
  font-size: 1.25rem;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.progress li {
  padding-top: 0.5rem;
  border-top: 0.4rem solid var(--line);
}

.progress .progress-done {
  border-top-color: var(--brand);
}

.progress [aria-current="step"] {
  font-weight: var(--weight-strong);
}

/* Logo in the header (phase 9): fixed height, width follows the logo. */
.site .site-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.site .site-logo {
  display: block;
  flex: none;
  width: auto;
  height: 2.75rem;
  max-width: 8rem;
  object-fit: contain;
  object-position: left center;
}

/* The name next to the logo may wrap, but never runs under the order button. */
.site .site-name {
  min-width: 0;
}
