/* PROMISE - REGISTRATIE AANVULLING
   Toevoegen na de bestaande basis-CSS.
   Vereist een .promise-diner-form wrapper.
*/




/* =========================================================
   PROMISE - AANVULLENDE CSS
   Menu intro popup en extra formulieronderdelen
   ========================================================= */


/* =========================================================
   01. MENU INTRO POPUP
   ========================================================= */

.order-intro-popup {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 45px 50px 40px;

    border-top: 8px solid #4ab065;
    border-radius: 28px;
    background: #ffffff;

    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.30);

    animation: orderPopupIn 0.35s ease;
}


/* =========================================================
   02. POPUP HEADER
   ========================================================= */

.order-intro-popup .order-intro-header {
    padding: 0 35px 30px;
    text-align: center;
}

.order-intro-popup .order-intro-header h2 {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.order-intro-popup .order-intro-header p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   03. MENU STEPS
   ========================================================= */

.order-intro-popup .menu-steps {
    position: relative;
    margin-top: 5px;
}

.order-intro-popup .menu-steps::before {
    content: "";
    position: absolute;

    left: 23px;
    top: 24px;
    bottom: 45px;

    width: 2px;

    background: linear-gradient(
        to bottom,
        #34dc58,
        #b9eec4
    );
}


/* =========================================================
   04. MENU STEP
   ========================================================= */

.order-intro-popup .menu-step {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
}

.order-intro-popup .menu-step-last {
    padding-bottom: 0;
}


/* =========================================================
   05. STEP NUMBER
   ========================================================= */

.order-intro-popup .step-number {
    position: relative;
    z-index: 2;

    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 48px;
    width: 48px;
    height: 48px;

    border: 4px solid #ffffff;
    border-radius: 50%;

    background: #4ab065;
    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    box-shadow: 0 5px 15px rgba(52, 220, 88, 0.25);
}

.order-intro-popup .step-number-final {
    background: #2f8d5d;
    font-size: 20px;
}


/* =========================================================
   06. STEP CONTENT
   ========================================================= */

.order-intro-popup .step-content {
    flex: 1;
    min-width: 0;
    padding-top: 3px;
}

.order-intro-popup .step-content h3 {
    margin: 0 0 5px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 750;
}

.order-intro-popup .step-content p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.order-intro-popup .step-content strong {
    color: #1f2937;
}


/* =========================================================
   07. QR INFORMATIE
   ========================================================= */

.order-intro-popup .qr-info {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 12px;
    padding: 12px 15px;

    border-radius: 12px;
    background: #f0fff4;

    color: #27643b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.order-intro-popup .qr-info-icon {
    flex: 0 0 auto;
    font-size: 22px;
}


/* =========================================================
   08. POPUP FOOTER
   ========================================================= */

.order-intro-popup .order-intro-footer {
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}


/* =========================================================
   09. POPUP ANIMATIE
   ========================================================= */

@keyframes orderPopupIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   10. FORMULIERSECTIES
   ========================================================= */

.promise-diner-form .form-section {
    margin-top: 45px;
}

.promise-diner-form .section-title {
    margin-bottom: 22px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
}


/* =========================================================
   11. CUSTOM CHECKBOX
   ========================================================= */

.promise-diner-form .option-card .custom-checkbox {
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    margin-left: 4px;
    margin-right: 22px;

    border: 2px solid #9ca3af;
    border-radius: 10px;

    background: #ffffff;

    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}


/* =========================================================
   12. CHECKBOX GESELECTEERD
   ========================================================= */

.promise-diner-form
.checkbox-card input[type="checkbox"]:checked
+ .custom-checkbox {
    background: #4ab065;
    border-color: #4ab065;
}

.promise-diner-form
.checkbox-card input[type="checkbox"]:checked
+ .custom-checkbox::after {
    content: "✓";

    position: absolute;
    top: 1px;
    left: 7px;

    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}


/* =========================================================
   13. CHECKBOXKAART GESELECTEERD
   ========================================================= */

.promise-diner-form
.checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: #4ab065;
    background: #f3fff8;

    box-shadow: 0 8px 20px rgba(58, 167, 109, 0.12);
}


/* =========================================================
   14. CHECKBOX FOCUS
   ========================================================= */

.promise-diner-form
.checkbox-card:has(input[type="checkbox"]:focus-visible) {
    outline: 3px solid rgba(52, 220, 88, 0.25);
    outline-offset: 2px;
}


/* =========================================================
   15. MOBIEL - MAX 768PX
   ========================================================= */

