/* AH Voordeelshop — aanvullingen op de gedeelde Navstar-stijl. */
.paginatitel { font-size: 1.15rem; font-weight: 700; margin: 0; }
.filterpaneel-ahv { display: flex; align-items: flex-end; gap: .9rem; flex-wrap: wrap;
  margin-bottom: 1rem; padding: .9rem 1.2rem; }
.filterpaneel-ahv .filtergroep > label { display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--inkt-zacht); margin-bottom: .3rem; }
.filterpaneel-ahv select, .filterpaneel-ahv input[type=date] { padding: .5rem .7rem;
  font-size: .9rem; font-family: var(--tekst); border: 2px solid var(--rand); border-radius: 9px;
  background: #f8fafc; min-width: 10rem; }
.filterpaneel-ahv select:focus, .filterpaneel-ahv input[type=date]:focus { outline: none;
  border-color: var(--blauw); background: var(--wit); }
.filterpaneel-ahv .exportgroep { margin-left: auto; }
.filtergroep[hidden] { display: none; }
.stand { font-size: .8rem; color: var(--inkt-zacht); }
.testpil { background: #f39c12; color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .08em; border-radius: 99px; padding: .2rem .6rem; }

.kengetallen-ahv { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tegel-sub { font-size: .72rem; color: var(--inkt-zacht); }
.tegel-rood { background: linear-gradient(135deg, #fff6f6, #fdeaea); border-color: #f6c6c6; }
.tegel-netto { background: linear-gradient(135deg, #eef7ff, #dbeafe); border-color: #bfdbfe; }
.tegel-waarde.klein { font-size: 1rem; }

.grafiek-wrap { width: 100%; }
.grafiek { width: 100%; height: auto; display: block; font-family: var(--tekst); }

.twee-kolommen { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.1rem; align-items: start; }
.twee-kolommen.kolommen-1-1 { grid-template-columns: 1fr 1fr; }
.twee-kolommen > .paneel { margin-bottom: 1.1rem; min-width: 0; }
@media (max-width: 1100px) { .twee-kolommen { grid-template-columns: 1fr; } }
.tabel-hoog-ahv { max-height: 480px; overflow: auto; }
.tabel-hoog-ahv thead th { position: sticky; top: 0; z-index: 2; }
.rij-annulering td { color: var(--fout); }
.prijstabel td.negatief { color: var(--fout); font-weight: 600; }
.status-pil.blauw { background: #dbeafe; color: #1d4ed8; }

.contactlijst { display: flex; flex-direction: column; gap: .35rem; }
.contactregel { display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  font-size: .86rem; padding: .3rem .4rem; border-radius: 8px; background: #f8fafc; }
.contactregel.uit .contactadres { color: var(--inkt-zacht); text-decoration: line-through; }
.contactregel .acties form { display: inline; }
.contacttaal { padding: .25rem .4rem; font-size: .78rem; font-family: var(--tekst);
  border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; }
.knop-mini { padding: .3rem .7rem; font-size: .78rem; }
.contactnieuw { display: flex; gap: .4rem; flex-wrap: wrap; }
.contactnieuw input[type=text] { flex: 1; min-width: 9rem; padding: .45rem .7rem; font-size: .85rem; }

.artikelfilter { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: .8rem; }
.artikelfilter input[type=text] { flex: 1; min-width: 16rem; padding: .5rem .8rem; font-size: .9rem; }
.artikelfilter select { padding: .5rem .7rem; font-size: .9rem; font-family: var(--tekst);
  border: 2px solid var(--rand); border-radius: 9px; background: #f8fafc; }
.artikeltabel tr[hidden] { display: none; }
.artikeltabel input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blauw); }
.veld.vink label { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.veld.vink input { accent-color: var(--blauw); width: 16px; height: 16px; }
.formulierraster select { padding: .6rem .8rem; font-size: .92rem; font-family: var(--tekst);
  border: 2px solid var(--rand); border-radius: 10px; background: #f8fafc; width: 100%; }

.zij-promo span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.zij-stip { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.zij-stip.groen { background: var(--goed); }
.zij-stip.grijs { background: #cbd5e1; }
.zij-stip.blauw { background: var(--blauw); }

/* Promotieformulier: beide vakken even hoog, nette rasters. */
.kolommen-gelijk { align-items: stretch; }
.kolommen-gelijk > .paneel { display: flex; flex-direction: column; }
.kolommen-gelijk .formulierraster textarea { min-height: 7.5rem; }
.vink-rij { margin: 0 0 1.1rem; padding: .7rem .9rem; background: #f4f9fd; border: 1px solid #d7e7f3;
  border-radius: 10px; }
.mailraster { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.mailraster .veld { margin: 0; }
.mailraster .veld label { white-space: nowrap; }
.mailraster input[type=text], .mailraster input[type=date], .mailraster select {
  width: 100%; padding: .6rem .8rem; font-size: .92rem; font-family: var(--tekst);
  border: 2px solid var(--rand); border-radius: 10px; background: #f8fafc; }
.mailraster input:focus, .mailraster select:focus { outline: none; border-color: var(--blauw); background: var(--wit); }
.subkop { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--rand); }
.kolommen-gelijk .contactlijst { flex: 0 0 auto; }
.contactlijst .merkvink { padding: .45rem .6rem; border-radius: 8px; background: #f8fafc; }
.contactlijst .merkvink[hidden] { display: none; }

/* Merken & contacten */
.merk-toevoegen { display: flex; gap: .5rem; align-items: center; }
.merk-toevoegen select { padding: .55rem .8rem; font-size: .9rem; font-family: var(--tekst);
  border: 2px solid var(--rand); border-radius: 10px; background: var(--wit); min-width: 22rem; }
.merkkaart-contact { gap: .7rem; }
.kaart-verborgen { opacity: .6; }
.contactadres { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.contactadres svg { width: 15px; height: 15px; color: var(--inkt-zacht); flex-shrink: 0; }
.contactadres > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merkkaart-voet { display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--rand); padding-top: .6rem; margin-top: .2rem; }
.knop-tekst { background: none; border: 0; color: var(--blauw-donker); font-weight: 600;
  font-size: .82rem; cursor: pointer; padding: .2rem .3rem; font-family: var(--tekst); }
.knop-tekst:hover { text-decoration: underline; }
.geavanceerd { margin-top: 1.4rem; }
.geavanceerd summary { cursor: pointer; font-family: var(--kop); font-weight: 700; font-size: 1.02rem;
  display: flex; align-items: center; gap: .8rem; }
.geavanceerd summary .teller { font-family: var(--tekst); font-weight: 400; }
.knop-zeker, .knop.knop-zeker, .knop-gevaar.knop-zeker { background: var(--fout) !important; color: #fff !important;
  border-color: var(--fout) !important; }
.merkkeuze-lijst { display: flex; flex-wrap: wrap; gap: .4rem .6rem; }
.merkkeuze-lijst .merkvink { padding: .4rem .8rem; border: 2px solid var(--rand); border-radius: 10px;
  background: #f8fafc; font-weight: 600; font-size: .9rem; cursor: pointer; }
.merkkeuze-lijst .merkvink:has(input:checked) { border-color: var(--blauw); background: #eaf4fb; color: var(--blauw-donker); }
/* Modal in de huisstijl (blauwe kopband, witte kaart) */
.modal-achtergrond { position: fixed; inset: 0; background: rgba(13, 39, 64, .55); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-achtergrond[hidden] { display: none; }
.modal { background: var(--wit); border-radius: 18px; width: 100%; max-width: 30rem; overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 40, 70, .45); font-family: var(--tekst); }
.modal-kop { background: linear-gradient(135deg, #0088ca, #00527a); color: var(--wit); padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: .9rem; }
.modal-kop img { height: 24px; filter: brightness(0) invert(1); }
.modal-kop h3 { margin: 0; font-family: var(--kop); font-size: 1.15rem; font-weight: 700; flex: 1; }
.modal-sluit { background: rgba(255, 255, 255, .18); border: 0; color: var(--wit); width: 30px; height: 30px;
  border-radius: 50%; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.modal-sluit:hover { background: rgba(255, 255, 255, .32); }
.modal-inhoud { padding: 1.3rem 1.4rem .4rem; }
.modal-inhoud .intro-tekst { margin-bottom: 1.1rem; font-size: .88rem; }
.modal-inhoud .veld { margin-bottom: 1rem; }
.modal-inhoud .veld[hidden] { display: none; }
.modal-inhoud select { width: 100%; padding: .7rem .9rem; font-size: .95rem; font-family: var(--tekst);
  border: 2px solid var(--rand); border-radius: 10px; background: #f8fafc; }
.modal-inhoud .melding-fout { margin: 0 0 1rem; }
.modal-voet { display: flex; justify-content: flex-end; gap: .6rem; padding: .6rem 1.4rem 1.3rem; }

/* hidden wint altijd van display-regels op knoppen e.d. */
[hidden] { display: none !important; }

/* Taalkeuze */
.taalkeuze select { background: rgba(255, 255, 255, .18); color: var(--wit); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px; padding: .35rem .5rem; font-size: .82rem; font-family: var(--tekst); cursor: pointer; }
.taalkeuze select option { color: var(--inkt); }
.login-talen { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.login-talen a { font-size: .78rem; font-weight: 600; color: var(--inkt-zacht); text-decoration: none;
  padding: .25rem .6rem; border-radius: 99px; border: 1px solid var(--rand); }
.login-talen a.actief { background: var(--blauw); color: var(--wit); border-color: var(--blauw); }
.login-talen a:hover { border-color: var(--blauw); }
.contactnieuw select { padding: .45rem .5rem; font-size: .82rem; font-family: var(--tekst);
  border: 2px solid var(--rand); border-radius: 9px; background: #f8fafc; }
/* Bundelonderdelen in de artikeltabellen */
.rij-onderdeel td { color: var(--inkt-zacht); font-size: .8rem; background: #fbfdff !important; }
.rij-onderdeel td.mono { padding-left: 1.6rem; }

/* Retouren (oranje) naast annuleringen (rood) */
.tegel-oranje { background: linear-gradient(135deg, #fff8ec, #fdefd2); border-color: #f5d79a; }
.tegel-waarde.retour, .prijstabel td.retour { color: #c77700; font-weight: 600; }
.rij-retour td { color: #c77700; }

/* Grafiek: schakelaar omzet / stuks */
.grafiek-wrap[hidden] { display: none; }
.kop-rechts { display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.grafiek-schakel { display: inline-flex; background: var(--achtergrond); border: 1px solid var(--rand);
  border-radius: 999px; padding: 2px; }
.grafiek-schakel button { border: 0; background: transparent; color: var(--inkt-zacht); cursor: pointer;
  font: 600 .78rem var(--tekst); padding: .3rem .85rem; border-radius: 999px; }
.grafiek-schakel button.aan { background: var(--blauw); color: var(--wit); }
