body.wbp-site-ending-active .x-colophon,
body.wbp-site-ending-active footer.x-colophon,
body.wbp-site-ending-active .site-footer {
  display: none !important;
}

.wbp-site-ending {
  --wbp-site-ending-text: #5f737c;
  --wbp-site-ending-line: rgba(125, 183, 200, .54);
  width: 100%;
  padding: clamp(24px, 3vw, 38px) clamp(16px, 3vw, 38px) clamp(20px, 2.4vw, 30px);
  color: var(--wbp-site-ending-text);
  text-align: center;
}

.wbp-site-ending__legal,
.wbp-site-ending__socials {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wbp-site-ending__legal {
  flex-wrap: wrap;
  gap: 10px 0;
}

.wbp-site-ending__legal a {
  color: var(--wbp-site-ending-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.wbp-site-ending__legal a + a::before {
  content: "\00b7";
  display: inline-block;
  margin: 0 14px;
  color: #92a8b0;
}

.wbp-site-ending__legal a:hover,
.wbp-site-ending__legal a:focus-visible,
.wbp-site-ending__socials a:hover,
.wbp-site-ending__socials a:focus-visible {
  color: #233942;
}

.wbp-site-ending__divider {
  display: block;
  width: min(120px, 30%);
  height: 1px;
  margin: 20px auto 18px;
  background: var(--wbp-site-ending-line);
}

.wbp-site-ending__socials {
  gap: clamp(22px, 3vw, 34px);
}

.wbp-site-ending__socials a {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  color: #8b9da5;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.wbp-site-ending__socials a:hover,
.wbp-site-ending__socials a:focus-visible {
  transform: translateY(-1px);
}

.wbp-site-ending__social-fallback {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
}

.wbp-site-ending--instagram {
  padding-top: clamp(30px, 4vw, 48px);
}

.wbp-site-ending--single-product {
  padding-top: clamp(28px, 3.6vw, 44px);
  padding-bottom: clamp(22px, 2.8vw, 34px);
}

.wbp-site-ending__copyright {
  margin: clamp(30px, 4vw, 48px) auto 0;
  padding: 22px 18px 28px;
  color: #71858e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.wbp-events-v2__band--site-ending {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wbp-events-v2__site-ending-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(125, 183, 200, .76);
  border-radius: 34px;
  background: rgba(232, 248, 251, .52);
  box-shadow: 0 24px 72px rgba(82, 118, 130, .12);
}

.wbp-events-v2__band--plain.wbp-events-v2__band--site-ending .wbp-events-v2__site-ending-panel {
  border-color: #ed2024;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .48)),
    url("https://wbphotography.nl/wp-content/uploads/2026/03/Gemini_Generated_Image_2xs6fp2xs6fp2xs61.png") center 58% / cover no-repeat;
}

.wbp-events-v2__site-ending-panel .wbp-site-ending {
  padding-top: clamp(34px, 4vw, 50px);
  padding-bottom: clamp(24px, 3vw, 38px);
}

body.single-product .wbp-purchase:has(.wbp-site-ending--single-product) {
  padding-bottom: clamp(18px, 2.2vw, 28px);
}

.wbp-store-ending-shell {
  width: min(1160px, calc(100% - 32px));
  margin: clamp(24px, 3vw, 38px) auto 0;
}

.wbp-store-ending-shell .wbp-site-ending {
  padding-top: clamp(22px, 2.6vw, 34px);
}

.wbp-store-ending-shell--order-received {
  width: min(760px, calc(100% - 32px));
}

@media (max-width: 700px) {
  .wbp-site-ending {
    padding-right: 10px;
    padding-bottom: 18px;
    padding-left: 10px;
  }

  .wbp-store-ending-shell {
    width: calc(100% - 12px);
    margin-top: 20px;
  }

  .wbp-site-ending__legal {
    position: relative;
    display: grid;
    width: min(360px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 0 auto;
  }

  .wbp-site-ending__legal::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 1px;
    background: var(--wbp-site-ending-line);
    transform: translate(-50%, -50%);
  }

  .wbp-site-ending__legal a {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-size: 13px;
    text-align: center;
  }

  .wbp-site-ending__legal a + a::before {
    display: none;
  }

  .wbp-site-ending__divider {
    margin-top: 22px;
  }

  .wbp-site-ending__socials {
    gap: 24px;
  }

  .wbp-site-ending__socials a {
    font-size: 26px;
  }

  .wbp-events-v2__band--site-ending {
    min-height: 200px;
  }

  .wbp-events-v2__site-ending-panel {
    width: calc(100% - 24px);
    border-radius: 24px;
  }
}