@media (max-width: 768px) {

    /* Popup */

    .order-intro-popup {
        max-height: 94vh;
        padding: 35px 22px 25px;
        border-radius: 22px;
    }

    /* Header */

    .order-intro-popup .order-intro-header {
        padding: 0 15px 25px;
    }

    .order-intro-popup .order-intro-header h2 {
        font-size: 25px;
    }

    .order-intro-popup .order-intro-header p {
        font-size: 15px;
    }

    /* Steps */

    .order-intro-popup .menu-step {
        gap: 14px;
        padding-bottom: 24px;
    }

    .order-intro-popup .menu-step-last {
        padding-bottom: 0;
    }

    .order-intro-popup .step-number {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .order-intro-popup .menu-steps::before {
        left: 20px;
    }

    .order-intro-popup .step-content h3 {
        font-size: 17px;
    }

    .order-intro-popup .step-content p {
        font-size: 14px;
    }

    /* QR informatie */

    .order-intro-popup .qr-info {
        align-items: flex-start;
    }

    /* Formuliersecties */

    .promise-diner-form .section-title {
        font-size: 20px;
    }

    /* Custom checkbox */

    .promise-diner-form
    .option-card .custom-checkbox {
        width: 26px;
        height: 26px;
        margin-right: 16px;
        margin-top: 2px;
    }

    .promise-diner-form
    .checkbox-card input[type="checkbox"]:checked
    + .custom-checkbox::after {
        top: 0;
        left: 5px;
        font-size: 16px;
    }

}


/* =========================================================
   16. VERMINDERDE BEWEGING
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .order-intro-popup {
        animation: none;
    }

    .promise-diner-form .custom-checkbox {
        transition: none;
    }

}



/* =========================================================
     PROMISE PRIVACY CHECKBOX
  ========================================================= */
  
  .promise-diner-form .form-card .privacy-acceptance {
      margin: 14px 0 24px;
  }
  
  .promise-diner-form .form-card .privacy-acceptance .checkbox-label {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin: 0;
      color: #1f2937;
      font-size: 15px;
      line-height: 1.6;
      font-weight: 400;
      cursor: pointer;
  }
  
  /* Checkbox: dezelfde groene stijl als de radiobuttons */
  .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"] {
      -webkit-appearance: none;
      appearance: none;
  
      box-sizing: border-box;
      display: inline-grid;
      place-items: center;
      flex: 0 0 30px;
  
      width: 30px;
      height: 30px;
      min-width: 30px;
      margin: 0 4px;
      padding: 0;
  
      border: 2px solid #9ca3af;
      border-radius: 9px;
      background: #ffffff;
  
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease;
  }
  
  /* Hover */
  .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"]:hover {
      border-color: #4ab065;
      background: #f3fff8;
  }
  
  /* Geselecteerd */
  .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"]:checked {
      border-color: #4ab065;
      background: #4ab065;
  }
  
  /* Vinkje */
  .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"]::after {
      content: "";
      width: 7px;
      height: 13px;
      border: solid #ffffff;
      border-width: 0 2.5px 2.5px 0;
      transform: rotate(45deg) scale(0);
      transition: transform 0.15s ease;
  }
  
  .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"]:checked::after {
      transform: rotate(45deg) scale(1);
  }
  
  /* Toegankelijkheid */
  .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"]:focus-visible {
      outline: 3px solid rgba(74, 176, 101, 0.3);
      outline-offset: 3px;
  }
  
  /* Foutmelding */
  .promise-diner-form .form-card .privacy-acceptance .form-error {
      margin: 8px 0 0 48px;
  }
  
  /* Mobiel */
  @media (max-width: 480px) {
      .promise-diner-form .form-card .privacy-acceptance .checkbox-label {
          gap: 12px;
      }
  
      .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"] {
          flex-basis: 26px;
          width: 26px;
          height: 26px;
          min-width: 26px;
          border-radius: 7px;
      }
  
      .promise-diner-form .form-card .privacy-acceptance input[type="checkbox"]::after {
          width: 6px;
          height: 11px;
      }
  }
  /* =========================================================
     FORM CARD
  ========================================================= */
  
  .promise-diner-form .form-card {
      padding: 50px;
      border-top: 8px solid #4ab065;
      border-radius: 22px;
      background: #ffffff;
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  }
  
  
  /* =========================================================
     FORM HEADER
  ========================================================= */
  
  .promise-diner-form .form-header {
      margin-bottom: 35px;
  }
  
  .promise-diner-form .form-header h1 {
      margin: 0 0 10px;
      color: #4ab065;
      font-size: 28px;
      font-weight: 800;
      line-height: 1.2;
  }
  
  .promise-diner-form .form-header p {
      margin: 0;
      color: #6b7280;
      font-size: 18px;
      line-height: 1.6;
  }
  
  
  /* =========================================================
     FORM GROUP
  ========================================================= */
  
  .promise-diner-form .form-group {
      margin-bottom: 24px;
  }
  
  
  /* =========================================================
     LABELS
  ========================================================= */
  
  .promise-diner-form .form-group > label:not(.promise-diner-form .option-card) {
      display: block;
      margin-bottom: 10px;
      color: #1f2937;
      font-size: 16px;
      font-weight: 600;
  }
  
  
  /* =========================================================
     TEXT / EMAIL INPUTS
  ========================================================= */
  
  /*
     Alleen gewone invoervelden stylen.
     Radio buttons worden hierdoor niet beïnvloed.
  */
  
  .promise-diner-form .form-group input:not([type="radio"]):not([type="checkbox"]) {
      box-sizing: border-box;
      width: 100%;
      padding: 16px 18px;
  
      border: 2px solid #d1d5db;
      border-radius: 14px;
  
      background: #ffffff;
      color: #1f2937;
  
      font-family: "Inter", sans-serif;
      font-size: 16px;
  
      transition:
          border-color 0.25s ease,
          box-shadow 0.25s ease,
          background 0.25s ease;
  }
  
  .promise-diner-form .form-group input:not([type="radio"]):not([type="checkbox"]):hover {
      border-color: #4ab065;
  }
  
  .promise-diner-form .form-group input:not([type="radio"]):not([type="checkbox"]):focus {
      outline: none;
      border-color: #4ab065;
      background: #ffffff;
      box-shadow: 0 0 0 5px rgba(52, 220, 88, 0.15);
  }
  
  
  /* =========================================================
     TAAL / RADIO OPTION GRID
  ========================================================= */
  
  .promise-diner-form .option-grid {
      display: grid;
      gap: 18px;
  }
  
  
  /* =========================================================
     OPTION CARD
  ========================================================= */
  
  .promise-diner-form .option-card {
      position: relative;
  
      display: flex;
      align-items: center;
  
      padding: 24px 28px;
  
      border: 1px solid #d1d5db;
      border-radius: 18px;
  
      background: #ffffff;
  
      cursor: pointer;
  
      transition:
          border-color 0.25s ease,
          background 0.25s ease,
          box-shadow 0.25s ease,
          transform 0.25s ease;
  }
  
  
  /* Hover */
  
  .promise-diner-form .option-card:hover {
      border-color: #4ab065;
      background: #f8fffb;
      box-shadow: 0 6px 18px rgba(58, 167, 109, 0.08);
      transform: translateY(-2px);
  }
  
  
  /* =========================================================
     RADIO INPUT
  ========================================================= */
  
  /*
     De echte radio blijft functioneel,
     maar wordt visueel verborgen.
  */
  
  .promise-diner-form .option-card input[type="radio"] {
      position: absolute;
  
      width: 1px;
      height: 1px;
  
      margin: -1px;
      padding: 0;
  
      overflow: hidden;
  
      border: 0;
  
      opacity: 0;
  
      clip: rect(0, 0, 0, 0);
  }
  
  
  /* =========================================================
     CUSTOM RADIO
  ========================================================= */
  
  .promise-diner-form .custom-radio {
      position: relative;
  
      flex-shrink: 0;
  
      width: 30px;
      height: 30px;
  
      margin-left: 4px;
      margin-right: 22px;
  
      border: 2px solid #9ca3af;
      border-radius: 50%;
  
      background: #ffffff;
  
      transition:
          border-color 0.25s ease,
          background 0.25s ease,
          box-shadow 0.25s ease;
  }
  
  
  /* =========================================================
     RADIO TEXT
  ========================================================= */
  
  .promise-diner-form .option-text {
      padding-right: 10px;
  
      color: #1f2937;
  
      font-size: 18px;
      font-weight: 500;
      line-height: 1.5;
  }
  
  
  /* =========================================================
     RADIO - GESELECTEERD
  ========================================================= */
  
  .promise-diner-form .radio-card input[type="radio"]:checked + .promise-diner-form .custom-radio {
      border-color: #4ab065;
      background: #4ab065;
  }
  
  
  /* Witte stip in radio */
  
  .promise-diner-form .radio-card input[type="radio"]:checked + .promise-diner-form .custom-radio::after {
      content: "";
  
      position: absolute;
  
      top: 50%;
      left: 50%;
  
      width: 12px;
      height: 12px;
  
      border-radius: 50%;
  
      background: #ffffff;
  
      transform: translate(-50%, -50%);
  }
  
  
  
  
  /* =========================================================
     FIX - RADIOBUTTONS REGISTRATIEFORMULIER
     ========================================================= */
  
  /* Radio blijft klikbaar via het label */
  .promise-diner-form .option-card input[type="radio"] {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: 0;
      padding: 0;
      opacity: 0;
      pointer-events: none;
  }
  
  /* Geselecteerde kaart */
  .promise-diner-form .option-card:has(
      input[type="radio"]:checked
  ) {
      border-color: #4ab065;
      background: #f3fff8;
      box-shadow: 0 8px 20px rgba(58, 167, 109, 0.12);
  }
  
  /* Groen rondje */
  .promise-diner-form .option-card
  input[type="radio"]:checked + .custom-radio {
      background: #4ab065;
      border-color: #4ab065;
  }
  
  /* Wit bolletje in het midden */
  .promise-diner-form .option-card
  input[type="radio"]:checked + .custom-radio::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #ffffff;
      transform: translate(-50%, -50%);
  }
  
  /* Zichtbare toetsenbordfocus */
  .promise-diner-form .option-card:has(
      input[type="radio"]:focus-visible
  ) {
      outline: 3px solid rgba(74, 176, 101, 0.3);
      outline-offset: 2px;
  }



  
  /* =========================================================
     GESELECTEERDE OPTION CARD
  ========================================================= */
  
  .promise-diner-form .option-card:has(input[type="radio"]:checked) {
      border-color: #4ab065;
      background: #f3fff8;
      box-shadow: 0 8px 20px rgba(58, 167, 109, 0.12);
  }
  
  
  /* =========================================================
     FOCUS / TOEGANKELIJKHEID
  ========================================================= */
  
  /*
     Wanneer iemand met TAB door het formulier gaat,
     blijft zichtbaar welke radio focus heeft.
  */
  
  .promise-diner-form .option-card:has(input[type="radio"]:focus-visible) {
      outline: 3px solid rgba(52, 220, 88, 0.25);
      outline-offset: 2px;
  }
  
  
  /* =========================================================
     SUBMIT BUTTON
  ========================================================= */
  
  .promise-diner-form .submit-wrapper {
      margin-top: 40px;
  }
  
  .promise-diner-form .btn-submit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
  
      padding: 18px 34px;
  
      border: 0;
      border-radius: 14px;
  
      background: linear-gradient(
          135deg,
          #34dc58,
          #2f8d5d
      );
  
      color: #ffffff;
  
      font-family: "Inter", sans-serif;
      font-size: 20px;
      font-weight: 700;
  
      cursor: pointer;
  
      box-shadow: 0 8px 20px rgba(58, 167, 109, 0.25);
  
      transition:
          transform 0.25s ease,
          box-shadow 0.25s ease,
          filter 0.25s ease;
  }
  
  
  /* Button hover */
  
  .promise-diner-form .btn-submit:hover {
      box-shadow: 0 12px 24px rgba(58, 167, 109, 0.35);
      transform: translateY(-2px);
      filter: brightness(1.02);
  }
  
  
  /* Button active */
  
  .promise-diner-form .btn-submit:active {
      transform: translateY(0);
      box-shadow: 0 6px 14px rgba(58, 167, 109, 0.25);
  }
  
  
  /* =========================================================
     LOGOUT BUTTON
  ========================================================= */
  
  .promise-diner-form .logout-button {
      display: inline-block;
  
      margin-top: 25px;
  
      color: #6b7280;
  
      font-size: 14px;
      font-weight: 600;
  
      text-decoration: none;
  
      transition: color 0.2s ease;
  }
  
  .promise-diner-form .logout-button:hover {
      color: #4ab065;
  }
  
  
  /* =========================================================
     ERROR / MELDINGEN
  ========================================================= */
  
  .promise-diner-form .form-card p[style*="color:red"] {
      margin: 0 0 8px;
      padding: 12px 14px;
  
      border-radius: 10px;
  
      background: #fff1f2;
      color: #be123c !important;
  
      font-size: 14px;
      line-height: 1.5;
  }
  
  .promise-diner-form .form-card p[style*="color:green"] {
      margin: 0 0 20px;
      padding: 12px 14px;
  
      border-radius: 10px;
  
      background: #f0fdf4;
      color: #15803d !important;
  
      font-size: 14px;
      line-height: 1.5;
  }
  
  
  /* =========================================================
     BESTAANDE BESTELLING
  ========================================================= */
  
  .promise-diner-form > .container > .row h1 {
      margin-bottom: 10px;
  }
  
  .promise-diner-form > .container > .row > div > p {
      color: #6b7280;
      font-size: 16px;
      line-height: 1.6;
  }
  
  .promise-diner-form > .container > .row > div > p a {
      color: #2f8d5d;
      font-weight: 700;
      text-decoration: none;
  }
  
  .promise-diner-form > .container > .row > div > p a:hover {
      color: #4ab065;
      text-decoration: underline;
  }
  
  
  /* =========================================================
     MOBILE
  ========================================================= */
  
  @media (max-width: 768px) {
  
      .promise-diner-form {
          padding: 30px 14px;
      }
  
  
      /* Card */
  
      .promise-diner-form .form-card {
          padding: 30px 22px;
          border-top-width: 6px;
          border-radius: 20px;
      }
  
  
      /* Header */
  
      .promise-diner-form .form-header {
          margin-bottom: 30px;
      }
  
      .promise-diner-form .form-header h1 {
          font-size: 30px;
      }
  
      .promise-diner-form .form-header p {
          font-size: 16px;
          line-height: 1.6;
      }
  
  
      /* Inputs */
  
      .promise-diner-form .form-group input:not([type="radio"]):not([type="checkbox"]) {
          padding: 14px 16px;
          border-radius: 12px;
          font-size: 16px;
      }
  
  
      /* Option cards */
  
      .promise-diner-form .option-grid {
          gap: 14px;
      }
  
      .promise-diner-form .option-card {
          padding: 20px 18px;
          border-radius: 16px;
      }
  
  
      /* Radio */
  
      .promise-diner-form .custom-radio {
          width: 26px;
          height: 26px;
  
          margin-left: 2px;
          margin-right: 16px;
      }
  
      .promise-diner-form .radio-card input[type="radio"]:checked + .promise-diner-form .custom-radio::after {
          width: 10px;
          height: 10px;
      }
  
  
      /* Option text */
  
      .promise-diner-form .option-text {
          padding-right: 5px;
          font-size: 16px;
          line-height: 1.5;
      }
  
  
      /* Submit */
  
      .promise-diner-form .submit-wrapper {
          margin-top: 30px;
      }
  
      .promise-diner-form .btn-submit {
          width: 100%;
          padding: 17px 24px;
          font-size: 18px;
      }
  
  
      /* Logout */
  
      .promise-diner-form .logout-button {
          display: block;
          text-align: center;
      }
  }
  
  
  /* =========================================================
     KLEINE MOBIELE SCHERMEN
  ========================================================= */
  
  @media (max-width: 480px) {
  
      .promise-diner-form {
          padding: 20px 10px;
      }
  
      .promise-diner-form .form-card {
          padding: 25px 18px;
          border-radius: 18px;
      }
  
      .promise-diner-form .form-header h1 {
          font-size: 26px;
      }
  
      .promise-diner-form .form-header p {
          font-size: 15px;
      }
  
      .promise-diner-form .option-card {
          padding: 18px 16px;
      }
  
      .promise-diner-form .custom-radio {
          width: 24px;
          height: 24px;
          margin-right: 14px;
      }
  
      .promise-diner-form .radio-card input[type="radio"]:checked + .promise-diner-form .custom-radio::after {
          width: 9px;
          height: 9px;
      }
  
      .promise-diner-form .option-text {
          font-size: 15px;
      }
  }

  /* =========================================================
     PRIVACYVOORWAARDEN - UITKLAPBAAR
  ========================================================= */
  
  .promise-diner-form .privacy-box {
      padding: 0;
      margin: 24px 0 16px;
      background: #f6f8f7;
      border: 1px solid #dfe6e2;
      border-radius: 14px;
      overflow: hidden;
  }
  
  /* Klikbare balk */
  .promise-diner-form .privacy-toggle {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 100%;
      padding: 18px 20px;
      border: 0;
      background: transparent;
      color: #25332d;
      text-align: left;
      font-family: "Inter", sans-serif;
      cursor: pointer;
  }
  
  /* Slotje */
  .promise-diner-form .privacy-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      background: #ffffff;
      border-radius: 50%;
      font-size: 19px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  /* Titel en subtitel */
  .privacy-toggle-text {
      flex: 1;
      min-width: 0;
  }
  
  .promise-diner-form .privacy-box h3 {
      margin: 0;
      color: #25332d;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.4;
  }
  
  .promise-diner-form .privacy-intro {
      margin: 3px 0 0;
      color: #718078;
      font-size: 13px;
      line-height: 1.5;
  }
  
  /* Pijltje */
  .promise-diner-form .privacy-chevron {
      flex-shrink: 0;
      color: #287a5b;
      font-size: 20px;
      transition: transform 0.25s ease;
  }
  
  .promise-diner-form .privacy-toggle[aria-expanded="true"] .privacy-chevron {
      transform: rotate(180deg);
  }
  
  /* Inhoud van de privacyvoorwaarden */
  .promise-diner-form .privacy-content {
      padding: 0 22px 22px;
      color: #37433e;
      font-size: 14px;
      line-height: 1.65;
  }
  
  .promise-diner-form .privacy-content p {
      margin: 0 0 13px;
  }
  
  .promise-diner-form .privacy-content p:last-child {
      margin-bottom: 0;
  }
  
  .promise-diner-form .privacy-content strong {
      color: #25332d;
      font-weight: 600;
  }
  
  .promise-diner-form .privacy-contact {
      padding-top: 14px;
      margin-top: 16px !important;
      border-top: 1px solid #dfe6e2;
      color: #5c6963;
  }
  
  .promise-diner-form .privacy-contact a {
      color: #287a5b;
      text-decoration: underline;
      text-underline-offset: 2px;
  }
  
  .promise-diner-form .privacy-contact a:hover {
      color: #1d6046;
  }
  
  /* Checkbox sluit netjes aan */
  .promise-diner-form .privacy-acceptance {
      margin-top: 12px;
      margin-bottom: 24px;
  }
  
  .promise-diner-form .checkbox-label {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      cursor: pointer;
      color: #37433e;
      font-size: 14px;
      line-height: 1.6;
  }
  
  .promise-diner-form .checkbox-label input[type="checkbox"] {
      width: 18px;
      height: 18px;
      margin-top: 3px;
      flex-shrink: 0;
      accent-color: #287a5b;
  }
  
  .promise-diner-form .form-error {
      color: #c0392b;
      font-size: 13px;
      margin: 6px 0 0 29px;
  }
  
  .promise-diner-form .privacy-toggle:hover {
      background: #edf5ef;
  }
  
  .promise-diner-form .privacy-toggle:focus-visible {
      outline: 3px solid rgba(40, 122, 91, 0.35);
      outline-offset: -3px;
  }
  
  @media (max-width: 480px) {
      .promise-diner-form .privacy-toggle {
          padding: 15px;
          gap: 11px;
      }
  
      .promise-diner-form .privacy-icon {
          width: 36px;
          height: 36px;
      }
  
      .promise-diner-form .privacy-box h3 {
          font-size: 15px;
      }
  
      .promise-diner-form .privacy-content {
          padding: 0 16px 18px;
          font-size: 13px;
      }
  }


