/* =========================
   Cookie consent banner
========================= */

#mpCookieConsent{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;

  display: flex;
  justify-content: center;

  padding: 16px;
  pointer-events: none;
}

#mpCookieConsent[aria-hidden="true"]{
  display: none;
}

.mp-consent__box{
  pointer-events: auto;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;

  width: 100%;
  max-width: 920px;
  padding: 18px 22px;
  border-radius: 16px;

  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);

  color: #f5f5f5;
  font-family: var(--font-body);
}

.mp-consent__text{
  flex: 1 1 320px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.mp-consent__text a{
  color: #ECD57B;
  text-decoration: underline;
}

.mp-consent__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mp-consent__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;

  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;

  transition: transform 150ms ease, background-color 150ms ease;
}

.mp-consent__btn:active{
  transform: scale(0.97);
}

.mp-consent__btn--accept{
  background-color: #ECD57B;
  color: #000;
}

.mp-consent__btn--accept:hover{
  background-color: #d6be61;
}

.mp-consent__btn--decline{
  background: transparent;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mp-consent__btn--decline:hover{
  background: rgba(255, 255, 255, 0.08);
}

/* keep the WhatsApp bubble from overlapping the banner while it's open */
body.mp-consent-open .wa-bubble{
  bottom: 100px;
}

@media (max-width: 560px){
  #mpCookieConsent{ padding: 10px; }
  .mp-consent__box{ padding: 16px; }
  .mp-consent__actions{ width: 100%; }
  .mp-consent__btn{ flex: 1 1 auto; }
}
