:root{
  --fx-bg:#e8f2f9;
  --fx-ink:#0f2940;
  --fx-orange:#FF6B3B;
}

/* =========================================================
   EXTRA SERVICES — LIST rows (dropdown) — aligned + Astra-proof
   Labels/pills = zelfde styling & kleur als .fx-extras__badge
   + "Bekijk alle reparaties" dropdown netjes IN de kader met padding
========================================================= */

.fx-extras{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--fx-ink);
  background:transparent;
  display:block;
  width:100%;
  max-width:100%;
  clear:both;
  float:none;
  box-sizing:border-box;
  padding:56px 0;
}
.fx-extras, .fx-extras *{ box-sizing:border-box; }

/* hero-aligned container (optioneel als je dit gebruikt in markup) */
.fx-extras__inner{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:0 30px;
}

.fx-extras__head{ max-width:760px; }

/* als je h3 blijft gebruiken (zoals in PHP) */
.fx-extras h3{
  margin:0 0 10px;
  font-size:26px;
  font-weight:1000;
  letter-spacing:-.02em;
  color:var(--fx-ink);
}

/* als je classes gebruikt */
.fx-extras__h2{
  margin:0 0 10px;
  font-size:26px;
  font-weight:1000;
  letter-spacing:-.02em;
}
.fx-extras p,
.fx-extras__p{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.6;
  color:rgba(15,41,64,.78);
  font-weight:700;
}
.fx-extras p strong,
.fx-extras__p strong{ font-weight:1000; color:var(--fx-ink); }

/* =========================================================
   LIST wrapper
   (meer "lucht" binnen de kader, ook onderaan)
========================================================= */

.fx-xlist{
  list-style:none;
  margin:0;
  padding:10px 0 14px; /* ✅ extra ruimte top/bottom in de kader */
  border:1px solid rgba(15,41,64,.12);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 22px rgba(15,41,64,.06);
}

/* als je een nested lijst in "Bekijk alle reparaties" gebruikt */
.fx-xlist--all{
  margin:0;
  padding:0;                 /* ✅ padding komt van panel hieronder */
  border:none;
  border-radius:0;
  overflow:visible;
  background:transparent;
  box-shadow:none;
}

.fx-xlist__li{ margin:0; padding:0; }

/* row (geen link, maar zelfde layout) */
.fx-xrow{
  display:flex;
  align-items:center;
  gap:12px;

  padding:12px 14px;
  border-top:1px solid rgba(15,41,64,.10);

  color:inherit;
  background:transparent;

  transition:background .15s ease;
}

/* ✅ top/bottom border logica blijft mooi met extra padding in ul */
.fx-xlist__li:first-child .fx-xrow{ border-top:none; }
.fx-xlist > .fx-xlist__li:first-child .fx-xdetails{ border-top:none; }

/* hover alleen "subtiel", geen cursor pointer */
.fx-xrow:hover{
  background:rgba(232,242,249,.55);
}

.fx-xrow__left{ min-width:0; flex:1; }

.fx-xrow__title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  font-weight:1000;
  color:var(--fx-ink);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* mini line */
.fx-xrow__mini{
  margin-top:3px;
  font-size:12px;
  color:rgba(15,41,64,.72);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* prices right */
.fx-xrow__right{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  white-space:nowrap;
  flex:0 0 auto;
}
.fx-xrow__was{
  font-size:12px;
  font-weight:900;
  color:rgba(15,41,64,.55);
  text-decoration:line-through;
  text-decoration-thickness:2px;
  text-decoration-color:rgba(15,41,64,.35);
}
.fx-xrow__now{
  font-size:14px;
  font-weight:1000;
  color:var(--fx-ink);
  letter-spacing:-.01em;
}

/* =========================================================
   LABELS / PILLS — zelfde styling als .fx-extras__badge
========================================================= */

.fx-xrow__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;

  background:rgba(255,107,59,.12);
  border:1px solid rgba(255,107,59,.22);
  color:var(--fx-ink);

  font-weight:1000;
  font-size:12px;
  white-space:nowrap;
}

/* "4 opties" label (soft variant zoals badge--soft) */
.fx-xrow__opts{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;

  background:rgba(15,41,64,.06);
  border:1px solid rgba(15,41,64,.12);
  color:rgba(15,41,64,.86);

  font-weight:1000;
  font-size:12px;
  white-space:nowrap;
}

/* =========================================================
   Dropdown (details/summary)
========================================================= */

.fx-xdetails{
  margin:0;
  padding:0;
  border-top:1px solid rgba(15,41,64,.10);
  background:transparent;
}

.fx-xdetails > summary.fx-xrow{
  list-style:none;
  user-select:none;
  cursor:pointer; /* alleen voor summary (klap open/dicht) */
}
.fx-xdetails > summary.fx-xrow::-webkit-details-marker{ display:none; }
.fx-xdetails > summary.fx-xrow::marker{ content:""; }

