/* Wedding Panel Web — piezas para Elementor (precios, plano, preguntas, contacto) */
.wpw {
  --paper: #FBF7F5; --surface: #FFFFFF; --sand: #F5EDEA; --blush: #F4E6EB; --rose: #B67B91; --plum: #8C5670; --plum-deep: #5E3A4D;
  --ink: #2B2125; --ink-soft: #5C4E53; --muted: #8F8084; --line: #EDE3E0; --sage: #4F8A63; --amber: #B98A2E;
  --display: 'Cormorant Garamond', Georgia, serif; --text: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 28px;
  font-family: var(--text); color: var(--ink); font-size: 16px; line-height: 1.6;
}
.wpw *, .wpw *::before, .wpw *::after { box-sizing: border-box; }
.wpw p { margin: 0; }
.wpw h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; color: var(--ink); }
.wpw .ico { width: 22px; height: 22px; flex: none; }
.wpw .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wpw .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--plum); color: #fff; font: 600 15.5px/1 var(--text); text-decoration: none; border: 1.5px solid var(--plum); transition: background .2s, border-color .2s, color .2s; cursor: pointer; }
.wpw .btn:hover { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }
.wpw .btn-line { background: transparent; color: var(--plum); }
.wpw .btn-line:hover { background: var(--blush); color: var(--plum-deep); }
.wpw a:not(.btn) { color: var(--plum); }
.wpw :focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
/* Plano del salón (ilustración) */
.wpw .plan { position: relative; margin: 0; padding: 16px 0 26px 26px; }
.wpw .plan-svg { display: block; width: 100%; filter: drop-shadow(0 30px 50px rgba(92, 58, 72, .10)); }
.wpw .plan-room { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.wpw .plan-door { stroke: var(--rose); stroke-width: 3; stroke-linecap: round; }
.wpw .plan-top { fill: var(--sand); stroke: #E3D3CE; stroke-width: 1.2; }
.wpw .plan-floor { fill: none; stroke: #E3D3CE; stroke-width: 1.2; stroke-dasharray: 5 6; }
.wpw .plan-floor-label { font: italic 500 20px var(--display); fill: var(--muted); text-anchor: middle; }
.wpw .plan-num { font: 600 21px var(--display); fill: var(--plum); text-anchor: middle; }
.wpw .plan-seat { fill: var(--surface); stroke: #DCC9C4; stroke-width: 1.3; }
.wpw .plan-seat.on { fill: var(--rose); stroke: var(--rose); animation: seat-in .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 28ms + 250ms); }
.wpw .plan-seat.allergy { stroke: var(--amber); stroke-width: 3.2; }
@keyframes seat-in { from { fill: var(--surface); stroke: #DCC9C4; } }
.wpw .plan-card { position: absolute; left: 0; bottom: 0; width: min(232px, 52%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px 12px; box-shadow: 0 18px 40px rgba(92, 58, 72, .12); font-size: 13.5px; }
.wpw .plan-card-title { display: flex; justify-content: space-between; align-items: baseline; font: 600 20px/1.2 var(--display); margin-bottom: 6px; }
.wpw .plan-card-title span { font: 500 12px var(--text); color: var(--sage); }
.wpw .plan-card ul { list-style: none; margin: 0; padding: 0; }
.wpw .plan-card li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px solid var(--line); color: var(--ink); }
.wpw .plan-card em { font-style: normal; color: var(--muted); font-size: 12px; }
.wpw .plan-card .has-allergy em { color: var(--amber); font-weight: 600; }
.wpw .plan-rsvp { position: absolute; right: 24px; top: -16px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.wpw .plan-rsvp strong { font-weight: 600; color: #F4CFDC; }

/* Precios */
.wpw .pricing { margin-top: 32px; }
.wpw .tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.wpw .tabs button { appearance: none; border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 500 15px var(--text); color: var(--ink-soft); cursor: pointer; }
.wpw .tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.wpw .pricing-note { margin-top: 18px; color: var(--ink-soft); max-width: 40em; }
.wpw .plans { margin-top: 28px; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.wpw .plans-2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.wpw .plans-1 { grid-template-columns: minmax(0, 380px); }
.wpw .plan-col { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 28px 28px; }
.wpw .plan-col.is-featured { border: 2px solid var(--plum); }
.wpw .plan-col h3 { font-size: 34px; }
.wpw .plan-price { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.wpw .plan-price span { font: 600 40px/1 var(--display); color: var(--ink); margin-right: 4px; }
.wpw .plan-limit { margin-top: 10px; font-weight: 600; font-size: 15px; }
.wpw .plan-desc { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.wpw .plan-feats { list-style: none; margin: 20px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; }
.wpw .plan-feats li { display: flex; align-items: flex-start; gap: 10px; }
.wpw .plan-feats .ico { width: 19px; height: 19px; margin-top: 2px; }
.wpw .plan-feats .on .ico { color: var(--sage); }
.wpw .plan-feats .off { color: var(--muted); }
.wpw .plan-col .btn { margin-top: auto; }
.wpw .pricing-foot { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Preguntas */
.wpw .faq details { border-top: 1px solid var(--line); }
.wpw .faq details:last-child { border-bottom: 1px solid var(--line); }
.wpw .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.wpw .faq summary::-webkit-details-marker { display: none; }
.wpw .faq summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 1.6px solid var(--plum); border-bottom: 1.6px solid var(--plum); transform: rotate(45deg); transition: transform .2s; }
.wpw .faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.wpw .faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 40em; }

/* Contacto */
.wpw .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; }
.wpw .contact-form .hp { position: absolute; left: -9999px; }
.wpw .seg { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wpw .seg legend { float: left; margin-right: 6px; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); }
.wpw .seg label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; cursor: pointer; }
.wpw .seg label:has(input:checked) { border-color: var(--plum); background: var(--blush); }
.wpw .seg input { accent-color: var(--plum); margin: 0; }
.wpw .fld { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.wpw .fld small { font-weight: 400; color: var(--muted); }
.wpw .fld-full { grid-column: 1 / -1; }
.wpw .fld input, .wpw .fld textarea { width: 100%; font: 400 16px var(--text); color: var(--ink); background: var(--surface); border: 1px solid #E2D5D1; border-radius: var(--r-sm); padding: 12px 14px; }
.wpw .fld input:focus, .wpw .fld textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--blush); }
.wpw .fld [aria-invalid="true"] { border-color: #A9545E; }
.wpw .form-legal { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.wpw .contact-form .btn { grid-column: 1 / -1; justify-self: start; }
.wpw .form-status { grid-column: 1 / -1; font-size: 15px; min-height: 1.4em; }
.wpw .form-status.ok { color: var(--sage); font-weight: 500; }
.wpw .form-status.err { color: #A9545E; }


@media (max-width: 980px) {
  .wpw .plans, .wpw .plans-2 { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 760px) {
  .wpw .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .wpw.plan, .wpw .plan { padding-left: 0; padding-bottom: 0; }
  .wpw .plan-card { position: relative; width: auto; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
  .wpw .plan-rsvp { font-size: 12px; right: 10px; top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .wpw .plan-seat.on { animation: none; } }

/* Blindaje frente a los estilos del tema y de Elementor */
.wpw .tabs button, .wpw .tabs button:hover, .wpw .tabs button:focus { background: transparent !important; color: var(--ink-soft) !important; border: 0 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; font: 500 15px var(--text) !important; padding: 10px 20px !important; border-radius: 999px !important; min-height: 0 !important; }
.wpw .tabs button[aria-selected="true"] { background: var(--ink) !important; color: #fff !important; }
.wpw .btn, .wpw a.btn, .wpw button.btn { text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; white-space: normal; text-align: center; line-height: 1.25 !important; padding: 12px 22px !important; box-shadow: none !important; }
.wpw .btn:not(.btn-line), .wpw .btn:not(.btn-line):hover { color: #fff !important; }
.wpw .btn-line, .wpw .btn-line:hover { color: var(--plum) !important; }
.wpw .plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; max-width: none !important; }
.wpw .plans-2 { grid-template-columns: repeat(auto-fit, minmax(250px, 360px)) !important; }
.wpw ul, .wpw li { margin-left: 0; }
.wpw .plan-col h3 { font-family: var(--display) !important; }
.wpw .faq summary { color: var(--ink); }
.wpw input, .wpw textarea { box-shadow: none; }
.wpw button.btn, .wpw button.btn:hover { background: var(--plum) !important; border-color: var(--plum) !important; color: #fff !important; }
.wpw button.btn:hover { background: var(--plum-deep) !important; }
