/*
 * MKT-CHECKOUT-04B FINAL
 * Checkout Marketplace — layout base limpio, sin hero legacy, sin decoradores DOM ambiguos.
 * La lógica de negocio queda en backend y JS solo dispara Steps oficiales.
 */

.marketplace-checkout-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f7f4f0 0%, #f3f6fb 46%, #eef3f7 100%);
}

.marketplace-checkout-page .container {
  width: min(100% - 48px, 1120px);
  max-width: 1120px;
  margin-inline: auto;
}

.mp-checkout,
.mp-checkout * {
  box-sizing: border-box;
}

.mp-checkout {
  width: 100%;
  padding: 28px 0 72px;
  color: #20242c;
}

.mp-checkout [hidden] {
  display: none !important;
}

.mp-checkout h1,
.mp-checkout h2,
.mp-checkout h3,
.mp-checkout p {
  margin-top: 0;
}

.mp-checkout__eyebrow {
  margin: 0 0 9px;
  color: #8f0f16;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mp-checkout__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px;
  align-items: stretch;
  margin: 0 0 18px;
}

.mp-checkout__intro-main,
.mp-checkout__intro-aside,
.mp-checkout__status,
.mp-checkout-flow,
.mp-checkout-customer,
.mp-checkout-panel,
.mp-checkout__side-card,
.mp-checkout__empty,
.mp-checkout__api-error,
.mp-checkout__skeleton {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(143, 15, 22, 0.11);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(37, 41, 52, 0.08);
}

.mp-checkout__intro-main {
  padding: 31px 34px;
}

.mp-checkout__intro-main h1 {
  max-width: 760px;
  margin: 0 0 10px;
  color: #20242c;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.mp-checkout__intro-main p:not(.mp-checkout__eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #5d6678;
  font-size: 16px;
  line-height: 1.55;
}

.mp-checkout__intro-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 26px;
}

.mp-checkout__intro-aside span {
  margin-bottom: 8px;
  color: #8f0f16;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mp-checkout__intro-aside strong {
  display: block;
  margin-bottom: 8px;
  color: #20242c;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.mp-checkout__intro-aside small {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.mp-checkout__status {
  margin: 0 0 18px;
  padding: 14px 18px;
  color: #425066;
  font-size: 14px;
  font-weight: 900;
  border-radius: 999px;
  box-shadow: none;
}

.mp-checkout__status[data-status="success"] {
  color: #047857;
  background: #ecfdf5;
  border-color: rgba(4, 120, 87, 0.13);
}

.mp-checkout__status[data-status="error"] {
  color: #991b1b;
  background: #fff1f2;
  border-color: rgba(153, 27, 27, 0.14);
}

.mp-checkout__status[data-status="warning"] {
  color: #92400e;
  background: #fffbeb;
  border-color: rgba(146, 64, 14, 0.14);
}

.mp-checkout__status[data-status="loading"] {
  color: #374151;
  background: #eff6ff;
  border-color: rgba(55, 65, 81, 0.10);
}

.mp-checkout-flow {
  margin: 0 0 20px;
  padding: 20px;
  border-radius: 24px;
}

.mp-checkout-flow__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.mp-checkout-flow__head strong {
  color: #5d6678;
  font-size: 14px;
  font-weight: 900;
}

.mp-checkout-flow__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
}

.mp-checkout-step {
  position: relative;
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px 15px 18px;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.06);
  color: #667085;
  text-align: left;
  cursor: default;
  pointer-events: none;
}

.mp-checkout-step::after {
  content: '›';
  position: absolute;
  right: -17px;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  color: #8f0f16;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  opacity: 0.72;
  pointer-events: none;
}

.mp-checkout-step:last-child::after {
  content: none;
}

.mp-checkout-step::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  border-radius: 0 0 18px 18px;
  background: #e6ebf2;
}

.mp-checkout-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid rgba(143, 15, 22, 0.16);
  border-radius: 16px;
  background: rgba(143, 15, 22, 0.06);
  color: #8f0f16;
  font-size: 24px;
}

.mp-checkout-step small,
.mp-checkout-step strong,
.mp-checkout-step em {
  display: block;
}

