html {
  scroll-behavior: smooth;
}

:root {
  --mp-chocolate: #5d3a2c;
  --mp-mocha: #5d3a2c;
  --mp-mocha-dark: #4a2e22;
  --mp-beige: #f5efe6;
  --mp-cream: #f5efe6;
  --mp-cream-deep: #ede4d8;
  --mp-gold: #c9a66b;
  --mp-orange: #d9783c;
  --mp-orange-hover: #c96a24;
  --mp-text: #3a2820;
  --mp-radius: 14px;
}

.mp-body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--mp-text);
  background: #f4f0eb;
  min-height: 100vh;
  overflow-x: hidden;
}

.mp-body.mp-page-home {
  background: #f4f0eb;
}

/* =============================================
   MOBILE TOP BAR (solo visible < lg)
   Icono de marca centrado; menú a la izquierda y acciones a la derecha
   ============================================= */
.mp-mobilebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(90deg, var(--mp-mocha-dark, #4a2e22), var(--mp-mocha, #5d3a2c));
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.mp-mobilebar__toggle {
  justify-self: start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.4rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.15s ease;
}

.mp-mobilebar__toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.mp-mobilebar__brand {
  justify-self: center;
  text-decoration: none;
}

.mp-mobilebar__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.mp-mobilebar__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mp-mobilebar__user {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
}

.mp-mobilebar__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease;
}

.mp-mobilebar__action:hover {
  background: rgba(255, 80, 80, 0.2);
  color: #ffa0a0;
}

.mp-mobilebar__login {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--mp-gold, #c9a66b);
  color: var(--mp-mocha-dark, #4a2e22);
  text-decoration: none;
  transition: background 0.15s ease;
}

.mp-mobilebar__login:hover {
  background: #d4b27a;
  color: var(--mp-mocha-dark);
}

/* =============================================
   LAYOUT — sidebar + content
   ============================================= */
.mp-layout {
  display: flex;
  min-height: calc(100vh - 120px);
}

.mp-layout__content {
  flex: 1;
  min-width: 0;
}

.mp-main {
  flex: 1 0 auto;
  padding: 1.25rem 1rem;
}

@media (min-width: 992px) {
  .mp-main {
    padding: 1.5rem 2rem;
  }
}

/* =============================================
   SIDEBAR — tipo Nissei categories
   ============================================= */
.mp-sidebar-offcanvas {
  background: #fff !important;
  border-right: 1px solid rgba(93, 58, 44, 0.1) !important;
}

.mp-sidebar-offcanvas__header {
  border-bottom: 1px solid rgba(93, 58, 44, 0.1);
}

.mp-sidebar {
  padding: 0.25rem 0 0.75rem;
}

/* Cabecera del menú: el icono centrado en el ancho de la columna (flex evita que quede a la izquierda con offcanvas/BS) */
.mp-sidebar__head {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid rgba(93, 58, 44, 0.1);
  background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.mp-sidebar__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
  line-height: 0;
}

.mp-sidebar__brand:hover .mp-sidebar__brand-img {
  opacity: 0.92;
}

.mp-sidebar__brand-img {
  display: block;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  max-height: 64px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(58, 39, 31, 0.1);
}

@media (min-width: 992px) {
  .mp-sidebar-offcanvas {
    width: 240px !important;
    min-width: 240px;
    flex-shrink: 0 !important;
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(42, 28, 22, 0.04);
    border-right: 1px solid rgba(93, 58, 44, 0.1) !important;
  }
}

.mp-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  color: var(--mp-text, #3a2820);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.12s ease;
  position: relative;
}

.mp-sidebar__link:hover {
  background: rgba(201, 166, 107, 0.1);
  color: var(--mp-mocha-dark, #4a2e22);
  border-left-color: rgba(201, 166, 107, 0.4);
}

.mp-sidebar__link.is-active {
  background: rgba(201, 166, 107, 0.15);
  color: var(--mp-mocha-dark, #4a2e22);
  font-weight: 700;
  border-left-color: var(--mp-gold, #c9a66b);
}

.mp-sidebar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(93, 58, 44, 0.5);
}

.mp-sidebar__link:hover .mp-sidebar__icon,
.mp-sidebar__link.is-active .mp-sidebar__icon {
  color: var(--mp-mocha-dark, #4a2e22);
}

.mp-sidebar__chevron {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: rgba(93, 58, 44, 0.25);
  flex-shrink: 0;
}

.mp-sidebar__link:hover .mp-sidebar__chevron {
  color: rgba(93, 58, 44, 0.5);
}

.mp-sidebar__divider {
  height: 1px;
  background: rgba(93, 58, 44, 0.1);
  margin: 0.35rem 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
.mp-footer {
  background: var(--mp-mocha-dark, #4a2e22);
  border-top: 3px solid var(--mp-gold, #c9a66b);
}

.mp-footer-bar {
  color: rgba(255, 255, 255, 0.55);
}

/* =============================================
   PAGE FLUID container (legacy compat)
   ============================================= */
.mp-page-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.mp-logo-img {
  display: block;
  height: auto;
  object-fit: contain;
}

.mp-logo-img--header {
  height: 44px;
  width: auto;
  max-width: min(200px, 50vw);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.mp-logo-img--sidebar {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.mp-logo-img--login {
  max-height: 220px;
  width: auto;
  max-width: min(280px, 88vw);
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(58, 39, 31, 0.12));
}

.mp-brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.mp-brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.mp-btn-primary {
  background: var(--mp-orange);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
}

.mp-btn-primary:hover {
  background: var(--mp-orange-hover);
  color: #fff;
}

.mp-hero {
  background: linear-gradient(135deg, var(--mp-mocha) 0%, var(--mp-mocha-dark) 55%, #2a1c16 100%);
  color: #fff;
  border-radius: var(--mp-radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 18px 50px rgba(58, 39, 31, 0.35);
}

.mp-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.mp-card-service {
  background: #fff;
  border-radius: var(--mp-radius);
  border: 1px solid rgba(74, 50, 40, 0.12);
  box-shadow: 0 10px 30px rgba(42, 28, 22, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-card-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(42, 28, 22, 0.12);
}

.mp-section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: var(--mp-mocha);
}

/* ---------- Página inicial (home) ---------- */

.mp-home-hero {
  background: #fff;
  border: 1px solid rgba(93, 58, 44, 0.1);
  box-shadow: 0 20px 56px rgba(93, 58, 44, 0.1);
}

.mp-home-hero__visual {
  min-height: 280px;
}

.mp-home-hero__img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: left center;
}

@media (min-width: 992px) {
  .mp-home-hero__img {
    min-height: 100%;
  }
}

/* Hero solo con imagen (sin columna de textos) */
.mp-home-hero--solo-imagen .mp-home-hero__visual {
  min-height: 240px;
}

.mp-home-hero--solo-imagen .mp-home-hero__img {
  max-height: min(72vh, 640px);
  min-height: 280px;
  object-position: center center;
}

.mp-home-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(93, 58, 44, 0.55);
}

.mp-home-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--mp-chocolate);
  line-height: 1.2;
}

.mp-home-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  color: var(--mp-chocolate);
  line-height: 1.2;
}

.mp-home-lead {
  font-size: 1.05rem;
  color: rgba(58, 40, 32, 0.85);
  max-width: 38rem;
}

.mp-home-list {
  color: rgba(58, 40, 32, 0.82);
}

.mp-home-list strong {
  color: var(--mp-chocolate);
}

.mp-home-section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--mp-chocolate);
}

.mp-home-sub {
  max-width: 32rem;
}

.mp-home-cta {
  background: #fff;
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 12px 36px rgba(93, 58, 44, 0.08);
}

.mp-home-grid-card-link:focus-visible {
  outline: 2px solid var(--mp-gold, #c9a66b);
  outline-offset: 4px;
  border-radius: var(--mp-radius);
}

.mp-home-compromiso {
  background: #fff;
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 12px 36px rgba(93, 58, 44, 0.08);
}

.mp-home-siguiente-paso {
  background: #fff;
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 12px 36px rgba(93, 58, 44, 0.08);
}

.mp-home-alert {
  background: rgba(13, 110, 253, 0.08) !important;
  color: var(--mp-text);
}

.btn-mp-chocolate {
  background: var(--mp-chocolate);
  color: #fff !important;
  border: none;
  font-weight: 600;
  border-radius: 999px;
}

.btn-mp-chocolate:hover {
  background: var(--mp-mocha-dark);
  color: #fff !important;
}

.btn-mp-outline-chocolate {
  background: transparent;
  color: var(--mp-chocolate) !important;
  border: 2px solid rgba(93, 58, 44, 0.45);
  font-weight: 600;
  border-radius: 999px;
}

.btn-mp-outline-chocolate:hover {
  background: rgba(93, 58, 44, 0.06);
  color: var(--mp-chocolate) !important;
}

.mp-dots {
  position: absolute;
  width: 56px;
  height: 44px;
  background-image: radial-gradient(circle, var(--mp-chocolate) 1.5px, transparent 1.6px);
  background-size: 9px 9px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 1;
}

.mp-dots--bl {
  bottom: 1.25rem;
  left: 1.25rem;
}

.mp-dots--br {
  bottom: 1.25rem;
  right: 1.25rem;
}

@media (max-width: 991px) {
  .mp-dots--br {
    right: 1rem;
  }
}

/* ---------- Combos de desayuno ---------- */

.mp-body.mp-page-combos-desayuno {
  background: #fdf5e6;
}

.mp-combos {
  max-width: 52rem;
  padding-top: 0.5rem;
}

.mp-combos__deco-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: min(72px, 18vw);
  color: rgba(93, 46, 29, 0.32);
  pointer-events: none;
}

.mp-combos__svg {
  width: 100%;
  height: auto;
  display: block;
}

.mp-combos__h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: #5d2e1d;
}

.mp-combos__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(58, 40, 32, 0.88);
  max-width: 36rem;
}

.mp-combos__figure {
  margin: 0 auto;
  max-width: 920px;
}

.mp-combos__img {
  border: 1px solid rgba(93, 58, 44, 0.1);
}

.mp-combos__lista-wrap {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 8px 28px rgba(93, 58, 44, 0.06);
}

.mp-combos__ol {
  padding-left: 1.35rem;
  color: #5d2e1d;
}

.mp-combos__ol li {
  margin-bottom: 0.85rem;
  line-height: 1.65;
  padding-left: 0.25rem;
}

.mp-combos__ol li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .mp-combos__deco-tr {
    opacity: 0.75;
  }
}

/* ---------- Quiénes somos ---------- */

.mp-body.mp-page-quienes {
  background: var(--mp-beige);
}

.mp-quienes {
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 16px 48px rgba(93, 58, 44, 0.1);
}

.mp-quienes__bar {
  background: linear-gradient(180deg, var(--mp-mocha-dark) 0%, var(--mp-chocolate) 100%);
  min-height: 320px;
}

@media (min-width: 992px) {
  .mp-quienes__bar {
    min-height: 100%;
  }
}

.mp-quienes__photo-ring {
  width: min(88vw, 260px);
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.mp-quienes__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mp-quienes__panel {
  background: var(--mp-beige);
  color: var(--mp-text);
  padding-bottom: 5.5rem !important;
}

@media (min-width: 992px) {
  .mp-quienes__panel {
    padding-bottom: 3rem !important;
  }
}

.mp-quienes__h1,
.mp-quienes__h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: var(--mp-chocolate);
}

.mp-quienes__h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
}

