/*
 * MotoBooking · Valsebike Moto Rent
 * Identidad: negro + amarillo Valsebike (#FFBB00), Roboto Condensed / Roboto
 * Mobile-first
 */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --mb-yellow: #ffed00;
  --mb-yellow-strong: #f0d800;
  --mb-yellow-text: #8a7a00;
  --mb-yellow-soft: #fffbd6;
  --mb-black: #0b0b0c;
  --mb-ink: #16171a;
  --mb-ink-2: #2a2c31;
  --mb-text: #1d1e22;
  --mb-muted: #6b6f78;
  --mb-line: #e6e6e3;
  --mb-bg: #f5f5f2;
  --mb-white: #ffffff;
  --mb-green: #1f9d55;
  --mb-green-soft: #e6f6ec;
  --mb-red: #d93025;
  --mb-red-soft: #fdecea;
  --mb-orange-soft: #fff1e0;

  --mb-font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mb-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --mb-radius-sm: 8px;
  --mb-radius: 14px;
  --mb-radius-lg: 22px;
  --mb-shadow-sm: 0 1px 2px rgba(16, 17, 20, .06), 0 1px 3px rgba(16, 17, 20, .05);
  --mb-shadow: 0 6px 24px rgba(16, 17, 20, .08);
  --mb-shadow-lg: 0 18px 48px rgba(16, 17, 20, .16);
  --mb-ease: cubic-bezier(.2, .7, .2, 1);
  --mb-shell: 1240px;

  /* Compatibilidad con la versión anterior */
  --primary-color: var(--mb-black);
}

/* ==========================================================================
   Base del portal (anula estilos globales del tema)
   ========================================================================== */
body.mb-portal {
  margin: 0;
  background: var(--mb-bg);
  color: var(--mb-text);
  font-family: var(--mb-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mb-portal *,
.mb-portal *::before,
.mb-portal *::after,
.motobooking-root *,
.motobooking-root *::before,
.motobooking-root *::after {
  box-sizing: border-box;
}

.mb-portal img { max-width: 100%; height: auto; display: block; }
.mb-portal a { color: inherit; }
.mb-portal h1, .mb-portal h2, .mb-portal h3, .mb-portal h4 {
  font-family: var(--mb-font-head);
  color: var(--mb-ink);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.01em;
}
.mb-portal p { margin: 0; }

.mb-icon { flex: none; vertical-align: middle; }

.mb-shell {
  width: 100%;
  max-width: var(--mb-shell);
  margin: 0 auto;
  padding: 0 20px;
}
.mb-shell-narrow { max-width: 860px; }

.mb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mb-font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mb-yellow-text);
  margin: 0 0 10px;
}
.mb-eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--mb-yellow);
}

.mb-muted { color: var(--mb-muted); font-size: .95rem; }

.mb-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--mb-yellow);
  color: var(--mb-black);
  padding: 10px 16px;
  font-weight: 700;
}
.mb-skip-link:focus { left: 12px; top: 12px; }

:where(.mb-portal, .motobooking-root) :focus-visible {
  outline: 3px solid var(--mb-yellow);
  outline-offset: 2px;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.mb-btn,
.motobooking-root .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--mb-font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--mb-ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.mb-btn:active,
.motobooking-root .btn:active { transform: translateY(1px); }

.mb-btn-primary,
.motobooking-root .btn-primary {
  background: var(--mb-yellow);
  color: var(--mb-black);
  box-shadow: 0 6px 18px rgba(255, 187, 0, .35);
}
.mb-btn-primary:hover,
.motobooking-root .btn-primary:hover:not(:disabled) {
  background: var(--mb-yellow-strong);
  color: var(--mb-black);
  transform: translateY(-1px);
}
.motobooking-root .btn-primary:disabled { opacity: .6; cursor: progress; box-shadow: none; }

.motobooking-root .btn-secondary {
  background: var(--mb-white);
  color: var(--mb-ink);
  border-color: var(--mb-line);
}
.motobooking-root .btn-secondary:hover { border-color: var(--mb-ink); color: var(--mb-ink); }

.mb-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px);
}
.mb-btn-ghost:hover { background: #fff; color: var(--mb-black); }

.mb-btn-dark { background: var(--mb-black); color: #fff; }
.mb-btn-dark:hover { background: var(--mb-ink-2); color: #fff; }
.mb-btn-outline-dark { background: transparent; color: var(--mb-black); border-color: var(--mb-black); }
.mb-btn-outline-dark:hover { background: var(--mb-black); color: #fff; }

.mb-btn-lg,
.motobooking-root .btn-large { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.motobooking-root .btn-full { width: 100%; }
.motobooking-root .btn-back { min-height: 40px; padding: 0 16px; font-size: .85rem; }

.motobooking-root .btn-spinner,
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: mb-spin .8s linear infinite;
  display: inline-block;
}

/* ==========================================================================
   Cabecera
   ========================================================================== */
.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.admin-bar .mb-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mb-site-header { top: 0; } }

.mb-site-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.mb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.mb-brand img { width: 150px; height: auto; }
@media (max-width: 400px) { .mb-brand-tag { display: none; } .mb-brand img { width: 130px; } }
.mb-brand-tag {
  font-family: var(--mb-font-head);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mb-black);
  background: var(--mb-yellow);
  padding: 4px 8px;
  border-radius: 4px;
}

.mb-site-nav {
  display: none;
  gap: 4px;
}
.mb-site-nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-family: var(--mb-font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.mb-site-nav a:hover { color: var(--mb-yellow); background: rgba(255, 255, 255, .05); }

.mb-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mb-black);
  background: var(--mb-yellow);
  text-decoration: none;
  font-family: var(--mb-font-head);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.mb-header-phone span { display: none; }
.mb-header-phone:hover { background: var(--mb-yellow-strong); }

.mb-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.mb-nav-burger {
  order: 3;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: inline-flex;
}

@media (max-width: 959px) {
  .mb-nav-toggle:checked ~ .mb-site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--mb-black);
    padding: 8px 20px 20px;
    border-bottom: 3px solid var(--mb-yellow);
  }
}

