/*
 * Maya Evenementen + Agenda - Frontend formulier styling
 * Gescoped onder .maya-ea-registration zodat andere formulieren niet worden beÃ¯nvloed
 */

/* Fase 7C-C.4.3: fallback design tokens. Centrale tokens via
   Maya_EA_Settings::get_theme_css() overschrijven deze :root-waarden. */
:root {
    --maya-ea-navy: #10162c;
    --maya-ea-navy-light: #1e243d;
    --maya-ea-cream: #f9f7f3;
    --maya-ea-cream-light: #faf8f4;
    --maya-ea-gold: #c9a055;
    --maya-ea-gold-hover: #b08d4b;
    --maya-ea-gold-light: #e3c68b;
    --maya-ea-beige: #e9e3d7;
    --maya-ea-beige-dark: #d8d0c1;
    --maya-ea-text: #1a1f3a;
    --maya-ea-text-muted: #6b6f7c;
    --maya-ea-error: #c53030;
    --maya-ea-error-bg: #fff5f5;
    --maya-ea-success: #2f855a;
    --maya-ea-success-bg: #f0fff4;
}

.maya-ea-registration {

    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--maya-ea-beige);
    border-radius: 24px;
    color: var(--maya-ea-text);
    box-shadow: 0 10px 40px rgba(16, 22, 44, 0.06);
    font-family: inherit;
    box-sizing: border-box;
}

.maya-ea-registration *,
.maya-ea-registration *::before,
.maya-ea-registration *::after {
    box-sizing: border-box;
}

/* Title */
.maya-ea-form-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .35rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--maya-ea-navy);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.maya-ea-form-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: var(--maya-ea-navy);
    color: var(--maya-ea-gold);
    border-radius: 50%;
}

.maya-ea-form-title-icon svg {
    width: 22px;
    height: 22px;
}

.maya-ea-form-intro {
    margin: 0 0 1.5rem;
    color: var(--maya-ea-text-muted);
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Event card */
.maya-ea-event-card {
    background: var(--maya-ea-navy);
    color: var(--maya-ea-cream);
    border: 1px solid var(--maya-ea-navy-light);
    border-radius: 18px;
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 24px rgba(16, 22, 44, 0.18);
}

.maya-ea-event-title {
    margin: 0 0 .35rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.maya-ea-event-type {
    margin: 0 0 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--maya-ea-gold);
    text-transform: uppercase;
    letter-spacing: .06em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.maya-ea-event-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin: 0 0 .55rem;
    font-size: .95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    word-wrap: break-word;
}

.maya-ea-event-row:last-child {
    margin-bottom: 0;
}

.maya-ea-event-icon {
    display: inline-flex;
    align-items: center;
    flex: 0 0 20px;
    margin-top: .05rem;
    color: var(--maya-ea-gold);
}

.maya-ea-event-icon svg {
    width: 20px;
    height: 20px;
}

.maya-ea-event-text {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.maya-ea-event-note {
    margin: 1.25rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
}

/* Form layout */
.maya-ea-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.maya-ea-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
}

.maya-ea-field--full {
    grid-column: 1 / -1;
}

.maya-ea-field label {
    font-size: .92rem;
    font-weight: 600;
    color: var(--maya-ea-text);
}

.maya-ea-field .maya-ea-required {
    color: var(--maya-ea-gold);
    margin-left: .15rem;
}

.maya-ea-field .maya-ea-optional {
    color: var(--maya-ea-text-muted);
    font-weight: 400;
    font-size: .85rem;
    margin-left: .25rem;
}

/* Inputs with icons */
.maya-ea-input-wrap {
    position: relative;
}

.maya-ea-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    color: var(--maya-ea-gold);
    pointer-events: none;
}

.maya-ea-input-icon svg,
.maya-ea-select-icon svg {
    width: 18px;
    height: 18px;
}

.maya-ea-field--textarea .maya-ea-input-icon {
    top: .95rem;
    transform: none;
}

.maya-ea-form input[type="text"],
.maya-ea-form input[type="email"],
.maya-ea-form input[type="tel"],
.maya-ea-form input[type="number"],
.maya-ea-form textarea,
.maya-ea-form select {
    width: 100%;
    min-height: 52px;
    padding: .95rem 1rem .95rem 2.8rem;
    background: var(--maya-ea-cream-light);
    border: 1px solid var(--maya-ea-beige);
    border-radius: 10px;
    color: var(--maya-ea-text);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color .2s, box-shadow .2s, background .2s;
    font-family: inherit;
}