.mp-checkout-step small {
  color: #718096;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mp-checkout-step strong {
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.mp-checkout-step em {
  color: #8c3f00;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.mp-checkout-step.is-active,
.mp-checkout-step[aria-current="step"] {
  background: rgba(143, 15, 22, 0.08);
  box-shadow: 0 14px 34px rgba(143, 15, 22, 0.10);
}

.mp-checkout-step.is-active::before,
.mp-checkout-step[aria-current="step"]::before {
  background: #8f0f16;
}

.mp-checkout-step.is-done {
  background: rgba(28, 160, 96, 0.10);
  box-shadow: 0 10px 26px rgba(28, 160, 96, 0.08);
}

.mp-checkout-step.is-done::before {
  background: #1ca060;
}

.mp-checkout-customer {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
  margin: 0 0 18px;
  padding: 24px;
}

.mp-checkout-customer__copy h2,
.mp-checkout-panel__header h2,
.mp-checkout__side-card h2,
.mp-checkout__empty h2 {
  margin: 0 0 8px;
  color: #20242c;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.mp-checkout-customer__copy p:not(.mp-checkout__eyebrow),
.mp-checkout-panel__header p,
.mp-checkout__note,
.mp-checkout__empty p,
.mp-checkout__empty-inline,
.mp-checkout__api-error,
.mp-checkout__skeleton {
  color: #657083;
  line-height: 1.55;
}

.mp-checkout-customer__form,
.mp-checkout-global-form {
  display: grid;
  gap: 12px;
}

.mp-checkout-customer__form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mp-checkout-customer__form label,
.mp-checkout-global-form label,
.mp-checkout-modal label {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mp-checkout-customer__form input,
.mp-checkout-global-form input,
.mp-checkout-global-form textarea,
.mp-checkout-modal input,
.mp-checkout-modal textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #dfe6ee;
  border-radius: 14px;
  background: #fbfdff;
  color: #1f2937;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.mp-checkout-customer__form input:focus,
.mp-checkout-global-form input:focus,
.mp-checkout-global-form textarea:focus,
.mp-checkout-modal input:focus,
.mp-checkout-modal textarea:focus {
  outline: 3px solid rgba(143, 15, 22, 0.12);
  border-color: #8f0f16;
  background: #ffffff;
}

.mp-checkout-customer__form button {
  grid-column: span 2;
}

.mp-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  margin-top: 0;
}

.mp-checkout__groups,
.mp-checkout-business-list,
.mp-checkout-review-card__items,
.mp-checkout-applied__list {
  display: grid;
  gap: 16px;
}

.mp-checkout-panel {
  padding: 24px;
}

.mp-checkout-panel__header {
  margin-bottom: 18px;
}

.mp-checkout-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mp-checkout-mini-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(143, 15, 22, 0.11);
  border-radius: 20px;
  background: #fff8f8;
}

.mp-checkout-mini-card h3 {
  margin: 0 0 4px;
  color: #20242c;
}

.mp-checkout-radio {
  display: flex !important;
  align-items: center;
  grid-template-columns: auto !important;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  color: #334155;
  font-weight: 900;
  cursor: pointer;
}

.mp-checkout-radio input {
  width: auto;
  min-height: auto;
}

.mp-checkout-radio:has(input:checked) {
  border-color: #8f0f16;
  background: #fff1f2;
  color: #8f0f16;
}

.mp-checkout-applied {
  margin-top: 20px;
}

.mp-checkout-applied__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.mp-checkout-applied__title strong {
  color: #20242c;
}

.mp-checkout-applied__title span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.mp-checkout-applied-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  background: #ffffff;
}

.mp-checkout-applied-card strong,
.mp-checkout-applied-card span,
.mp-checkout-applied-card em {
  display: block;
}

.mp-checkout-applied-card span {
  color: #667085;
}

.mp-checkout-applied-card em {
  width: fit-content;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff3cd;
  color: #8a5a00;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.mp-checkout-applied-card button {
  border: 1px solid #8f0f16;
  border-radius: 999px;
  background: #ffffff;
  color: #8f0f16;
  padding: 9px 15px;
  font-weight: 900;
  cursor: pointer;
}

.mp-checkout-review-card {
  padding: 20px;
  border: 1px solid rgba(143, 15, 22, 0.12);
  border-radius: 22px;
  background: #ffffff;
}

.mp-checkout-review-card header,
.mp-checkout-review-card footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.mp-checkout-review-card h3 {
  margin: 0;
  color: #20242c;
  font-size: 24px;
  line-height: 1.1;
}

.mp-checkout-review-card header > strong {
  color: #8f0f16;
  font-size: 22px;
  white-space: nowrap;
}

.mp-checkout-review-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.mp-checkout-review-card__facts div,
.mp-checkout__totals div {
  padding: 14px;
  border: 1px solid #e7edf4;
  border-radius: 16px;
  background: #ffffff;
}

.mp-checkout-review-card__facts span,
.mp-checkout__totals span {
  display: block;
  color: #6f7583;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-checkout-review-card__facts strong,
.mp-checkout__totals strong {
  display: block;
  margin-top: 5px;
  color: #1f2937;
  font-size: 16px;
}

.mp-checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #edf0f5;
  border-radius: 16px;
  background: #fbfdff;
}

.mp-checkout-item strong {
  color: #20242c;
}

.mp-checkout-item span,
.mp-checkout-item small {
  display: block;
  margin-top: 3px;
  color: #667085;
}

.mp-checkout-item b {
  color: #8f0f16;
  white-space: nowrap;
}

.mp-checkout-review-card footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f5;
}

.is-ready {
  color: #047857;
  font-weight: 900;
}

.is-pending {
  color: #92400e;
  font-weight: 900;
}

.mp-checkout__side-card {
  padding: 24px;
}

.mp-checkout__side-card--sticky {
  position: sticky;
  top: 24px;
}

