/* Wed Hawaii — Lehua Add-On Selection (DEMO)
   Brand palette: ivory ground, cream panels, gold accents, near-black text. */

:root {
  --ivory: #F5F1E6;
  --cream: #FAF7EF;
  --cream-deep: #F1EADA;
  --ink: #23201A;
  --ink-soft: #5C564A;
  --ink-faint: #8A8271;
  --gold: #A6893A;
  --gold-dark: #8A7130;
  --gold-line: rgba(166, 137, 58, 0.28);
  --gold-wash: rgba(166, 137, 58, 0.07);
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(35, 32, 26, 0.04), 0 4px 14px rgba(35, 32, 26, 0.05);
  --shadow-md: 0 2px 6px rgba(35, 32, 26, 0.05), 0 16px 40px rgba(35, 32, 26, 0.08);
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
}

* { box-sizing: border-box; }

/* Panels below set display:flex/grid, which would otherwise beat [hidden]. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  margin: 0;
  line-height: 1.15;
}

a { color: var(--gold); text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

/* ------------------------------------------------------------------ */
/* DEMO BADGE                                                          */
/* ------------------------------------------------------------------ */

.demo-badge {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  background: var(--cream);
  color: var(--gold);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------ */
/* FLOURISH                                                            */
/* ------------------------------------------------------------------ */

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  font-size: 0.7rem;
  margin: 2.6rem auto;
  max-width: 460px;
  opacity: 0.85;
}
.flourish span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}
/* Drawn rather than typed, so no font substitutes an emoji for the diamond. */
.flourish i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ------------------------------------------------------------------ */
/* VENUE PICKER                                                        */
/* ------------------------------------------------------------------ */

.venue-picker {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.25rem 3rem;
}
.venue-picker__inner {
  background: var(--cream);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.6rem clamp(1.25rem, 4vw, 3rem) 2.4rem;
  max-width: 940px;
  width: 100%;
  text-align: center;
}
.venue-picker h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
.venue-picker__lede {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 1rem auto 2rem;
  font-size: 0.95rem;
}
.venue-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  text-align: left;
}
.venue-choice {
  background: var(--ivory);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.venue-choice:hover {
  background: var(--gold-wash);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------ */
/* MASTHEAD                                                            */
/* ------------------------------------------------------------------ */

.app { padding-bottom: 5rem; }

.masthead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.5rem 0;
}
.masthead__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 340px;
}
.masthead__media img { width: 100%; height: 100%; object-fit: cover; }
.masthead__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem clamp(1rem, 3vw, 3rem);
}
.masthead h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); }
.masthead__sub {
  font-style: italic;
  color: var(--gold);
  font-size: 0.62em;
  letter-spacing: 0.02em;
}
.masthead__venue {
  margin: 1.4rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.masthead__note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 1rem 0 1.2rem;
  max-width: 42ch;
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}
.linkish:hover { color: var(--gold-dark); }

/* ------------------------------------------------------------------ */
/* SECTION NAV                                                         */
/* ------------------------------------------------------------------ */

/* Sits in the layout grid: a full-width row above the form below 1200px,
   promoted to a sticky left rail above it. The row gap replaces the margin
   it used to carry when it lived outside the grid. */
