/* Picture-wrapper mag layout van bestaande img-regels niet breken */
body.theme-br .br-banner picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
body.theme-br .br-pop-media picture,
body.theme-br .br-about-frame picture,
body.theme-br .br-more figure picture {
  display: block;
  width: 100%;
  height: 100%;
}
body.theme-br .br-visit-visual > picture {
  display: block;
  width: calc(100% - 1.35rem);
  margin-left: 1.35rem;
}
body.theme-br .br-visit-visual > picture .br-visit-store {
  width: 100%;
  margin-left: 0;
}

/* Budget Repair — geen waas/modal over de homepage, hero meteen zichtbaar. */

body.theme-br [data-reveal] {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

body.theme-br.is-home .br-banner {
  --br-hero-h: clamp(32rem, 74vh, 42rem);
  position: relative;
  isolation: isolate;
  overflow: hidden !important;
  min-height: var(--br-hero-h);
  /* Foto loopt full-bleed door, ook onder de transparante header */
  background-color: #007ac3 !important;
  background-image: none !important;
}

body.theme-br.is-home .br-banner-photo {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 32% !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  pointer-events: none;
}

body.theme-br.is-home.has-admin-bar {
  padding-top: 0 !important;
}

body.theme-br.is-home .site-header {
  position: fixed !important;
  left: 0;
  right: 0;
  top: 0;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-br.is-home.has-admin-bar .site-header {
  top: var(--admin-bar-h, 2.75rem) !important;
}

body.theme-br.is-home .site-header .topbar,
body.theme-br.is-home .header-inner {
  background: transparent !important;
}

body.theme-br.is-home .site-header.is-scrolled,
body.theme-br.is-home .site-header.topbar-collapsed {
  background: rgba(255, 255, 255, 0.94) !important;
}

body.theme-br.is-home .br-banner-img {
  display: none !important;
}

body.theme-br.is-home .br-banner-img-shift,
body.theme-br.is-home .br-banner-img picture {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  overflow: hidden;
}

body.theme-br.is-home .br-banner-img img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  visibility: visible !important;
}

body.theme-br.is-home .br-banner-img::after {
  opacity: 1 !important;
  animation: none !important;
}

body.theme-br .br-banner-img img,
body.theme-br .br-banner-img picture,
body.theme-br .br-hero-word,
body.theme-br .br-hero-place,
body.theme-br .br-hero-lead,
body.theme-br .br-banner-search,
body.theme-br .br-mascot,
body.theme-br .br-mascot-bubble {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

body.theme-br .br-pg-hero,
body.theme-br .br-pg-hero h1,
body.theme-br .br-pg-brand,
body.theme-br .br-pg-word,
body.theme-br .br-pg-lead,
body.theme-br .br-pg-crumbs,
body.theme-br .br-pg-cta,
body.theme-br .br-pg-cta h2 {
  color: #fff !important;
}

body.theme-br .br-pg-word {
  display: inline !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

body.theme-br .br-pg-cta-inner p {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-br .br-banner-cnt h1,
body.theme-br.is-home main h1 {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.28em !important;
  row-gap: 0.02em;
  color: #fff !important;
  font-weight: 700 !important;
}

body.theme-br .br-hero-word {
  display: inline-block !important;
  width: auto !important;
  color: #fff !important;
}

body.theme-br h1 .br-hero-place {
  display: inline-block !important;
  vertical-align: bottom;
  color: #ffb070 !important;
  max-width: 12ch;
}

body.theme-br .br-hero-place-viewport {
  display: block !important;
  height: 1.15em !important;
  max-height: 1.15em !important;
  overflow: hidden !important;
}

body.theme-br .br-hero-place-track {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  animation: br-place-spin-safe 16.8s cubic-bezier(0.76, 0, 0.24, 1) infinite !important;
}

body.theme-br .br-hero-place-item {
  display: flex !important;
  align-items: center;
  height: 1.15em !important;
  white-space: nowrap !important;
}

@keyframes br-place-spin-safe {
  0%, 10.5% { transform: translateY(0); }
  14.28%, 24.78% { transform: translateY(-1.15em); }
  28.56%, 39.06% { transform: translateY(-2.3em); }
  42.84%, 53.34% { transform: translateY(-3.45em); }
  57.12%, 67.62% { transform: translateY(-4.6em); }
  71.4%, 81.9% { transform: translateY(-5.75em); }
  85.68%, 96.18% { transform: translateY(-6.9em); }
  100% { transform: translateY(-8.05em); }
}

/* Cookie: geen fullscreen waas die de site uitbleekt. */
.ms-cookie.is-modal {
  inset: auto 0.75rem 0.75rem !important;
  top: auto !important;
  display: block !important;
  background: none !important;
  pointer-events: none !important;
  padding: 0 !important;
}

.ms-cookie.is-modal .ms-cookie__card {
  pointer-events: auto;
  width: min(34.5rem, calc(100vw - 1.5rem));
  margin-inline: auto;
  box-shadow: 0 18px 52px rgba(12, 16, 28, 0.28);
}

body:has(.ms-cookie.is-open) {
  overflow: auto !important;
}

.ms-cookie,
.ms-cookie__card,
.ms-cookie__head h2,
.ms-cookie__copy,
.ms-cookie__copy p,
.ms-cookie__overview,
.ms-cookie__overview p,
.ms-cookie__overview h3,
.ms-cookie__links,
.ms-cookie__links a,
.ms-cookie a,
.ms-cookie__text-link,
.ms-cookie__row-name,
.ms-cookie__lang {
  color: #152028 !important;
  opacity: 1 !important;
}

.ms-cookie__copy,
.ms-cookie__copy p,
.ms-cookie__overview > p {
  font-weight: 500;
}

.ms-cookie__panel,
.ms-cookie__panel p {
  color: #2a3238 !important;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-br .br-hero-place-track {
    animation: none !important;
  }
}

/* FAQ: originele BudgetRepairFaq (geen PhotoHero + kale details). */
body.theme-br.view-faq .page-crumbs-bar {
  background: #007ac3 !important;
  padding-block: 0.85rem !important;
}

body.theme-br.view-faq .page-crumbs-bar .page-crumbs-nav,
body.theme-br.view-faq .page-crumbs-bar .page-crumbs-nav a,
body.theme-br.view-faq .page-crumbs-bar .page-crumbs-nav span {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-br.view-faq .page-crumbs-bar .page-crumbs-nav [aria-current="page"] {
  color: #fff !important;
  font-weight: 600;
}

body.theme-br.view-faq .page-crumbs-nav ol {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.theme-br.view-faq .page-crumbs-nav li {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
}

body.theme-br.view-faq .page-crumbs-nav li:not(:last-child)::after {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  margin-inline: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}

body.theme-br.view-faq .page-crumbs-nav a,
body.theme-br.view-faq .page-crumbs-nav span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

body.theme-br.view-faq .br-faq-list {
  --br-ease: cubic-bezier(0.22, 1, 0.36, 1);
  padding: clamp(1.35rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(0, 122, 195, 0.08), transparent 55%),
    #f4f8fb !important;
}

body.theme-br.view-faq .br-faq-list .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.theme-br.view-faq .br-faq-head {
  max-width: 44rem;
  margin: 0 0 1.5rem;
}

body.theme-br.view-faq .br-faq-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #007ac3 !important;
}

body.theme-br.view-faq main h1,
body.theme-br.view-faq .br-faq-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #152028 !important;
  display: block !important;
}

body.theme-br.view-faq .br-faq-lead {
  margin: 0.65rem 0 0;
  color: #5c6b76 !important;
  font-size: 1.05rem;
  line-height: 1.55;
}

body.theme-br.view-faq .br-faq-search {
  position: relative;
  display: flex !important;
  align-items: center;
  margin-top: 1.2rem;
  background: #fff !important;
  border: 1px solid rgba(15, 45, 70, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(20, 40, 60, 0.05);
}

body.theme-br.view-faq .br-faq-search-icon {
  display: inline-flex;
  margin-left: 1rem;
  color: #007ac3;
  flex-shrink: 0;
}

body.theme-br.view-faq .br-faq-search input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  padding: 0.95rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: #152028;
  outline: none;
  box-shadow: none !important;
}

body.theme-br.view-faq .br-faq-search-clear {
  margin-right: 0.45rem;
  border: 0;
  background: rgba(0, 122, 195, 0.1);
  color: #007ac3;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

body.theme-br.view-faq .br-faq-cats {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

body.theme-br.view-faq .br-faq-chip {
  border: 1px solid rgba(15, 45, 70, 0.12);
  background: #fff;
  color: #2a3a46;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}

body.theme-br.view-faq .br-faq-chip.is-active {
  background: #007ac3 !important;
  border-color: #007ac3 !important;
  color: #fff !important;
}

body.theme-br.view-faq .br-faq-count {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #6a7a86;
}

body.theme-br.view-faq .br-faq-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

body.theme-br.view-faq .br-faq-items {
  display: grid;
  gap: 0.65rem;
}

body.theme-br.view-faq .br-faq-item {
  border: 1px solid rgba(15, 45, 70, 0.08);
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(20, 40, 60, 0.04);
  overflow: hidden;
}

body.theme-br.view-faq .br-faq-item summary {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none !important;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: #152028 !important;
}

body.theme-br.view-faq .br-faq-item summary::-webkit-details-marker,
body.theme-br.view-faq .br-faq-item summary::marker {
  display: none;
  content: none;
}

body.theme-br.view-faq .br-faq-summary-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

body.theme-br.view-faq .br-faq-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 122, 195, 0.1);
  color: #007ac3 !important;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-br.view-faq .br-faq-plus {
  position: relative;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 122, 195, 0.1);
  color: #007ac3;
}

body.theme-br.view-faq .br-faq-plus::before,
body.theme-br.view-faq .br-faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

body.theme-br.view-faq .br-faq-plus::before {
  width: 0.7rem;
  height: 2px;
}

body.theme-br.view-faq .br-faq-plus::after {
  width: 2px;
  height: 0.7rem;
}

body.theme-br.view-faq .br-faq-item[open] .br-faq-plus::after {
  opacity: 0;
}

body.theme-br.view-faq .br-faq-item[open] {
  border-color: rgba(0, 122, 195, 0.28);
}

body.theme-br.view-faq .br-faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: #5c6b76 !important;
  line-height: 1.55;
  font-size: 0.98rem;
}

body.theme-br.view-faq .br-faq-aside {
  position: sticky;
  top: calc(var(--site-header-offset, 5.5rem) + 1rem);
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 18px;
  background: #fff !important;
  border: 1px solid rgba(0, 122, 195, 0.14);
  box-shadow: 0 14px 30px rgba(15, 42, 61, 0.06);
}

body.theme-br.view-faq .br-faq-aside-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007ac3 !important;
}

body.theme-br.view-faq .br-faq-aside h3,
body.theme-br.view-faq .br-faq-cta h2 {
  margin: 0;
  color: #152028 !important;
}

body.theme-br.view-faq .br-faq-aside-text,
body.theme-br.view-faq .br-faq-cta p {
  color: #5c6b76 !important;
}

body.theme-br.view-faq .br-faq-aside-links {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

body.theme-br.view-faq .br-faq-aside-link,
body.theme-br.view-faq .br-faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #ff9a4d, #f36f21 55%, #d85a12) !important;
  color: #fff !important;
}

body.theme-br.view-faq .br-faq-aside-link.is-wa {
  background: linear-gradient(160deg, #2ad36a, #1fad54) !important;
}

body.theme-br.view-faq .br-faq-aside-link.is-soft,
body.theme-br.view-faq .br-faq-btn.is-ghost-dark {
  background: transparent !important;
  color: #007ac3 !important;
  border: 1.5px solid rgba(0, 122, 195, 0.45) !important;
  box-shadow: none;
}

body.theme-br.view-faq .br-faq-cta {
  margin-top: 2.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #eef6fb 100%) !important;
  border: 1px solid rgba(0, 122, 195, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.theme-br.view-faq .br-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

body.theme-br.view-faq .br-faq-btn {
  min-width: 10rem;
  padding: 0.95rem 1.3rem;
  box-shadow: 0 12px 26px rgba(180, 70, 10, 0.28);
}

@media (max-width: 900px) {
  body.theme-br.view-faq .br-faq-layout {
    grid-template-columns: 1fr;
  }

  body.theme-br.view-faq .br-faq-aside {
    position: static;
  }
}

@media (max-width: 979px) {
  body.theme-br .header-inner .search-toggle,
  body.theme-br .header-actions .search-toggle,
  body.theme-br .header-actions .repair-search .search-toggle,
  body.theme-br .header-inner .repair-search .search-toggle {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 480px) {
  body.theme-br .header-inner .search-toggle,
  body.theme-br .header-actions .search-toggle,
  body.theme-br .header-actions .repair-search .search-toggle,
  body.theme-br .header-inner .repair-search .search-toggle {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Happy klanten — Google-score + mobiele kaarten */
body.theme-br .reviews-section .score-block {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  min-width: 0 !important;
  width: auto;
  padding: 0.7rem 0.95rem !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 122, 195, 0.12) !important;
  box-shadow: 0 8px 22px rgba(15, 42, 61, 0.05) !important;
  text-decoration: none !important;
  color: inherit !important;
}

body.theme-br .reviews-section .score-block:hover,
body.theme-br .reviews-section .score-block:focus-visible {
  border-color: rgba(0, 122, 195, 0.35) !important;
  box-shadow: 0 10px 26px rgba(15, 42, 61, 0.08) !important;
  color: inherit !important;
}

body.theme-br .reviews-section .google-mark {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  border: 1px solid #e8eef3 !important;
  box-shadow: none !important;
}

body.theme-br .reviews-section .score-copy {
  display: grid !important;
  gap: 0.12rem !important;
  min-width: 0;
}

body.theme-br .reviews-section .score-line {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

body.theme-br .reviews-section .score-block .score {
  margin: 0 !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

body.theme-br .reviews-section .stars {
  display: inline-flex !important;
  gap: 0.04rem !important;
}

body.theme-br .reviews-section .star {
  font-size: 0.98rem !important;
  color: #e4e8ec !important;
}

body.theme-br .reviews-section .star.full,
body.theme-br .reviews-section .star.is-full {
  color: #fbbc04 !important;
}

body.theme-br .reviews-section .rating-meta,
body.theme-br .reviews-section .score-meta {
  margin: 0 !important;
  color: #5b6570 !important;
  font-size: 0.86rem !important;
}

@media (max-width: 720px) {
  body.theme-br .reviews-section {
    padding-block: 1.75rem 2rem !important;
  }

  body.theme-br .reviews-head {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
  }

  body.theme-br .reviews-section .copy h2 {
    font-size: 1.38rem !important;
    letter-spacing: -0.03em;
  }

  body.theme-br .reviews-section .copy .lead {
    max-width: none !important;
    font-size: 0.94rem !important;
  }

  body.theme-br .reviews-section .rating-bar {
    width: 100% !important;
    align-items: stretch !important;
  }

  body.theme-br .reviews-section .score-block {
    width: 100% !important;
    padding: 0.9rem 1rem !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 42, 61, 0.07) !important;
  }

  body.theme-br .reviews-section .google-mark {
    width: 46px !important;
    height: 46px !important;
  }

  body.theme-br .reviews-section .score-block .score {
    font-size: 1.7rem !important;
  }

  body.theme-br .reviews-section .star {
    font-size: 1.08rem !important;
  }

  body.theme-br .reviews-section .rating-meta,
  body.theme-br .reviews-section .score-meta {
    font-size: 0.92rem !important;
  }

  body.theme-br .review-slider {
    --rs-card-w: min(86vw, 320px);
    --rs-gap: 0.7rem;
  }

  body.theme-br .rs-slide {
    height: auto !important;
    min-height: 13.5rem !important;
    padding: 1.05rem 1rem 0.95rem !important;
  }

  body.theme-br .rs-text {
    font-size: 0.95rem !important;
    -webkit-line-clamp: 4;
  }
}

/* Laatste reparatiekaart niet achter de vaste “Verder met boeken”-balk */
@media (max-width: 720px) {
  body.theme-br .wizard.has-sticky-action {
    overflow: visible !important;
  }

  body.theme-br .wizard.has-sticky-action .repairs::after {
    content: "";
    display: block;
    grid-column: 1 / -1;
    height: calc(11rem + env(safe-area-inset-bottom, 0px));
  }

  body.theme-br.wizard-has-sticky-cta .site-footer,
  body.theme-br:has(.wizard.has-sticky-action) .site-footer {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }
}
