/* deshuizes emergency UI fixes */
.cc-detail__icon,.snote-detail__icon{display:grid!important;width:1.7rem!important;height:1.7rem!important;max-width:1.7rem!important;max-height:1.7rem!important;overflow:hidden!important}
.cc-detail__icon svg,.snote-detail__icon svg{width:1.45rem!important;height:1.45rem!important;max-width:1.45rem!important;max-height:1.45rem!important;display:block!important}
.cc-detail__lang,.snote-detail__lang{display:inline-flex!important}
.cc-detail__lang svg,.snote-detail__lang svg{width:1.05rem!important;height:1.05rem!important;max-width:1.05rem!important;max-height:1.05rem!important;display:block!important}
.cc-banner svg,.snote-banner svg{max-width:2rem!important;max-height:2rem!important}
.sw-toggle{width:3.35rem!important;height:3.35rem!important;border:0!important;border-radius:999px!important;background:#1f9d55!important;color:#fff!important;display:grid!important;place-items:center!important;cursor:pointer!important;overflow:hidden!important;padding:0!important;box-shadow:0 10px 24px rgba(31,157,85,.35)!important}
.sw-toggle svg{width:1.35rem!important;height:1.35rem!important;fill:none!important;stroke:currentColor!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important;display:block!important}
.sw-toggle.has-avatar{background:#fff!important;border:2px solid #fff!important}
.dh-contact__map-link,
.dh-contact__map-link:hover,
.dh-contact__map-link span {
  color: #fff !important;
}
.dh-contact__map-link {
  background: rgba(1,33,71,.92) !important;
  z-index: 2 !important;
}
.dh-contact__map-link:hover {
  background: #ed7766 !important;
}

/* Teamrij: armen Robert Jan / Kim niet afknippen + RJ iets groter */
.dh-mem {
  overflow: visible !important;
}
.dh-mem__photos {
  max-width: 52rem !important;
  padding: 1.25rem 0.65rem 0 !important;
}
.dh-mem__person {
  width: clamp(136px, 13vw, 176px) !important;
  margin-left: -0.95rem !important;
}
.dh-mem__person:first-child {
  margin-left: 0 !important;
}
.dh-mem__person--robert-jan,
.dh-mem__person--kim {
  overflow: visible !important;
  width: clamp(158px, 15vw, 204px) !important;
}
.dh-mem__person--robert-jan img,
.dh-mem__person--robert-jan .dh-copy-image img,
.dh-mem__person--robert-jan .theme-copy-image img {
  transform: scale(1.12) !important;
  transform-origin: bottom center !important;
}

/* Lighthouse a11y: contrast + 44px targets */
.theme-deshuizes .dh-eyebrow,
.theme-deshuizes-root .dh-eyebrow {
  color: #3f6b4a !important;
}
.theme-deshuizes .dh-hero .dh-eyebrow,
.theme-deshuizes-root .dh-hero .dh-eyebrow {
  color: #94ce9b !important;
}
.theme-deshuizes .dh-link:hover,
.theme-deshuizes .dh-offer__body span,
.theme-deshuizes .dh-blog-row__copy > span {
  color: #c24f3f !important;
}
.theme-deshuizes .dh-footer__brand-note,
.theme-deshuizes .dh-footer__social-label {
  color: rgba(255,255,255,.78) !important;
}
.theme-deshuizes .dh-footer__social-btn,
.theme-deshuizes .dh-header-search__toggle,
.theme-deshuizes .dh-btn--sm {
  min-width: 44px !important;
  min-height: 44px !important;
}
.theme-deshuizes .dh-footer__social-btn,
.theme-deshuizes .dh-header-search__toggle {
  width: 44px !important;
  height: 44px !important;
}
/* Boot: navy + delayed logo/spinner (BaseLayout #sf-wait, ≥600ms) — geen huis-poster */
html.storefront-boot-deshuizes,
html.storefront-boot-deshuizes.sf-hold {
  background: #012147 !important;
}
html.storefront-boot-deshuizes.sf-hold body {
  visibility: visible !important;
  background: #012147 !important;
}
html.storefront-boot-deshuizes.sf-hold #sf-wait {
  display: block !important;
  visibility: visible !important;
  opacity: 0;
  animation: sf-wait-reveal 0.25s ease 600ms forwards;
}
html.storefront-boot-deshuizes.sf-hold #sf-wait::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(38% - 5.25rem);
  width: min(10.5rem, 56vw);
  height: 4.5rem;
  transform: translateX(-50%);
  background: url(/themes/deshuizes/logo-white.svg) center / contain no-repeat;
}
html.storefront-boot-deshuizes.sf-hold #sf-wait::after {
  top: calc(38% + 0.85rem);
  border-color: rgba(255, 255, 255, 0.22);
  border-top-color: #ed7766;
}
@keyframes sf-wait-reveal {
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.storefront-boot-deshuizes.sf-hold #sf-wait {
    opacity: 1;
    animation: none;
  }
}
#dh-lcp,
#dh-boot,
#dh-boot__poster,
#dh-boot__bar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Hero-poster/video altijd schermvullend (HTML width/height mag niet 16:9 forceren) */
.dh-hero {
  background: #012147 !important;
}
.dh-hero__video,
.dh-hero__veil,
.dh-hero__video--poster,
.dh-hero .theme-copy-video,
.dh-hero .theme-copy-video .dh-hero__video,
.dh-hero .theme-copy-video .dh-hero__video--poster {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: auto !important;
}
.theme-deshuizes .dh-btn--coral,
.theme-deshuizes-root .dh-btn--coral,
.theme-deshuizes .dh-news__date {
  background: #b84336 !important;
  color: #fff !important;
}
.theme-deshuizes .dh-mem__dot {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  background: transparent !important;
  position: relative !important;
}
.theme-deshuizes .dh-mem__dot::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: .48rem !important;
  height: .48rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.35) !important;
  transform: translate(-50%, -50%) !important;
}
.theme-deshuizes .dh-mem__dot.is-active::after {
  width: 1.15rem !important;
  background: #b84336 !important;
}

