/* Ficha comercial pública: presentación aislada del flujo de cotización. */
#motoModal {
  --flyer-ink: #151619;
  --flyer-muted: #747781;
  --flyer-red: #ec101d;
  --flyer-green: #087c43;
  --flyer-gutter: 18px;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

#motoModal .moto-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--flyer-ink);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d9dadd transparent;
}

#motoModal .moto-sheet > .sheet-close {
  top: max(20px, env(safe-area-inset-top));
  right: 19px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #26272a;
  color: #fff;
  box-shadow: 0 0 0 3px #f4c5c8, 0 5px 15px #17191c12;
  font: 400 30px/1 Manrope, Arial, sans-serif;
}

#motoModal .moto-detail-heading {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 78px 6px var(--flyer-gutter);
  border: 0;
  background: #fff;
}

#motoModal .moto-detail-heading .detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--flyer-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.4;
  text-transform: uppercase;
}

#motoModal .moto-detail-heading .detail-meta span + span::before {
  margin-right: 6px;
  color: #777b85;
}

#motoModal .moto-detail-heading h2 {
  display: block;
  max-width: 100%;
  max-height: none;
  margin: 7px 0 0;
  overflow: visible;
  color: #0d0e10;
  font: 800 clamp(48px, 15vw, 72px)/.94 BarlowCondensed, Impact, sans-serif;
  letter-spacing: -.025em;
  text-shadow: none;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#motoModal .moto-detail-heading h2.is-long {
  font-size: clamp(38px, 10.4vw, 52px);
  line-height: .98;
}

#motoModal .moto-detail-stock {
  margin-top: 12px;
}

#motoModal .moto-detail-stock .moto-stock-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid #4e575f12;
  border-radius: 8px;
  background: #626971;
  color: #fff;
  box-shadow: 0 4px 11px #101c1310;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .015em;
  white-space: normal;
}

#motoModal .moto-detail-stock .moto-stock-badge.is-available {
  border-color: #0c8844;
  background: linear-gradient(135deg, #098849, #08703e);
  box-shadow: 0 4px 11px #087c431f;
}

#motoModal .moto-detail-stock .moto-stock-badge svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}

#motoModal .moto-detail-stock .moto-stock-badge::before {
  content: "";
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5v10l-9 5-9-5V7l9-5Zm-9 5 9 5 9-5M12 12v10M7.5 4.5l9 5'/%3E%3C/svg%3E") center / contain no-repeat;
}

#motoModal .moto-sheet .moto-detail-hero {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: clamp(214px, 31dvh, 288px);
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

#motoModal .moto-detail-media,
#motoModal .moto-carousel {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fff;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}

#motoModal .moto-carousel-stage {
  position: absolute;
  inset: 0 0 27px;
  display: grid;
  place-items: center;
  width: 100%;
  height: calc(100% - 27px);
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

#motoModal .moto-carousel-stage img,
#motoModal .moto-detail-media .moto-static-media > img {
  position: static !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 9px 10px 0 !important;
  object-fit: contain !important;
  object-position: center;
  transform: none;
  filter: drop-shadow(0 12px 9px #20242b15);
}

/* La presentación comercial conserva una sola foto y el encuadre aprobado. */
#motoModal .moto-detail-media .moto-static-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fff;
}

#motoModal .moto-detail-media .moto-static-media > img {
  box-sizing: border-box;
  padding: 9px 10px 27px !important;
}

#motoModal .moto-carousel-stage.is-video {
  background: #141518;
}

#motoModal .moto-carousel-stage video {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: contain;
  background: #141518;
  filter: none;
  box-shadow: none;
}

#motoModal .moto-carousel-arrow {
  top: calc(50% - 13px);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid #e8e9eb;
  border-radius: 50%;
  background: #fffffff2;
  color: #646a74;
  box-shadow: 0 3px 13px #252d3a15;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

#motoModal .moto-carousel-arrow.previous { left: 9px; }
#motoModal .moto-carousel-arrow.next { right: 9px; }
#motoModal .moto-carousel-arrow span { margin-top: -3px; font-size: 30px; }
#motoModal .moto-carousel-arrow:disabled { opacity: .35; cursor: default; }

#motoModal .moto-carousel-dots {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 2px;
  left: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-height: 27px;
  padding: 0;
}

