/* p.php: openbare dierpagina achter de QR-code. Voorvoegsel .pd- ; eerst mobiel. */
.pd-body { padding: 1.25rem 0 3rem; background: var(--bg); }
.pd-wrap { max-width: 34rem; margin: 0 auto; display: grid; gap: 1rem; }
.pd-kaart { background: var(--surface); border: 1px solid var(--border); border-radius: 1.25rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.pd-binnen { padding: 1.1rem 1.2rem; }
.pd-kaart h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 .6rem; }

/* Kop met foto */
.pd-held { position: relative; }
.pd-foto { aspect-ratio: 4 / 3; background: var(--band-groen); display: flex; align-items: center; justify-content: center; }
.pd-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-foto span { font-family: var(--font-display); font-size: 5rem; color: var(--primary-dark); }
.pd-held-tekst { padding: 1rem 1.2rem .2rem; }
.pd-geregistreerd { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--primary-dark); background: var(--band-groen); border: 1px solid var(--band-groen-rand); padding: .15rem .55rem; border-radius: .45rem; }
.pd-held h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.05; margin: .55rem 0 .2rem; }
.pd-meta { color: var(--text-muted); margin: 0; }

/* Vermist */
.pd-vermist { background: #b42318; color: #fff; padding: 1rem 1.2rem; display: flex; gap: .85rem; align-items: flex-start; }
.pd-vermist > i { font-size: 1.5rem; line-height: 1; margin-top: .1rem; }
.pd-vermist strong { display: block; font-size: 1.15rem; }
.pd-vermist p { margin: .15rem 0 0; opacity: .95; font-size: .95rem; }
.pd-vermist a { color: #fff; font-weight: 600; }

/* Contact */
.pd-acties { display: grid; gap: .6rem; padding: 1rem 1.2rem 1.2rem; }
.pd-knop { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.4rem; padding: .8rem 1rem; border-radius: .9rem; font-size: 1.08rem; font-weight: 700; text-decoration: none; border: 0; width: 100%; transition: filter .15s; }
.pd-knop:hover { filter: brightness(.95); }
.pd-knop:focus-visible { outline: 3px solid var(--primary-border); outline-offset: 2px; }
.pd-bel { background: var(--primary); color: #fff; }
.pd-bel:hover { color: #fff; }
.pd-wa { background: #1faa55; color: #fff; }
.pd-wa:hover { color: #fff; }
.pd-locatie { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); font-size: .98rem; min-height: 3rem; }
.pd-eigenaar { display: flex; justify-content: space-between; align-items: center; padding: 0 1.2rem; font-size: .9rem; color: var(--text-muted); }
.pd-eigenaar strong { color: var(--text); }
.pd-medicatie { display: flex; gap: .6rem; align-items: flex-start; margin: 0 1.2rem; padding: .65rem .8rem; border-radius: .7rem; background: #fff5dc; border: 1px solid #f0d898; color: #5c3d00; font-size: .92rem; font-weight: 600; }
.pd-leeg { margin: 0; color: var(--text-muted); }

/* Lijsten */
.pd-rijen { list-style: none; margin: 0; padding: 0; }
.pd-rijen li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--border); }
.pd-rijen li:first-child { border-top: 0; }
.pd-rijen span { display: grid; }
.pd-rijen small { color: var(--text-muted); }
.pd-belknop { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: .6rem; border: 1.5px solid var(--primary-border); color: var(--primary-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pd-gegevens { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; }
.pd-gegevens dt { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.pd-gegevens dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pd-breed { grid-column: 1 / -1; }
.pd-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .02em; }
.pd-uitleg { color: var(--text-muted); font-size: .92rem; margin: -.2rem 0 .8rem; }
.pd-stappen { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--text); }
.pd-knoppen { display: flex; flex-wrap: wrap; gap: .5rem; }
.pd-knoppen .btn { border-radius: .7rem; font-weight: 600; }
.pd-privacy { text-align: center; font-size: .8rem; color: var(--text-muted); margin: .25rem 0 0; }
.pd-nf { text-align: center; }
.pd-nf i { font-size: 2.5rem; color: var(--text-muted); }
.pd-nf h1 { font-family: var(--font-display); font-size: 1.8rem; margin: .5rem 0; }
@media (min-width: 768px) {
  .pd-body { padding-top: 2rem; }
  .pd-acties { grid-template-columns: 1fr 1fr; }
  .pd-locatie { grid-column: 1 / -1; }
}