.section-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
}
.section-nav a {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
.section-nav a:hover { color: var(--gold); border-bottom-color: var(--gold-line); }
.section-nav a.is-current {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* ------------------------------------------------------------------ */
/* LAYOUT                                                              */
/* ------------------------------------------------------------------ */

.layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.4rem;
  align-items: start;
}
.layout__aside { position: sticky; top: 1.5rem; }

/* Three columns once there is room: nav rail, form, running total. The
   summary gives up 40px so the form column stays as wide as it was at two
   columns; the gutters are unchanged. */
@media (min-width: 1200px) {
  .layout {
    max-width: 1520px;
    grid-template-columns: 200px minmax(0, 1fr) 300px;
  }
  .section-nav {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 1.5rem;
    align-self: start;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    /* Clears the fixed DEMO badge once the rail sticks to the top. */
    padding: 2rem 0 0;
  }
  .layout__main { grid-column: 2; grid-row: 1; }
  .layout__aside { grid-column: 3; grid-row: 1; }

  .section-nav a {
    color: var(--ink);
    padding: 0.7rem 0 0.7rem 0.95rem;
    border-bottom: 0;
    border-left: 2px solid transparent;
    line-height: 1.35;
  }
  .section-nav a:hover { color: var(--gold); border-bottom: 0; border-left-color: var(--gold-line); }
  .section-nav a.is-current { color: var(--gold); border-left-color: var(--gold); }
}

/* ------------------------------------------------------------------ */
/* SECTIONS                                                            */
/* ------------------------------------------------------------------ */

/* Each section is its own cream panel with ivory page showing between,
   and at least 5rem of air above its title on desktop (3rem on mobile). */
.section {
  background: var(--cream);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.6rem 0;
  margin: 3.2rem 0 0;
  scroll-margin-top: 1.5rem;
}
.section:first-child { margin-top: 0; }

.section__head { padding: 0 clamp(1.1rem, 3vw, 2.4rem); }
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
}
.section__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1rem 0 1.5rem;
}
.section__rule-line {
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}
.section__rule-mark {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.section__intro {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin: 0 0 1.6rem;
  max-width: 62ch;
}
.section__gallery {
  display: grid;
  gap: 6px;
  margin: 0 0 1.8rem;
}
.section__gallery--1 { grid-template-columns: 1fr; }
.section__gallery--2 { grid-template-columns: repeat(2, 1fr); }
.section__gallery--3 { grid-template-columns: repeat(3, 1fr); }
.section__gallery--4 { grid-template-columns: repeat(4, 1fr); }
.section__gallery-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}
.section__body { padding: 0 clamp(1.1rem, 3vw, 2.4rem); }
.section__footnote {
  margin: 1.6rem clamp(1.1rem, 3vw, 2.4rem) 0;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* ------------------------------------------------------------------ */
/* FIELDS                                                              */
/* ------------------------------------------------------------------ */

.field { margin: 0 0 1.6rem; }
.field[hidden] { display: none !important; }
/* Two-column rows: equal-height columns with the control anchored to the
   bottom, so an input never sits higher than its neighbour just because the
   other field carries a line of helper text. */
.field-row { display: flex; gap: 14px; align-items: stretch; }
.field--half {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.field--half > input,
.field--half > select,
.field--half > textarea,
.field--half > .combo { margin-top: auto; }

/* Items that carry photographs read as their own product card. */
.field--card {
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  margin-bottom: 1.8rem;
}

/* Pattern A — a row of photos above the item's question. */
.item-gallery {
  display: grid;
  gap: 6px;
  margin: 0 0 1rem;
}
.item-gallery--1 { grid-template-columns: 1fr; }
.item-gallery--2 { grid-template-columns: repeat(2, 1fr); }
.item-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.item-gallery--4 { grid-template-columns: repeat(4, 1fr); }
.item-gallery__img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream-deep);
  display: block;
}
.item-gallery--1 .item-gallery__img { height: 280px; }

/* Full-bleed rows that open a section. */
.item-gallery--hero { gap: 10px; margin-bottom: 1.6rem; }
.item-gallery--hero .item-gallery__img { height: 360px; }

/* A labelled row — each photo carries the version and price it shows. */
.item-gallery--captioned { align-items: start; }
.item-gallery__fig { margin: 0; }
.item-gallery--captioned .item-gallery__img { height: 280px; }
.item-gallery__cap {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.45rem 0.2rem 0;
  line-height: 1.35;
}

/* The bouquet gallery that leads the Florals section. */
.tier-gallery { margin: 0 0 2rem; }
.tier-gallery[hidden] { display: none !important; }
.tier-gallery__caption {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.8rem;
}