#motoModal .moto-carousel-dots button {
  position: relative;
  width: 23px;
  height: 27px;
  min-width: 23px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

#motoModal .moto-carousel-dots button::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4d5d8;
  transition: background .16s ease, transform .16s ease;
}

#motoModal .moto-carousel-dots button.active::after,
#motoModal .moto-carousel-dots button[aria-current="true"]::after {
  background: var(--flyer-red);
  transform: scale(1.15);
}

#motoModal .moto-carousel-count { display: none; }

#motoModal .moto-detail-content {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 6px var(--flyer-gutter) 14px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #fff;
}

#motoModal .moto-detail-colors {
  flex: 0 0 auto;
  width: 100%;
  margin: 0 0 12px;
}

#motoModal .moto-detail-colors > span {
  margin: 0 0 6px;
  color: #676d76;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

#motoModal .moto-detail-colors > div { gap: 6px; padding: 2px 2px 4px; }
#motoModal .moto-detail-colors button { min-height: 38px; padding: 0 10px; font-size: 11px; }
#motoModal .moto-detail-colors button.active { box-shadow: 0 0 0 2px #ec101d12; }
#motoModal #motoWebStock { display: none; }

#motoModal .moto-commercial-card {
  position: relative;
  z-index: auto;
  bottom: auto;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 128px;
  margin: 6px 0 0;
  padding: 18px 15px;
  overflow: hidden;
  border: 1px solid #ffd9dd;
  border-radius: 17px;
  background: linear-gradient(125deg, #fff 0%, #fff9f9 65%, #fff4f5 100%);
  box-shadow: 0 5px 18px #db13200a;
}

#motoModal .moto-commercial-card::before {
  content: "";
  position: absolute;
  top: 8px;
  right: -44px;
  width: 170px;
  height: 84px;
  background: repeating-linear-gradient(132deg, #f6162410 0 26px, transparent 26px 43px);
  border-radius: 12px;
  pointer-events: none;
}

#motoModal .moto-commercial-price {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#motoModal #motoPriceLabel {
  display: block;
  margin: 0 0 6px;
  color: #717681;
  font: 750 10px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#motoModal #motoDetailPrice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  margin: 0;
  color: #111215;
  font: 800 clamp(36px, 11.25vw, 52px)/1 BarlowCondensed, Impact, sans-serif;
  letter-spacing: -.025em;
  white-space: nowrap;
}

#motoModal #motoDetailPrice .moto-price-previous {
  display: block;
  margin: -2px 0 10px;
  color: #80838c;
  font: 700 14px/1.1 Manrope, Arial, sans-serif;
  letter-spacing: -.015em;
  text-decoration-thickness: 1.5px;
}

#motoModal #motoDetailPrice .moto-price-special {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin: 0 0 5px;
  padding: 4px 9px 3px;
  border-radius: 7px;
  background: var(--flyer-red);
  color: #fff;
  font: 800 10px/1.15 Manrope, Arial, sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

#motoModal #motoDetailPrice .moto-price-current {
  display: block;
  margin: 0;
  color: #111215;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
}

#motoModal .moto-commercial-card.has-discount { min-height: 180px; }
#motoModal .moto-commercial-card.has-discount #motoDetailPrice .moto-price-current { color: var(--flyer-red); }

#motoModal #motoDetailPrice .moto-price-saving {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  min-height: 27px;
  margin: 8px 0 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: #eaf3e4;
  color: #08723e;
  font: 800 11px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

#motoModal #motoDetailPrice .moto-price-saving svg { flex: 0 0 15px; width: 15px; height: 15px; }

#motoModal .moto-commercial-card .moto-quote-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 104px;
  min-width: 104px;
  min-height: 58px;
  margin: 0;
  padding: 12px 10px;
  border: 1px solid #ff424b;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff1726, #ed0613);
  color: #fff;
  box-shadow: 0 10px 22px #e80b2029, inset 0 1px 0 #ffffff2b;
  cursor: pointer;
}

#motoModal .moto-commercial-card .moto-quote-cta span {
  color: #fff;
  font: 800 25px/1 BarlowCondensed, Impact, sans-serif;
  letter-spacing: .015em;
  text-shadow: none;
}

#motoModal .moto-commercial-card .moto-quote-cta::after {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

