/* Cookie banner (theme-owned) */
.mg-cookie{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 99999;
}

.mg-cookie__inner{
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;

  padding: 14px 16px;
  border-radius: 22px;

  background: linear-gradient(135deg, rgba(205,220,255,0.86), rgba(175,195,255,0.86));
  border: 1px solid rgba(255,255,255,0.40);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  backdrop-filter: blur(18px);
}

.mg-cookie__text strong{
  display: block;
  font-size: 14px;
  color: #0b1a39;
  margin-bottom: 4px;
}

.mg-cookie__text p{
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(11,26,57,0.90);
  font-weight: 600;
}

.mg-cookie__links{
  margin-top: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: .85;
}

.mg-cookie__links a{
  color: #238CFF;
  font-weight: 700;
  text-decoration: none;
}
.mg-cookie__links a:hover{ text-decoration: underline; }

.mg-cookie__actions{
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.mg-cookie__btn{
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;

  background: linear-gradient(135deg,#238CFF,#5b7dff);
  color: #fff;
  box-shadow: 0 4px 14px rgba(35,140,255,0.35);
  transition: .2s ease;
}

.mg-cookie__btn:hover{
  box-shadow: 0 8px 22px rgba(35,140,255,0.5);
  filter: brightness(1.05);
}

.mg-cookie__btn--ghost{
  background: rgba(255,255,255,0.55);
  color: #0b1a39;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.55);
}

@media (max-width: 600px){
  .mg-cookie{ left: 10px; right: 10px; bottom: 12px; }
  .mg-cookie__inner{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 20px;
  }
  .mg-cookie__actions{
    width: 100%;
  }
  .mg-cookie__btn{
    width: 100%;
    padding: 12px 14px;
  }
}
