/*---------------------- COOKIE BANNER ----------------------*/

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3000;
  background: white;
  border: 1px solid var(--color-border, #e6e8ee);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.18);
  padding: 1.5rem 10rem;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.cookie-text {
  flex: 1;
}

.cookie-banner h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: var(--color-text-soft, #5b6474);
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
}

.cookie-banner-actions .btn {
  padding: 0.6rem 1.4rem;   /* più spazio interno */
  font-size: 1.2rem;       /* testo più grande */
  font-weight: 600;         /* più visibile */
  border-radius: 12px;      /* più moderno */
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-link:hover {
  opacity: 0.8;
}

.location-map {
  position: relative;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
}

.map-cookie-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(243, 244, 246, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
}

.map-cookie-box {
  max-width: 26rem;
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
}

.map-cookie-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.map-cookie-box p {
  margin: 0 0 1rem;
  color: var(--color-text-soft, #5b6474);
}

.footer-bottom {
  position: relative;
}

.cookie-floating-btn {
  position: absolute;
  left: 0;
  bottom: 1.6rem;

  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.cookie-floating-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}



@media (max-width: 1300px) {
  .cookie-banner {
    padding: 1.5rem 2rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
  }

  .cookie-banner-actions .btn {
    width: 100%;
    text-align: center;
  }

  .cookie-floating-btn {
    position: static;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
}