/* Dodatne funkcionalnosti: back-to-top, cookie banner, pravni linkovi i pravne stranice. */
.vlp-back-to-top,
.vlp-cookie-button {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}

.vlp-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 120;
  width: 3rem;
  height: 3rem;
  border: 1px solid hsl(var(--gold) / 0.45);
  border-radius: 999px;
  background: hsl(var(--navy));
  color: hsl(var(--gold-light));
  box-shadow: var(--shadow-elegant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .25s ease, color .25s ease, bottom .25s ease;
}

.vlp-cookie-banner-visible .vlp-back-to-top {
  bottom: 8.25rem;
}

.vlp-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vlp-back-to-top:hover,
.vlp-back-to-top:focus-visible {
  background: hsl(var(--gold));
  color: hsl(var(--navy));
  outline: 2px solid hsl(var(--gold-light));
  outline-offset: 3px;
}

.vlp-cookie-banner {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 130;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid hsl(var(--gold) / 0.35);
  background: hsl(var(--navy));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-elegant);
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.vlp-cookie-banner.is-visible {
  display: flex;
}

.vlp-cookie-copy {
  max-width: 680px;
}

.vlp-cookie-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 .25rem;
  color: hsl(var(--gold-light));
}

.vlp-cookie-text {
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
  color: hsl(var(--primary-foreground) / .78);
}

.vlp-cookie-text a,
.vlp-footer-legal a,
.legal-footer a,
.legal-nav a {
  color: hsl(var(--gold-light));
  text-decoration: none;
  transition: color .2s ease;
}

.vlp-cookie-text a:hover,
.vlp-cookie-text a:focus-visible,
.vlp-footer-legal a:hover,
.vlp-footer-legal a:focus-visible,
.legal-footer a:hover,
.legal-footer a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: hsl(var(--gold));
  outline: none;
}

.vlp-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

.vlp-cookie-button {
  min-height: 2.5rem;
  padding: .55rem .85rem;
  border: 1px solid hsl(var(--gold) / .45);
  border-radius: .15rem;
  font-size: .8rem;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.vlp-cookie-button-primary {
  background: hsl(var(--gold));
  color: hsl(var(--navy));
}

.vlp-cookie-button-secondary {
  color: hsl(var(--primary-foreground));
}

.vlp-cookie-button:hover,
.vlp-cookie-button:focus-visible {
  background: hsl(var(--gold-light));
  border-color: hsl(var(--gold-light));
  color: hsl(var(--navy));
  outline: 2px solid hsl(var(--gold-light));
  outline-offset: 2px;
}

.vlp-footer-legal {
  padding: 1.25rem 0 1.5rem;
  margin-bottom: .5rem;
  border-top: 1px solid hsl(var(--primary-foreground) / .1);
  border-bottom: 1px solid hsl(var(--primary-foreground) / .1);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
  justify-content: center;
  align-items: center;
  color: hsl(var(--primary-foreground) / .65);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vlp-form-note {
  margin: .25rem 0 0;
  font-size: .85rem;
  line-height: 1.6;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

.vlp-form-note.is-success {
  color: hsl(var(--navy));
}

.vlp-form-note.is-error {
  color: hsl(var(--destructive));
}

.legal-shell {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.legal-header,
.legal-footer {
  background: hsl(var(--navy));
  color: hsl(var(--primary-foreground));
}

.legal-header-inner,
.legal-footer-inner,
.legal-content {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.legal-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.legal-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  line-height: 1;
  color: hsl(var(--primary-foreground));
  text-decoration: none;
}

.legal-brand span {
  color: hsl(var(--gold));
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.25rem;
  font-size: .8rem;
  color: hsl(var(--primary-foreground) / .72);
}

.legal-hero {
  padding: 8.5rem 0 2.5rem;
  background: linear-gradient(180deg, hsl(var(--beige-light)), hsl(var(--background)));
}

.legal-kicker {
  margin-bottom: .75rem;
  color: hsl(var(--gold-dark));
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}

.legal-title {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: .95;
  color: hsl(var(--navy));
}

.legal-updated {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: .95rem;
}

.legal-main {
  padding: 2rem 0 5rem;
}

.legal-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-card h2 {
  margin: 2rem 0 .75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
  color: hsl(var(--navy));
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 1.5rem 0 .5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: hsl(var(--navy));
}

.legal-card p,
.legal-card li {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

.legal-card p + p {
  margin-top: .8rem;
}

.legal-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: .75rem 0 1rem;
}

.legal-notice {
  padding: 1rem;
  border-left: 3px solid hsl(var(--gold));
  background: hsl(var(--secondary) / .65);
  color: hsl(var(--navy));
  margin-bottom: 1.5rem;
}

.legal-footer {
  padding: 2rem 0;
  border-top: 1px solid hsl(var(--gold) / .2);
}

.legal-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: .85rem;
  color: hsl(var(--primary-foreground) / .65);
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
}

@media (max-width: 720px) {
  .vlp-cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .vlp-cookie-banner-visible .vlp-back-to-top {
    bottom: 12.5rem;
  }

  .vlp-cookie-actions {
    justify-content: stretch;
  }

  .vlp-cookie-button {
    flex: 1 1 140px;
  }

  .legal-header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vlp-back-to-top,
  .vlp-cookie-button,
  .vlp-cookie-text a,
  .vlp-footer-legal a,
  .legal-footer a,
  .legal-nav a {
    transition: none;
  }
}

.vlp-content-protection img,
.vlp-content-protection svg {
  -webkit-user-drag: none;
  user-drag: none;
}

.vlp-content-protection img {
  -webkit-touch-callout: none;
}



.legal-static-page footer .vlp-footer-legal {
  margin-bottom: 2rem;
}

.legal-static-page [data-vlp-static-header] a {
  text-decoration: none;
}

.legal-static-page [data-vlp-mobile-panel]:not(.hidden) {
  display: block;
}

@media (max-width: 1023px) {
  .legal-static-page .legal-hero {
    padding-top: 7.75rem;
  }
}
