/* DierenartsKiezer v40.19 — uniforme bovenbouw, compacte home-media en prijsweergave */

/* Eén vaste bovenbouw op desktop: dezelfde trustbar, logo- en navigatiehoogte op iedere pagina. */
@media (min-width:1281px){
  .trustbar .shell{height:42px;min-height:42px}
  .nav-row{height:104px;min-height:104px;padding-top:0!important;padding-bottom:0!important}
}

/* Gewone subpagina-hero's krijgen dezelfde verticale maat, ook wanneer er geen afbeelding staat. */
.subhero>.shell:not(.subhero-grid){min-height:410px;display:flex;flex-direction:column;justify-content:center;padding-top:54px;padding-bottom:54px}
.subhero>.shell:not(.subhero-grid)>p:last-child{margin-bottom:0}
.subhero-grid{min-height:410px}

/* Homepage: dierkaarten compacter; foto's blijven duidelijk zonder de pagina te domineren. */
.home .animal-grid a>img{height:158px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:50% 45%!important}
.home .animal-grid{gap:16px}
.home .animal-grid a{border-radius:16px}
@media(max-width:720px){.home .animal-grid a>img{height:145px!important}.home .animal-grid{gap:12px}}

/* Videohome: scherper bestand, rustige rendering en geen layout-jump tijdens laden. */
.home-hero-video{background:#073f3d url('/images/hero-dierenartskiezer-v46.webp') center/cover no-repeat}
.home-hero-video>.hero-video{transform:translateZ(0);backface-visibility:hidden;will-change:auto}

/* Onze keuzes: dezelfde breedte als de rest, met echte visuele kaarten. */
.our-choices-page .choice-shell{width:min(1180px,calc(100% - 40px));max-width:none;margin:0 auto;padding:42px 0}
.our-choices-page .choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.our-choices-page .choice-card{display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(7,63,61,.06)}
.our-choices-page .choice-card .choice-media{display:block;width:100%;height:165px;object-fit:cover;object-position:center}
.our-choices-page .choice-card .choice-body{display:flex;flex:1;flex-direction:column;padding:20px}
.our-choices-page .choice-card small{display:block;margin-bottom:6px;color:var(--teal);font-weight:900}
.our-choices-page .choice-card h3{margin:0 0 8px;font-size:1.25rem}
.our-choices-page .choice-card p{margin-top:0;flex:1;color:#486766}
.our-choices-page .choice-card .button{align-self:flex-start;margin-top:auto}
.our-choices-page .subhero-grid>img{height:410px!important;aspect-ratio:auto!important}
@media(max-width:900px){.our-choices-page .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.our-choices-page .choice-shell{width:min(100% - 28px,1180px)}.our-choices-page .choice-grid{grid-template-columns:1fr}.our-choices-page .choice-card .choice-media{height:150px}}

/* Tarieven: de tabel blijft op desktop binnen het contentvlak; mobiel mag bewust horizontaal scrollen. */
.price-tool{position:relative}
.price-search-row label:last-child{padding:8px 10px;border:1px solid #bedbd6;border-radius:12px;background:#edf7f4}
.price-search-row label:last-child select{border-color:#8fc7bf;font-weight:800}
.compare-table{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.price-table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse}
.price-table th:nth-child(1){width:23%}.price-table th:nth-child(2){width:12%}.price-table th:nth-child(3){width:15%}.price-table th:nth-child(4){width:36%}.price-table th:nth-child(5){width:14%}
.price-table th,.price-table td{min-width:0!important;padding:16px 14px;overflow-wrap:anywhere;word-break:normal}
.price-table .price-details{min-width:0!important;display:block;line-height:1.5}
.price-table td.amount{min-width:0!important}
.price-table td:last-child a{display:inline-block;font-weight:900}
.price-table td:last-child button{display:block;width:100%;margin-top:10px;padding:8px 9px;border:1px solid #bad5d1;border-radius:9px;background:#fff;color:var(--teal);font-weight:800;text-align:left}
@media(max-width:980px){.price-table{min-width:940px;table-layout:auto}.price-table th,.price-table td{min-width:auto!important}.price-table .price-details{min-width:220px!important}.price-table td.amount{min-width:145px!important}}

/* Voorkom dat lange woorden/URL-achtige labels ooit de viewport verbreden. */
main,.shell,.subhero,.choice-shell,.compare-table{min-width:0}
body{overflow-x:hidden}