@media (min-width: 640px) {
  .mb-header-phone span { display: inline; }
}
@media (min-width: 960px) {
  .mb-nav-burger { display: none; }
  .mb-site-nav { display: flex; }
  .mb-brand img { width: 180px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.mb-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .72) 45%, rgba(11, 11, 12, .25) 100%),
    var(--mb-hero-image) center 60% / cover no-repeat,
    var(--mb-black);
  overflow: hidden;
}
.mb-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--mb-yellow) 0 30%, transparent 30%);
}
.mb-hero-inner {
  position: relative;
  padding-top: 72px;
  padding-bottom: 88px;
  max-width: var(--mb-shell);
}
.mb-hero .mb-eyebrow { color: var(--mb-yellow); }
.mb-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff !important;
  max-width: 14ch;
  letter-spacing: -.01em;
}
.mb-hero-title span { display: block; color: var(--mb-yellow); }
.mb-hero-lead {
  margin-top: 18px !important;
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .86);
}
.mb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.mb-hero-trust {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 28px;
}
.mb-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .9);
}
.mb-hero-trust .mb-icon { color: var(--mb-yellow); }
@media (min-width: 900px) {
  .mb-hero-inner { padding-top: 110px; padding-bottom: 130px; }
  .mb-hero-trust { grid-template-columns: repeat(4, max-content); }
}

/* ==========================================================================
   Secciones del portal
   ========================================================================== */
.mb-main { display: block; }
.mb-app-section { scroll-margin-top: 90px; }

.mb-section { padding: 72px 0; }
.mb-section-head { margin-bottom: 36px; }
.mb-section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
}
#como-funciona, #preguntas-frecuentes { scroll-margin-top: 80px; }

.mb-steps { background: var(--mb-white); }
.mb-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  counter-reset: mb-step;
}
.mb-step {
  position: relative;
  padding: 28px;
  border-radius: var(--mb-radius);
  background: var(--mb-bg);
  border: 1px solid var(--mb-line);
  counter-increment: mb-step;
}
.mb-step::after {
  content: '0' counter(mb-step);
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--mb-font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(11, 11, 12, .07);
}
.mb-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--mb-black);
  color: var(--mb-yellow);
  margin-bottom: 18px;
}
.mb-step h3 { font-size: 1.35rem; margin-bottom: 8px; text-transform: uppercase; }
.mb-step p { color: var(--mb-muted); }
@media (min-width: 800px) { .mb-steps-grid { grid-template-columns: repeat(3, 1fr); } }

.mb-included-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.mb-included-media img {
  width: 100%;
  border-radius: var(--mb-radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--mb-shadow-lg);
}
.mb-checklist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.mb-checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.mb-checklist .mb-icon {
  color: var(--mb-black);
  background: var(--mb-yellow);
  border-radius: 50%;
  padding: 3px;
  width: 24px;
  height: 24px;
}
@media (min-width: 900px) { .mb-included-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.mb-faq { background: var(--mb-white); }
.mb-faq-list { display: grid; gap: 12px; }
.mb-faq-item {
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius);
  background: var(--mb-bg);
  transition: border-color .2s, background .2s;
}
.mb-faq-item[open] { background: var(--mb-white); border-color: var(--mb-ink); }
.mb-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--mb-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mb-ink);
  position: relative;
}
.mb-faq-item summary::-webkit-details-marker { display: none; }
.mb-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mb-yellow);
  color: var(--mb-black);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .25s var(--mb-ease);
}
.mb-faq-item[open] summary::after { content: '–'; }
.mb-faq-item p { padding: 0 22px 22px; color: var(--mb-muted); }

.mb-cta-band { background: var(--mb-yellow); padding: 48px 0; }
.mb-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
.mb-cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; font-weight: 800; }
.mb-cta-band p { color: rgba(11, 11, 12, .75); margin-top: 6px; }
.mb-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .mb-cta-inner { flex-direction: row; align-items: center; } }

/* ==========================================================================
   Pie
   ========================================================================== */
.mb-site-footer { background: var(--mb-black); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.mb-footer-grid {
  display: grid;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.mb-footer-brand img { width: 180px; margin-bottom: 16px; }
.mb-footer-brand p { max-width: 36ch; }
.mb-site-footer h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.mb-footer-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px !important; }
.mb-footer-line .mb-icon { color: var(--mb-yellow); margin-top: 3px; }
.mb-site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.mb-site-footer a:hover { color: var(--mb-yellow); }
.mb-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mb-social { display: flex; gap: 10px; margin-top: 20px; }
.mb-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s, color .2s;
}
.mb-social a:hover { background: var(--mb-yellow); color: var(--mb-black); }
.mb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}
@media (min-width: 800px) { .mb-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ==========================================================================
   Contenedor de la app
   ========================================================================== */
.motobooking-root {
  font-family: var(--mb-font-body);
  color: var(--mb-text);
  line-height: 1.55;
}
.motobooking-root h1,
.motobooking-root h2,
.motobooking-root h3 {
  font-family: var(--mb-font-head);
  color: var(--mb-ink);
  line-height: 1.15;
  margin: 0;
}
.motobooking-root p { margin: 0; }
.motobooking-root img { max-width: 100%; display: block; }
.motobooking-root a { color: inherit; }
.motobooking-root button,
.motobooking-root input,
.motobooking-root select { font: inherit; }

.motobooking-app { padding: 40px 0 72px; overflow-x: clip; }
.moto-detail-sidebar, .moto-info, .booking-form, .moto-gallery { min-width: 0; }
.motobooking-container {
  max-width: var(--mb-shell);
  margin: 0 auto;
  padding: 0 20px;
}
.mt-2 { margin-top: 16px; }

/* Arranque / contenido SSR (antes de React) */
.mb-boot,
.mb-ssr {
  max-width: var(--mb-shell);
  margin: 0 auto;
  padding: 48px 20px;
}
.mb-boot { text-align: center; color: var(--mb-muted); }
.mb-boot-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid var(--mb-line);
  border-top-color: var(--mb-yellow);
  border-radius: 50%;
  animation: mb-spin 1s linear infinite;
  margin-bottom: 12px;
}
.mb-ssr h1 { font-size: 2.2rem; margin: 12px 0 20px; text-transform: uppercase; }
.mb-ssr h2 { font-size: 1.8rem; margin-bottom: 16px; text-transform: uppercase; }
.mb-ssr img { max-width: 560px; border-radius: var(--mb-radius); margin-bottom: 20px; }
.mb-ssr ul { padding-left: 20px; }
.mb-ssr a { color: var(--mb-ink); font-weight: 600; }
.mb-ssr-loading { color: var(--mb-muted); margin-top: 16px; }
.mb-breadcrumbs { font-size: .9rem; color: var(--mb-muted); display: flex; gap: 8px; }

