/* Vanti – Maia Kiosk UI 0.9.0 | Sólo portada / Tienda */
body.vmk-category-home{
    --vmk-gap:34px;
    --vmk-radius:18px;
    --vmk-brown:#5a2d1c;
}

body.vmk-category-home .woocommerce-products-header,
body.vmk-category-home .nv-bc-count-wrap,
body.vmk-category-home .nv-woo-filters,
body.vmk-category-home .woocommerce-ordering,
body.vmk-category-home .woocommerce-result-count,
body.vmk-category-home main ul.products,
body.vmk-category-home .woocommerce-pagination,
body.vmk-category-home #scroll-to-top,
body.vmk-category-home #site-footer{display:none!important;}

body.vmk-category-home .shop-container,
body.vmk-category-home .nv-shop,
body.vmk-category-home main .container{width:100%!important;max-width:none!important;}
body.vmk-category-home .shop-container{padding-left:4%!important;padding-right:4%!important;}

body.vmk-category-home .vmk-home-shell{width:100%;padding-bottom:70px;}
body.vmk-category-home .vmk-category-home-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:var(--vmk-gap);
    width:100%;margin:0;padding:0;
}
body.vmk-category-home .vmk-category-card{
    position:relative;display:block;overflow:hidden;aspect-ratio:1.35/1;min-width:0;
    border-radius:var(--vmk-radius);background:#ece8e5;text-decoration:none!important;isolation:isolate;
}
body.vmk-category-home .vmk-category-card img{
    position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;
    object-fit:cover!important;margin:0!important;transform:scale(1.001);
}
body.vmk-category-home .vmk-category-overlay{
    position:absolute;inset:38% 0 0;z-index:1;
    background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.72));pointer-events:none;
}
body.vmk-category-home .vmk-category-card strong{
    position:absolute;z-index:2;left:7%;right:7%;bottom:7%;color:#fff;
    font-size:clamp(34px,2.15vw,62px);font-weight:700;line-height:1.05;text-align:left;
    text-shadow:0 2px 12px rgba(0,0,0,.24);
}