.maya-ea-form input::placeholder,
.maya-ea-form textarea::placeholder {
    color: #9a96a0;
}

.maya-ea-form input:focus,
.maya-ea-form textarea:focus,
.maya-ea-form select:focus {
    background: #fff;
    border-color: var(--maya-ea-gold);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(201, 160, 85, 0.14);
}

.maya-ea-form textarea {
    resize: vertical;
    min-height: 110px;
}

.maya-ea-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a055' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px 18px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.maya-ea-form input[type="number"] {
    appearance: textfield;
}

.maya-ea-form input[type="number"]::-webkit-outer-spin-button,
.maya-ea-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* CTA */
.maya-ea-button {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    min-height: 52px;
    padding: 1rem 1.5rem;
    background: var(--maya-ea-gold);
    color: var(--maya-ea-navy);
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: background .2s, transform .1s, box-shadow .2s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(201, 160, 85, 0.25);
}

.maya-ea-button::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310162c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.maya-ea-button:hover {
    background: var(--maya-ea-gold-hover);
    box-shadow: 0 6px 16px rgba(201, 160, 85, 0.32);
}

.maya-ea-button:focus-visible {
    outline: 2px solid var(--maya-ea-navy);
    outline-offset: 2px;
}

.maya-ea-button:active {
    transform: translateY(1px);
}

/* Privacy */
.maya-ea-privacy {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: 1rem 0 0;
    font-size: .85rem;
    color: var(--maya-ea-text-muted);
    text-align: center;
}

.maya-ea-privacy-icon {
    display: inline-flex;
    align-items: center;
    color: var(--maya-ea-gold);
}

