/*
  Bloom Box concept, Option A: warm and photography-led.
  styles.css has two parts. Part 1 is the shared structure, the same in all three options.
  Part 2, at the end of the file, is the visual layer for this option only.
  Colours, fonts and radii are not set here. They live in tokens.css.
*/

/*
  PART 1 OF 2: SHARED STRUCTURE
  The same in all three options. Layout, spacing and components only.
  Every colour, font, radius and shadow comes from tokens.css.
  Mobile first: base rules are for small screens, media queries add to them.
*/

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 108px) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  line-height: 1.15;
  letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-transform);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4, h5 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; }
a { color: var(--color-link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }
[role="list"], .steps, .flow__progress { list-style: none; }
dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}
[tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.5rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-weight: 700;
}
.skip-link:focus { top: 0.5rem; }

.concept-banner {
  margin: 0;
  padding: 0.4rem 1rem;
  background: var(--color-banner-bg);
  color: var(--color-banner-text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.load-error {
  margin-block: 1.5rem;
  padding: 1rem;
  border: 2px solid var(--color-error);
  color: var(--color-error);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border: var(--btn-border-width) solid var(--color-btn-bg);
  border-radius: var(--radius-btn);
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font: inherit;
  font-family: var(--font-button);
  font-size: var(--fs-button);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-tracking);
  text-transform: var(--btn-transform);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--color-btn-hover-bg); border-color: var(--color-btn-hover-bg); color: var(--color-btn-text); }
.btn--large { min-height: 52px; padding-inline: 1.75rem; }
.btn--ghost { background: transparent; border-color: var(--color-btn-ghost-border); color: var(--color-btn-ghost-text); }
.btn--ghost:hover { background: var(--color-btn-ghost-hover-bg); border-color: var(--color-btn-ghost-border); color: var(--color-btn-ghost-text); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Tags and status ---------- */

.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.tag--verify, .tag--placeholder { background: var(--color-verify-bg); color: var(--color-verify-text); }
.tag--247 { background: var(--color-live-bg); color: var(--color-live-text); }
body[data-show-verify="false"] .tag--verify { display: none; }

.status, .state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
}
.status::before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status--live, .state--available { background: var(--color-live-bg); color: var(--color-live-text); }
.status--unavailable, .state--unavailable, .state--sold-out { background: var(--color-off-bg); color: var(--color-off-text); }
.status--unavailable::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }

.notice {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--color-accent-deco);
  background: var(--color-notice-bg);
  color: var(--color-text);
  font-size: 0.9375rem;
}

/* ---------- Image placeholders ---------- */

.ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--color-ph-bg);
}
.ph img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.ph figcaption {
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-s);
  background: var(--color-ph-label-bg);
  color: var(--color-ph-label-text);
  font-size: 0.8125rem;
  line-height: 1.4;
}
.ph--product { width: 4.5rem; flex: none; }
.ph--product img { aspect-ratio: 1 / 1; }
.ph--product figcaption { display: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-header-bg);
  color: var(--color-header-text);
  border-bottom: 1px solid var(--color-header-border);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand cta" "nav nav";
  align-items: center;
  column-gap: 1rem;
  padding-top: 0.6rem;
}
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--color-header-text);
  text-decoration: none;
  justify-self: start;
}
.brand__logo { height: 1.5rem; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-heading);
  font-size: var(--fs-brand);
  font-weight: var(--brand-weight);
  letter-spacing: var(--brand-tracking);
  text-transform: var(--brand-transform);
}
.brand__by { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--color-header-muted); }

.site-nav { grid-area: nav; min-width: 0; }
.site-nav ul {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.3rem;
  border-bottom: 3px solid transparent;
  color: var(--color-header-text);
  font-family: var(--font-nav);
  font-size: var(--fs-nav);
  font-weight: var(--nav-weight);
  letter-spacing: var(--nav-tracking);
  text-transform: var(--nav-transform);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { border-bottom-color: var(--color-header-muted); }
.site-nav a.is-active { border-bottom-color: var(--color-nav-active); color: var(--color-nav-active-text); }
.site-nav a:focus-visible { outline-offset: -3px; }

.header-cta { grid-area: cta; min-height: 44px; padding: 0.4rem 1rem; }

/* Where "Reserve flowers" appears (set by data-cta on the body). */
body[data-cta="cards"] .header-cta { display: none; }
.sticky-cta { display: none; }

@media (min-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav cta";
    column-gap: 2rem;
    padding-block: 0.5rem;
  }
  .site-nav ul { justify-content: flex-end; gap: 1.5rem; }
  .site-nav a { min-height: 48px; }
  body[data-cta="cards"] .site-header__inner { grid-template-columns: auto 1fr; grid-template-areas: "brand nav"; }
}

