/* Preveri: vrstica za soglasje (piškotki in pravni pogoji). Vsebino ustvari consent.js. */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 -6px 24px rgba(17, 19, 22, 0.12);
  padding: 18px clamp(20px, 5vw, 72px);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #3d4148;
}
.consent,
.consent *,
.consent *::before,
.consent *::after { box-sizing: border-box; }
.consent[hidden] { display: none; }
.consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.consent__text { margin: 0; max-width: 74ch; }
.consent__text a { color: inherit; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent__btn {
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #111316;
  background: #111316;
  color: #ffffff;
  cursor: pointer;
}
.consent__btn--ghost { background: #ffffff; color: #111316; }
.consent__btn:focus-visible { outline: 2px solid #D93D6F; outline-offset: 2px; }
.legal__btn {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #111316;
  background: #ffffff;
  color: #111316;
  cursor: pointer;
}
@media (max-width: 700px) {
  .consent { padding: 14px 20px; font-size: 0.78rem; line-height: 1.6; }
  .consent__inner { gap: 12px; }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1 1 0; }
}
body.has-consent { padding-bottom: 180px; }
@media (max-width: 700px) { body.has-consent { padding-bottom: 270px; } }
@media print { .consent { display: none; } }
