/* ============================================================
   MyCollection — cookie-consent.css
   GDPR / CNIL / UK-GDPR compliant cookie banner
   ============================================================ */

/* ── Banner ─────────────────────────────────────────────────── */
.mc-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  background: rgba(8, 8, 16, 0.97);
  border-top: 1px solid rgba(121, 74, 255, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -4px 40px rgba(0, 0, 0, .6);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.mc-consent--visible { transform: translateY(0); }
.mc-consent--hiding  { transform: translateY(100%); transition-duration: .35s; }

.mc-consent__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ── Text ────────────────────────────────────────────────────── */
.mc-consent__text { flex: 1; min-width: 0; }

.mc-consent__title {
  font-size: .85rem;
  font-weight: 700;
  color: #f0f0ff;
  margin-bottom: .3rem;
  letter-spacing: -.01em;
}

.mc-consent__desc {
  font-size: .78rem;
  color: #9191b0;
  line-height: 1.55;
}

.mc-consent__link {
  color: #9b6fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mc-consent__link:hover { color: #c5a3ff; }

/* ── Buttons — equal visual weight (CNIL requirement) ─────── */
.mc-consent__actions {
  display: flex;
  gap: .65rem;
  flex-shrink: 0;
  align-items: center;
}

.mc-consent__btn {
  padding: .6rem 1.3rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -.01em;
  transition: background .18s, color .18s, border-color .18s, transform .14s;
  min-width: 110px;
  text-align: center;
}

.mc-consent__btn--decline {
  background: transparent;
  border-color: rgba(255, 255, 255, .18);
  color: #c0c0d8;
}
.mc-consent__btn--decline:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .3);
  color: #f0f0ff;
  transform: translateY(-1px);
}

.mc-consent__btn--accept {
  background: #794aff;
  border-color: #794aff;
  color: #fff;
}
.mc-consent__btn--accept:hover {
  background: #9b6fff;
  border-color: #9b6fff;
  transform: translateY(-1px);
}

/* ── Cookie prefs link (footer) ──────────────────────────────── */
.mc-cookie-prefs-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: #9191b0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
  line-height: inherit;
}
.mc-cookie-prefs-link:hover { color: #f0f0ff; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 700px) {
  .mc-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
    padding: 1.1rem 1.1rem 1.4rem;
  }
  .mc-consent__actions {
    flex-direction: row;
    justify-content: stretch;
  }
  .mc-consent__btn {
    flex: 1;
    padding: .75rem .75rem;
    min-width: 0;
  }
}
