/* shop-assets.css lekt home/thuisbatterij-klassen zonder page-scope. */

body:not(.view-home) .intro-shot-main,
body:not(.view-home) .intro-shot-side {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
  z-index: auto;
}

body:not(.view-home) .intro-visual-glow {
  display: none;
}

body:not(.view-thuisbatterij):not(.view-home) .intro-visual {
  overflow: visible;
  border-radius: 0;
  background: none;
  filter: none;
  isolation: auto;
  padding: 0;
  min-height: 0;
}

body:not(.view-thuisbatterij) .intro-visual img,
body:not(.view-thuisbatterij) .intro-shot img {
  object-fit: cover;
}

/* Winkel — twee foto’s naast elkaar, geen weggeknipte home-collage */
body.view-winkel .intro-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

body.view-winkel .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}

body.view-winkel .intro-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 20ch;
}

body.view-winkel .intro-copy .lead {
  margin: 0;
  color: #2a333b;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 48ch;
}

body.view-winkel .intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

body.view-winkel .intro-visual {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.7rem;
  align-items: stretch;
  min-height: 22rem;
  overflow: visible;
  border-radius: 0;
  background: none;
}

body.view-winkel .intro-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e8eef3;
  box-shadow: none;
  aspect-ratio: auto;
}

body.view-winkel .intro-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.view-winkel .intro-shot-main,
body.view-winkel .intro-shot-side {
  min-height: 22rem;
  width: auto;
  transform: none;
}

body.view-winkel .highlights-section {
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
  border-block: 1px solid var(--ms-line, #e4e8ec);
}

body.view-winkel .highlights-section .section-head {
  margin-bottom: 1.25rem;
  max-width: 34rem;
}

body.view-winkel .highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
}

body.view-winkel .highlights li {
  padding-top: 0.9rem;
  border-top: 2px solid rgba(0, 160, 227, 0.35);
}

body.view-winkel .highlights li:nth-child(even) {
  border-top-color: rgba(240, 129, 25, 0.45);
}

body.view-winkel .highlights strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

body.view-winkel .highlights p {
  margin: 0;
  color: #2a333b;
  font-size: 0.94rem;
  line-height: 1.5;
}

body.view-winkel .visit-section {
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

body.view-winkel .visit-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
  gap: 1.15rem;
  align-items: stretch;
}

body.view-winkel .hours-panel {
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #142029 0%, #1c2d39 55%, #123247 100%);
  color: #e8eef3;
}

body.view-winkel .hours-panel h3 {
  margin: 0 0 0.95rem;
  color: #fff;
  font-size: 1.1rem;
}

body.view-winkel .hours-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

body.view-winkel .hours-panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0.45rem;
  margin: 0 -0.45rem;
  border-radius: 8px;
  color: #c5d0d8;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

body.view-winkel .hours-panel li.today {
  background: rgba(240, 129, 25, 0.18);
  border-bottom-color: transparent;
  color: #fff;
}

body.view-winkel .hours-panel li.today span {
  font-weight: 700;
  color: #ffb265;
}

body.view-winkel .contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ms-line, #e4e8ec);
}

