/* ===== Documentation — démo interactive Le Patio ===== */

.mmdoc-demo {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 133, 0, 0.1), rgba(255, 255, 255, 0.98) 45%);
  border: 1px solid rgba(255, 133, 0, 0.22);
  box-shadow: 0 18px 44px rgba(107, 46, 0, 0.08);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
  min-width: 0;
}

.mmdoc-demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.mmdoc-demo-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.14);
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mmdoc-demo-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  color: var(--secondary);
}

.mmdoc-demo-head p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.mmdoc-demo-mode-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.25);
  box-shadow: 0 4px 14px rgba(107, 46, 0, 0.06);
}

.mmdoc-demo-mode-toggle button {
  padding: 0.45rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.mmdoc-demo-mode-toggle button.is-active {
  background: var(--primary);
  color: #fff;
}

.mmdoc-demo-nav-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.mmdoc-demo-nav-wrap::before,
.mmdoc-demo-nav-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.85rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mmdoc-demo-nav-wrap.is-scrollable::before,
.mmdoc-demo-nav-wrap.is-scrollable::after {
  opacity: 1;
}

.mmdoc-demo-nav-wrap.is-scrolled-start::before {
  opacity: 0;
}

.mmdoc-demo-nav-wrap.is-scrolled-end::after {
  opacity: 0;
}

.mmdoc-demo-nav-wrap::before {
  inset-inline-start: 0;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(
    to right,
    rgba(255, 250, 245, 1) 0%,
    rgba(255, 250, 245, 0.82) 35%,
    rgba(255, 250, 245, 0) 100%
  );
}

.mmdoc-demo-nav-wrap::after {
  inset-inline-end: 0;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(
    to left,
    rgba(255, 250, 245, 1) 0%,
    rgba(255, 250, 245, 0.82) 35%,
    rgba(255, 250, 245, 0) 100%
  );
}

html[dir="rtl"] .mmdoc-demo-nav-wrap::before,
.mmsaas-i18n-rtl .mmdoc-demo-nav-wrap::before {
  background: linear-gradient(
    to left,
    rgba(255, 250, 245, 1) 0%,
    rgba(255, 250, 245, 0.82) 35%,
    rgba(255, 250, 245, 0) 100%
  );
}

html[dir="rtl"] .mmdoc-demo-nav-wrap::after,
.mmsaas-i18n-rtl .mmdoc-demo-nav-wrap::after {
  background: linear-gradient(
    to right,
    rgba(255, 250, 245, 1) 0%,
    rgba(255, 250, 245, 0.82) 35%,
    rgba(255, 250, 245, 0) 100%
  );
}

.mmdoc-demo-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.32rem;
  margin-bottom: 0;
  padding: 0.38rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.95) 0%, #fff 100%);
  border: 1px solid rgba(255, 133, 0, 0.18);
  box-shadow: 0 6px 18px rgba(107, 46, 0, 0.06);
}

