/* 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)                                      */
/* ---------------------------------------------------------------- */
.crac-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) minmax(
      260px,
      315px
    );
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 34px) clamp(5px, 0vw, 5px)
    clamp(12px, 2vw, 22px);
  
  text-align: center;
  font-family:
    "Montserrat",
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: radial-gradient(
    circle at 46% 45%,
    #ffffff 0%,
    #fff7e6 52%,
    #fdebc8 100%
  );
  border: 2px solid #f79d42;
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(243, 112, 0, 0.12);
}

.crac-cta > * {
  position: relative;
  z-index: 1;
}

/* Confeti de fondo */
.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: 0.9;
}
.crac-cta-confetti i:nth-child(1) {
  top: 14%;
  left: 3%;
  background: #2a8ff0;
}
.crac-cta-confetti i:nth-child(2) {
  top: 64%;
  left: 1.5%;
  background: #ff4f9a;
  width: 11px;
  height: 11px;
}
.crac-cta-confetti i:nth-child(3) {
  top: 10%;
  left: 26%;
  background: #ffc700;
  border-radius: 2px;
  transform: rotate(35deg);
}
.crac-cta-confetti i:nth-child(4) {
  top: 20%;
  left: 66%;
  background: #18a957;
  width: 7px;
  height: 7px;
}
.crac-cta-confetti i:nth-child(5) {
  top: 82%;
  left: 22%;
  background: #f37000;
  border-radius: 2px;
  transform: rotate(-20deg);
}
.crac-cta-confetti i:nth-child(6) {
  top: 76%;
  left: 68%;
  background: #2a8ff0;
  width: 7px;
  height: 7px;
}
.crac-cta-confetti i:nth-child(7) {
  top: 12%;
  left: 97%;
  background: #ff4f9a;
  width: 10px;
  height: 10px;
}
.crac-cta-confetti i:nth-child(8) {
  top: 52%;
  left: 24%;
  background: #ffc700;
  width: 7px;
  height: 7px;
}

/* Mascota */
.crac-mascot {
  display: block;
  width: 100%;
  max-width: 245px;
  height: auto;
  margin: -86px auto -24px;
  filter: drop-shadow(0 8px 12px rgba(180, 90, 0, 0.2));
}

/* Bloque central */
.crac-cta-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

/* Líneas de expresión amarillas (destellos a los lados del título) */
.crac-cta-main::before,
.crac-cta-main::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 28px;
  height: 44px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.crac-cta-main::before {
  left: 2%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 50'%3E%3Cpath d='M26 12 L10 4 M24 25 L4 25 M26 38 L10 46' stroke='%23ffc700' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.crac-cta-main::after {
  right: 2%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 50'%3E%3Cpath d='M6 12 L22 4 M8 25 L28 25 M6 38 L22 46' stroke='%23ffc700' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Píldora superior */
.crac-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ff8c1a 0%, #f37000 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(243, 112, 0, 0.25);
}

