.hxa-detail.wrap{max-width:1200px;margin:24px auto;padding:0 16px}
.hxa-breadcrumbs{font-size:.9rem;color:#667}
.hxa-breadcrumbs a{color:#08C; text-decoration:none}
.hxa-head h1{margin:.4rem 0 0}
.hxa-sub{display:flex;gap:.6rem;flex-wrap:wrap;color:#444;margin:.5rem 0 1rem}
.hxa-sub span{background:#f3f5f7;border-radius:999px;padding:.25rem .6rem;font-size:.9rem}
/* -------------------------------------------------------------
   Pretty tooltip for .hxa-i info icons
------------------------------------------------------------- */

.hxa-i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;
    margin-left: 6px;

    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.2);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: help;

    user-select: none;
}

/* (optioneel) iets strakker icoon */
.hxa-i::before {
    content: "i";font-size:13px;
}

.hxa-i {
    /* als je nu al "i" als tekst in je HTML hebt,
       dan kun je die verbergen: */
    font-size: 0;
}

/* Tooltip bubble */
.hxa-tooltip {
    position: absolute;
    z-index: 9999;

    min-width: 320px;
    max-width: 520px;

    padding: 10px 12px;
    border-radius: 12px;

    background: #111;
    color: #fff;

    font-size: 12px;
    line-height: 1.25;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);

    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    font-weight: normal;
}

/* Tooltip arrow */
.hxa-tooltip::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #111;
    transform: rotate(45deg);
}

/* Visible state */
.hxa-i.is-open .hxa-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Position variants */
.hxa-tooltip[data-pos="top"] {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 6px);
}

.hxa-i.is-open .hxa-tooltip[data-pos="top"] {
    transform: translate(-50%, 0);
}

.hxa-tooltip[data-pos="top"]::after {
    top: calc(100% - 5px);
    left: 50%;
    margin-left: -5px;
}

.hxa-tooltip[data-pos="bottom"] {
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 6px);
}

.hxa-i.is-open .hxa-tooltip[data-pos="bottom"] {
    transform: translate(-50%, 0);
}

.hxa-tooltip[data-pos="bottom"]::after {
    bottom: calc(100% - 5px);
    left: 50%;
    margin-left: -5px;
}

/* Mobile: iets breder + makkelijker te lezen */
@media (max-width: 480px) {
    .hxa-tooltip{
        min-width: auto;
        max-width: calc(100vw - 24px);
    }
}

.fl-error {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #d93025; /* rood */
    background: #fdecea;        /* lichtrood */
    color: #b3261e;             /* donkere rode tekst */
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    animation: flErrorFade 0.25s ease-out;
}

.fl-error::before {
    content: "⚠️";
    font-size: 16px;
    margin-right: 6px;
    position: absolute;
    left: 10px;
    top: 10px;
}

.fl-error.fl-has-icon {
    padding-left: 36px; /* ruimte voor icoon */
}

/* Fade-in effect */
@keyframes flErrorFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hxa-flex{display:grid;grid-template-columns:1fr 360px;gap:24px}
@media (max-width:980px){.hxa-flex{grid-template-columns:1fr}}

.hxa-gallery .hxa-hero{aspect-ratio:3/2;background:#eee;border-radius:12px;overflow:hidden}
.hxa-gallery .hxa-hero img{width:100%;height:100%;object-fit:cover;display:block}
.hxa-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
.hxa-thumb{border:0;background:transparent;padding:0;cursor:pointer;border-radius:10px;overflow:hidden}
.hxa-thumb.is-active{outline:3px solid #9ad}
.hxa-thumb img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}

.hxa-card{border:1px solid #e5e8ec;border-radius:14px;padding:16px;position:sticky;top:24px;height:max-content;overflow:visible;}
.hxa-price-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.hxa-price{font-weight:700;font-size:1.25rem}
.hxa-tenure{margin:10px 0}
.hxa-tenure__buttons{display:flex;gap:6px;flex-wrap:wrap}
.hxa-pill{border:1px solid #cfd6dd;background:#fff;border-radius:999px;padding:.35rem .7rem;cursor:pointer;color:#000;}
.hxa-pill.is-active{background:#08C; color:#fff; border-color:#08C}
.hxa-kpis{display:flex;gap:12px;justify-content:space-between;margin:10px 0 16px}
.hxa-kpi__label{font-size:.85rem;color:#667}
.hxa-kpi__val{font-weight:700;font-size:1.1rem}
/* Basis: beide blokken verborgen + fade-in */
#hxa-offerte,
#hxa-vraag {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-top: 40px;
}

/* Zichtbaar maken (via JS .is-visible) */
#hxa-offerte.is-visible,
#hxa-vraag.is-visible {
    display: block;
    opacity: 1;
}

/* Container van de formulieren */
#hxa-offerte,
#hxa-vraag {
    max-width: 960px;
    margin: 40px auto 60px;
}

#hxa-offerte .wpcf7,
#hxa-vraag .wpcf7 {
    background: #f7f8fa;
    border-radius: 10px;
    padding: 30px 30px 35px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

/* Titel + subtitel (autonaam-link) */
#hxa-offerte .offertetitel,
#hxa-vraag .offertetitel {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
}

#hxa-offerte .offertesub,
#hxa-vraag .offertesub {
    font-size: 16px;
    font-weight: 500;
    margin-top: 4px;
}

