/* Cookie lišta + mapa podľa súhlasu (AWV) */

.footer-cookie-link,
.footer-bottom__right .footer-cookie-link {
  font-weight: 600;
}

.map-container.map-embed-wrap {
  position: relative;
}

.map-container.map-embed-wrap.map-embed-blocked {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
}

.map-container.map-embed-wrap.map-embed-blocked iframe {
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.map-embed-blocked-msg {
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 28rem;
}

.map-embed-blocked-msg strong {
  color: var(--color-primary);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  padding: 1.2rem 1.1rem max(1.1rem, env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    180deg,
    oklch(24% 0.05 210 / 0.98) 0%,
    oklch(16% 0.04 210 / 0.99) 100%
  );
  color: oklch(96% 0.006 210);
  border-top: 1px solid oklch(44% 0.18 210 / 0.45);
  box-shadow: 0 -18px 60px oklch(10% 0.02 210 / 0.35);
}

.cookie-banner-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.95rem;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  max-width: 40rem;
  color: oklch(99% 0.004 210);
}

.cookie-banner-lead {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin: 0;
  color: oklch(82% 0.01 210);
  max-width: 46rem;
}

.cookie-banner-link {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-link:hover {
  color: oklch(99% 0.004 210);
  text-decoration: underline;
}

.cookie-banner-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 560px;
  margin-top: 0.15rem;
}

.cookie-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(90% 0.01 210);
  user-select: none;
}

.cookie-cat input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-primary-light);
  cursor: pointer;
}

.cookie-cat input:disabled {
  cursor: not-allowed;
  opacity: 0.9;
}

.cookie-cat-label {
  text-align: center;
  line-height: 1.25;
  max-width: 9rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.25rem;
}

.btn-cookie {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.btn-cookie:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn-cookie-primary {
  background: var(--color-primary);
  color: oklch(98% 0.004 210);
  border-color: oklch(98% 0.004 210 / 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .btn-cookie-primary:hover {
    background: var(--color-primary-h);
    color: oklch(98% 0.004 210);
  }
}

.btn-cookie-pill {
  min-width: 9rem;
}

.btn-cookie-outline {
  background: transparent;
  color: oklch(96% 0.006 210);
  border-color: oklch(96% 0.006 210 / 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .btn-cookie-outline:hover {
    background: oklch(100% 0 0 / 0.1);
    border-color: oklch(96% 0.006 210 / 0.72);
  }
}

.cookie-banner-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  padding: 0.35rem 0.55rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(75% 0.01 210);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 200ms ease;
}

.cookie-banner-details-toggle:hover {
  color: oklch(92% 0.01 210);
}

.cookie-banner-details {
  width: 100%;
  max-width: 44rem;
  text-align: left;
  margin-top: 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px solid oklch(100% 0 0 / 0.16);
}

.cookie-banner-details-text {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: oklch(78% 0.01 210);
  margin: 0 0 0.6rem;
}

.cookie-banner-details-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .cookie-banner-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
