/* Extras page. Base type, cards and buttons come from /things-to-do/styles.css. */

.extras-hero {
  background:
    linear-gradient(180deg, rgba(20, 24, 14, 0.42) 0%, rgba(20, 24, 14, 0.66) 100%),
    url('/extras/img/hero.jpg') center 38% / cover no-repeat;
  min-height: 62vh;
}
.extras-hero .lead { max-width: 56ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.extras-hero .btn { margin-top: 30px; }

/* ── How it works ─────────────────────────── */
.steps-band {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline-soft);
  padding: clamp(40px, 5vw, 64px) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; }
.steps .num {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--coral);
  grid-row: span 2;
}
.steps strong {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.steps span.text { font-size: 0.96rem; color: var(--sage); }

.landian-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sage-soft);
}
.landian-note img { height: 22px; width: auto; display: block; }
.steps-band .landian-note { margin-top: clamp(28px, 3vw, 40px); }

/* ── Catalog cards ────────────────────────── */
.extra-card { display: flex; flex-direction: column; cursor: default; }
/* The description takes up the slack, so the size picker, price and button
   sit on the same lines across every card in a row. */
.extra-card .feature-meta { display: flex; flex-direction: column; flex: 1; }
.extra-card .feature-meta .blurb { flex: 1 0 auto; }
.extra-card .sizes {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 16px;
  padding: 3px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--cream);
}
.extra-card .size {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sage);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.extra-card .size:hover { color: var(--coral-deep); }
.extra-card .size[aria-pressed="true"] { background: var(--sage-deep); color: var(--paper); }
.extra-card .size-blurb {
  display: block;
  margin-top: 10px;
  min-height: 4.35em;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--sage-soft);
}
.extra-card .includes-link {
  align-self: flex-start;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--coral-deep);
  font-family: var(--sans);
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.extra-card .includes-link:hover { color: var(--sage-deep); }
/* Price and, for items priced by guest count, the stepper on the same line:
   "From $360 for [-] 6 [+] guests". Every card keeps the same row height so
   prices and buttons stay lined up across a row. */
.extra-card .price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 12px;
  min-height: 32px;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--sage-deep);
}
.extra-card .guests { display: inline-flex; align-items: center; gap: 7px; }
.extra-card .guest-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--sage);
  border-radius: 50%;
  background: transparent;
  color: var(--sage-deep);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.extra-card .guest-step:hover:not(:disabled) { background: var(--sage); color: var(--paper); }
.extra-card .guest-step:disabled { opacity: 0.35; cursor: default; }
.extra-card .guest-count { min-width: 1.2em; text-align: center; font-variant-numeric: tabular-nums; }
.extra-card .add {
  margin-top: 18px;
  align-self: flex-start;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--sage);
  background: transparent;
  color: var(--sage-deep);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.extra-card .add:hover { background: var(--sage); color: var(--paper); }
.extra-card.selected { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.extra-card.selected .add { background: var(--coral); border-color: var(--coral); color: var(--paper); }
.extra-card.selected .add:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
/* ── Early check-in and late checkout ─────── */
.time-rows {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--paper);
  max-width: 820px;
}
.time-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--hairline-soft);
}
.time-row:last-child { border-bottom: 0; }
.time-row .time-text { flex: 1; min-width: 0; }
.time-row .time-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--sage-deep);
  line-height: 1.2;
}
.time-row .time-text span { font-size: 0.9rem; color: var(--sage-soft); }
.time-row .time-pick { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--sage); }
.time-row select {
  padding: 9px 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--paper);
  color: var(--sage-deep);
  font-family: var(--sans);
  font-size: 0.95rem;
  cursor: pointer;
}
.time-row .time-price {
  min-width: 3.4em;
  text-align: right;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--sage-deep);
}
.switch {
  flex: none;
  position: relative;
  width: 46px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.switch .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage);
  transition: transform 180ms ease, background 180ms ease;
}
.switch[aria-checked="true"] { background: var(--coral); border-color: var(--coral); }
.switch[aria-checked="true"] .knob { transform: translateX(20px); background: var(--paper); }
@media (max-width: 640px) {
  /* Switch and name on the first line; the time and its price under the name. */
  .time-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 14px; padding: 16px; }
  .time-row .time-text { grid-column: 2 / 4; }
  .time-row .time-pick { grid-column: 2; }
  .time-row .time-price { grid-column: 3; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .switch, .switch .knob { transition: none; }
}

