.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-legal a,
.footer-legal button {
  color: var(--primary-dark);
  font: inherit;
  font-weight: 650;
  border: 0;
  padding: 2px 0;
  background: transparent;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--primary-strong);
  text-decoration: underline;
}

.footer-legal a:focus-visible,
.footer-legal button:focus-visible {
  outline: 3px solid rgba(93, 187, 99, .4);
  outline-offset: 3px;
  border-radius: 4px;
}

.login-legal {
  margin-top: 18px;
  line-height: 1.8;
  text-align: center;
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(16, 92, 45, .26);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(16, 92, 45, .34);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .34);
  outline-offset: 4px;
}

.cookie-panel {
  position: fixed;
  left: 22px;
  bottom: 86px;
  z-index: 94;
  width: min(450px, calc(100vw - 44px));
  padding: 20px;
  border: 1px solid rgba(220, 236, 223, .95);
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 22px 56px rgba(31, 92, 58, .2);
}

.cookie-panel h2 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 27px;
  line-height: 1.1;
  color: var(--primary-dark);
}

.cookie-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-panel p a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cookie-actions button {
  flex: 1 1 165px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.cookie-actions .cookie-accept {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary-dark));
  color: #fff;
}

.cookie-actions .cookie-necessary {
  background: #fff;
  color: var(--primary-dark);
}

.cookie-actions button:focus-visible {
  outline: 3px solid rgba(93, 187, 99, .4);
  outline-offset: 2px;
}

.consent-media-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 260px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
}

.consent-media-placeholder p {
  margin: 0;
  max-width: 290px;
}

.consent-media-placeholder button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--primary-dark);
  background: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.consent-media-placeholder button:hover {
  border-color: rgba(93, 187, 99, .46);
  background: #f2fbf4;
}

.consent-media iframe[hidden] {
  display: none;
}

.privacy-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.privacy-form-note a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .whatsapp-float {
    left: 14px;
    bottom: 14px;
    padding: 12px;
  }

  .whatsapp-float span {
    display: none;
  }

  .cookie-panel {
    left: 12px;
    bottom: 76px;
    width: calc(100vw - 24px);
    padding: 17px;
  }
}