/* Showcase 0.7: 4:3 + más aire + CTA táctil animado + selector 6 columnas. */
body.vmk-category-home .vmk-showcase{
    position:relative;width:100%;margin-top:72px;
    border-radius:var(--vmk-radius);background:#eee;isolation:isolate;
}
body.vmk-category-home .vmk-showcase-track{
    position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;
    border-radius:var(--vmk-radius);
}
body.vmk-category-home .vmk-showcase-slide{
    position:absolute;inset:0;display:block;opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .8s ease,visibility .8s ease;text-decoration:none!important;color:#fff!important;
}
body.vmk-category-home .vmk-showcase-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2;}
body.vmk-category-home .vmk-showcase-slide img{
    position:absolute;inset:-2%;width:104%!important;height:104%!important;max-width:none!important;
    object-fit:cover!important;margin:0!important;transform:scale(1);transition:transform 6s ease-out;
}
body.vmk-category-home .vmk-showcase-slide.is-active img{transform:scale(1.045);}
body.vmk-category-home .vmk-showcase-shade{
    position:absolute;inset:0;z-index:1;pointer-events:none;
    background:linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.22) 34%,rgba(0,0,0,0) 62%);
}
body.vmk-category-home .vmk-showcase-copy{
    position:absolute;z-index:3;left:5%;right:5%;bottom:6%;display:grid;grid-template-columns:1fr auto;
    align-items:end;column-gap:40px;color:#fff;
}
body.vmk-category-home .vmk-showcase-kicker{
    grid-column:1/-1;margin-bottom:16px;font-size:clamp(24px,1.25vw,38px);font-weight:600;
    letter-spacing:.08em;text-transform:uppercase;opacity:.9;
}
body.vmk-category-home .vmk-showcase-copy strong{
    max-width:80%;font-size:clamp(48px,3.4vw,92px);line-height:.98;font-weight:700;color:#fff;
    text-shadow:0 3px 18px rgba(0,0,0,.22);
}
body.vmk-category-home .vmk-showcase-arrow{
    display:grid;place-items:center;width:110px;height:110px;border:3px solid rgba(255,255,255,.9);
    border-radius:999px;font-size:58px;line-height:1;color:#fff;
}
body.vmk-category-home .vmk-showcase-cta{
    display:flex;align-items:center;gap:24px;justify-self:end;
}
body.vmk-category-home .vmk-showcase-hint{
    font-size:clamp(24px,1.25vw,38px);font-weight:700;line-height:1.1;white-space:nowrap;color:#fff;
    text-shadow:0 2px 12px rgba(0,0,0,.3);animation:vmkHintPulse 1.65s ease-in-out infinite;
}
@keyframes vmkHintPulse{
    0%,100%{opacity:.38;transform:translateX(0);}
    50%{opacity:1;transform:translateX(8px);}
}
body.vmk-category-home .vmk-showcase-thumbs{
    display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;
    width:100%;padding:22px 0 0;margin:0;
}
body.vmk-category-home .vmk-showcase-thumb{
    appearance:none;position:relative;display:block;width:100%;aspect-ratio:1/1;padding:0;
    overflow:hidden;border:5px solid transparent!important;border-radius:12px;background:#eee!important;
    box-shadow:none!important;cursor:pointer;transition:transform .2s ease,border-color .2s ease,opacity .2s ease;
    opacity:.72;
}
body.vmk-category-home .vmk-showcase-thumb img{
    display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;margin:0!important;
}
body.vmk-category-home .vmk-showcase-thumb.is-active{
    border-color:var(--vmk-brown)!important;opacity:1;transform:scale(.97);
}
body.vmk-category-home .vmk-showcase-thumb:focus-visible{outline:6px solid rgba(90,45,28,.28);outline-offset:4px;}

/* El kiosk intenta cerrar toda la portada dentro de una única pantalla. */
body.vmk-category-home .vmk-home-shell{padding-bottom:34px;}

@media (max-width:1100px){
    body.vmk-category-home{--vmk-gap:20px;}
    body.vmk-category-home .vmk-showcase{margin-top:42px;}
    body.vmk-category-home .vmk-showcase-arrow{width:74px;height:74px;font-size:40px;}
    body.vmk-category-home .vmk-showcase-cta{gap:14px;}
    body.vmk-category-home .vmk-showcase-thumbs{gap:10px;padding-top:14px;}
    body.vmk-category-home .vmk-showcase-thumb{border-width:3px!important;border-radius:8px;}
}

@media (prefers-reduced-motion:reduce){
    body.vmk-category-home .vmk-showcase-slide,
    body.vmk-category-home .vmk-showcase-slide img,
    body.vmk-category-home .vmk-showcase-thumb,
    body.vmk-category-home .vmk-showcase-hint{transition:none!important;animation:none!important;}
}


