/* GH · Aviso de cookies (módulo ghcookies)
   Barra blanca fija abajo, a todo el ancho (como el aviso de la web 1.6):
   texto a la izquierda, botones a la derecha. «Aceptar» y «Rechazar» con el
   mismo formato (guía AEPD 2023). Por encima del botón de WhatsApp y de la
   barra lateral mientras está abierta. */

.gh-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--gh-z-modal);
  background: #fff;
  border-top: 3px solid var(--gh-green-600);
  box-shadow: 0 -8px 32px rgba(10, 10, 10, 0.14);
  font-family: var(--gh-font-body);
  color: var(--gh-grey-700);
}
.gh-cookies[hidden] { display: none; }

.gh-cookies__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  /* Mismo raíl que la cabecera (.gh-header__container): el texto arranca
     donde los botones de cliente y los botones acaban donde el carrito. */
  max-width: var(--gh-container);
  margin: 0 auto;
  padding: 22px var(--gh-space-24) 24px;
}

.gh-cookies__text { flex: 1 1 auto; min-width: 0; }

.gh-cookies__title {
  margin: 0 0 6px;
  font-family: var(--gh-font-display);
  font-size: var(--gh-text-lg);
  font-weight: 700;
  color: var(--gh-grey-900);
}

.gh-cookies__desc {
  margin: 0;
  font-size: var(--gh-text-sm);
  line-height: 1.55;
}

.gh-cookies__link {
  color: var(--gh-green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.gh-cookies__link:hover { color: var(--gh-green-800); }

/* ── Botones ── */

.gh-cookies__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gh-cookies__btn {
  min-width: 140px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--gh-radius-full);
  background: var(--gh-green-grad-soft);
  color: #fff;
  font-family: var(--gh-font-body);
  font-size: var(--gh-text-sm);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s var(--gh-ease-out), box-shadow 0.15s var(--gh-ease-out);
}
.gh-cookies__btn:hover { background: var(--gh-green-grad); }
.gh-cookies__btn:focus-visible { outline: none; box-shadow: var(--gh-shadow-glow-green); }
