/* Horse-Ess Cookie Consent */
.hecc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, .35);
  font-size: 14px; line-height: 1.45; color: #222;
}
.hecc-box {
  max-width: 760px; margin: 0 auto; padding: 18px 20px;
  background: #fff; border-radius: 8px; box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
  max-height: 85vh; overflow-y: auto;
}
.hecc-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.hecc-msg { margin: 0 0 12px; }
.hecc-policy { text-decoration: underline; white-space: nowrap; }
.hecc-settings { margin: 0 0 12px; border-top: 1px solid #e5e5e5; padding-top: 10px; }
.hecc-option { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-weight: normal; cursor: pointer; }
.hecc-option input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.hecc-option strong { display: block; }
.hecc-desc { display: block; font-size: 13px; color: #555; }
.hecc-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hecc-btn { font: inherit; cursor: pointer; border-radius: 4px; padding: 9px 16px; }
.hecc-btn[hidden], .hecc-settings[hidden] { display: none !important; }
/* "Godkänn alla" och "Endast nödvändiga" ser likadana ut: lika lätt att neka som att godkänna. */
.hecc-btn-main { background: #222; color: #fff; border: 1px solid #222; flex: 1 1 160px; }
.hecc-btn-main:hover, .hecc-btn-main:focus { background: #444; border-color: #444; }
.hecc-btn-link { background: none; border: 1px solid transparent; color: #222; text-decoration: underline; }
.hecc-footer-link { text-align: center; padding: 6px 0; font-size: 13px; }
.hecc-footer-link a { text-decoration: underline; }
@media (max-width: 480px) { .hecc-btn-main { flex-basis: 100%; } }
