#hatorin-consent-banner[hidden] { display: none !important; }

#hatorin-consent-banner {
  position: fixed;
  z-index: 9998;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0 auto;
  width: min(920px, calc(100% - 36px));
  border: 1px solid rgba(244, 200, 107, .28);
  border-radius: 18px;
  background: rgba(12, 20, 34, .97);
  color: #edf3fb;
  box-shadow: 0 22px 70px rgba(0,0,0,.36);
  backdrop-filter: blur(12px);
}

.hatorin-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
}

.hatorin-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 16px;
}

.hatorin-consent-copy p {
  margin: 0;
  color: #b8c5d8;
  font-size: 13px;
  line-height: 1.55;
}

.hatorin-consent-copy a {
  color: #f4c86b;
}

.hatorin-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hatorin-consent-actions button {
  border: 1px solid #3b4a63;
  border-radius: 11px;
  padding: 11px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hatorin-consent-allow {
  background: #f4c86b;
  color: #151515;
  border-color: #f4c86b !important;
}

.hatorin-consent-necessary {
  background: #1a2638;
  color: #edf3fb;
}

.hatorin-consent-actions button:disabled {
  opacity: .55;
  cursor: wait;
}

.hatorin-legal-footer {
  width: 100%;
  display: flex;
  gap: 10px 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #8390a5;
  font-size: 12px;
}

.hatorin-legal-footer a,
.hatorin-legal-footer button {
  color: #9facbf;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.hatorin-legal-footer a:hover,
.hatorin-legal-footer button:hover {
  color: #f4c86b;
}

@media (max-width: 720px) {
  #hatorin-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .hatorin-consent-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .hatorin-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hatorin-consent-actions button {
    width: 100%;
  }
}


/* Stage 4: robust full-width lower footer rows on desktop and mobile. */
.footer.shell {
  display: block;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 54px;
  width: 100%;
}

.footer-main .footer-identity {
  flex: 1 1 auto;
}

.footer-main .footer-contact-list {
  flex: 0 0 auto;
}

.footer .hatorin-legal-footer {
  width: 100%;
  margin-top: 24px;
  padding-top: 16px;
}

.footer #hatorin-internal-stats {
  width: 100% !important;
  margin-top: 14px !important;
}

@media (max-width: 1000px) {
  .footer-main {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .footer-main .footer-contact-list {
    width: 100%;
  }
}