/* Barra de pasos */
.mb-steps-bar {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mb-steps-bar-item {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  color: var(--mb-muted);
  font-family: var(--mb-font-head);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.mb-steps-bar-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--mb-bg);
  color: var(--mb-muted);
  font-size: .85rem;
  font-weight: 700;
}
.mb-steps-bar-item.is-done .mb-steps-bar-dot { background: var(--mb-ink); color: var(--mb-yellow); }
.mb-steps-bar-item.is-current { border-color: var(--mb-black); background: var(--mb-black); color: #fff; }
.mb-steps-bar-item.is-current .mb-steps-bar-dot { background: var(--mb-yellow); color: var(--mb-black); }
@media (max-width: 639px) {
  .mb-steps-bar-item:not(.is-current) .mb-steps-bar-label { display: none; }
  .mb-steps-bar-item { flex: 0 0 auto; }
}

/* ==========================================================================
   Catálogo
   ========================================================================== */
.mb-catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.mb-catalog-title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; text-transform: uppercase; }
.mb-catalog-count { color: var(--mb-muted); }
.mb-catalog-count strong { color: var(--mb-ink); font-size: 1.1rem; }

.filters-container {
  position: relative;
  background: var(--mb-white);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
  padding: 20px;
  margin-bottom: 32px;
  border-top: 4px solid var(--mb-yellow);
}
.filters-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .filters-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .filters-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filter-label,
.motobooking-root .form-label {
  font-family: var(--mb-font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mb-muted);
}
.filter-control { position: relative; }
.filter-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mb-muted);
  pointer-events: none;
}
.motobooking-root .filter-input,
.motobooking-root .filter-select,
.motobooking-root .form-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--mb-line);
  border-radius: 12px;
  background: var(--mb-white);
  color: var(--mb-ink);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.motobooking-root .filter-input,
.motobooking-root .filter-select { padding-left: 40px; background-color: var(--mb-bg); border-color: transparent; }
.motobooking-root select.filter-select,
.motobooking-root select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6f78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.motobooking-root .filter-input:focus,
.motobooking-root .filter-select:focus,
.motobooking-root .form-input:focus {
  outline: none;
  border-color: var(--mb-ink);
  box-shadow: 0 0 0 4px rgba(255, 187, 0, .35);
  background-color: var(--mb-white);
}
.motobooking-root .form-input.error { border-color: var(--mb-red); background-color: var(--mb-red-soft); }

.filters-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--mb-ink);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.motos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 640px) { .motos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .motos-grid { grid-template-columns: repeat(3, 1fr); } }

.moto-card {
  display: flex;
  flex-direction: column;
  background: var(--mb-white);
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  box-shadow: var(--mb-shadow-sm);
  border: 1px solid var(--mb-line);
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  transition: transform .3s var(--mb-ease), box-shadow .3s var(--mb-ease), border-color .3s;
}
.moto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mb-shadow-lg);
  border-color: transparent;
}
.moto-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f2f2ef, #e4e4e0);
  overflow: hidden;
}
.moto-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--mb-ease);
}
.moto-card:hover .moto-card-image img { transform: scale(1.05); }
.moto-card-type {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--mb-black);
  color: var(--mb-yellow);
  font-family: var(--mb-font-head);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
}
.moto-card-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .95);
  color: var(--mb-green);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}
.moto-card-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.moto-card-badge.unavailable { color: var(--mb-red); }

.moto-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
  flex: 1;
}
.moto-card-brand {
  font-family: var(--mb-font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mb-yellow-text);
}
.motobooking-root .moto-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
}
.moto-card-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.moto-card-specs span {
  background: var(--mb-bg);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: .82rem;
  color: var(--mb-muted);
}
.moto-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--mb-line);
}
.moto-card-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.moto-card-price small { width: 100%; color: var(--mb-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.moto-card-price strong { font-family: var(--mb-font-head); font-size: 1.9rem; font-weight: 800; color: var(--mb-ink); line-height: 1; }
.moto-card-price-unit { color: var(--mb-muted); font-size: .9rem; }
.moto-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mb-black);
  color: var(--mb-yellow);
  font-family: var(--mb-font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: .9rem;
  transition: background .2s, color .2s;
}
.moto-card:hover .moto-card-cta { background: var(--mb-yellow); color: var(--mb-black); }

.fade-in { animation: mb-fade-in .45s var(--mb-ease) both; }

/* Estados */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 16px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--mb-line);
  border-top-color: var(--mb-yellow);
  border-radius: 50%;
  animation: mb-spin 1s linear infinite;
}
.loading-label { color: var(--mb-muted); font-size: .95rem; }

