@import url("feature-plus.css");

/* =============================================================================
   Self-Ordering Kiosk page — .kx-* mock internals
   Only the pieces the shared .fp-mk-* / .fx-* vocabulary does not already cover:
   the kiosk attract header, the category chip strip, the item tile grid and the
   customer-facing-display line rows. Everything else reuses the shared classes.
   ========================================================================== */

/* --- Kiosk screen: brand / branch header ---------------------------------- */
.kx-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1.5px solid #f0eaff;
}
.kx-brand-name {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.2px;
}
.kx-brand-branch {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #6f42c1;
    background: #f3e8ff;
    border-radius: 20px;
    padding: 3px 8px;
    white-space: nowrap;
}

/* --- Category chip strip -------------------------------------------------- */
.kx-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.kx-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #675b8a;
    background: #f6f3ff;
    border-radius: 20px;
    padding: 5px 9px;
}
.kx-cat.is-on {
    color: #fff;
    background: linear-gradient(135deg, #6f42c1, #9b5cff);
}

/* --- Item tile grid ------------------------------------------------------- */
.kx-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 4px;
}
.kx-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px 7px;
    border-radius: 10px;
    background: #f9f7ff;
    border: 1.5px solid transparent;
    text-align: center;
}
.kx-tile.is-sel {
    background: #f3e8ff;
    border-color: #6f42c1;
}
.kx-tile-art {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(111,66,193,.12), rgba(155,92,255,.18));
}
.kx-tile-art i { font-size: 15px; color: #6f42c1; line-height: 1; }
.kx-tile-name {
    font-size: 8.5px;
    font-weight: 700;
    color: #374151;
    line-height: 1.25;
}
.kx-tile-price { font-size: 9px; font-weight: 800; color: #6f42c1; }

/* --- Customer-facing display mock: live line feed ------------------------- */
.kx-cfd-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f9f7ff;
    margin-bottom: 5px;
    font-size: 12px;
}
.kx-cfd-line.is-new {
    background: #f3e8ff;
    box-shadow: inset 3px 0 0 #6f42c1;
}
.kx-cfd-item { font-weight: 700; color: #374151; }
.kx-cfd-mod {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    color: #8b83a3;
    margin-top: 2px;
}
.kx-cfd-amt { font-weight: 700; color: #6f42c1; white-space: nowrap; }
.kx-cfd-amt.is-off { color: #dc2626; }

/* --- Small helper: a link that sits under a card grid --------------------- */
.kx-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 4px;
    font-size: 15px;
    font-weight: 700;
    color: #6f42c1;
    text-decoration: none;
}
.kx-more:hover { color: #9333ea; text-decoration: underline; }
.kx-more:focus-visible { outline: 2px solid #6f42c1; outline-offset: 3px; border-radius: 6px; }
.kx-more i { font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
    .kx-more, .kx-tile { transition: none; }
}