body.view-winkel .gallery-section {
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
  background: #f7fafc;
  border-block: 1px solid var(--ms-line, #e4e8ec);
}

body.view-winkel .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body.view-winkel .gallery .shot {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--ms-line, #e4e8ec);
  background: #eef2f5;
}

body.view-winkel .gallery .shot img {
  width: 100%;
  height: 35rem;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}

body.view-over-ons .photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

body.view-over-ons .photo-pair .shot {
  position: relative;
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
}

body.view-over-ons .photo-pair .shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

@media (max-width: 960px) {
  body.view-winkel .intro-grid,
  body.view-winkel .visit-grid {
    grid-template-columns: 1fr;
  }

  body.view-winkel .intro-visual {
    max-width: 36rem;
    margin-inline: auto;
    width: 100%;
    min-height: 0;
    grid-template-columns: 1.15fr 0.85fr;
  }

  body.view-winkel .intro-shot-main,
  body.view-winkel .intro-shot-side {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 14rem;
  }

  body.view-winkel .highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body.view-winkel .highlights {
    grid-template-columns: 1fr;
  }

  body.view-winkel .gallery {
    grid-template-columns: 1fr 1fr;
  }

  body.view-winkel .gallery .shot img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* PhotoHero — crumbs altijd op de foto, nooit een witte balk */
.photo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: clamp(15.5rem, 30vh, 19rem);
  display: grid;
}

.photo-hero .photo-hero-img,
picture.photo-hero-img,
.photo-hero img.photo-hero-img {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -14% !important;
  z-index: 0;
  width: 100% !important;
  height: 128% !important;
  max-width: none;
  object-fit: cover !important;
  pointer-events: none;
}

picture.photo-hero-img {
  display: block !important;
}

.photo-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.photo-hero-frame {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: inherit;
  box-sizing: border-box;
}

.photo-hero .crumbs {
  position: relative;
  z-index: 3;
  margin: 0 0 1.15rem;
  padding: 0;
  background: none !important;
  color: #fff !important;
}

.photo-hero .crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.photo-hero .crumbs li {
  display: inline-flex;
  align-items: center;
  color: #fff !important;
  font-size: 0.78rem;
  line-height: 1.3;
  background: none !important;
}

.photo-hero .crumbs li + li::before {
  content: "";
  width: 0.28rem;
  height: 0.28rem;
  margin-inline: 0.45rem;
  border-right: 1.5px solid rgba(255, 255, 255, 0.9);
  border-top: 1.5px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.photo-hero .crumbs a,
.photo-hero .crumbs span,
.photo-hero .crumbs [aria-current="page"] {
  color: #fff !important;
  text-decoration: none;
  background: none !important;
}

.photo-hero .crumbs a:hover {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-hero .crumbs [aria-current="page"] {
  font-weight: 600;
}

.photo-hero.has-crumbs .photo-hero-row {
  margin-top: auto;
}

.photo-hero h1,
.photo-hero .lead,
.photo-hero .brand {
  color: #fff;
}

.photo-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

body.view-blog-post .photo-hero .meta,
.photo-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

body.view-blog-post .photo-hero .meta .cat,
.photo-hero .meta .cat {
  color: #ffb366 !important;
  font-weight: 700;
}

/* Blog detail — artikel + aside zoals ibmhub */
body.view-blog-post .article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 17.5rem);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
}

body.view-blog-post .prose {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3d4853;
}

body.view-blog-post .prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  letter-spacing: -0.025em;
  color: var(--ms-ink, #1a1f24);
}

body.view-blog-post .prose h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.15rem;
  color: var(--ms-ink, #1a1f24);
}

body.view-blog-post .prose p {
  margin: 0 0 1.1rem;
}

body.view-blog-post .prose ul,
body.view-blog-post .prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

body.view-blog-post .prose li::marker {
  color: var(--ms-blue, #00a0e3);
}

body.view-blog-post .prose a {
  color: var(--ms-blue-dark, #0077b3);
  font-weight: 600;
}

body.view-blog-post .aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--site-header-offset, 5.5rem) + 0.75rem);
}

body.view-blog-post .aside-panel {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem 1.15rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #142029 0%, #1c2d39 55%, #123247 100%);
  color: #e8eef3;
}

body.view-blog-post .aside-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa0ad;
}

body.view-blog-post .aside-panel strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
}

body.view-blog-post .tags {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--ms-line, #e4e8ec);
  background: #fff;
}