.mp-checkout__totals {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.mp-checkout__button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #9b0014;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.mp-checkout__button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mp-checkout__button--secondary,
.mp-checkout__button--ghost {
  background: #ffffff;
  color: #9b0014;
  border: 1px solid #ead0d3;
}

.mp-checkout__empty,
.mp-checkout__api-error,
.mp-checkout__skeleton,
.mp-checkout__empty-inline {
  padding: 20px;
  border-style: dashed;
  box-shadow: none;
}

.mp-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}

.mp-checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.mp-checkout-modal__box {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.mp-checkout-modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff1f2;
  color: #8f0f16;
  font-size: 28px;
  cursor: pointer;
}

.mp-checkout-modal-options,
.mp-checkout-modal-actions {
  display: grid;
  gap: 12px;
}

.mp-checkout-modal-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mp-checkout-modal-options button {
  display: grid;
  gap: 5px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid #edd4d8;
  border-radius: 20px;
  background: #fff8f8;
  text-align: left;
  font-size: 30px;
  cursor: pointer;
}

.mp-checkout-modal-options strong {
  color: #20242c;
  font-size: 18px;
}

.mp-checkout-modal-options span {
  color: #667085;
  font-size: 13px;
}

@media (max-width: 980px) {
  .mp-checkout__intro,
  .mp-checkout__layout,
  .mp-checkout-customer,
  .mp-checkout-two-col,
  .mp-checkout-review-card__facts {
    grid-template-columns: 1fr;
  }

  .mp-checkout__side-card--sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .marketplace-checkout-page .container {
    width: min(100% - 32px, 1120px);
  }

  .mp-checkout {
    padding-top: 20px;
  }

  .mp-checkout__intro-main,
  .mp-checkout__intro-aside,
  .mp-checkout-flow,
  .mp-checkout-customer,
  .mp-checkout-panel,
  .mp-checkout__side-card {
    padding: 20px;
  }

  .mp-checkout-flow__head,
  .mp-checkout-applied__title,
  .mp-checkout-review-card header,
  .mp-checkout-review-card footer,
  .mp-checkout-applied-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .mp-checkout-flow__steps,
  .mp-checkout-customer__form,
  .mp-checkout-modal-options {
    grid-template-columns: 1fr;
  }

  .mp-checkout-step::after {
    content: none;
  }

  .mp-checkout-customer__form button {
    grid-column: auto;
  }
}

/* MKT-CHECKOUT-04C — resumen superior + formulario vertical + espera amable */
.mp-checkout__status.is-success {
  color: #047857;
  background: #ecfdf5;
  border-color: rgba(4, 120, 87, 0.13);
}

.mp-checkout__status.is-error {
  color: #991b1b;
  background: #fff1f2;
  border-color: rgba(153, 27, 27, 0.14);
}

.mp-checkout__status.is-warning {
  color: #92400e;
  background: #fffbeb;
  border-color: rgba(146, 64, 14, 0.14);
}

.mp-checkout__status.is-loading {
  color: #374151;
  background: #eff6ff;
  border-color: rgba(55, 65, 81, 0.10);
}

.mp-checkout-overview {
  margin: 0 0 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(143, 15, 22, 0.11);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(37, 41, 52, 0.08);
}

.mp-checkout-overview__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.mp-checkout-overview__head h2 {
  margin: 0;
  color: #20242c;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.mp-checkout-overview__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #ead0d3;
  border-radius: 999px;
  color: #9b0014;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.mp-checkout-overview__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mp-checkout-metric-card {
  position: relative;
  min-height: 118px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #e7edf4;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.05);
}

.mp-checkout-metric-card::after {
  content: '';
  position: absolute;
  right: -26px;
  top: -26px;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(143, 15, 22, 0.06);
}

.mp-checkout-metric-card span,
.mp-checkout-metric-card small {
  display: block;
  position: relative;
  z-index: 1;
}

.mp-checkout-metric-card span {
  color: #6f7583;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mp-checkout-metric-card strong {
  display: block;
  position: relative;
  z-index: 1;
  margin: 10px 0 6px;
  color: #20242c;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.mp-checkout-metric-card small {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.mp-checkout-metric-card--total {
  border-color: rgba(143, 15, 22, 0.20);
  background: linear-gradient(145deg, #fffafb 0%, #ffffff 100%);
}

.mp-checkout-metric-card--total strong {
  color: #8f0f16;
}

.mp-checkout-flow {
  margin-top: 0;
}

.mp-checkout-customer {
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 0.88fr);
  align-items: start;
}

.mp-checkout-customer__form {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-left: auto;
}

.mp-checkout-customer__form button {
  grid-column: auto;
  margin-top: 4px;
}

.mp-checkout__layout {
  display: block;
  margin-top: 0;
}

.mp-checkout__groups {
  width: 100%;
}