/* =====================================
   PROMISE HEADER
===================================== */

.promise-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: 185px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #002b12;
    background-image:
        linear-gradient(
            rgba(0, 43, 18, 0.00),
            rgba(0, 43, 18, 0.00)
        ),
        url('../M4FPromise-2200x550px_1.svg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition:
        height 0.35s ease,
        box-shadow 0.35s ease;
}

/* Logo gecentreerd */
.promise-header-logo {
    display: block;
    width: 490px;

    height: auto;
 transition:
        width 0.35s ease,
        transform 0.35s ease;
}

/* Scrollstatus */
.promise-header.is-scrolled {
    height: 185px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.promise-header.is-scrolled .promise-header-logo {
    width: 490px;
}

/* Mobiel */
@media (max-width: 768px) {
    .promise-header {
        height: 145px;
    }

    .promise-header-logo {
        width: 155px;
    }

    .promise-header.is-scrolled {
        height: 72px;
    }

    .promise-header.is-scrolled .promise-header-logo {
        width: 100px;
    }
}

/* Respecteer verminderde beweging */
@media (prefers-reduced-motion: reduce) {
    .promise-header,
    .promise-header-logo {
        transition: none;
    }
}





/* Promise footer */
.promise-footer {
   border-top:5px solid #002b12;
    margin-top: 0px;
    padding: 30px 20px 20px;
    background:  #dce7de;
    font-family: "Inter", sans-serif;
}

.promise-footer-inner {
    max-width:1040px;
    margin: 0 auto;
}

/* Bovenste gedeelte */
.promise-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.promise-footer-logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

/* Evenement */
.promise-footer-event {
    text-align: right;
}

.promise-footer-event-name {
    margin: 0;
    color: #002b12;
    font-size: 13px;
    font-weight: 600;
}

.promise-footer-event-date {
    margin: 4px 0 0;
    color: #002b12;
    font-size: 12px;
}

/* Scheidingslijn */
.promise-footer-divider {
    height: 1px;

    margin: 8px 0 8px;
}

/* Onderste gedeelte */
.promise-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.promise-footer-site {
    color: #718078;
    font-size: 12px;
    text-decoration: none;
}

.promise-footer-site:hover {
    color: #2f8d5d;
}

/* Compacte contactknop */
.promise-footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid #2f8d5d;
    border-radius: 8px;
    background: #2f8d5d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.promise-footer-contact:hover {
    background: #246e49;
    border-color: #246e49;
    color: #ffffff;
}

