/* FyneenPOS */
:root { --fy-primary: #0d6efd; }
[x-cloak] { display: none !important; }
.brand { font-weight: 700; color: #1f2937; letter-spacing: -.02em; }
.brand span { color: var(--fy-primary); }
.table > :not(caption) > * > * { padding: .6rem .75rem; }

/* Kasir */
.pos-body { overflow: hidden; }
.pos-shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.pos-header { height: 56px; background: #fff; border-bottom: 1px solid #e5e7eb; flex-shrink: 0; }
.pos-main { flex: 1; display: grid; grid-template-columns: 1fr 380px; min-height: 0; }
.pos-menu { overflow-y: auto; }
.pos-cart { background: #fff; border-left: 1px solid #e5e7eb; min-height: 0; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.pos-item { position: relative; display: flex; flex-direction: column; justify-content: space-between; text-align: left;
    min-height: 92px; padding: .75rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .6rem; transition: border-color .15s, box-shadow .15s; }
.pos-item:hover { border-color: var(--fy-primary); box-shadow: 0 2px 8px rgba(13,110,253,.12); }
.pos-item:active { transform: scale(.98); }
.pos-item-name { font-weight: 600; line-height: 1.25; }
.pos-item-price { color: #6b7280; font-size: .9rem; margin-top: .5rem; }
.pos-item-qty { position: absolute; top: -8px; right: -8px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px;
    background: var(--fy-primary); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pos-modal { position: fixed; inset: 0; background: rgba(17,24,39,.5); display: flex; align-items: center; justify-content: center; z-index: 1050; padding: 1rem; }
.pos-modal-card { width: 100%; max-width: 440px; border: 0; }
.pos-toast { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); background: #111827; color: #fff;
    padding: .7rem 1rem; border-radius: .5rem; z-index: 1060; max-width: 90vw; }

@media (max-width: 991.98px) {
    .pos-body { overflow: auto; }
    .pos-shell { height: auto; min-height: 100vh; }
    .pos-main { grid-template-columns: 1fr; }
    .pos-cart { border-left: 0; border-top: 1px solid #e5e7eb; }
}