.mp-checkout-panel--placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.mp-checkout-placeholder-lines {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.mp-checkout-placeholder-lines span {
  display: block;
  height: 54px;
  border: 1px solid rgba(143, 15, 22, 0.12);
  border-radius: 18px;
  background: transparent;
  animation: mpPlaceholderPulse 1.15s ease-in-out infinite;
}

.mp-checkout-placeholder-lines span:nth-child(2) {
  width: 86%;
}

.mp-checkout-placeholder-lines span:nth-child(3) {
  width: 72%;
}

.mp-checkout-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mp-checkout-loading__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247, 244, 240, 0.18);
  backdrop-filter: blur(2px);
}

.mp-checkout-loading__box {
  position: relative;
  width: min(420px, calc(100vw - 40px));
  padding: 26px;
  border: 1px solid rgba(143, 15, 22, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 80px rgba(31, 41, 55, 0.18);
}

.mp-checkout-loading__box h2 {
  margin: 0 0 8px;
  color: #20242c;
  font-size: 26px;
  line-height: 1.05;
}

.mp-checkout-loading__box p:not(.mp-checkout__eyebrow) {
  margin: 0 0 18px;
  color: #667085;
  font-weight: 800;
  line-height: 1.45;
}

.mp-checkout-loading__box small {
  display: block;
  margin-top: 10px;
  color: #8f0f16;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.mp-checkout-loading__bar {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e5e7;
}

.mp-checkout-loading__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f0f16 0%, #c91c2c 100%);
  transform-origin: left center;
  animation: mpCheckoutLoadBar 2.35s ease-out forwards;
}

.mp-checkout-loading.is-leaving {
  opacity: 0;
  transition: opacity 0.18s ease;
}

@keyframes mpCheckoutLoadBar {
  from { transform: scaleX(0.04); }
  48% { transform: scaleX(0.68); }
  to { transform: scaleX(1); }
}

@keyframes mpPlaceholderPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}

@media (max-width: 980px) {
  .mp-checkout-overview__cards,
  .mp-checkout-customer {
    grid-template-columns: 1fr;
  }

  .mp-checkout-customer__form {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .mp-checkout-overview {
    padding: 20px;
  }

  .mp-checkout-overview__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mp-checkout-overview__link {
    width: 100%;
  }
}

/* MKT-CHECKOUT-04D — Customer ancho + calendario incrustado corporativo */
.mp-checkout-customer {
  grid-template-columns: minmax(280px, 0.42fr) minmax(520px, 1.58fr) !important;
  gap: 34px !important;
  padding: 30px !important;
}

.mp-checkout-customer__form {
  width: 100% !important;
  max-width: 760px !important;
  margin-left: auto !important;
  gap: 16px !important;
}

.mp-checkout-customer__form label {
  max-width: 100%;
}

.mp-checkout-customer__form input,
.mp-checkout-global-form input,
.mp-checkout-modal input,
.mp-checkout-modal textarea {
  min-height: 56px !important;
  padding: 15px 18px !important;
  border: 1px solid #dce5ef !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.045), inset 0 1px 0 rgba(255,255,255,0.86) !important;
  font-size: 15px !important;
}

.mp-checkout-customer__form input:focus,
.mp-checkout-global-form input:focus,
.mp-checkout-modal input:focus,
.mp-checkout-modal textarea:focus {
  border-color: rgba(143, 15, 22, 0.52) !important;
  box-shadow: 0 12px 28px rgba(143, 15, 22, 0.08), 0 0 0 4px rgba(143, 15, 22, 0.10) !important;
}

.mp-checkout-customer__form button {
  min-height: 58px !important;
  margin-top: 8px !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 30px rgba(143, 15, 22, 0.18) !important;
}

.mp-checkout-loading__box {
  width: min(360px, calc(100vw - 40px)) !important;
  padding: 22px !important;
}

.mp-checkout-loading__bar span {
  animation-duration: 0.65s !important;
}

.mp-checkout-panel--reservation {
  padding: 28px !important;
}

.mp-checkout-reservation-form {
  display: grid;
  gap: 20px;
}

.mp-checkout-reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 22px;
  align-items: start;
}

.mp-checkout-calendar-area,
.mp-checkout-reservation-side {
  border: 1px solid rgba(143, 15, 22, 0.10);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 16px 38px rgba(31, 41, 55, 0.06);
}

.mp-checkout-calendar-area {
  padding: 22px;
}

