/* DH Persoonlijk 1.0.2 */

/* Homepage: vaste hoogte per blok, zodat de gereserveerde ruimte exact klopt (CLS 0) */
html.dh-ps-res1 .dh-usp-strip { margin-bottom: 176px; }
html.dh-ps-res2 .dh-usp-strip { margin-bottom: 352px; }
.dh-ps-home {
  box-sizing: border-box;
  height: 176px;
  overflow: hidden;
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid var(--dh-line, #e2e8f0);
}
.dh-ps-home + .dh-ps-home { background: var(--dh-soft, #f8fafc); }
.dh-ps-home__kop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  height: 28px;
  margin: 0 0 12px;
}
.dh-ps-home__titel {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--dh-ink, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dh-ps-home__meer {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--dh-link, #17324a);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dh-ps-home__verberg {
  flex: none;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--dh-muted, #475569);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.dh-ps-home__meer + .dh-ps-home__verberg { margin-left: 12px; }
.dh-ps-home__rij {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  height: 96px;
}
.dh-ps-kaart {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 96px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--dh-line, #e2e8f0);
  border-radius: 12px;
  color: var(--dh-ink, #0f172a);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.dh-ps-kaart:hover, .dh-ps-kaart:focus-visible { border-color: var(--dh-orange, #ea580c); box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.dh-ps-kaart__img { flex: none; width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: var(--dh-soft, #f8fafc); }
.dh-ps-kaart__tekst { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; height: 72px; }
.dh-ps-kaart__naam {
  font-size: 14px;
  line-height: 19px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dh-ps-kaart__onder { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dh-ps-kaart__prijs { font-size: 14px; font-weight: 700; white-space: nowrap; }
.dh-ps-kaart__knop {
  flex: none;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--dh-orange, #ea580c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}
@media (max-width: 900px) {
  .dh-ps-home__rij {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
  }
  .dh-ps-home__rij::-webkit-scrollbar { display: none; }
  .dh-ps-kaart { flex: 0 0 82%; max-width: 320px; scroll-snap-align: start; }
  .dh-ps-home__titel { font-size: 18px; }
}
@media (max-width: 600px) {
  .dh-ps-home__titel { font-size: 16px; }
  .dh-ps-home__meer { display: none; }
}

/* 1. Welkom terug: hangt onder de (sticky) header, duwt niets omlaag */
.dh-ps-welkom {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 39;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
  animation: dh-ps-in .25s ease-out;
}
.dh-ps-welkom__in {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--dh-max, 1440px);
  margin: 0 auto;
  padding: 8px 20px;
}
.dh-ps-welkom__img { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: #fff; }
.dh-ps-welkom__tekst { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.35; color: var(--dh-ink, #0f172a); }
.dh-ps-welkom__tot { font-weight: 700; white-space: nowrap; }
.dh-ps-welkom__knop {
  flex: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--dh-cart, #16a34a);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.dh-ps-welkom__knop:hover { background: var(--dh-cart-dark, #15803d); }
.dh-ps-x {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dh-muted, #475569);
  cursor: pointer;
}
.dh-ps-x:hover { background: rgba(15, 23, 42, .06); }
.dh-header.is-away .dh-ps-welkom { visibility: hidden; }
body.dh-mini-cart-open .dh-ps-welkom, body.dh-mega-open .dh-ps-welkom, body.dh-filters-open .dh-ps-welkom { display: none; }
.dh-ps-welkom__kort { display: none; }
@media (max-width: 600px) {
  .dh-ps-welkom__in { padding: 6px 4px 6px 12px; gap: 8px; }
  .dh-ps-welkom__img { width: 32px; height: 32px; }
  .dh-ps-welkom__tekst { font-size: 13px; line-height: 1.25; }
  .dh-ps-welkom__lang { display: none; }
  .dh-ps-welkom__kort { display: block; }
  .dh-ps-welkom__tot { display: block; }
  .dh-ps-welkom__knop { padding: 8px 10px; font-size: 13px; }
  .dh-ps-x { width: 28px; height: 28px; }
}

/* 2. Ray-ballon */
.dh-ps-ray {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9990;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 320px;
  max-width: calc(100vw - 24px);
  padding: 12px 8px 12px 12px;
  background: #fff;
  border: 1px solid var(--dh-line, #e2e8f0);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 14px 40px rgba(28, 25, 23, .14), 0 2px 8px rgba(28, 25, 23, .06);
  animation: dh-ps-in .25s ease-out;
}
.dh-ps-ray__face { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #f5f0eb; }
.dh-ps-ray__body { flex: 1; min-width: 0; }
.dh-ps-ray__tekst { margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: var(--dh-ink, #0f172a); }
.dh-ps-ray__knop {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--dh-orange-dark, #c2410c);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.dh-ps-ray__knop:hover { background: #9a3412; }
.dh-ps-ray .dh-ps-x { width: 28px; height: 28px; margin-top: -4px; }
body.dh-gc-chat-open .dh-ps-ray { display: none; }
@media (max-width: 600px) {
  .dh-ps-ray { right: 12px; width: auto; left: 12px; max-width: none; }
}

@keyframes dh-ps-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dh-ps-welkom, .dh-ps-ray { animation: none; } }