/* Pattern C — the labelled bouquet grid. */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 1.1rem;
}
.photo-tile {
  display: block;
  padding: 0;
  background: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--sans);
  text-align: center;
  transition: border-color 0.15s, transform 0.15s;
}
.photo-tile:hover { transform: translateY(-2px); }
.photo-tile__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream-deep);
  display: block;
}
.photo-tile__caption {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  padding: 0.35rem 0 0.2rem;
}
.photo-tile.is-selected { border-color: var(--gold); }
.photo-tile.is-selected .photo-tile__caption { color: var(--gold-dark); font-weight: 600; }
.photo-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.field__label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.45rem;
  color: var(--ink);
}
.field__req { color: var(--gold); margin-left: 3px; }
.field__help {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin: 0 0 0.6rem;
  max-width: 62ch;
}
.field__help--after { margin: 0.5rem 0 0; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 0.66rem 0.8rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
input[type="date"], input[type="time"] { min-height: 44px; }
textarea { min-height: 108px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23A6893A' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
input[type="number"] { max-width: 170px; }

/* Radio / checkbox choices */
.choices { display: flex; flex-direction: column; gap: 8px; }
.choices--inline { flex-direction: row; flex-wrap: wrap; }
.choices--inline .choice { flex: 0 1 auto; min-width: 150px; }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.choice:hover { border-color: var(--gold); }
.choice input { margin: 0; accent-color: var(--gold); width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }
.choice.is-selected { border-color: var(--gold); background: var(--gold-wash); }
.choice.is-disabled { opacity: 0.5; cursor: not-allowed; }
.choice__text { flex: 1; font-size: 0.9rem; line-height: 1.45; }
.choice__price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  margin-left: auto;
  padding-left: 10px;
}
.choice__note {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  margin-left: auto;
  padding-left: 10px;
  font-weight: 600;
}
/* Pattern B — a photo at the left of the option label. Clicking it selects
   the option, because the whole row is the <label>. */
.choice__thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
  background: var(--cream-deep);
}
/* A plain No/None keeps the same card height as its thumbnailed siblings. */
.choices--thumbed .choice { min-height: 134px; align-items: center; }
.choices--thumbed .choice input { margin-top: 0; }
.choice--thumbed { min-height: 134px; align-items: center; }
.choice__sub {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* Acknowledgment */
.ack {
  background: var(--gold-wash);
  border: 1px dashed var(--gold-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
}
.ack .choice { background: transparent; border: 0; padding: 0; }
.ack .choice__text { font-size: 0.83rem; color: var(--ink-soft); }

/* Notes / warnings / included lines */
.note-block {
  background: var(--gold-wash);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}
/* A venue with no available setups replaces the section with a single note. */
.section--note-only { padding: 0; }
.note-block--standalone {
  margin: 0;
  border-left-width: 3px;
  padding: 1.4rem 1.6rem;
  font-size: 0.95rem;
  background: transparent;
}

.warning-block {
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  margin: 2.2rem 0 1rem;
}
.warning-block h4 { font-size: 1.5rem; margin-bottom: 3px; }
.warning-block p { font-style: italic; }
.warning-block p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }

.included-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  margin: 0 0 1.6rem;
}
.included-line__label { font-size: 0.9rem; font-weight: 500; }
.included-line__tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

/* Sits between the section title and an item label in weight and size. */
.subheading {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 1rem;
}

/* Explanatory copy that carries the same weight as the page's prose. */
.body-copy {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
  max-width: 64ch;
}
.body-copy .accent { color: var(--gold); font-weight: 600; }
.body-copy strong { color: var(--ink); font-weight: 600; }
.body-copy a { font-weight: 500; }
.body-copy a.strong { font-weight: 700; }

.group-label { margin-bottom: 0.8rem; }
.group-label .field__help { margin-bottom: 0; }

/* The written compatibility guide under the setup picker. */
.bullet-block {
  background: var(--gold-wash);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem 1.2rem;
  margin: 0 0 1.8rem;
}
.bullet-block__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
.bullet-block__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 68ch;
}
.bullet-block__list li { margin-bottom: 0.55rem; }
.bullet-block__list li:last-child { margin-bottom: 0; }
.bullet-block__list li::marker { color: var(--gold); }
.bullet-block__list a { font-weight: 600; }

