/*
 * Designed product screens (HTML mockups) used by landings whose product has no public screenshots
 * (All-in-One, State Core). Colours come from --mk-* variables set by each landing theme.
 */
:root {
  --mk-bg: #ffffff;
  --mk-soft: #f1f5f9;
  --mk-line: rgba(15, 23, 42, 0.08);
  --mk-ink: #0f172a;
  --mk-muted: #64748b;
  --mk-primary: #0f766e;
  --mk-accent: #14b8a6;
  --mk-side: #0b1220;
}

[role="img"] { font-size: 13px; line-height: 1.45; }
.mk-pill { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--mk-soft); color: var(--mk-muted); }
.mk-tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; white-space: nowrap; }
.mk-tag--ok { background: #dcfce7; color: #166534; }
.mk-tag--info { background: #e0f2fe; color: #075985; }
.mk-tag--warn { background: #fee2e2; color: #991b1b; }

/* App window with a side bar */
.mk-stage { position: relative; padding-block-end: 28px; }
.mk-app { display: flex; min-height: 360px; background: var(--mk-bg); border-radius: 20px; overflow: hidden; border: 1px solid var(--mk-line); box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35); }
.mk-app__side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px; background: var(--mk-side); }
.mk-app__brand { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--mk-accent), var(--mk-primary)); color: #fff; font-weight: 800; font-size: 11px; margin-block-end: 8px; }
.mk-app__nav { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: rgba(255, 255, 255, 0.55); }
.mk-app__nav .icon { width: 18px; height: 18px; }
.mk-app__nav.is-active { background: rgba(255, 255, 255, 0.12); color: #fff; }
.mk-app__main { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--mk-soft); min-width: 0; }
.mk-app__top { display: flex; align-items: center; justify-content: space-between; color: var(--mk-ink); font-size: 15px; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-kpi { background: var(--mk-bg); border: 1px solid var(--mk-line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mk-kpi span { color: var(--mk-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpi strong { color: var(--mk-ink); font-size: 19px; }
.mk-kpi em { font-style: normal; color: #16a34a; font-size: 11px; font-weight: 700; }
.mk-kpi--warn strong { color: #dc2626; }
.mk-panels { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; flex: 1; }
.mk-panel { background: var(--mk-bg); border: 1px solid var(--mk-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-panel__title { font-weight: 700; color: var(--mk-ink); font-size: 12px; }
.mk-bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 120px; }
.mk-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--mk-accent), var(--mk-primary)); opacity: 0.9; }
.mk-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mk-rows li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--mk-soft); }
.mk-rows span { color: var(--mk-muted); font-size: 11px; }
.mk-rows b { flex: 1; color: var(--mk-ink); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Phone with the digital menu */
.mk-phone { position: absolute; inset-inline-end: -18px; bottom: 0; width: 170px; padding: 8px; border-radius: 30px; background: #0b0f19; box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45); }
.mk-phone--static { position: relative; inset: auto; flex: none; }
.mk-phone__screen { display: flex; flex-direction: column; gap: 8px; padding-block-end: 10px; border-radius: 23px; overflow: hidden; background: #0c0a09; color: #faf7f2; }
.mk-menu__cover { height: 74px; display: flex; align-items: flex-end; padding: 10px; background: radial-gradient(120px 60px at 70% 20%, rgba(232, 184, 109, 0.6), transparent 70%), linear-gradient(135deg, #c45c26, #1a1614); font-weight: 700; }
.mk-menu__tabs { display: flex; gap: 6px; padding-inline: 10px; font-size: 11px; }
.mk-menu__tabs b { padding: 3px 10px; border-radius: 999px; background: #c45c26; }
.mk-menu__tabs span { padding: 3px 10px; border-radius: 999px; background: #1a1614; color: #cbbfb0; }
.mk-menu__item { display: flex; align-items: center; gap: 8px; margin-inline: 10px; padding: 7px; border-radius: 12px; background: #1a1614; font-size: 11px; }
.mk-menu__item i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #e8b86d, #c45c26); flex: none; }
.mk-menu__item span { flex: 1; }
.mk-menu__item b { color: #e8b86d; }
.mk-menu__cta { margin-inline: 10px; padding: 8px; border-radius: 12px; background: #1fa855; text-align: center; font-weight: 700; font-size: 11px; }

/* POS terminal */
.mk-pos { border-radius: 20px; overflow: hidden; background: #0b1220; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.2); box-shadow: 0 30px 80px rgba(2, 6, 23, 0.4); }
.mk-pos__top { display: flex; justify-content: space-between; padding: 10px 16px; background: #111a2e; font-size: 12px; color: #94a3b8; }
.mk-online { color: #4ade80; font-weight: 700; }
.mk-online::before { content: "● "; }
.mk-pos__body { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 380px; }
.mk-pos__catalog { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mk-pos__search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #111a2e; color: #64748b; }
.mk-pos__cats { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.mk-pos__cats b { padding: 4px 12px; border-radius: 999px; background: var(--mk-accent); color: #04201d; }
.mk-pos__cats span { padding: 4px 12px; border-radius: 999px; background: #111a2e; }
.mk-pos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk-pos__tile { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 12px; background: #111a2e; font-size: 11px; }
.mk-pos__tile i { height: 42px; border-radius: 8px; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40) 70% 40%)); }
.mk-pos__tile b { color: var(--mk-accent); }
.mk-pos__cart { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #0f172a; border-inline-start: 1px solid rgba(148, 163, 184, 0.15); }
.mk-pos__customer { font-size: 12px; color: #94a3b8; }
.mk-pos__customer b { color: #e2e8f0; }
.mk-pos__line { display: flex; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #111a2e; font-size: 12px; }
.mk-pos__line span { flex: 1; }
.mk-pos__line em { color: #94a3b8; font-style: normal; }
.mk-pos__totals { display: grid; gap: 4px; margin: auto 0 0; font-size: 12px; }
.mk-pos__totals div { display: flex; justify-content: space-between; color: #94a3b8; }
.mk-pos__totals dd { margin: 0; color: #e2e8f0; }
.mk-pos__grand { padding-block-start: 6px; border-top: 1px dashed rgba(148, 163, 184, 0.3); font-size: 15px; }
.mk-pos__grand dt, .mk-pos__grand dd { color: #fff !important; font-weight: 800; }
.mk-pos__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.mk-pos__actions span, .mk-pos__actions b { padding: 11px; border-radius: 12px; text-align: center; }
.mk-pos__actions span { background: #1e293b; }
.mk-pos__actions b { background: var(--mk-accent); color: #04201d; }

/* Kanban-style board */
.mk-board { border-radius: 20px; background: var(--mk-bg); border: 1px solid var(--mk-line); box-shadow: 0 30px 80px rgba(2, 6, 23, 0.18); padding: 16px; }
.mk-board__head { display: flex; justify-content: space-between; align-items: center; margin-block-end: 12px; color: var(--mk-ink); font-size: 15px; }
.mk-board__stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mk-stage-col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: var(--mk-soft); min-width: 0; min-height: 280px; }
.mk-stage-col__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--mk-ink); padding-block-end: 6px; border-bottom: 3px solid var(--stage, #94a3b8); }
.mk-stage-col__head span { font-weight: 700; color: var(--mk-muted); }
.mk-stage-col--new { --stage: #94a3b8; }
.mk-stage-col--contacted { --stage: #38bdf8; }
.mk-stage-col--proposal { --stage: #a78bfa; }
.mk-stage-col--negotiation { --stage: #f59e0b; }
.mk-stage-col--won { --stage: #22c55e; }
.mk-card { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 12px; background: var(--mk-bg); border: 1px solid var(--mk-line); box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05); }
.mk-card b { color: var(--mk-ink); font-size: 12px; }
.mk-card span { color: var(--mk-primary); font-weight: 700; font-size: 12px; }
.mk-card em { font-style: normal; color: var(--mk-muted); font-size: 10.5px; }

/* Kitchen board */
.mk-kitchen { display: flex; gap: 20px; align-items: center; }
.mk-kitchen__board { flex: 1; min-width: 0; padding: 16px; border-radius: 20px; background: var(--mk-bg); border: 1px solid var(--mk-line); box-shadow: 0 30px 80px rgba(2, 6, 23, 0.18); color: var(--mk-ink); }
.mk-kitchen__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-block-start: 12px; }
.mk-kitchen__col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: var(--mk-soft); min-height: 220px; font-size: 12px; }
.mk-kitchen__col > b { padding-block-end: 6px; border-bottom: 3px solid var(--k, #94a3b8); }
.mk-kitchen__col--accepted { --k: #38bdf8; }
.mk-kitchen__col--preparing { --k: #f59e0b; }
.mk-kitchen__col--ready { --k: #22c55e; }
.mk-ticket { display: flex; flex-direction: column; padding: 8px; border-radius: 10px; background: var(--mk-bg); border: 1px solid var(--mk-line); }
.mk-ticket span { font-weight: 800; }
.mk-ticket em { font-style: normal; color: var(--mk-muted); font-size: 11px; }

/* Generic document / table mockups */
.mk-doc { border-radius: 20px; background: var(--mk-bg); border: 1px solid var(--mk-line); box-shadow: 0 30px 80px rgba(2, 6, 23, 0.18); padding: 18px; color: var(--mk-ink); }
.mk-doc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-block-end: 14px; }
.mk-doc__head strong { font-size: 16px; display: block; }
.mk-doc__head small { color: var(--mk-muted); }
.mk-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.mk-table th { text-align: start; color: var(--mk-muted); font-weight: 600; padding: 8px 10px; background: var(--mk-soft); }
.mk-table th:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
.mk-table th:last-child { border-start-end-radius: 10px; border-end-end-radius: 10px; }
.mk-table td { padding: 9px 10px; border-bottom: 1px solid var(--mk-line); white-space: nowrap; }
.mk-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-block: 12px; }
.mk-steps span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--mk-soft); color: var(--mk-muted); }
.mk-steps span.is-done { background: #dcfce7; color: #166534; }
.mk-steps span.is-current { background: var(--mk-primary); color: #fff; }

@media (max-width: 900px) {
  .mk-kpis { grid-template-columns: repeat(2, 1fr); }
  .mk-panels, .mk-pos__body { grid-template-columns: 1fr; }
  .mk-board__stages { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
  .mk-kitchen { flex-direction: column; }
  .mk-kitchen__cols { grid-template-columns: repeat(2, 1fr); }
  .mk-pos__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .mk-app__side { display: none; }
  .mk-phone { position: relative; inset: auto; margin: -40px auto 0; }
  .mk-stage { padding-block-end: 0; }
  .mk-table { display: block; overflow-x: auto; }
}
