/* Cookie consent banner + settings modal — honey themed */
#wenny-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: #fffefc;
  border-top: 3px solid #e6b400;
  box-shadow: 0 -4px 20px rgba(230,180,0,0.18);
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  font-family: 'Quicksand', Arial, sans-serif;
  color: #3E2723;
}
#wenny-consent-banner .wc-text {
  flex: 1 1 320px;
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0;
}
#wenny-consent-banner .wc-text a { color: #b8860b; font-weight: 700; }
#wenny-consent-banner .wc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.wc-btn {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  border: 2px solid #e6b400;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.wc-btn:hover { transform: translateY(-1px); }
.wc-btn-primary { background: #e6b400; color: #fff; }
.wc-btn-primary:hover { background: #FFB300; }
.wc-btn-secondary { background: #fffbe7; color: #8a6d00; }
.wc-btn-secondary:hover { background: #ffe066; color: #3E2723; }
.wc-btn-link {
  background: none;
  border: none;
  color: #8a6d00;
  text-decoration: underline;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

/* Settings modal */
#wenny-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 5001;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: 'Quicksand', Arial, sans-serif;
  color: #3E2723;
}
#wenny-consent-modal .wc-dialog {
  background: #fffefc;
  border: 2.5px solid #ffe066;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.6rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
#wenny-consent-modal h2 { margin: 0 0 0.4rem 0; color: #b28704; font-family: 'Baloo 2', 'Quicksand', sans-serif; }
#wenny-consent-modal p.wc-intro { margin: 0 0 1rem 0; font-size: 0.95rem; line-height: 1.45; }

.wc-category {
  border: 1.5px solid #ffe066;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
  background: #fffdf2;
}
.wc-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wc-category-head strong { font-size: 1.05rem; color: #6d4c1b; }
.wc-category p { margin: 0.4rem 0 0 0; font-size: 0.9rem; line-height: 1.4; color: #5a4a30; }
.wc-always { font-size: 0.85rem; font-weight: 700; color: #8a6d00; }

/* Toggle switch */
.wc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.wc-switch input { opacity: 0; width: 0; height: 0; }
.wc-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #ccc; border-radius: 26px; transition: 0.2s;
}
.wc-slider::before {
  content: ""; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: 0.2s;
}
.wc-switch input:checked + .wc-slider { background: #e6b400; }
.wc-switch input:checked + .wc-slider::before { transform: translateX(20px); }
.wc-switch input:disabled + .wc-slider { background: #e6b400; opacity: 0.6; cursor: not-allowed; }

.wc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Footer legal links injected by consent.js */
.wc-legal-links {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  justify-content: center;
  align-items: center;
}
.wc-legal-links a, .wc-legal-links button.wc-btn-link { color: inherit; }

@media (max-width: 600px) {
  #wenny-consent-banner { flex-direction: column; align-items: stretch; }
  #wenny-consent-banner .wc-actions { justify-content: center; }
}
