/**
 * Cookie Policy page styles
 * Hero + Complianz (#cmplz-document) overrides.
 * Content column/padding/typography come from privacy-policy.css
 * (.privacy-policy-content / .privacy-policy-content__body) — same as ACF Page Content.
 */

body {
  padding: 0 !important;
}

/* ============================================================
   HERO
   ============================================================ */
.cart-hero.cookie-policy-hero {
  height: 280px;
}

.cart-hero__inner.cookie-policy-hero__inner {
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
}

.cookie-policy-hero__paragraph {
  margin: 0;
  max-width: 640px;
  font-family: "Noto Sans", "Noto Sans Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   COMPLIANZ DOCUMENT — match Privacy Policy Page Content
   #cmplz-document rules in document.min.css otherwise win (14px / 22px).
   ============================================================ */
.privacy-policy-content__body #cmplz-document {
  font-family: "Noto Sans", "Noto Sans Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
  width: 100%;
  margin: 0;
}

.privacy-policy-content__body #cmplz-document h2,
.privacy-policy-content__body #cmplz-document h3,
.privacy-policy-content__body #cmplz-document h4 {
  color: #ffffff;
  font-family: "Noto Sans", "Noto Sans Placeholder", sans-serif;
  font-weight: 500;
  line-height: 1.3;
  margin: 2em 0 0.75em;
  padding-bottom: 0;
  text-align: left;
  text-transform: none;
  border-bottom: 0;
  letter-spacing: 0.01em;
}

.privacy-policy-content__body #cmplz-document h2 {
  font-size: 28px;
}

.privacy-policy-content__body #cmplz-document h3 {
  font-size: 22px;
}

.privacy-policy-content__body #cmplz-document h4 {
  font-size: 18px;
}

.privacy-policy-content__body #cmplz-document h5 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  margin: 1.5em 0 0.5em;
  text-transform: none;
}

.privacy-policy-content__body #cmplz-document p,
.privacy-policy-content__body #cmplz-document li,
.privacy-policy-content__body #cmplz-document td {
  margin-top: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.privacy-policy-content__body #cmplz-document p {
  margin: 0 0 1.25em;
}

.privacy-policy-content__body #cmplz-document a,
.privacy-policy-content__body #cmplz-document a:visited,
.privacy-policy-content__body #cmplz-document a:link {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-policy-content__body #cmplz-document a:hover,
.privacy-policy-content__body #cmplz-document a:focus {
  color: rgba(255, 255, 255, 0.75) !important;
  border: 0;
  padding: 0;
}

.privacy-policy-content__body #cmplz-document a[target="_blank"]::after {
  content: none;
  margin: 0;
}

/*
 * Complianz "Placed cookies" grids sit on a white background.
 * Our dark-theme white text made Name/Expiration/Function unreadable —
 * match the editor look: black body text + Framer link style.
 */
.privacy-policy-content__body #cmplz-document .cookies-per-purpose,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .purpose,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .name-header,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .retention-header,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .function-header,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .name,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .retention,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .function,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose td,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose th,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose p,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose li,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose span,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose div {
  color: #000000 !important;
}

.privacy-policy-content__body #cmplz-document .cookies-per-purpose .name-header,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .retention-header,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .function-header,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose .purpose,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose th {
  font-weight: 700;
}

.privacy-policy-content__body #cmplz-document .cookies-per-purpose a,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose a:visited,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose a:link {
  color: rgb(0, 153, 255) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-policy-content__body #cmplz-document .cookies-per-purpose a:hover,
.privacy-policy-content__body #cmplz-document .cookies-per-purpose a:focus {
  color: rgb(0, 122, 204) !important;
}

.privacy-policy-content__body #cmplz-document .cookies-per-purpose a[target="_blank"]::after {
  content: none !important;
  margin: 0;
}

.privacy-policy-content__body #cmplz-document ul,
.privacy-policy-content__body #cmplz-document ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.privacy-policy-content__body #cmplz-document ul {
  list-style-type: disc;
}

.privacy-policy-content__body #cmplz-document ol {
  list-style-type: decimal;
}

/* Undo global style.css `li { list-style: none }` so WP editor lists show markers */
.privacy-policy-content__body #cmplz-document li {
  list-style: inherit;
  margin-bottom: 0.5em;
}

.privacy-policy-content__body #cmplz-document li::marker {
  color: rgba(255, 255, 255, 0.9);
}

.privacy-policy-content__body #cmplz-document table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25em;
}

.privacy-policy-content__body #cmplz-document th,
.privacy-policy-content__body #cmplz-document td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75em 1em;
  text-align: left;
  vertical-align: top;
}

.privacy-policy-content__body #cmplz-document th {
  color: #ffffff;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
}

/* Full-bleed Store footer */
body.page-cookie-policy {
  padding: 0;
}

.page-cookie-policy-footer-shell {
  width: 100%;
  background: #000;
}

.page-cookie-policy-footer-shell .framer-lyubw3 {
  width: 100%;
}

/* ============================================================
   RESPONSIVE (hero + Complianz type scale)
   ============================================================ */
@media (max-width: 809px) {
  .cart-hero.cookie-policy-hero {
    height: 220px;
  }

  .cart-hero__inner.cookie-policy-hero__inner {
    padding: 0 16px 24px;
  }

  .cookie-policy-hero__paragraph {
    font-size: 14px;
    max-width: 100%;
  }

  .privacy-policy-content__body #cmplz-document,
  .privacy-policy-content__body #cmplz-document p,
  .privacy-policy-content__body #cmplz-document li,
  .privacy-policy-content__body #cmplz-document td {
    font-size: 15px;
  }

  .privacy-policy-content__body #cmplz-document h2 {
    font-size: 24px;
  }

  .privacy-policy-content__body #cmplz-document h3 {
    font-size: 20px;
  }

  .privacy-policy-content__body #cmplz-document h4 {
    font-size: 17px;
  }
}

@media (max-width: 359px) {
  .cart-hero.cookie-policy-hero {
    height: 200px;
  }

  .privacy-policy-content__body #cmplz-document,
  .privacy-policy-content__body #cmplz-document p,
  .privacy-policy-content__body #cmplz-document li,
  .privacy-policy-content__body #cmplz-document td {
    font-size: 14px;
  }

  .privacy-policy-content__body #cmplz-document h2 {
    font-size: 22px;
  }
}