.skeleton-card {
  background: var(--mb-white);
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mb-line);
}
.skeleton {
  background: linear-gradient(90deg, #ececea 25%, #f6f6f4 50%, #ececea 75%);
  background-size: 200% 100%;
  animation: mb-shimmer 1.4s infinite;
  border-radius: 6px;
}
.skeleton-image { aspect-ratio: 4 / 3; border-radius: 0; }
.skeleton-body { padding: 20px; display: grid; gap: 10px; }
.skeleton-line { height: 14px; }
.skeleton-line.short { width: 30%; }
.skeleton-line.medium { width: 60%; }

.mb-empty,
.mb-state-card {
  text-align: center;
  background: var(--mb-white);
  border: 1px dashed var(--mb-line);
  border-radius: var(--mb-radius-lg);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--mb-muted);
  max-width: 640px;
  margin: 0 auto;
}
.mb-empty .mb-icon { color: var(--mb-yellow-text); }
.mb-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mb-yellow-soft);
  color: var(--mb-ink);
}
.mb-state-card.is-error .mb-state-icon { background: var(--mb-red-soft); color: var(--mb-red); }
.mb-state-help a { color: var(--mb-ink); font-weight: 700; }

.motobooking-root .alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: .95rem;
}
.motobooking-root .alert-error { background: var(--mb-red-soft); color: #8c1d16; border: 1px solid #f6c8c4; }

/* ==========================================================================
   Ficha de moto
   ========================================================================== */
.motobooking-root .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--mb-muted);
  margin-bottom: 20px;
}
.motobooking-root .breadcrumbs a { color: var(--mb-ink); font-weight: 600; text-decoration: none; }
.motobooking-root .breadcrumbs a:hover { color: var(--mb-yellow-text); }
.breadcrumb-separator { color: #b8bac0; }

.moto-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (min-width: 1024px) {
  .moto-detail-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; }
}

.moto-detail { min-width: 0; }

.moto-gallery { margin-bottom: 28px; }
.moto-gallery-main {
  position: relative;
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #f2f2ef, #e4e4e0);
  aspect-ratio: 4 / 3;
  box-shadow: var(--mb-shadow);
}
.moto-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--mb-ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--mb-shadow-sm);
}
.gallery-arrow:hover { background: var(--mb-yellow); }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(11, 11, 12, .75);
  color: #fff;
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 999px;
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumb {
  flex: 0 0 84px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--mb-bg);
  opacity: .7;
  transition: opacity .2s, border-color .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active,
.gallery-thumb:hover { opacity: 1; border-color: var(--mb-yellow); }

.moto-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.moto-header-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.moto-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mb-font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  color: var(--mb-ink);
}
.moto-tag-brand { background: var(--mb-black); color: var(--mb-yellow); border-color: var(--mb-black); }
.moto-tag.is-on { color: var(--mb-green); background: var(--mb-green-soft); border-color: transparent; }
.moto-tag.is-off { color: var(--mb-red); background: var(--mb-red-soft); border-color: transparent; }
.motobooking-root .moto-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
}
.moto-price-lead { margin-top: 8px !important; color: var(--mb-muted); font-size: 1.05rem; }
.moto-price-lead strong { font-family: var(--mb-font-head); font-size: 1.6rem; color: var(--mb-ink); }
.moto-description { font-size: 1.05rem; color: #44474f; margin-bottom: 28px !important; max-width: 70ch; }

.motobooking-root .moto-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.motobooking-root .moto-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--mb-yellow);
  border-radius: 2px;
}

.moto-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .moto-specs-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius);
}
.spec-icon {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mb-yellow-soft);
  color: var(--mb-ink);
}
.spec-label { font-size: .78rem; color: var(--mb-muted); text-transform: uppercase; letter-spacing: .08em; }
.spec-value { font-family: var(--mb-font-head); font-size: 1.15rem; color: var(--mb-ink); }

.moto-included { margin-bottom: 32px; }
.moto-included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.moto-included-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  font-weight: 500;
}
.moto-included-list .mb-icon { color: var(--mb-green); }