/* Copyright */
.promise-footer-copyright {
    margin: 18px 0 0;
    color: #87918b;
    font-size: 11px;
    text-align: center;
}

/* Mobiel */
@media (max-width: 480px) {
    .promise-footer {
        padding: 24px 16px 18px;
        margin-top: 25px;
    }

    .promise-footer-top {
        align-items: flex-start;
        gap: 12px;
    }

    .promise-footer-logo {
        width: 140px;
    }

    .promise-footer-event-name {
        font-size: 12px;
    }

    .promise-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}
/* =========================================================
   BASE / FORM
========================================================= */

.promise-diner-form {
    min-height: 100vh;
    padding: 60px 20px;
    background: #f4f8f3;
    font-family: "Inter", sans-serif;
}

.guest h1 {
    margin-bottom: 10px;
    color: #4ab065;
    font-size: 24px !important;
    font-weight: 500;
}

.shell h1 {
    color: #020d17;
    font-family: "Jost", sans-serif;
    font-size: clamp(28px, 5vw, 52px) !important;
    font-style: normal;
    font-optical-sizing: auto;
    font-weight: 700;
}


/* =========================================================
   ORDER STEPS
========================================================= */

.steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 40px 0 60px;
}

/* Altijd zichtbare grijze lijn */
.steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    z-index: 0;
    height: 4px;
    background: #cccfd1;
}