.flourish--block { max-width: none; margin: 2.4rem 0; }

.captioned-photo {
  margin: 0 0 1.2rem;
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.captioned-photo__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  background: var(--cream-deep);
}
.captioned-photo__caption {
  background: #fff;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
  padding: 0.7rem 0.9rem;
}

/* The chosen setup, shown large enough to actually judge. */
.setup-preview {
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 0.6rem;
  margin-top: 1rem;
}
.setup-preview__img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream-deep);
  display: block;
}
.setup-preview__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0.6rem 0.4rem 0.2rem;
}
.setup-preview__name { font-family: var(--serif); font-size: 1.5rem; }
.setup-preview__price { font-size: 0.9rem; color: var(--gold); font-weight: 600; }

/* Validation */
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.field.is-invalid .combo__input { border-color: #B4453C; box-shadow: 0 0 0 3px rgba(180, 69, 60, 0.09); }
.field.is-invalid .choices .choice { border-color: #B4453C; }
.field__error { color: #B4453C; font-size: 0.76rem; margin: 0.4rem 0 0; }

/* ------------------------------------------------------------------ */
/* SEARCHABLE DROPDOWN                                                 */
/* ------------------------------------------------------------------ */

.combo { position: relative; }
.combo__input { width: 100%; }
.combo__list {
  position: absolute;
  z-index: 60;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 288px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 0;
  padding: 4px;
  list-style: none;
}
.combo__option {
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.combo__option .combo__label { flex: 1; }
.combo__option--thumbed { padding: 0.35rem 0.7rem 0.35rem 0.35rem; }
.combo__thumb {
  width: 62px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
  flex: 0 0 auto;
  background: var(--cream-deep);
}
.combo__option:hover, .combo__option.is-active { background: var(--gold-wash); }
.combo__option .combo__price { color: var(--gold); font-weight: 600; white-space: nowrap; }
.combo__empty { padding: 0.6rem 0.7rem; font-size: 0.85rem; color: var(--ink-faint); }

/* ------------------------------------------------------------------ */
/* SUMMARY                                                            */
/* ------------------------------------------------------------------ */

.summary {
  background: var(--cream);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.3rem 1.2rem;
}
.summary--desktop { max-height: calc(100vh - 3rem); overflow-y: auto; }
.summary__title {
  font-size: 1.55rem;
  margin: 0 0 0.2rem;
}
.summary__venue {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
  font-weight: 600;
}
.summary__group {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 1.2rem 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold-line);
}
.summary__group:first-of-type { margin-top: 0.4rem; }
.summary__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.83rem;
  padding: 0.3rem 0;
  color: var(--ink);
}
.summary__line .name { flex: 1; }
.summary__line .qty { color: var(--ink-faint); font-size: 0.78rem; }
.summary__line .val { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; }
.summary__line .val--tag {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.summary__empty { font-size: 0.83rem; color: var(--ink-faint); font-style: italic; padding: 0.4rem 0; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gold);
}
.summary__total .name {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.25;
}
.summary__total .val {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.summary__gratuity {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.83rem;
  padding: 0.35rem 0;
}
.summary__gratuity--final {
  border-top: 1px solid var(--gold-line);
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  font-weight: 700;
}
.summary__foot {
  margin: 1.1rem 0 0;
  font-size: 0.72rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ------------------------------------------------------------------ */
/* SUBMIT + FOOTER                                                     */
/* ------------------------------------------------------------------ */

/* Clear air on both sides so the button never crowds the last panel. */
.submit-row { margin: 3rem 0 5rem; text-align: center; }
.btn {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 1rem 2.4rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn--gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: #fff; }
.submit-row__note { color: #B4453C; font-size: 0.83rem; margin: 0.9rem 0 0; }

.site-footer { text-align: center; padding: 1rem 1.5rem 0; }
.site-footer__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 0 0.3rem;
}
.site-footer__fine { font-size: 0.76rem; color: var(--ink-faint); margin: 0 0 0.6rem; }

/* ------------------------------------------------------------------ */
/* MOBILE TOTAL BAR                                                    */
/* ------------------------------------------------------------------ */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--cream);
  border-top: 1px solid var(--gold-line);
  box-shadow: 0 -6px 26px rgba(35, 32, 26, 0.12);
  display: none;
}
.mobile-bar__handle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0.95rem 1.1rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink);
}
.mobile-bar__label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  text-align: left;
}
.mobile-bar__total {
  margin-left: auto;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.mobile-bar__chev { color: var(--gold); font-size: 0.7rem; transition: transform 0.2s; }
.mobile-bar.is-open .mobile-bar__chev { transform: rotate(180deg); }
.mobile-bar__panel {
  max-height: 62vh;
  overflow-y: auto;
  padding: 0 0.7rem 0.9rem;
}
.mobile-bar .summary { border: 0; box-shadow: none; background: transparent; padding-top: 0; }
/* The bar's own label already names the panel. */
.summary--mobile .summary__title { display: none; }
.summary--mobile .summary__venue { margin-top: 0.4rem; }

/* ------------------------------------------------------------------ */
/* CONFIRMATION                                                        */
/* ------------------------------------------------------------------ */

.confirmation {
  min-height: 100vh;
  padding: 4.5rem 1.25rem 4rem;
  display: flex;
  justify-content: center;
}
.confirmation__inner {
  max-width: 620px;
  width: 100%;
  text-align: center;
}
.confirmation h1 { font-size: clamp(2.1rem, 6vw, 3.1rem); }
.confirmation__lede { color: var(--ink-soft); margin: 0.7rem 0 0; }
.confirmation .summary { text-align: left; box-shadow: var(--shadow-md); }
.confirmation__fine {
  font-size: 0.82rem;
  color: var(--ink-faint);
  font-style: italic;
  margin: 1.4rem 0 1.8rem;
}

/* ------------------------------------------------------------------ */
/* RESPONSIVE                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout__aside { display: none; }
  .mobile-bar { display: block; }
  .app { padding-bottom: 6.5rem; }
  .masthead { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .masthead__media { min-height: 230px; }
  .masthead__media img { height: 230px; }
  .masthead__body { padding: 1.8rem 0 0; }
  .section__gallery-img { height: 150px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .layout, .masthead, .section-nav { padding-left: 1rem; padding-right: 1rem; }
  .section { margin-top: 2rem; padding: 1.4rem 0 1.8rem; }
  .section__rule { margin: 0.7rem 0 1.1rem; }
  .field-row { flex-direction: column; gap: 0; }
  .field--half { width: 100%; }
  .field--half > input,
  .field--half > select,
  .field--half > textarea,
  .field--half > .combo { margin-top: 0; }
  .section__gallery--3, .section__gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .section__gallery-img { height: 118px; }
  .section__gallery--3 .section__gallery-img:last-child { grid-column: span 2; }
  .item-gallery--3, .item-gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .item-gallery--hero { grid-template-columns: 1fr; }
  .item-gallery--hero .item-gallery__img { height: 230px; }
  .item-gallery--captioned { grid-template-columns: 1fr; }
  .item-gallery--captioned .item-gallery__img { height: 240px; }
  .item-gallery__img { height: 116px; }
  .item-gallery--1 .item-gallery__img { height: 200px; }
  .item-gallery--3 .item-gallery__img:last-child { grid-column: span 2; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .photo-tile__img { height: 230px; }
  .choices--inline .choice { flex: 1 1 100%; }
  .choice__thumb { width: 76px; height: 76px; }
  .choices--thumbed .choice, .choice--thumbed { min-height: 100px; }
  .setup-preview__img { height: 240px; }
  .field--card { padding: 0.8rem 0.85rem 0.9rem; }
  .venue-picker__grid { grid-template-columns: 1fr; }
  .section-nav { gap: 4px 12px; }
  .btn { width: 100%; }
  .submit-row { margin: 2rem 0 3rem; }
  .captioned-photo__img { height: 210px; }
  .flourish--block { margin: 1.8rem 0; }
}

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