/* CR - Asesor de Combos v1.7.0 · Cotimagic
   El asesor se abre en un modal (wizard de dos preguntas) desde el Home. Solo «Ver mis propuestas» carga la
   página con las propuestas (comparador, tarjetas compactas y detalle desplegable).
   Este archivo agrega la tarjeta de invitación, el modal, el marco de cada propuesta y el wizard. */

.crac-advisor, .crac-modal {
  --crac-orange: #ff7900;
  --crac-orange-soft: #fff4eb;
  --crac-blue: #159bb8;
  --crac-ink: #24313b;
  --crac-muted: #6d7880;
  --crac-line: #e5ebee;
  color: var(--crac-ink);
  font-family: inherit;
}
.crac-advisor { max-width: 1240px; margin: 32px auto; padding: 0 18px; }
.crac-advisor *, .crac-advisor *::before, .crac-advisor *::after,
.crac-modal *, .crac-modal *::before, .crac-modal *::after { box-sizing: border-box; }
.crac-advisor [hidden], .crac-modal[hidden], .crac-modal [hidden] { display: none !important; }

/* ---------------------------------------------------------------- */
/* Tarjeta de invitación (Home) y modal                              */
/* ---------------------------------------------------------------- */
.crac-cta {
  position: relative; display: grid; grid-template-columns: minmax(150px, 250px) minmax(0, 1fr) minmax(250px, 310px);
  align-items: center; gap: clamp(14px, 3vw, 34px);
  padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 34px) clamp(20px, 3vw, 30px) clamp(10px, 2vw, 24px);
  margin-top: 56px; text-align: center;
  background: radial-gradient(circle at 18% 30%, #fff 0%, #fff8ec 55%, #ffeed8 100%);
  border: 2px solid #ffb877; border-radius: 22px; box-shadow: 0 8px 26px rgba(255, 121, 0, .10);
}
.crac-cta > * { position: relative; z-index: 1; }
.crac-cta-confetti { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; border-radius: 20px; }
.crac-cta-confetti i { position: absolute; width: 9px; height: 9px; border-radius: 50%; opacity: .85; }
.crac-cta-confetti i:nth-child(1) { top: 12%; left: 4%; background: #2a8ff0; }
.crac-cta-confetti i:nth-child(2) { top: 62%; left: 2%; background: #ff4f9a; width: 11px; height: 11px; }
.crac-cta-confetti i:nth-child(3) { top: 8%; left: 38%; background: #ffc400; border-radius: 2px; transform: rotate(35deg); }
.crac-cta-confetti i:nth-child(4) { top: 22%; left: 63%; background: #2fb457; width: 7px; height: 7px; }
.crac-cta-confetti i:nth-child(5) { top: 84%; left: 46%; background: #ff7900; border-radius: 2px; transform: rotate(-20deg); }
.crac-cta-confetti i:nth-child(6) { top: 74%; left: 70%; background: #2a8ff0; width: 7px; height: 7px; }
.crac-cta-confetti i:nth-child(7) { top: 6%; left: 88%; background: #ff4f9a; width: 11px; height: 11px; }
.crac-cta-confetti i:nth-child(8) { top: 48%; left: 30%; background: #ffc400; width: 7px; height: 7px; }
.crac-mascot { display: block; width: 100%; max-width: 260px; height: auto; margin: -78px auto -26px; filter: drop-shadow(0 8px 10px rgba(180, 90, 0, .22)); }
.crac-cta-main { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.crac-pill { display: inline-block; padding: 6px 16px; border-radius: 30px; background: #ff7a12; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .8px; }
.crac-cta-title { margin: 6px 0 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.08; font-weight: 900; letter-spacing: -.5px; text-transform: uppercase; color: #1d2f57; }
.crac-cta-title span { color: #ff7a12; }
.crac-cta-sub { margin: 0; font-size: clamp(18px, 2.2vw, 23px); font-weight: 700; color: #1d2f57; }
.crac-cta-text { max-width: 430px; margin: 0; font-size: 14px; color: #3d4a5c; }
.crac-open { display: inline-block; margin-top: 8px; padding: 15px 36px; border-radius: 40px; background: linear-gradient(180deg, #ff9a3c, #ff7a12); color: #fff !important; font-size: 16px; font-weight: 900; letter-spacing: .3px; text-decoration: none !important; box-shadow: 0 7px 0 #d4600a, 0 12px 22px rgba(255, 121, 0, .3); transition: transform .15s, box-shadow .15s; }
.crac-open:hover, .crac-open:focus { transform: translateY(2px); box-shadow: 0 5px 0 #d4600a, 0 8px 16px rgba(255, 121, 0, .3); }
.crac-cta-foot { font-size: 13px; color: #1d2f57; }
.crac-benefits { display: grid; gap: 4px; margin: 0; padding: 8px 16px; list-style: none; background: rgba(255, 255, 255, .9); border: 1px solid #ffe0bf; border-radius: 18px; box-shadow: 0 6px 18px rgba(30, 55, 70, .06); }
.crac-benefits li { display: grid; grid-template-columns: 42px minmax(0, 1fr) 26px; align-items: center; gap: 12px; margin: 0; padding: 12px 0; text-align: left; font-size: 15px; line-height: 1.2; color: #1d2f57; }
.crac-benefits li + li { border-top: 1px dashed #f3dcc3; }
.crac-benefit-icon { width: 40px; height: 40px; }
.crac-check { width: 26px; height: 26px; }

/* Enlace / botón para el menú del sitio (widget) */
.crac-menu-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; cursor: pointer; }
.crac-menu-pill { padding: 9px 20px; border: 2px solid #ff8b3d; border-radius: 30px; background: #fff; color: #e8590c !important; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; line-height: 1.1; transition: background .15s, color .15s; }
.crac-menu-pill:hover, .crac-menu-pill:focus { background: #ff7a12; color: #fff !important; }
.crac-menu-link.crac-menu-link { font-weight: 700; }

.crac-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 12px; -webkit-overflow-scrolling: touch; }
.crac-modal-backdrop { position: fixed; inset: 0; background: rgba(20, 32, 40, .62); }
.crac-modal-dialog { position: relative; width: 100%; max-width: 680px; margin: auto; outline: 0; }
.crac-modal-dialog .crac-panel { box-shadow: 0 24px 70px rgba(10, 25, 35, .35); }
.crac-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #f2f5f6; color: #4b5961; font-size: 26px; line-height: 1; cursor: pointer; }
.crac-modal-close:hover, .crac-modal-close:focus-visible { background: #e3e9eb; }
html.crac-modal-open, html.crac-modal-open body { overflow: hidden; }

/* ---------------------------------------------------------------- */
/* Wizard (preguntas, dentro del modal)                              */
/* ---------------------------------------------------------------- */
.crac-panel {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--crac-line);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 12px 40px rgba(30, 55, 70, .08);
}
.crac-brand { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 900; letter-spacing: .5px; color: #168da9; }
.crac-brand > span:last-child { font-weight: 600; color: #89939a; letter-spacing: 0; }
.crac-brand-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--crac-orange); }
.crac-eyebrow { display: inline-block; padding: 5px 11px; border-radius: 30px; background: #fff1e7; color: #f07826; font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.crac-panel-heading { max-width: 520px; margin: 19px auto 22px; text-align: center; }
.crac-panel-heading h2 { margin: 12px 0 8px; font-size: clamp(24px, 4vw, 32px); line-height: 1.15; font-weight: 800; color: #26343d; }
.crac-panel-heading p { margin: 0; font-size: 14px; color: #77828a; }

.crac-form-error { margin: 0 0 14px; }
.crac-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 7px; margin: 0 0 17px; }
.crac-progress span { height: 5px; border-radius: 10px; background: #e9eef0; }
.crac-progress span.is-active { background: #ff913f; }
.crac-step-label { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.crac-current-step { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #fff0e5; color: #ed741c; font-size: 12px; font-weight: 900; }
.crac-step-caption { font-size: 11px; font-weight: 900; letter-spacing: .8px; color: #77828a; }
.crac-step-total { margin-left: auto; font-size: 10px; font-weight: 800; color: #9aa3a8; }
.crac-wizard-step h3 { margin: 8px 0; font-size: 21px; font-weight: 800; color: #27343d; }
.crac-step-help { margin: 0 0 18px; font-size: 13px; color: #7b858c; }

.crac-guest-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.crac-choice, .crac-type { position: relative; cursor: pointer; }
.crac-choice input, .crac-type input { position: absolute; opacity: 0; pointer-events: none; }
.crac-choice span { display: grid; place-items: center; min-height: 55px; border: 1.5px solid #e1e8eb; border-radius: 11px; font-size: 18px; font-weight: 800; color: #34434c; transition: .18s; }
.crac-choice input:checked + span { border-color: #ff8a35; background: #fff4eb; color: #e66b13; box-shadow: 0 3px 10px rgba(255, 121, 0, .10); }
.crac-choice:focus-within span, .crac-type:focus-within { outline: 3px solid rgba(21, 155, 184, .22); outline-offset: 2px; }
.crac-custom { display: flex; align-items: center; gap: 13px; margin-top: 17px; font-size: 13px; font-weight: 600; color: var(--crac-muted); }
.crac-custom input { width: 150px; padding: 10px 12px; border: 1px solid #dce4e7; border-radius: 9px; font: inherit; color: #27343d; }

.crac-type-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.crac-type { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 122px; padding: 13px 8px; border: 1.5px solid #e2e9ec; border-radius: 12px; text-align: center; transition: .18s; }
.crac-type:has(input:checked) { border-color: #ff8a35; background: #fff7f0; box-shadow: 0 4px 13px rgba(255, 121, 0, .09); }
.crac-type-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 7px; border-radius: 12px; background: #f2f7f8; font-size: 23px; }
.crac-type:has(input:checked) .crac-type-icon { background: #fff0e3; }
.crac-type b { font-size: 13px; color: #34434c; }
.crac-type small { margin-top: 3px; font-size: 10px; color: #879198; }
.crac-advice { grid-column: span 4; flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 75px; padding: 10px 15px; text-align: left; }
.crac-advice .crac-type-icon { margin: 0; }
.crac-advice small { display: block; }

.crac-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
.crac-actions-split { justify-content: space-between; align-items: center; }
.crac-next, .crac-submit { border: 0; border-radius: 9px; background: #ff8b3d; color: #fff !important; padding: 13px 23px; font-size: 12px; font-weight: 900; letter-spacing: .4px; cursor: pointer; box-shadow: 0 4px 10px rgba(255, 121, 0, .2); }
.crac-next:hover, .crac-submit:hover { background: #ed7627; }
.crac-submit:disabled { opacity: .7; cursor: wait; }
.crac-prev { border: 0; background: transparent; padding: 12px 0; font-size: 11px; font-weight: 900; color: #168eaa; cursor: pointer; }
.crac-panel-foot { margin-top: 22px; padding-top: 15px; border-top: 1px solid #edf0f1; text-align: center; font-size: 11px; color: #89939a; }

/* ---------------------------------------------------------------- */
/* Resultados                                                        */
/* ---------------------------------------------------------------- */
.crac-results-head { max-width: 760px; margin: 0 auto 22px; text-align: center; }
.crac-results-head h2 { margin: 12px 0 8px; font-size: clamp(26px, 4vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -.4px; color: var(--crac-ink); }
.crac-results-head p { margin: 0 auto 14px; font-size: 15px; color: var(--crac-muted); }
.crac-summary { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.crac-chip { padding: 6px 13px; border-radius: 30px; background: #eef7f9; color: #138098; font-size: 13px; font-weight: 700; }
.crac-edit { font-size: 13px; font-weight: 700; color: var(--crac-blue); text-decoration: underline; }
.crac-badge { display: inline-block; padding: 4px 11px; border-radius: 30px; background: var(--crac-blue); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.crac-badge.is-empty { visibility: hidden; min-height: 21px; }
.crac-want { white-space: nowrap; }

/* Comparador: todas las propuestas lado a lado */
.crac-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.crac-compare-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px 16px; border: 1px solid var(--crac-line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 6px 20px rgba(30, 55, 70, .06); }
.crac-compare-card.is-recommended { border-color: var(--crac-orange); background: var(--crac-orange-soft); box-shadow: 0 0 0 2px rgba(255, 121, 0, .16), 0 10px 28px rgba(255, 121, 0, .12); }
.crac-compare-card.is-recommended .crac-badge { background: var(--crac-orange); }
.crac-compare-card h3 { margin: 4px 0 0; font-size: 17px; font-weight: 800; color: var(--crac-ink); }
.crac-compare-price { font-size: clamp(26px, 3vw, 31px); font-weight: 800; line-height: 1.1; color: var(--crac-ink); }
.crac-compare-guest { font-size: 13px; font-weight: 700; color: #d96a10; }
.crac-compare-count { font-size: 12px; color: var(--crac-muted); }
.crac-compare-card .crac-want { width: 100%; margin-top: 10px; }
.crac-compare-detail { font-size: 13px; font-weight: 700; color: var(--crac-blue); text-decoration: none; }
.crac-compare-detail:hover { text-decoration: underline; }

/* Propuesta: tarjeta compacta */
.crac-combo { margin: 0 0 26px; border: 1px solid var(--crac-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(30, 55, 70, .06); scroll-margin-top: 90px; }
.crac-combo.is-recommended { border-color: var(--crac-orange); box-shadow: 0 0 0 2px rgba(255, 121, 0, .16), 0 10px 32px rgba(255, 121, 0, .10); }
.crac-combo-head { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding: 20px clamp(16px, 3vw, 26px); border-bottom: 1px solid var(--crac-line); border-radius: 18px 18px 0 0; background: #fbfdfd; }
.crac-combo.is-recommended .crac-combo-head { background: var(--crac-orange-soft); }
.crac-combo.is-recommended .crac-badge { background: var(--crac-orange); }
.crac-combo-intro { min-width: 0; }
.crac-combo-intro .crac-badge { margin-bottom: 8px; }
.crac-combo-intro h3 { margin: 0; font-size: clamp(20px, 3vw, 25px); font-weight: 800; color: var(--crac-ink); }
.crac-combo-tagline { margin: 4px 0 0; font-size: 14px; color: var(--crac-muted); }
.crac-combo-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.crac-combo-price { font-size: clamp(26px, 4vw, 32px); font-weight: 800; line-height: 1.1; color: var(--crac-ink); }
.crac-combo-count { font-size: 13px; color: var(--crac-muted); }

/* Tira de miniaturas con la cantidad de cada producto */
.crac-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 16px clamp(16px, 3vw, 26px) 6px; list-style: none; }
.crac-thumb { position: relative; width: 64px; height: 64px; margin: 0; border: 1px solid var(--crac-line); border-radius: 12px; background: #f7f8f9; }
.crac-thumb img { display: block; width: 100%; height: 100%; border-radius: 11px; object-fit: contain; }
.crac-thumb b { position: absolute; right: -6px; bottom: -6px; padding: 1px 7px; border-radius: 20px; background: var(--crac-ink); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; box-shadow: 0 0 0 2px #fff; }
.crac-thumb-more { display: grid; place-items: center; width: 64px; height: 64px; margin: 0; border: 1px dashed #cdd6da; border-radius: 12px; color: var(--crac-muted); font-size: 14px; font-weight: 800; }

/* Detalle desplegable */
.crac-details { margin: 0; padding: 4px clamp(16px, 3vw, 26px) 6px; }
.crac-details > summary { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; color: var(--crac-blue); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.crac-details > summary::-webkit-details-marker { display: none; }
.crac-details > summary::after { content: '▾'; font-size: 12px; transition: transform .18s; }
.crac-details[open] > summary::after { transform: rotate(180deg); }
.crac-details .crac-details-open, .crac-details[open] .crac-details-closed { display: none; }
.crac-details[open] .crac-details-open { display: inline; }
.crac-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--crac-line); }
.crac-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 90px 120px; gap: 14px; align-items: center; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--crac-line); }
.crac-row-img { display: block; width: 64px; height: 64px; border-radius: 10px; background: #f7f8f9; }
.crac-row-img img { display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: contain; }
.crac-row-name { min-width: 0; }
.crac-row-name a { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--crac-ink); text-decoration: none; }
.crac-row-name a:hover { text-decoration: underline; }
.crac-row-name small { display: block; margin-top: 2px; font-size: 12px; color: var(--crac-muted); }
.crac-row-qty, .crac-row-sub { display: flex; flex-direction: column; text-align: right; }
.crac-row-qty small, .crac-row-sub small { font-size: 11px; color: var(--crac-muted); }
.crac-row-qty b { font-size: 17px; font-weight: 800; color: var(--crac-ink); }
.crac-row-sub b { font-size: 16px; font-weight: 800; color: var(--crac-ink); }

.crac-combo-help { margin: 0; padding: 4px clamp(16px, 3vw, 26px) 14px; font-size: 13px; color: var(--crac-muted); }
.crac-combo-help a { font-weight: 700; color: #16834a; }

/* Pie con el total y el único botón de la propuesta: queda a la vista mientras se recorre el detalle */
.crac-combo-foot { position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 3vw, 26px); border-top: 1px solid var(--crac-line); border-radius: 0 0 18px 18px; background: #fbfdfd; box-shadow: 0 -6px 16px rgba(30, 55, 70, .06); }
.crac-combo.is-recommended .crac-combo-foot { background: var(--crac-orange-soft); }
.crac-combo-total { display: flex; flex-direction: column; }
.crac-combo-total span { font-size: 12px; color: var(--crac-muted); }
.crac-combo-total strong { font-size: 24px; line-height: 1.15; }
.crac-combo-form { margin: 0; }
.crac-combo-form .crac-want { min-width: 220px; }
.crac-whatsapp { display: inline-block; padding: 10px 14px; border: 1px solid #d9ece3; border-radius: 10px; color: #16834a; font-weight: 700; }

/* Confirmación al agregar al carrito: aviso flotante visible desde cualquier punto de la página */
.crac-toast { position: fixed; left: 50%; bottom: 96px; z-index: 99990; width: min(560px, calc(100vw - 24px)); padding: 14px 44px 14px 16px; border-radius: 14px; transform: translateX(-50%); box-shadow: 0 14px 40px rgba(10, 25, 35, .28); }
.crac-toast[hidden] { display: none !important; }
.crac-toast.is-success { border: 1px solid #bfe5cc; background: #eaf7ef; color: #14663a; }
.crac-toast.is-error { border: 1px solid #f1c7c7; background: #fdeeee; color: #9b2c2c; }
.crac-toast-text { margin: 0; font-weight: 700; }
.crac-toast-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.crac-toast-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }

.crac-results .alert, .crac-results-error { margin: 12px 0; }

@media (max-width: 899px) {
  .crac-cta { grid-template-columns: minmax(110px, 170px) minmax(0, 1fr); padding: 22px 18px; }
  .crac-mascot { margin: -60px auto -10px; }
  .crac-benefits { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .crac-cta { grid-template-columns: 1fr; }
  .crac-mascot { max-width: 150px; margin: -70px auto -6px; }
  .crac-open { padding: 14px 26px; font-size: 15px; }
}
/* ---------------------------------------------------------------- */
/* Pantallas chicas                                                  */
/* ---------------------------------------------------------------- */
@media (max-width: 767px) {
  .crac-advisor { margin: 20px auto; padding: 0 12px; }
  .crac-modal { padding: 10px 8px; }
  .crac-compare { grid-template-columns: 1fr; }
  .crac-compare-card { display: grid; grid-template-columns: 1fr auto; text-align: left; align-items: center; gap: 2px 12px; padding: 14px; }
  .crac-compare-card .crac-badge { grid-column: 1 / -1; justify-self: start; }
  .crac-compare-card .crac-badge.is-empty { display: none; }
  .crac-compare-card h3 { grid-column: 1; margin: 0; }
  .crac-compare-price { grid-column: 2; grid-row: 2; text-align: right; }
  .crac-compare-guest, .crac-compare-count { grid-column: 1; }
  .crac-compare-card .crac-want { grid-column: 1 / -1; margin-top: 8px; }
  .crac-compare-detail { grid-column: 2; grid-row: 3; text-align: right; }
  .crac-combo-summary { align-items: flex-start; width: 100%; text-align: left; }
  .crac-row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 4px 12px; }
  .crac-row-img { width: 56px; height: 56px; grid-row: 1 / span 2; }
  .crac-row-name { grid-column: 2 / -1; }
  .crac-row-qty, .crac-row-sub { flex-direction: row; align-items: baseline; gap: 6px; text-align: left; }
  .crac-row-qty { grid-column: 2; }
  .crac-row-sub { grid-column: 3; justify-content: flex-end; }
  .crac-combo-foot { flex-wrap: nowrap; gap: 12px; padding: 10px 12px; }
  .crac-combo-total strong { font-size: 19px; }
  .crac-combo-form { flex: 1 1 auto; }
  .crac-combo-form .crac-want { width: 100%; min-width: 0; padding-left: 10px; padding-right: 10px; }
  .crac-toast { bottom: 84px; }
}
@media (max-width: 560px) {
  .crac-panel { padding: 23px 17px; border-radius: 16px; }
  .crac-panel-heading { margin: 16px auto; }
  .crac-panel-heading h2 { font-size: 24px; }
  .crac-guest-options { grid-template-columns: repeat(3, 1fr); }
  .crac-type-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crac-advice { grid-column: span 2; }
  .crac-type { min-height: 112px; }
  .crac-custom { flex-direction: column; align-items: flex-start; gap: 7px; }
  .crac-custom input { width: 100%; }
  .crac-actions-split { gap: 12px; }
  .crac-submit { padding: 13px 14px; font-size: 10px; }
}

/* v1.4.4/1.4.5: elección de artículos por invitado y leyenda de funciones */
.crac-per-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.crac-per-options .crac-type-icon { font-size: 20px; font-weight: 700; color: #ff913f; }
.crac-combo-groups { margin: 4px 0 0; font-size: 13px; color: #5d6b73; }

/* ---------------------------------------------------------------- */
/* v1.5.0: nuevo diseño de la página de resultados                    */
/* ---------------------------------------------------------------- */
.crac-results-head { max-width: 820px; margin-bottom: 28px; }
.crac-results-head .crac-eyebrow { padding: 5px 12px; background: #fff4ec; color: #f07826; font-size: 9.5px; letter-spacing: .8px; border: 1px solid #fde3d1; }
.crac-results-head h2 { margin: 14px 0 6px; font-size: clamp(26px, 4vw, 38px); font-weight: 600; letter-spacing: -.3px; }
.crac-results-head .crac-results-sub { margin: 0 auto 16px; font-size: 14px; color: #7a858c; }
.crac-chip { padding: 6px 14px; background: #eaf5f8; color: #137f97; font-size: 12px; font-weight: 600; }
.crac-edit { font-size: 12px; font-weight: 600; }

/* Etiquetas: AHORRO / EQUILIBRIO / VARIEDAD / PREMIUM */
.crac-badge { padding: 4px 12px; font-size: 10px; font-weight: 700; letter-spacing: .3px; }
.crac-combo.is-recommended .crac-badge, .crac-compare-card.is-recommended .crac-badge { background: var(--crac-orange); }

/* Botón principal */
.crac-want { padding: 10px 18px; border: 0; border-radius: 5px; background: #ff8b3d; color: #fff !important; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; box-shadow: 0 3px 8px rgba(255, 121, 0, .28); transition: .18s; }
.crac-want:hover, .crac-want:focus { background: #ed7627; transform: translateY(-1px); }

/* Comparador */
.crac-compare { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 26px; }
.crac-compare-card { gap: 5px; padding: 22px 18px 16px; border-radius: 14px; box-shadow: 0 2px 10px rgba(30, 55, 70, .04); }
.crac-compare-card.is-recommended { box-shadow: 0 0 0 1px rgba(255, 121, 0, .35); }
.crac-compare-card h3 { margin: 8px 0 0; font-size: 15px; font-weight: 600; }
.crac-compare-price { font-size: clamp(26px, 3vw, 30px); font-weight: 600; letter-spacing: -.3px; }
.crac-compare-guest { font-size: 12px; font-weight: 600; }
.crac-compare-count { font-size: 11.5px; }
.crac-compare-card .crac-want { margin-top: 8px; }
.crac-compare-detail { font-size: 12px; font-weight: 600; }

/* Tarjetas de combo */
.crac-combo { margin-bottom: 22px; border-radius: 14px; box-shadow: 0 2px 10px rgba(30, 55, 70, .04); overflow: hidden; }
.crac-combo.is-recommended { background: var(--crac-orange-soft); box-shadow: 0 0 0 1px rgba(255, 121, 0, .35); }
.crac-combo-head { padding: 20px clamp(18px, 3vw, 28px) 16px; border-radius: 0; background: transparent; }
.crac-combo-intro h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 600; letter-spacing: -.2px; }
.crac-combo-tagline { margin-top: 6px; font-size: 12.5px; }
.crac-combo-price { font-size: clamp(26px, 4vw, 32px); font-weight: 600; letter-spacing: -.3px; }
.crac-combo-count { font-size: 11px; }
.crac-strip { padding: 16px clamp(18px, 3vw, 28px) 4px; border-top: 1px solid var(--crac-line); }
.crac-thumb { background: #fff; }
.crac-thumb b { background: #3a4750; font-size: 10.5px; }
.crac-details { padding: 2px clamp(18px, 3vw, 28px) 12px; }
.crac-details > summary { font-size: 13px; font-weight: 600; }
.crac-details > summary::after { content: '▸'; font-size: 9px; transform: none; }
.crac-details[open] > summary::after { transform: rotate(90deg); }
.crac-combo-foot { position: static; padding: 14px clamp(18px, 3vw, 28px); border-radius: 0; background: #f8fafa; box-shadow: none; }
.crac-combo.is-recommended .crac-combo-foot { background: var(--crac-orange-soft); border-top-color: #f7dcc8; }
.crac-combo.is-recommended .crac-strip { border-top-color: #f7dcc8; }
.crac-combo-total span { font-size: 11px; }
.crac-combo-total strong { font-size: 23px; font-weight: 600; }
.crac-combo-form .crac-want { min-width: 200px; }

@media (max-width: 767px) {
  /* En celular el pie con el total y el botón acompaña el recorrido del detalle */
  .crac-combo-foot { position: sticky; bottom: 0; box-shadow: 0 -6px 16px rgba(30, 55, 70, .08); }
  .crac-combo-head { padding-bottom: 12px; }
}