.mp-checkout-calendar-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mp-checkout-calendar-toolbar strong,
.mp-checkout-time-area strong,
.mp-checkout-reservation-side__head strong {
  display: block;
  color: #20242c;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mp-checkout-calendar-toolbar span,
.mp-checkout-reservation-side__head span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.mp-checkout-calendar-toolbar em {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff1f2;
  color: #8f0f16;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.mp-checkout-calendar-months,
.mp-checkout-modal-calendar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mp-checkout-calendar-month {
  padding: 16px;
  border: 1px solid #e8edf4;
  border-radius: 20px;
  background: #ffffff;
}

.mp-checkout-calendar-month header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mp-checkout-calendar-month header strong {
  color: #20242c;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.mp-checkout-calendar-month header span {
  color: #8f0f16;
  font-size: 12px;
  font-weight: 900;
}

.mp-checkout-calendar-weekdays,
.mp-checkout-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.mp-checkout-calendar-weekdays {
  margin-bottom: 7px;
}

.mp-checkout-calendar-weekdays span {
  color: #7a8496;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.mp-checkout-calendar-blank,
.mp-checkout-calendar-day {
  min-height: 48px;
  border-radius: 15px;
}

.mp-checkout-calendar-day {
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid #e4eaf2;
  background: #ffffff;
  color: #20242c;
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.045);
}

.mp-checkout-calendar-day span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  line-height: 1;
}

.mp-checkout-calendar-day:hover:not(:disabled) {
  border-color: rgba(143, 15, 22, 0.45);
  transform: translateY(-1px);
}

.mp-checkout-calendar-day.is-selected {
  border-color: #8f0f16;
  background: #8f0f16;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(143, 15, 22, 0.22);
}

.mp-checkout-calendar-day.is-blocked,
.mp-checkout-calendar-day:disabled {
  background: #f3f5f8;
  color: #b0b8c5;
  cursor: not-allowed;
  box-shadow: none;
  text-decoration: line-through;
}

.mp-checkout-calendar-day.is-special::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #8f0f16;
  transform: translateX(-50%);
}

.mp-checkout-calendar-day.is-selected.is-special::after {
  background: #ffffff;
}

.mp-checkout-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.mp-checkout-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-checkout-calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8e0ea;
}

