.legal-document {
  max-width: 980px;
  color: #222;
  font-size: 16px;
  line-height: 1.55;
}

.legal-document h1,
.legal-document h2 {
  line-height: 1.25;
}

.legal-document h2 {
  margin-top: 1.6em;
  font-size: 22px;
}

.legal-document a {
  overflow-wrap: anywhere;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.legal-table th,
.legal-table td {
  padding: 10px;
  border: 1px solid #d8d8d8;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f5f5f5;
}

.legal-form-notice {
  box-sizing: border-box;
  width: 100%;
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 4px solid #8c0014;
  background: #f8f8f8;
  color: #222;
  font-size: 14px;
  line-height: 1.45;
}

.legal-form-notice p {
  margin: 0;
}

.product-compliance {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #dedede;
  background: #fafafa;
}

.product-compliance h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.product-compliance__checked {
  color: #666;
  font-size: 13px;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

#cookie-notice-close,
#cookie-settings-close {
  padding: 9px 18px;
  border: 0;
  border-radius: 4px;
  background: #8c0014;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.cookie-settings-panel {
  position: fixed;
  inset: 0;
  z-index: 10001;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

.cookie-settings-panel[hidden] {
  display: none;
}

.cookie-settings-card {
  max-width: 620px;
  margin: 10vh auto 0;
  padding: 24px;
  border-radius: 6px;
  background: #fff;
  color: #222;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 700px) {
  .legal-document {
    font-size: 15px;
  }

  .legal-table,
  .legal-table thead,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
  }

  .legal-table thead {
    position: absolute;
    left: -9999px;
  }

  .legal-table td {
    border-top: 0;
  }

  .legal-table tr:first-child td:first-child {
    border-top: 1px solid #d8d8d8;
  }
}