.mp-quienes__h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.mp-quienes__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46rem;
}

.mp-quienes__list {
  padding-left: 1.2rem;
  max-width: 46rem;
}

.mp-quienes__list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.mp-quienes__list li:last-child {
  margin-bottom: 0;
}

.mp-quienes__dots--tr {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 52px;
  height: 44px;
  background-image: radial-gradient(circle, var(--mp-chocolate) 1.5px, transparent 1.6px);
  background-size: 9px 9px;
  opacity: 0.28;
}

.mp-quienes__icon-wrap {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: rgba(93, 58, 44, 0.32);
  pointer-events: none;
}

.mp-quienes__icon {
  width: 96px;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .mp-quienes__icon-wrap {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
    text-align: right;
  }

  .mp-quienes__panel {
    padding-bottom: 2rem !important;
  }
}

/* Quiénes somos: solo imagen (sin textos editables) */
.mp-quienes--solo-imagen .mp-quienes__solo-wrap {
  line-height: 0;
  background: linear-gradient(180deg, var(--mp-mocha-dark) 0%, var(--mp-chocolate) 100%);
}

.mp-quienes__solo-img {
  width: 100%;
  min-height: min(52vh, 480px);
  max-height: min(72vh, 640px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Comedores, viandas, catering, eventos: solo imagen */
.mp-comedores--solo-imagen .mp-comedores__img,
.mp-viandas--solo-imagen .mp-viandas__img,
.mp-catering--solo-imagen .mp-catering__img,
.mp-eventos--solo-imagen .mp-eventos__img {
  min-height: min(52vh, 520px);
  max-height: min(72vh, 680px);
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 992px) {
  .mp-comedores--solo-imagen .mp-comedores__img,
  .mp-viandas--solo-imagen .mp-viandas__img,
  .mp-catering--solo-imagen .mp-catering__img,
  .mp-eventos--solo-imagen .mp-eventos__img {
    min-height: min(58vh, 600px);
    max-height: min(75vh, 720px);
  }
}

/* Nuestros servicios: sin párrafo editable */
.mp-servicios--sin-texto .mp-servicios__figure {
  margin-bottom: 0 !important;
}

/* Combos desayuno: sin subtítulo ni lista */
.mp-combos--solo-imagen .mp-combos__figure {
  margin-bottom: 0 !important;
}

.mp-combos--solo-imagen header {
  margin-bottom: 1rem !important;
}

.mp-combos--solo-imagen .mp-combos__img {
  max-height: min(82vh, 960px);
  width: auto;
  max-width: 100%;
}

/* ---------- Nuestros servicios ---------- */

.mp-body.mp-page-servicios {
  background: var(--mp-beige);
}

.mp-servicios {
  position: relative;
  background: var(--mp-beige);
  border: 1px solid rgba(93, 58, 44, 0.12);
  border-radius: var(--mp-radius);
  box-shadow: 0 14px 44px rgba(93, 58, 44, 0.09);
  min-height: 200px;
}

.mp-servicios__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(10px, 2vw, 16px);
  background: var(--mp-chocolate);
  z-index: 0;
}

.mp-servicios__bar--left {
  left: 0;
  border-radius: var(--mp-radius) 0 0 var(--mp-radius);
}

.mp-servicios__bar--right {
  right: 0;
  border-radius: 0 var(--mp-radius) var(--mp-radius) 0;
}

.mp-servicios__inner {
  position: relative;
  z-index: 1;
  margin-left: clamp(10px, 2vw, 16px);
  margin-right: clamp(10px, 2vw, 16px);
}

.mp-servicios__figure {
  max-width: 1000px;
}

.mp-servicios__img {
  border: 1px solid rgba(93, 58, 44, 0.1);
  box-shadow: 0 10px 32px rgba(93, 58, 44, 0.07);
}

.mp-servicios__texto {
  max-width: 52rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mp-text);
}