#hxa-offerte .offertesub a,
#hxa-offerte .offertesub input[type="text"],
#hxa-vraag .offertesub a,
#hxa-vraag .offertesub input[type="text"] {
    color: #0d6efd;
    border: none;
    padding: 0;
    background: transparent;
    font-weight: 600;
    cursor: default;
}

/* Intro tekst direct onder section */
#hxa-offerte > p,
#hxa-vraag > p {
    margin-bottom: 24px;
    color: #555;
}

.hxa-cta{display:grid;gap:8px;margin-top:20px;}
.hxa-btn{display:block;text-align:center;border:1px solid #cfd6dd;border-radius:999px;padding:.6rem .9rem;text-decoration:none;color:#123}
.hxa-btn--primary{background:#a0005c;color:#fff;border-color:#a0005c}

.hxa-tabs{margin-top:28px}
.hxa-tabbar{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e5e8ec}
.hxa-tabbar button{border:0;background:transparent;padding:.8rem 1rem;cursor:pointer;color:#000;}
.hxa-tabbar button.is-active{border-bottom:3px solid #08C;color:#08C;font-weight:600;border-radius:0;}
.hxa-tabbar .hxa-link{margin-left:auto;color:#0a5;text-decoration:none}
.hxa-tab{display:none;padding:16px 0}
.hxa-tab.is-active{display:block}

.hxa-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:8px}
@media (max-width:820px){.hxa-cols{grid-template-columns:1fr}}
.hxa-speclist{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.hxa-speclist li{display:flex;justify-content:space-between;border-bottom:1px dashed #eef;padding:6px 0}
.hxa-speclist li span{color:#556}
.hxa-description{margin-top:18px;line-height:1.6}
.hxa-tab { display: none; }
.hxa-tab.is-active { display: block; }


.hxa-feature-list li {
  list-style: none;
  margin: 4px 0;
}
.hxa-check {
  color: #4ecca3;
  margin-right: 6px;
	display:inline;
}

/* ===== Opties (Cards) ===== */
#tab-opties { padding-top: .75rem; }

.hxa-optgrid {

  gap: 18px;
  align-items: start;
}

.hxa-feature-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.hxa-feature-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.08);
}

.hxa-feature-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.hxa-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;       /* mobiel */
  gap: 8px;
}

/* 2 kolommen op brede kaarten */
@media (min-width: 640px) {
  .hxa-feature-card .hxa-feature-list {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 900px) {
  .hxa-feature-card .hxa-feature-list {
    grid-template-columns: 1fr 1fr; /* 2 kolommen binnen de card */
    column-gap: 18px;
  }
}

.hxa-feature-item {
  position: relative;
  padding-left: 28px;
  line-height: 1.4;
}

/* Check-icoon met SVG als background */
.hxa-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #08C; /* groen */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'><path d='M16.707 5.293a1 1 0 00-1.414 0L8 12.586 4.707 9.293a1 1 0 10-1.414 1.414l4 4a1 1 0 001.414 0l8-8a1 1 0 000-1.414z'/></svg>") center/14px 14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'><path d='M16.707 5.293a1 1 0 00-1.414 0L8 12.586 4.707 9.293a1 1 0 10-1.414 1.414l4 4a1 1 0 001.414 0l8-8a1 1 0 000-1.414z'/></svg>") center/14px 14px no-repeat;
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}

/* Thema-accent: dun streepje boven actieve tabbar blijft werken */
.hxa-tabbar button.is-active {
  color: #08C;
  border-bottom: 3px solid #08C;
}

/* ===== Autobedrijf card ===== */
.hxa-company { padding-top: .75rem; }
.hxa-company-card{
  background:#fff; 
  
}
.hxa-company-header{
  display:flex; align-items:center; gap:14px; margin-bottom:14px;
}
.hxa-company-avatar{
  width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;
  background:#0ea5e9;color:#fff;font-weight:700;
  box-shadow:0 2px 8px rgba(14,165,233,.25);
}
.hxa-company-name{ margin:0; font-size:20px; font-weight:800; }
.hxa-company-sub{ color:#6b7280; font-size:14px; }

.hxa-company-grid{
  display:grid; grid-template-columns: 1fr;
  gap:10px; margin:6px 0 14px; 
}
.hxa-company-grid .row{ display:grid; grid-template-columns: 150px 1fr; gap:12px; align-items:start; margin:0px;}
.hxa-company-grid dt{
  color:#6b7280; font-weight:600; margin:0;
}
.hxa-company-grid dd{
  margin:0; font-weight:600; color:#111827;
}
.hxa-linktel,.hxa-linkmail{ text-decoration:none; border-bottom:1px dotted rgba(0,0,0,.25); }
.hxa-linktel:hover,.hxa-linkmail:hover{ border-bottom-color: transparent; }

.hxa-company-actions{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:8px;
}
.hxa-btn{
  display:inline-block; padding:8px 12px; border-radius:10px;
  border:1px solid rgba(0,0,0,.1); background:#f8fafc;
}
.hxa-btn--primary{
  background:#08C; color:#fff; border-color:#08C;
}
.hxa-btn:hover{ filter:brightness(0.98); transform:translateY(-1px); transition:.15s ease; }

/* small screens: labels boven values */
@media (max-width:580px){
  .hxa-company-grid .row{ grid-template-columns: 1fr; }
  .hxa-company-grid dt{ font-size:12px; }
}

/* ===== Looptijdknoppen: altijd 5 naast elkaar ===== */
.hxa-tenure { margin-top: 18px; }
.hxa-tenure__label { font-weight: 600; color: #111827; margin-bottom: 10px; }

/* 5 vaste kolommen */
.hxa-tenure__buttons{
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* <-- altijd 5 */
  gap: 10px;
  width: 100%;
}

.hxa-pill{
  appearance: none;
  width: 100%;
  border: 2px solid #d1d5db;
  background: #fff;
  border-radius: 9999px;
  padding: clamp(6px, 1.2vw, 10px) 0;          /* krimpt op kleine schermen */
  font-size: clamp(12px, 2.5vw, 15px);         /* krimpt mee */
  font-weight: 600;
  color: #374151;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.hxa-pill:hover{
  border-color: #93c5fd;
  background: #f0f9ff;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.hxa-pill.is-active,
.hxa-pill:focus{
  background: linear-gradient(135deg,#2563eb,#3b82f6);
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 3px 10px rgba(37,99,235,.35);
  transform: scale(1.03);
}

/* als het écht krap wordt: iets compacter zodat ze in 1 rij passen */
@media (max-width: 380px){
  .hxa-tenure__buttons{ gap: 6px; }
  .hxa-pill{ padding: 6px 0; font-size: 12px; }
}

.hxa-calc .hxa-muted{color:#6b7280;margin-top:4px}
.hxa-calc .hxa-small{font-size:.9rem}
.hxa-form{display:grid;gap:12px;margin:12px 0}
.hxa-field{display:grid;gap:6px}
.hxa-input{display:flex;align-items:center;border:1px solid #cfd6dd;border-radius:10px;padding:6px 10px;background:#fff}
.hxa-input span{margin-right:6px;color:#4b5563}
.hxa-input input{border:0;outline:0;width:100%;font-size:1rem;background:transparent}
.hxa-summary{background:#eef6f4;border-radius:10px;padding:12px;margin-top:10px}
.hxa-summary__line{display:flex;justify-content:space-between;align-items:center;font-size:1.1rem}
/* Tablet: 2 naast elkaar */
@media (max-width: 980px){
    .hxa-optgrid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobiel: 1 onder elkaar */
@media (max-width: 640px){
    .hxa-optgrid{
        grid-template-columns: 1fr;
    }
}

.hxa-optgrid{
    column-count: 2;
    column-gap: 16px;
}

.hxa-feature-card{
    break-inside: avoid;
    margin: 0 0 16px;
    display: inline-block;
    width: 100%;
}

/* responsive */
@media (max-width: 980px){
    .hxa-optgrid{ column-count: 2; }
}
@media (max-width: 640px){
    .hxa-optgrid{ column-count: 1; }
}

/* OAL: nette opmaak autobeschrijving (17-11-2026) */
.hxa-description .hxa-spec-grid{column-count:2;column-gap:16px;margin:0 0 16px}
.hxa-description .hxa-spec-card{background:#fff;border:1px solid #e3e7ec;border-radius:12px;padding:16px 18px;min-width:0;break-inside:avoid;-webkit-column-break-inside:avoid;display:inline-block;width:100%;box-sizing:border-box;margin:0 0 16px}
.hxa-description .hxa-spec-card--wide{margin:0 0 16px}
.hxa-description .hxa-spec-card h3{font-size:16px;font-weight:700;color:#116ca0;margin:0 0 10px;padding:0 0 8px;border-bottom:2px solid #e8f1f8}
.hxa-description .hxa-spec-list{margin:0}
.hxa-description .hxa-spec-row{display:grid;grid-template-columns:minmax(0,46%) minmax(0,1fr);gap:12px;padding:7px 0;border-bottom:1px solid #f0f2f5;font-size:15px;line-height:1.45}
.hxa-description .hxa-spec-row:last-child{border-bottom:0}
.hxa-description .hxa-spec-row dt{font-weight:400;color:#5b6773;margin:0}
.hxa-description .hxa-spec-row dd{margin:0;color:#1c2733;font-weight:600;overflow-wrap:anywhere}
.hxa-description .hxa-spec-row--full{grid-template-columns:1fr}
.hxa-description .hxa-pkg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.hxa-description .hxa-pkg{border:1px solid #e3e7ec;border-radius:10px;padding:12px 14px;background:#f8fafc}
.hxa-description .hxa-pkg-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 6px}
.hxa-description .hxa-pkg-head strong{font-size:15px;color:#1c2733}
.hxa-description .hxa-pkg-head span{font-size:14px;font-weight:700;color:#116ca0;white-space:nowrap}
.hxa-description .hxa-pkg p{font-size:14px;margin:0 0 6px;color:#3d4955}
.hxa-description .hxa-pkg ul,.hxa-description .hxa-spec-bullets{list-style:none;margin:0;padding:0}
.hxa-description .hxa-pkg li,.hxa-description .hxa-spec-bullets li{position:relative;padding:3px 0 3px 22px;font-size:14px;line-height:1.4;color:#1c2733}
.hxa-description .hxa-pkg li:before,.hxa-description .hxa-spec-bullets li:before{content:"✓";position:absolute;left:2px;top:3px;color:#116ca0;font-weight:700}
.hxa-description .hxa-spec-more summary{cursor:pointer;font-weight:700;color:#116ca0;font-size:16px;list-style:none}
.hxa-description .hxa-spec-more summary::-webkit-details-marker{display:none}
.hxa-description .hxa-spec-more summary:after{content:" +";}
.hxa-description .hxa-spec-more[open] summary:after{content:" −";}
.hxa-description .hxa-spec-more[open] summary{margin:0 0 10px}
.hxa-description .hxa-spec-more p{font-size:15px;line-height:1.6;margin:0 0 10px;color:#3d4955}
.hxa-description .hxa-spec-small{font-size:12px!important;color:#8a949e!important}
@media (max-width:767px){
  .hxa-description .hxa-spec-grid{column-count:1}
  .hxa-description .hxa-spec-card{margin:0 0 12px}
  .hxa-description .hxa-spec-card{padding:14px}
  .hxa-description .hxa-spec-row{grid-template-columns:minmax(0,48%) minmax(0,1fr);gap:10px;font-size:14px}
}