.maya-ea-privacy-icon svg {
    width: 16px;
    height: 16px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Tablet / Bricks overflow fix
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   De daadwerkelijke clipping op iPad/tablet kwam van Bricks divs met
   min-height: 600px; overflow: hidden; (maya-homepage-builder duo_kal/pod).
   Bricks _cssCustom gebruikt #brxe-<id> !important, dus we forceren deze
   regel met de hoogst mogelijke class-level specificity via :not(#_).
   Scope: alleen Bricks ancestors die een .maya-ea-registration bevatten.
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body .brxe-section:has(.maya-ea-registration):not(#_),
body .brxe-container:has(.maya-ea-registration):not(#_),
body .brxe-div:has(.maya-ea-registration):not(#_),
body .brxe-block:has(.maya-ea-registration):not(#_) {
    min-height: unset !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Messages */
.maya-ea-form-errors,
.maya-ea-success,
.maya-ea-notice {
    grid-column: 1 / -1;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 0 0 1.5rem;
    font-size: .95rem;
    line-height: 1.5;
}

.maya-ea-form-errors {
    background: var(--maya-ea-error-bg);
    color: var(--maya-ea-error);
    border: 1px solid #fed7d7;
}

.maya-ea-form-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

.maya-ea-success {
    background: var(--maya-ea-success-bg);
    color: var(--maya-ea-success);
    border: 1px solid #c6f6d5;
}

.maya-ea-notice {
    background: var(--maya-ea-cream);
    color: var(--maya-ea-text);
    border: 1px solid var(--maya-ea-beige);
    padding: 1rem 1.25rem;
}

/* Responsive */
@media (max-width: 600px) {
    .maya-ea-registration {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .maya-ea-form-title {
        font-size: 1.65rem;
    }

    .maya-ea-form-title-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .maya-ea-form-title-icon svg {
        width: 20px;
        height: 20px;
    }

    .maya-ea-event-card {
        padding: 1.35rem;
    }

    .maya-ea-form input,
    .maya-ea-form select,
    .maya-ea-form textarea {
        padding-left: 2.5rem;
    }

    .maya-ea-input-icon svg,
    .maya-ea-select-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Fase 7C-C.4.1 â€” Contact/Product/Dienst radio groups + form intro/trust
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.maya-ea-form-intro {
    margin: -0.5rem 0 1.5rem;
    color: var(--maya-ea-text-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.maya-ea-privacy {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: 1rem 0 0;
    font-size: .85rem;
    color: var(--maya-ea-text-muted);
    text-align: center;
    line-height: 1.5;
}

.maya-ea-fieldset {
    grid-column: 1 / -1;
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.maya-ea-fieldset__legend,
.maya-ea-field .maya-ea-fieldset__legend {
    font-size: .92rem;
    font-weight: 600;
    color: var(--maya-ea-text);
    margin-bottom: .55rem;
    padding: 0;
    width: 100%;
}

.maya-ea-select-placeholder {
    font-size: .9rem;
    color: var(--maya-ea-text-muted);
    margin-bottom: .5rem;
}

.maya-ea-radios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .6rem;
}

.maya-ea-radio-label,
.maya-ea-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .75rem 1rem;
    background: var(--maya-ea-cream-light);
    border: 1px solid var(--maya-ea-beige);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    font-size: .95rem;
    color: var(--maya-ea-text);
}

.maya-ea-radio-label:hover,
.maya-ea-checkbox-label:hover {
    background: #fff;
    border-color: var(--maya-ea-gold);
}

.maya-ea-radio-label input[type="radio"],
.maya-ea-checkbox-label input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: .15rem;
    accent-color: var(--maya-ea-gold);
}

.maya-ea-radios .maya-ea-radio-label {
    align-items: center;
}

.maya-ea-radios .maya-ea-radio-label input[type="radio"] {
    margin-top: 0;
}

.maya-ea-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .6rem;
}

.maya-ea-checkboxes .maya-ea-checkbox-label {
    margin: 0;
}

@media (max-width: 400px) {
    .maya-ea-registration {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .maya-ea-form-title {
        font-size: 1.45rem;
        gap: .5rem;
    }

    .maya-ea-form-intro {
        font-size: .95rem;
    }

    .maya-ea-form {
        gap: 1rem;
    }

    .maya-ea-button {
        padding: .9rem 1rem;
    }

    .maya-ea-privacy {
        flex-wrap: wrap;
    }
}

/* Optional interesse organisation / location */
.maya-ea-interesse-suggestion {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--maya-ea-cream);
    border: 1px dashed var(--maya-ea-beige-dark);
    border-radius: 16px;
    min-width: 0;
}

.maya-ea-suggestion-title {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--maya-ea-navy);
}

.maya-ea-suggestion-title .maya-ea-optional,
.maya-ea-interesse-suggestion .maya-ea-optional {
    color: var(--maya-ea-text-muted);
    font-weight: 400;
}

.maya-ea-suggestion-intro {
    margin: 0 0 1.25rem;
    font-size: .9rem;
    color: var(--maya-ea-text-muted);
    line-height: 1.5;
}

.maya-ea-suggestion-fields {
    display: flex;
    gap: 1.25rem;
}

.maya-ea-suggestion-fields .maya-ea-field {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .maya-ea-suggestion-fields {
        flex-direction: column;
        gap: 1rem;
    }

    .maya-ea-suggestion-fields .maya-ea-field {
        flex: 0 0 auto;
    }
}

/* Interesse intro with lead + sub */
.maya-ea-form-intro--interesse {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1.25rem;
}

.maya-ea-intro-lead {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--maya-ea-navy);
    line-height: 1.3;
}

.maya-ea-intro-sub {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--maya-ea-text-muted);
    line-height: 1.5;
}

@media (max-width: 480px) {
    .maya-ea-intro-lead {
        font-size: 1.15rem;
    }

    .maya-ea-intro-sub {
        font-size: .95rem;
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Contactformulieren (Fase 7B)
   Gescoped binnen .maya-ea-registration; geen globale overrides.
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.maya-ea-checkboxes {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: .5rem 0;
}

.maya-ea-checkbox-label {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 400;
    cursor: pointer;
    color: var(--maya-ea-text);
}

.maya-ea-checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--maya-ea-gold);
    cursor: pointer;
}

.maya-ea-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.maya-ea-form legend {
    font-size: .92rem;
    font-weight: 600;
    color: var(--maya-ea-text);
    margin-bottom: .45rem;
}

.maya-ea-field .maya-ea-price {
    color: var(--maya-ea-text-muted);
    font-size: .9rem;
    font-weight: 400;
    margin-left: .35rem;
}

/* Fase 7C-C.4.5 â€” product selectiekaarten, samenvatting en totaal */

.maya-ea-product-total {
    grid-column: 1 / -1;
    margin: 1rem 0;
    padding: 1.25rem;
    background: var(--maya-ea-cream-light);
    border: 1px solid var(--maya-ea-beige);
    border-radius: 12px;
}

.maya-ea-product-total--empty .maya-ea-product-total__lines,
.maya-ea-product-total--empty .maya-ea-product-total__sum,
.maya-ea-product-total__empty {
    display: none;
}

.maya-ea-product-total--empty .maya-ea-product-total__empty {
    display: block;
    margin: .5rem 0 0;
    color: var(--maya-ea-text-muted);
    font-size: .95rem;
}

.maya-ea-product-total__title {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--maya-ea-navy);
}

.maya-ea-product-total__lines {
    list-style: none;
    margin: 0 0 .75rem;
    padding: 0;
}

.maya-ea-product-total__line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: .95rem;
}

.maya-ea-product-total__line:last-child {
    border-bottom: none;
}

.maya-ea-product-total__line-label {
    color: var(--maya-ea-text);
    line-height: 1.4;
}

.maya-ea-product-total__line-price {
    color: var(--maya-ea-navy);
    font-weight: 600;
    white-space: nowrap;
}

.maya-ea-product-total__sum {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: .75rem;
    border-top: 2px solid var(--maya-ea-gold);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--maya-ea-navy);
}

.maya-ea-product-total__sum-label {
    font-weight: 600;
}

.maya-ea-product-total__amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--maya-ea-gold);
    white-space: nowrap;
}