#motoModal .moto-commercial-card .moto-quote-cta:disabled { opacity: .45; cursor: default; }

#motoModal .moto-details-trigger {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  margin: 14px 0 0;
  padding: 13px 14px;
  border: 1px solid #f0f1f3;
  border-radius: 14px;
  background: #f5f5f7;
  color: #17191c;
  text-align: left;
  cursor: pointer;
}

#motoModal .moto-details-trigger > svg:first-child { flex: 0 0 25px; width: 25px; height: 29px; stroke-width: 1.65; }
#motoModal .moto-details-trigger > span { display: block; flex: 1; min-width: 0; }
#motoModal .moto-details-trigger strong { display: block; color: #15171a; font-size: 13px; font-weight: 800; line-height: 1.35; }
#motoModal .moto-details-trigger small { display: block; margin-top: 2px; color: #797d87; font-size: 10px; font-weight: 500; line-height: 1.45; }
#motoModal .moto-details-trigger > svg:last-child { flex: 0 0 17px; width: 17px; height: 17px; stroke-width: 2; }

#motoModal .moto-detail-trust {
  position: relative;
  z-index: 6;
  bottom: 0;
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  margin: 0 var(--flyer-gutter);
  padding: 14px 0 max(15px, env(safe-area-inset-bottom));
  border-top: 1px solid #ededf0;
  background: #fffffff5;
  backdrop-filter: blur(10px);
}

#motoModal .moto-trust-item {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 0 8px;
  color: #343945;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.45;
}

#motoModal .moto-trust-item:first-child { justify-content: flex-start; padding-left: 0; }
#motoModal .moto-trust-item:last-child { padding-right: 0; }
#motoModal .moto-trust-item + .moto-trust-item { border-left: 1px solid #dddfe4; }
#motoModal .moto-trust-item svg { flex: 0 0 24px; width: 24px; height: 27px; color: #202329; stroke-width: 1.7; }
#motoModal .moto-trust-item span { min-width: 0; }

#motoModal .moto-details-trigger svg,
#motoModal .moto-trust-item svg,
#motoModal .moto-detail-stock svg,
#motoModal .moto-price-saving svg {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#motoModal .moto-availability-notice { margin: 5px 0 10px; font-size: 12px; }

/* El detalle conserva el contexto de la ficha debajo de un sheet liviano. */
#motoModal .moto-details-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0;
  overflow: hidden;
}

#motoModal .moto-details-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #11131685;
  backdrop-filter: blur(2px);
}

#motoModal .moto-details-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: min(78dvh, 800px);
  min-height: 0;
  margin: 0;
  padding: 27px 22px 0;
  overflow: hidden;
  border: 1px solid #ffffffbc;
  border-bottom: 0;
  border-radius: 27px 27px 0 0;
  background: #fff;
  color: var(--flyer-ink);
  box-shadow: 0 -15px 65px #00000020;
  animation: motoFlyerDetailsIn .22s ease-out;
}

#motoModal .moto-details-dialog > header { flex: 0 0 auto; }

#motoModal .moto-details-dialog::before {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% - 16px);
  width: 32px;
  height: 4px;
  border-radius: 6px;
  background: #ccced3;
}

#motoModal .moto-details-dialog > h2,
#motoModal .moto-details-dialog > header h2 {
  margin: 9px 44px 18px 0;
  color: #111316;
  font: 800 23px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: -.04em;
  text-transform: none;
}

#motoModal .moto-details-dialog [data-close-moto-details],
#motoModal .moto-details-close {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  padding: 0 0 2px;
  border: 1px solid #f2f3f5;
  border-radius: 50%;
  background: #fafbfd;
  color: #15171b;
  box-shadow: 0 5px 18px #2024310a;
  font: 400 27px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
}

#motoModal .moto-details-body {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding-bottom: max(22px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d9dadd transparent;
  -webkit-overflow-scrolling: touch;
}

#motoModal .moto-details-body #motoDetailSpeech {
  margin: 0 !important;
  color: #646978 !important;
  font: 500 14px/1.65 Manrope, Arial, sans-serif !important;
  letter-spacing: -.01em;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