/* Contactkaarten tablet: geen navy/fog-snede door 2×2-grid */
@media (max-width: 1220px) {
  .theme-deshuizes .dh-contact__cards-sec,
  .theme-deshuizes-root .dh-contact__cards-sec {
    margin-top: -3.25rem !important;
    padding: 0 0 2.85rem !important;
    background: #012147 !important;
  }
  .theme-deshuizes .dh-contact__cards-sec .dh-wrap,
  .theme-deshuizes-root .dh-contact__cards-sec .dh-wrap {
    width: min(1400px, calc(100% - 2.75rem)) !important;
  }
  .theme-deshuizes .dh-contact__cards,
  .theme-deshuizes-root .dh-contact__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.05rem 1.15rem !important;
  }
}
@media (max-width: 720px) {
  .theme-deshuizes .dh-contact__cards-sec,
  .theme-deshuizes-root .dh-contact__cards-sec {
    margin-top: -2.75rem !important;
    padding: 0 0 2.25rem !important;
    background: #012147 !important;
  }
  .theme-deshuizes .dh-contact__cards-sec .dh-wrap,
  .theme-deshuizes-root .dh-contact__cards-sec .dh-wrap {
    width: min(1400px, calc(100% - 2rem)) !important;
  }
  .theme-deshuizes .dh-contact__cards,
  .theme-deshuizes-root .dh-contact__cards {
    grid-template-columns: 1fr !important;
  }
}

/* Afspraak-modal: blauwe kop compacter op mobiel, logo alleen desktop */
@media (max-width: 860px) {
  .dh-appt__logo {
    display: none !important;
  }
  .dh-appt__aside {
    padding: .8rem 1rem .7rem !important;
    gap: .28rem !important;
  }
  .dh-appt__eyebrow {
    font-size: .62rem !important;
    letter-spacing: .1em !important;
  }
  .theme-deshuizes h2.dh-appt__aside-title,
  .dh-appt__aside-title {
    font-size: 1.28rem !important;
    line-height: 1.2 !important;
  }
  .dh-appt__facts {
    margin: .15rem 0 0 !important;
    padding-top: .45rem !important;
    gap: .28rem !important;
  }
  .dh-appt__facts li {
    font-size: .8rem !important;
    gap: .45rem !important;
    grid-template-columns: 1.15rem 1fr !important;
  }
  .dh-appt__fact-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Boot: logo + gecentreerde spinner */
.brand-loader--theme-deshuizes .brand-loader__mark {
  display: grid !important;
  justify-items: center !important;
  gap: 1.35rem !important;
}
.brand-loader--theme-deshuizes .brand-loader__logo {
  display: block !important;
  width: auto !important;
  max-width: min(13.5rem, 62vw) !important;
  max-height: 5.25rem !important;
  object-fit: contain !important;
  filter: none !important;
}
.storefront-loading--deshuizes,
.brand-loader--theme-deshuizes.brand-loader--full {
  position: fixed !important;
  inset: 0 !important;
  z-index: 80 !important;
  display: grid !important;
  place-items: center !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: #012147 !important;
  color: #fff !important;
}
.brand-loader--theme-deshuizes .brand-loader__atmosphere,
.brand-loader--theme-deshuizes .brand-loader__stage,
.brand-loader--theme-deshuizes .brand-loader__meta,
.brand-loader--theme-deshuizes .brand-loader__label,
.dh-route-loader__label {
  display: none !important;
}
.brand-loader--theme-deshuizes .brand-loader__spinner,
.dh-route-loader__spinner {
  display: block !important;
  box-sizing: border-box !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  margin: 0 auto !important;
  border: 2.5px solid rgba(255, 255, 255, 0.18) !important;
  border-top-color: #ed7766 !important;
  border-radius: 50% !important;
  animation: dh-ui-spin 0.75s linear infinite !important;
}
.dh-route-loader {
  min-height: min(72vh, 36rem) !important;
  display: grid !important;
  place-content: center !important;
  background: #012147 !important;
}
@keyframes dh-ui-spin {
  to {
    transform: rotate(360deg);
  }
}