@media (max-width: 767.98px) {
  body[data-cta="header-sticky"] .sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--color-header-bg);
    border-top: 1px solid var(--color-header-border);
    transition: transform 0.2s ease;
  }
  body[data-cta="header-sticky"] .sticky-cta .btn { width: 100%; }
  body[data-cta="header-sticky"].is-in-reserve .sticky-cta { transform: translateY(110%); visibility: hidden; }
  body[data-cta="header-sticky"] .header-cta { display: none; }
  body[data-cta="header-sticky"] .site-footer { padding-bottom: 5.5rem; }
}

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

.section { padding-block: var(--space-section); }
.section__head { max-width: 44rem; margin-bottom: var(--space-head); }
.section__head h2 { margin-bottom: 0.4em; }
.section__intro { margin: 0; color: var(--color-text-muted); font-size: var(--fs-lead); }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero { padding-block: var(--space-hero); }
.hero__inner { display: grid; gap: 2rem; align-items: center; }
.hero__title { font-size: var(--fs-display); margin-bottom: 0.35em; }
.hero__desc { max-width: 34rem; color: var(--color-text-muted); font-size: var(--fs-lead); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Hero picture: first on small screens so it sits at the top of the page. */
.ph--hero { order: -1; }
.ph--hero img { aspect-ratio: 16 / 9; }
.ph--hero figcaption { left: 0.75rem; right: auto; bottom: 0.75rem; padding: 0; background: transparent; line-height: 1; }
body[data-show-verify="false"] .ph--hero figcaption { display: none; }

@media (max-width: 479.98px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .ph--hero { order: 0; }
}

/* ---------- Locations ---------- */

.location__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.location__card .ph { border-radius: 0; }
.location__card .ph img { aspect-ratio: 16 / 10; }
.location__body { display: flex; flex-direction: column; flex: 1; gap: 1rem; padding: 1.25rem; }
.location__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.5rem 1rem; }
.location__name { margin: 0; font-size: var(--fs-h3); }
.location__city { margin: 0.15rem 0 0; color: var(--color-text-muted); font-size: 0.9375rem; }
.location__facts { display: grid; gap: 0.15rem; font-size: 0.9375rem; }
.location__facts dt {
  margin-top: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.location__facts dt:first-child { margin-top: 0; }
.location__action { display: grid; gap: 0.5rem; margin-top: auto; }
.location__action .btn { width: 100%; }
.location__note { margin: 0; color: var(--color-text-muted); font-size: 0.875rem; }


/* Machine details panel */
.map__chooser { margin: 0; }
.map__panel { scroll-margin-top: calc(var(--header-h, 108px) + 16px); scroll-margin-bottom: 1rem; }
.map__panel .location__card { height: auto; }
.map__panel-empty { margin: 0; padding: 1rem; border: 1.5px dashed var(--color-input-border); border-radius: var(--radius-m); color: var(--color-text-muted); font-size: 0.9375rem; }
.location__title { display: flex; align-items: flex-start; gap: 0.65rem; min-width: 0; }
.status--soon { background: var(--color-soon-bg); color: var(--color-soon-text); }
.status--soon::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }

/* Numbered badge shared by map pins and location cards */
.pin-num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.75rem; height: 1.75rem;
  border: 2px solid transparent;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--color-pin-outline);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.pin-num--live { border-color: var(--color-pin-live-bg); background: var(--color-pin-live-bg); color: var(--color-pin-live-text); }
.pin-num--soon { border-color: var(--color-pin-soon-ring); background: var(--color-pin-soon-bg); color: var(--color-pin-soon-text); }