/* Footer propio de la HOME. Base visual reutilizable para la siguiente pantalla. */
body.vmk-category-home .vmk-home-footer{
    display:flex;align-items:center;justify-content:space-between;gap:72px;
    width:100%;margin-top:76px;padding:58px 68px;
    border:0;background-color:var(--nv-dark-bg);border-radius:var(--vmk-radius);
    color:#fff;
}
body.vmk-category-home .vmk-home-footer-brand{display:flex;align-items:center;gap:72px;min-width:0;}
body.vmk-category-home .vmk-home-footer-logo{
    display:block;width:auto!important;height:132px!important;max-width:420px!important;
    object-fit:contain!important;margin:0!important;border-radius:8px;
}
body.vmk-category-home .vmk-home-footer-name{font-size:48px;color:#fff;}
body.vmk-category-home .vmk-home-footer-orders{
    display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:28px;row-gap:9px;color:#fff;
}
body.vmk-category-home .vmk-home-footer-orders span{font-size:30px;font-weight:600;opacity:.82;}
body.vmk-category-home .vmk-home-footer-orders strong{font-size:46px;line-height:1;font-weight:700;color:#fff;}
body.vmk-category-home .vmk-home-footer-orders small{grid-column:1/-1;font-size:18px;color:#fff;opacity:.48;}
body.vmk-category-home .vmk-home-footer-qr{display:flex;align-items:center;gap:30px;flex:0 0 auto;}
body.vmk-category-home .vmk-home-footer-qr img{
    display:block;width:138px!important;height:138px!important;max-width:none!important;margin:0!important;
    padding:7px;background:#fff;border-radius:10px;
}
body.vmk-category-home .vmk-home-footer-qr span{max-width:210px;font-size:25px;font-weight:600;line-height:1.2;color:#fff;opacity:.88;}

/* Base preparada para reutilizar el mismo cierre Maia en pantallas interiores. */
.vmk-screen-footer{
    background-color:var(--nv-dark-bg);color:#fff;border-radius:var(--vmk-radius,18px);
}

@media (max-width:1100px){
    body.vmk-category-home .vmk-home-footer{margin-top:44px;padding:34px 38px;gap:34px;}
    body.vmk-category-home .vmk-home-footer-brand{gap:34px;}
    body.vmk-category-home .vmk-home-footer-logo{height:84px!important;max-width:270px!important;}
    body.vmk-category-home .vmk-home-footer-orders span{font-size:19px;}
    body.vmk-category-home .vmk-home-footer-orders strong{font-size:30px;}
    body.vmk-category-home .vmk-home-footer-orders small{font-size:12px;}
    body.vmk-category-home .vmk-home-footer-qr{gap:16px;}
    body.vmk-category-home .vmk-home-footer-qr img{width:92px!important;height:92px!important;}
    body.vmk-category-home .vmk-home-footer-qr span{font-size:16px;max-width:140px;}
}
/* v0.31 — home footer phone replaces demo QR */
body.vmk-category-home .vmk-home-footer-orders strong a{color:#fff !important;text-decoration:none !important;}
/* v0.32 — only Catering is interactive during kiosk rollout */
body.vmk-category-home .vmk-category-card.vmk-disabled-category{pointer-events:none;}
body.vmk-category-home .vmk-category-card.vmk-disabled-category img{opacity:.48;filter:saturate(.55);}
/* v0.40 — phone action at the right edge */
body.vmk-category-home .vmk-home-footer-brand{width:100%!important;}
body.vmk-category-home .vmk-home-footer-orders{margin-left:auto!important;display:grid!important;grid-template-columns:auto auto!important;align-items:center!important;column-gap:16px!important;}
body.vmk-category-home .vmk-home-footer-orders .vmk-phone-icon{grid-row:1/3!important;width:44px;height:44px;display:grid;place-items:center;opacity:.9;}
body.vmk-category-home .vmk-home-footer-orders .vmk-phone-icon svg{width:38px;height:38px;display:block;}
body.vmk-category-home .vmk-home-footer-orders .vmk-orders-label{grid-column:2!important;}
body.vmk-category-home .vmk-home-footer-orders strong{grid-column:2!important;}

/* v0.42 — un único marrón de tema, categorías uppercase y cierre full-bleed */
body.vmk-category-home{--vmk-brown:var(--nv-dark-bg);}
body.vmk-category-home .vmk-category-card strong{text-transform:uppercase;}
body.vmk-category-home .vmk-showcase-thumb.is-active{border-color:var(--nv-dark-bg)!important;}
body.vmk-category-home .vmk-home-shell{padding-bottom:0!important;}
body.vmk-category-home .vmk-home-footer{
    width:calc(100% + 8vw)!important;
    max-width:none!important;
    margin-left:-4vw!important;
    margin-right:-4vw!important;
    margin-bottom:0!important;
    border-radius:0!important;
    background:var(--nv-dark-bg)!important;
}