/* Título principal */
.crac-cta-title {
  margin: 4px 0 0;
  font-size: clamp(25px, 3.3vw, 33px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  color: #102542;
}
.crac-cta-title span {
  color: #f37000;
}

/* Subtítulo */
.crac-cta-sub {
  margin: 2px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #102542;
}

/* Texto descriptivo */
.crac-cta-text {
  max-width: 460px;
  margin: 2px 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #24364d;
}

/* Botón CTA */
.crac-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 13px 34px;
  border-radius: 40px;
  background: linear-gradient(180deg, #ff9624 0%, #f37000 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow:
    0 5px 0 #c95800,
    0 10px 20px rgba(243, 112, 0, 0.32);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.crac-open span {
  font-size: 18px;
  line-height: 1;
}
.crac-open:hover,
.crac-open:focus {
  transform: translateY(2px);
  box-shadow:
    0 3px 0 #c95800,
    0 6px 14px rgba(243, 112, 0, 0.32);
}

/* Pie bajo el botón */
.crac-cta-foot {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #102542;
}

/* Tarjeta derecha de beneficios */
.crac-benefits {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 18px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #fae4c8;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(16, 37, 66, 0.06);
}
.crac-benefits li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 0;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.22;
  color: #102542;
}
.crac-benefits li b {
  font-weight: 800;
  color: #102542;
}
.crac-benefits li + li {
  border-top: 1px dashed #eed7bc;
}
.crac-benefit-icon {
  width: 36px;
  height: 36px;
}
.crac-check {
  width: 24px;
  height: 24px;
}

/* Ajustes responsivos */
@media (max-width: 960px) {
  .crac-cta {
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    padding: 24px 20px;
  }
  .crac-mascot {
    margin: -55px auto -10px;
  }
  .crac-benefits {
    grid-column: 1 / -1;
  }
  .crac-cta-main::before,
  .crac-cta-main::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .crac-cta {
    grid-template-columns: 1fr;
  }
  .crac-mascot {
    max-width: 155px;
    margin: -68px auto -4px;
  }
  .crac-open {
    padding: 13px 24px;
    font-size: 14px;
  }
}

.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, 0.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, 0.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, 0.08);
}
.crac-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.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: 0.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: 0.18s;
}
.crac-choice input:checked + span {
  border-color: #ff8a35;
  background: #fff4eb;
  color: #e66b13;
  box-shadow: 0 3px 10px rgba(255, 121, 0, 0.1);
}
.crac-choice:focus-within span,
.crac-type:focus-within {
  outline: 3px solid rgba(21, 155, 184, 0.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: 0.18s;
}
.crac-type:has(input:checked) {
  border-color: #ff8a35;
  background: #fff7f0;
  box-shadow: 0 4px 13px rgba(255, 121, 0, 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: 12px;
  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: 0.4px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 121, 0, 0.2);
}
.crac-next:hover,
.crac-submit:hover {
  background: #ed7627;
}
.crac-submit:disabled {
  opacity: 0.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: -0.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: 0.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, 0.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, 0.16),
    0 10px 28px rgba(255, 121, 0, 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, 0.06);
  scroll-margin-top: 90px;
}
.crac-combo.is-recommended {
  border-color: var(--crac-orange);
  box-shadow:
    0 0 0 2px rgba(255, 121, 0, 0.16),
    0 10px 32px rgba(255, 121, 0, 0.1);
}
.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 0.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: end;
  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, 0.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, 0.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, 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 -14px;
  }
  .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: 0.8px;
  border: 1px solid #fde3d1;
}
.crac-results-head h2 {
  margin: 14px 0 6px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.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: 0.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: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(255, 121, 0, 0.28);
  transition: 0.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, 0.04);
}
.crac-compare-card.is-recommended {
  box-shadow: 0 0 0 1px rgba(255, 121, 0, 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: -0.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, 0.04);
  overflow: hidden;
}
.crac-combo.is-recommended {
  background: var(--crac-orange-soft);
  box-shadow: 0 0 0 1px rgba(255, 121, 0, 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: -0.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: -0.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, 0.08);
    flex-direction: column;
  }
  .crac-combo-head {
    padding-bottom: 12px;
  }
}

