/* Pick-Your-Own pages — production stylesheet.
   Builds on the storefront tokens declared in css/store.css and the component
   language of the approved walkthrough css/pyo-booking-flow.css (slot, chip,
   field, total, srow, ref). Mockup-only rules (phone frames, annotations) are
   deliberately not carried over. Mobile-first; tap targets >= 44px
   (build_principles.md §5.2). */

/* ---------- page shell ---------- */
.pyo {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}
.pyo h1, .pyo h2 {
  font-family: var(--font-display);
  color: var(--brand-forest);
  letter-spacing: -0.01em;
}
.pyo h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.12; margin: 6px 0 10px; }
.pyo h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.pyo p { line-height: 1.6; }

.pyo-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-amber);
}
.pyo-fine { font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.pyo-empty { color: var(--text-muted); font-size: 14px; }

/* ---------- pitch ---------- */
.pyo-banner {
  margin: 0 0 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pyo-banner img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pyo-hero {
  background: linear-gradient(135deg, var(--brand-forest) 0%, var(--brand-forest-light) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-lift);
}
.pyo-hero h1 { color: #fff; }
.pyo-hero .pyo-eyebrow { color: #F0DFC0; }
.pyo-lede { color: #DCE7D8; font-size: 15px; }
.pyo-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.pyo-price span { font-size: 13px; color: #DCE7D8; }
.pyo-price b { font-family: var(--font-display); font-size: 30px; font-weight: 700; }

/* ---------- blocks ---------- */
.pyo-block { margin-top: 28px; }
.pyo-text-link {
  font-weight: 600;
  color: var(--brand-forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pyo-text-link:hover { color: var(--brand-amber); }
.pyo-section-head { margin-bottom: 14px; }
.pyo-section-head p { font-size: 13px; color: var(--text-muted); }
.pyo-know ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pyo-know li {
  font-size: 14px;
  color: var(--text-main);
  padding-left: 20px;
  position: relative;
}
.pyo-know li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-amber);
}
.pyo-closed {
  margin-top: 28px;
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-amber);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.pyo-closed p { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* ---------- slot picker ---------- */
.slot-day + .slot-day { margin-top: 22px; }
.slot-day-head {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-forest);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  min-height: 44px;
}
.slot + .slot { margin-top: 10px; }
.slot:hover { border-color: var(--brand-amber); }
.slot.full { background: #F3F0EB; box-shadow: none; }
.slot-main { display: flex; flex-direction: column; gap: 2px; }
.slot .t { font-size: 15px; font-weight: 700; color: var(--brand-forest); }
.slot .s { font-size: 12.5px; color: var(--text-muted); }
.slot.full .t, .slot.full .s { color: var(--text-light); }

/* ---------- chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
}
.chip-ok { background: #EAF1EC; color: var(--brand-forest); }
.chip-neutral { background: #EFEAE1; color: var(--text-muted); }
.chip-warn { background: var(--brand-amber-soft); color: #6B3D10; }
.chip-err { background: #FBEAE8; color: var(--danger); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--brand-forest); color: #fff; }
.btn-primary:hover { background: var(--brand-forest-light); }
.btn-ghost { background: var(--surface-white); color: var(--brand-forest); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand-amber); color: var(--brand-amber); }
.btn-whatsapp { background: #3B5334; color: #fff; }
.btn-whatsapp:hover { background: #2F4229; }
.pyo-whatsapp { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.pyo-whatsapp .btn { width: auto; }
.pyo-whatsapp-number { font-size: 14px; font-weight: 600; color: var(--text-muted); }

/* ---------- form fields ---------- */
.pyo-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FCFAF6;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.field:focus-within { border-color: var(--brand-amber); background: var(--surface-white); }
.field .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field .val {
  font: inherit;
  font-size: 15px;
  min-height: 28px;
  border: none;
  background: transparent;
  color: var(--text-main);
  width: 100%;
}
.field .val:focus { outline: none; }
.field .hint { font-size: 12px; color: var(--text-muted); }

/* ---------- errors + totals ---------- */
.note { border-radius: var(--radius-md); padding: 12px 16px; font-size: 13.5px; line-height: 1.55; }
.note-err { background: #FBEAE8; color: var(--danger); border: 1px solid rgba(158, 43, 37, 0.25); }
.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: #EAF1EC;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.total .k { font-size: 13px; font-weight: 700; color: var(--brand-forest); }
.total .v { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--brand-forest); }

/* ---------- slot summary + reference ---------- */
.pyo-slot-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 14px 0;
}
.pyo-slot-summary .t { font-size: 15px; font-weight: 700; color: var(--brand-forest); }
.pyo-slot-summary .s { font-size: 13px; color: var(--text-muted); }

.ref {
  display: inline-block;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-amber);
  background: var(--brand-amber-soft);
  border: 1px solid rgba(185, 119, 43, 0.3);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  margin: 4px 0 8px;
}
.confirm-mark {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #EAF1EC;
  color: var(--brand-forest);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- bottom illustration ---------- */
.pyo-ducks { margin: 30px auto 0; max-width: 520px; }
.pyo-ducks img { display: block; width: 100%; }

/* ---------- home discover card ---------- */
.pyo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 24px;
  align-items: center;
  margin: 0 0 28px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-forest) 0%, var(--brand-forest-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-lift);
}
.pyo-card h2 { color: #fff; }
.pyo-card .pyo-eyebrow { color: #F0DFC0; }
.pyo-card-copy p { color: #DCE7D8; font-size: 14px; margin-bottom: 14px; }
.pyo-card .btn-primary { background: var(--brand-amber); color: #fff; }
.pyo-card .btn-primary:hover { background: #A4641F; }
.pyo-card-slots {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.pyo-card-slots .eyebrow-sm {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F0DFC0;
  margin-bottom: 8px;
}
.pyo-card-slots .meta.fine { font-size: 11px; color: #DCE7D8; margin-top: 8px; }

/* ---------- summary rows ---------- */
.srow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}
.srow + .srow { border-top: 1px solid var(--border-subtle); }
.srow .k { font-size: 13px; color: var(--text-muted); }
.srow .v { font-size: 13.5px; font-weight: 700; color: var(--brand-forest); }
.pyo-card-slots .srow + .srow { border-top-color: rgba(255, 255, 255, 0.14); }
.pyo-card-slots .srow .k { color: #DCE7D8; }
.pyo-card-slots .srow .v { color: #fff; }

/* ---------- flash messages ---------- */
.site-messages {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 0 20px;
}
.site-message {
  background: var(--brand-amber-soft);
  border: 1px solid rgba(185, 119, 43, 0.3);
  color: #6B3D10;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .pyo-card { grid-template-columns: 1fr; }
  .pyo-hero { padding: 22px 20px; }
}