/* Stap */
.step {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    text-align: center;
}

/* Bolletje */
.step span {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    font-weight: 700;
}

/* Groene lijn naar volgende stap */
.step.completed::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 1;
    width: 100%;
    height: 4px;
    background: #198754;
}

/* Geen lijn na laatste stap */
.step:last-child::after {
    display: none;
}

/* Voltooide stap */
.step.completed span {
    background: #87d074;
    color: #fff;
}

/* Huidige stap */
.step.active span {
    background: #819bc2;
    color: #fff;
}

/* Titel van stap */
.step label {
    display: block;
    width: 100%;
    margin: 32px 0 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: break-word;
}


/* =========================================================
   MENU GRID
========================================================= */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}


/* =========================================================
   MENU CARD
========================================================= */

.menu-card {
    position: relative;
    display: block;
    margin-top: 15px !important;
    cursor: pointer;
    text-decoration: none;
}

/* Radio button verbergen */
.menu-card input[type="radio"] {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}


/* =========================================================
   CARD INNER
========================================================= */

.card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    border-radius: 18px;
    background: #fff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* Hover */
.menu-card:hover .card-inner {
    border-color: #bdbdbd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.card-image img {
   border:0px solid red;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.card-content {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
    text-align: left;
}


/* =========================================================
   CARD TITLE
========================================================= */

.card-title {
    margin: 0 0 12px;
    color: #111;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}


/* =========================================================
   CARD TEXT
========================================================= */

.card-text {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.menu-card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}



/* =========================================================
   BUTTONS – PROMISE
========================================================= */

.add-button,
.edit-button,
.submit-selection {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    min-height: 46px;
    padding: 12px 20px;

    border-radius: 999px;
    border: 0;

    background: #111;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

/* TOEVOEGEN */


.add-button,
.submit-selection {
    min-width: 140px;
    min-height: 46px;
    padding: 12px 20px;
    line-height: 1.2;
    box-sizing: border-box;
}

.add-button {
    cursor: pointer;
}

/* BEWERKEN */

.edit-button {
    text-decoration: none;
    cursor: pointer;
}





/* =========================================================
   PROMISE – MENU CARD FOOTER BUTTONS
========================================================= */

.menu-card-footer .add-button,
.menu-card-footer .submit-selection {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    appearance: none;

    width: 145px;
    min-height: 46px;
    padding: 12px 18px;

    border: 0;
    border-radius: 999px;

    background: #111;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

/* Toevoegen */

.menu-card-footer .add-button {
    opacity: 1;
}

/* Bevestigen – standaard verborgen */

.menu-card-footer .submit-selection {
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
}

/* Hover */

.menu-card:hover .add-button,
.menu-card-footer .submit-selection:hover {
    background: #4ab065;
    color: #fff;
}





/* BEVESTIGEN */

.submit-selection {
    cursor: pointer;
    white-space: nowrap;

    /* Verborgen tot selectie */
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
}

/* HOVER */

.menu-card:hover .add-button,
.edit-button:hover,
.submit-selection:hover {
    background: #4ab065;
    color: #fff;
    transform: translateY(-2px);
}

/* ACTIVE */

.submit-selection:active {
    transform: translateY(0);
}

/* TOEGANKELIJKHEID */

.submit-selection:focus-visible,
.edit-button:focus-visible {
    outline: 2px solid #4ab065;
    outline-offset: 3px;
}


/* =========================================================
   CARD CHECK ICON
========================================================= */

.card-check {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #4ab065;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.7);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   SELECTED CARD
========================================================= */

.menu-card input:checked + .card-inner {
    border-color: #4ab065;
    background: #f5fff8;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15);
}

.menu-card input:checked + .card-inner .card-check {
    opacity: 1;
    transform: scale(1);
}

.menu-card input:checked + .card-inner .add-button,
.menu-card input:checked + .card-inner .submit-selection {
    background: #4ab065;
}

.menu-card input:checked + .card-inner .submit-selection {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


/* =========================================================
   DISABLED CARD
========================================================= */

.menu-card.disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.7);
}


/* =========================================================
   MENU COUNTER
========================================================= */

.menu-counter {
    margin-bottom: 20px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
}





/* =========================================================
   PROMISE - ALLERGENEN CHECKBOX FIX
   ========================================================= */

/* Verberg uitsluitend de originele allergenen-checkbox */
.promise-diner-form .checkbox-card input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

/* De volledige kaart blijft klikbaar */
.promise-diner-form .checkbox-card {
    position: relative;
    cursor: pointer;
}

/* Eigen checkbox */
.promise-diner-form .checkbox-card .custom-checkbox {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    margin-left: 4px;
    margin-right: 22px;

    border: 2px solid #9ca3af;
    border-radius: 10px;

    background: #ffffff;
}

/* Checkbox aangevinkt */
.promise-diner-form .checkbox-card
input[type="checkbox"]:checked + .custom-checkbox {
    background: #4ab065;
    border-color: #4ab065;
}

/* Wit vinkje */
.promise-diner-form .checkbox-card
input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "✓";
    position: absolute;

    top: 50%;
    left: 50%;

    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;

    transform: translate(-50%, -50%);
}

/* Geselecteerde kaart */
.promise-diner-form .checkbox-card:has(
    input[type="checkbox"]:checked
) {
    border-color: #4ab065;
    background: #f3fff8;
    box-shadow: 0 8px 20px rgba(58, 167, 109, 0.12);
}

/* Mobiele weergave */
@media (max-width: 768px) {
    .promise-diner-form .checkbox-card .custom-checkbox {
        width: 26px;
        height: 26px;
        margin-right: 16px;
    }

    .promise-diner-form .checkbox-card
    input[type="checkbox"]:checked + .custom-checkbox::after {
        font-size: 16px;
    }
}






/* =========================================================
   ALLERGENEN / OPMERKINGEN
========================================================= */

.allergenen-opmerkingen {
    margin-top: 40px;
}

.field-label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
}

.field-description {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   TEXTAREA
========================================================= */

.form-textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 140px;
    padding: 18px 20px;
    border: 1px solid #d1d5db;
    border-radius: 18px;
    background: #fff;
    color: #1f2937;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.25s ease;
}

.form-textarea::placeholder {
    color: #9ca3af;
}

.form-textarea:hover {
    border-color: #4ab065;
}

.form-textarea:focus {
    outline: none;
    border-color: #4ab065;
    background: #f8fffb;
    box-shadow: 0 0 0 4px rgba(52, 220, 88, 0.12);
}


/* =========================================================
   ORDER INTRO OVERLAY
========================================================= */

.order-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(15, 23, 42, 0.72);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    animation: orderOverlayFade 0.25s ease;
}

@keyframes orderOverlayFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================================
   ORDER INTRO MODAL
========================================================= */

.order-intro-modal {
    position: relative;

    width: 100%;
    max-width: 680px;
    max-height: calc(100vh - 48px);

    overflow-y: auto;

    padding: 38px 42px 36px;

    border-radius: 24px;
    background: #fff;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);

    animation: orderModalIn 0.3s ease;
}

@keyframes orderModalIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   ORDER INTRO CLOSE BUTTON
========================================================= */

.order-intro-close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: #f1f3f5;
    color: #6b7280;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}

.order-intro-close:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: rotate(90deg);
}


