/* Maia Kiosk global navigation v0.33.0 */
body.vmk-kiosk-header{--vmk-header-h:163px;--vmk-brown:#6d4333;}
body.vmk-kiosk-header #header-grid,body.vmk-kiosk-header header.header,body.vmk-kiosk-header .header-main{display:none!important;}
.vmk-kiosk-headerbar{height:163px;min-height:163px;display:flex;align-items:center;justify-content:space-between;padding:0 26px 0 42px;background:var(--vmk-brown);color:#fff;position:relative;z-index:10020;box-sizing:border-box;box-shadow:none;}
.vmk-kiosk-logo{display:flex;align-items:center;height:100%;min-width:0;padding:18px 0;box-sizing:border-box;}
.vmk-kiosk-logo img{display:block;max-height:112px;max-width:360px;width:auto;object-fit:contain;}
.vmk-kiosk-actions{height:100%;display:flex;align-items:stretch;margin-left:auto;}
.vmk-kiosk-action{appearance:none;border:0;border:0;background:transparent;color:#fff;text-decoration:none!important;display:flex;align-items:center;justify-content:center;gap:14px;min-width:150px;height:100%;padding:0 30px;box-sizing:border-box;font:700 25px/1 Poppins,Arial,sans-serif;cursor:pointer;touch-action:manipulation;}
.vmk-kiosk-action:hover,.vmk-kiosk-action:focus-visible{background:rgba(255,255,255,.08);color:#fff;}
.vmk-kiosk-action:active{background:rgba(0,0,0,.12);}
.vmk-kiosk-back{min-width:205px;}
.vmk-kiosk-home{min-width:120px;padding:0 24px;}
.vmk-kiosk-menu-toggle{min-width:120px;padding:0 28px;}
.vmk-kiosk-action-icon{width:36px;height:36px;display:grid;place-items:center;line-height:1;}
.vmk-kiosk-action-icon svg{display:block;width:34px;height:34px;stroke:currentColor;}
.vmk-kiosk-chevron svg{width:25px;height:25px;}
.vmk-kiosk-hamb{width:42px;height:30px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .25s ease;}
.vmk-kiosk-hamb i{display:block;width:100%;height:4px;border-radius:4px;background:currentColor;transform-origin:center;transition:transform .25s ease,opacity .18s ease;}
.vmk-kiosk-menu-toggle.is-open .vmk-kiosk-hamb i:nth-child(1){transform:translateY(13px) rotate(45deg);}
.vmk-kiosk-menu-toggle.is-open .vmk-kiosk-hamb i:nth-child(2){opacity:0;}
.vmk-kiosk-menu-toggle.is-open .vmk-kiosk-hamb i:nth-child(3){transform:translateY(-13px) rotate(-45deg);}
.vmk-kiosk-menu-panel{position:fixed;z-index:10010;left:0;right:0;top:163px;padding:34px 38px 42px;background:var(--vmk-brown);box-shadow:0 22px 50px rgba(0,0,0,.22);transform:translateY(-110%);opacity:0;visibility:hidden;transition:transform .34s cubic-bezier(.2,.75,.25,1),opacity .25s ease,visibility .34s;}
.vmk-kiosk-menu-panel.is-open{transform:none;opacity:1;visibility:visible;}
.vmk-kiosk-menu-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;}
.vmk-kiosk-menu-card{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;border-radius:20px;background:#e9e1dc;text-decoration:none!important;box-shadow:0 4px 16px rgba(0,0,0,.14);}
.vmk-kiosk-menu-card img{display:block;width:100%;height:100%;object-fit:cover;}
.vmk-kiosk-menu-card:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.82));}
.vmk-kiosk-menu-card span{position:absolute;z-index:2;left:18px;right:18px;bottom:16px;color:#fff;font:700 22px/1.05 Poppins,Arial,sans-serif;}
.vmk-kiosk-menu-card.is-current{outline:6px solid #fff;outline-offset:-6px;}
.vmk-kiosk-menu-card.is-disabled{pointer-events:none;filter:saturate(.45);}
.vmk-kiosk-menu-card.is-disabled img{opacity:.48;}.vmk-kiosk-menu-card.is-disabled span{opacity:.72;}
body.vmk-kiosk-menu-open{overflow:hidden!important;}
@media (prefers-reduced-motion:reduce){.vmk-kiosk-menu-panel,.vmk-kiosk-hamb i{transition:none!important;}}

/* v0.34 — clean touch header */
.vmk-kiosk-headerbar{border:0!important;outline:0!important;box-shadow:none!important;}
.vmk-kiosk-actions,.vmk-kiosk-action{border:0!important;outline:0;box-shadow:none!important;}
.vmk-kiosk-action{min-width:112px;padding:0 24px;}
.vmk-kiosk-back{min-width:142px;margin-right:42px;padding:0 24px;}
.vmk-kiosk-back .vmk-kiosk-chevron{width:64px;height:64px;border:3px solid rgba(255,255,255,.9);border-radius:50%;display:grid;place-items:center;}
.vmk-kiosk-back .vmk-kiosk-chevron svg{width:30px;height:30px;}
.vmk-kiosk-home{min-width:112px;padding:0 22px;}
.vmk-kiosk-menu-toggle{min-width:112px;padding:0 24px;}
.vmk-kiosk-contactless{margin-left:auto;margin-right:28px;display:flex;align-items:center;gap:12px;color:#fff;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease;white-space:nowrap;font:600 19px/1 Poppins,Arial,sans-serif;}
.vmk-kiosk-contactless.is-visible{opacity:.88;visibility:visible;animation:vmkHeaderCue 1.8s ease-in-out infinite;}
.vmk-kiosk-contactless svg{width:42px;height:42px;display:block;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
@keyframes vmkHeaderCue{0%,100%{opacity:.52}50%{opacity:1}}

/* v0.35 — one-piece header, no seams */
:root{--vmk-live-header-h:163px;}
.vmk-kiosk-headerbar{
    height:var(--vmk-live-header-h)!important;min-height:var(--vmk-live-header-h)!important;max-height:var(--vmk-live-header-h)!important;
    margin:0!important;border:0!important;outline:0!important;box-shadow:none!important;
}
.vmk-kiosk-logo,.vmk-kiosk-actions,.vmk-kiosk-action,.vmk-kiosk-contactless{
    border:0!important;outline:0!important;box-shadow:none!important;
}
.vmk-kiosk-menu-panel{top:var(--vmk-live-header-h)!important;border:0!important;outline:0!important;}

/* v0.36 — compact 140px touch header */
:root{--vmk-live-header-h:140px;}
body.vmk-kiosk-header{--vmk-header-h:140px;}
.vmk-kiosk-headerbar{
    height:140px!important;min-height:140px!important;max-height:140px!important;
    padding-top:0!important;padding-bottom:0!important;border:0!important;outline:0!important;box-shadow:none!important;
}
.vmk-kiosk-logo{padding-top:12px!important;padding-bottom:12px!important;}
.vmk-kiosk-logo img{max-height:100px!important;}
.vmk-kiosk-menu-panel{top:140px!important;}
.vmk-kiosk-contactless{display:flex!important;opacity:0;visibility:hidden;}
.vmk-kiosk-contactless.is-visible{opacity:.9!important;visibility:visible!important;}
/* v0.40 — minimal contactless cue + soft screen navigation */
body.vmk-kiosk-header{animation:vmkPageIn .18s ease-out both;transition:opacity .13s ease;}
body.vmk-kiosk-header.vmk-page-leaving{opacity:.25;}
@keyframes vmkPageIn{from{opacity:.25}to{opacity:1}}
.vmk-kiosk-contactless svg{width:30px!important;height:30px!important;stroke-width:1.7!important;}
body.vmk-category-home .vmk-kiosk-actions .vmk-kiosk-back,body.vmk-category-home .vmk-kiosk-actions .vmk-kiosk-home{display:none!important;}

/* v0.42 — el marrón siempre procede del tema y la barra ocupa el ancho real */
body.vmk-kiosk-header{--vmk-brown:var(--nv-dark-bg);}
.vmk-kiosk-headerbar{
    width:100vw!important;max-width:none!important;left:0!important;right:0!important;
    background:var(--nv-dark-bg)!important;
}
.vmk-kiosk-menu-panel{width:100vw!important;max-width:none!important;background:var(--nv-dark-bg)!important;}
.vmk-kiosk-menu-card span{text-transform:uppercase!important;}


/* v0.42.2 — ergonomia de kiosk: enrere a l'esquerra + cue de sistema */
body.vmk-kiosk-header,
body.vmk-kiosk-header *{
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
}
.vmk-kiosk-contactless{
    font-size:14px!important;
    line-height:1!important;
    letter-spacing:.09em!important;
    font-weight:600!important;
    gap:10px!important;
}
.vmk-kiosk-contactless .vmk-system-hand{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:42px!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Symbol","Apple Symbols",sans-serif!important;
    font-size:35px!important;
    line-height:1!important;
    font-weight:400!important;
    letter-spacing:0!important;
    color:currentColor!important;
}
/* A totes les pantalles interiors el botó enrere ocupa la referència horitzontal
   del sidebar (23% de l'àrea útil) i queda enganxat al seu cantell dret. */
body:not(.vmk-category-home) .vmk-kiosk-back{
    position:absolute!important;
    z-index:3!important;
    left:18px!important;
    width:calc((100vw - 36px) * .23)!important;
    min-width:0!important;
    height:100%!important;
    margin:0!important;
    padding:0 0 0 0!important;
    justify-content:flex-end!important;
}
body:not(.vmk-category-home) .vmk-kiosk-back .vmk-kiosk-chevron{
    margin-right:0!important;
}