/* ---------- Map ---------- */

.map { display: grid; gap: 0.9rem; margin-bottom: var(--space-head); }
.map__toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.map__view {
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--color-input-border);
  border-radius: var(--radius-btn);
  background: var(--color-input-bg);
  color: var(--color-text);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}
.map__view:hover { border-color: var(--color-accent); }
.map__view[aria-pressed="true"] { border-color: var(--color-btn-bg); background: var(--color-btn-bg); color: var(--color-btn-text); font-weight: 700; }

.map__frame {
  position: relative;
  aspect-ratio: 10 / 9;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  background: var(--color-map-water);
}
.map__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.map__water, .map__lake { fill: var(--color-map-water); }
.map__land { fill: var(--color-map-land); stroke: var(--color-map-coast); stroke-width: 1.25; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map__neighbour { fill: var(--color-map-neighbour); stroke: var(--color-map-coast); stroke-width: 1; stroke-opacity: 0.35; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map__river { fill: none; stroke: var(--color-map-water); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map__road { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map__road--main { stroke: var(--color-map-road-main); stroke-width: 1.25; }
.map__road--motorway { stroke: var(--color-map-road-motorway); stroke-width: 2.25; }
.map__leader { stroke: var(--color-map-leader); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map__point { fill: var(--color-map-leader); }

.map__labels, .map__pins { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.map__place { position: absolute; width: 0; height: 0; font-size: 0.6875rem; line-height: 1.25; }
.map__place-dot { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border: 1px solid var(--color-map-label-bg); border-radius: 50%; background: var(--color-map-label-text); }
.map__label { position: absolute; padding: 0.05rem 0.35rem; border-radius: var(--radius-s); background: var(--color-map-label-bg); color: var(--color-map-label-text); font-weight: 600; white-space: nowrap; }
.map__label--right { left: 7px; top: 0; transform: translateY(-50%); }
.map__label--left { right: 7px; top: 0; transform: translateY(-50%); }
.map__label--above { left: 0; bottom: 6px; transform: translateX(-50%); }
.map__label--below { left: 0; top: 6px; transform: translateX(-50%); }
.map__label--centre { left: 0; top: 0; transform: translate(-50%, -50%); }
.map__place--area .map__label { font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; }
.map__place--water .map__label { font-style: italic; font-weight: 400; }
.map__place--road .map__label { padding: 0 0.25rem; border: 1px solid var(--color-map-road-motorway); border-radius: 3px; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.35; }

.map__pin-item { position: absolute; width: 0; height: 0; }
.map__pin, .map__dot { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); pointer-events: auto; }
.map__pin { padding: 0; cursor: pointer; appearance: none; transition: transform 0.12s ease; }
.map__pin[aria-pressed="true"] { z-index: 3; transform: translate(-50%, -50%) scale(1.2); box-shadow: 0 0 0 3px var(--color-pin-outline), 0 0 0 6px var(--color-pin-live-bg); }
.map__dot { cursor: pointer; }
.map__pin:hover, .map__pin:focus-visible { z-index: 2; transform: translate(-50%, -50%) scale(1.15); }
.map__pin:focus-visible { border-radius: 50%; }
.map__dot { width: 0.8rem; height: 0.8rem; border: 2px solid transparent; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--color-pin-outline); }
.map__dot--live { border-color: var(--color-pin-live-bg); background: var(--color-pin-live-bg); }
.map__dot--soon { border-color: var(--color-pin-soon-ring); background: var(--color-pin-soon-bg); }

.map__foot { display: grid; gap: 0.5rem; align-content: start; }
.map__legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.9375rem; font-weight: 600; }
.map__legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.map__key { width: 0.95rem; height: 0.95rem; border: 2px solid transparent; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--color-pin-outline); }
.map__key--live { border-color: var(--color-pin-live-bg); background: var(--color-pin-live-bg); }
.map__key--soon { border-color: var(--color-pin-soon-ring); background: var(--color-pin-soon-bg); }
.map__key-line { width: 1.4rem; height: 0; border-top: 2.25px solid var(--color-map-road-motorway); }
.map__key-line--main { border-top: 1.25px solid var(--color-map-road-main); }
/* Street map (Leaflet). The frame gets its own stacking level so the map never covers the sticky header. */
.map__frame { z-index: 0; }
.map__street { position: absolute; inset: 0; background: var(--color-map-water); font: inherit; }
.map__street .leaflet-tile-pane { filter: var(--map-tile-filter, none); }
.map__street .leaflet-control-attribution { font-size: 0.625rem; }
.map__street-pin { border: 0; background: transparent; }
.map__street-pin:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 50%; }
.map__street-pin .pin-num { cursor: pointer; }
.map__street-pin .pin-num.is-selected { transform: scale(1.15); box-shadow: 0 0 0 3px var(--color-pin-outline), 0 0 0 6px var(--color-pin-live-bg); }
.map__street-pin .map__dot { position: static; display: block; width: 100%; height: 100%; transform: none; }
.map__street-leader { stroke: var(--color-map-leader); }
.map__street-point { fill: var(--color-map-leader); }
.map__note--street { display: none; }
.map--street .map__svg, .map--street .map__labels, .map--street .map__pins, .map--street .map__legend-road, .map--street .map__note--drawn { display: none; }
.map--street .map__note--street { display: block; }
.map__hint, .map__note { margin: 0; color: var(--color-text-muted); font-size: 0.875rem; }

/* Wide screens: map on the left, controls and the details panel beside it. */
@media (min-width: 900px) {
  .map { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-rows: auto auto auto 1fr; column-gap: 2.5rem; align-items: start; }
  .map__frame { grid-column: 1; grid-row: 1 / span 4; }
  .map__toolbar { grid-column: 2; grid-row: 1; }
  .map__chooser { grid-column: 2; grid-row: 2; }
  .map__panel { grid-column: 2; grid-row: 3; }
  .map__foot { grid-column: 2; grid-row: 4; }
}

/* ---------- Reserve and collect flow ---------- */

.flow {
  padding: 1.25rem;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.flow__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  counter-reset: none;
}
.flow__progress-item {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.6rem;
  border-top: 3px solid var(--color-progress-track);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.3;
}
.flow__progress-item.is-done { border-top-color: var(--color-accent-deco); }
.flow__progress-item.is-current { border-top-color: var(--color-accent); color: var(--color-text); font-weight: 700; }
.flow__progress-num {
  display: inline-grid;
  place-items: center;
  width: 1.75rem; height: 1.75rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
}
.flow__progress-item.is-current .flow__progress-num {
  border-color: var(--color-btn-bg);
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
}
.flow__progress-label { display: none; }
.flow__progress-item.is-current .flow__progress-label { display: none; }

.flow__title { margin-bottom: 1rem; font-size: var(--fs-h3); }
.flow__count {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.flow__hint { margin: 0 0 1rem; color: var(--color-text-muted); font-size: 0.9375rem; }
.flow__error { margin: 1rem 0 0; color: var(--color-error); font-weight: 700; }
.flow__error:empty { display: none; }
.flow__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; }
.flow__actions .btn--primary { margin-left: auto; }

@media (min-width: 640px) {
  .flow { padding: 2rem; }
  .flow__progress-item { grid-template-columns: auto 1fr; align-items: center; column-gap: 0.6rem; }
  .flow__progress-label, .flow__progress-item.is-current .flow__progress-label { display: block; }
}
@media (min-width: 1024px) { .flow { padding: 2.5rem; } }

/* Step 1: machine options */
.option-list { display: grid; gap: 0.75rem; }
.option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.35rem 0.85rem;
  padding: 1rem;
  border: 1.5px solid var(--color-input-border);
  border-radius: var(--radius-m);
  background: var(--color-input-bg);
  cursor: pointer;
}
.option input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--color-accent); }
.option:has(input:checked) { border-color: var(--color-accent); box-shadow: inset 0 0 0 1.5px var(--color-accent); background: var(--color-selected-bg); }
.option.is-disabled { cursor: not-allowed; border-style: dashed; }
.option.is-disabled .option__title { color: var(--color-text-muted); }
.option__main { display: grid; gap: 0.1rem; }
.option__title { font-family: var(--font-heading); font-size: 1.125rem; font-weight: var(--heading-weight); color: var(--color-heading); }
.option__meta { color: var(--color-text-muted); font-size: 0.875rem; }
.option .state { grid-column: 2; justify-self: start; border-radius: var(--radius-s); }