/* =========================================================
   ORDER INTRO HEADER
========================================================= */

.order-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    margin-bottom: 16px;

    border-radius: 16px;
    background: #eaffef;

    font-size: 27px;
}

.order-intro-kicker {
    margin-bottom: 5px;
    color: #34a853;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.order-intro-title {
    margin: 0;
    color: #17211b;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.order-intro-subtitle {
    margin: 10px 0 26px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   ORDER INTRO STEPS
========================================================= */

.order-intro-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-intro-step {
    position: relative;

    display: flex;
    gap: 15px;

    padding-bottom: 20px;
}

.order-intro-step:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 38px;
    left: 17px;

    width: 2px;
    height: calc(100% - 18px);

    background: #dcefe1;
}

.order-intro-number {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    background: #4ab065;
    color: #fff;

    font-size: 11px;
    font-weight: 800;

    box-shadow: 0 4px 10px rgba(52, 220, 88, 0.2);
}

.order-intro-step-content {
    padding-top: 1px;
}

.order-intro-step-title {
    margin-bottom: 3px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
}

.order-intro-step-text {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   ORDER INTRO EVENT
========================================================= */

.order-intro-event {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-top: 2px;
    padding: 15px;

    border: 1px solid #ccebd5;
    border-radius: 14px;
    background: #f3fff6;
}

.order-intro-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 30px;
    height: 30px;

    border-radius: 50%;
    background: #4ab065;
    color: #fff;

    font-size: 15px;
    font-weight: 900;
}

.order-intro-event-title {
    margin-bottom: 3px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
}

.order-intro-event-text {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   ORDER INTRO IMPORTANT
========================================================= */

.order-intro-important {
    display: flex;
    flex-direction: column;
    gap: 3px;

    margin-top: 12px;
    padding: 12px 14px;

    border: 1px solid #f1dfb8;
    border-radius: 10px;
    background: #fffaf0;

    color: #806329;
    font-size: 12px;
    line-height: 1.5;
}

.order-intro-important strong {
    color: #6f5017;
    font-weight: 800;
}


/* =========================================================
   ORDER INTRO START BUTTON
========================================================= */

.order-intro-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    margin-top: 20px;
    padding: 16px 22px;

    border: 0;
    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #34dc58,
        #2f8d5d
    );

    color: #fff;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(47, 141, 93, 0.22);

    transition: all 0.2s ease;
}

.order-intro-start span {
    font-size: 20px;
}

.order-intro-start:hover {
    box-shadow: 0 12px 25px rgba(47, 141, 93, 0.3);
    transform: translateY(-2px);
}


/* =========================================================
   BODY LOCK
========================================================= */

