/* ============================================================
   Cookiebar — La Belle Beauté
   Zelfstandige consent-module. Eigen .cc-* knoppen (los van de
   theme-knoppen). Stylet via de design-tokens.
   ============================================================ */

.cookiebar {
  position:     fixed;
  left:         0;
  right:        0;
  bottom:       0;
  z-index:      9998;
  background:   var(--ink-2);
  color:        var(--cream);
  border-top:   1px solid var(--line-dark);
  box-shadow:   0 -20px 50px -30px rgba(0,0,0,.7);
  font-family:  var(--ff-sans);
  font-weight:  300;
}
.cookiebar[hidden] { display: none; }

.cookiebar__inner {
  max-width:       var(--maxw);
  margin:          0 auto;
  padding:         clamp(18px,2.4vw,26px) var(--gut);
  display:         flex;
  align-items:     center;
  gap:             clamp(16px,3vw,40px);
  flex-wrap:       wrap;
}
.cookiebar__text { flex: 1 1 340px; }
.cookiebar__title { font-family: var(--ff-display); font-weight: 500; font-size: 1.25rem; color: var(--white); margin-bottom: .25em; }
.cookiebar__text p { font-size: .9rem; line-height: 1.6; color: rgba(246,241,234,.82); }
.cookiebar__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookiebar__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Knoppen (zelfstandig) */
.cc-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--ff-sans);
  font-weight:     500;
  font-size:       .74rem;
  letter-spacing:  .16em;
  text-transform:  uppercase;
  padding:         .85em 1.6em;
  border:          1px solid transparent;
  border-radius:   2px;
  cursor:          pointer;
  transition:      background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.cc-btn--primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.cc-btn--primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.cc-btn--ghost { border-color: var(--line-dark); color: var(--cream); }
.cc-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Voorkeuren-paneel */
.cookiebar__prefs {
  border-top:      1px solid var(--line-dark);
  padding:         clamp(16px,2vw,24px) var(--gut);
  max-width:       var(--maxw);
  margin:          0 auto;
  display:         grid;
  gap:             14px;
}
.cookiebar__prefs[hidden] { display: none; }
.cookiebar__cat {
  display:      grid;
  grid-template-columns: auto 1fr;
  gap:          12px;
  align-items:  start;
  font-size:    .88rem;
  line-height:  1.5;
  color:        rgba(246,241,234,.82);
}
.cookiebar__cat input { margin-top: .25em; accent-color: var(--gold); width: 18px; height: 18px; }
.cookiebar__cat strong { color: var(--cream); font-weight: 500; }
.cookiebar__prefs-actions { justify-self: start; }

@media (max-width: 640px) {
  .cookiebar__inner { flex-direction: column; align-items: stretch; }
  .cookiebar__actions { justify-content: stretch; }
  .cookiebar__actions .cc-btn { flex: 1 1 auto; }
}

/* Wanneer ingelogd: boven de WP-admin-balk niet nodig (balk zit onderin) */

/* ============================================================
   Geblokkeerde embed (bijv. Google Maps) — placeholder tot consent
   ============================================================ */
.cc-embed { position: relative; height: 100%; min-height: 200px; }
.cc-embed__placeholder {
  height:          100%;
  min-height:      200px;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             14px;
  text-align:      center;
  padding:         24px;
  background:      var(--sand);
  color:           var(--black);
}
.cc-embed__placeholder p { font-size: .92rem; max-width: 34ch; color: var(--taupe); }
.cc-embed__frame, .cc-embed__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
