
/* V52 - Aviso de cookies elegante */
.cookie-consent{
  position:fixed;
  left:0;
  right:0;
  bottom:18px;
  z-index:99999;
  padding:0 16px;
  pointer-events:none;
}

.cookie-consent[hidden]{
  display:none!important;
}

.cookie-consent-card{
  width:min(980px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(219,229,239,.95);
  border-radius:22px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 48px rgba(15,23,42,.18);
  pointer-events:auto;
}

.cookie-consent-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#eef8ff 0%,#dff1ff 100%);
  border:1px solid #d6e8f7;
  font-size:24px;
}

.cookie-consent-text strong{
  display:block;
  color:#0f172a;
  font-size:18px;
  font-weight:950;
  margin-bottom:4px;
}

.cookie-consent-text p{
  margin:0;
  color:#475569;
  font-size:14px;
  line-height:1.5;
}

.cookie-consent-actions{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.cookie-consent-link{
  color:var(--primary,#0f766e);
  font-weight:900;
  text-decoration:none;
}

.cookie-consent-link:hover{
  text-decoration:underline;
}

.cookie-consent-btn{
  min-height:42px;
  padding:0 20px;
  border:0;
  border-radius:14px;
  background:var(--primary,#0f766e);
  color:#fff;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(15,118,110,.22);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.cookie-consent-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(15,118,110,.28);
  filter:brightness(1.03);
}

@media(max-width:760px){
  .cookie-consent{
    bottom:12px;
    padding:0 12px;
  }

  .cookie-consent-card{
    grid-template-columns:auto 1fr;
    gap:12px;
    padding:14px;
    border-radius:20px;
  }

  .cookie-consent-actions{
    grid-column:1/-1;
    width:100%;
    justify-content:space-between;
  }

  .cookie-consent-btn{
    flex:1;
  }
}

@media(max-width:420px){
  .cookie-consent-card{
    grid-template-columns:1fr;
  }

  .cookie-consent-icon{
    display:none;
  }

  .cookie-consent-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .cookie-consent-link{
    text-align:center;
  }
}