body.view-blog-post .tags ul {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body.view-blog-post .related-section {
  padding: clamp(2.25rem, 4vw, 3.25rem) 0 clamp(3.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(240, 129, 25, 0.08), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, #fff 100%);
  border-top: 1px solid var(--ms-line, #e4e8ec);
}

body.view-blog-post .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.view-blog-post .related-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f5;
}

body.view-blog-post .related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  body.view-blog-post .article-layout {
    grid-template-columns: 1fr;
  }

  body.view-blog-post .aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  body.view-blog-post .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body.view-blog-post .aside {
    grid-template-columns: 1fr;
  }

  body.view-blog-post .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer/404-extract: geen lichtgrijze titels en links op witte vlakken */
main h1,
main h2,
main h3,
main h4,
main .section-head h2,
main .intro-copy h2,
main .services-head h2,
main .news-head h2,
main .map-head h2,
main .aanbod-head h2,
main .related-head h2,
main .featured-copy h2,
main .service-copy h2,
main .ps-body h3,
main .ss-slide h3,
main .news-item h3,
main .news-lead h3,
main .related-card h3 {
  color: #142029;
}

main h1,
main h2 {
  font-weight: 800;
}

:root {
  --ms-muted: #3d4853;
}

main .lead,
main .section-head .lead,
main .intro-copy .lead,
main .service-copy .lead,
main .map-head .lead,
main .copy .lead {
  color: #2a333b;
}

/* Footer-extract lekte p { #c5d0d8 } over kale alinea's (refurbished, etc.) */
main p {
  color: #2a333b;
}

main .eyebrow,
main p.eyebrow {
  color: var(--ms-orange, #f08119);
}

main .aanbod-head p,
main .section-head p:not(.eyebrow),
main .intro-copy p,
main .highlights p,
main .products .body p,
main .ss-body p,
main .prose p,
main .prose li,
body.view-winkel .visit-note,
body.view-winkel .contact-panel .visit-note,
body.view-winkel .highlights p {
  color: #2a333b;
}

main a {
  color: inherit;
}

.site-footer a {
  color: #e8eef3;
}

.site-footer a:hover {
  color: var(--ms-orange, #f08119);
}

/* Geen witte strook onder de footer (content-visibility + in-flow promo). */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body > .site-header,
body > .ms-logos,
body > .site-footer {
  flex-shrink: 0;
}

main#main-content {
  flex: 1 0 auto;
}

footer,
.site-footer {
  content-visibility: visible;
  contain-intrinsic-size: auto 0;
  margin-top: auto;
}

.tb-banner:not(.tb-float) {
  position: fixed !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0);
}

main .photo-hero h1,
main .photo-hero .brand {
  color: #fff;
}

body main .photo-hero .lead,
body main .photo-hero .meta,
body main .photo-hero p,
body main .photo-hero .brand,
body main .photo-hero h1 {
  color: #fff;
}

main .aside-panel p,
main .visit-note p {
  color: #c5d0d8;
}

main .photo-hero a:not(.btn),
main .photo-hero .crumbs a,
main .photo-hero .crumbs span {
  color: #fff !important;
}

body.view-not-found .lost,
body.view-not-found .lost .brand,
body.view-not-found .lost .code,
body.view-not-found .lost h1,
body.view-not-found .lost .lead,
body.view-not-found .lost .quick-links a {
  color: #fff;
}

body.view-not-found main h1,
body.view-not-found main .lead {
  color: #fff;
}

body.view-not-found .lost .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

body.view-lander .device-lander h1,
body.view-lander .device-lander h2 {
  color: #152028;
  font-weight: 800;
  font-variation-settings: normal;
  word-spacing: 0.04em;
}

body.view-lander .device-lander-intro,
body.view-lander .device-lander-intro p {
  color: #3d4853;
}

body.view-lander .device-lander-media,
body.view-lander .device-lander-photo {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 1.35rem;
  background: linear-gradient(160deg, rgba(240, 129, 25, 0.12), #eef2f5);
  padding: 1.4rem 1.25rem;
}

body.view-lander .device-lander-media img,
body.view-lander .device-lander-photo img,
body.view-lander .device-lander-phone {
  max-height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

body.view-lander .device-lander-price-grid a {
  color: inherit;
}

.products .toolbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.35rem;
  padding: 0.4rem;
  background: #f3f6f8;
  border-radius: 1rem;
}

.products .toolbar input {
  flex: 1 1 auto;
  max-width: none;
  min-height: 2.75rem;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  background: #fff;
  box-shadow: 0 0 0 1px #e4e8ec;
}

.products .toolbar span {
  flex: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: #2a333b;
  font-size: 0.82rem;
  font-weight: 650;
}

.products .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.products .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 16px;
  overflow: hidden;
}

.products .media,
.ps-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  padding: 0;
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
  border-bottom: 1px solid #eef1f4;
  overflow: hidden;
  box-sizing: border-box;
}

.ps-media {
  background: #fff;
}

.products .media img,
.ps-media img,
.products .media .placeholder,
.ps-media .ps-placeholder {
  position: absolute;
  inset: 12%;
  width: 76% !important;
  height: 76% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
  margin: 0;
  display: block;
}

.products .media img.is-fitted,
.ps-media img.is-fitted,
.media-frame img.is-fitted {
  inset: auto !important;
  width: var(--thumb-w) !important;
  height: var(--thumb-h) !important;
  left: var(--thumb-l) !important;
  top: var(--thumb-t) !important;
  right: auto !important;
  bottom: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill !important;
  padding: 0 !important;
  margin: 0 !important;
}

.products .card:hover .media img.is-fitted,
.ps-slide:hover .ps-media img.is-fitted {
  transform: none !important;
}

.products .body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.85rem 0.95rem 1rem;
  flex: 1 1 auto;
}

