/* ===================================================
   COOKIE CONSENT BANNER — Pesquera La Pequeña Roma
   =================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(5, 15, 30, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(46, 134, 193, 0.25);
  padding: 18px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.oculto {
  transform: translateY(110%);
  pointer-events: none;
}

/* ── Inner layout ── */
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── Icon + text ── */
.cookie-texto-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 240px;
}

.cookie-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cookie-texto p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

.cookie-texto a {
  color: var(--cyan-claro);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.cookie-texto a:hover {
  color: var(--hielo);
}

/* ── Buttons ── */
.cookie-acciones {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-aceptar {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--dorado), var(--naranja));
  color: #fff;
  font-family: var(--fuente-cuerpo);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-cookie-aceptar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.45);
}

.btn-cookie-rechazar {
  padding: 10px 22px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--fuente-cuerpo);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-cookie-rechazar:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-acciones {
    width: 100%;
    justify-content: flex-end;
  }
}
