/* Hartje, het chathulpje */
.hartje-start { position: fixed; right: 18px; bottom: 18px; z-index: 90; border: 0; padding: 0; background: none; cursor: pointer;
  filter: drop-shadow(0 10px 18px rgba(230, 60, 120, .28)); transition: translate .35s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; }
.hartje-start img { display: block; width: 78px; height: 78px; object-fit: contain; animation: hartjeWieg 4s ease-in-out infinite; }
.hartje-start:hover { translate: 0 -4px; }
.hartje-start.weg { opacity: 0; pointer-events: none; translate: 0 20px; }
.hartje-ballon { position: absolute; right: 84px; bottom: 26px; width: max-content; max-width: 220px; background: #fff; color: var(--inkt); font: 500 14px/1.35 var(--sans);
  padding: 10px 14px; border-radius: 16px 16px 4px 16px; box-shadow: 0 8px 26px rgba(40, 30, 80, .16); text-align: left; animation: hartjeIn .35s ease-out; }
@keyframes hartjeWieg { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes hartjeIn { from { opacity: 0; translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .hartje-start img { animation-duration: 12s; } }

.hartje-paneel { position: fixed; right: 18px; bottom: 18px; z-index: 95; width: min(400px, calc(100vw - 36px)); height: min(640px, calc(100vh - 36px));
  display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(40, 30, 80, .25), 0 0 0 1px rgba(40, 30, 80, .05); animation: hartjeIn .25s ease-out; }
.hartje-paneel[hidden] { display: none; }
.hartje-kop { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 12px; background: linear-gradient(120deg, var(--roze-l, #ffe3ef), #e9f0ff); }
.hartje-gezicht { width: 52px; height: 52px; object-fit: contain; }
.hartje-kop div { flex: 1; display: grid; line-height: 1.2; }
.hartje-kop b { font: 500 21px var(--schreef); color: var(--inkt); }
.hartje-kop small { font: 500 12.5px var(--sans); color: var(--zacht); }
.hartje-dicht { border: 0; background: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--inkt); }
.hartje-dicht:hover { background: var(--inkt); color: #fff; }

.hartje-berichten { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: #fffafc; overscroll-behavior: contain; }
.hb { display: flex; }
.hb p { margin: 0; max-width: 86%; padding: 10px 14px; border-radius: 18px; font: 400 15px/1.45 var(--sans); white-space: pre-line; }
.hb-hartje p { background: #fff; color: var(--inkt); border: 1.5px solid #f6dbe7; border-bottom-left-radius: 6px; }
.hb-jij { justify-content: flex-end; }
.hb-jij p { background: var(--roze, #ff4f93); color: #fff; border-bottom-right-radius: 6px; }
.hb-bezig p { display: flex; gap: 5px; padding: 14px 16px; }
.hb-bezig i { width: 7px; height: 7px; border-radius: 50%; background: var(--roze, #ff4f93); opacity: .35; animation: hartjeStip 1s infinite; }
.hb-bezig i:nth-child(2) { animation-delay: .15s; } .hb-bezig i:nth-child(3) { animation-delay: .3s; }
@keyframes hartjeStip { 50% { opacity: 1; translate: 0 -3px; } }

.hartje-tips { display: flex; flex-wrap: wrap; gap: 8px; }
.hartje-tips button { border: 1.5px solid #f3c9dc; background: #fff; color: var(--inkt); font: 500 13.5px var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.hartje-tips button:hover { background: var(--roze-l, #ffe3ef); border-color: var(--roze, #ff4f93); }

.hartje-vondsten { display: grid; gap: 8px; }
.hartje-vondst { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 8px; border: 1.5px solid var(--kl, #eee); }
.hv-foto { display: block; aspect-ratio: 1; border-radius: 12px; background: radial-gradient(circle at 50% 45%, #fff 0 40%, var(--kl, #f6f1fb) 100%); overflow: hidden; }
.hv-foto img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.hartje-vondst div { display: grid; gap: 4px; min-width: 0; }
.hv-naam { font: 600 14px/1.3 var(--sans); color: var(--inkt); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv-prijs { font: 600 16px var(--schreef); color: var(--inkt); }
.hv-winkel { justify-self: start; background: var(--blauw, #2f6bff); color: #fff; font: 600 12.5px var(--sans); padding: 6px 12px; border-radius: 999px; }
.hv-winkel:hover { background: var(--roze, #ff4f93); }

.hartje-invoer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #f3e4ec; background: #fff; }
.hartje-invoer input { flex: 1; min-width: 0; border: 2px solid #eadcf0; border-radius: 999px; padding: 11px 16px; font: 400 16px var(--sans); color: var(--inkt); outline: none; }
.hartje-invoer input:focus { border-color: var(--roze, #ff4f93); }
.hartje-invoer button { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--roze, #ff4f93); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hartje-invoer button:hover { background: var(--inkt); }
.hartje-noot { margin: 0; padding: 0 14px 10px; font: 400 11.5px/1.35 var(--sans); color: var(--zacht); background: #fff; }
.hartje-noot a { color: inherit; text-decoration: underline; }

@media (max-width: 640px) {
  .hartje-start { right: 12px; bottom: 12px; }
  .hartje-start img { width: 66px; height: 66px; }
  .hartje-ballon { right: 72px; bottom: 20px; max-width: 190px; font-size: 13.5px; }
  .hartje-paneel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  html.hartje-open, html.hartje-open body { overflow: hidden; }
}
.hartje-bol { justify-self: start; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #0000a4; color: #fff; font: 600 13.5px var(--sans); padding: 9px 14px; border-radius: 999px; }
.hartje-bol:hover { background: var(--roze, #ff4f93); }
.hv-waarom { font: 400 12.5px/1.35 var(--sans); color: var(--zacht); }
.hv-waarom { font: 400 12.5px/1.35 var(--sans); color: var(--zacht); }

.hartje-wis { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.aiuitleg { margin-top: 8px; font: 400 13px var(--sans); color: var(--zacht); }
.reclamenoot { margin: 0 0 18px; padding: 10px 14px; border-radius: 14px; background: #f6f3fb; font: 400 13.5px/1.45 var(--sans); color: var(--zacht); }
.reclamenoot a { color: inherit; text-decoration: underline; }

.gidsbreed > .reclamenoot { max-width: 780px; margin-left: auto; margin-right: auto; }