.mp-servicios__svg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85;
}

.mp-servicios__deco {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  color: rgba(93, 58, 44, 0.38);
  pointer-events: none;
}

.mp-servicios__deco--tl {
  top: 0.75rem;
  left: calc(clamp(10px, 2vw, 16px) + 0.35rem);
}

.mp-servicios__deco--tr {
  top: 0.75rem;
  right: calc(clamp(10px, 2vw, 16px) + 0.35rem);
}

.mp-servicios__deco--bl {
  bottom: 0.75rem;
  left: calc(clamp(10px, 2vw, 16px) + 0.35rem);
}

.mp-servicios__deco--br {
  bottom: 0.75rem;
  right: calc(clamp(10px, 2vw, 16px) + 0.35rem);
}

@media (max-width: 767px) {
  .mp-servicios__deco {
    width: 36px;
    height: 36px;
    opacity: 0.65;
  }

  .mp-servicios__deco--tl,
  .mp-servicios__deco--tr {
    top: 0.4rem;
  }

  .mp-servicios__deco--bl,
  .mp-servicios__deco--br {
    bottom: 0.4rem;
  }
}

/* ---------- Comedores · Viandas · Catering (misma maquetación) ---------- */

.mp-body.mp-page-comedores,
.mp-body.mp-page-viandas,
.mp-body.mp-page-catering {
  background: var(--mp-beige);
}