.maya-ea-product-total__note {
    margin: .75rem 0 0;
    font-size: .8rem;
    color: var(--maya-ea-text-muted);
    line-height: 1.4;
}

.maya-ea-product-options {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.maya-ea-product-option {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
}

.maya-ea-product-option__card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: var(--maya-ea-cream-light);
    border: 1px solid var(--maya-ea-beige);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.maya-ea-product-option__card:hover {
    border-color: var(--maya-ea-gold-light);
    background: #fffdf9;
}

.maya-ea-product-option--selected .maya-ea-product-option__card,
.maya-ea-product-option__card:focus-within {
    border-color: var(--maya-ea-gold);
    background: #fffdf9;
    box-shadow: 0 0 0 3px rgba(201, 160, 85, 0.12);
}

.maya-ea-product-option__main {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
}

.maya-ea-product-option__main input[type="radio"],
.maya-ea-product-option__main input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.maya-ea-product-option__indicator {
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--maya-ea-beige);
    background: #fff;
    color: transparent;
    border-radius: 50%;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.maya-ea-checkboxes .maya-ea-product-option__indicator {
    border-radius: 6px;
}

.maya-ea-product-option--selected .maya-ea-product-option__indicator,
.maya-ea-product-option__card:focus-within .maya-ea-product-option__indicator {
    border-color: var(--maya-ea-gold);
    background: var(--maya-ea-gold);
    color: var(--maya-ea-navy);
}

.maya-ea-product-option__indicator::after {
    content: 'âœ“';
    font-size: .85rem;
    font-weight: 700;
    line-height: 1;
}

.maya-ea-product-option__text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.maya-ea-product-option__name {
    font-weight: 600;
    color: var(--maya-ea-navy);
    word-break: break-word;
    line-height: 1.3;
}

.maya-ea-product-option__description {
    font-size: .85rem;
    color: var(--maya-ea-text-muted);
    line-height: 1.3;
}

.maya-ea-product-option__price {
    color: var(--maya-ea-gold);
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    text-align: right;
}

.maya-ea-product-option__quantity {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: .6rem;
    padding: 0 1.1rem .25rem;
}

.maya-ea-product-option--selected .maya-ea-product-option__quantity {
    display: flex;
}

.maya-ea-product-option__quantity-label {
    font-size: .85rem;
    color: var(--maya-ea-text-muted);
}

.maya-ea-product-option__quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.maya-ea-quantity-btn {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--maya-ea-beige);
    background: #fff;
    border-radius: 8px;
    color: var(--maya-ea-navy);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: background-color .15s ease, border-color .15s ease;
}

.maya-ea-quantity-btn:hover {
    background: var(--maya-ea-cream);
    border-color: var(--maya-ea-gold-light);
}

.maya-ea-quantity-btn:focus-visible {
    outline: 2px solid var(--maya-ea-gold);
    outline-offset: 2px;
}

.maya-ea-quantity-input {
    width: 3.2rem;
    height: 2.2rem;
    text-align: center;
    border: 1px solid var(--maya-ea-beige);
    border-radius: 8px;
    background: #fff;
    color: var(--maya-ea-navy);
    font-weight: 600;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.maya-ea-quantity-input:focus {
    border-color: var(--maya-ea-gold);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(201, 160, 85, 0.12);
}

.maya-ea-quantity-input::-webkit-outer-spin-button,
.maya-ea-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 480px) {
    .maya-ea-product-option__card {
        grid-template-columns: 1fr;
        gap: .6rem;
        align-items: flex-start;
    }

    .maya-ea-product-option__price {
        text-align: left;
    }

    .maya-ea-product-option__quantity {
        justify-content: flex-start;
    }

    .maya-ea-product-total__sum {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
    }

    .maya-ea-product-total__amount {
        font-size: 1.5rem;
    }
}