.moto-rates { margin-bottom: 12px; }
.moto-rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .moto-rates-grid { grid-template-columns: repeat(4, 1fr); } }
.moto-rate {
  padding: 16px;
  border-radius: var(--mb-radius);
  background: var(--mb-black);
  color: rgba(255, 255, 255, .7);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.moto-rate span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.moto-rate strong { font-family: var(--mb-font-head); font-size: 1.6rem; color: var(--mb-yellow); }
.moto-rates-note { font-size: .85rem; color: var(--mb-muted); margin-top: 10px !important; }

/* Lateral de reserva */
.moto-detail-sidebar {
  background: var(--mb-white);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
  border: 1px solid var(--mb-line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1024px) {
  .moto-detail-sidebar { position: sticky; top: 92px; }
  .admin-bar .moto-detail-sidebar { top: 124px; }
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -22px -22px 0;
  padding: 18px 22px;
  background: var(--mb-black);
  border-radius: var(--mb-radius-lg) var(--mb-radius-lg) 0 0;
}
.motobooking-root .sidebar-head .sidebar-title { color: #fff; font-size: 1.3rem; text-transform: uppercase; font-weight: 800; }
.sidebar-price { font-family: var(--mb-font-head); color: var(--mb-yellow); font-size: 1.5rem; font-weight: 800; }
.sidebar-price small { font-size: .85rem; color: rgba(255, 255, 255, .6); font-weight: 400; margin-left: 2px; }
.motobooking-root .sidebar-title { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; }
.motobooking-root .sidebar-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sidebar-subtitle .mb-icon { color: var(--mb-yellow-text); }
.sidebar-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  background: var(--mb-yellow-soft);
  font-size: .92rem;
  color: #5c4a00;
}
.sidebar-trust {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--mb-line);
  display: grid;
  gap: 8px;
  font-size: .88rem;
  color: var(--mb-muted);
}
.sidebar-trust li { display: flex; align-items: center; gap: 8px; }
.sidebar-trust .mb-icon { color: var(--mb-green); }
.sidebar-trust a { color: var(--mb-ink); font-weight: 700; text-decoration: none; }

/* Calendario */
.mini-calendar {
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius);
  padding: 14px;
  transition: opacity .2s;
}
.mini-calendar.is-loading { opacity: .5; pointer-events: none; }
.mini-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mini-cal-title {
  font-family: var(--mb-font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mb-ink);
}
.mini-cal-title::first-letter { text-transform: uppercase; }
.mini-cal-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--mb-line);
  background: var(--mb-white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--mb-ink);
}
.mini-cal-nav:hover:not(:disabled) { background: var(--mb-yellow); border-color: var(--mb-yellow); }
.mini-cal-nav:disabled { opacity: .3; cursor: default; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mini-cal-weekday {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--mb-muted);
  padding: 4px 0;
}
.mini-cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: .88rem;
  border-radius: 9px;
  color: var(--mb-ink);
  user-select: none;
  position: relative;
}
.mini-cal-day.empty { visibility: hidden; }
.mini-cal-day.past { color: #c4c6cb; }
.mini-cal-day.booked {
  background: repeating-linear-gradient(-45deg, #fbe3e1, #fbe3e1 4px, #f7d3d0 4px, #f7d3d0 8px);
  color: #b3261e;
  text-decoration: line-through;
}
.mini-cal-day.today { box-shadow: inset 0 0 0 1.5px var(--mb-ink); font-weight: 700; }
.mini-cal-day.selectable { cursor: pointer; transition: background .15s; }
.mini-cal-day.selectable:hover { background: var(--mb-yellow-soft); }
.mini-cal-day.in-range { background: var(--mb-yellow-soft); border-radius: 0; }
.mini-cal-day.range-start,
.mini-cal-day.range-end {
  background: var(--mb-black);
  color: var(--mb-yellow);
  font-weight: 700;
}
.mini-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: .8rem;
  color: var(--mb-muted);
}
.mini-cal-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.mini-cal-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: repeating-linear-gradient(-45deg, #fbe3e1, #fbe3e1 3px, #f7d3d0 3px, #f7d3d0 6px);
  display: inline-block;
}
.mini-cal-swatch.selected { background: var(--mb-black); }
.mini-cal-hint { font-size: .82rem; color: var(--mb-muted); margin-top: 6px !important; }

/* Fechas */
.date-selector-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
.motobooking-root .form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.motobooking-root .date-selector .form-input { min-height: 44px; font-size: .95rem; padding: 8px 12px; }
.motobooking-root .date-selector select.form-input { padding-right: 30px; background-position: right 10px center; }

/* Extras */
.extras-header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.extras-hint { font-size: .8rem; color: var(--mb-muted); }
.extras-grid { display: grid; gap: 8px; }
.extra-item {
  display: grid;
  grid-template-columns: 1fr 130px;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  border: 1.5px solid var(--mb-line);
  border-radius: 12px;
  transition: border-color .2s, background .2s;
}
.extra-item.is-selected { border-color: var(--mb-black); background: var(--mb-yellow-soft); }
.extra-name { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--mb-ink); }
.extra-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #c9cbd0;
  display: grid;
  place-items: center;
  background: var(--mb-white);
}
.extra-item.is-selected .extra-check { background: var(--mb-black); border-color: var(--mb-black); color: var(--mb-yellow); }
.motobooking-root .extra-size { min-height: 38px; padding: 6px 28px 6px 10px; font-size: .88rem; background-position: right 10px center; }

/* Resumen de disponibilidad */
.moto-detail-sidebar .booking-summary {
  border-radius: var(--mb-radius);
  background: var(--mb-bg);
  padding: 16px;
  display: grid;
  gap: 8px;
}
.moto-detail-sidebar .booking-summary.is-checking { padding: 0; }
.booking-summary-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mb-green);
  font-weight: 700;
  margin-bottom: 4px !important;
}
.moto-detail-sidebar .summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: #44474f; }
.summary-row-extra { font-size: .85rem !important; color: var(--mb-muted) !important; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  margin: 4px 0 8px;
  border-top: 1px solid var(--mb-line);
  font-weight: 600;
}
.summary-total strong { font-family: var(--mb-font-head); font-size: 1.8rem; color: var(--mb-ink); }

/* ==========================================================================
   Formulario de reserva
   ========================================================================== */
.motobooking-root .page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-bottom: 28px;
}
.motobooking-root .page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; text-transform: uppercase; }
.page-subtitle { color: var(--mb-muted); margin-top: 4px !important; }

.booking-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (min-width: 1024px) {
  .booking-form-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; }
}
.booking-form { display: grid; gap: 20px; }
.motobooking-root .form-section {
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius-lg);
  background: var(--mb-white);
  padding: 22px;
  margin: 0;
  min-width: 0;
}
.motobooking-root .form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mb-font-head);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--mb-ink);
  padding: 0;
  margin-bottom: 16px;
  float: left;
  width: 100%;
}
.motobooking-root .form-section-title + * { clear: both; }
.form-section-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mb-black);
  color: var(--mb-yellow);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-group-full { grid-column: 1 / -1; }
}
.motobooking-root .required { color: var(--mb-red); }
.error-text { color: var(--mb-red); font-size: .82rem; font-weight: 500; }

.form-terms {
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius);
  padding: 16px 18px;
}
.form-terms.has-error { border-color: var(--mb-red); background: var(--mb-red-soft); }
.checkbox-label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.checkbox-label input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--mb-black);
  flex: none;
}
.checkbox-label a { color: var(--mb-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.form-secure-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: .82rem;
  color: var(--mb-muted);
}
.form-secure-note .mb-icon { color: var(--mb-green); }
@media (max-width: 639px) {
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .form-secure-note { justify-content: center; }
}

.booking-summary-card {
  background: var(--mb-white);
  border-radius: var(--mb-radius-lg);
  border: 1px solid var(--mb-line);
  box-shadow: var(--mb-shadow);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .booking-summary-card { position: sticky; top: 92px; }
  .admin-bar .booking-summary-card { top: 124px; }
}
.booking-summary-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.booking-summary-body { padding: 20px 22px 22px; }
.motobooking-root .booking-summary-body .sidebar-title { font-size: .85rem; letter-spacing: .12em; color: var(--mb-muted); }
.booking-summary-moto {
  font-family: var(--mb-font-head);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--mb-ink);
  margin: 4px 0 14px !important;
}
.booking-summary-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0;
  font-size: .92rem;
}
.booking-summary-list dt { color: var(--mb-muted); }
.booking-summary-list dd { margin: 0; text-align: right; font-weight: 600; color: var(--mb-ink); }
.booking-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--mb-black);
  font-weight: 600;
}
.booking-summary-total strong { font-family: var(--mb-font-head); font-size: 2rem; color: var(--mb-ink); }