.mp-comedores,
.mp-viandas,
.mp-catering {
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 16px 48px rgba(93, 58, 44, 0.1);
}

.mp-comedores__visual,
.mp-viandas__visual,
.mp-catering__visual {
  min-height: 260px;
  background: linear-gradient(180deg, var(--mp-mocha-dark) 0%, var(--mp-chocolate) 100%);
}

@media (min-width: 992px) {
  .mp-comedores__visual,
  .mp-viandas__visual,
  .mp-catering__visual {
    min-height: 420px;
  }
}

.mp-comedores__stripe,
.mp-viandas__stripe,
.mp-catering__stripe {
  display: block;
  width: clamp(12px, 2.5vw, 20px);
  flex-shrink: 0;
  align-self: stretch;
  background: var(--mp-mocha-dark);
}

.mp-comedores__photo-wrap,
.mp-viandas__photo-wrap,
.mp-catering__photo-wrap {
  flex: 1;
  min-width: 0;
}

.mp-comedores__img,
.mp-viandas__img,
.mp-catering__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .mp-comedores__img,
  .mp-viandas__img,
  .mp-catering__img {
    min-height: 100%;
  }

  .mp-comedores__visual,
  .mp-viandas__visual,
  .mp-catering__visual {
    align-self: stretch;
  }
}

.mp-comedores__panel,
.mp-viandas__panel,
.mp-catering__panel {
  background: var(--mp-beige);
  color: var(--mp-text);
}

.mp-comedores__h1,
.mp-viandas__h1,
.mp-catering__h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--mp-chocolate);
}

.mp-comedores__lead,
.mp-comedores__cierre,
.mp-viandas__lead,
.mp-viandas__cierre,
.mp-catering__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46rem;
}

.mp-comedores__list,
.mp-viandas__list,
.mp-catering__list {
  padding-left: 1.25rem;
  max-width: 46rem;
}

.mp-comedores__list li,
.mp-viandas__list li,
.mp-catering__list li {
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--mp-chocolate);
}

.mp-comedores__deco-tr,
.mp-viandas__deco-tr,
.mp-catering__deco-tr {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: min(110px, 28vw);
  color: rgba(93, 58, 44, 0.2);
  pointer-events: none;
}

.mp-catering__deco-tr {
  width: min(88px, 24vw);
}

.mp-comedores__svg,
.mp-viandas__svg,
.mp-catering__svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .mp-comedores__deco-tr,
  .mp-viandas__deco-tr,
  .mp-catering__deco-tr {
    opacity: 0.7;
  }
}

/* ---------- Eventos (panel oscuro + texto claro) ---------- */

.mp-body.mp-page-eventos {
  background: var(--mp-beige);
}

.mp-eventos {
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 16px 48px rgba(93, 58, 44, 0.1);
}

.mp-eventos__visual {
  background: #e8e0d8;
  min-height: 280px;
}

.mp-eventos__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 992px) {
  .mp-eventos__visual {
    min-height: 100%;
  }

  .mp-eventos__img {
    min-height: 520px;
  }
}

.mp-eventos__panel {
  background: linear-gradient(165deg, var(--mp-mocha-dark) 0%, var(--mp-chocolate) 55%, #3d261c 100%);
  color: rgba(255, 255, 255, 0.94);
  min-height: 280px;
}

.mp-eventos__h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: #fff;
  margin-bottom: 1.35rem;
}

.mp-eventos__p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.93);
  max-width: 40rem;
}

.mp-eventos__p:last-of-type {
  margin-bottom: 0;
}

.mp-eventos__deco-tr {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: min(76px, 20vw);
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.mp-eventos__svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .mp-eventos__deco-tr {
    opacity: 0.75;
  }
}

/* Menú semanal cliente — ancho completo en notebook / pantallas anchas */
.mp-menu-page {
  max-width: 100%;
}

.mp-menu-layout {
  display: grid;
  grid-template-columns: minmax(200px, min(18vw, 280px)) 1fr;
  gap: 1.5rem;
}

/* Solo grilla (sin columna lateral marca / texto) */
.mp-menu-layout--solo {
  grid-template-columns: 1fr;
  gap: 0;
}

@media (max-width: 991px) {
  .mp-menu-layout {
    grid-template-columns: 1fr;
  }
}

.mp-menu-sidebar {
  background: linear-gradient(180deg, var(--mp-mocha) 0%, var(--mp-mocha-dark) 100%);
  color: #fff;
  border-radius: var(--mp-radius);
  padding: 1.75rem 1.25rem;
  align-self: start;
}

.mp-menu-sidebar .mp-brand-title {
  font-size: 1.35rem;
}