#motoModal .moto-details-media {
  --details-media-height: clamp(120px, 42dvh, min(360px, calc(78dvh - 130px)));
  display: block;
  min-width: 0;
  width: 100%;
  height: auto;
  margin: 20px auto 0;
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #f8f8f8;
}

#motoModal .moto-details-media[hidden] { display: none; }

/* El carrusel del popup no hereda el alto ni la posición del hero comercial. */
#motoModal .moto-details-media .moto-carousel {
  position: relative;
  display: grid;
  grid-template-rows: var(--details-media-height) auto;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  background: #f8f8f8;
}

#motoModal .moto-details-media .moto-carousel-stage {
  position: relative;
  inset: auto;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--details-media-height);
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f8f8f8;
  pointer-events: auto;
}

#motoModal .moto-details-media .moto-carousel-stage img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px !important;
  object-fit: contain !important;
  object-position: center;
  aspect-ratio: auto;
  filter: none;
}

#motoModal .moto-details-media .moto-carousel-stage.is-video { background: #111214; }

#motoModal .moto-details-media .moto-carousel-stage video {
  position: static;
  inset: auto;
  display: block;
  flex: 0 1 auto;
  align-self: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #111214;
  transform: none;
  filter: none;
  box-shadow: none;
  pointer-events: auto;
}

#motoModal .moto-details-media .moto-carousel-arrow {
  position: absolute;
  top: calc(var(--details-media-height) / 2);
  bottom: auto;
  transform: translateY(-50%);
}

#motoModal .moto-details-media .moto-carousel-dots {
  position: relative;
  inset: auto;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 32px;
  margin: 0;
  padding: 3px 8px;
  background: #fff;
}

#motoModal button:focus-visible { outline: 3px solid #f05460; outline-offset: 3px; }

@keyframes motoFlyerDetailsIn {
  from { opacity: .7; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 430px) and (max-width: 767px) {
  #motoModal { --flyer-gutter: 22px; }
  #motoModal .moto-sheet .moto-detail-hero { height: clamp(240px, 32dvh, 315px); }
  #motoModal .moto-commercial-card { padding: 20px 18px; }
  #motoModal #motoDetailPrice { font-size: 51px; }
  #motoModal .moto-commercial-card .moto-quote-cta { width: 117px; min-width: 117px; min-height: 62px; }
  #motoModal .moto-trust-item { font-size: 10px; gap: 8px; }
  #motoModal .moto-trust-item svg { width: 27px; flex-basis: 27px; }
}

@media (max-width: 359px) {
  #motoModal { --flyer-gutter: 13px; }
  #motoModal .moto-detail-heading { padding-right: 70px; }
  #motoModal .moto-commercial-card { gap: 7px; padding-right: 11px; padding-left: 12px; }
  #motoModal #motoDetailPrice { font-size: 35px; }
  #motoModal .moto-commercial-card .moto-quote-cta { width: 90px; min-width: 90px; min-height: 54px; gap: 5px; }
  #motoModal .moto-commercial-card .moto-quote-cta span { font-size: 23px; }
  #motoModal .moto-trust-item { gap: 5px; padding-right: 5px; padding-left: 5px; font-size: 8px; }
  #motoModal .moto-trust-item svg { width: 22px; flex-basis: 22px; }
}

@media (max-width: 767px) and (max-height: 740px) {
  #motoModal .moto-detail-heading { padding-top: max(18px, env(safe-area-inset-top)); }
  #motoModal .moto-detail-heading h2 { font-size: clamp(45px, 14vw, 60px); }
  #motoModal .moto-detail-heading h2.is-long { font-size: clamp(36px, 10vw, 46px); }
  #motoModal .moto-detail-stock { margin-top: 10px; }
  #motoModal .moto-sheet .moto-detail-hero { height: 190px; }
  #motoModal .moto-commercial-card.has-discount { min-height: 174px; }
  #motoModal .moto-detail-trust { padding-top: 12px; }
}

@media (min-width: 768px) {
  #motoModal { padding: 24px; }
  #motoModal .moto-sheet {
    width: min(680px, calc(100vw - 48px));
    height: min(920px, calc(100dvh - 48px));
    min-height: 0;
    max-height: calc(100dvh - 48px);
    border-radius: 27px;
  }
  #motoModal .moto-detail-heading { padding: 27px 86px 8px 28px; }
  #motoModal .moto-detail-heading h2 { font-size: 65px; }
  #motoModal .moto-detail-heading h2.is-long { font-size: 48px; }
  #motoModal .moto-sheet .moto-detail-hero { height: clamp(280px, 36dvh, 375px); }
  #motoModal .moto-detail-content { padding: 10px 28px 14px; }
  #motoModal .moto-commercial-card { padding: 22px; }
  #motoModal #motoDetailPrice { font-size: 56px; }
  #motoModal .moto-commercial-card .moto-quote-cta { width: 150px; min-width: 150px; min-height: 66px; }
  #motoModal .moto-commercial-card .moto-quote-cta span { font-size: 31px; }
  #motoModal .moto-detail-trust { margin: 0 28px; padding-top: 18px; padding-bottom: 22px; }
  #motoModal .moto-trust-item { font-size: 11px; }
  #motoModal .moto-trust-item svg { width: 28px; flex-basis: 28px; height: 30px; }
  #motoModal .moto-details-overlay { align-items: center; padding: 24px; }
  #motoModal .moto-details-dialog { max-height: calc(100dvh - 72px); border-radius: 24px; }
}