.catalog-note { margin: 28px 0 0; font-size: 0.88rem; color: var(--sage-soft); }
.catalog-loading, .catalog-error { color: var(--sage-soft); }

/* ── What's included dialog ───────────────── */
.includes-dialog {
  width: min(92vw, 520px);
  max-height: 86vh;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--paper);
  color: var(--sage-deep);
  box-shadow: var(--shadow);
}
.includes-dialog::backdrop { background: rgba(20, 24, 14, 0.5); }
.includes-dialog .inner { padding: clamp(22px, 4vw, 34px); }
.includes-dialog h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sage-deep);
  margin-bottom: 4px;
}
.includes-dialog .dialog-price { font-family: var(--serif); font-size: 1.1rem; margin: 0 0 16px; }
.includes-dialog h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 6px;
}
.includes-dialog ul { margin: 0 0 16px; padding-left: 20px; color: var(--sage); }
.includes-dialog li { padding: 3px 0; font-size: 0.95rem; }
.includes-dialog .dialog-note { font-size: 0.86rem; color: var(--sage-soft); margin: 0 0 18px; }
.includes-dialog .btn { cursor: pointer; }

/* ── Request section ──────────────────────── */
.request { background: var(--paper); border-top: 1px solid var(--hairline-soft); scroll-margin-top: 60px; }
.request-body {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.request-copy h2 { margin-bottom: 14px; }
.request-copy h3 { margin-top: clamp(32px, 4vw, 44px); }
.request-copy ul { margin: 0; padding: 0; list-style: none; }
.request-copy ul.notes li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 0.96rem;
  color: var(--sage);
}
.request-copy ul.notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.request-copy ul.selection { border: 1px solid var(--hairline); border-radius: 12px; background: var(--cream); padding: 6px 18px; }
.selection li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.selection li:last-child { border-bottom: 0; }
.selection .sel-name { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--sage-deep); line-height: 1.2; }
.selection .sel-price { display: block; font-size: 0.86rem; color: var(--sage-soft); }
.selection .remove {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--sage-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0 8px 8px;
}
.selection .remove:hover { color: var(--coral-deep); }
/* The request total, like a cart. */
.cart-total { margin-top: 14px; padding: 0 18px; }
.cart-total-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cart-total-line span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
.cart-total-line strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--sage-deep); }
.cart-total p { margin: 4px 0 0; font-size: 0.84rem; color: var(--sage-soft); }
.selection .empty { color: var(--sage-soft); font-size: 0.95rem; padding: 13px 0; display: block; }

.form-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-soft);
}
.form-card h3 { margin-bottom: 6px; }
.form-card .form-intro { font-size: 0.94rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-soft);
  font-weight: 600;
  margin-bottom: 7px;
}
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--sage-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--sage-deep);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(221, 130, 104, 0.18);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--sage-soft); margin: 6px 0 0; }
.field .hint:empty { display: none; }
.field .hint.error { color: var(--coral-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 8px; }
.form-actions .btn { width: 100%; justify-content: center; text-align: center; }
.form-actions .btn[disabled] { opacity: 0.6; cursor: wait; }
.consent { font-size: 0.82rem; color: var(--sage-soft); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 14px; font-size: 0.94rem; display: none; }
.form-status.error { display: block; color: var(--coral-deep); }
.form-success { display: none; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { margin-bottom: 10px; }
.form-success .btn { margin-top: 10px; }
.form-card.done form { display: none; }
.form-card.done .form-success { display: block; }

/* ── Selection bar ────────────────────────── */
.request-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 25;
  transform: translate(-50%, 140%);
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: var(--sage-deep);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: transform 260ms ease;
}
.request-bar.show { transform: translate(-50%, 0); }
.request-bar a {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.request-bar a:hover { background: var(--coral-deep); }

@media (max-width: 1040px) {
  .request-body { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .request-bar { font-size: 0.84rem; gap: 12px; padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .request-bar { transition: none; }
}