.mp-day-block {
  background: #fff;
  border-radius: var(--mp-radius);
  border: 1px solid rgba(74, 50, 40, 0.1);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.mp-day-header {
  background: var(--mp-mocha);
  color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.mp-dish-card {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(74, 50, 40, 0.08);
  cursor: pointer;
  transition: background 0.15s ease;
}

.mp-dish-card:last-child {
  border-bottom: none;
}

.mp-dish-card:hover {
  background: var(--mp-cream);
}

.mp-dish-card.is-selected {
  border: 2px solid var(--mp-chocolate, #5d3a2c);
  border-radius: 12px;
  background: linear-gradient(180deg, #fdf9f3 0%, #f5ede3 100%);
  position: relative;
}

.mp-dish-card.is-selected .fw-semibold {
  font-weight: 700 !important;
}

.mp-dish-card.is-selected::before {
  content: "✓ En carrito";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--mp-chocolate, #5d3a2c);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.mp-dish-thumb {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--mp-cream-deep);
}

.mp-badge-saludable {
  background: rgba(201, 166, 107, 0.2);
  color: var(--mp-mocha-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Menú semanal — vista tabla (desktop) */
.mp-menu-weekly-wrap {
  background: #fffefb;
  border: 1px solid rgba(93, 58, 44, 0.12);
  width: 100%;
}

.mp-menu-weekly-table {
  width: 100%;
  table-layout: fixed;
  --mp-menu-slot-count: 5;
}

.mp-menu-weekly-table thead th:not(:first-child) {
  width: calc((100% - min(11rem, 11%)) / var(--mp-menu-slot-count, 5));
  min-width: 6.5rem;
  white-space: normal;
  line-height: 1.25;
  hyphens: auto;
}

.mp-weekly-cell--empty {
  cursor: default;
  background: rgba(93, 58, 44, 0.03);
  border-style: dashed;
}

.mp-weekly-cell--empty:hover {
  transform: none;
  box-shadow: none;
}

.mp-menu-weekly-table thead th {
  background: linear-gradient(180deg, var(--mp-mocha, #5d3a2c) 0%, var(--mp-mocha-dark, #4a2e22) 100%);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  border-color: rgba(255, 255, 255, 0.15) !important;
  padding: 0.85rem 0.5rem;
}

.mp-menu-weekly-corner {
  background: linear-gradient(135deg, #3d261c 0%, var(--mp-mocha-dark, #4a2e22) 100%) !important;
  color: #fff !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem !important;
  letter-spacing: 0.06em;
  text-transform: none;
  min-width: 8rem;
  width: 11%;
  max-width: 11rem;
}

.mp-menu-weekly-day {
  background: rgba(93, 58, 44, 0.06) !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mp-mocha-dark, #4a2e22);
  vertical-align: middle;
  white-space: nowrap;
  width: 11%;
  max-width: 11rem;
}

.mp-menu-weekly-td {
  background: #fff;
  min-width: 0;
  max-width: none;
  vertical-align: top;
  word-wrap: break-word;
}

.mp-weekly-cell {
  border-radius: 12px;
  padding: 0.5rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(93, 58, 44, 0.08);
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}

.mp-weekly-cell:hover {
  box-shadow: 0 12px 28px rgba(42, 28, 22, 0.12);
  transform: translateY(-2px);
}

.mp-weekly-cell:focus-visible {
  outline: 2px solid var(--mp-gold, #c9a66b);
  outline-offset: 2px;
}

.mp-weekly-cell.is-selected {
  border: 2px solid var(--mp-chocolate, #5d3a2c);
  background: linear-gradient(180deg, #fdf9f3 0%, #f5ede3 100%);
  box-shadow: 0 4px 12px rgba(93, 58, 44, 0.15);
}

.mp-weekly-cell.is-selected .mp-weekly-cell__title {
  font-weight: 700;
}

.mp-weekly-cell.is-selected::after {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--mp-chocolate, #5d3a2c);
  color: #fff;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.mp-weekly-cell--ya-pedido,
.mp-dish-card.mp-weekly-cell--ya-pedido {
  opacity: 0.72;
  background: linear-gradient(180deg, #f8faf8 0%, #eef5ee 100%);
  border: 1px solid rgba(25, 135, 84, 0.25);
}

.mp-weekly-cell--ya-pedido:hover {
  transform: none;
  box-shadow: none;
}

.mp-weekly-cell {
  position: relative;
}

.mp-weekly-cell__img-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  aspect-ratio: 4 / 3;
  background: var(--mp-cream-deep, #ede4d8);
}

.mp-weekly-cell__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-weekly-cell__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--mp-chocolate, #5d3a2c);
  margin-bottom: 0.25rem;
}

.mp-weekly-cell__desc {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mp-menu-sidebar--epic {
  position: sticky;
  top: 1rem;
}

.mp-cart-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1040;
}

.mp-footer-showcase {
  background: linear-gradient(180deg, var(--mp-beige) 0%, #efe6dc 100%);
  padding: 2rem 0 0;
}

.mp-footer-showcase__figure {
  border: 1px solid rgba(93, 58, 44, 0.12);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.mp-footer-showcase__img {
  object-fit: contain;
  object-position: center;
  background: var(--mp-beige);
}

.mp-footer-showcase__links {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.mp-footer-link {
  color: var(--mp-chocolate) !important;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(93, 58, 44, 0.25);
  padding-bottom: 2px;
}

.mp-footer-link:hover {
  color: var(--mp-orange-hover) !important;
  border-bottom-color: var(--mp-orange);
}

.mp-footer-bar {
  border-top: 1px solid rgba(93, 58, 44, 0.08);
}

.modal-content.mp-modal {
  border-radius: var(--mp-radius);
  border: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.modal-header.mp-modal-header {
  background: var(--mp-mocha);
  color: #fff;
  border: none;
}

.mp-modal-cantidad {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.mp-modal-cantidad__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bs-body-color, #212529);
  flex: 0 0 auto;
  white-space: nowrap;
}

.mp-modal-cantidad__valor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2.125rem;
  padding: 0;
  border: 1px solid rgba(93, 58, 44, 0.22);
  border-radius: 0.375rem;
  background: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--mp-chocolate, #5d3a2c);
  flex: 0 0 auto;
  box-sizing: border-box;
}

.mp-modal-cantidad__input {
  width: 2.5rem !important;
  min-width: 2.5rem !important;
  max-width: 2.5rem !important;
  flex: 0 0 2.5rem !important;
  padding: 0.35rem 0.2rem;
  text-align: center;
  border: 1px solid rgba(93, 58, 44, 0.22);
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--mp-chocolate, #5d3a2c);
  background: #fff;
  box-sizing: border-box;
  -moz-appearance: textfield;
  appearance: textfield;
}

.mp-modal-cantidad__input[type="number"]::-webkit-outer-spin-button,
.mp-modal-cantidad__input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mp-modal-cantidad__hint {
  font-size: 0.8125rem;
  color: var(--bs-secondary-color, #6c757d);
  flex: 0 1 auto;
  white-space: nowrap;
}

.btn-mp-add {
  background: var(--mp-orange);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 999px;
}

.btn-mp-add:hover {
  background: var(--mp-orange-hover);
  color: #fff;
}

.btn.btn-mp-confirmar-pedido {
  background-color: var(--mp-orange) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.82rem 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  line-height: 1.15;
  box-shadow: 0 8px 22px rgba(217, 120, 60, 0.38);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn.btn-mp-confirmar-pedido:hover,
.btn.btn-mp-confirmar-pedido:focus,
.btn.btn-mp-confirmar-pedido:focus-visible {
  background-color: var(--mp-orange-hover) !important;
  border-color: var(--mp-orange-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(201, 106, 36, 0.42);
}

.btn.btn-mp-confirmar-pedido:active {
  background-color: var(--mp-orange-hover) !important;
  color: #fff !important;
  transform: translateY(0);
}

.btn.btn-mp-confirmar-pedido:disabled,
.btn.btn-mp-confirmar-pedido.disabled {
  background-color: var(--mp-orange) !important;
  border-color: var(--mp-orange) !important;
  color: #fff !important;
  opacity: 0.55;
}

.btn-mp-confirmar-pedido--header {
  font-size: 1.15rem;
  padding: 0.95rem 2.15rem;
  min-width: 15.5rem;
}

.btn-mp-confirmar-pedido--block {
  width: 100%;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  font-size: 1.12rem;
}

.btn-mp-confirmar-pedido__count {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 575.98px) {
  .btn-mp-confirmar-pedido--header {
    width: 100%;
    min-width: 0;
    font-size: 1.02rem;
    padding: 0.88rem 1.35rem;
  }
}

.form-control:focus {
  border-color: var(--mp-orange);
  box-shadow: 0 0 0 0.2rem rgba(224, 124, 46, 0.22);
}

/* Contenido HTML desde el gestor (TinyMCE); respeta estilos inline seguros */
.mp-cw-html {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.mp-cw-html p:last-child {
  margin-bottom: 0;
}

.mp-home-title.mp-cw-html p,
.mp-home-kicker.mp-cw-html p,
.mp-home-script.mp-cw-html p,
.mp-home-lead.mp-cw-html p {
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
}

.mp-quienes__h1.mp-cw-html p,
.mp-quienes__lead.mp-cw-html p,
.mp-quienes__h2.mp-cw-html p {
  margin: 0;
  font: inherit;
}

.btn.mp-cw-html p {
  display: inline;
  margin: 0;
}

/* =============================================
   Seguimiento de pedido (portal cliente — Mis pedidos)
   ============================================= */
.mp-seguimiento {
  border: 1px solid rgba(93, 58, 44, 0.1);
  border-radius: var(--mp-radius);
  background: linear-gradient(180deg, #fffefb 0%, #faf6f0 100%);
  padding: 1rem 1rem 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.mp-seguimiento__titulo {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mp-mocha);
  margin: 0;
  letter-spacing: 0.02em;
}

.mp-seguimiento__sub {
  margin: 0;
  line-height: 1.35;
}

.mp-seguimiento__track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mp-seguimiento__piece {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.mp-seguimiento__texto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  width: 100%;
}

.mp-seguimiento__dot {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 2px solid #c8bfb4;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mp-seguimiento__dot--futuro {
  opacity: 0.65;
  background: #f3eee8;
}

.mp-seguimiento__dot--hecho {
  border-color: #2d8a54;
  background: #2d8a54;
  box-shadow: 0 0 0 3px rgba(45, 138, 84, 0.2);
}

.mp-seguimiento__dot--hecho::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  margin: 1px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mp-seguimiento__dot--actual {
  border-color: var(--mp-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 120, 60, 0.28);
  transform: scale(1.08);
}

.mp-seguimiento__estado {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mp-text);
  hyphens: auto;
}

@media (min-width: 576px) {
  .mp-seguimiento__estado {
    font-size: 0.78rem;
  }
}

.mp-seguimiento__cuando {
  font-size: 0.68rem;
  line-height: 1.25;
  color: #5c534c;
  display: block;
  min-height: 1.25em;
}

.mp-seguimiento__cuando--en-curso {
  font-weight: 600;
  color: var(--mp-orange-hover);
}

.mp-seguimiento__cuando--futuro {
  color: #9a928a;
  font-style: italic;
  font-weight: 500;
}

.mp-seguimiento__cuando--vacio {
  color: #b0a99f;
}

.mp-seguimiento__join {
  flex: 0 0 10px;
  width: 10px;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: #e0d8ce;
  align-self: flex-start;
  position: relative;
  top: 0.06rem;
}

@media (min-width: 576px) {
  .mp-seguimiento__join {
    flex: 1 1 12px;
    width: auto;
    min-width: 6px;
    max-width: 48px;
    margin-top: 0.5rem;
  }
}

.mp-seguimiento__join--hecho {
  background: linear-gradient(90deg, #2d8a54, var(--mp-gold));
}

.mp-seguimiento__piece--futuro .mp-seguimiento__estado {
  color: #7a7168;
}

@media (max-width: 575.98px) {
  .mp-seguimiento__track {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .mp-seguimiento__piece {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.65rem;
    padding: 0.35rem 0 0.35rem 0.15rem;
  }

  .mp-seguimiento__texto {
    align-items: flex-start;
    text-align: left;
  }

  .mp-seguimiento__dot {
    margin-top: 0.2rem;
  }

  .mp-seguimiento__join {
    width: 3px;
    height: 0.65rem;
    flex: 0 0 auto;
    margin: 0 0 0 0.5rem;
    top: 0;
    align-self: flex-start;
    border-radius: 2px;
  }

  .mp-seguimiento__join--hecho {
    background: linear-gradient(180deg, #2d8a54, var(--mp-gold));
  }
}

/* Tarjeta «Tu almuerzo de hoy» — Mis pedidos portal */
.mp-pedido-hoy__inner {
  border-radius: var(--mp-radius);
  background: linear-gradient(135deg, #fffefb 0%, #f8f2ea 48%, #f3ebe2 100%);
  border: 1px solid rgba(93, 58, 44, 0.12);
  box-shadow: 0 8px 28px rgba(62, 39, 28, 0.08);
  padding: 1.25rem 1.35rem 1.35rem;
  overflow: hidden;
  position: relative;
}

.mp-pedido-hoy__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mp-chocolate), var(--mp-orange), var(--mp-gold));
}

.mp-pedido-hoy--vacio .mp-pedido-hoy__inner {
  background: linear-gradient(180deg, #faf8f5 0%, #f5f0ea 100%);
}

.mp-pedido-hoy__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.mp-pedido-hoy__titulo {
  font-family: var(--mp-font-serif, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mp-mocha);
  margin: 0;
}

.mp-pedido-hoy__fecha {
  font-size: 0.85rem;
  color: #6b625a;
  font-weight: 500;
}

.mp-pedido-hoy__plato {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(93, 58, 44, 0.08);
  border-radius: calc(var(--mp-radius) - 2px);
  padding: 1rem 1rem 0.85rem;
  margin-top: 0.75rem;
}

.mp-pedido-hoy__plato:first-of-type {
  margin-top: 0;
}

.mp-pedido-hoy__plato-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.mp-pedido-hoy__plato-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.mp-pedido-hoy__icono {
  font-size: 1.65rem;
  line-height: 1;
  flex-shrink: 0;
}

.mp-pedido-hoy__plato-nombre {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mp-text);
  margin: 0 0 0.15rem;
}

.mp-pedido-hoy__plato-meta {
  font-size: 0.8rem;
  color: #6b625a;
}

.mp-pedido-hoy__badge {
  font-size: 0.78rem;
  padding: 0.45em 0.75em;
  border-radius: 999px;
}

.mp-pedido-hoy__vacio-texto {
  color: #5c534c;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mp-pedido-hoy .mp-seguimiento {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(93, 58, 44, 0.08);
  padding: 0.85rem 0.75rem 1rem;
}

.mp-mis-pedidos-filtro {
  background: #fffefb;
}

.mp-mis-pedidos-filtro .form-label {
  color: var(--mp-mocha);
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .mp-pedido-hoy__inner {
    padding: 1rem 1rem 1.1rem;
  }

  .mp-pedido-hoy__titulo {
    font-size: 1.2rem;
  }
}

/* ——— Cabecera portal cliente (logueado) ——— */
.mp-client-topbar__shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.75rem 1rem;
  background: #fffefb;
  border-radius: var(--mp-radius);
  border: 1px solid rgba(93, 58, 44, 0.1);
}

.mp-client-topbar__left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

@media (min-width: 576px) {
  .mp-client-topbar__left {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.mp-client-topbar__brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mp-orange, #d9783c);
}

.mp-client-topbar__empresa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mp-text);
  max-width: 100%;
}

.mp-client-topbar__icon {
  flex-shrink: 0;
  opacity: 0.88;
}

.mp-client-topbar__icon--pin {
  color: #5b9bd5;
  opacity: 1;
}

.mp-client-topbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}

.mp-client-topbar__user-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  min-width: 0;
  max-width: 100%;
}

.mp-client-topbar__user {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mp-mocha-dark, #4a2e22);
  max-width: 16rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mp-client-topbar__user-name,
.mp-client-topbar__user-surname {
  white-space: nowrap;
}

.mp-client-topbar__lugar {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #5c534c;
  max-width: 16rem;
  text-align: right;
}

.mp-client-topbar__icon--work {
  color: #7a6a58;
  opacity: 1;
}

.mp-carta-empleado__nombre {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mp-mocha-dark, #4a2e22);
  line-height: 1.25;
}

.mp-carta-empleado__nombres {
  margin-right: 0.35rem;
}

.mp-carta-empleado__apellidos {
  font-weight: 600;
  color: #5c4a3a;
}

.mp-client-topbar__pending {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mp-text);
  background: rgba(93, 58, 44, 0.08);
  border: 1px solid rgba(93, 58, 44, 0.12);
  transition: background 0.15s ease, border-color 0.15s ease;
}

a.mp-client-topbar__pending:hover {
  background: rgba(201, 166, 107, 0.25);
  border-color: rgba(201, 166, 107, 0.45);
  color: var(--mp-mocha-dark, #4a2e22);
}

.mp-client-topbar__pending--has {
  background: rgba(217, 120, 60, 0.15);
  border-color: rgba(217, 120, 60, 0.35);
  color: var(--mp-orange-hover, #c96a24);
}

.mp-client-topbar__pending--muted {
  opacity: 0.75;
  cursor: default;
}

.mp-client-topbar__pending-label {
  white-space: nowrap;
}

.mp-client-topbar__pending-num {
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
  text-align: center;
}

.mp-client-topbar__clock {
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4d4640;
  padding: 0.3rem 0.55rem;
  background: rgba(93, 58, 44, 0.06);
  border-radius: 8px;
  white-space: nowrap;
}

.mp-client-topbar__logout {
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .mp-client-topbar__user-block {
    align-items: flex-start;
  }

  .mp-client-topbar__user {
    max-width: 100%;
    justify-content: flex-start;
  }

  .mp-client-topbar__lugar {
    text-align: left;
    max-width: 100%;
  }

  .mp-client-topbar__shell {
    padding: 0.65rem 0.85rem;
  }
}

/* Login portal: acceso por número (COOMECIPAR y empresas configuradas) */
.mp-login-wrap {
  width: 100%;
  max-width: 420px;
}

.mp-page-login-prefijo .mp-login-prefijo-card {
  border-radius: var(--mp-radius);
  background: linear-gradient(180deg, #fff 0%, #fdf9f5 100%);
}

.mp-login-prefijo-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mp-chocolate, #3a271f);
  opacity: 0.65;
}

.mp-login-prefijo-input {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 2px solid rgba(58, 39, 31, 0.12);
  background: #fff;
}

.mp-login-prefijo-input:focus {
  border-color: var(--mp-orange, #c45c26);
  box-shadow: 0 0 0 0.2rem rgba(196, 92, 38, 0.15);
}

.mp-login-credenciales-card {
  border-radius: var(--mp-radius);
}

.mp-login-divider-label {
  letter-spacing: 0.06em;
}

/* Portal empresa: login y carta pública sin sidebar */
.mp-body.mp-page-login-prefijo {
  background: linear-gradient(165deg, #f8f2ea 0%, #efe4d6 45%, #f5efe6 100%);
}

.mp-layout--solo {
  min-height: calc(100vh - 80px);
}

.mp-layout--solo .mp-layout__content {
  width: 100%;
  max-width: 100%;
}

.mp-layout--solo .mp-main {
  padding-top: 0.5rem;
}

.mp-login-marca-texto .mp-brand-title {
  color: var(--mp-chocolate, #5d3a2c);
  font-size: 1.75rem;
}

.mp-login-marca-texto .mp-brand-tag {
  color: var(--mp-orange, #d9783c);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-password-field .mp-password-toggle {
  border-color: rgba(93, 58, 44, 0.25);
  color: var(--mp-mocha, #5d3a2c);
}

.mp-password-field .mp-password-toggle:hover,
.mp-password-field .mp-password-toggle:focus {
  background: rgba(93, 58, 44, 0.08);
  color: var(--mp-mocha-dark, #4a2e22);
  border-color: rgba(93, 58, 44, 0.35);
}

.mp-carta-reserva-caducada {
  background: linear-gradient(180deg, #fff9f0 0%, #fffefb 100%);
  border-left: 4px solid #c45a00 !important;
}

.mp-carta-reserva-caducada__icon {
  font-size: 2rem;
  line-height: 1;
  opacity: 0.85;
}

/* ——— Créditos MVF Technology ——— */
.mp-footer .mvf-creditos {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.mp-footer .mvf-creditos a {
    color: rgba(255, 248, 239, 0.92);
    text-decoration: none;
    font-weight: 600;
}

.mp-footer .mvf-creditos a:hover {
    color: #f0c48a;
    text-decoration: underline;
}

.mp-footer .mvf-creditos--full {
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.mp-footer .mvf-creditos__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.55rem;
}

.mp-footer .mvf-creditos__sep {
    opacity: 0.45;
}
