.footer-privacy {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted2);
}

.footer-privacy a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-privacy a:hover {
  color: var(--gold2);
}

.footer-cookie-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-cookie-btn:hover {
  color: var(--gold2);
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .72);
}

.cookie-overlay.is-open {
  display: flex;
}

.cookie-banner,
.cookie-panel {
  width: min(560px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  background: #0b0b0b;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
  color: var(--text);
}

.cookie-banner {
  position: relative;
}

.cookie-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.cookie-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.cookie-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold2);
}

.cookie-text {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, .28);
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.cookie-btn:hover {
  border-color: rgba(212, 175, 55, .5);
  color: var(--gold2);
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #6f4e12 0%, #b8860b 40%, #d4af37 100%);
  border-color: transparent;
  color: #0b0b0b;
}

.cookie-btn-primary:hover {
  color: #000;
}

.cookie-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted2);
  text-decoration: none;
}

.cookie-link:hover {
  color: var(--gold2);
}

.cookie-group {
  margin: 14px 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(212, 175, 55, .12);
}

.cookie-group h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.cookie-group p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #d4af37;
}

.cookie-status {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted2);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.86rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(212, 175, 55, .14);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--gold2);
  font-weight: 700;
  background: rgba(212, 175, 55, .06);
}

.legal-table td {
  color: var(--muted);
}

.legal-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 175, 55, .12);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--text);
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-section ul {
  margin: 0 0 14px 1.2em;
}

.legal-meta {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted2);
}

@media (max-width: 760px) {
  .footer-privacy {
    margin-top: 12px;
    text-align: left;
    font-size: 0.74rem;
  }

  .cookie-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .cookie-banner,
  .cookie-panel {
    padding: 20px 16px 16px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
