.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-date-grid { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.pc-date-card { flex: 0 0 86px; min-width: 86px; min-height: 76px; border: 1px solid var(--pc-border); border-radius: 8px; background: #fff; color: var(--pc-ink); cursor: pointer; text-align: center; padding: 8px 6px; }
.pc-date-card span { display: block; color: var(--pc-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.pc-date-card strong { display: block; margin-top: 2px; font-size: 24px; line-height: 1; color: #111111; }
.pc-date-card small { display: block; margin-top: 4px; color: var(--pc-muted); font-size: 12px; text-transform: capitalize; }
.pc-date-card.is-selected { border-color: #111111; background: #111111; box-shadow: 0 7px 18px rgba(17,17,17,.14); }
.pc-date-card.is-selected span, .pc-date-card.is-selected strong, .pc-date-card.is-selected small { color: #f7b718; }
.pc-date-card:disabled { cursor: not-allowed; opacity: .45; text-decoration: line-through; }
.pc-date-hint { margin: 4px 0 0; color: var(--pc-muted); font-size: 12px; line-height: 1.35; }
.pc-time-layout { display: grid; grid-template-columns: 1fr; gap: 14px; 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-final-actions { margin-top: 18px; }
.pc-final-actions p { margin: 0; color: #566371; font-size: 14px; line-height: 1.45; text-align: center; }
.pc-final-actions .pc-actions { margin-top: 12px; }
.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, .pc-action-link { min-height: 44px; border: 0; border-radius: 6px; padding: 0 18px; font-weight: 850; cursor: pointer; }
.pc-action-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; line-height: 1.2; text-align: center; }
.pc-actions-done { justify-content: center; }
.pc-actions-done .pc-primary { margin-left: 0; }
.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-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; }
  .pc-date-card { min-width: 0; width: 100%; }
  .pc-date-hint { display: none; }
  .pc-choice { grid-template-columns: auto 1fr; }
  .pc-price { grid-column: 2; }
  .pc-times { grid-template-columns: 1fr; }
  .pc-actions-done { flex-direction: column; }
  .pc-actions-done .pc-action-link, .pc-actions-done button { width: 100%; }
}

/* v2.3.5: compactación proporcional sin alterar la identidad visual */
.precompra-agenda{max-width:760px;font-size:14px}
.pc-head{padding:18px 20px}
.pc-head h2{font-size:20px}
.pc-head p{margin-top:5px;font-size:13px;line-height:1.38}
.pc-steps{gap:7px;padding:13px 18px 2px}
.pc-step span{margin-bottom:5px;font-size:11px}
.pc-step i{height:6px}
.pc-body{padding:18px 20px 20px}
.pc-title{font-size:17px}
.pc-subtitle{margin:5px 0 14px;font-size:13px;line-height:1.4}
.pc-region-grid{gap:10px;margin-bottom:14px}
.pc-region{min-height:90px;padding:13px}
.pc-region.is-selected{padding:12px}
.pc-region strong{font-size:16px}
.pc-region span{margin-top:5px;font-size:13px}
.pc-service-panel{padding-top:13px}
.pc-list{gap:8px}
.pc-choice{gap:10px;min-height:52px;padding:10px}
.pc-choice strong{font-size:14px}
.pc-choice small{font-size:12px}
.pc-grid{gap:11px}
.pc-field{gap:5px}
.pc-field label,.pc-label{font-size:12px}
.pc-field input,.pc-field select,.pc-field textarea{min-height:40px;padding:8px 10px;font-size:13px}
.pc-field textarea{min-height:70px}
.pc-help{margin-top:6px;font-size:12px;line-height:1.4}
.pc-date-grid{gap:8px;padding-bottom:6px}
.pc-date-card{flex-basis:76px;min-width:76px;min-height:68px;padding:7px 5px}
.pc-date-card span{font-size:10px}
.pc-date-card strong{font-size:21px}
.pc-date-card small{margin-top:3px;font-size:11px}
.pc-time-layout{gap:11px}
.pc-time-layout>.pc-grid,.pc-time-layout>div:last-child{padding:11px}
.pc-times{gap:8px}
.pc-time{min-height:42px;font-size:13px}
.pc-summary{gap:7px;margin-top:13px;padding:11px}
.pc-row,.pc-terms{font-size:13px}
.pc-error{margin-top:12px;padding:9px 10px;font-size:13px}
.pc-final-actions{margin-top:14px}
.pc-final-actions p{font-size:13px}
.pc-actions{gap:10px;margin-top:17px;padding-top:14px}
.pc-actions button,.pc-action-link{min-height:40px;padding:0 15px;font-size:13px}
.pc-success{padding:17px 0 6px}
.pc-success-mark{width:50px;height:50px;margin-bottom:11px;font-size:24px}
.pc-success h3{font-size:20px}
.pc-success p{margin-top:8px;font-size:13px;line-height:1.45}
.pc-success-note{margin-top:11px;padding:10px;font-size:13px}
.pc-compact-grid{gap:10px}
@media(max-width:650px){
  .precompra-agenda{font-size:13px}
  .pc-head,.pc-body{padding-left:14px;padding-right:14px}
  .pc-head{padding-top:15px;padding-bottom:15px}
  .pc-steps{padding-left:12px;padding-right:12px;padding-top:11px}
  .pc-body{padding-top:15px;padding-bottom:16px}
  .pc-region{min-height:82px;padding:11px}
  .pc-date-card{min-height:64px}
  .pc-actions{margin-top:14px;padding-top:12px}
}