/* Visitantes sin sesión: el detalle del combo queda bloqueado como gancho para registrarse */
.crac-strip-locked .crac-thumb-locked { filter: blur(3px); opacity: .55; }
.crac-locked { margin: 12px 0; padding: 14px 16px; border: 1px dashed rgba(0,0,0,.25); border-radius: 12px; text-align: center; }
.crac-locked-text { margin: 10px 0; }
.crac-locked-actions { margin: 0; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.crac-locked-login { text-decoration: underline; }
a.crac-unlock { display: inline-block; text-align: center; text-decoration: none; }

/* ---------------------------------------------------------------- */
/* v1.8.0: resultados (visitante / cliente registrado) — prefijo crx  */
/* ---------------------------------------------------------------- */
.crx {
  --crx-navy: #14275e;
  --crx-blue: #1a73e8;
  --crx-orange: #ff7a1a;
  --crx-orange-soft: #fff3e6;
  --crx-line: #e3e8ee;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 0 24px;
  color: var(--crx-navy);
}
.crx-head { text-align: center; margin-bottom: 26px; }
.crx-title { margin: 0 0 6px; font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.15; color: var(--crx-navy); }
.crx-sub { margin: 0; font-size: clamp(15px, 2vw, 18px); color: var(--crx-navy); }
.crx-swoosh { position: relative; display: inline-block; }
.crx-swoosh::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -9px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M1 8 Q50 -3 99 5' fill='none' stroke='%23ff7a1a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.crx-pill { display: inline-block; padding: 4px 16px; border-radius: 999px; background: var(--crx-blue); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.3; }
.is-pop > .crx-pill, .is-pop .crx-d-intro .crx-pill { background: var(--crx-orange); }

.crx-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border: 2px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; text-decoration: none !important; cursor: pointer; transition: .18s; }
.crx-btn-orange { background: var(--crx-orange); color: #fff !important; box-shadow: 0 4px 10px rgba(255,122,26,.3); border-radius: 8px; }
.crx-btn-orange:hover, .crx-btn-orange:focus { background: #ec6a0c; transform: translateY(-1px); }
.crx-btn-outline { width: 100%; background: #fff; border-color: var(--crx-blue); color: var(--crx-blue) !important; text-transform: none; font-size: 17px; }
.crx-btn-outline:hover { background: var(--crx-blue); color: #fff !important; }
.is-pop .crx-btn-outline { border-color: var(--crx-orange); color: var(--crx-orange) !important; }
.is-pop .crx-btn-outline:hover { background: var(--crx-orange); color: #fff !important; }
.crx-btn-lg { padding: 15px 34px; font-size: 17px; border-radius: 999px; }
.crx-btn-block { width: 100%; }

/* Visitante */
.crx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 0 0 28px; padding: 0; list-style: none; }
.crx-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 18px 20px; border: 1px solid var(--crx-line); border-radius: 16px; background: #fff; box-shadow: 0 4px 16px rgba(20,39,94,.06); text-align: center; }
.crx-card.is-pop { border-color: var(--crx-orange); background: #fffaf4; box-shadow: 0 0 0 1px var(--crx-orange), 0 8px 22px rgba(255,122,26,.15); }
.crx-card > .crx-pill { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 16px; padding: 5px 22px; }
.crx-card h3 { margin: 4px 0 0; font-size: 21px; font-weight: 800; color: var(--crx-navy); }
.crx-locked-img { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #f4e9ee center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.crx-lock { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(110,110,115,.78); border: 3px solid #fff; }
.crx-tagline { margin: 0; min-height: 3em; font-size: 15px; line-height: 1.35; color: var(--crx-navy); }

.crx-gate { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 24px 170px 24px 28px; border-radius: 18px; background: #e9f0fb; text-align: center; }
.crx-gate-main h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--crx-navy); }
.crx-gate-main p { margin: 0 0 14px; font-size: 15px; }
.crx-gate-main .crx-gate-login { margin: 12px 0 0; font-size: 15px; }
.crx-gate-login a { color: var(--crx-blue); font-weight: 700; text-decoration: underline; }
.crx-gate-lock { flex: none; }
.crx-gate-mascot { position: absolute; right: 18px; bottom: 0; width: 150px; height: auto; }

/* Registrado: comparador */
.crx-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 0 0 20px; padding: 0; list-style: none; }
.crx-topcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 16px 14px; border: 1px solid var(--crx-line); border-radius: 14px; background: #fff; text-align: center; }
.crx-topcard.is-pop { border-color: var(--crx-orange); background: #fff7ee; box-shadow: 0 0 0 1px var(--crx-orange); }
.crx-topcard > .crx-pill { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 13px; }
.crx-topcard h3 { margin: 4px 0 0; font-size: 19px; font-weight: 800; color: var(--crx-navy); }
.crx-topbody { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 84px; }
.crx-collage { position: relative; flex: none; width: 112px; height: 80px; }
.crx-collage img { position: absolute; width: 66px; height: 66px; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(20,39,94,.2); }
.crx-c1 { left: 0; top: 8px; } .crx-c2 { left: 26px; top: 0; z-index: 1; } .crx-c3 { left: 46px; top: 14px; z-index: 2; }
.crx-topinfo { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.crx-price { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--crx-navy); }
.crx-perguest { font-size: 13px; font-weight: 700; color: var(--crx-orange); }
.crx-count { font-size: 12px; color: #6b7691; }

/* Registrado: filas */
.crx-rows { display: flex; flex-direction: column; gap: 14px; }
.crx-row { border: 1px solid var(--crx-line); border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(20,39,94,.04); }
.crx-row:has(.crx-d[open]) { border-color: var(--crx-orange); background: var(--crx-orange-soft); }
.crx-d > summary { list-style: none; cursor: pointer; }
.crx-d > summary::-webkit-details-marker { display: none; }
.crx-d-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 20px 8px; }
.crx-d-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.crx-d-name { font-size: 18px; font-weight: 800; color: var(--crx-navy); }
.crx-d-tag { font-size: 14px; color: var(--crx-navy); }
.crx-d-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.crx-d-price { font-size: 20px; font-weight: 800; color: var(--crx-navy); }
.crx-d-toggle { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--crx-blue); }
.crx-d-toggle svg { transition: transform .18s; }
.crx-d[open] .crx-d-toggle svg { transform: rotate(180deg); }
.crx-t-open { display: none; }
.crx-d[open] .crx-t-open { display: inline; }
.crx-d[open] .crx-t-closed { display: none; }

.crx-d-body { padding: 0 20px 16px; }
.crx-items { column-count: 2; column-gap: 40px; column-rule: 1px solid #f0d9c4; margin: 0; padding: 10px 0; border-top: 1px solid #f0d9c4; list-style: none; }
.crx-item { display: flex; align-items: center; gap: 14px; break-inside: avoid; padding: 6px 0; }
.crx-item-img { flex: none; display: flex; width: 56px; height: 46px; align-items: center; justify-content: center; border-radius: 8px; background: #fff; overflow: hidden; }
.crx-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.crx-item-name { flex: 1; display: flex; flex-direction: column; font-size: 14px; line-height: 1.25; }
.crx-item-name a { color: var(--crx-navy); font-weight: 600; text-decoration: none; }
.crx-item-name a:hover { text-decoration: underline; }
.crx-item-name small { font-size: 12px; font-weight: 700; color: var(--crx-navy); }
.crx-item-price { font-size: 14px; font-weight: 700; color: var(--crx-navy); white-space: nowrap; }
.crx-d-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #f0d9c4; }
.crx-total { font-size: 15px; font-weight: 700; } .crx-total strong { font-size: 18px; }

.crx-preview { display: flex; align-items: center; gap: 16px; padding: 4px 20px 14px; border-top: 1px solid var(--crx-line); margin: 0 20px; padding-left: 0; padding-right: 0; padding-top: 10px; }
.crx-d[open] ~ .crx-preview { display: none; }
.crx-strip { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crx-strip li { width: 48px; height: 40px; border-radius: 8px; background: #f2f4f8; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.crx-strip img { max-width: 100%; max-height: 100%; object-fit: contain; }
.crx-more { flex: 1; font-size: 13px; color: var(--crx-blue); text-decoration: underline; }
.crx-preview .crx-btn { margin-left: auto; }
.crx-row .crac-combo-form { display: none; }

.crx-edit { margin: 22px 0 0; text-align: center; font-size: 13px; color: #6b7691; }
.crx-edit a { font-weight: 700; color: var(--crx-blue); }

@media (max-width: 767px) {
  .crx-gate { flex-direction: column; padding: 22px 16px 120px; }
  .crx-gate-lock { width: 64px; height: 64px; }
  .crx-gate-mascot { right: 50%; transform: translateX(50%); width: 110px; }
  .crx-d-head { flex-direction: column; gap: 8px; }
  .crx-d-side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .crx-items { column-count: 1; }
  .crx-d-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .crx-preview { flex-wrap: wrap; }
  .crx-strip { flex-wrap: wrap; }
  .crx-more { flex-basis: 100%; }
  .crx-preview .crx-btn { width: 100%; margin-left: 0; }
}

/* v1.8.2 */
.crx-row.is-pop { border-color: var(--crx-orange); box-shadow: 0 0 0 1px var(--crx-orange); }
.crx-row { scroll-margin-top: 90px; }
.crx-detail-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--crx-blue); text-decoration: underline; }
.crx-profile { margin: -8px 0 16px; text-align: center; font-size: 13px; font-weight: 700; color: #6b7691; }

/* v1.8.4: sin borde naranja fijo en la card del medio; el borde y la elevación aparecen al pasar el mouse */
.crx-card.is-pop, .crx-topcard.is-pop { border-color: var(--crx-line); background: #fff; box-shadow: 0 4px 16px rgba(20,39,94,.06); }
.crx-row.is-pop { border-color: var(--crx-line); box-shadow: 0 2px 8px rgba(20,39,94,.04); }
.crx-card, .crx-topcard { transition: border-color .18s, box-shadow .18s, transform .18s; }
.crx-card:hover, .crx-topcard:hover, .crx-card.is-pop:hover, .crx-topcard.is-pop:hover { border-color: var(--crx-orange); box-shadow: 0 0 0 1px var(--crx-orange), 0 10px 24px rgba(255,122,26,.18); transform: translateY(-3px); }