body.order-intro-open {
    overflow: hidden;
    

      font-family: "Google Sans", sans-serif;
      font-optical-sizing: auto;
      font-weight: 300;
      font-style: normal;
      font-variation-settings:
        "GRAD" 0;


}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* Order intro */
    .order-intro-overlay {
        padding: 12px;
    }

    .order-intro-modal {
        max-height: calc(100vh - 24px);
        padding: 28px 22px 22px;
        border-radius: 20px;
    }

    .order-intro-title {
        font-size: 25px;
    }

    .order-intro-subtitle {
        margin-bottom: 22px;
        font-size: 14px;
    }

    .order-intro-step {
        padding-bottom: 17px;
    }

    .order-intro-step-text,
    .order-intro-event-text {
        font-size: 12.5px;
    }

    .order-intro-start {
        padding: 15px 16px;
        font-size: 14px;
    }

    /* Allergenen / textarea */
    .allergenen-opmerkingen {
        margin-top: 30px;
    }

    .field-label {
        font-size: 18px;
    }

    .field-description {
        font-size: 14px;
    }

    .form-textarea {
        min-height: 130px;
        padding: 16px 17px;
        border-radius: 16px;
        font-size: 16px;
    }
}


   /* ========================================
      BODY
      ======================================== */

   body.modal-open {
      overflow: hidden;
   }


   /* ========================================
      SUMMARY CARD
      ======================================== */

   .summary-card {
      width: 100%;
   }


   .summary-card .summary-inner {

      min-height: 420px;

      display: flex;

      align-items: center;

      justify-content: center;

      background:
         linear-gradient(
            180deg,
            #ffffff 0%,
            #fff8f8 100%
         );

      border: 2px solid #f3dada;

      border-radius: 18px;

   }


   /* ========================================
      CONTENT
      ======================================== */

   .summary-content {

      width: 100%;

      max-width: 650px;

      padding: 40px 30px;

      text-align: center;

   }


   /* ========================================
      TITLE
      ======================================== */

   .summary-title {

      margin: 0 0 18px;

      font-size: 38px;

      line-height: 1.1;

      font-weight: 800;

      color: #111;

   }


   /* ========================================
      TEXT
      ======================================== */

   .summary-text {

      margin: 0 auto 15px;

      max-width: 580px;

      font-size: 17px;

      line-height: 1.6;

      color: #666;

   }


   /* ========================================
      ACTIONS
      ======================================== */

   .summary-actions {

      display: flex;

      flex-direction: column;

      gap: 16px;

      margin-top: 30px;

      align-items: center;

   }


   /* ========================================
      AFMELDKNOP
      ======================================== */

   .summary-button {

      display: flex;

      align-items: center;

      justify-content: center;

      width: 100%;

      max-width: 420px;

      min-height: 62px;

      padding: 12px 24px;

      border-radius: 12px;

      font-size: 18px;

      font-weight: 700;

      cursor: pointer;

      transition:
         transform 0.2s ease,
         background 0.2s ease,
         box-shadow 0.2s ease;

      box-sizing: border-box;

   }


   .summary-button-danger {

      background: #d32f2f;

      border: 2px solid #d32f2f;

      color: #fff;

   }


   .summary-button-danger:hover {

      background: #b71c1c;

      border-color: #b71c1c;

      color: #fff;

      transform: translateY(-2px);

      box-shadow:
         0 10px 24px rgba(211,47,47,0.20);

   }


   /* ========================================
      MODAL
      ======================================== */

   .afmelden-modal {

      display: none;

      position: fixed;

      z-index: 99999;

      inset: 0;

      width: 100%;

      height: 100%;

      padding: 20px;

      box-sizing: border-box;

      background:
         rgba(0, 0, 0, 0.68);

      align-items: center;

      justify-content: center;

   }


   .afmelden-modal.active {

      display: flex;

   }


   /* ========================================
      MODAL CONTENT
      ======================================== */

   .afmelden-modal-content {

      width: 100%;

      max-width: 480px;

      max-height: 90vh;

      overflow-y: auto;

      box-sizing: border-box;

      background: #fff;

      border-radius: 20px;

      padding: 35px 25px;

      text-align: center;

      box-shadow:
         0 25px 70px rgba(0,0,0,0.30);

      animation:
         afmeldenPopup 0.2s ease-out;

   }


   @keyframes afmeldenPopup {

      from {

         opacity: 0;

         transform:
            scale(0.94)
            translateY(10px);

      }

      to {

         opacity: 1;

         transform:
            scale(1)
            translateY(0);

      }

   }


   /* ========================================
      WAARSCHUWINGSICOON
      ======================================== */

   .afmelden-icon {

      width: 58px;

      height: 58px;

      margin: 0 auto 18px;

      display: flex;

      align-items: center;

      justify-content: center;

      border-radius: 50%;

      background: #fff3cd;

      color: #856404;

      font-size: 30px;

      font-weight: 800;

   }


   /* ========================================
      MODAL TITEL
      ======================================== */

   .afmelden-modal h2 {

      margin: 0 0 16px;

      font-size: 28px;

      line-height: 1.2;

      color: #222;

   }


   /* ========================================
      MODAL TEKST
      ======================================== */

   .afmelden-modal p {

      margin: 0 0 12px;

      font-size: 16px;

      line-height: 1.55;

      color: #555;

   }


   /* ========================================
      MODAL BUTTONS
      ======================================== */

   .afmelden-actions {

      display: flex;

      flex-direction: column;

      gap: 12px;

      margin-top: 28px;

   }


   .afmelden-actions button {

      width: 100%;

      min-height: 54px;

      padding: 12px 18px;

      border-radius: 10px;

      font-size: 16px;

      font-weight: 700;

      cursor: pointer;

      box-sizing: border-box;

   }


   /* ANNULEREN */

   .afmelden-cancel {

      background: #fff;

      border: 2px solid #ddd;

      color: #333;

   }


   .afmelden-cancel:hover {

      background: #f5f5f5;

      border-color: #ccc;

   }


   /* BEVESTIGEN */

   .afmelden-confirm {

      background: #d32f2f;

      border: 2px solid #d32f2f;

      color: #fff;

   }


   .afmelden-confirm:hover {

      background: #b71c1c;

      border-color: #b71c1c;

   }


   /* LOADING */

   .afmelden-confirm.loading {

      opacity: 0.65;

      cursor: wait;

   }


   /* ========================================
      MOBIEL
      ======================================== */

   @media (max-width: 576px) {

      .col-md-10.offset-md-1 {

         padding-left: 12px !important;

         padding-right: 12px !important;

      }


      .summary-card .summary-inner {

         min-height: 0;

         border-radius: 14px;

      }


      .summary-content {

         padding: 30px 18px;

      }


      .summary-title {

         font-size: 29px;

      }


      .summary-text {

         font-size: 16px;

      }


      .summary-button {

         min-height: 58px;

         font-size: 17px;

      }


      .afmelden-modal {

         padding: 12px;

      }


      .afmelden-modal-content {

         padding: 28px 20px;

         border-radius: 16px;

      }


      .afmelden-modal h2 {

         font-size: 25px;

      }

   }
   
   
   
     
      .summary-card {
          height: 100%;
          min-height: 100%;
      }
      
      .summary-inner {
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          background: linear-gradient(
              145deg,
              #f8fff9 0%,
              #eefcf1 100%
          );
          border: 1px solid rgba(52, 220, 88, 0.25);
      }
      
      .summary-content {
          width: 100%;
          padding: 30px 25px;
          text-align: center;
      }
      
      
      /* Groen vinkje */
      
      .summary-check {
          display: flex;
          align-items: center;
          justify-content: center;
      
          width: 58px;
          height: 58px;
      
          margin: 0 auto 20px;
      
          border-radius: 50%;
      
          background: #4ab065;
          color: #fff;
      
          font-size: 28px;
          font-weight: 700;
      
          box-shadow: 0 8px 20px rgba(52, 220, 88, 0.25);
      }
      
      
      /* Titel */
      
      .summary-title {
          margin: 0 0 12px;
      
          color: #222;
      
          font-size: 25px;
          line-height: 1.2;
          font-weight: 700;
      }
      
      
      /* Tekst */
      
      .summary-text {
          max-width: 320px;
      
          margin: 0 auto 25px;
      
          color: #666;
      
          font-size: 15px;
          line-height: 1.6;
      }
      
      
      /* Afrond-knop */
      
      .summary-button {
          display: inline-flex;
      
          align-items: center;
          justify-content: center;
      
          width: 100%;
      
          min-height: 50px;
      
          padding: 13px 20px;
      
          border: 0;
          border-radius: 7px;
      
          font-size: 15px;
          font-weight: 700;
      
          cursor: pointer;
      
          transition:
              background .2s ease,
              transform .2s ease,
              box-shadow .2s ease;
      }
      
      
      .summary-button-primary {
          background: #4ab065;
          color: #fff;
      
          box-shadow: 0 5px 15px rgba(52, 220, 88, 0.25);
      }
      
      
      .summary-button-primary:hover {
          background: #25c947;
      
          transform: translateY(-2px);
      
          box-shadow: 0 8px 20px rgba(52, 220, 88, 0.30);
      }
      
      
      /* Kleine tekst onder knop */
      
      .summary-note {
          margin: 15px 0 0;
      
          color: #888;
      
          font-size: 12px;
          line-height: 1.5;
      }
      
      
      /* Hover effect op de hele kaart */
      
      .summary-card {
          transition:
              transform .25s ease,
              box-shadow .25s ease;
      }
      
      .summary-card:hover {
          transform: translateY(-3px);
      
          box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
      }
      
      
      /* Mobiel */
      
      @media (max-width: 767px) {
      
          .summary-content {
              padding: 25px 20px;
          }
      
          .summary-title {
              font-size: 22px;
          }
      
          .summary-button {
              min-height: 48px;
          }
      
      }
   
   
   .finish-modal {
   
       display: flex;
   
       position: fixed;
   
       inset: 0;
   
       z-index: 99999;
   
       align-items: center;
   
       justify-content: center;
   
   }
   
   
   /* Donkere achtergrond */
   
   .finish-modal-overlay {
   
       position: absolute;
   
       inset: 0;
   
       background: rgba(0, 0, 0, .65);
   
       backdrop-filter: blur(4px);
   
   }
   
   
   /* Modal */
   
   .finish-modal-content {
   
       position: relative;
   
       z-index: 2;
   
       width: calc(100% - 30px);
   
       max-width: 520px;
   
       max-height: 90vh;
   
       overflow-y: auto;
   
       padding: 40px 35px 30px;
   
       background: #fff;
   
       border-radius: 18px;
   
       box-shadow: 0 25px 70px rgba(0,0,0,.25);
   
       animation: finishModalIn .25s ease-out;
   
   }
   
   
   /* Animatie */
   
   @keyframes finishModalIn {
   
       from {
   
           opacity: 0;
   
           transform: translateY(15px) scale(.98);
   
       }
   
       to {
   
           opacity: 1;
   
           transform: translateY(0) scale(1);
   
       }
   
   }
   
   
   /* Groen vinkje */
   
   .finish-modal-icon {
   
       width: 58px;
   
       height: 58px;
   
       margin: 0 auto 18px;
   
       border-radius: 50%;
   
       background: #eefcef;
   
       color: #4ab065;
   
       text-align: center;
   
       line-height: 58px;
   
       font-size: 28px;
   
       font-weight: 700;
   
   }
   
   
   /* Titel */
   
   .finish-modal-content h2 {
   
       margin: 0 0 8px;
   
       color: #222;
   
       font-size: 27px;
   
       text-align: center;
   
   }
   
   
   /* Intro */
   
   .finish-modal-intro {
   
       margin: 0 0 20px;
   
       color: #666;
   
       font-size: 15px;
   
       text-align: center;
   
   }
   
   
   /* =========================================
      GEKOZEN GERECHTEN
      ========================================= */
   
   .chosen-item {
   
       display: flex;
   
       align-items: center;
   
       gap: 12px;
   
       margin-bottom: 7px;
   
       padding: 11px 14px;
   
       background: #f7f8f7;
   
       border-radius: 8px;
   
       color: #333;
   
       font-size: 15px;
   
   }
   
   
   .chosen-item-check {
   
       display: flex;
   
       align-items: center;
   
       justify-content: center;
   
       width: 24px;
   
       height: 24px;
   
       min-width: 24px;
   
       border-radius: 50%;
   
       background: #4ab065;
   
       color: #fff;
   
       font-size: 12px;
   
       font-weight: 700;
   
   }
   
   
   /* =========================================
      ONDERSTE TEKST
      ========================================= */
   
   .finish-modal-question {
   
       margin: 22px 0;
   
       color: #444;
   
       font-size: 14px;
   
       font-weight: 600;
   
       text-align: center;
   
   }
   
   
   /* =========================================
      BUTTONS
      ========================================= */
   
   .finish-modal-actions {
   
       display: flex;
   
       gap: 12px;
   
   }
   
   
   .finish-button {
   
       flex: 1;
   
       padding: 14px 16px;
   
       border-radius: 7px;
   
       font-size: 14px;
   
       font-weight: 700;
   
       cursor: pointer;
   
       transition: .2s ease;
   
   }
   
   
   .finish-button-secondary {
   
       background: #fff;
   
       border: 2px solid #ddd;
   
       color: #444;
   
   }
   
   
   .finish-button-secondary:hover {
   
       background: #f5f5f5;
   
       border-color: #ccc;
   
   }
   
   
   .finish-button-primary {
   
       background: #4ab065;
   
       border: 2px solid #4ab065;
   
       color: #fff;
   
   }
   
   
   .finish-button-primary:hover {
   
       background: #25c947;
   
       border-color: #25c947;
   
   }
   
   
   /* =========================================
      MOBIEL
      ========================================= */
   
   @media (max-width: 600px) {
   
       .finish-modal-content {
   
           width: calc(100% - 24px);
   
           padding: 35px 20px 25px;
   
       }
   
       .finish-modal-actions {
   
           flex-direction: column;
   
       }
   
       .finish-button {
   
           width: 100%;
   
       }
   
   }




    .thank-you-page {
        padding: 70px 20px 90px;
        background: #f8f8f6;
        min-height: 70vh;
        display: flex;
        align-items: center;
    }
   
    .thank-you-card {
        background: #ffffff;
        border-radius: 18px;
        padding: 55px 60px;
        text-align: center;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        border-top: 6px solid #4ab065;
    }
   
    .thank-you-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 25px;
        border-radius: 50%;
        background: #4ab065;
        color: #ffffff;
        font-size: 34px;
        line-height: 64px;
        font-weight: 700;
    }
   
    .thank-you-card h1 {
        margin: 0 0 12px;
        color: #222222;
        font-size: 42px;
        line-height: 1.15;
        font-weight: 700;
    }
   
    .thank-you-card h2 {
        margin: 0 0 25px;
        color: #555555;
        font-size: 21px;
        font-weight: 400;
    }
   
    .thank-you-card p {
        color: #555555;
        font-size: 17px;
        line-height: 1.7;
    }
   
    .intro {
        max-width: 650px;
        margin: 0 auto 35px;
    }
   
   
    /* EVENT DETAILS */
   
    .event-details {
        max-width: 650px;
        margin: 0 auto 35px;
        padding: 28px 30px;
        background: #fafafa;
        border: 1px solid #e8e8e8;
        border-radius: 14px;
        text-align: left;
    }
   
    .event-details-title {
        margin-bottom: 22px;
        color: #222222;
        font-size: 20px;
        font-weight: 700;
        text-align: center;
    }
   
    .event-detail {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 15px 0;
        border-bottom: 1px solid #e8e8e8;
    }
   
    .event-detail:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
   
    .event-detail:first-of-type {
        padding-top: 0;
    }
   
    .event-detail-icon {
        width: 34px;
        min-width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eefcef;
        border-radius: 50%;
        font-size: 16px;
    }
   
    .event-detail span {
        display: block;
        margin-bottom: 3px;
        color: #888888;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: .06em;
    }
   
    .event-detail strong {
        display: block;
        color: #222222;
        font-size: 16px;
        line-height: 1.5;
    }
   
   
    /* INFO BOX */
   
    .info-box {
        margin: 30px auto;
        padding: 25px 30px;
        max-width: 650px;
        background: #f3f3f0;
        border-radius: 12px;
        text-align: left;
    }
   
    .info-box strong {
        color: #222222;
        font-size: 18px;
    }
   
    .info-box p {
        margin: 8px 0 0;
        font-size: 16px;
    }
   
    .closing {
        margin: 30px auto;
        max-width: 650px;
    }
   
    .btn-primary {
        display: inline-block;
        margin-top: 10px;
        padding: 14px 28px;
        border-radius: 6px;
        background: #4ab065;
        border: 2px solid #4ab065;
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
        transition: all .2s ease;
    }
   
    .btn-primary:hover {
        background: #25c947;
        border-color: #25c947;
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
    }
   
   
    /* MOBILE */
   
    @media (max-width: 767px) {
   
        .thank-you-page {
            padding: 40px 15px 60px;
        }
   
        .thank-you-card {
            padding: 40px 20px;
        }
   
        .thank-you-card h1 {
            font-size: 32px;
        }
   
        .thank-you-card h2 {
            font-size: 19px;
        }
   
        .thank-you-card p {
            font-size: 16px;
        }
   
        .event-details {
            padding: 24px 20px;
        }
   
        .info-box {
            padding: 20px;
        }
    }