/* ==========================================================================
   Resultados (confirmación, pago, cancelación)
   ========================================================================== */
.mb-result { max-width: 760px; margin: 0 auto; display: grid; gap: 20px; }
.mb-result-header {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--mb-radius-lg);
  background: var(--mb-black);
  color: rgba(255, 255, 255, .8);
  position: relative;
  overflow: hidden;
}
.mb-result-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: var(--mb-yellow);
}
.motobooking-root .mb-result-header h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 16px;
}
.mb-result-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--mb-yellow);
  color: var(--mb-black);
}
.mb-result-header.is-warning .mb-result-icon { background: #fff; color: var(--mb-red); }
.mb-result-subtitle { margin-top: 8px !important; font-size: 1.05rem; }
.invoice-status { margin-top: 18px; }
.invoice-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .85rem;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.invoice-pill.is-ok { background: rgba(31, 157, 85, .2); color: #8ee2b0; }
.invoice-pill.is-error { background: rgba(217, 48, 37, .2); color: #ffb4ae; }

.mb-result-card {
  background: var(--mb-white);
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius-lg);
  padding: 24px;
}
.motobooking-root .mb-result-card h2,
.motobooking-root .mb-result-card h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--mb-line);
  font-size: .95rem;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row .label { color: var(--mb-muted); }
.detail-row .value { text-align: right; font-weight: 500; color: var(--mb-ink); }
.detail-row.total { border-top: 2px solid var(--mb-black); border-bottom: 0; margin-top: 6px; padding-top: 14px; }
.detail-row.total strong { font-family: var(--mb-font-head); font-size: 1.6rem; }
.highlight {
  font-family: var(--mb-font-head);
  font-weight: 800;
  background: var(--mb-yellow);
  color: var(--mb-black);
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: .04em;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
}
.status.pending { background: var(--mb-orange-soft); color: #9a5b00; }
.status.status-paid { background: var(--mb-green-soft); color: var(--mb-green); }

.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #44474f; }
.steps-list.icons { list-style: none; padding: 0; }
.steps-list.icons li { display: flex; gap: 10px; align-items: flex-start; }
.steps-list.icons .mb-icon { color: var(--mb-yellow-text); margin-top: 2px; }
.steps-list a { color: var(--mb-ink); font-weight: 700; }

.motobooking-root .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   Animaciones
   ========================================================================== */
@keyframes mb-spin { to { transform: rotate(360deg); } }
@keyframes mb-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes mb-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .mb-portal *,
  .motobooking-root * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Impresión
   ========================================================================== */
@media print {
  .mb-site-header,
  .mb-site-footer,
  .mb-cta-band,
  .motobooking-root .actions,
  .mb-steps-bar { display: none !important; }
  body.mb-portal { background: #fff; }
  .mb-result-header { background: #fff; color: #000; border: 2px solid #000; }
  .motobooking-root .mb-result-header h1 { color: #000; }
  .mb-topbar { display: none !important; }
}

/* ==========================================================================
   Diseño "valsebike.com · Alquiler de motos"
   (barra superior amarilla, cabecera negra, Poppins, rejilla de flota)
   Este bloque prevalece sobre los estilos anteriores.
   ========================================================================== */
body.mb-portal { background: #fff; font-size: 15px; color: #626262; }

.mb-portal h1, .mb-portal h2, .mb-portal h3, .mb-portal h4,
.motobooking-root h1, .motobooking-root h2, .motobooking-root h3 {
  font-family: var(--mb-font-head);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #161922;
}

/* Botones: píldoras como en valsebike.com */
.mb-btn,
.motobooking-root .btn {
  font-family: var(--mb-font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  min-height: 42px;
  border-radius: 6px;
}
.mb-btn-primary,
.motobooking-root .btn-primary {
  background: var(--mb-yellow);
  color: #000;
  box-shadow: none;
}
.mb-btn-primary:hover,
.motobooking-root .btn-primary:hover:not(:disabled) { background: #000; color: var(--mb-yellow); transform: none; }
.motobooking-root .btn-large { min-height: 50px; font-size: 1rem; }

/* Barra superior */
.mb-topbar {
  background: var(--mb-yellow);
  color: #000;
  font-size: .78rem;
}
.mb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}
.mb-topbar-info { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.mb-topbar-info span,
.mb-topbar-info a { display: inline-flex; align-items: center; gap: 6px; color: #000; text-decoration: none; }
.mb-topbar-info a:hover { text-decoration: underline; }
.mb-topbar-social { display: flex; gap: 12px; }
.mb-topbar-social a { color: #000; display: inline-flex; }
@media (max-width: 767px) {
  .mb-topbar-info span, .mb-topbar-info a:last-child, .mb-topbar-social { display: none; }
  .mb-topbar-inner { justify-content: center; }
}

/* Cabecera negra */
.mb-site-header {
  position: sticky;
  background: #000;
  border-bottom: 0;
  backdrop-filter: none;
}
.mb-site-header-inner { min-height: 96px; gap: 24px; }
.mb-brand img { width: 190px; }
.mb-site-nav { gap: 6px; }
.mb-site-nav a {
  font-family: var(--mb-font-body);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  padding: 10px 12px;
}
.mb-site-nav a:hover,
.mb-site-nav a.is-active { color: var(--mb-yellow); background: transparent; }
@media (min-width: 960px) {
  .mb-site-header-inner { align-items: flex-end; padding-bottom: 14px; padding-top: 14px; }
  .mb-brand { align-self: center; }
  .mb-brand img { width: 220px; }
}

/* Banda de foto a ancho completo (sin texto, como valsebike.com) */
.mb-hero-band {
  height: clamp(220px, 34vw, 520px);
  background: var(--mb-hero-image) center 62% / cover no-repeat, #111;
}

/* Intro centrada */
.mb-shell-text { max-width: 1180px; text-align: center; }
.mb-intro { padding: 24px 0 56px; }
.mb-page-h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px !important; }
.mb-h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 34px 0 16px !important; }
.mb-intro p, .mb-flota-head p { margin: 0 auto 12px; line-height: 1.75; }
.mb-intro-lead { font-size: 1rem; }
.mb-center { text-align: center; }

/* Cabecera de la flota */
.mb-flota-head { padding-top: 40px; }
.mb-flota-head .mb-h2 { margin-top: 10px !important; }
.motobooking-app { padding: 16px 0 64px; }

.mb-catalog-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.mb-brand-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-brand-tab {
  border: 1.5px solid #000;
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 7px 18px;
  font: 500 .88rem var(--mb-font-body);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.mb-brand-tab:hover { background: var(--mb-yellow); border-color: var(--mb-yellow); }
.mb-brand-tab.is-active { background: #000; color: var(--mb-yellow); border-color: #000; }
.mb-catalog-count { font-size: .9rem; }

.filters-container {
  border-top: 0;
  border-radius: 10px;
  box-shadow: none;
  background: #f7f7f7;
  padding: 16px;
}
.motobooking-root .filter-input,
.motobooking-root .filter-select { background-color: #fff; border-color: #e3e3e3; border-radius: 6px; }
.filter-label, .motobooking-root .form-label { font-family: var(--mb-font-body); letter-spacing: .04em; font-weight: 600; font-size: .72rem; }

/* Tarjetas de la flota (como valsebike.com) */
@media (min-width: 1100px) { .motos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.motos-grid { gap: 36px 24px; }
.moto-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  text-align: center;
}
.moto-card:hover { transform: none; box-shadow: none; }
.moto-card-image { background: #fff; aspect-ratio: 4 / 3; }
.moto-card-image img { object-fit: contain; }
.moto-card:hover .moto-card-image img { transform: scale(1.04); }
.moto-card-type {
  background: transparent;
  color: #9a9a9a;
  font-family: var(--mb-font-body);
  font-weight: 500;
  letter-spacing: .06em;
  font-size: .68rem;
  padding: 0;
  left: 6px;
  top: 6px;
}
.moto-card-badge { display: none; }
.moto-card-content { align-items: center; gap: 4px; padding: 14px 8px 0; }
.motobooking-root .moto-card-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  color: #161922;
}
.moto-card-price { justify-content: center; gap: 2px; }
.moto-card-price strong {
  font-family: var(--mb-font-body);
  font-size: 1rem;
  font-weight: 400;
  color: #161922;
}
.moto-card-price strong.is-ask { font-size: .9rem; color: #626262; }
.moto-card-price-unit { font-size: 1rem; color: #161922; }
.moto-card-specs {
  font-size: .72rem;
  color: #9a9a9a;
  display: block;
  margin: 0 !important;
}
.moto-card-cta {
  margin-top: 10px;
  background: #fff;
  color: #000;
  border: 1.5px solid #000;
  border-radius: 999px;
  padding: 6px 26px;
  font-family: var(--mb-font-body);
  font-weight: 500;
  font-size: .85rem;
  text-transform: none;
  letter-spacing: 0;
}
.moto-card:hover .moto-card-cta { background: var(--mb-yellow); color: #000; border-color: var(--mb-yellow); }

.skeleton-card { border: 0; }

/* Bloque rutas: imagen + caja gris */
.mb-split { display: grid; grid-template-columns: minmax(0, 1fr); background: #f5f5f5; }
.mb-split-media { min-height: 300px; background-size: cover; background-position: center; }
.mb-split-copy { padding: 40px 24px; max-width: 640px; }
.mb-split-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; margin-bottom: 16px; line-height: 1.3; }
.mb-split-copy p { margin-bottom: 12px; line-height: 1.75; }
.mb-split-copy .mb-btn { margin-top: 10px; border-radius: 0; white-space: normal; text-align: center; }
@media (min-width: 900px) {
  .mb-split { grid-template-columns: 1fr 1fr; }
  .mb-split-media { min-height: 460px; }
  .mb-split-copy { padding: 56px 48px; align-self: center; }
}

/* Pasos */
.mb-steps { background: #fff; padding: 64px 0 24px; }
.mb-steps .mb-h2 { margin-top: 0 !important; margin-bottom: 28px !important; }
.mb-step { background: #f7f7f7; border: 0; border-radius: 10px; text-align: center; }
.mb-step::after { display: none; }
.mb-step-icon { background: var(--mb-yellow); color: #000; border-radius: 50%; }
.mb-step h3 { text-transform: none; font-size: 1.1rem; font-weight: 600; }

/* FAQ: barras grises centradas */
.mb-faq { background: #fff; padding-top: 48px; }
.mb-shell-faq { max-width: 720px; }
.mb-faq .mb-h2 { margin-top: 0 !important; margin-bottom: 10px !important; }
.mb-faq-sub { text-align: center; font-weight: 500; color: #161922; margin-bottom: 28px !important; }
.mb-faq-list { gap: 10px; }
.mb-faq-item,
.mb-faq-item[open] { background: #f0f0f0; border: 0; border-radius: 6px; }
.mb-faq-item summary {
  font-family: var(--mb-font-body);
  font-size: .88rem;
  font-weight: 500;
  padding: 14px 48px 14px 18px;
  color: #161922;
}
.mb-faq-item summary::after {
  content: '›';
  background: transparent;
  font-size: 1.3rem;
  width: auto;
  height: auto;
  right: 18px;
}
.mb-faq-item[open] summary::after { content: '›'; transform: translateY(-50%) rotate(90deg); }
.mb-faq-item p { padding: 0 18px 16px; font-size: .88rem; color: #626262; }
.mb-faq-more { text-align: center; margin-top: 28px !important; font-size: .85rem; color: #161922; }
.mb-faq-more a { color: #ff6600; text-decoration: none; }
.mb-faq-more .mb-icon { vertical-align: -2px; }

/* Pie negro */
.mb-site-footer { background: #000; font-size: .82rem; color: #fff; }
.mb-footer-grid { padding-top: 56px; padding-bottom: 32px; text-align: center; }
.mb-site-footer h3 {
  font-family: var(--mb-font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
.mb-site-footer p { margin-bottom: 12px; line-height: 1.7; }
.mb-site-footer a { color: #fff; }
.mb-site-footer a:hover { color: var(--mb-yellow); }
.mb-footer-links { gap: 10px; }
.mb-dealers { display: flex; justify-content: center; gap: 6px; }
.mb-dealer { display: inline-flex; width: 64px; height: 52px; align-items: center; justify-content: center; }
.mb-dealer img { width: 56px; height: auto; filter: brightness(0) invert(1); }
.mb-social { justify-content: center; }
.mb-social a { border-radius: 4px; width: 32px; height: 32px; }
.mb-footer-bottom { font-size: .75rem; color: rgba(255, 255, 255, .7); text-align: center; }
.mb-footer-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; }
@media (min-width: 800px) { .mb-footer-grid { grid-template-columns: repeat(4, 1fr); } }

/* Ficha, formulario y resultados en clave Poppins */
.motobooking-root .moto-title,
.motobooking-root .page-title,
.motobooking-root .mb-result-header h1,
.booking-summary-moto,
.motobooking-root .sidebar-head .sidebar-title,
.motobooking-root .sidebar-title,
.motobooking-root .moto-section-title,
.motobooking-root .form-section-title,
.motobooking-root .mb-result-card h2,
.motobooking-root .mb-result-card h3 { text-transform: none; font-weight: 600; letter-spacing: 0; }
.motobooking-root .moto-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.motobooking-root .sidebar-subtitle,
.moto-tag,
.mb-steps-bar-item { font-family: var(--mb-font-body); letter-spacing: .02em; }
.spec-value, .moto-rate strong, .summary-total strong, .booking-summary-total strong,
.sidebar-price, .moto-price-lead strong, .detail-row.total strong, .highlight { font-family: var(--mb-font-body); font-weight: 600; }
.moto-gallery-main, .moto-card-image { background: #fff; }
.moto-gallery-main img { object-fit: contain; }
.moto-detail-sidebar, .booking-summary-card, .filters-container { border-radius: 10px; }

/* ==========================================================================
   Filtro y etiquetas de carnet
   ========================================================================== */
@media (min-width: 1024px) { .filters-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; } }

.mb-licence {
  display: inline-flex;
  align-items: center;
  font-family: var(--mb-font-body);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .02em;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.mb-licence-a2 { background: var(--mb-yellow); color: #000; }
.mb-licence-a { background: #000; color: #fff; }
.mb-licence-b { background: #e8f1ff; color: #0c4da2; }
.mb-licence-none { background: var(--mb-green-soft); color: var(--mb-green); }
.moto-card-licence { position: absolute; right: 6px; top: 6px; }
.moto-tag.mb-licence { font-size: .78rem; padding: 5px 10px; border: 0; text-transform: none; }

/* ==========================================================================
   Botón flotante de WhatsApp
   ========================================================================== */
.mb-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform .2s var(--mb-ease), background .2s, bottom .25s var(--mb-ease);
}
.mb-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); }
.mb-whatsapp-label { display: none; padding-right: 6px; }
@media (min-width: 768px) { .mb-whatsapp-label { display: inline; } }

/* ==========================================================================
   Barra fija de reserva (móvil y tablet)
   ========================================================================== */
.mb-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--mb-line);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  transition: transform .25s var(--mb-ease);
}
.mb-mobile-bar.is-hidden { transform: translateY(110%); }
.mb-mobile-bar-price { display: flex; flex-direction: column; line-height: 1.15; }
.mb-mobile-bar-price small { font-size: .72rem; color: var(--mb-muted); }
.mb-mobile-bar-price strong { font-size: 1.3rem; font-weight: 700; color: #161922; }
.mb-mobile-bar-price strong span { font-size: .8rem; font-weight: 400; color: var(--mb-muted); margin-left: 2px; }
.motobooking-root .mb-mobile-bar .btn { min-height: 46px; padding: 0 20px; }

@media (max-width: 1023px) {
  .moto-detail-page { padding-bottom: 76px; }
  /* El botón de WhatsApp sube para no tapar la barra */
  body.mb-page-detail .mb-whatsapp { bottom: 88px; }
}
@media (min-width: 1024px) {
  .mb-mobile-bar { display: none; }
}

@media print {
  .mb-whatsapp, .mb-mobile-bar { display: none !important; }
}

/* ==========================================================================
   Selector de idioma (Polylang)
   ========================================================================== */
.mb-topbar-right { display: flex; align-items: center; gap: 16px; }
.mb-lang { display: inline-flex; align-items: center; gap: 2px; }
.mb-lang a {
  font-family: var(--mb-font-body);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1.2;
}
.mb-lang a { display: inline-flex; align-items: center; gap: 5px; }
.mb-lang-flag {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  flex: none;
}
.mb-lang-topbar a { color: #000; }
.mb-lang-topbar a:hover { background: rgba(0, 0, 0, .08); }
.mb-lang-topbar a.is-active { background: #000; color: var(--mb-yellow); }

/* En el menú solo se muestra en móvil (en escritorio está en la barra superior) */
.mb-lang-menu { display: none; }
@media (max-width: 959px) {
  .mb-nav-toggle:checked ~ .mb-site-nav .mb-lang-menu {
    display: flex;
    gap: 8px;
    padding: 12px 12px 4px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 6px;
  }
  .mb-lang-menu a { color: #fff; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .3); font-size: .85rem; }
  .mb-lang-menu a.is-active { background: var(--mb-yellow); border-color: var(--mb-yellow); color: #000; }
}
@media (max-width: 767px) {
  .mb-topbar-inner { justify-content: space-between; }
}
