/* Shared footer formatting only. All existing copy, links and consent hooks remain.
   The :has() scope deliberately excludes the short advertising-page footers. */
html body.kk-sys > footer:not(#_):has(.kk-ftgrid) {
  --kk-footer-ink: #f4f6f0;
  --kk-footer-muted: #a9bdb3;
  --kk-footer-line: #2d4b3e;
  background: #07140f !important;
  color: var(--kk-footer-ink) !important;
  border-top: 1px solid var(--kk-footer-line) !important;
  padding: 0 !important;
  overflow: hidden;
}
html body.kk-sys > footer:not(#_):has(.kk-ftgrid) > .kk-ftleaves { display: none !important; }
html body.kk-sys > footer:not(#_):has(.kk-ftgrid) > div {
  width: 100%;
  max-width: 1440px !important;
  box-sizing: border-box;
  margin: 0 auto !important;
  padding: 48px clamp(24px, 4vw, 64px) 0 !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1.05fr) !important;
  align-items: start !important;
  gap: clamp(24px, 3vw, 44px) !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child {
  grid-column: auto;
  align-items: flex-start !important;
  gap: 12px !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > img {
  display: block;
  width: 148px !important;
  height: auto !important;
  max-width: 100%;
  margin: -8px 0 0 !important;
  object-fit: contain;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > span {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: .065em !important;
  color: #fde500 !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > p {
  max-width: 30ch !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: var(--kk-footer-muted) !important;
  text-wrap: pretty;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  margin-top: 3px;
  min-width: 0;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > div > :is(a, span) {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 .3em;
  min-height: 34px;
  margin: 0 !important;
  padding: 5px 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--kk-footer-muted) !important;
  text-decoration: none !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > div a[data-kk="tel"] {
  color: var(--kk-footer-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:not(:first-child) > span:first-child {
  display: flex;
  align-items: flex-start;
  min-height: 44px;
  margin: 0 !important;
  padding: 6px 0 16px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  color: var(--kk-footer-ink) !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid > div:not(:first-child) > a:not(.kk-taste-action) {
  display: flex !important;
  align-items: center !important;
  align-self: flex-start;
  min-height: 40px;
  max-width: 100%;
  margin: 0 !important;
  padding: 8px 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--kk-footer-muted) !important;
  text-decoration: none !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid a.kk-taste-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  min-height: 44px !important;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 16px !important;
  padding: 10px 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fde500 !important;
  color: #000909 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .18s ease !important;
}
html body.kk-sys > footer:not(#_) .kk-ftgrid a.kk-taste-action:hover { background: #fff066 !important; }
html body.kk-sys > footer:not(#_) .kk-ftbottom {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px 28px !important;
  margin: 28px 0 0 !important;
  padding: 16px 0 20px !important;
  border-top: 1px solid var(--kk-footer-line) !important;
}
html body.kk-sys > footer:not(#_) .kk-ftbottom > span {
  color: var(--kk-footer-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
html body.kk-sys > footer:not(#_) .kk-ftbottom > div {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0 24px !important;
  min-width: 0;
}
html body.kk-sys > footer:not(#_) .kk-ftbottom :is(a, button:not([hidden])) {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px;
  margin: 0 !important;
  padding: 7px 0 !important;
  color: var(--kk-footer-muted) !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: 'Objectivity', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-align: left;
  box-shadow: none !important;
  cursor: pointer;
}
html body.kk-sys > footer:not(#_):has(.kk-ftgrid) a:not(.kk-taste-action):hover,
html body.kk-sys > footer:not(#_) .kk-ftbottom button:not([hidden]):hover {
  color: var(--kk-footer-ink) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 5px !important;
}
html body.kk-sys > footer:not(#_):has(.kk-ftgrid) :is(a, button):focus-visible {
  outline: 2px solid #fde500 !important;
  outline-offset: 4px !important;
}
@media (max-width: 1100px) {
  html body.kk-sys > footer:not(#_) .kk-ftgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px 28px !important;
  }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto 1fr;
    align-items: start !important;
    column-gap: 40px !important;
    row-gap: 10px !important;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--kk-footer-line);
  }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > :is(img, span, p) { grid-column: 1; }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > div {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
  }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > p { max-width: 36ch !important; }
}
@media (max-width: 640px) {
  html body.kk-sys > footer:not(#_):has(.kk-ftgrid) > div { padding: 36px 24px 0 !important; }
  html body.kk-sys > footer:not(#_) .kk-ftgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 24px !important;
  }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child {
    display: flex !important;
    gap: 12px !important;
    padding-bottom: 24px;
  }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > img { width: 142px !important; }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > p { max-width: 38ch !important; }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:first-child > div { align-self: flex-start; }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:not(:first-child) > span:first-child { min-height: 36px; padding: 0 0 12px !important; }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:nth-child(4) {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px !important;
  }
  html body.kk-sys > footer:not(#_) .kk-ftgrid > div:nth-child(4) > span:first-child { grid-column: 1 / -1; }
  html body.kk-sys > footer:not(#_) .kk-ftgrid a.kk-taste-action { padding: 10px 14px !important; font-size: 14px !important; }
  html body.kk-sys > footer:not(#_) .kk-ftbottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 24px !important;
    padding: 16px 0 calc(20px + env(safe-area-inset-bottom)) !important;
  }
  html body.kk-sys > footer:not(#_) .kk-ftbottom > div { gap: 0 20px !important; }
}
@media (pointer: coarse), (max-width: 760px) {
  html body.kk-sys > footer:not(#_) .kk-ftgrid a:not(.kk-taste-action),
  html body.kk-sys > footer:not(#_) .kk-ftbottom :is(a, button:not([hidden])) { min-height: 44px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body.kk-sys > footer:not(#_):has(.kk-ftgrid) :is(a, button) { transition: none !important; }
}