@media (min-width: 768px) { .option-list { grid-template-columns: repeat(2, 1fr); } }

/* Step 2: bouquets */
.product-list { display: grid; gap: 0.75rem; }
.product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-m);
  background: var(--color-input-bg);
}
.product.is-disabled .product__name, .product.is-disabled .product__meta { color: var(--color-text-muted); }
.product__name { margin: 0 0 0.2rem; font-size: 1.125rem; }
.product__meta { margin: 0 0 0.3rem; font-size: 0.9375rem; font-weight: 600; }
.product__desc { margin: 0; color: var(--color-text-muted); font-size: 0.875rem; }
.product__action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qty { display: inline-flex; align-items: center; gap: 0.25rem; }
.qty__btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--color-input-border);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.qty__btn:hover:not([disabled]) { background: var(--color-btn-ghost-hover-bg); }
.qty__btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.qty__value { min-width: 2.25rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (min-width: 640px) {
  .product { grid-template-columns: auto 1fr auto; align-items: center; }
  .product__action { grid-column: auto; flex-direction: column; align-items: flex-end; }
}

/* Step 3: day and time chips */
.group { margin-bottom: 1.5rem; }
.group > legend { margin-bottom: 0.6rem; font-weight: 700; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr)); gap: 0.5rem; }
.chip { display: block; cursor: pointer; }
.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--color-input-border);
  border-radius: var(--radius-btn);
  background: var(--color-input-bg);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.chip input:checked + span { border-color: var(--color-btn-bg); background: var(--color-btn-bg); color: var(--color-btn-text); font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.chip:hover input:not(:checked) + span { border-color: var(--color-accent); }
.chip--day span { justify-content: flex-start; padding-inline: 1rem; }
@media (min-width: 640px) { .chips:not(.chips--slots) { grid-template-columns: repeat(2, minmax(0, 20rem)); } }

/* Step 4: review */
.review { display: grid; gap: 2rem; }
.review h4 { margin-bottom: 0.9rem; }
.summary { display: grid; gap: 0.2rem; }
.summary dt {
  margin-top: 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.summary dt:first-child { margin-top: 0; }
.summary__sub { display: block; color: var(--color-text-muted); font-size: 0.875rem; }
.payment-placeholder {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1.5px dashed var(--color-input-border);
  border-radius: var(--radius-m);
}
.payment-placeholder h4 { margin-bottom: 0.4rem; }
.payment-placeholder p { margin: 0; color: var(--color-text-muted); font-size: 0.9375rem; }
@media (min-width: 768px) { .review { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* Confirmation */
.confirmation > .tag { margin-bottom: 0.75rem; }
.confirmation__title { font-size: var(--fs-h2); }
.confirmation__code {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-m);
  background: var(--color-selected-bg);
  text-align: center;
}
.confirmation__label { margin: 0; color: var(--color-text-muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.code {
  margin: 0.25rem 0;
  color: var(--color-heading);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.75rem, 8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.confirmation .summary { margin-bottom: 2rem; }
.confirmation .notice { margin-top: 1.5rem; }

/* ---------- Steps (reservation confirmation) ---------- */

.steps { display: grid; gap: 1.5rem; counter-reset: none; }
.step { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
.step__num {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--color-step-num-bg);
  color: var(--color-step-num-text);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: var(--heading-weight);
}
.step__title { margin: 0.1rem 0 0.2rem; font-size: var(--fs-h3); }
.step__text { margin: 0; color: var(--color-text-muted); }
.steps--compact { gap: 1rem; margin-bottom: 0.5rem; }
.steps--compact .step__num { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
.steps--compact .step__title { font-size: 1.0625rem; }

@media (min-width: 768px) {
  .steps:not(.steps--compact) { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps:not(.steps--compact) .step { grid-template-columns: 1fr; row-gap: 0.75rem; }
  .steps:not(.steps--compact) .step__num { grid-row: auto; }
  .steps--compact { grid-template-columns: repeat(3, 1fr); }
}

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

.about { display: grid; gap: 2rem; align-items: center; }
.about .ph img { aspect-ratio: 4 / 5; }
.about__text h3 { margin-top: 1.75rem; font-size: var(--fs-h4); }
.about__text .section__head { margin-bottom: 0; }
.about__mission { font-size: var(--fs-lead); }
.founder { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--color-rule); }
.founder__name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: var(--heading-weight); color: var(--color-heading); }
.founder__title { color: var(--color-text-muted); }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; gap: 4rem; } }

/* ---------- Forms ---------- */

.form { max-width: 34rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label, .group > legend { font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--color-input-border);
  border-radius: var(--radius-s);
  background: var(--color-input-bg);
  color: var(--color-text);
  font: inherit;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--color-error); border-width: 2px; }
.field__error { margin: 0; color: var(--color-error); font-size: 0.9375rem; font-weight: 600; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: start; }
.field--check input { width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0; accent-color: var(--color-accent); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 1 / -1; }
.form__small { color: var(--color-text-muted); font-size: 0.875rem; }
.form__status { margin: 1rem 0 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-visible { padding: 0.75rem 1rem; border-left: 4px solid var(--color-accent-deco); background: var(--color-notice-bg); }

/* ---------- Contact ---------- */

.contact { display: grid; gap: 2.5rem; }
.contact__aside h3 { font-size: var(--fs-h4); }
.contact-details dt { margin-top: 1rem; color: var(--color-text-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-details dd a { display: inline-block; padding-block: 0.35rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 7fr 4fr; gap: 4rem; } .contact__aside { padding-top: 0.5rem; } }

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

.site-footer {
  --color-focus: var(--color-footer-focus);
  padding-block: 3rem 2rem;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-size: 0.9375rem;
}
.site-footer a { display: inline-block; padding-block: 0.65rem; color: var(--color-footer-text); }
.site-footer .tag--verify { border: 1px solid currentColor; background: transparent; color: var(--color-footer-text); }
.site-footer__inner { display: grid; gap: 2rem; }
.site-footer__logo { width: 13rem; height: auto; margin-bottom: 0.75rem; }
.lockup { margin: 0; font-family: var(--font-heading); font-size: 1.125rem; letter-spacing: 0.02em; }
.site-footer__heading {
  margin-bottom: 0.5rem;
  color: var(--color-footer-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer__note { margin: 0.5rem 0 0; color: var(--color-footer-muted); font-size: 0.8125rem; }
.site-footer__base { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--color-footer-rule); color: var(--color-footer-muted); font-size: 0.8125rem; }
.site-footer__base p { margin: 0; }
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*
  PART 2 OF 2: OPTION A VISUAL LAYER
  Warm and photography-led. Large image areas, soft cream background,
  serif headings, rounded shapes.
*/

.hero {
  background:
    radial-gradient(circle at 88% 12%, var(--color-surface-alt) 0, transparent 42%),
    radial-gradient(circle at 5% 95%, var(--color-surface-alt) 0, transparent 30%),
    var(--color-bg);
}
.ph--hero { box-shadow: var(--shadow-card); }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 5fr 6fr; }
  .ph--hero { border-radius: 5rem var(--radius-media) 5rem var(--radius-media); }
  .ph--hero img { aspect-ratio: 8 / 5; }
}

.section--reserve, .section--newsletter { background: var(--color-surface-alt); }
.section--reserve .notice { background: var(--color-bg); }

.about .ph { border-radius: var(--radius-media) var(--radius-media) 11rem 11rem; }
.about__mission { font-family: var(--font-heading); font-style: italic; color: var(--color-heading); }

.newsletter { display: grid; gap: 1.5rem; }
.newsletter .section__head { margin-bottom: 0; }
.newsletter .form {
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
@media (min-width: 900px) {
  .newsletter { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: center; }
  .newsletter .form { padding: 2.25rem; max-width: none; }
}

.contact__aside {
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--color-surface-alt);
  align-self: start;
}
