/* Demo MM Kiosk page — same design language as Delivery, split layout */

/* Shared app-page controls (match Delivery) */
.mm-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}

a.mm-app-btn,
a.mm-app-btn:hover,
a.mm-app-btn:focus,
a.mm-app-btn:active {
    text-decoration: none;
}

.mm-app-btn--primary {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color, var(--primary-color)) 100%
    );
    color: #141210;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.18);
}

a.mm-app-btn--primary,
a.mm-app-btn--primary:hover {
    color: #141210;
}

.mm-app-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.mm-app-btn--ghost {
    background: rgba(255, 255, 255, 0.85);
    color: #2a2420;
    border: 1px solid color-mix(in srgb, var(--primary-color) 35%, rgba(0, 0, 0, 0.12));
}

a.mm-app-btn--ghost,
a.mm-app-btn--ghost:hover {
    color: #2a2420;
}

.mm-app-btn--ghost:hover {
    background: #ffffff;
    border-color: color-mix(in srgb, var(--primary-color) 55%, transparent);
}

.mm-app-section-head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.mm-app-section-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.mm-app-section-head p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.72);
}

/* Split hero (layout difference vs Delivery centered hero) */
.mm-kiosk-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 3.25rem;
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
}

.mm-kiosk-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 110% 80% at 85% 10%,
            color-mix(in srgb, var(--primary-color) 16%, #fff) 0%,
            transparent 55%
        ),
        linear-gradient(
            165deg,
            color-mix(in srgb, var(--secondary-color, var(--yellow)) 10%, #fffefb) 0%,
            #faf6f2 100%
        );
}

.mm-kiosk-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(42px);
    pointer-events: none;
}

.mm-kiosk-hero-orb--a {
    width: min(46vw, 24rem);
    height: min(46vw, 24rem);
    top: -18%;
    left: -8%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--secondary-color, var(--yellow)) 50%, transparent),
        transparent 70%
    );
    opacity: 0.55;
    animation: mm-kiosk-orb-a 22s ease-in-out infinite;
}

.mm-kiosk-hero-orb--b {
    width: min(42vw, 22rem);
    height: min(42vw, 22rem);
    bottom: -22%;
    right: -6%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--primary-color) 55%, transparent),
        transparent 70%
    );
    opacity: 0.65;
    animation: mm-kiosk-orb-b 26s ease-in-out infinite;
}

@keyframes mm-kiosk-orb-a {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(6%, 8%, 0);
    }
}

@keyframes mm-kiosk-orb-b {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-8%, -5%, 0);
    }
}

.mm-kiosk-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    justify-items: center;
    max-width: 54rem;
    margin: 0 auto;
}

.mm-kiosk-hero-copy {
    text-align: center;
    width: 100%;
}

.mm-kiosk-hero-brand-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.mm-kiosk-hero-logo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--primary-color) 22%, transparent);
}

.mm-kiosk-hero-brand-row span {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.mm-kiosk-hero-copy h1 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #1a1a1a;
}

.mm-kiosk-hero-lead {
    margin: 0 auto 1.4rem;
    max-width: 36rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.78);
}

.mm-kiosk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.mm-kiosk-hero-media {
    margin: 0;
    width: 100%;
    max-width: 36rem;
}

.mm-kiosk-tablet {
    margin: 0 auto;
    padding: 0.7rem 0.7rem 0.55rem;
    border-radius: 1.35rem;
    background: linear-gradient(160deg, #2a2420 0%, #141210 100%);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mm-kiosk-tablet-cam {
    display: block;
    width: 0.42rem;
    height: 0.42rem;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: #3a3530;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.mm-kiosk-tablet-screen {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0.55rem;
    box-shadow: none;
    background: #f4f5f7;
}

.mm-kiosk-tablet-home {
    display: block;
    width: 3.25rem;
    height: 0.28rem;
    margin: 0.5rem auto 0.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.mm-kiosk-hero-media figcaption {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    text-align: center;
    color: rgba(42, 36, 32, 0.58);
}

/* Status flow preview lives in mm_kiosk_client_preview.css */

.mm-kiosk-flow {
    padding: 3rem 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mm-kiosk-flow-note {
    margin: 1.35rem auto 0;
    max-width: 40rem;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.68);
}

.mm-kiosk-flow-note strong {
    color: #1a1a1a;
}

/* Split content band */
.mm-kiosk-split {
    padding: 3rem 0;
    background: linear-gradient(
        180deg,
        #f7f4f0 0%,
        color-mix(in srgb, var(--primary-color) 5%, #faf6f2) 100%
    );
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mm-kiosk-split-row {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 860px) {
    .mm-kiosk-split-row {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
        gap: 2rem;
    }
}

.mm-kiosk-split-text h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.mm-kiosk-split-text > p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.78);
}

.mm-kiosk-bullets {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-kiosk-bullets li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.15rem;
    font-size: 0.98rem;
    line-height: 1.45;
    color: rgba(26, 26, 26, 0.8);
}

.mm-kiosk-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--primary-color);
}

.mm-kiosk-callout {
    padding: 1.35rem 1.25rem;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, transparent);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.mm-kiosk-callout-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.mm-kiosk-callout > p:last-child {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.78);
}

/* Feature list — same language as Delivery features */
.mm-kiosk-tools {
    padding: 3rem 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mm-kiosk-feature-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 52rem;
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 720px) {
    .mm-kiosk-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.75rem;
    }
}

.mm-kiosk-feature-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.mm-kiosk-feature-list i {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

.mm-kiosk-feature-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.mm-kiosk-feature-list span {
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.72);
}

/* Closing CTA — same centered card as Delivery */
.mm-kiosk-close {
    padding: 3rem 0 3.75rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--secondary-color, var(--primary-color)) 8%, #faf6f2) 0%,
        #f5f1ed 100%
    );
}

.mm-kiosk-close-inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.mm-kiosk-close-inner h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: #1a1a1a;
}

.mm-kiosk-close-inner > p {
    margin: 0 0 1.35rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.78);
}

.mm-kiosk-close-inner .mm-kiosk-actions {
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    .mm-kiosk-hero-orb--a,
    .mm-kiosk-hero-orb--b {
        animation: none;
    }
}