.mmdoc-demo-nav-item,
.mmdoc-demo-nav button[data-mmdoc-screen] {
  appearance: none;
  position: relative;
  display: inline-flex;
  flex: 1 1 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-width: 0;
  min-height: 0;
  padding: 0.38rem 0.42rem;
  border: 1px solid rgba(255, 133, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.mmdoc-demo-nav-item:hover:not(.is-active),
.mmdoc-demo-nav button[data-mmdoc-screen]:hover:not(.is-active) {
  transform: translateY(-1px);
  border-color: rgba(255, 133, 0, 0.28);
  box-shadow: 0 4px 12px rgba(255, 133, 0, 0.1);
  background: #fff;
}

.mmdoc-demo-nav-item.is-active,
.mmdoc-demo-nav button[data-mmdoc-screen].is-active {
  background: linear-gradient(145deg, #ff8500 0%, #e85d04 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(232, 93, 4, 0.24);
}

.mmdoc-demo-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(255, 133, 0, 0.12);
  color: #e85d04;
  flex-shrink: 0;
  transition: background 0.16s ease, color 0.16s ease;
}

.mmdoc-demo-nav-item.is-active .mmdoc-demo-nav-icon,
.mmdoc-demo-nav button[data-mmdoc-screen].is-active .mmdoc-demo-nav-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.mmdoc-demo-nav-icon svg {
  display: block;
  width: 0.82rem;
  height: 0.82rem;
}

.mmdoc-demo-nav-copy {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mmdoc-demo-nav-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mmdoc-demo-nav-label--full,
.mmdoc-demo-nav-hint {
  display: none;
}

.mmdoc-demo-nav-label--short {
  display: block;
}

.mmdoc-demo-nav-badge {
  position: absolute;
  top: -0.15rem;
  inset-inline-end: -0.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 1.5px #fff;
}

.mmdoc-demo-nav-item.is-active .mmdoc-demo-nav-badge,
.mmdoc-demo-nav button[data-mmdoc-screen].is-active .mmdoc-demo-nav-badge {
  box-shadow: 0 0 0 1.5px rgba(232, 93, 4, 0.85);
}

.mmdoc-demo-note--inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.mmdoc-demo-stage {
  position: relative;
}

.mmdoc-demo-panel {
  display: none;
}

.mmdoc-demo-panel.is-active {
  display: block;
}

.mmdoc-demo-dashboard {
  display: grid;
  gap: 1rem;
}

.mmdoc-demo-dashboard-hero h3 {
  margin: 0.35rem 0;
  font-size: 1.35rem;
  color: var(--secondary);
}

.mmdoc-demo-dashboard-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.mmdoc-demo-dashboard-card {
  max-width: 520px;
}

.mmdoc-demo-dashboard-card .menu-dashboard-thumb svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.mmdoc-demo-dashboard-card button.menu-dashboard-btn {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.mmdoc-demo-dashboard-card .menu-dashboard-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  line-height: 0;
}

.mmdoc-demo-dashboard-card .menu-dashboard-btn-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.mmdoc-demo-reset {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.mmdoc-demo-tutorial--stage {
  margin: 0;
}

.mmdoc-demo-delivery-banner {
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
  font-size: 0.86rem;
  font-weight: 700;
}

.mmdoc-demo-menu-zone {
  width: 100%;
}

.mmdoc-demo-frame {
  width: 100%;
  min-height: min(78vh, 860px);
  height: min(78vh, 860px);
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.mmdoc-demo-frame[data-mmdoc-frame="delivery"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: min(82vh, 900px);
  height: min(82vh, 900px);
}

/* Éditeur : pleine largeur + pas de débordement horizontal */
.mmdoc-demo.mmdoc-demo--editor {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
}

.mmdoc-demo.mmdoc-demo--editor .mmdoc-demo-stage {
  overflow: hidden;
}

html.mmdoc-demo-editor-active {
  overflow-x: clip;
}

/* Caisse POS : pleine largeur écran + hauteur adaptée au layout 1024px */
.mmdoc-demo.mmdoc-demo--caisse {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
}

/* RTL: physical left/right margins above overflow the page to the right. */
html[dir="rtl"] .mmdoc-demo.mmdoc-demo--caisse,
.mmsaas-i18n-rtl .mmdoc-demo.mmdoc-demo--caisse {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
}

.mmdoc-demo.mmdoc-demo--caisse .mmdoc-demo-stage {
  overflow: hidden;
}

.mmdoc-demo-frame[data-mmdoc-frame="caisse"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: min(82vh, 900px);
  height: min(82vh, 900px);
  border-radius: 14px;
}

.mmdoc-demo-frame[data-mmdoc-frame="accounting"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: min(88vh, 960px);
  height: min(88vh, 960px);
  border-radius: 14px;
}

.mmdoc-demo.mmdoc-demo--accounting .mmdoc-demo-stage,
.mmdoc-demo.mmdoc-demo--accounting .mmdoc-demo-panel.is-active {
  overflow: visible;
  max-width: 100%;
}

html.mmdoc-demo-caisse-active {
  overflow-x: clip;
}

.mmdoc-demo-board {
  min-height: 420px;
  max-height: min(72vh, 760px);
  overflow: auto;
}

.mmdoc-demo-board .com-board-header {
  position: sticky;
  top: 0;
  z-index: 2;
}

.mmdoc-demo-layout--editor .mmdoc-demo-live {
  max-height: min(70vh, 780px);
}

.mmdoc-demo-layout,
.mmdoc-demo-layout--live {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.mmdoc-demo-layout--live {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.mmdoc-demo-live {
  min-height: 520px;
  max-height: min(78vh, 860px);
  overflow: auto;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 18px 40px rgba(15, 23, 42, 0.1);
  padding: 0.35rem;
}

.mmdoc-demo-live .cmg-menu {
  margin: 0 auto;
  max-width: 520px;
}

.mmdoc-demo-owner-panel {
  padding: 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  max-height: 360px;
  overflow: auto;
}

.mmdoc-shot-wrap--live-thumb {
  max-height: 420px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.mmdoc-shot-wrap--live-thumb .cmg-menu {
  transform: scale(0.92);
  transform-origin: top center;
  margin: -0.5rem auto 0;
  max-width: 360px;
}

/* Legacy phone mock (unused) */
.mmdoc-device {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 0.65rem;
  border-radius: 32px;
  background: #111827;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.35);
}

.mmdoc-device-notch {
  width: 38%;
  height: 6px;
  margin: 0 auto 0.5rem;
  border-radius: 999px;
  background: #374151;
}

.mmdoc-device-screen {
  min-height: 520px;
  max-height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #f8fafc;
}

.mmdoc-menu-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.mmdoc-menu-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e85d04, #ff8500);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mmdoc-menu-header strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.mmdoc-menu-header span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
}

.mmdoc-menu-table {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.12);
  color: #c2410c;
  font-size: 0.68rem;
  font-weight: 800;
}

.mmdoc-menu-cats {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.mmdoc-menu-cat {
  flex: 0 0 auto;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.mmdoc-menu-cat.is-active {
  background: #e85d04;
  color: #fff;
}

.mmdoc-menu-products {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem;
  display: grid;
  gap: 0.65rem;
}

.mmdoc-menu-product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.65rem;
  padding: 0.55rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.mmdoc-menu-product-visual {
  border-radius: 10px;
  background: linear-gradient(145deg, var(--product-accent, #ff8500), rgba(255, 255, 255, 0.2));
  min-height: 72px;
}

.mmdoc-menu-product-body strong {
  display: block;
  font-size: 0.86rem;
  color: #0f172a;
}

.mmdoc-menu-product-body p {
  margin: 0.15rem 0 0.45rem;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.45;
}

.mmdoc-menu-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mmdoc-menu-price {
  font-size: 0.82rem;
  font-weight: 900;
  color: #e85d04;
}

.mmdoc-menu-product-foot button {
  padding: 0.32rem 0.65rem;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.mmdoc-menu-cart-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: #0f172a;
  color: #fff;
}

.mmdoc-menu-cart-bar span:first-child {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e85d04;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.mmdoc-menu-order-btn {
  margin-left: auto;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: #e85d04;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.mmdoc-editor-header {
  padding: 0.85rem 0.9rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.mmdoc-editor-header strong {
  display: block;
  color: #0f172a;
}

.mmdoc-editor-header span {
  font-size: 0.72rem;
  color: #64748b;
}

.mmdoc-editor-hint {
  margin: 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.72rem;
  color: #92400e;
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
}

.mmdoc-editor-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem;
  display: grid;
  gap: 0.55rem;
}

.mmdoc-editor-row {
  display: grid;
  grid-template-columns: 10px 1fr 90px;
  gap: 0.45rem 0.55rem;
  align-items: end;
  padding: 0.55rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.mmdoc-editor-swatch {
  grid-row: span 2;
  width: 10px;
  border-radius: 999px;
  align-self: stretch;
}

.mmdoc-editor-row label span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.mmdoc-editor-row input[type='text'],
.mmdoc-editor-row input[type='number'] {
  width: 100%;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.78rem;
}

.mmdoc-editor-hide {
  grid-column: 2 / -1;
  font-size: 0.72rem;
  color: #64748b;
}

.mmdoc-demo-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.mmdoc-demo-note {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(255, 133, 0, 0.45);
}

.mmdoc-demo-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}

.mmdoc-demo-note p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.mmdoc-demo-reset {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 133, 0, 0.35);
  background: #fff;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.mmdoc-demo-tutorial {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.mmdoc-demo-tutorial li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.mmdoc-demo-tutorial li span {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mmdoc-demo-cta {
  justify-self: start;
}

/* ===== Screenshots mock UI ===== */

.mmdoc-shot-wrap {
  margin: 1rem 0 0;
}

.mmdoc-shot-caption {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}

.mmdoc-shot {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.mmdoc-shot--desktop .mmdoc-shot-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.mmdoc-shot--desktop .mmdoc-shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.mmdoc-shot--desktop .mmdoc-shot-bar span:first-child { background: #fca5a5; }
.mmdoc-shot--desktop .mmdoc-shot-bar span:nth-child(2) { background: #fde047; }
.mmdoc-shot--desktop .mmdoc-shot-bar span:nth-child(3) { background: #86efac; }

.mmdoc-shot-body {
  padding: 1rem;
}

.mmdoc-shot--phone {
  max-width: 260px;
  margin: 0 auto;
  padding: 0.55rem;
  border-radius: 28px;
  background: #111827;
}

.mmdoc-shot-phone-notch {
  width: 40%;
  height: 5px;
  margin: 0 auto 0.45rem;
  border-radius: 999px;
  background: #374151;
}

.mmdoc-shot--phone .mmdoc-shot-body {
  border-radius: 20px;
  background: #f8fafc;
}

.mmdoc-shot-signup h4,
.mmdoc-shot-delivery strong {
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.mmdoc-shot-field {
  margin-bottom: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  color: #475569;
}

.mmdoc-shot-btn {
  margin-top: 0.65rem;
  padding: 0.55rem;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.mmdoc-shot-editor {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.75rem;
  min-height: 200px;
}

.mmdoc-shot-editor-nav {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 0.72rem;
}

.mmdoc-shot-editor-nav strong {
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.mmdoc-shot-editor-nav span {
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
  color: #64748b;
}

.mmdoc-shot-editor-nav span.is-active {
  background: rgba(255, 133, 0, 0.15);
  color: #c2410c;
  font-weight: 800;
}

.mmdoc-shot-product-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8rem;
}

.mmdoc-shot-swatch {
  height: 12px;
  border-radius: 999px;
}

.mmdoc-shot-menu-head {
  margin-bottom: 0.75rem;
}

.mmdoc-shot-menu-head strong {
  display: block;
  color: #0f172a;
}

.mmdoc-shot-menu-head small {
  color: #64748b;
  font-size: 0.72rem;
}

.mmdoc-shot-menu-card {
  padding: 0.65rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.mmdoc-shot-menu-card-visual {
  height: 90px;
  border-radius: 10px;
  margin-bottom: 0.55rem;
  background: linear-gradient(145deg, var(--shot-accent, #ff8500), #fff);
}

.mmdoc-shot-menu-card strong {
  display: block;
  font-size: 0.86rem;
}

.mmdoc-shot-menu-card span {
  display: block;
  margin: 0.2rem 0 0.55rem;
  color: #e85d04;
  font-weight: 900;
  font-size: 0.82rem;
}

.mmdoc-shot-menu-card button {
  width: 100%;
  padding: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
}

.mmdoc-shot-qr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.mmdoc-shot-qr-card {
  padding: 0.65rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.mmdoc-shot-qr-svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.35rem;
}

.mmdoc-shot-qr-card strong {
  display: block;
  font-size: 0.82rem;
}

.mmdoc-shot-qr-card span {
  font-size: 0.68rem;
  color: #64748b;
}

.mmdoc-shot-orders-tabs {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.mmdoc-shot-orders-tabs span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.mmdoc-shot-orders-tabs span.is-active {
  background: #0f172a;
  color: #fff;
}

.mmdoc-shot-order {
  position: relative;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.45rem;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.mmdoc-shot-order.is-done {
  background: #f8fafc;
  border-color: #e2e8f0;
  opacity: 0.75;
}

.mmdoc-shot-order strong {
  display: block;
  font-size: 0.85rem;
}

.mmdoc-shot-order p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

.mmdoc-shot-order-new {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e85d04;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mmdoc-shot-accounting {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.mmdoc-shot-stat {
  padding: 0.65rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.mmdoc-shot-stat small {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
}

.mmdoc-shot-stat strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.mmdoc-shot-top {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: rgba(255, 133, 0, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.mmdoc-convert-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 133, 0, 0.12), rgba(255, 133, 0, 0.04));
  border: 1px solid rgba(255, 133, 0, 0.25);
}

.mmdoc-convert-strip p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
}

.mmdoc-convert-strip .btn {
  flex-shrink: 0;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .mmdoc-demo-layout,
  .mmdoc-demo-layout--live {
    grid-template-columns: 1fr;
  }

  .mmdoc-demo.mmdoc-demo--caisse,
  .mmdoc-demo.mmdoc-demo--editor {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    border-radius: 18px;
  }

  .mmdoc-demo.mmdoc-demo--caisse .mmdoc-demo-stage,
  .mmdoc-demo.mmdoc-demo--caisse .mmdoc-demo-panel.is-active,
  .mmdoc-demo.mmdoc-demo--editor .mmdoc-demo-stage,
  .mmdoc-demo.mmdoc-demo--editor .mmdoc-demo-panel.is-active {
    overflow: hidden;
    max-width: 100%;
  }

  .mmdoc-demo-live {
    max-height: none;
  }

  .mmdoc-demo-head {
    flex-direction: column;
    align-items: stretch;
  }

  .mmdoc-demo-note--inline {
    width: 100%;
    justify-content: space-between;
  }

  .mmdoc-demo-nav {
    gap: 0.28rem;
    padding: 0.32rem;
  }

  .mmdoc-demo-nav-item,
  .mmdoc-demo-nav button[data-mmdoc-screen] {
    flex: 0 0 auto;
    padding: 0.34rem 0.38rem;
    font-size: 0.58rem;
  }

  .mmdoc-demo-frame {
    min-height: min(68vh, 580px);
    height: min(68vh, 580px);
    border-radius: 14px;
  }

  .mmdoc-demo-frame[data-mmdoc-frame="editor"] {
    min-height: min(72vh, 640px);
    height: min(72vh, 640px);
  }

  .mmdoc-demo-frame[data-mmdoc-frame="menu"] {
    min-height: min(70vh, 600px);
    height: min(70vh, 600px);
  }

  .mmdoc-demo-frame[data-mmdoc-frame="delivery"] {
    min-height: min(78vh, 720px);
    height: min(78vh, 720px);
  }

  .mmdoc-demo-frame[data-mmdoc-frame="caisse"] {
    min-height: min(78vh, 680px);
    height: min(78vh, 680px);
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }

  .mmdoc-demo-frame[data-mmdoc-frame="accounting"] {
    min-height: min(92vh, 1100px);
    height: min(92vh, 1100px);
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }

  .mmdoc-demo-dashboard-card {
    max-width: none;
  }

  .mmdoc-shot-accounting {
    grid-template-columns: 1fr;
  }

  .mmdoc-shot-qr {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .mmdoc-demo {
    padding: 1rem;
    border-radius: 18px;
  }

  .mmdoc-demo-nav {
    gap: 0.24rem;
  }

  .mmdoc-demo-nav-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .mmdoc-demo-nav-icon svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .mmdoc-demo-frame {
    min-height: min(62vh, 500px);
    height: min(62vh, 500px);
  }

  .mmdoc-demo-frame[data-mmdoc-frame="editor"] {
    min-height: min(65vh, 520px);
    height: min(65vh, 520px);
  }

  .mmdoc-demo-frame[data-mmdoc-frame="caisse"] {
    min-height: min(72vh, 560px);
    height: min(72vh, 560px);
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }

  .mmdoc-demo-frame[data-mmdoc-frame="accounting"] {
    min-height: 720px;
    height: 720px;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }

  .mmdoc-demo-dashboard-card .menu-dashboard-actions {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .mmdoc-demo-dashboard-card .menu-dashboard-btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.5rem;
    min-height: 34px;
  }

  .mmdoc-demo-dashboard-card .menu-dashboard-btn--primary {
    grid-column: 1 / -1;
  }

  .mmdoc-device-screen {
    min-height: 480px;
  }

  .mmdoc-editor-row {
    grid-template-columns: 8px 1fr;
  }

  .mmdoc-editor-row label:last-of-type {
    grid-column: 2;
  }
}

/* ===== Démo — modal PIN (styles alignés sur mmpos-pin) ===== */
.mmdoc-pin-modal.mmpos-pin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
}

.mmdoc-pin-modal.mmpos-pin-modal-backdrop.is-open {
  display: flex !important;
}

.mmdoc-pin-modal.mmpos-pin-modal-backdrop[hidden]:not(.is-open) {
  display: none !important;
}

.mmdoc-pin-modal .mmpos-pin-modal-card {
  width: min(100%, 24rem);
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.mmdoc-pin-modal .mmpos-pin-modal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.mmdoc-pin-modal .mmpos-pin-modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #0f172a;
}

.mmdoc-pin-modal .mmpos-pin-modal-lead {
  margin: 0 0 1.25rem;
  color: #475569;
  line-height: 1.5;
}

.mmdoc-pin-modal .mmpos-pin-modal-form {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.mmdoc-pin-modal .mmpos-pin-modal-field {
  display: block;
}

.mmdoc-pin-modal .mmpos-pin-modal-field span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.mmdoc-pin-modal .mmpos-pin-modal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.mmdoc-pin-modal .mmpos-pin-modal-input:focus {
  outline: none;
  border-color: #ff8500;
  box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.18);
}

.mmdoc-pin-modal .mmpos-pin-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.mmdoc-pin-modal .mmpos-pin-modal-save,
.mmdoc-pin-modal .mmpos-pin-modal-remove,
.mmdoc-pin-modal .mmpos-pin-modal-cancel {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.mmdoc-pin-modal .mmpos-pin-modal-save {
  border: 0;
  background: #ff8500;
  color: #fff;
}

.mmdoc-pin-modal .mmpos-pin-modal-cancel {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.mmdoc-pin-modal .mmpos-pin-modal-remove {
  border: 1px solid #fecaca;
  background: #fff5f5;
  color: #b91c1c;
}

.mmdoc-pin-modal .mmpos-pin-modal-remove[hidden] {
  display: none;
}

.mmdoc-pin-modal .mmpos-pin-modal-error {
  margin: 0.85rem 0 0;
  color: #b91c1c;
  font-size: 0.875rem;
}

/* ===== Page démo indépendante (même widget que la documentation) ===== */
.mmdemo-page {
  padding-bottom: 0;
}

.mmdemo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) 0 clamp(1.5rem, 3.5vw, 2.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(255, 133, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 18%, rgba(232, 93, 4, 0.1), transparent 52%),
    linear-gradient(180deg, #fff7ed 0%, #fffaf5 55%, #ffffff 100%);
  border-bottom: 1px solid rgba(255, 133, 0, 0.14);
}

.mmdemo-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mmdemo-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 247, 237, 0.92) 0%, rgba(255, 250, 245, 0.78) 42%, rgba(255, 250, 245, 0.42) 68%, rgba(255, 250, 245, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 247, 237, 0.55) 0%, rgba(255, 250, 245, 0.2) 45%, rgba(255, 255, 255, 0.82) 100%);
}

.mmdemo-hero-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.mmdemo-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem 1.5rem;
  justify-items: start;
  text-align: start;
  max-width: 40rem;
}

.mmdemo-hero-brand {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
}

.mmdemo-hero-logo {
  display: block;
  height: clamp(42px, 7vw, 56px);
  width: auto;
  max-width: min(280px, 78vw);
  object-fit: contain;
}

.mmdemo-hero-wordmark,
.mmdemo-hero-slogan,
.mmdemo-hero-copy h1,
.mmdemo-hero-copy .home-badge {
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    -2px 0 0 #fff,
    2px 0 0 #fff,
    0 -2px 0 #fff,
    0 2px 0 #fff,
    0 0 10px rgba(255, 255, 255, 0.9);
}

.mmdemo-hero-wordmark {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #6b2e00;
}

.mmdemo-hero-slogan {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c2410c;
}

.mmdemo-hero-copy {
  display: grid;
  gap: 0.4rem;
  justify-items: start;
  max-width: 40rem;
}

.mmdemo-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.2;
  color: var(--secondary, #6b2e00);
  font-weight: 800;
}

.mmdemo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-start;
}

html[dir="rtl"] .mmdemo-hero-media-img,
.mmsaas-i18n-rtl .mmdemo-hero-media-img {
  object-position: 38% center;
}

html[dir="rtl"] .mmdemo-hero-media::after,
.mmsaas-i18n-rtl .mmdemo-hero-media::after {
  background:
    linear-gradient(270deg, rgba(255, 247, 237, 0.92) 0%, rgba(255, 250, 245, 0.78) 42%, rgba(255, 250, 245, 0.42) 68%, rgba(255, 250, 245, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 247, 237, 0.55) 0%, rgba(255, 250, 245, 0.2) 45%, rgba(255, 255, 255, 0.82) 100%);
}

@media (max-width: 720px) {
  .mmdemo-hero {
    min-height: min(58vh, 28rem);
    display: flex;
    align-items: flex-start;
    padding-top: clamp(1.1rem, 4vw, 1.75rem);
    padding-bottom: 1.35rem;
  }

  .mmdemo-hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 247, 237, 0.72) 0%, rgba(255, 250, 245, 0.45) 42%, rgba(255, 255, 255, 0.9) 100%);
  }

  .mmdemo-hero-inner {
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  .mmdemo-hero-brand,
  .mmdemo-hero-copy {
    justify-items: center;
  }

  .mmdemo-hero-actions {
    justify-content: center;
  }
}

.mmdemo-stage {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.mmdemo-page .mmdoc-demo {
  margin-bottom: 0;
}

.mmdemo-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 250, 245, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 133, 0, 0.18);
  box-shadow: 0 -10px 28px rgba(107, 46, 0, 0.08);
}

.mmdemo-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.mmdemo-cta-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.mmdemo-cta-copy strong {
  color: var(--secondary, #6b2e00);
  font-size: 0.98rem;
}

.mmdemo-cta-copy span {
  color: var(--muted, #64748b);
  font-size: 0.86rem;
}

.mmdemo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.mmdemo-cta-btn {
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-color: rgba(107, 46, 0, 0.22);
  color: var(--secondary, #6b2e00);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.mmdemo-cta-btn:hover {
  background: rgba(255, 133, 0, 0.08);
  border-color: rgba(255, 133, 0, 0.35);
  color: var(--secondary, #6b2e00);
}

@media (max-width: 640px) {
  .mmdemo-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .mmdemo-cta-actions {
    justify-content: flex-end;
  }

  .mmdemo-cta-actions .mmdemo-cta-btn {
    align-self: flex-end;
    text-align: center;
  }
}

/* ===== Page /demo — menu client Le Patio immersif ===== */
body.mmdemo-patio-immersive {
  background: #0f172a;
}

.mmdemo-patio {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #f8fafc;
}

.mmdemo-patio-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.7rem max(1rem, env(safe-area-inset-right)) 0.7rem max(1rem, env(safe-area-inset-left));
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.mmdemo-patio-bar-brand {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.mmdemo-patio-bar-brand strong {
  color: #6b2e00;
  font-size: 1rem;
}

.mmdemo-patio-bar-brand span {
  color: #64748b;
  font-size: 0.78rem;
}

.mmdemo-patio-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.mmdemo-patio-bar-actions .btn-sm,
.mmdoc-btn-whatsapp--sm {
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.mmdemo-patio-frame-wrap {
  min-height: 0;
  background: #e2e8f0;
}

.mmdemo-patio-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(78vh, 820px);
  border: 0;
  background: #fff;
}

.mmdemo-patio-empty {
  display: grid;
  place-items: center;
  gap: 1rem;
  min-height: 60vh;
  padding: 2rem;
  text-align: center;
  color: #475569;
}

.mmdemo-patio-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding: 0.85rem max(1rem, env(safe-area-inset-right)) calc(0.85rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left));
  background: rgba(255, 250, 245, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 133, 0, 0.18);
  box-shadow: 0 -10px 28px rgba(107, 46, 0, 0.08);
}

.mmdemo-patio-cta-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.mmdemo-patio-cta-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.mmdemo-patio-cta-copy strong {
  color: #6b2e00;
  font-size: 0.95rem;
}

.mmdemo-patio-cta-copy span {
  color: #64748b;
  font-size: 0.84rem;
}

.mmdemo-patio-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (max-width: 640px) {
  .mmdemo-patio-bar {
    padding-top: 0.85rem;
  }

  .mmdemo-patio-bar-actions,
  .mmdemo-patio-cta-actions {
    width: 100%;
  }

  .mmdemo-patio-bar-actions .btn,
  .mmdemo-patio-bar-actions .mmdoc-btn-whatsapp,
  .mmdemo-patio-cta-actions .btn,
  .mmdemo-patio-cta-actions .mmdoc-btn-whatsapp {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }

  .mmdemo-patio-frame {
    min-height: calc(100dvh - 11.5rem);
  }
}

@media (min-width: 900px) {
  .mmdemo-patio-frame {
    min-height: calc(100dvh - 8.5rem);
  }
}