.mp-checkout-calendar-legend i.is-special { background: #8f0f16; border-color: #8f0f16; }
.mp-checkout-calendar-legend i.is-blocked { background: #c5ccd6; border-color: #c5ccd6; }

.mp-checkout-time-area {
  margin-top: 22px;
}

.mp-checkout-time-slots,
.mp-checkout-modal-times {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mp-time-slot {
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  color: #20242c;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.05);
}

.mp-time-slot strong,
.mp-time-slot span {
  display: block;
}

.mp-time-slot strong {
  font-size: 22px;
  line-height: 1;
}

.mp-time-slot span {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.mp-time-slot.is-selected {
  border-color: #8f0f16;
  background: #fff1f2;
  color: #8f0f16;
  box-shadow: 0 14px 30px rgba(143, 15, 22, 0.12);
}

.mp-checkout-reservation-side {
  padding: 18px;
}

.mp-checkout-reservation-side__head {
  margin-bottom: 14px;
}

.mp-checkout-reservation-businesses {
  display: grid;
  gap: 12px;
}

.mp-checkout-reservation-business {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  background: #ffffff;
}

.mp-checkout-reservation-business strong,
.mp-checkout-reservation-business span,
.mp-checkout-reservation-business small {
  display: block;
}

.mp-checkout-reservation-business strong {
  color: #20242c;
  font-size: 15px;
  line-height: 1.15;
}

.mp-checkout-reservation-business span {
  margin-top: 5px;
  color: #8f0f16;
  font-size: 18px;
  font-weight: 950;
}

.mp-checkout-reservation-business small {
  margin-top: 4px;
  color: #667085;
  font-weight: 800;
}

.mp-checkout-reservation-business button {
  min-width: 92px;
  padding: 10px 14px;
  border: 1px solid #8f0f16;
  border-radius: 999px;
  background: #ffffff;
  color: #8f0f16;
  font-weight: 950;
  cursor: pointer;
}

.mp-checkout-reservation-business button:disabled {
  border-color: #d7dee8;
  color: #a5afbf;
  cursor: not-allowed;
}

.mp-checkout-reservation-form > .mp-checkout__button:disabled,
.mp-checkout__button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none !important;
}

.mp-checkout-modal__box {
  width: min(760px, calc(100vw - 32px));
}

.mp-checkout-override-reservation {
  display: grid;
  gap: 16px;
}

.mp-checkout-modal-calendar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mp-checkout-modal-times {
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
}

@media (max-width: 1040px) {
  .mp-checkout-customer,
  .mp-checkout-reservation-grid {
    grid-template-columns: 1fr !important;
  }

  .mp-checkout-customer__form {
    max-width: none !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 720px) {
  .mp-checkout-calendar-months,
  .mp-checkout-modal-calendar {
    grid-template-columns: 1fr;
  }

  .mp-checkout-calendar-day {
    min-height: 44px;
  }
}

/* MKT-CHECKOUT-04E — Step 2 tres columnas: calendario + horarios + pastelerías */
.mp-checkout-panel--reservation .mp-checkout-reservation-grid--three {
  grid-template-columns: minmax(420px, 1.42fr) minmax(220px, 0.72fr) minmax(280px, 0.86fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.mp-checkout-panel--reservation .mp-checkout-calendar-area,
.mp-checkout-panel--reservation .mp-checkout-time-area--panel,
.mp-checkout-panel--reservation .mp-checkout-reservation-side {
  min-height: 100%;
}

.mp-checkout-panel--reservation .mp-checkout-calendar-area {
  display: flex;
  flex-direction: column;
}

.mp-checkout-panel--reservation .mp-checkout-time-area--panel {
  margin-top: 0 !important;
  padding: 20px;
  border: 1px solid rgba(143, 15, 22, 0.10);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 16px 38px rgba(31, 41, 55, 0.06);
}

.mp-checkout-time-area__head strong {
  display: block;
  color: #20242c;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mp-checkout-time-area__head span {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.mp-checkout-panel--reservation .mp-checkout-time-slots {
  grid-template-columns: 1fr !important;
  gap: 11px !important;
  margin-top: 16px !important;
}

.mp-checkout-panel--reservation .mp-time-slot {
  min-height: 68px;
  padding: 13px 15px;
}

.mp-time-slot.is-disabled-preview,
.mp-time-slot:disabled {
  background: linear-gradient(180deg, #f6f8fb 0%, #f0f3f7 100%);
  color: #98a2b3;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.78;
}

.mp-time-slot.is-disabled-preview strong,
.mp-time-slot.is-disabled-preview span {
  color: #98a2b3;
}

.mp-time-slot-help {
  padding: 11px 12px;
  border: 1px dashed #d3dbe7;
  border-radius: 15px;
  background: #f8fafc;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-businesses {
  flex: 1 1 auto;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-business.is-date-only {
  border-color: rgba(143, 15, 22, 0.20);
  background: #fffafa;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-business.is-ready {
  border-color: rgba(19, 160, 96, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #f4fff9 100%);
}

.mp-checkout-panel--reservation .mp-checkout-reservation-business.is-ready span {
  color: #067647;
}

.mp-checkout-reservation-next {
  width: 100%;
  min-height: 58px;
  margin-top: auto;
  align-self: stretch;
}

.mp-checkout-panel--reservation .mp-checkout-calendar-months {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .mp-checkout-panel--reservation .mp-checkout-reservation-grid--three {
    grid-template-columns: 1fr !important;
  }

  .mp-checkout-panel--reservation .mp-checkout-time-slots {
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)) !important;
  }
}

/* MKT-CHECKOUT-04F — Step 2 calendario ancho + horarios al lado + pastelerías debajo */
.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time {
  display: grid !important;
  grid-template-columns: minmax(640px, 1fr) minmax(260px, 320px) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-area,
.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-time-area--panel {
  min-height: 100% !important;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-months {
  grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  gap: 18px !important;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-month {
  padding: 18px !important;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-weekdays,
.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-grid {
  gap: 9px !important;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-day,
.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-blank {
  min-height: 54px !important;
  border-radius: 16px !important;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-day span {
  font-size: 22px !important;
}

.mp-checkout-reservation-side--below {
  margin-top: 22px !important;
  padding: 22px !important;
  border: 1px solid rgba(143, 15, 22, 0.10) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  box-shadow: 0 16px 38px rgba(31, 41, 55, 0.06) !important;
}

.mp-checkout-reservation-side--below .mp-checkout-reservation-side__head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.mp-checkout-reservation-side--below .mp-checkout-reservation-businesses {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.mp-checkout-reservation-side--below .mp-checkout-reservation-business {
  min-height: 138px !important;
  grid-template-columns: 1fr !important;
  align-content: space-between !important;
  gap: 14px !important;
  padding: 17px !important;
}

.mp-checkout-reservation-side--below .mp-checkout-reservation-business button {
  width: 100% !important;
  min-width: 0 !important;
}

.mp-checkout-reservation-actions {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 16px !important;
}

.mp-checkout-reservation-side--below .mp-checkout-reservation-next {
  width: min(100%, 360px) !important;
  min-height: 58px !important;
  margin-top: 0 !important;
}

@media (max-width: 1220px) {
  .mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time {
    grid-template-columns: 1fr !important;
  }

  .mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-time-slots {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .mp-checkout-reservation-side--below .mp-checkout-reservation-businesses {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-calendar-months,
  .mp-checkout-reservation-side--below .mp-checkout-reservation-businesses {
    grid-template-columns: 1fr !important;
  }

  .mp-checkout-reservation-actions {
    justify-content: stretch !important;
  }

  .mp-checkout-reservation-side--below .mp-checkout-reservation-next {
    width: 100% !important;
  }
}

/* MKT-CHECKOUT-04G — Ajustes QA: selección calendario no circular + horarios 2 columnas + fallback clickeable */
.mp-checkout-panel--reservation .mp-checkout-calendar-day.is-selected {
  border-radius: 16px !important;
  background: linear-gradient(180deg, #a30d1b 0%, #8f0f16 100%) !important;
  box-shadow: 0 12px 24px rgba(143, 15, 22, 0.24) !important;
}

.mp-checkout-panel--reservation .mp-checkout-calendar-day.is-selected span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px !important;
}

.mp-checkout-panel--reservation .mp-checkout-time-slots {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-time-slots {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.mp-time-slot-help--test {
  grid-column: 1 / -1 !important;
  border-color: rgba(143, 15, 22, 0.18) !important;
  background: #fff8f8 !important;
  color: #8f0f16 !important;
}

.mp-checkout-panel--reservation .mp-time-slot:not(:disabled) {
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.mp-checkout-panel--reservation .mp-time-slot:not(:disabled):hover {
  border-color: rgba(143, 15, 22, 0.42) !important;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .mp-checkout-panel--reservation .mp-checkout-time-slots,
  .mp-checkout-panel--reservation .mp-checkout-reservation-grid--calendar-time .mp-checkout-time-slots {
    grid-template-columns: 1fr !important;
  }
}

/* MKT-CHECKOUT-04H — Entrega y documento en bloques horizontales separados */
.mp-checkout-panel--fulfillment .mp-checkout-fulfillment-form {
  gap: 22px;
}

.mp-checkout-choice-block {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(143, 15, 22, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
  box-shadow: 0 16px 38px rgba(37, 41, 52, 0.055);
}

.mp-checkout-choice-block__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-checkout-choice-block__head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(143, 15, 22, 0.16);
  border-radius: 16px;
  background: #fff5f5;
  font-size: 22px;
}

.mp-checkout-choice-block__head strong {
  display: block;
  color: #20242c;
  font-size: 22px;
  line-height: 1.05;
}

.mp-checkout-choice-block__head em {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.mp-checkout-choice-buttons {
  display: grid;
  gap: 14px;
}

.mp-checkout-choice-buttons--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mp-checkout-choice-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon sub";
  align-items: center;
  column-gap: 14px;
  min-height: 92px;
  padding: 18px 18px 18px 16px;
  border: 1px solid #e3e9f1;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 41, 52, 0.045);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.mp-checkout-choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 15, 22, 0.25);
  box-shadow: 0 16px 34px rgba(37, 41, 52, 0.075);
}

.mp-checkout-choice-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.mp-checkout-choice-card__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e6edf5;
  font-size: 26px;
}

.mp-checkout-choice-card strong {
  grid-area: title;
  color: #20242c;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
}

.mp-checkout-choice-card em {
  grid-area: sub;
  color: #667085;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
}

.mp-checkout-choice-card:has(input:checked) {
  border-color: rgba(143, 15, 22, 0.62);
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
  box-shadow: 0 18px 36px rgba(143, 15, 22, 0.10);
}

.mp-checkout-choice-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #8f0f16;
  color: #fff;
  font-weight: 1000;
}

.mp-checkout-conditional-form[hidden] {
  display: none !important;
}

.mp-checkout-form-card {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid #e5ebf3;
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.mp-checkout-form-card > strong {
  color: #20242c;
  font-size: 18px;
}

.mp-checkout-form-card > p {
  margin: -6px 0 2px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.mp-checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.mp-checkout-form-card input,
.mp-checkout-form-card textarea {
  min-height: 52px;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 41, 52, 0.045);
}

.mp-checkout-modal .mp-checkout-choice-block {
  padding: 16px;
}

.mp-checkout-modal .mp-checkout-choice-card {
  min-height: 78px;
}

.mp-checkout-modal .mp-checkout-choice-card strong {
  font-size: 19px;
}

@media (max-width: 760px) {
  .mp-checkout-choice-buttons--two,
  .mp-checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .mp-checkout-choice-card strong {
    font-size: 21px;
  }
}

/* MKT-CHECKOUT-04I — Paso 3: choices 3/4 + estado pastelerías a la derecha */
.mp-checkout-panel--fulfillment .mp-checkout-fulfillment-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: start;
}

.mp-checkout-panel--fulfillment .mp-checkout-fulfillment-form {
  min-width: 0;
}

.mp-checkout-panel--fulfillment .mp-checkout-applied {
  margin-top: 0;
  position: sticky;
  top: 18px;
}

.mp-checkout-applied--fulfillment {
  padding: 18px;
  border: 1px solid rgba(143, 15, 22, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
  box-shadow: 0 16px 38px rgba(37, 41, 52, 0.055);
}

.mp-checkout-applied--fulfillment .mp-checkout-applied__title {
  display: grid;
  gap: 5px;
  align-items: start;
  margin-bottom: 14px;
}

.mp-checkout-applied--fulfillment .mp-checkout-applied__title strong {
  font-size: 18px;
  line-height: 1.1;
}

.mp-checkout-applied--fulfillment .mp-checkout-applied__title span {
  max-width: 260px;
  line-height: 1.35;
}

.mp-checkout-applied--fulfillment .mp-checkout-applied__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mp-checkout-applied-card--fulfillment {
  align-items: stretch;
  padding: 14px;
  border-color: rgba(143, 15, 22, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(37, 41, 52, 0.045);
}

.mp-checkout-applied-card--fulfillment .mp-checkout-applied-card__body {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.mp-checkout-applied-card--fulfillment strong {
  color: #20242c;
  font-size: 15px;
  line-height: 1.15;
}

.mp-checkout-applied-card--fulfillment dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.mp-checkout-applied-card--fulfillment dl > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.mp-checkout-applied-card--fulfillment dt {
  margin: 0;
  color: #667085;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mp-checkout-applied-card--fulfillment dd {
  margin: 0;
  color: #8f0f16;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.2;
}

.mp-checkout-applied-card--fulfillment em.is-default {
  background: #eaf8f0;
  color: #12805c;
}

.mp-checkout-applied-card--fulfillment button {
  align-self: center;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .mp-checkout-panel--fulfillment .mp-checkout-fulfillment-grid {
    grid-template-columns: 1fr;
  }

  .mp-checkout-panel--fulfillment .mp-checkout-applied {
    position: static;
  }

  .mp-checkout-applied--fulfillment .mp-checkout-applied__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mp-checkout-applied--fulfillment .mp-checkout-applied__list {
    grid-template-columns: 1fr;
  }

  .mp-checkout-panel--fulfillment .mp-checkout-choice-buttons--two {
    grid-template-columns: 1fr;
  }
}

/* MKT-CHECKOUT-04J — Avance con resumen, sin status permanente ni pago por pastelería */
.mp-checkout__status[hidden] {
  display: none !important;
}

.mp-checkout-overview__head {
  align-items: flex-start !important;
}

.mp-checkout-overview__link {
  display: none !important;
}

.mp-checkout-step {
  min-height: 96px !important;
  align-items: flex-start !important;
}

.mp-checkout-step > span:last-child {
  min-width: 0;
}

.mp-checkout-step em + em {
  margin-top: 2px;
}

.mp-checkout-step em {
  max-width: 100%;
  overflow: hidden;
  color: #5f3514;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-checkout-step.is-done em {
  color: #145c38;
}

.mp-checkout-step.is-active em {
  color: #7c2d12;
}

.mp-checkout-review-card footer {
  justify-content: flex-start !important;
}

.mp-checkout-review-card [data-pay-business] {
  display: none !important;
}

/* MKT-CHECKOUT-04K — Validación final y pago seguro */
.mp-checkout-panel--review .mp-checkout-final-action {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(143, 15, 22, 0.14);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 247, 0.92));
  box-shadow: 0 18px 45px rgba(37, 41, 52, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.mp-checkout__button--final {
  min-height: 58px;
  padding-left: 34px;
  padding-right: 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 36px rgba(143, 15, 22, 0.20);
}

.mp-checkout-final-action small,
.mp-checkout-final-actions small {
  color: #667085;
  font-weight: 800;
}

.mp-checkout-final-modal__lead {
  margin: 0 0 16px;
  color: #5d6678;
  font-weight: 750;
  line-height: 1.5;
}

.mp-checkout-final-progress {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.mp-checkout-final-progress span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f0f16, #d6808c);
  transition: width 220ms ease;
}

.mp-checkout-final-checks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.mp-checkout-final-checks li {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #344054;
  font-weight: 900;
}

.mp-checkout-final-checks li i {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f7;
  color: #667085;
  font-style: normal;
  font-weight: 950;
}

.mp-checkout-final-checks li.is-ok {
  border-color: rgba(10, 151, 93, 0.24);
  background: rgba(235, 255, 247, 0.85);
}

.mp-checkout-final-checks li.is-ok i {
  background: #12b76a;
  color: #fff;
}

.mp-checkout-final-checks li.is-error {
  border-color: rgba(143, 15, 22, 0.24);
  background: rgba(255, 246, 247, 0.92);
}

.mp-checkout-final-checks li.is-error i {
  background: #8f0f16;
  color: #fff;
}

.mp-checkout-final-ok,
.mp-checkout-final-error,
.mp-checkout-final-missing {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  line-height: 1.45;
}

.mp-checkout-final-ok {
  border: 1px solid rgba(10, 151, 93, 0.24);
  background: rgba(235, 255, 247, 0.88);
  color: #05603a;
}

.mp-checkout-final-error,
.mp-checkout-final-missing {
  border: 1px solid rgba(143, 15, 22, 0.20);
  background: rgba(255, 246, 247, 0.94);
  color: #8f0f16;
}

.mp-checkout-final-ok strong,
.mp-checkout-final-error strong,
.mp-checkout-final-missing strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.mp-checkout-final-missing ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.mp-checkout-final-json {
  margin-top: 16px;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  background: #fbfcfe;
  overflow: hidden;
}

.mp-checkout-final-json summary {
  cursor: pointer;
  padding: 13px 15px;
  color: #344054;
  font-weight: 950;
}

.mp-checkout-final-json pre {
  max-height: 280px;
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  border-top: 1px solid #e6edf5;
  color: #344054;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.mp-checkout-final-json.is-loading {
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed #d0d5dd;
  border-radius: 18px;
  color: #667085;
  font-weight: 850;
}

.mp-checkout-final-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mp-checkout-final-actions .mp-checkout__button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 720px) {
  .mp-checkout-panel--review .mp-checkout-final-action,
  .mp-checkout-final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mp-checkout__button--final {
    width: 100%;
  }
}