/* Fase 7C-C.4.6 â€” Gegevens per persoon + korting */

.maya-ea-person-profiles {
    grid-column: 1 / -1;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--maya-ea-cream-light);
    border: 1px solid var(--maya-ea-beige);
    border-radius: 16px;
}

.maya-ea-person-profiles__title {
    margin: 0 0 .5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--maya-ea-navy);
}

.maya-ea-person-profiles__intro,
.maya-ea-person-profiles__empty {
    margin: 0 0 1rem;
    color: var(--maya-ea-text-muted);
    font-size: .95rem;
    line-height: 1.4;
}

.maya-ea-person-profiles__empty {
    margin-bottom: 0;
}

.maya-ea-person-profile-group {
    margin: 0 0 1.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--maya-ea-beige);
    border-radius: 12px;
}

.maya-ea-person-profile-group:last-child {
    margin-bottom: 0;
}

.maya-ea-person-profile-group__heading {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--maya-ea-navy);
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--maya-ea-beige);
}

.maya-ea-person-profile {
    margin: 0 0 1.25rem;
    padding: 1rem;
    background: var(--maya-ea-cream-light);
    border-radius: 10px;
}

.maya-ea-person-profile:last-child {
    margin-bottom: 0;
}

.maya-ea-person-profile__heading {
    margin: 0 0 .75rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--maya-ea-text-muted);
    text-transform: uppercase;
    letter-spacing: .02em;
}

.maya-ea-person-profile__field {
    margin: 0 0 .75rem;
}

.maya-ea-person-profile__field:last-child {
    margin-bottom: 0;
}

.maya-ea-person-profile__label {
    display: block;
    margin: 0 0 .35rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--maya-ea-navy);
}

.maya-ea-person-profile__input {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid var(--maya-ea-beige);
    border-radius: 10px;
    background: #fff;
    color: var(--maya-ea-text);
    font-size: 1rem;
    font-family: inherit;
}

.maya-ea-person-profile__input:focus {
    border-color: var(--maya-ea-gold);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(201, 160, 85, 0.12);
}

.maya-ea-product-total__line-detail {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    align-items: flex-end;
    text-align: right;
}

.maya-ea-product-total__line-base {
    font-size: .85rem;
    color: var(--maya-ea-text-muted);
    text-decoration: line-through;
}

.maya-ea-product-total__line-discount {
    font-size: .85rem;
    color: var(--maya-ea-success);
    font-weight: 600;
}

@media (min-width: 640px) {
    .maya-ea-person-profile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem .75rem;
    }

    .maya-ea-person-profile__heading {
        grid-column: 1 / -1;
    }

    .maya-ea-person-profile__field--birth_date {
        grid-column: 1 / -1;
        max-width: 18rem;
    }
}

@media (max-width: 480px) {
    .maya-ea-person-profiles {
        padding: 1rem;
    }

    .maya-ea-person-profile-group {
        padding: .85rem;
    }

    .maya-ea-product-total__line-detail {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
}

/* Fase 7C-C.4.7: Simple Product Builder — sectie-indeling */
.maya-ea-form-section {
    grid-column: 1 / -1;
    margin: 0 0 .5rem;
}

.maya-ea-form-section__title {
    margin: 1.25rem 0 .75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--maya-ea-navy);
    letter-spacing: .01em;
}

.maya-ea-form-section:first-of-type .maya-ea-form-section__title {
    margin-top: 0;
}

.maya-ea-form-section__fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.maya-ea-form-section__fields .maya-ea-person-profiles {
    margin: 0;
}

/* "Dit ben ik zelf" */
.maya-ea-person-profile__self {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .75rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--maya-ea-navy);
    cursor: pointer;
}

.maya-ea-person-profile__self-input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--maya-ea-gold);
}

.maya-ea-person-profile__self-hint {
    margin: -.35rem 0 .75rem;
    font-size: .8rem;
    color: var(--maya-ea-text-muted);
    font-style: italic;
}

.maya-ea-person-profile__input--self {
    background: var(--maya-ea-cream-light);
    border-style: dashed;
    color: var(--maya-ea-text-muted);
}

@media (min-width: 640px) {
    .maya-ea-person-profile__self,
    .maya-ea-person-profile__self-hint {
        grid-column: 1 / -1;
    }
}