@media (min-width: 1100px) {
  #motoModal { padding: 32px; }
  #motoModal .moto-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1160px, calc(100vw - 80px));
    height: min(760px, calc(100dvh - 64px));
    max-height: calc(100dvh - 64px);
    min-height: 0;
    overflow: hidden;
    border-radius: 30px;
  }
  #motoModal .moto-detail-heading { grid-column: 1 / -1; grid-row: 1; padding: 27px 88px 14px 30px; }
  #motoModal .moto-detail-heading h2 { margin-top: 6px; font-size: 62px; }
  #motoModal .moto-detail-heading h2.is-long { font-size: 50px; }
  #motoModal .moto-detail-stock { margin-top: 12px; }
  #motoModal .moto-sheet .moto-detail-hero { grid-column: 1; grid-row: 2 / 4; height: 100%; min-height: 0; }
  #motoModal .moto-carousel-stage { bottom: 40px; height: calc(100% - 40px); }
  #motoModal .moto-carousel-stage img { padding: 10px 14px 18px !important; }
  #motoModal .moto-detail-media .moto-static-media > img { padding: 10px 14px 58px !important; }
  #motoModal .moto-carousel-dots { bottom: 9px; }
  #motoModal .moto-detail-content { grid-column: 2; grid-row: 2; height: 100%; min-height: 0; padding: 17px 26px 14px; overflow-y: auto; }
  #motoModal .moto-detail-colors { margin-bottom: 16px; }
  #motoModal .moto-commercial-card { min-height: 160px; margin-top: 0; padding: 20px 17px; }
  #motoModal .moto-commercial-card.has-discount { min-height: 218px; }
  #motoModal #motoDetailPrice { font-size: clamp(40px, 3.8vw, 49px); }
  #motoModal .moto-commercial-card .moto-quote-cta { width: 114px; min-width: 114px; min-height: 62px; }
  #motoModal .moto-commercial-card .moto-quote-cta span { font-size: 27px; }
  #motoModal .moto-details-trigger { margin-top: 17px; min-height: 76px; }
  #motoModal .moto-detail-trust { grid-column: 2; grid-row: 3; margin: 0 26px; padding-top: 18px; padding-bottom: 23px; }
  #motoModal .moto-trust-item { gap: 6px; padding-right: 7px; padding-left: 7px; font-size: 9px; }
  #motoModal .moto-trust-item svg { width: 25px; height: 28px; flex-basis: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  #motoModal .moto-details-dialog { animation: none; }
  #motoModal .moto-carousel-stage { animation: none; }
  #motoModal .moto-carousel-dots button::after { transition: none; }
}

/* El color elegido permanece explícito durante los pasos de la cotización. */
#motoQuoteModal .moto-quote-selected-color{display:inline-flex;align-items:center;flex:0 1 auto;min-width:0;max-width:180px;margin-left:auto;padding:6px 10px;border:1px solid #e6e7eb;border-radius:9px;background:#fff;color:#444a55;font:650 11px/1.3 Manrope,Arial,sans-serif;overflow-wrap:anywhere}
#motoQuoteModal .moto-quote-selected-color[hidden]{display:none}
