.precompra-agenda {
  --pc-blue: #f7b718;
  --pc-blue-dark: #111111;
  --pc-ink: #111111;
  --pc-muted: #627183;
  --pc-border: #d8dee6;
  --pc-soft: #f6f8fb;
  max-width: 820px;
  color: var(--pc-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.precompra-agenda * { box-sizing: border-box; }
.pc-card { overflow: hidden; border: 1px solid var(--pc-border); border-radius: 8px; background: #fff; box-shadow: 0 18px 46px rgba(21, 32, 43, .12); }
.pc-head { padding: 22px 24px; background: #111111; color: #fff; border-top: 4px solid #f7b718; }
.pc-head h2 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: 0; color: #ffffff !important; }
.pc-head p { margin: 7px 0 0; color: #dbe5ee; line-height: 1.45; }
.pc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 16px 20px 2px; }
.pc-step span { display: block; margin-bottom: 6px; color: var(--pc-muted); font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-step i { display: block; height: 7px; border-radius: 99px; background: #c8d0d9; }
.pc-step.is-active span, .pc-step.is-done span { color: var(--pc-blue-dark); }
.pc-step.is-active i, .pc-step.is-done i { background: var(--pc-blue); }
.pc-body { padding: 22px 24px 24px; }
.pc-title { margin: 0; font-size: 18px; letter-spacing: 0; }
.pc-subtitle { margin: 7px 0 18px; color: var(--pc-muted); line-height: 1.45; }
.pc-region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.pc-region { position: relative; min-height: 104px; border: 1px solid var(--pc-border); border-radius: 8px; background: #fff; padding: 16px; text-align: left; cursor: pointer; }
.pc-region.is-selected, .pc-region:hover { border-color: var(--pc-blue); background: #fff8dc; box-shadow: 0 9px 22px rgba(247,183,24,.18); }
.pc-region.is-selected { border-width: 2px; padding: 15px; }
.pc-region.is-selected::after { content: "Seleccionado"; position: absolute; top: 12px; right: 12px; border-radius: 999px; background: #111111; color: #f7b718; padding: 4px 8px; font-size: 11px; font-weight: 850; }
.pc-region strong { display: block; color: var(--pc-ink); font-size: 18px; }
.pc-region span { display: block; margin-top: 7px; color: var(--pc-muted); line-height: 1.35; }
.pc-service-panel { border-top: 1px solid var(--pc-border); padding-top: 16px; }
.pc-list { display: grid; gap: 10px; }
.pc-choice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 58px; padding: 12px; border: 1px solid var(--pc-border); border-radius: 8px; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.pc-choice:hover, .pc-choice:has(input:checked) { border-color: var(--pc-blue); background: #fffaf0; box-shadow: 0 7px 18px rgba(247,183,24,.12); }
.pc-choice input { width: 18px; height: 18px; accent-color: var(--pc-blue); }
.pc-choice strong { display: block; font-size: 15px; }
.pc-choice small { display: block; margin-top: 3px; color: var(--pc-muted); line-height: 1.35; }
.pc-price { color: #0e684f; font-weight: 850; white-space: nowrap; }
.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pc-field { display: grid; gap: 7px; }
.pc-field.pc-full { grid-column: 1 / -1; }
.pc-field label, .pc-label { color: var(--pc-blue-dark); font-size: 13px; font-weight: 800; }
.pc-field input, .pc-field select, .pc-field textarea { width: 100%; min-height: 44px; border: 1px solid #bbc6d1; border-radius: 6px; padding: 10px 12px; color: var(--pc-ink); background: #fff; outline: none; }
.pc-field textarea { min-height: 82px; resize: vertical; }
.pc-field input:focus, .pc-field select:focus, .pc-field textarea:focus { border-color: var(--pc-blue); box-shadow: 0 0 0 3px rgba(247,183,24,.2); }
.pc-help { margin: 8px 0 0; color: var(--pc-muted); font-size: 13px; line-height: 1.45; }
.pc-help a { color: var(--pc-blue-dark); font-weight: 800; }
.pc-time-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.pc-time-layout > .pc-grid, .pc-time-layout > div { min-width: 0; }
.pc-time-layout > .pc-grid { grid-template-columns: 1fr; border: 1px solid var(--pc-border); border-radius: 8px; padding: 14px; }
.pc-time-layout > div:last-child { border: 1px solid var(--pc-border); border-radius: 8px; padding: 14px; }
.pc-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-time { min-width: 0; min-height: 48px; border: 1px solid var(--pc-border); border-radius: 8px; background: #fff; color: var(--pc-ink); font-weight: 850; cursor: pointer; white-space: nowrap; }
.pc-time.is-selected { border-color: #111111; background: #111111; color: #f7b718; }
.pc-time:disabled { cursor: not-allowed; color: #9aa6b2; background: #f3f5f7; text-decoration: line-through; }
.pc-time small { display: block; margin-top: 2px; font-size: 11px; font-weight: 750; text-decoration: none; }
.pc-summary { display: grid; gap: 9px; margin-top: 16px; border: 1px solid var(--pc-border); border-radius: 8px; background: var(--pc-soft); padding: 14px; }
.pc-row { display: flex; justify-content: space-between; gap: 16px; color: #4f5e6d; font-size: 14px; }
.pc-row strong { color: var(--pc-ink); text-align: right; }
.pc-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.pc-terms input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--pc-blue); }
.pc-error { display: none; margin-top: 16px; padding: 11px 12px; border: 1px solid #efb4b4; border-radius: 8px; background: #fff5f5; color: #9a1c1c; font-size: 14px; }
.pc-error.is-visible { display: block; }
.pc-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pc-border); }
.pc-actions button { min-height: 44px; border: 0; border-radius: 6px; padding: 0 18px; font-weight: 850; cursor: pointer; }
.pc-secondary { background: #e7edf3; color: #263442; }
.pc-primary { margin-left: auto; background: #f7b718; color: #111111; }
.pc-primary:hover { background: #111111; color: #f7b718; }
.pc-primary:disabled { opacity: .62; cursor: wait; }
.pc-success { text-align: center; padding: 22px 0 8px; }
.pc-success-mark { width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 999px; background: #e8f7ef; color: #0e684f; font-size: 28px; font-weight: 900; }
.pc-success h3 { margin: 0; font-size: 22px; }
.pc-success p { margin: 10px auto 0; max-width: 36rem; color: #566371; line-height: 1.55; }
.pc-success-note { margin-top: 14px; border: 1px solid #f7d36a; border-radius: 8px; background: #fff8dc; padding: 12px; color: #3b2b00; font-size: 14px; line-height: 1.45; }
.pc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pc-compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pc-compact-grid .pc-full { grid-column: 1 / -1; }
.pc-compact-grid textarea { min-height: 68px; }
@media (max-width: 650px) {
  .pc-head, .pc-body { padding-left: 16px; padding-right: 16px; }
  .pc-steps { padding-left: 14px; padding-right: 14px; }
  .pc-step span { font-size: 0; }
  .pc-step span::first-letter { font-size: 12px; }
  .pc-region-grid, .pc-grid, .pc-time-layout, .pc-compact-grid { grid-template-columns: 1fr; }
  .pc-choice { grid-template-columns: auto 1fr; }
  .pc-price { grid-column: 2; }
  .pc-times { grid-template-columns: 1fr; }
}
