/* LEGAL PAGES */

.lh-legal-page {
  min-height: 100vh;
  padding: 130px 0 100px;
  background: #050607;
  color: #f4f4f4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.lh-legal-container {
  max-width: 980px;
  width: calc(100% - 80px);
  margin: 0 auto;
}

.lh-legal-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: #9da7b8;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.lh-legal-eyebrow span {
  width: 40px;
  height: 1px;
  background: #ff8618;
}

.lh-legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(56px, 8vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.1em;
  font-weight: 900;
  text-transform: uppercase;
}

.lh-legal-intro {
  max-width: 720px;
  margin-bottom: 70px;
  color: #9da7b8;
  font-size: 15px;
  line-height: 1.8;
}

.lh-legal-section {
  padding: 38px 0;
  border-top: 1px solid #252a31;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
}

.lh-legal-number {
  color: #9da7b8;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.lh-legal-section h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.lh-legal-section p,
.lh-legal-section li {
  color: #9da7b8;
  font-size: 14px;
  line-height: 1.8;
  font-family: system-ui, sans-serif;
}

.lh-legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.lh-legal-section strong {
  color: #f4f4f4;
}

@media (max-width: 760px) {
  .lh-legal-container {
    width: calc(100% - 40px);
  }

  .lh-legal-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* LEGAL PAGE FIX */

body.page-template-page-polityka-prywatnosci,
body.page-template-page-regulamin,
body.page-template-page-dostawa,
body.page-template-page-platnosci {
  background: #050607 !important;
}

body.page-template-page-polityka-prywatnosci .lh-legal-page,
body.page-template-page-regulamin .lh-legal-page,
body.page-template-page-dostawa .lh-legal-page,
body.page-template-page-platnosci .lh-legal-page {
  padding-top: 150px !important;
  padding-bottom: 100px !important;
  background: #050607 !important;
}

body.page-template-page-polityka-prywatnosci .lh-legal-container,
body.page-template-page-regulamin .lh-legal-container,
body.page-template-page-dostawa .lh-legal-container,
body.page-template-page-platnosci .lh-legal-container {
  max-width: 980px !important;
  width: calc(100% - 160px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.lh-legal-page h1 {
  display: block !important;
  margin: 0 0 32px !important;
  color: #f4f4f4 !important;
  font-size: clamp(52px, 7vw, 88px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.1em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.lh-legal-intro {
  margin-bottom: 70px !important;
  color: #9da7b8 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.lh-legal-section {
  padding: 38px 0 !important;
  border-top: 1px solid #252a31 !important;
  display: grid !important;
  grid-template-columns: 120px 1fr !important;
  gap: 32px !important;
}

.lh-legal-number {
  color: #9da7b8 !important;
  font-size: 12px !important;
  letter-spacing: 0.3em !important;
}

.lh-legal-section h2 {
  margin: 0 0 18px !important;
  color: #f4f4f4 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  letter-spacing: -0.06em !important;
  font-weight: 900 !important;
}

.lh-legal-section p,
.lh-legal-section li {
  color: #9da7b8 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-family: system-ui, sans-serif !important;
}

@media (max-width: 760px) {
  body.page-template-page-polityka-prywatnosci .lh-legal-container,
  body.page-template-page-regulamin .lh-legal-container,
  body.page-template-page-dostawa .lh-legal-container,
  body.page-template-page-platnosci .lh-legal-container {
    width: calc(100% - 40px) !important;
  }

  .lh-legal-section {
    grid-template-columns: 1fr !important;
  }
}