.products .body h3 {
  margin: 0;
  color: #142029;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products .body p {
  margin: 0;
  color: #2a333b;
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products .body strong {
  margin-top: auto;
  padding-top: 0.35rem;
  color: #f08119;
  font-size: 1.05rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .products .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .products .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .products .media,
  .ps-media { height: auto; }

  .products .media img,
  .ps-media img,
  .products .media .placeholder,
  .ps-media .ps-placeholder { inset: 12%; width: 76% !important; height: 76% !important; }
}

body.view-contact .visit-block figure {
  min-height: 11.5rem;
  max-height: none;
  aspect-ratio: 16 / 10;
}

body.view-contact .visit-block img {
  object-fit: cover;
  object-position: center;
}

body.view-product .buybox h1 {
  color: #142029;
}

body.view-product .buybox .lead,
body.view-product .pdp-copy,
body.view-product .pdp-copy p,
body.view-product .rich-text,
body.view-product .rich-text p,
body.view-product .rich-text li {
  color: #2a333b;
}

body.view-product .buybox .lead {
  max-width: 46ch;
  font-size: 1.06rem;
  line-height: 1.65;
  font-weight: 500;
}

body.view-product .pdp-copy {
  padding-top: 0.5rem;
}

body.view-product .pdp-copy h2,
body.view-product .rich-text h2,
body.view-product .rich-text h3 {
  color: #142029;
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

body.view-product .rich-text p,
body.view-product .rich-text li {
  font-size: 1.05rem;
  line-height: 1.75;
}

body.view-product .related-section {
  padding-top: 0.5rem;
}

body.view-product .related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

body.view-product .related-head h2 {
  margin: 0;
  color: #142029;
}

body.view-product .related-head .eyebrow {
  margin: 0 0 0.3rem;
}

@media (max-width: 720px) {
  body.view-product .related-head {
    flex-direction: column;
    align-items: start;
  }
}

body.view-dienst .prose,
body.view-dienst .prose p,
body.view-dienst .prose li,
body.view-dienst .perks li,
body.view-dienst .visit p,
body.view-dienst .related-card p {
  color: #2a333b;
}

body.view-dienst .prose {
  font-size: 1.08rem;
  line-height: 1.75;
  font-weight: 500;
}

body.view-dienst .prose h2,
body.view-dienst .prose h3,
body.view-dienst .related-head h2,
body.view-dienst .related-card h3 {
  color: #142029;
}

body.view-dienst .perks .aside-label,
body.view-dienst .visit .aside-label {
  color: #3d4853;
}

body.view-dienst .aside-panel p {
  color: #e8eef3;
}

body.view-dienst .aside-panel .aside-label {
  color: #d5dee5;
}

/* Juridische pagina's: leesbaar, met inhoudsopgave */
body.view-legal .legal-section {
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(3.5rem, 6vw, 5rem);
}

body.view-legal .legal-layout {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  align-items: start;
}

@media (min-width: 960px) {
  body.view-legal .legal-layout.has-toc {
    grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }

  body.view-legal .legal-toc {
    position: sticky;
    top: calc(var(--site-header-offset, 5.5rem) + 1rem);
  }

  body.view-legal .legal-toc > ol {
    display: grid !important;
  }

  body.view-legal .legal-toc-label {
    cursor: default;
    pointer-events: none;
  }
}

body.view-legal .legal-toc {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--ms-line, #e4e8ec);
  border-radius: 18px;
  background: #f7f9fb;
}

body.view-legal .legal-toc-label {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d4853;
  list-style: none;
  cursor: pointer;
}

body.view-legal .legal-toc-label::-webkit-details-marker {
  display: none;
}

@media (max-width: 959px) {
  body.view-legal .legal-toc-label::after {
    content: "+";
    float: right;
    font-size: 1rem;
    line-height: 1;
  }

  body.view-legal .legal-toc[open] .legal-toc-label::after {
    content: "–";
  }
}

body.view-legal .legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

body.view-legal .legal-toc a {
  display: block;
  color: #2a333b;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 600;
}

body.view-legal .legal-toc a:hover {
  color: var(--ms-orange, #f08119);
}

body.view-legal .legal-page {
  max-width: 46rem;
}

body.view-legal .legal-meta {
  margin: 0 0 1.25rem;
  color: #3d4853;
  font-size: 0.92rem;
  font-weight: 600;
}

body.view-legal .legal-page h2 {
  margin: 2.15rem 0 0.7rem;
  color: #142029;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.03em;
  scroll-margin-top: calc(var(--site-header-offset, 5.5rem) + 0.75rem);
}

body.view-legal .legal-page h2:first-of-type {
  margin-top: 0.35rem;
}

body.view-legal .legal-page p,
body.view-legal .legal-page li {
  color: #2a333b;
  font-size: 1.05rem;
  line-height: 1.7;
}

body.view-legal .legal-page p {
  margin: 0 0 0.95rem;
}

body.view-legal .legal-page ul,
body.view-legal .legal-page ol {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

body.view-legal .legal-page a {
  color: var(--ms-blue-dark, #005f86);
  font-weight: 650;
}

body.view-legal .legal-page a:hover {
  color: var(--ms-orange, #f08119);
}

body.view-legal.view-cookiebeleid .legal-page {
  max-width: 54rem;
}

body.view-legal .cookie-decl {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

body.view-legal .cookie-decl-meta,
body.view-legal .cookie-decl-empty {
  margin: 0 0 0.35rem;
  color: #3d4853;
  font-size: 0.95rem;
}

body.view-legal .cookie-acc {
  border: 1px solid var(--ms-line, #e4e8ec);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

body.view-legal .cookie-acc[open] {
  border-color: rgba(0, 160, 227, 0.35);
  box-shadow: 0 14px 34px rgba(20, 32, 41, 0.06);
}

body.view-legal .cookie-acc.tone-orange[open] {
  border-color: rgba(240, 129, 25, 0.4);
}

body.view-legal .cookie-acc summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem 0.9rem;
  padding: 1rem 1.1rem;
  user-select: none;
}

body.view-legal .cookie-acc summary::-webkit-details-marker {
  display: none;
}

body.view-legal .cookie-acc-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: #9aa5b0;
  letter-spacing: 0.04em;
}

body.view-legal .cookie-acc-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

body.view-legal .cookie-acc-copy strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: #142029;
}

body.view-legal .cookie-acc-copy small {
  color: #3d4853;
  font-size: 0.82rem;
}

body.view-legal .cookie-acc-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3d4853;
  white-space: nowrap;
}

body.view-legal .cookie-acc-badge.is-required {
  color: var(--ms-blue-dark, #005f86);
}

body.view-legal .cookie-acc.tone-orange .cookie-acc-badge {
  color: var(--ms-orange, #f08119);
}

body.view-legal .cookie-acc-chevron {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 1px solid var(--ms-line, #e4e8ec);
  background: #f7fafc;
  position: relative;
}

body.view-legal .cookie-acc-chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #5b6570;
  border-bottom: 2px solid #5b6570;
  transform: translateY(-15%) rotate(45deg);
}

body.view-legal .cookie-acc[open] .cookie-acc-chevron {
  transform: rotate(180deg);
  border-color: rgba(0, 160, 227, 0.35);
  background: rgba(0, 160, 227, 0.08);
}

body.view-legal .cookie-acc-panel {
  padding: 0 1.1rem 1.15rem;
  border-top: 1px solid #eef2f5;
}

body.view-legal .cookie-acc-panel > p {
  margin: 0.95rem 0 1rem;
  color: #2a333b;
  line-height: 1.65;
  font-size: 0.95rem;
}

body.view-legal .cookie-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e8eef3;
  background: #fbfcfd;
}

body.view-legal .cookie-decl table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.88rem;
}

body.view-legal .cookie-decl th,
body.view-legal .cookie-decl td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e8eef3;
  color: #2a333b;
}

body.view-legal .cookie-decl th {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3d4853;
  background: #f4f7f9;
}

body.view-legal .cookie-decl code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: #f1f5f8;
  color: #243039;
}

body.view-legal .cookie-decl-actions {
  margin: 0.5rem 0 0;
}

body.view-legal .cookie-decl-actions .cookie-settings {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ms-line, #e4e8ec);
  border-radius: 999px;
  background: #142029;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
}

body.view-legal .cookie-decl-actions .cookie-settings:hover {
  background: var(--ms-orange, #f08119);
  border-color: var(--ms-orange, #f08119);
}

@media (max-width: 640px) {
  body.view-legal .cookie-acc summary {
    grid-template-columns: auto 1fr auto;
  }

  body.view-legal .cookie-acc-badge {
    display: none;
  }
}

.pdp .price-from {
  display: inline-block;
  margin-right: 0.28em;
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: 0.18em;
}

/* Privacy/voorwaarden boven reserveren (1200) en andere shop-modals */
.legal-modal-root {
  z-index: 12100 !important;
}

@media (max-width: 720px) {
  .wizard.has-sticky-action {
    overflow: visible !important;
  }

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

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