/* =============================================
   Extra's pagina — prijslijst kaart & betaalknop
   ============================================= */

.extras-intro {
    text-align: center;
    color: rgba(255,255,255,0.52);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Enkele brede kaart */
.extras-card {
    max-width: 700px;
    margin: 0 auto;
}

/* Fieldset reset */
.extras-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

/* Lijst */
.extras-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Elke rij */
.extra-row {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.extra-row:last-child {
    border-bottom: none;
}

/* Label = klikbaar vlak */
.extra-label {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.72rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s;
    width: 100%;
}
.extra-label:hover {
    background: rgba(212,175,55,0.08);
}

/* Checkbox stijl */
.extra-check {
    width: 17px;
    height: 17px;
    accent-color: #d4af37;
    cursor: pointer;
    flex-shrink: 0;
}

/* Naam — vult de beschikbare ruimte */
.extra-name {
    flex: 1;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
    font-weight: 500;
    transition: color 0.18s;
}
/* Als aangevinkt: naam wit */
.extra-check:checked ~ .extra-name {
    color: #fff;
}

/* Categorie badge */
.extra-tag {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.42);
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.06);
    border-radius: 5px;
    padding: 0.15rem 0.55rem;
    white-space: nowrap;
}

/* Prijs rechts — goud */
.extra-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: #d4af37;
    min-width: 60px;
    text-align: right;
    white-space: nowrap;
}

/* Footer: totaal + betaalknop */
.extras-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212,175,55,0.22);
    margin-top: 0.5rem;
}

.extras-total-label {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.42);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 0.18rem;
}

.extras-total-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: #d4af37;
    letter-spacing: -0.01em;
}

/* Disclaimer onder betaalknop */
.extras-disclaimer {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.32);
    text-align: center;
    margin-top: 1rem;
}

/* Betaalknop uitgeschakeld — contrast voldoet aan WCAG voor disabled */
#pay-btn:disabled,
#pay-btn[aria-disabled="true"] {
    opacity: 0.38;
    cursor: not-allowed;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 560px) {
    .extra-tag {
        display: none;
    }
    .extra-name {
        font-size: 0.85rem;
    }
    .extra-price {
        font-size: 0.85rem;
        min-width: 52px;
    }
    .extras-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .extras-total-block {
        text-align: center;
    }
    #pay-btn {
        width: 100%;
        text-align: center;
    }
    .extras-email-row {
        margin: 0 0 1.2rem 0;
    }
}

/* =============================================
   E-mail veld
   ============================================= */

.extras-email-row {
    margin: 1.5rem 0 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.4rem;
}

.extras-email-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.extras-email-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 0.72rem 1rem;
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.extras-email-input::placeholder {
    color: rgba(255,255,255,0.28);
}

.extras-email-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.extras-email-input:invalid:not(:placeholder-shown) {
    border-color: rgba(220,50,50,0.6);
}