/* focus ring */
.fx-xdetails > summary.fx-xrow:focus{ outline:none; }
.fx-xdetails > summary.fx-xrow:focus-visible{
  box-shadow:0 0 0 3px rgba(15,41,64,.12);
  position:relative;
  z-index:2;
}

/* chevron (default) */
.fx-xdetails > summary.fx-xrow::after{
  content:"";
  width:8px;
  height:8px;
  margin-left:2px;
  flex:0 0 auto;
  border-right:2px solid rgba(15,41,64,.55);
  border-bottom:2px solid rgba(15,41,64,.55);
  transform:rotate(45deg);
  transition:transform .18s ease;
}
.fx-xdetails[open] > summary.fx-xrow::after{ transform:rotate(-135deg); }

.fx-xdetails[open] > summary.fx-xrow{
  background:rgba(232,242,249,.35);
}

/* options panel */
.fx-xopts{
  padding:10px 14px 16px; /* ✅ extra bottom padding */
  background:transparent;
  border-top:1px solid rgba(15,41,64,.10);
}

/* options list */
.fx-xopts__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* option row (NIET klikbaar) */
.fx-xopt{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(15,41,64,.10);
  background:rgba(255,255,255,.92);
  color:inherit;
  box-shadow:0 10px 22px rgba(15,41,64,.04);
}

.fx-xopt__label{
  min-width:0;
  flex:1;
  font-size:13px;
  font-weight:1000;
  color:var(--fx-ink);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fx-xopt__prices{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  white-space:nowrap;
  flex:0 0 auto;
}

/* hergebruik prijsstijl binnen opties */
.fx-xopt__prices .fx-xrow__was{ font-size:12px; }
.fx-xopt__prices .fx-xrow__now{ font-size:13px; }

/* =========================================================
   "Bekijk alle reparaties" als dropdown IN de kader
   -> summary krijgt dezelfde row-look + chevron
   -> panel heeft eigen padding links/onder zodat het "mooi in de box" voelt
========================================================= */

.fx-xdetails--all{
  border-top:1px dashed rgba(15,41,64,.18); /* ✅ nette scheiding */
}

/* summary is geen <a> meer, maar wel dezelfde link-look */
.fx-xdetails--all > summary.fx-extras__all{
  list-style:none;
  user-select:none;
  cursor:pointer;
  padding:12px 14px;
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  border-top:1px solid rgba(15,41,64,.10);
  background:transparent;
}
.fx-xdetails--all > summary.fx-extras__all::-webkit-details-marker{ display:none; }
.fx-xdetails--all > summary.fx-extras__all::marker{ content:""; }

.fx-xdetails--all > summary.fx-extras__all:hover{
  background:rgba(232,242,249,.55);
}

/* chevron voor "Bekijk alle reparaties" */
.fx-xdetails--all > summary.fx-extras__all::after{
  content:"";
  margin-left:auto;
  width:8px;
  height:8px;
  border-right:2px solid rgba(15,41,64,.55);
  border-bottom:2px solid rgba(15,41,64,.55);
  transform:rotate(45deg);
  transition:transform .18s ease;
}
.fx-xdetails--all[open] > summary.fx-extras__all::after{
  transform:rotate(-135deg);
}

/* focus ring op de "show all" summary */
.fx-xdetails--all > summary.fx-extras__all:focus{ outline:none; }
.fx-xdetails--all > summary.fx-extras__all:focus-visible{
  box-shadow:0 0 0 3px rgba(15,41,64,.12);
  position:relative;
  z-index:2;
}

/* ✅ panel binnen de kader met duidelijke padding links + onder */
.fx-xdetails--all[open] > .fx-xopts{
  padding:14px 14px 18px;               /* ✅ meer lucht */
  background:rgba(232,242,249,.22);     /* ✅ zachte “inbox” feel */
  border-top:1px solid rgba(15,41,64,.10);
}

/* binnenpanel: geen dubbele borders/radius van nested ul */
.fx-xdetails--all .fx-xlist--all{
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

/* =========================================================
   Footer link stijl (als je die ergens anders nog gebruikt)
========================================================= */

.fx-extras__footer{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.fx-extras__all,
.fx-extras__all:visited,
.fx-extras__all:hover,
.fx-extras__all:active{
  color:var(--fx-ink) !important;
  text-decoration:none !important;
}
.fx-extras__all{
  font-size:16px;
  font-weight:1000;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* =========================================================
   Responsive
========================================================= */
@media(max-width:980px){
  .fx-extras{ padding:44px 0; }
}
@media(max-width:640px){
  .fx-extras{ padding:44px 0; }
  .fx-xlist{ padding:8px 0 12px; }
  .fx-xrow{ padding:11px 12px; gap:10px; }
  .fx-xrow__title{ gap:8px; }
  .fx-xrow__mini{ display:none; }
  .fx-xrow__right{ gap:7px; }
  .fx-xrow__now{ font-size:13px; }
  .fx-xopts{ padding:10px 12px 14px; }
  .fx-xdetails--all[open] > .fx-xopts{ padding:12px 12px 16px; }
}