/* VDM Coffee – coffee.css */

.vdm-coffee {
    margin: 2rem 0;
    border: 2px solid #fde68a;
    border-radius: 14px;
    background: #fffbeb;
    font-family: inherit;
}

.vdm-coffee__inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.vdm-coffee__icon {
    font-size: 2.25rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.vdm-coffee__body {
    flex: 1;
}

.vdm-coffee__title {
    display: block;
    font-size: 15px;
    color: #111827;
    margin-bottom: .25rem;
}

.vdm-coffee__desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 .85rem;
    line-height: 1.5;
}

/* Bedragen */
.vdm-coffee__amounts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.vdm-coffee__btn {
    padding: .45rem 1rem;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    background: #ffffff;
    color: #92400e;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, color .15s, transform .1s;
}

.vdm-coffee__btn:hover {
    background: #f59e0b;
    color: #ffffff;
}

.vdm-coffee__btn:active {
    transform: scale(.96);
}

.vdm-coffee__btn:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Fout */
.vdm-coffee__error {
    margin-top: .5rem;
    font-size: 13px;
    color: #dc2626;
}

/* ---------------------------------------------------------- Bedank overlay */
.vdm-coffee-thanks-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: vdm-fadein .25s ease;
}

.vdm-coffee-thanks-box {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 48px rgba(0,0,0,.2);
    animation: vdm-popin .3s cubic-bezier(.34,1.56,.64,1);
}

.vdm-coffee-thanks-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: .75rem;
    animation: vdm-bounce 1s ease infinite alternate;
}

.vdm-coffee-thanks-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 .5rem;
}

.vdm-coffee-thanks-msg {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.vdm-coffee-thanks-close {
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .65rem 1.75rem;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}

.vdm-coffee-thanks-close:hover { background: #d97706; }

/* ------------------------------------------------------------ Confetti */
.vdm-confetti-piece {
    position: fixed;
    top: -12px;
    z-index: 99999;
    animation: vdm-confetti-fall linear forwards;
    pointer-events: none;
}

/* ------------------------------------------------------------ Keyframes */
@keyframes vdm-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes vdm-popin {
    from { transform: scale(.7); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}

@keyframes vdm-bounce {
    from { transform: translateY(0)    rotate(-8deg); }
    to   { transform: translateY(-8px) rotate(8deg);  }
}

@keyframes vdm-confetti-fall {
    0%   { transform: translateY(0)    rotate(0deg)   scaleX(1); opacity: 1; }
    80%  { opacity: 1; }
    100% { transform: translateY(105vh) rotate(720deg) scaleX(-1); opacity: 0; }
}

/* Mobiel */
@media (max-width: 480px) {
    .vdm-coffee__inner {
        flex-direction: column;
        gap: .5rem;
    }
}