/* RESPONSIVE – Toevoegen en Bevestigen */
    
    .menu-card-footer {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
    
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px 0 0;
    }
    
    /* Beide buttons */
    .menu-card-footer .add-button,
    .menu-card-footer .submit-selection {
        flex: 1 1 140px;
        width: auto !important;
        max-width: 100%;
        min-width: 0;
    
        min-height: 46px !important;
        height: auto !important;
        padding: 12px 14px !important;
    
        box-sizing: border-box !important;
        border-radius: 999px !important;
    
        display: inline-flex;
        align-items: center;
        justify-content: center;
    
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    
    /* Voorkom dat de inhoud buiten de kaart valt */
    .menu-card,
    .menu-card .card-inner,
    .menu-card .card-content {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Mobiel: buttons onder elkaar */
    @media (max-width: 480px) {
        .menu-card-footer {
            flex-direction: column;
            align-items: stretch;
        }
    
        .menu-card-footer .add-button,
        .menu-card-footer .submit-selection {
            width: 100% !important;
            max-width: 100%;
            flex: 0 0 auto;
        }
    }
    
    /* Eerste button zwart zodra beide buttons zichtbaar zijn */
    .menu-card-footer:has(.submit-selection:not([hidden])) .add-button {
        background-color: #000 !important;
        color: #fff !important;
        border-color: #000 !important;
    }
    
    /* Tweede button groen houden */
    .menu-card-footer .submit-selection {
        background-color: #198754 !important;
        color: #fff !important;
        border-color: #198754 !important;
    }
    
