/* Eatmeister – allergenen op de website */
.emo-alg-ico { display: inline-block; flex: 0 0 auto; }

/* Productpopup */
.emo-alg { margin: 12px 0 14px; padding: 12px 14px; border: 1px solid #ececec; border-radius: 14px; background: #fbfbfb; }
.emo-alg__head { margin: 0 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b6b6b; }
.emo-alg__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 6px !important; font-size: 13px; }
.emo-alg__row:last-child { margin-bottom: 0 !important; }
.emo-alg__lbl { font-weight: 600; color: #3a3a3a; }
.emo-alg__chips { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.emo-alg__chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 6px; border-radius: 999px; background: #fdecec; color: #a12626; font-size: 12.5px; font-weight: 600; line-height: 20px; }
.emo-alg__chip--t { background: #fff3e0; color: #9a5b00; }
.emo-alg__chip.is-new { box-shadow: 0 0 0 2px rgba(236,147,22,.45); }
.emo-alg__none, .emo-alg__unknown { margin: 0 !important; font-size: 13px; color: #4a4a4a; }
.emo-alg__none { color: #1f7a17; font-weight: 600; }
.emo-alg__unknown a, .emo-alg-notice a { color: var(--emo-accent, #208418); font-weight: 700; white-space: nowrap; }

/* "i"-knopje: rustig grijs, klein */
.emo-alg-i { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0 0 0 7px; padding: 0 !important; border: 1.3px solid #b5b5b5 !important; border-radius: 50% !important; background: #fff !important; color: #8a8a8a !important; font: italic 700 11px/1 Georgia, 'Times New Roman', serif !important; cursor: pointer; vertical-align: 3px; box-shadow: none !important; flex: 0 0 auto; transition: background .15s, color .15s, border-color .15s; }
.emo-alg-i:hover, .emo-alg-i:focus-visible, .emo-alg-i[aria-expanded="true"] { background: #6b6b6b !important; border-color: #6b6b6b !important; color: #fff !important; outline: none; }
.emo-popup__title .emo-alg-i { vertical-align: 4px; }
.emo-alg[hidden] { display: none !important; }
.emo-popup .emo-alg { margin-top: 10px; animation: emo-alg-in .18s ease-out; }
@keyframes emo-alg-in { from { opacity: 0; transform: translateY(-4px); } }

/* Menukaart: "i" rechtsboven op het gerecht, paneel eronder */
.emo-loop-item, .emo-card { position: relative; }
.emo-alg-card-i { position: absolute; top: 8px; right: 8px; z-index: 5; }
.emo-alg-card-i .emo-alg-i { margin: 0; width: 20px; height: 20px; font-size: 12px !important; background: rgba(255,255,255,.92) !important; }
.emo-alg-card-i .emo-alg-i:hover, .emo-alg-card-i .emo-alg-i[aria-expanded="true"] { background: #6b6b6b !important; }
/* Open paneel boven de kaarten eronder (ook boven hun "i") */
.emo-loop-item.is-alg-open, .emo-card.is-alg-open { z-index: 60 !important; }
.emo-alg-card-i.is-open { z-index: 70; }
.emo-alg-pop { z-index: 80; }
.emo-alg-pop { position: absolute; top: calc(100% + 6px); right: 0; width: 260px; max-width: calc(100vw - 32px); padding: 12px 14px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.16); text-align: left; animation: emo-alg-in .18s ease-out; }
.emo-alg-pop[hidden] { display: none; }

/* (oud) kleine icoontjes */
.emo-alg-icons { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; }
.emo-alg-icons__i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fdecec; color: #a12626; cursor: help; }
.emo-alg-icons__i.is-t { background: #fff3e0; color: #9a5b00; }
.emo-loop-item .emo-alg-icons { padding: 0 12px 10px; }

/* Regel onder het menu */
.emo-alg-notice { display: flex; align-items: center; gap: 10px; margin: 24px 0 8px; padding: 12px 16px; border-radius: 14px; background: #fff8ee; border: 1px solid #f3d7ad; color: #5a3d00; font-size: 14px; line-height: 1.45; }
.emo-alg-notice .emo-alg-ico { color: #C97A0C; }

/* Allergenenkaart [eatmeister_allergenen] */
.emo-alg-card__intro .emo-alg-notice { margin-top: 0; }
.emo-alg-card__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; font-size: 13px; color: #555; }
.emo-alg-card__scroll { overflow: auto; border: 1px solid #e6e6e6; border-radius: 12px; }
.emo-alg-card__table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0 !important; }
.emo-alg-card__table th, .emo-alg-card__table td { padding: 6px 5px; border-bottom: 1px solid #f1f1f1; text-align: center; }
.emo-alg-card__table thead th { background: #fafafa; color: #555; vertical-align: bottom; font-weight: 600; }
.emo-alg-card__table thead th span { display: block; font-size: 10.5px; line-height: 1.1; margin-top: 3px; }
.emo-alg-card__table tbody th { text-align: left; font-weight: 600; white-space: nowrap; padding-left: 10px; }
.emo-alg-card__cat th { background: #f6f6f6; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; color: #666; }
.emo-alg-card__c { color: #b32d2e; }
.emo-alg-card__t { color: #C97A0C; }
.emo-alg-card__q { color: #bbb; }

/* Afrekenen */
.emo-allergy-field textarea { min-height: 54px; }
