/* ══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER — corner card on desktop, bottom strip
   on mobile. Accept is the solid rose button; Reject is the same size
   and shape in the card's own colour with a visible outline. UK/EU rules
   let Accept lead visually, but Reject must still read clearly as a
   button, so don't strip its outline or fade its text.
   ══════════════════════════════════════════════════════════ */
.el-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 360px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 20px;
  background: #FFFCF7;
  color: #13070C;
  border: 1px solid rgba(19,7,12,0.08);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(19,7,12,0.22);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  animation: el-consent-in .28s cubic-bezier(.2,.8,.2,1);
}

@keyframes el-consent-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.el-consent[hidden],
.el-consent [hidden] { display: none; }

.el-consent-text { margin: 0 0 16px; }

.el-consent a { color: inherit; text-decoration: underline; }

.el-consent-actions { display: flex; gap: 8px; }

.el-consent-btn {
  flex: 1;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: #FFFCF7;
  background: #BD006B;
  border: 1.5px solid #BD006B;
  border-radius: 999px;
  padding: 11px 16px;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

.el-consent-btn:hover { background: #97005a; border-color: #97005a; }

.el-consent-btn[data-el-consent="reject"] {
  color: #13070C;
  background: #FFFCF7;
  border-color: rgba(189,0,107,0.25);
}

.el-consent-btn[data-el-consent="reject"]:hover {
  background: rgba(189,0,107,0.06);
  border-color: rgba(189,0,107,0.25);
}

.el-consent-btn:focus-visible,
.el-consent-link:focus-visible,
.el-consent-option input:focus-visible {
  outline: 2px solid #BD006B;
  outline-offset: 2px;
}

.el-consent-link {
  display: block;
  margin: 12px auto 0;
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: rgba(19,7,12,0.6);
  text-decoration: underline;
  cursor: pointer;
}

.el-consent-link:hover { color: #13070C; }

.el-consent-choices { display: grid; gap: 12px; animation: el-consent-fade .2s ease; }

@keyframes el-consent-fade { from { opacity: 0; } to { opacity: 1; } }

.el-consent-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(19,7,12,0.65);
  cursor: pointer;
}

.el-consent-option strong {
  display: block;
  font-size: 14px;
  color: #13070C;
}

.el-consent-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #BD006B;
}

.el-consent-save { width: 100%; margin-top: 4px; }

@media (max-width: 700px) {
  .el-consent {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    padding: 16px;
    border-radius: 16px 16px 0 0;
  }
}

/* Footer "Cookie settings" link, styled like the footer's other small links. */
.el-footer-cookie {
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: rgba(255,252,247,0.5);
  cursor: pointer;
}

.el-footer-cookie:hover { color: #FFFCF7; }

@media (prefers-reduced-motion: reduce) {
  .el-consent,
  .el-consent-choices { animation: none; }
  .el-consent-btn { transition: none; }
}
