/* Lad hjertet svinge – cookie-samtykke-popup */
.lhs-cookie-banner,
.lhs-cookie-banner * {
  font-family: cambria, sans-serif;
}

/* Hard reset against Elementor's global link/button theme styles (color, underline,
   box-shadow, outline) leaking into our own popup – every interactive state is set
   explicitly below instead of relying on site-wide defaults. */
.lhs-cookie-banner a,
.lhs-cookie-banner button {
  text-decoration: none;
  box-shadow: none;
  outline: none;
}

/* Belt-and-braces: every hover state on our own buttons/links is set explicitly
   above (background, border-color and text color together), so nothing here is
   ever left to fall back to Elementor's or the theme's own hover defaults. */
.lhs-cookie-banner button:hover,
.lhs-cookie-banner a:hover {
  text-decoration: none;
  box-shadow: none;
  outline: none;
}

.lhs-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100001;
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E5E2DE;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(96,51,20,.22);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
  font-size: 14px;
  color: #603314;
}

.lhs-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lhs-cookie-banner__text {
  margin: 0 0 14px;
  line-height: 1.5;
}

.lhs-cookie-banner__text a {
  color: #97600f;
  text-decoration: underline;
}
.lhs-cookie-banner__text a:hover {
  color: #603314;
}

.lhs-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.lhs-cookie-btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.lhs-cookie-btn--primary {
  background: #F9B738;
  color: #603314;
}
.lhs-cookie-btn--primary:hover {
  background: #f7ab19;
  color: #603314;
}

.lhs-cookie-btn--outline {
  background: #fff;
  border-color: #E5E2DE;
  color: #603314;
}
.lhs-cookie-btn--outline:hover {
  background: #fff;
  border-color: #d8c9b8;
  color: #603314;
}

.lhs-cookie-btn--ghost {
  background: transparent;
  color: #97600f;
  text-decoration: underline;
  padding-left: 6px;
  padding-right: 6px;
}
.lhs-cookie-btn--ghost:hover {
  background: transparent;
  color: #603314;
}

.lhs-cookie-banner__panel {
  display: none;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #E5E2DE;
}

.lhs-cookie-banner--settings .lhs-cookie-banner__panel { display: block; }
.lhs-cookie-banner--settings > .lhs-cookie-banner__main .lhs-cookie-banner__actions { display: none; }

.lhs-cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f1ede7;
  cursor: pointer;
}
.lhs-cookie-row:last-of-type { border-bottom: none; }

.lhs-cookie-row strong {
  display: block;
  font-size: 14px;
  color: #603314;
}

.lhs-cookie-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #8a7360;
  line-height: 1.4;
}

.lhs-cookie-row input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #F9B738;
  flex: 0 0 auto;
}

@media (max-width: 480px) {
  .lhs-cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .lhs-cookie-banner__actions { justify-content: stretch; }
  .lhs-cookie-btn { flex: 1 1 auto; text-align: center; }
}
