/* ============================================================
   VANDAAG NOG TE KOOP (winkelpot)
   Zwevende knop boven de WhatsApp-knop en een venster met fototegels.
   Alleen tokens; anker: docs/plans/PLAN_WINKELPOT_MOCKUP.html, frames A, B, C.
   ============================================================ */
/* Het hidden-attribuut wint van de display-regels hieronder. */
.vtk[hidden],
.vtk-venster[hidden],
.vtk-waas[hidden] {
    display: none;
}
.vtk-knop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 16px 0 12px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    background: var(--color-background-light);
    color: var(--color-text-accent);
    font: 600 0.875rem var(--font-ui, inherit);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}
.vtk--boven-whatsapp .vtk-knop { bottom: 92px; }
.vtk-knop:focus-visible,
.vtk-sluit:focus-visible,
.vtk-actie:focus-visible {
    outline: 2px solid var(--color-button);
    outline-offset: 2px;
}
/* Groen lampje: knippert rustig, zodat de stand live voelt (keuze productowner 19 nov 2026). */
.vtk-stip {
    flex: none;
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-success);
    animation: vtk-live 2.4s ease-in-out infinite;
}
.vtk-sub .vtk-stip {
    width: 8px;
    height: 8px;
    margin-right: 6px;
    vertical-align: 0;
}
@keyframes vtk-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
    .vtk-stip { animation: none; }
}
.vtk-waas {
    position: fixed;
    inset: 0;
    /* Boven de plakkende kop (100), datumbalk (95), categoriebalk (90) en zoeksuggesties (150);
       onder de cookiemelding (250) en de detailpanelen (300). */
    z-index: 220;
    background: var(--color-text);
    opacity: 0.28;
}
.vtk-venster {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 221;
    display: flex;
    flex-direction: column;
    width: 380px;
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    background: var(--color-background-light);
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
}
.vtk-venster:focus { outline: none; }
.vtk-kop {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 14px 10px;
}
.vtk-titel {
    margin: 0;
    font: 700 1.2rem/1.15 var(--font-heading);
    color: var(--color-text-accent);
}
.vtk-sub {
    margin: 4px 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--color-text-light);
}
.vtk-sluit {
    flex: none;
    width: 44px;
    height: 44px;
    margin: -10px -10px 0 0;
    border: 0;
    background: none;
    color: var(--color-text-light);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.vtk-tegels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: max-content;
    gap: 7px;
    padding: 0 14px 4px;
    overflow: auto;
}
.vtk-tegel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    background: var(--color-surface, var(--color-background-light));
}
.vtk-foto {
    display: block;
    width: 100%;
    height: 64px;
    object-fit: cover;
    background: var(--color-background-dark);
}
.vtk-naam {
    height: 31px;
    margin: 0 0 6px;
    padding: 4px 4px 0;
    overflow: hidden;
    font: 600 0.69rem/1.2 var(--font-body, inherit);
    color: var(--color-text);
    -webkit-hyphens: auto;
    hyphens: auto;
}
.vtk-aantal {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--color-background-light);
    color: var(--color-text);
    font: 700 0.72rem var(--font-ui, inherit);
    box-shadow: var(--shadow-sm);
}
.vtk-aantal--laag {
    background: var(--color-button);
    color: var(--color-text-button);
}
.vtk-acties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 14px 4px;
}
.vtk-acties--een { grid-template-columns: 1fr; }
.vtk-actie {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--color-button);
    border-radius: var(--radius-md);
    background: var(--color-button);
    color: var(--color-text-button);
    font: 600 0.82rem var(--font-ui, inherit);
    text-decoration: none;
}
.vtk-actie--whatsapp {
    border-color: var(--color-success);
    background: var(--color-success);
    color: var(--color-background-light);
}
.vtk-bestel {
    display: block;
    padding: 8px 14px 12px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-accent);
}
/* Knoppen in een rij op dezelfde hoogte, ook als een naam twee regels heeft. */
.vtk-tegels--reserveren .vtk-tegel { display: flex; flex-direction: column; }
.vtk-tegels--reserveren .vtk-kies,
.vtk-tegels--reserveren .vtk-stapper { margin-top: auto; }
.vtk-tegels--reserveren .vtk-prijs { margin-bottom: 6px; }
/* Reserveer direct: drie tegels op een rij, net als zonder reserveren (keuze productowner 19 nov 2026).
   De doelen blijven 44px hoog; de plus en min worden smaller zodat ze op 320px passen. */
.vtk-tegels--reserveren .vtk-naam { height: auto; margin: 0; padding: 6px 6px 0; font-size: 0.78rem; }
.vtk-tegel--gekozen { border: 2px solid var(--color-button); }
.vtk-prijs {
    margin: 2px 0 0;
    padding: 0 6px;
    font: 500 0.78rem var(--font-ui, inherit);
    color: var(--color-text-light);
}
.vtk-kies,
.vtk-stapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 6px;
    border-radius: var(--radius-md);
    font: 600 0.8rem var(--font-ui, inherit);
}
/* Goudkleurige knoppen: de knopkleur van de bakkerij, zoals 'Reserveer direct'. */
.vtk-kies {
    width: calc(100% - 12px);
    border: 0;
    background: var(--color-button);
    color: var(--color-text-button);
    cursor: pointer;
}
.vtk-stapper {
    justify-content: space-between;
    background: var(--color-button);
    color: var(--color-text-button);
}
.vtk-stap {
    width: 32px;
    height: 44px;
    border: 0;
    background: none;
    color: var(--color-text-button);
    font-size: 1.2rem;
    cursor: pointer;
}
.vtk-stap:disabled { opacity: 0.35; cursor: default; }
.vtk-gekozen { font: 700 1rem var(--font-ui, inherit); }
.vtk-reserveer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 12px 14px 14px;
    border-radius: var(--radius-md);
    background: var(--color-button);
    color: var(--color-text-button);
    font: 700 0.95rem var(--font-ui, inherit);
    text-decoration: none;
}
.vtk-andere-dag {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 14px 14px;
    border: 1px solid var(--color-button);
    border-radius: var(--radius-md);
    background: var(--color-background-light);
    color: var(--color-text-accent);
    font: 600 0.88rem var(--font-ui, inherit);
    text-align: center;
    text-decoration: none;
}
.vtk-reserveer + .vtk-andere-dag { margin-top: 0; }
.vtk-tegels + .vtk-andere-dag { margin-top: 12px; }
.vtk-andere-dag:focus-visible,
.vtk-kies:focus-visible,
.vtk-stap:focus-visible,
.vtk-reserveer:focus-visible {
    outline: 2px solid var(--color-button);
    outline-offset: 2px;
}
@media (max-width: 768px) {
    .vtk-knop { right: 16px; bottom: 16px; }
    .vtk--boven-whatsapp .vtk-knop { bottom: 76px; }
    .vtk-venster {
        right: 8px;
        left: 8px;
        bottom: 8px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }
}
@media (max-width: 999px) {
    body.winkel-balk .vtk-knop { bottom: 92px; }
    body.winkel-balk .vtk--boven-whatsapp .vtk-knop { bottom: 152px; }
}
