.bf-fyndlage {
  position: fixed;
  z-index: 99990;
  left: 18px;
  bottom: 18px;
  color: #071629;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bf-fyndlage[hidden] {
  display: none !important;
}

.bf-fyndlage * {
  box-sizing: border-box;
}

.bf-fyndlage__fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 16px 10px 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f6f52, #174533);
  color: #fff;
  box-shadow: 0 16px 34px rgba(23, 69, 51, 0.28);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.bf-fyndlage__face,
.bf-fyndlage__mascot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffd21a;
  color: #174533;
  font-weight: 1000;
  box-shadow: inset 0 -3px 0 rgba(7, 22, 41, 0.12);
}

.bf-fyndlage__panel {
  position: absolute;
  left: 0;
  bottom: 66px;
  width: min(380px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(47, 111, 82, 0.18);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 24px 70px rgba(7, 22, 41, 0.22);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bf-fyndlage.is-open .bf-fyndlage__panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.bf-fyndlage__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 22, 41, 0.07);
  color: #071629;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.bf-fyndlage__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 18px 52px 14px 16px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 210, 26, 0.42), transparent 8rem),
    linear-gradient(135deg, #eef7ef, #fff7e8);
}

.bf-fyndlage__mascot {
  width: 48px;
  height: 48px;
}

.bf-fyndlage__eyebrow {
  margin: 0 0 3px;
  color: #2f6f52;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bf-fyndlage h2 {
  margin: 0;
  color: #071629;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.12;
}

.bf-fyndlage__body {
  display: grid;
  gap: 12px;
  padding: 15px 16px 4px;
}

.bf-fyndlage__body p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

.bf-fyndlage__proofs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bf-fyndlage__proof {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(47, 111, 82, 0.14);
  border-radius: 14px;
  background: #fff;
}

.bf-fyndlage__proof strong {
  display: block;
  color: #174533;
  font-size: 13px;
  font-weight: 950;
}

.bf-fyndlage__proof span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.25;
}

.bf-fyndlage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px 16px;
}

.bf-fyndlage__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(47, 111, 82, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #174533;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.bf-fyndlage__btn--primary {
  border-color: transparent;
  background: #ff1f6d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 31, 109, 0.22);
}

.bf-fyndlage__search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.bf-fyndlage__search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dde7df;
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
}

.bf-fyndlage__search button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #2f6f52;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.bf-fyndlage__products {
  display: grid;
  gap: 8px;
}

.bf-fyndlage__product {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(47, 111, 82, 0.12);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.bf-fyndlage__product img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f5f9;
}

.bf-fyndlage__product strong {
  display: -webkit-box;
  overflow: hidden;
  color: #071629;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bf-fyndlage__product span {
  display: inline-flex;
  margin-top: 4px;
  color: #ff1f6d;
  font-size: 13px;
  font-weight: 900;
}

.bf-fyndlage__toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 99991;
  max-width: min(360px, calc(100vw - 28px));
  padding: 13px 15px;
  border-radius: 16px;
  background: #071629;
  color: #fff;
  box-shadow: 0 16px 36px rgba(7, 22, 41, 0.24);
  font-size: 14px;
  font-weight: 800;
}

.single_add_to_cart_button.bf-fyndlage-pulse {
  animation: bf-fyndlage-pulse 0.9s ease-in-out 2;
}

@keyframes bf-fyndlage-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 31, 109, 0);
    transform: translateY(0);
  }
  45% {
    box-shadow: 0 0 0 8px rgba(255, 31, 109, 0.18);
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  .bf-fyndlage {
    right: auto;
    left: 12px;
    bottom: 12px;
  }

  .bf-fyndlage__fab {
    min-height: 48px;
    padding-right: 14px;
    font-size: 14px;
  }

  .bf-fyndlage__panel {
    left: 0;
    bottom: 60px;
    width: calc(100vw - 24px);
    max-height: min(72vh, 610px);
    overflow-y: auto;
    border-radius: 18px;
  }

  .bf-fyndlage__proofs {
    grid-template-columns: 1fr;
  }

  .bf-fyndlage__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bf-fyndlage__btn {
    width: 100%;
  }
}
